diff --git a/CHANGELOG.md b/CHANGELOG.md index ec0c415..bfb1694 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ 本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/)。 +## [1.3.0] - 2026-08-07 + +### 新增 + +- 本地离线 neo-ppt 编辑器镜像(`editor/`):无 iframe、无 `www.kimi.com`,支持打开 PPTD 文件夹编辑与官方 UI 内导出 +- Skill install 同步拷贝完整 `editor/` 与 patched WASM,供已安装的 skill 树离线使用 +- 图片 QA / `--browser` 导出改为打本地编辑器(`?ndExport=1` + `payload.json`),不再依赖 kimi.com + +### 变更 + +- 默认 PPTX 导出统一走本地 patched WASM(单一真源 `editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`) +- 本地编辑器关闭分享 / 云盘 / Google Drive 入口;拦截相关云端与 Google API 请求 +- 移除旧 iframe 壳(`app.js` / `styles.css`)、废弃的 `export_host.html` 与未接线的浏览器顶栏导出胶水 + +### 修复 + +- 修复系统深色主题导致的白屏闪烁(强制 light) +- 修复 demo / 只读打开后无法编辑、演示、导出(`isCreate: false` + 可编辑配置) +- 浏览器会话剥离 `HTTP(S)_PROXY`,避免公司代理 403 本地回环地址 + ## [1.2.0] - 2026-08-06 ### 新增 diff --git a/CHANGELOG_EN.md b/CHANGELOG_EN.md index fa82fdc..26dda6b 100644 --- a/CHANGELOG_EN.md +++ b/CHANGELOG_EN.md @@ -4,6 +4,26 @@ This project follows [Semantic Versioning](https://semver.org/). +## [1.3.0] - 2026-08-07 + +### Added + +- Offline neo-ppt editor mirror (`editor/`): no iframe, no `www.kimi.com`; open a PPTD folder and export from the official UI +- Skill install copies the full `editor/` tree plus patched WASM into installed skill directories +- Image QA / `--browser` export now drives the local editor (`?ndExport=1` + `payload.json`) instead of kimi.com + +### Changed + +- Default PPTX export uses the local patched WASM (single source: `editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`) +- Local editor hides share / cloud / Google Drive entry points and blocks related cloud/Google API calls +- Removed the old iframe shell (`app.js` / `styles.css`), deprecated `export_host.html`, and unused browser top-bar export glue + +### Fixed + +- Avoid dark-theme FOUC by forcing light mode +- Demo / read-only opens can edit, present, and export again (`isCreate: false` + editable config) +- Browser sessions strip `HTTP(S)_PROXY` so corporate proxies do not 403 localhost + ## [1.2.0] - 2026-08-06 ### Added diff --git a/README.md b/README.md index 74add4d..f89d4c0 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,9 @@ npx open-kimi-ppt-skill serve --port 56000 ### Windows:常驻调试浏览器说明 -在 Windows 上导出 PPTX 时,脚本会自动启动一个**常驻的调试浏览器**。这是有意设计,不是异常进程: +仅在使用 **视觉质检**(`export_images.py`)或 **`--browser` PPTX**(本地编辑器 UI)时需要。默认 Node WASM 导出不启动浏览器。 + +在 Windows 上走浏览器路径时,脚本会自动启动一个**常驻的调试浏览器**。这是有意设计,不是异常进程: - **为什么需要**:agent-browser 在 Windows 下无法自行启动 Chrome(Chrome 启动器把进程交接给子进程后立即退出,被误判为崩溃),导出只能改为驱动一个外部启动的浏览器。 - **它是什么**:优先使用本机 Chrome,未安装时回退到 Edge;以 `--remote-debugging-port`(默认 `9337`)和独立配置目录 `%TEMP%\okp-cdp-profile` 启动,窗口定位在屏幕外,不影响日常使用。 @@ -233,13 +235,10 @@ deck/ - CLI 只在 `127.0.0.1` 启动静态文件服务,不会监听局域网地址。 - 浏览器只在用户主动授权后读取完整 PPTD 项目目录。 - 保存回调只允许修改 `.pptd` 和 `.page` 文件,并拒绝绝对路径与 `..` 路径越界。 -- PPTD 内容由本地宿主交给公开的 Kimi 网页编辑器处理;远程图片、字体和编辑器资源仍可能从对应服务器加载。 +- 默认编辑与 PPTX / 图片导出使用本地 neo-ppt 镜像 + patched WASM,**不依赖** `www.kimi.com`;远程图片、字体若被文稿引用仍可能从对应服务器加载。 +- 视觉质检(`export_images.py`)与 `--browser` 路径驱动的是同一套本地编辑器(需本机 Chromium),不再访问公开 Kimi 站。 - 本项目不会提供或注入 Kimi 登录令牌,也不会访问用户的 Kimi 私有文稿。 -## 兼容性说明 - -这是针对当前公开实现的兼容宿主,不是稳定的官方 SDK。Kimi 更新前端资源哈希、PPTD 格式或 iframe/RPC 协议后,本项目可能需要同步升级。成功生成 PPTX 也不代表 PowerPoint、WPS 和 Keynote 对所有动画效果都能完全一致地播放。 - ## 本地开发 ```bash diff --git a/README_EN.md b/README_EN.md index 39261cd..7fe0b85 100644 --- a/README_EN.md +++ b/README_EN.md @@ -123,7 +123,9 @@ Writable folder access requires a Chromium-based browser with the File System Ac ### Windows: a persistent debug browser -On Windows, exporting PPTX automatically starts a **persistent debug browser**. This is by design, not a stray process: +Only needed for **visual QA** (`export_images.py`) or the **`--browser` PPTX fallback**. Default local WASM export does not start a browser. + +On Windows, the browser path automatically starts a **persistent debug browser**. This is by design, not a stray process: - **Why it's needed**: agent-browser cannot launch Chrome by itself on Windows (the Chrome launcher hands off to a child process and exits immediately, which is misread as a crash), so the export drives an externally started browser instead. - **What it is**: your installed Chrome (falling back to Edge), launched with `--remote-debugging-port` (default `9337`) and a dedicated profile at `%TEMP%\okp-cdp-profile`, with the window positioned off-screen so it stays out of the way. @@ -221,13 +223,10 @@ deck/ - The CLI serves static files on `127.0.0.1` only and does not listen on LAN interfaces. - The browser reads a complete PPTD project directory only after explicit user authorization. - Save callbacks may only modify `.pptd` and `.page` files; absolute paths and `..` traversal are rejected. -- The local host passes PPTD content to the public Kimi web editor. Remote images, fonts, and editor resources may still be fetched from their respective servers. +- Default editing and PPTX/image export use the local neo-ppt mirror plus patched WASM and do **not** depend on `www.kimi.com`. Remote images or fonts referenced by the deck may still be fetched from their hosts. +- Visual QA (`export_images.py`) and `--browser` drive that same local editor (Chromium required) and no longer hit the public Kimi site. - This project does not provide or inject Kimi login tokens and does not access private Kimi documents. -## Compatibility - -This is a compatibility host for the current public implementation, not a stable official SDK. Updates to Kimi frontend asset hashes, the PPTD format, or the iframe/RPC protocol may require a corresponding project update. Successfully generating a PPTX does not guarantee identical animation playback in PowerPoint, WPS, and Keynote. - ## Local development ```bash diff --git a/bin/open-kimi-ppt-skill.js b/bin/open-kimi-ppt-skill.js index ebd6149..0d5bb07 100755 --- a/bin/open-kimi-ppt-skill.js +++ b/bin/open-kimi-ppt-skill.js @@ -190,22 +190,28 @@ async function promptInstallTargets() { const choices = knownTargetDirectories(); const selected = new Set([0]); let cursor = 0; - const lines = choices.length + 3; + // title + help + one line per choice (must match what render() writes) + const lines = choices.length + 2; + + const writeLine = (text) => { + output.write(`\u001b[2K${text}\n`); + }; const render = (initial = false) => { if (!initial) { output.write(`\u001b[${lines}A`); } - output.write("Install open-kimi-ppt to which skills directories?\n"); - output.write("↑/↓ move · space select · a all · enter confirm · ctrl+c cancel\n"); + writeLine("Install open-kimi-ppt to which skills directories?"); + writeLine("↑/↓ move · space select · a all · enter confirm · ctrl+c cancel"); for (const [index, choice] of choices.entries()) { const pointer = index === cursor ? "❯" : " "; const mark = selected.has(index) ? "◉" : "◯"; const installed = existsSync(join(choice.directory, SKILL_NAME, "SKILL.md")) ? " (installed)" : ""; - const line = `${pointer}${mark} ${displayPath(choice.directory).padEnd(28)} ${choice.label}${installed}`; - output.write(`\u001b[2K${line}\n`); + writeLine( + `${pointer}${mark} ${displayPath(choice.directory).padEnd(28)} ${choice.label}${installed}`, + ); } }; @@ -311,10 +317,21 @@ async function resolveInstallTargets(options) { return promptInstallTargets(); } +const CANONICAL_WASM = join( + packageRoot, + "editor", + "neo-ppt", + "assets", + "pptd_wasm_bg-DPPWdROu.wasm", +); + function installSkillTo(skillsDirectory) { if (!existsSync(join(sourceDirectory, "SKILL.md"))) { throw new Error(`packaged skill is incomplete: ${sourceDirectory}`); } + if (!existsSync(CANONICAL_WASM)) { + throw new Error(`packaged patched WASM is missing: ${CANONICAL_WASM}`); + } const destination = join(skillsDirectory, SKILL_NAME); const replaced = existsSync(destination); @@ -328,6 +345,19 @@ function installSkillTo(skillsDirectory) { recursive: true, filter: (source) => ![".DS_Store", "_user_meta.json"].includes(basename(source)), }); + // Single canonical WASM in editor/; copy into skill tree for agent scripts. + const stagedWasmDir = join(stagedSkill, "scripts", "local-export"); + mkdirSync(stagedWasmDir, { recursive: true }); + cpSync(CANONICAL_WASM, join(stagedWasmDir, "pptd_wasm_bg.wasm")); + // Offline image/PPTX browser path needs the local neo-ppt mirror. + const packagedEditor = join(packageRoot, "editor"); + if (!existsSync(join(packagedEditor, "index.html"))) { + throw new Error(`packaged editor is missing: ${packagedEditor}`); + } + cpSync(packagedEditor, join(stagedSkill, "editor"), { + recursive: true, + filter: (source) => basename(source) !== ".DS_Store", + }); rmSync(destination, { recursive: true, force: true }); renameSync(stagedSkill, destination); diff --git a/editor/README.md b/editor/README.md new file mode 100644 index 0000000..661dc0c --- /dev/null +++ b/editor/README.md @@ -0,0 +1,38 @@ +# NeoDeck Local(完全离线 · 无 iframe) + +夺舍官方 Kimi neo-ppt 前端镜像,单页运行: + +- 无 iframe、无 www.kimi.com、无云同步 / 分享 / 云盘 / AI +- 本地打开 PPTD 文件夹并自动保存 +- 官方编辑器内「导出」走本地 patched WASM + +## 启动 + +```bash +cd editor +npx serve . +# 或 python3 -m http.server 55173 +``` + +浏览器打开根路径即可(不要用 file://)。仓库内也可用 `npx open-kimi-ppt-skill serve`。 + +## 使用 + +1. **打开 PPTD 文件夹**(Chromium 可读写;其它浏览器可退化为只读上传) +2. 在官方编辑器 UI 中编辑 +3. 顶栏 **导出** → 下载 PPTX / 图片(无分享、无 Google 云盘) + +## 结构 + +``` +editor/ + index.html # 唯一入口(官方 UI + 本地顶栏) + local-bridge.js # 取代 Penpal 父页面的本地桥 + local-shell.css + neo-ppt/ # 官方前端镜像 + assets/ + pptd_wasm_bg-DPPWdROu.wasm # 唯一一份 patched PPTX WASM(真源) + index_bg-*.wasm # resvg(渲染用,勿与上者混淆) +``` + +Agent 侧 `scripts/local-export/` 在 skill install 时会从上述真源拷贝一份 `pptd_wasm_bg.wasm`;仓库内导出脚本直接引用本路径。 diff --git a/editor/app.js b/editor/app.js deleted file mode 100644 index 03672ff..0000000 --- a/editor/app.js +++ /dev/null @@ -1,798 +0,0 @@ -import { - assertWritableChangePath, - basename, - dirname, - extractPagePaths, - joinDeckPath, - normalizeRelativePath, - titleFromManifest, -} from "./lib.js"; - -const EDITOR_ORIGIN = "https://www.kimi.com"; -const PENPAL_MODULE = "https://statics.moonshot.cn/neo-design/assets/penpal-C4NjirZE.js"; -const MAX_TEXT_BYTES = 20 * 1024 * 1024; -const MAX_IMAGE_BYTES = 20 * 1024 * 1024; -const MAX_CHANGE_COUNT = 600; - -const elements = { - frame: document.querySelector("#editor"), - openFolder: document.querySelector("#open-folder"), - openDemo: document.querySelector("#open-demo"), - reload: document.querySelector("#reload-deck"), - documentTitle: document.querySelector("#document-title"), - documentPath: document.querySelector("#document-path"), - connectionStatus: document.querySelector("#connection-status"), - connectionLabel: document.querySelector("#connection-label"), - saveState: document.querySelector("#save-state"), - loadingCard: document.querySelector("#loading-card"), - loadingTitle: document.querySelector("#loading-title"), - loadingMessage: document.querySelector("#loading-message"), - activityPanel: document.querySelector("#activity-panel"), - activityList: document.querySelector("#activity-list"), - toggleActivity: document.querySelector("#toggle-activity"), - closeActivity: document.querySelector("#close-activity"), - openDialog: document.querySelector("#open-dialog"), - closeOpenDialog: document.querySelector("#close-open-dialog"), - uploadDropzone: document.querySelector("#upload-dropzone"), - chooseWritableFolder: document.querySelector("#choose-writable-folder"), - uploadFolder: document.querySelector("#upload-folder"), - deckDialog: document.querySelector("#deck-dialog"), - deckOptions: document.querySelector("#deck-options"), - folderFallback: document.querySelector("#folder-fallback"), - toastRegion: document.querySelector("#toast-region"), -}; - -const state = { - remote: null, - connection: null, - source: "demo", - directoryHandle: null, - fileIndex: new Map(), - memoryFiles: new Map(), - manifestPath: "presentation.pptd", - manifestDirectory: "", - manifestContent: "", - deckTitle: "演示文稿", - lastDeckPayload: null, - saveQueue: Promise.resolve(), - imageCache: new Map(), - dragDepth: 0, - readOnlyFallback: false, -}; - -function setConnection(kind, label) { - elements.connectionStatus.className = `status-pill status-${kind}`; - elements.connectionLabel.textContent = label; - document.documentElement.dataset.connection = kind; -} - -function setSaveState(label, kind = "idle") { - elements.saveState.textContent = label; - elements.saveState.dataset.kind = kind; - document.documentElement.dataset.saveState = kind; -} - -function setLoading(visible, title, message) { - elements.loadingCard.classList.toggle("is-hidden", !visible); - elements.loadingCard.setAttribute("aria-hidden", String(!visible)); - if (title) elements.loadingTitle.textContent = title; - if (message) elements.loadingMessage.textContent = message; -} - -function formatTime(date = new Date()) { - return new Intl.DateTimeFormat("zh-CN", { - hour: "2-digit", - minute: "2-digit", - second: "2-digit", - }).format(date); -} - -function addActivity(message, tone = "info") { - const item = document.createElement("li"); - item.dataset.tone = tone; - item.innerHTML = ``; - item.querySelector("span").textContent = message; - elements.activityList.prepend(item); - while (elements.activityList.children.length > 40) { - elements.activityList.lastElementChild.remove(); - } -} - -function toast(message, tone = "info") { - const item = document.createElement("div"); - item.className = `toast toast-${tone}`; - item.textContent = message; - elements.toastRegion.append(item); - requestAnimationFrame(() => item.classList.add("is-visible")); - setTimeout(() => { - item.classList.remove("is-visible"); - setTimeout(() => item.remove(), 220); - }, 3200); -} - -function editorQuery() { - return new URLSearchParams({ - sdkMode: "ppt-editor", - pptPlatform: "neodeck-local", - functional: JSON.stringify({ - fullscreen: true, - present: true, - export: true, - close: false, - annotation: false, - feedback: false, - share: false, - versionHistory: false, - }), - sdkSaveMode: "external", - sdkImageMode: "external", - }); -} - -function demoDeck() { - const manifest = JSON.stringify({ - version: "v2", - title: "NeoDeck Local", - size: [960, 540], - pages: ["pages/01.page", "pages/02.page"], - }); - const pages = [ - { - path: "pages/01.page", - content: JSON.stringify({ - pageType: "content", - background: { color: "#f7f8fc" }, - elements: [ - { - elementId: "eyebrow", - elementType: "text", - bounds: [92, 96, 776, 40], - content: { - text: '

NEODECK LOCAL

', - }, - }, - { - elementId: "title", - elementType: "text", - bounds: [92, 155, 776, 142], - content: { - text: '

直接打开和保存
本地 PPTD

', - }, - }, - { - elementId: "subtitle", - elementType: "text", - bounds: [94, 330, 660, 58], - content: { - text: '

第三方宿主 · 本地文件 · Kimi neo-ppt 编辑内核

', - }, - }, - ], - animations: [ - { - elementId: "title", - effect: "fade-in", - trigger: "onClick", - direction: "up", - easing: "ease-in-out", - durationMs: 700, - }, - ], - }), - }, - { - path: "pages/02.page", - content: JSON.stringify({ - pageType: "content", - background: { color: "#171923" }, - elements: [ - { - elementId: "second-title", - elementType: "text", - bounds: [100, 120, 760, 96], - content: { - text: '

文件系统桥接已经就绪

', - }, - }, - { - elementId: "steps", - elementType: "text", - bounds: [102, 250, 730, 165], - content: { - text: '

① 选择完整的 PPTD 项目文件夹

② 编辑器自动读取清单、页面与素材

③ 自动保存变更到原目录

', - }, - }, - ], - }), - }, - ]; - return { - id: "neodeck-demo", - title: "NeoDeck Local", - manifestPath: "presentation.pptd", - manifestContent: manifest, - pages, - basePath: "", - isCreate: true, - }; -} - -function requireRemote() { - if (!state.remote) throw new Error("编辑器还没有连接完成"); - return state.remote; -} - -async function setDeck(payload, sourceLabel) { - const remote = requireRemote(); - setLoading(true, "正在载入 PPTD", sourceLabel); - state.lastDeckPayload = payload; - state.manifestContent = payload.manifestContent; - state.manifestPath = payload.manifestPath; - state.manifestDirectory = dirname(payload.manifestPath); - state.deckTitle = payload.title; - elements.documentTitle.textContent = payload.title; - elements.documentPath.textContent = sourceLabel; - elements.reload.disabled = false; - - await remote.setPPTD(payload.id, { - pptdContent: payload.manifestContent, - pages: payload.pages, - basePath: payload.basePath, - pptdPath: payload.manifestPath, - isCreate: true, - }); - await remote.setEditable(true); - const status = await remote.getSlideStatus(); - setLoading(false); - addActivity(`已载入「${payload.title}」,共 ${payload.pages.length} 页`, "success"); - document.documentElement.dataset.deckStatus = "ready"; - window.dispatchEvent(new CustomEvent("neodeck:ready", { detail: status })); -} - -async function openDemo() { - state.source = "demo"; - state.directoryHandle = null; - state.fileIndex.clear(); - state.imageCache.clear(); - state.memoryFiles.clear(); - state.readOnlyFallback = false; - const payload = demoDeck(); - state.memoryFiles.set(payload.manifestPath, payload.manifestContent); - for (const page of payload.pages) state.memoryFiles.set(page.path, page.content); - await setDeck(payload, "内置示例 · 修改保存在本页内存"); - setSaveState("示例 · 内存保存", "memory"); -} - -async function indexDirectory(directoryHandle) { - const index = new Map(); - async function walk(handle, prefix = "") { - for await (const [name, entry] of handle.entries()) { - if (name === ".DS_Store") continue; - const path = prefix ? `${prefix}/${name}` : name; - if (entry.kind === "directory") await walk(entry, path); - else index.set(normalizeRelativePath(path), entry); - } - } - await walk(directoryHandle); - return index; -} - -function indexFallbackFiles(fileList) { - const index = new Map(); - const files = [...fileList]; - const firstPath = files[0]?.webkitRelativePath || files[0]?.name || ""; - const rootName = firstPath.includes("/") ? firstPath.split("/")[0] : ""; - for (const file of files) { - let path = file.webkitRelativePath || file.name; - if (rootName && path.startsWith(`${rootName}/`)) path = path.slice(rootName.length + 1); - index.set(normalizeRelativePath(path), { kind: "file", getFile: async () => file }); - } - return index; -} - -async function chooseManifest(paths) { - if (paths.length === 1) return paths[0]; - elements.deckOptions.replaceChildren(); - const choice = new Promise((resolve) => { - for (const path of paths) { - const button = document.createElement("button"); - button.className = "deck-option"; - button.type = "button"; - button.innerHTML = `P`; - button.querySelector("strong").textContent = basename(path); - button.querySelector("small").textContent = path; - button.addEventListener("click", () => { - elements.deckDialog.close(); - resolve(path); - }); - elements.deckOptions.append(button); - } - elements.deckDialog.addEventListener( - "close", - () => { - if (elements.deckDialog.returnValue === "cancel") resolve(null); - }, - { once: true }, - ); - }); - elements.deckDialog.showModal(); - return choice; -} - -async function textFromIndexedFile(path) { - const entry = state.fileIndex.get(normalizeRelativePath(path)); - if (!entry) throw new Error(`找不到文件:${path}`); - const file = await entry.getFile(); - if (file.size > MAX_TEXT_BYTES) throw new Error(`文件超过 20 MiB:${path}`); - return file.text(); -} - -async function loadManifest(manifestPath, sourceLabel) { - const manifestContent = await textFromIndexedFile(manifestPath); - const pagePaths = extractPagePaths(manifestContent); - const manifestDirectory = dirname(manifestPath); - const pages = []; - const missing = []; - for (const pagePath of pagePaths.slice(0, 500)) { - const indexedPath = joinDeckPath(manifestDirectory, pagePath); - try { - pages.push({ path: pagePath, content: await textFromIndexedFile(indexedPath) }); - } catch { - missing.push(pagePath); - } - } - if (pages.length === 0) throw new Error(".pptd 清单引用的页面均无法读取"); - if (missing.length) toast(`跳过 ${missing.length} 个无法读取的页面`, "warning"); - - const fallbackTitle = basename(manifestPath).replace(/\.pptd$/i, ""); - const title = titleFromManifest(manifestContent, fallbackTitle); - await setDeck( - { - id: fallbackTitle, - title, - manifestPath, - manifestContent, - pages, - basePath: manifestDirectory ? `${manifestDirectory}/` : "", - isCreate: true, - }, - sourceLabel, - ); - setSaveState(state.readOnlyFallback ? "只读打开" : "自动保存已开启", state.readOnlyFallback ? "readonly" : "saved"); -} - -async function openDirectoryHandle(directoryHandle, label = directoryHandle.name) { - setLoading(true, "正在扫描文件夹", label); - let permission = await directoryHandle.queryPermission?.({ mode: "readwrite" }); - if (permission !== "granted") permission = await directoryHandle.requestPermission?.({ mode: "readwrite" }); - if (permission !== "granted") throw new Error("没有获得文件夹读写权限"); - - state.source = "directory"; - state.directoryHandle = directoryHandle; - state.readOnlyFallback = false; - state.fileIndex = await indexDirectory(directoryHandle); - state.imageCache.clear(); - const manifests = [...state.fileIndex.keys()].filter((path) => path.toLowerCase().endsWith(".pptd")); - if (manifests.length === 0) throw new Error("文件夹里没有找到 .pptd 清单文件"); - const manifestPath = await chooseManifest(manifests.sort()); - if (!manifestPath) { - setLoading(false); - return; - } - await loadManifest(manifestPath, `${label}/${manifestPath}`); -} - -async function openFallbackFiles(files) { - state.source = "fallback"; - state.directoryHandle = null; - state.readOnlyFallback = true; - state.fileIndex = indexFallbackFiles(files); - state.imageCache.clear(); - const manifests = [...state.fileIndex.keys()].filter((path) => path.toLowerCase().endsWith(".pptd")); - if (manifests.length === 0) throw new Error("文件夹里没有找到 .pptd 清单文件"); - const manifestPath = await chooseManifest(manifests.sort()); - if (manifestPath) await loadManifest(manifestPath, `${manifestPath} · 只读兼容模式`); -} - -async function openDirectoryHandleReadOnly(directoryHandle, label = directoryHandle.name) { - setLoading(true, "正在扫描文件夹", label); - state.source = "fallback"; - state.directoryHandle = null; - state.readOnlyFallback = true; - state.fileIndex = await indexDirectory(directoryHandle); - state.imageCache.clear(); - const manifests = [...state.fileIndex.keys()].filter((path) => path.toLowerCase().endsWith(".pptd")); - if (manifests.length === 0) throw new Error("文件夹里没有找到 .pptd 清单文件"); - const manifestPath = await chooseManifest(manifests.sort()); - if (manifestPath) await loadManifest(manifestPath, `${label}/${manifestPath} · 拖放只读模式`); -} - -async function pickDirectory() { - try { - if ("showDirectoryPicker" in window) { - const directoryHandle = await window.showDirectoryPicker({ id: "neodeck-project", mode: "readwrite" }); - setOpenDialog(false); - await openDirectoryHandle(directoryHandle); - } else { - elements.folderFallback.click(); - } - } catch (error) { - if (error?.name === "AbortError") return; - handleError(error, "打开文件夹失败"); - } -} - -async function openDroppedFolder(handles) { - const usableHandles = handles.filter(Boolean); - if (usableHandles.length !== 1 || usableHandles[0].kind !== "directory") { - throw new Error("只能拖入一个完整的 PPTD 项目文件夹,不能单独拖入 .pptd 文件"); - } - - const directoryHandle = usableHandles[0]; - try { - setOpenDialog(false); - await openDirectoryHandle(directoryHandle); - } catch (error) { - setOpenDialog(false); - toast("无法以可写模式载入,正在尝试只读打开", "warning"); - await openDirectoryHandleReadOnly(directoryHandle); - } -} - -function resolveIndexedPath(requestedPath) { - if (typeof requestedPath !== "string" || !requestedPath.trim()) return null; - if (/^(?:data:image\/|https?:\/\/|blob:)/i.test(requestedPath)) return requestedPath; - let candidate = requestedPath.replace(/^file:\/\/+/, "").replaceAll("\\", "/"); - try { - candidate = decodeURIComponent(candidate); - } catch { - // Preserve literal percent signs. - } - - const directCandidates = []; - try { - directCandidates.push(normalizeRelativePath(candidate)); - } catch { - const parts = candidate.split("/").filter(Boolean); - for (let index = 0; index < parts.length; index += 1) { - try { - directCandidates.push(normalizeRelativePath(parts.slice(index).join("/"))); - } catch { - // Keep looking for a safe suffix. - } - } - } - try { - directCandidates.push(joinDeckPath(state.manifestDirectory, candidate)); - } catch { - // Absolute paths may still match a safe indexed suffix below. - } - for (const path of directCandidates) if (state.fileIndex.has(path)) return path; - for (const path of state.fileIndex.keys()) { - if (directCandidates.some((candidatePath) => path.endsWith(`/${candidatePath}`) || path === candidatePath)) return path; - } - return null; -} - -function fileToDataUrl(file) { - return new Promise((resolve, reject) => { - const reader = new FileReader(); - reader.addEventListener("load", () => resolve(String(reader.result))); - reader.addEventListener("error", () => reject(reader.error || new Error("图片读取失败"))); - reader.readAsDataURL(file); - }); -} - -async function resolveImage(requestedPath) { - if (/^(?:data:image\/|https?:\/\/|blob:)/i.test(requestedPath)) return requestedPath; - const path = resolveIndexedPath(requestedPath); - if (!path) return ""; - const entry = state.fileIndex.get(path); - const file = await entry.getFile(); - if (file.size > MAX_IMAGE_BYTES) return ""; - const cacheKey = `${path}:${file.lastModified}:${file.size}`; - if (!state.imageCache.has(cacheKey)) state.imageCache.set(cacheKey, fileToDataUrl(file)); - return state.imageCache.get(cacheKey); -} - -async function getImages(payload = {}) { - const paths = Array.isArray(payload.filePath) ? payload.filePath : []; - const result = await Promise.all(paths.map((path) => resolveImage(path).catch(() => ""))); - const misses = result.filter((value) => !value).length; - if (misses) addActivity(`${paths.length} 张图片中有 ${misses} 张未找到`, "warning"); - return result; -} - -async function getHandleForPath(root, path, create = false) { - const parts = normalizeRelativePath(path).split("/"); - const fileName = parts.pop(); - let directory = root; - for (const part of parts) directory = await directory.getDirectoryHandle(part, { create }); - return { directory, fileName, file: await directory.getFileHandle(fileName, { create }) }; -} - -async function readBackup(path) { - try { - const { file } = await getHandleForPath(state.directoryHandle, path, false); - return { existed: true, bytes: await (await file.getFile()).arrayBuffer() }; - } catch (error) { - if (error?.name === "NotFoundError") return { existed: false, bytes: null }; - throw error; - } -} - -async function writeFile(path, content) { - const { file } = await getHandleForPath(state.directoryHandle, path, true); - const writable = await file.createWritable(); - try { - await writable.write(content); - } finally { - await writable.close(); - } - state.fileIndex.set(path, file); -} - -async function deleteFile(path) { - const parts = normalizeRelativePath(path).split("/"); - const fileName = parts.pop(); - let directory = state.directoryHandle; - for (const part of parts) directory = await directory.getDirectoryHandle(part, { create: false }); - try { - await directory.removeEntry(fileName); - } catch (error) { - if (error?.name !== "NotFoundError") throw error; - } - state.fileIndex.delete(path); -} - -async function rollbackChanges(backups) { - const entries = [...backups.entries()].reverse(); - for (const [path, backup] of entries) { - if (backup.existed) await writeFile(path, backup.bytes); - else await deleteFile(path); - } -} - -async function persistChanges(payload = {}) { - const changes = Array.isArray(payload.changes) ? payload.changes : []; - if (changes.length === 0) return { fileContent: payload.fileContent, lastModifiedTime: Date.now() }; - if (changes.length > MAX_CHANGE_COUNT) throw new Error(`一次保存不能超过 ${MAX_CHANGE_COUNT} 个文件`); - - const normalized = changes.map((change) => { - const path = assertWritableChangePath(state.manifestDirectory, change.path); - const operation = change.operate === "delete" ? "delete" : "put"; - const content = operation === "put" ? String(change.content ?? "") : null; - if (content && new Blob([content]).size > MAX_TEXT_BYTES) throw new Error(`保存内容超过 20 MiB:${path}`); - return { path, operation, content }; - }); - - if (state.source === "demo") { - for (const change of normalized) { - if (change.operation === "delete") state.memoryFiles.delete(change.path); - else state.memoryFiles.set(change.path, change.content); - } - setSaveState("刚刚保存到内存", "memory"); - addActivity(`已在内存保存 ${normalized.length} 项变更`, "success"); - return { fileContent: payload.fileContent, lastModifiedTime: Date.now() }; - } - - if (state.readOnlyFallback || !state.directoryHandle) { - throw new Error("当前是只读兼容模式,请用支持文件夹授权的 Chromium 浏览器打开"); - } - - const permission = await state.directoryHandle.queryPermission({ mode: "readwrite" }); - if (permission !== "granted") throw new Error("项目文件夹的写入权限已经失效"); - - setSaveState("正在保存…", "saving"); - const backups = new Map(); - try { - for (const change of normalized) backups.set(change.path, await readBackup(change.path)); - for (const change of normalized) { - if (change.operation === "delete") await deleteFile(change.path); - else await writeFile(change.path, change.content); - } - } catch (error) { - await rollbackChanges(backups).catch((rollbackError) => { - addActivity(`回滚未完全成功:${rollbackError.message}`, "error"); - }); - throw error; - } - - setSaveState("刚刚已保存", "saved"); - addActivity(`已保存 ${normalized.length} 个文件变更`, "success"); - return { fileContent: payload.fileContent, lastModifiedTime: Date.now() }; -} - -function onSave(payload) { - const operation = state.saveQueue.then(() => persistChanges(payload)); - state.saveQueue = operation.catch(() => undefined); - return operation.catch((error) => { - setSaveState("保存失败", "error"); - addActivity(error.message, "error"); - toast(`保存失败:${error.message}`, "error"); - throw error; - }); -} - -async function toggleFullscreen(value) { - if (value === false || document.fullscreenElement) { - if (document.fullscreenElement) await document.exitFullscreen(); - return false; - } - await document.documentElement.requestFullscreen(); - return true; -} - -function handleError(error, context = "操作失败") { - const message = error?.message || String(error); - setLoading(false); - addActivity(`${context}:${message}`, "error"); - toast(`${context}:${message}`, "error"); - console.error(context, error); -} - -async function connectEditor() { - setConnection("connecting", "连接中"); - addActivity("正在连接公开 neo-ppt 编辑器"); - elements.frame.src = `${EDITOR_ORIGIN}/neo-ppt/?${editorQuery()}`; - - try { - const [{ i: connect, r: WindowMessenger }] = await Promise.all([ - import(PENPAL_MODULE), - new Promise((resolve, reject) => { - const timeout = setTimeout(() => reject(new Error("编辑器 iframe 加载超时")), 20_000); - elements.frame.addEventListener( - "load", - () => { - clearTimeout(timeout); - resolve(); - }, - { once: true }, - ); - }), - ]); - - const messenger = new WindowMessenger({ - remoteWindow: elements.frame.contentWindow, - allowedOrigins: [EDITOR_ORIGIN], - }); - state.connection = connect({ - messenger, - methods: { - close() { - toast("当前文稿由 NeoDeck Local 托管"); - }, - reenter() { - return state.lastDeckPayload ? setDeck(state.lastDeckPayload, elements.documentPath.textContent) : undefined; - }, - toggleFullScreen: toggleFullscreen, - showFeedback() {}, - sendPrompt() { - toast("AI 提示词回传尚未接入", "warning"); - }, - showMessage(payload) { - const message = typeof payload === "string" ? payload : payload?.message || payload?.content; - if (message) toast(message); - }, - hideMessage() {}, - onSave, - getImages, - setAnnotationMode() {}, - setAnnotationCurrentPage() {}, - upsertAnnotation() {}, - removeAnnotation() {}, - clearAnnotations() {}, - }, - }); - state.remote = await Promise.race([ - state.connection.promise, - new Promise((_, reject) => setTimeout(() => reject(new Error("RPC 握手超时")), 20_000)), - ]); - await state.remote.setSlideConfig({ editable: true, locale: "zh-CN", theme: "light" }); - setConnection("ready", "已连接"); - addActivity("编辑器 RPC 握手完成", "success"); - await openDemo(); - } catch (error) { - setConnection("error", "连接失败"); - setLoading(true, "无法连接编辑器", "请检查网络,或 Kimi 是否更新了公开前端资源。"); - handleError(error, "编辑器连接失败"); - } -} - -function setActivityPanel(open) { - elements.activityPanel.classList.toggle("is-open", open); - elements.activityPanel.setAttribute("aria-hidden", String(!open)); -} - -function setOpenDialog(open) { - if (open && !elements.openDialog.open) elements.openDialog.showModal(); - if (!open && elements.openDialog.open) elements.openDialog.close(); - elements.openDialog.dataset.dropState = "idle"; - elements.uploadDropzone.classList.remove("is-dragging"); -} - -elements.openFolder.addEventListener("click", () => setOpenDialog(true)); -elements.closeOpenDialog.addEventListener("click", () => setOpenDialog(false)); -elements.chooseWritableFolder.addEventListener("click", pickDirectory); -elements.uploadFolder.addEventListener("click", () => elements.folderFallback.click()); -elements.uploadDropzone.addEventListener("click", () => elements.folderFallback.click()); -elements.openDialog.addEventListener("click", (event) => { - if (event.target === elements.openDialog) setOpenDialog(false); -}); -elements.openDemo.addEventListener("click", () => openDemo().catch((error) => handleError(error, "示例载入失败"))); -elements.reload.addEventListener("click", () => { - if (!state.lastDeckPayload) return; - const reload = state.source === "directory" ? loadManifest(state.manifestPath, elements.documentPath.textContent) : setDeck(state.lastDeckPayload, elements.documentPath.textContent); - reload.catch((error) => handleError(error, "重新载入失败")); -}); -elements.toggleActivity.addEventListener("click", () => setActivityPanel(!elements.activityPanel.classList.contains("is-open"))); -elements.closeActivity.addEventListener("click", () => setActivityPanel(false)); -elements.folderFallback.addEventListener("change", () => { - if (elements.folderFallback.files?.length) { - setOpenDialog(false); - openFallbackFiles(elements.folderFallback.files).catch((error) => handleError(error, "上传文件夹失败")); - } - elements.folderFallback.value = ""; -}); - -window.addEventListener("dragenter", (event) => { - event.preventDefault(); - state.dragDepth += 1; - setOpenDialog(true); - elements.openDialog.dataset.dropState = "active"; - elements.uploadDropzone.classList.add("is-dragging"); -}); -window.addEventListener("dragover", (event) => event.preventDefault()); -window.addEventListener("dragleave", () => { - state.dragDepth = Math.max(0, state.dragDepth - 1); - if (state.dragDepth === 0) { - elements.openDialog.dataset.dropState = "idle"; - elements.uploadDropzone.classList.remove("is-dragging"); - } -}); -window.addEventListener("drop", async (event) => { - event.preventDefault(); - state.dragDepth = 0; - elements.openDialog.dataset.dropState = "loading"; - elements.uploadDropzone.classList.remove("is-dragging"); - try { - const handles = await Promise.all([...event.dataTransfer.items].map((item) => item.getAsFileSystemHandle?.())); - if (handles.some(Boolean)) await openDroppedFolder(handles); - else if (event.dataTransfer.files?.length) { - const files = [...event.dataTransfer.files]; - const roots = new Set(files.map((file) => file.webkitRelativePath?.split("/")[0]).filter(Boolean)); - const isSingleFolder = files.length > 0 && roots.size === 1 && files.every((file) => file.webkitRelativePath?.includes("/")); - if (!isSingleFolder) throw new Error("只能拖入一个完整的 PPTD 项目文件夹,不能单独拖入 .pptd 文件"); - setOpenDialog(false); - await openFallbackFiles(files); - } else throw new Error("请拖入包含 .pptd、pages 和 media 的完整项目文件夹"); - } catch (error) { - handleError(error, "拖放打开失败"); - } finally { - elements.openDialog.dataset.dropState = "idle"; - } -}); - -window.addEventListener("beforeunload", (event) => { - if (elements.saveState.dataset.kind === "saving") { - event.preventDefault(); - event.returnValue = ""; - } -}); - -window.neoDeck = { - openDemo, - getSlideStatus: () => state.remote?.getSlideStatus(), - get status() { - return { - connected: Boolean(state.remote), - source: state.source, - title: state.deckTitle, - manifestPath: state.manifestPath, - indexedFiles: state.fileIndex.size, - saveState: elements.saveState.dataset.kind, - }; - }, -}; - -connectEditor(); diff --git a/editor/index.html b/editor/index.html index 00bc6d1..a480600 100644 --- a/editor/index.html +++ b/editor/index.html @@ -1,150 +1,105 @@ - + - - - - + + + NeoDeck Local - - - -
-
-
- N - - NeoDeck - LOCAL - -
- -
- - - -
- -
-
等待编辑器连接
-
当前使用演示文稿
-
- -
- - - 连接中 - - 未保存到本地 - -
-
- -
- - -
- -

正在连接 neo-ppt

-

编辑器就绪后会自动载入示例文稿。

-
- - -
-
- - -
-
-
- P -
-

打开 PPTD 项目文件夹

-

请选择或拖入包含完整项目结构的文件夹

-
-
- -
- - - -
- - -
- -
- - PPTD 项目由 .pptd 清单、pages 页面目录和 media 素材目录组成,必须上传整个文件夹。若提示含系统文件,请移除 .DS_Store。 -
+ + + + + + + + + + + + + + + + + + + + + + +
+
NeoDeckLOCAL
+
+
-
- - -
-
- P -
-

选择 PPTD 文稿

-

这个文件夹里发现了多个 .pptd 清单,请选择一个。

-
-
-
-
- -
-
-
- - -
- - +
+ 未打开文稿 + 初始化中 +
+ + +
+ diff --git a/editor/local-bridge.js b/editor/local-bridge.js new file mode 100644 index 0000000..0d44a1b --- /dev/null +++ b/editor/local-bridge.js @@ -0,0 +1,572 @@ +/** + * NeoDeck Local bridge — no iframe, no cloud. + * Official neo-ppt talks to us via window.__NEODECK_CONNECT__ instead of Penpal parent. + */ +import { + basename, + dirname, + extractPagePaths, + joinDeckPath, + normalizeRelativePath, + titleFromManifest, +} from "./lib.js"; + +const state = { + editor: null, // methods exposed by official editor (setPPTD, ...) + directoryHandle: null, + fileIndex: new Map(), + memoryFiles: new Map(), + imageMap: Object.create(null), // path → data URL (export host / payload) + manifestPath: "", + manifestDirectory: "", + manifestContent: "", + deckTitle: "未打开文稿", + saveQueue: Promise.resolve(), + imageCache: new Map(), + readOnly: false, + ready: false, + exportMode: false, +}; + +const $ = (sel) => document.querySelector(sel); +const exportMode = + new URL(location.href).searchParams.get("ndExport") === "1" || + new URL(location.href).searchParams.get("export") === "1"; +state.exportMode = exportMode; +if (exportMode) { + document.documentElement.classList.add("nd-export-mode"); + document.documentElement.dataset.deckStatus = "booting"; +} + +function toast(msg, kind = "info") { + const el = $("#nd-toast"); + if (!el) return; + el.hidden = false; + el.dataset.kind = kind; + el.textContent = msg; + clearTimeout(toast._t); + toast._t = setTimeout(() => { + el.hidden = true; + }, 3200); +} + +function setStatus(text) { + const el = $("#nd-status"); + if (el) el.textContent = text; +} + +function setTitle(text) { + state.deckTitle = text; + const el = $("#nd-title"); + if (el) el.textContent = text; +} + +async function indexDirectory(directoryHandle) { + const index = new Map(); + async function walk(handle, prefix = "") { + for await (const [name, entry] of handle.entries()) { + if (name === ".DS_Store") continue; + const path = prefix ? `${prefix}/${name}` : name; + if (entry.kind === "directory") await walk(entry, path); + else index.set(normalizeRelativePath(path), entry); + } + } + await walk(directoryHandle); + return index; +} + +function indexFallbackFiles(fileList) { + const index = new Map(); + const files = [...fileList]; + const firstPath = files[0]?.webkitRelativePath || files[0]?.name || ""; + const rootName = firstPath.includes("/") ? firstPath.split("/")[0] : ""; + for (const file of files) { + let path = file.webkitRelativePath || file.name; + if (rootName && path.startsWith(`${rootName}/`)) path = path.slice(rootName.length + 1); + index.set(normalizeRelativePath(path), { kind: "file", getFile: async () => file }); + } + return index; +} + +async function textFromIndexed(path) { + const key = normalizeRelativePath(path); + if (state.memoryFiles.has(key)) return state.memoryFiles.get(key); + const entry = state.fileIndex.get(key); + if (!entry) throw new Error(`找不到文件:${path}`); + return (await entry.getFile()).text(); +} + +function fileToDataUrl(file) { + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onload = () => resolve(reader.result); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(file); + }); +} + +function lookupImageMap(path) { + if (!path || !state.imageMap) return ""; + if (state.imageMap[path]) return state.imageMap[path]; + const keys = Object.keys(state.imageMap); + const hit = keys.find( + (key) => path.endsWith(`/${key}`) || key.endsWith(`/${path}`) || key === path || key.endsWith(`/${path.split("/").pop()}`), + ); + return hit ? state.imageMap[hit] : ""; +} + +async function resolveImage(requestedPath) { + if (requestedPath == null || requestedPath === "") return ""; + const raw = String(requestedPath); + if (/^(?:data:image\/|https?:\/\/|blob:)/i.test(raw)) return raw; + + let path; + try { + path = normalizeRelativePath(raw.replace(/^file:\/\/+/, "").replace(/^\.\//, "")); + } catch { + path = raw.replace(/^file:\/\/+/, "").replace(/^\.\//, "").replaceAll("\\", "/"); + } + + const mapped = lookupImageMap(path); + if (mapped) return mapped; + + const candidates = []; + const add = (p) => { + if (p && !candidates.includes(p)) candidates.push(p); + }; + add(path); + if (state.manifestDirectory) { + try { + add(joinDeckPath(state.manifestDirectory, path)); + } catch { + /* ignore */ + } + } + // common media layouts + const base = path.split("/").pop(); + if (base) { + add(`media/${base}`); + add(`assets/${base}`); + add(`images/${base}`); + if (state.manifestDirectory) { + try { + add(joinDeckPath(state.manifestDirectory, `media/${base}`)); + } catch { + /* ignore */ + } + } + } + + // fuzzy: any indexed file ending with same relative suffix or basename + for (const key of state.fileIndex.keys()) { + if (key === path || key.endsWith("/" + path) || (base && key.endsWith("/" + base)) || key === base) { + add(key); + } + } + + for (const c of candidates) { + if (!state.fileIndex.has(c) && !state.memoryFiles.has(c)) continue; + const cacheKey = c; + if (!state.imageCache.has(cacheKey)) { + try { + if (state.fileIndex.has(c)) { + const file = await state.fileIndex.get(c).getFile(); + state.imageCache.set(cacheKey, await fileToDataUrl(file)); + } else { + // memory text shouldn't be image; skip + continue; + } + } catch (e) { + console.warn("[neodeck] image read failed", c, e); + continue; + } + } + const url = await state.imageCache.get(cacheKey); + if (url) return url; + } + console.warn("[neodeck] image not found", requestedPath, "tried", candidates.slice(0, 8)); + return ""; +} + +async function getImages(payload = {}) { + // Official contract: { chatId, filePath: string[] } -> string[] (data URLs / public URLs) + let paths = payload?.filePath; + if (paths == null) paths = []; + if (!Array.isArray(paths)) paths = [paths]; + const out = []; + for (const p of paths) { + try { + out.push(await resolveImage(p)); + } catch (e) { + console.warn("[neodeck] getImages item failed", p, e); + out.push(""); + } + } + return out; +} + +async function writeIndexedFile(path, content) { + if (state.readOnly || !state.directoryHandle) { + state.memoryFiles.set(path, content); + return; + } + const parts = path.split("/"); + let dir = state.directoryHandle; + for (let i = 0; i < parts.length - 1; i++) { + dir = await dir.getDirectoryHandle(parts[i], { create: true }); + } + const handle = await dir.getFileHandle(parts[parts.length - 1], { create: true }); + const writable = await handle.createWritable(); + await writable.write(content); + await writable.close(); + state.fileIndex.set(path, handle); + state.memoryFiles.set(path, content); +} + +async function onSave(payload) { + const changes = payload?.changes || payload?.files || []; + const list = Array.isArray(changes) ? changes : []; + setStatus("正在保存…"); + try { + for (const change of list) { + if (!change?.path) continue; + const path = normalizeRelativePath(change.path); + if (!/\.(?:pptd|page)$/i.test(path)) continue; + await writeIndexedFile(path, change.content ?? ""); + } + setStatus(state.readOnly ? "只读 · 已存内存" : "已保存到本地"); + } catch (e) { + setStatus("保存失败"); + toast(`保存失败:${e.message || e}`, "error"); + throw e; + } +} + +/** Called by patched official editor instead of Penpal connect */ +window.__NEODECK_CONNECT__ = function neoDeckConnect(options) { + const methods = options?.methods || {}; + state.editor = methods; + state.ready = true; + setStatus("编辑器就绪"); + // Force light chrome immediately (official default is system → OS dark FOUC). + Promise.resolve( + methods.setSlideConfig?.({ editable: true, locale: "zh-CN", theme: "light" }), + ).catch((e) => console.warn("[neodeck] setSlideConfig", e)); + // host methods the editor will call via connection.promise + const host = { + close() { + toast("本地模式无需关闭"); + }, + reenter() {}, + async toggleFullScreen(want) { + try { + const el = document.documentElement; + const isFs = Boolean(document.fullscreenElement); + if (want === true || (want !== false && !isFs)) { + if (!isFs && el.requestFullscreen) await el.requestFullscreen(); + } else if (want === false || isFs) { + if (isFs && document.exitFullscreen) await document.exitFullscreen(); + } + } catch (e) { + console.warn("[neodeck] fullscreen", e); + } + return Boolean(document.fullscreenElement); + }, + showFeedback() {}, + sendPrompt() { + toast("本地模式已禁用 AI", "warning"); + }, + showMessage(payload) { + const message = typeof payload === "string" ? payload : payload?.message || payload?.content; + if (message) toast(String(message)); + }, + hideMessage() {}, + onSave, + getImages, + setAnnotationMode() {}, + setAnnotationCurrentPage() {}, + upsertAnnotation() {}, + removeAnnotation() {}, + clearAnnotations() {}, + }; + + if (state.exportMode) { + loadExportPayload().catch((error) => { + console.error("[neodeck] export payload failed", error); + document.documentElement.dataset.deckStatus = "error"; + window.exportHostError = String(error?.stack || error); + setStatus("导出载荷加载失败"); + }); + } else { + // Auto-open demo if nothing loaded after a beat + setTimeout(() => { + if (!state.manifestPath) openDemo().catch((e) => console.error(e)); + }, 400); + } + + return { + promise: Promise.resolve(host), + destroy() { + state.editor = null; + state.ready = false; + }, + }; +}; + +/** Headless / agent-browser export: load deck from ./payload.json (no folder picker). */ +async function loadExportPayload() { + document.documentElement.dataset.deckStatus = "loading"; + setStatus("载入导出载荷…"); + const response = await fetch("./payload.json", { cache: "no-store" }); + if (!response.ok) throw new Error(`payload HTTP ${response.status}`); + const payload = await response.json(); + if (!state.editor?.setPPTD) throw new Error("编辑器尚未就绪"); + + state.directoryHandle = null; + state.readOnly = true; + state.fileIndex = new Map(); + state.memoryFiles = new Map(); + state.imageCache = new Map(); + state.imageMap = Object.create(null); + for (const [key, value] of Object.entries(payload.imageMap || {})) { + try { + state.imageMap[normalizeRelativePath(key)] = value; + } catch { + state.imageMap[String(key).replaceAll("\\", "/")] = value; + } + state.imageCache.set(key, value); + } + + const manifestPath = payload.manifestPath || "deck.pptd"; + state.manifestPath = manifestPath; + state.manifestDirectory = dirname(manifestPath); + state.manifestContent = payload.manifestContent || ""; + state.memoryFiles.set(normalizeRelativePath(manifestPath), state.manifestContent); + for (const page of payload.pages || []) { + if (!page?.path) continue; + state.memoryFiles.set(normalizeRelativePath(page.path), page.content ?? ""); + } + + const title = payload.title || titleFromManifest(state.manifestContent, basename(manifestPath)); + setTitle(title); + + await state.editor.setSlideConfig?.({ + editable: true, + locale: "zh-CN", + theme: "light", + slideId: payload.id, + }); + await state.editor.setPPTD(payload.id || `export-${Date.now()}`, { + pptdContent: state.manifestContent, + pages: payload.pages || [], + pptdPath: manifestPath, + basePath: "", + isCreate: false, + }); + await state.editor.setEditable?.(true); + + window.exportRemote = state.editor; + try { + window.exportSlideStatus = await state.editor.getSlideStatus?.(); + } catch { + window.exportSlideStatus = null; + } + setStatus(`导出模式 · ${title}`); + document.documentElement.dataset.deckStatus = "ready"; +} + +async function loadDeckFromIndex(manifestPath, sourceLabel, options = {}) { + if (typeof options === "boolean") { + options = { readOnly: options, editable: !options }; + } + const readOnly = Boolean(options.readOnly); + const editable = options.editable !== false; + if (!state.editor?.setPPTD) throw new Error("编辑器尚未就绪"); + const manifestContent = await textFromIndexed(manifestPath); + const pagePaths = extractPagePaths(manifestContent); + const pages = []; + const missing = []; + const manifestDirectory = dirname(manifestPath); + for (const pagePath of pagePaths.slice(0, 500)) { + const indexedPath = joinDeckPath(manifestDirectory, pagePath); + try { + pages.push({ path: pagePath, content: await textFromIndexed(indexedPath) }); + } catch { + missing.push(pagePath); + } + } + if (missing.length) throw new Error(`缺少页面:${missing.slice(0, 5).join(", ")}`); + const title = titleFromManifest(manifestContent, basename(manifestPath)); + state.manifestPath = manifestPath; + state.manifestDirectory = manifestDirectory; + state.manifestContent = manifestContent; + state.readOnly = readOnly; + setTitle(title); + setStatus(sourceLabel); + + // isCreate:true leaves the official UI in a "generating / loading" state and + // disables export / present until generate_end — use false for local opens. + await state.editor.setPPTD(`local-${Date.now()}`, { + pptdContent: manifestContent, + pages, + basePath: "", + pptdPath: manifestPath, + isCreate: false, + }); + await state.editor.setEditable?.(editable); + await state.editor.setSlideConfig?.({ editable, locale: "zh-CN", theme: "light" }); + toast(`已载入「${title}」· ${pages.length} 页`); +} + +async function openDemo() { + state.directoryHandle = null; + state.fileIndex.clear(); + state.imageCache.clear(); + state.memoryFiles.clear(); + const manifest = JSON.stringify({ + version: "v2", + title: "NeoDeck Local", + size: [960, 540], + pages: ["pages/01.page", "pages/02.page"], + }); + const page1 = JSON.stringify({ + pageType: "content", + background: { color: "#f7f8fc" }, + elements: [ + { + elementId: "title", + elementType: "text", + bounds: [80, 160, 800, 120], + content: { + text: '

完全本地离线

', + }, + }, + { + elementId: "sub", + elementType: "text", + bounds: [80, 300, 720, 60], + content: { + text: '

官方编辑器镜像 · 无 iframe · 无云端接口

', + }, + }, + ], + }); + const page2 = JSON.stringify({ + pageType: "content", + background: { color: "#171923" }, + elements: [ + { + elementId: "t", + elementType: "text", + bounds: [80, 200, 800, 80], + content: { + text: '

打开 PPTD 文件夹开始编辑

', + }, + }, + ], + }); + state.memoryFiles.set("presentation.pptd", manifest); + state.memoryFiles.set("pages/01.page", page1); + state.memoryFiles.set("pages/02.page", page2); + state.fileIndex.clear(); + // synthetic index for demo + for (const [path, content] of state.memoryFiles) { + state.fileIndex.set(path, { + kind: "file", + getFile: async () => new File([content], basename(path), { type: "text/plain" }), + }); + } + // Editable in UI; readOnly only means "don't write to disk" (saves stay in memory). + await loadDeckFromIndex("presentation.pptd", "内置示例 · 内存", { + readOnly: true, + editable: true, + }); +} + +async function openDirectoryHandle(handle) { + setStatus("扫描文件夹…"); + state.directoryHandle = handle; + state.fileIndex = await indexDirectory(handle); + state.imageCache.clear(); + state.memoryFiles.clear(); + const manifests = [...state.fileIndex.keys()].filter((p) => p.toLowerCase().endsWith(".pptd")); + if (!manifests.length) throw new Error("文件夹内没有 .pptd"); + const manifestPath = manifests.length === 1 ? manifests[0] : manifests.sort()[0]; + await loadDeckFromIndex(manifestPath, `${handle.name} · 可写`, { + readOnly: false, + editable: true, + }); +} + +async function openFallbackFiles(fileList) { + setStatus("读取上传…"); + state.directoryHandle = null; + state.readOnly = true; + state.fileIndex = indexFallbackFiles(fileList); + state.imageCache.clear(); + state.memoryFiles.clear(); + const manifests = [...state.fileIndex.keys()].filter((p) => p.toLowerCase().endsWith(".pptd")); + if (!manifests.length) throw new Error("没有 .pptd"); + await loadDeckFromIndex(manifests.sort()[0], "上传 · 只读", { + readOnly: true, + editable: true, + }); +} + +function wireUi() { + $("#nd-open")?.addEventListener("click", async () => { + try { + if (window.showDirectoryPicker) { + const handle = await window.showDirectoryPicker({ mode: "readwrite" }); + await openDirectoryHandle(handle); + } else { + $("#nd-folder")?.click(); + } + } catch (e) { + if (e?.name === "AbortError") return; + toast(e.message || String(e), "error"); + } + }); + $("#nd-folder")?.addEventListener("change", async (ev) => { + const files = ev.target.files; + if (!files?.length) return; + try { + await openFallbackFiles(files); + } catch (e) { + toast(e.message || String(e), "error"); + } + ev.target.value = ""; + }); +} + +// Force sdk query params so official app enters ppt-editor external mode +(function forceSdkQuery() { + const url = new URL(location.href); + let changed = false; + const params = { + sdkMode: "ppt-editor", + pptPlatform: "neodeck-local", + functional: JSON.stringify({ + fullscreen: true, + present: true, + export: true, + close: false, + annotation: false, + feedback: false, + share: false, + versionHistory: false, + }), + sdkSaveMode: "external", + sdkImageMode: "external", + }; + for (const [k, v] of Object.entries(params)) { + if (url.searchParams.get(k) !== v) { + url.searchParams.set(k, v); + changed = true; + } + } + if (changed) history.replaceState(null, "", url); +})(); + +wireUi(); +setStatus("等待编辑器…"); diff --git a/editor/local-shell.css b/editor/local-shell.css new file mode 100644 index 0000000..9087433 --- /dev/null +++ b/editor/local-shell.css @@ -0,0 +1,174 @@ + +html, body { + margin: 0; + height: 100%; + overflow: hidden; + font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; +} +body.neodeck-local { + display: grid; + grid-template-rows: 48px minmax(0, 1fr); +} +/* Agent export host: hide NeoDeck chrome, full-bleed official UI */ +html.nd-export-mode body.neodeck-local { + grid-template-rows: minmax(0, 1fr); +} +html.nd-export-mode .nd-topbar, +html.nd-export-mode .nd-toast { + display: none !important; +} +html.nd-export-mode .editor-app[data-v-ddddc63d] { + height: 100% !important; +} +html.nd-export-mode .editor-app .editor-content[data-v-ddddc63d] { + height: 100% !important; +} +.nd-topbar { + z-index: 50; + display: flex; + align-items: center; + gap: 12px; + padding: 0 12px; + border-bottom: 1px solid #e6e9f0; + background: rgba(255,255,255,0.96); + box-sizing: border-box; +} +.nd-brand { + display: flex; + align-items: baseline; + gap: 6px; + min-width: 96px; +} +.nd-brand strong { font-size: 14px; color: #171923; } +.nd-brand small { + font-size: 10px; + font-weight: 700; + letter-spacing: 0.08em; + color: #5b4dff; +} +.nd-actions { + display: flex; + align-items: center; + gap: 8px; + flex: 1; + min-width: 0; +} +.nd-btn { + height: 32px; + padding: 0 12px; + border-radius: 8px; + border: 1px solid #d8dee9; + background: #fff; + color: #3a4251; + font-size: 13px; + font-weight: 600; + cursor: pointer; +} +.nd-btn:hover { background: #f7f8fb; } +.nd-btn-primary { + border-color: #6c5ce7; + background: #6c5ce7; + color: #fff; +} +.nd-btn-primary:hover { background: #5b4dff; border-color: #5b4dff; } +.nd-meta { + display: flex; + flex-direction: column; + align-items: flex-end; + gap: 2px; + min-width: 120px; + max-width: 280px; +} +#nd-title { + font-size: 12px; + font-weight: 600; + color: #171923; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; +} +.nd-status { + font-size: 11px; + color: #7a8499; +} +#app { + min-height: 0; + height: 100%; + overflow: hidden; + position: relative; +} +.nd-toast { + position: fixed; + left: 50%; + bottom: 28px; + transform: translateX(-50%); + z-index: 10001; + max-width: min(520px, 90vw); + padding: 10px 14px; + border-radius: 10px; + background: #171923; + color: #fff; + font-size: 13px; + box-shadow: 0 10px 30px rgba(0,0,0,0.2); +} +.nd-toast[data-kind="error"] { background: #c0392b; } +.nd-toast[data-kind="warning"] { background: #b7791f; } + +/* Offline: hide share / cloud / Google Drive chrome from the official UI */ +.share-dialog-trigger, +[class*="share-dialog"], +.export-tabs .tabs, +.export-tabs [name="google-slides"], +.export-dialog [class*="GoogleSlides"], +.export-dialog .tab[name="google-slides"] { + display: none !important; +} +.export-tabs.without-tabs .tabs { + display: none !important; +} + +.nd-hint { + font-size: 12px; + color: #7a8499; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + + +/* ===== Fix official editor inside local topbar shell ===== */ +.nd-topbar { + z-index: 50; + position: relative; +} +#app { + overflow: hidden; + position: relative; + z-index: 1; +} +/* Official app assumes full viewport; we host it under a 48px topbar */ +#app .editor-app { + width: 100% !important; + height: 100% !important; + max-height: 100% !important; +} +#app .editor-app .editor-content { + height: calc(100% - var(--topbar-height, 52px)) !important; +} +/* Snackbars / toasts above local chrome */ +#app .feedback-snackbar-wrap { + z-index: 20000 !important; + bottom: 24px !important; + top: auto !important; +} +#app .feedback-snackbar { + z-index: 20000 !important; +} +/* Message toasts that are fixed to viewport */ +body .kimi-message, +body [class*="message-list"], +body [class*="MessageList"], +#app [class*="snackbar"] { + z-index: 20000 !important; +} diff --git a/editor/neo-ppt/assets/Editor-BGjJFbt1.css b/editor/neo-ppt/assets/Editor-BGjJFbt1.css new file mode 100644 index 0000000..21978cb --- /dev/null +++ b/editor/neo-ppt/assets/Editor-BGjJFbt1.css @@ -0,0 +1 @@ +.version-popover[data-v-23d86d3d]{height:20px}.version-popover[data-v-23d86d3d]:hover{background-color:transparent}.version-trigger[data-v-23d86d3d]{box-sizing:border-box;background:var(--Fills-F2);height:20px;color:var(--Labels-Secondary);white-space:nowrap;border-radius:4px;align-items:center;gap:2px;padding:1px 4px;font-size:12px;line-height:18px;display:inline-flex}.version-trigger.disabled[data-v-23d86d3d]{opacity:.5}.version-menu[data-v-23d86d3d]{box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Tertiary);border-radius:12px;flex-direction:column;align-items:stretch;width:236px;padding:8px;display:flex}.version-menu-item[data-v-23d86d3d]{-webkit-appearance:none;appearance:none;width:100%;color:var(--Labels-Primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;outline:0;justify-content:space-between;align-items:center;gap:8px;padding:8px;font-family:inherit;display:flex}.version-menu-item[data-v-23d86d3d]:hover{background:var(--Fills-F1)}.version-menu-item-main[data-v-23d86d3d]{flex-direction:column;justify-content:center;gap:4px;min-width:0;display:flex}.version-menu-item-title-row[data-v-23d86d3d]{align-items:center;gap:8px;min-width:0;display:flex}.version-menu-item-title[data-v-23d86d3d]{color:var(--Labels-Primary);white-space:nowrap;font-size:14px;font-weight:500;line-height:20px}.version-menu-item-latest[data-v-23d86d3d]{background:var(--Others-KMBlue10);color:var(--Colors-KMBlue);white-space:nowrap;border-radius:4px;padding:1px 4px;font-size:12px;font-weight:400;line-height:18px}.version-menu-item-subtitle[data-v-23d86d3d]{color:var(--Labels-Secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;line-height:18px;overflow:hidden}.version-menu-item-check[data-v-23d86d3d]{color:var(--Colors-KMBlue);visibility:hidden;flex-shrink:0}.version-menu-item-check.active[data-v-23d86d3d]{visibility:visible}.top-bar[data-v-8b28de6b]{height:var(--topbar-height,52px);background:var(--Bg-Primary);box-sizing:border-box;user-select:none;border-bottom:.5px solid var(--Separators-S1);justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex;position:relative}.top-bar-right[data-v-8b28de6b],.top-bar-left[data-v-8b28de6b]{align-items:center;gap:8px;min-width:0;display:flex}.top-bar-right[data-v-8b28de6b]{flex-shrink:0}.top-bar .export-dialog-trigger[data-v-8b28de6b],.top-bar .share-dialog-trigger[data-v-8b28de6b]{display:inline-flex}.top-bar-close[data-v-8b28de6b]{color:var(--Labels-Primary)!important}.top-bar .disabled[data-v-8b28de6b]{opacity:.5;cursor:not-allowed}.title-editor[data-v-8b28de6b]{align-items:center;gap:8px;min-width:0;display:flex}.smart-tag[data-v-8b28de6b]{background:var(--Others-KMBlue10);color:var(--Colors-KMBlue);white-space:nowrap;border-radius:4px;padding:1px 4px;font-size:12px;line-height:18px}.title-text[data-v-8b28de6b]{box-sizing:border-box;height:28px;color:var(--Labels-Primary);cursor:pointer;border:.5px solid transparent;border-radius:4px;align-items:center;gap:4px;padding:2px 4px;font-size:16px;line-height:24px;transition:background .3s ease-in-out;display:flex;overflow:hidden}.title-text-label[data-v-8b28de6b]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.title-text[data-v-8b28de6b]:hover{background:var(--Fills-F1)}.save-status[data-v-8b28de6b]{color:var(--Labels-Secondary);align-items:center;gap:4px;font-size:14px;line-height:20px;display:flex}.save-status-icon[data-v-8b28de6b]{box-sizing:border-box;border:1.5px solid var(--Separators-S1);border-top-color:var(--Labels-Secondary);border-radius:50%;width:14px;height:14px;animation:.9s linear infinite save-status-spin-8b28de6b}.save-status-text[data-v-8b28de6b]{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}@keyframes save-status-spin-8b28de6b{to{transform:rotate(360deg)}}.title-input[data-v-8b28de6b]{-webkit-appearance:none;appearance:none;box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Fills-F2);height:28px;font-family:inherit;font-size:16px;font-weight:inherit;letter-spacing:inherit;min-width:0;color:var(--Labels-Primary);border-radius:4px;outline:0;padding:2px 4px;line-height:24px;display:block}.page-number[data-v-2c92f335]{box-sizing:border-box;border-bottom:.5px solid var(--Separators-S1);user-select:none;flex-shrink:0;justify-content:space-around;align-items:center;gap:10px;padding:10px;display:flex}.page-number .page-number-text[data-v-2c92f335]{text-align:center;color:var(--Labels-Secondary);flex:1;font-size:14px;line-height:20px}.page-number .icon-side[data-v-2c92f335]{user-select:none;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:relative}.toggle-menu[data-v-782077de]{cursor:pointer;min-width:26px;height:32px;color:var(--Labels-Primary);border-radius:8px;justify-content:center;align-items:center;padding:0 6px;display:flex}.toggle-menu .toggle-menu-label[data-v-782077de]{padding:0 8px;font-size:14px}.toggle-menu .menu-select-title-caret[data-v-782077de]{transform-origin:50%}.toggle-menu[data-v-782077de]:hover{background-color:var(--Fills-F1)}.toggle-menu.is-active[data-v-782077de]{background-color:var(--Fills-F2);color:var(--Labels-Primary)}.toggle-menu.is-active .menu-select-title-caret[data-v-782077de]{transform:rotate(180deg)}.toggle-menu.disabled[data-v-782077de]{opacity:.35;cursor:not-allowed}.toggle-menu.disabled[data-v-782077de]:hover{background-color:transparent}.add-slide-handler[data-v-37b77c14]{z-index:1;border:.5px solid var(--Separators-S1);-webkit-appearance:none;appearance:none;background:var(--Bg-Primary);width:36px;height:16px;box-shadow:0 0 5px 0 var(--Fills-F4);cursor:pointer;opacity:1;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:transform .3s,opacity .3s,visibility .3s;display:flex;position:absolute;bottom:-10px;left:calc(50% - 18px);transform:scale(1)}.add-slide-handler[data-v-37b77c14]:hover{transform:scale(1.1);opacity:1!important}.add-icon[data-v-37b77c14]{color:var(--Labels-Primary)}.thumbnail-wrapper[data-v-88ad9eda]{user-select:none;flex-direction:column;flex:1;min-height:0;display:flex;outline:none!important}.thumbnail-list[data-v-88ad9eda]{user-select:none;scrollbar-gutter:stable;scrollbar-width:thin;flex:1;grid-template-columns:repeat(1,1fr);grid-auto-rows:min-content;gap:12px;padding:12px;display:grid;overflow-x:hidden;overflow-y:auto}.thumbnail-list.thumbnail-list-preview[data-v-88ad9eda]{grid-template-columns:repeat(var(--thumbnail-col-num,1), 1fr);align-content:start;gap:8px;padding:12px 20px}.thumbnail-item[data-v-88ad9eda]{box-sizing:border-box;cursor:pointer;border:.5px solid var(--Separators-S1);outline-offset:-2px;background:var(--Bg-Primary);border-radius:8px;outline:1.5px solid transparent;width:100%;min-width:0;max-width:100%;transition:box-shadow .3s,outline-color .3s;position:relative;overflow:visible}.thumbnail-item.active[data-v-88ad9eda],.thumbnail-item[data-v-88ad9eda]:hover{z-index:1}.thumbnail-item[data-v-88ad9eda]:hover{box-shadow:0 0 5px 0 var(--Fills-F4)}.thumbnail-item:hover .add-slide-splitter[data-v-88ad9eda]{opacity:.9;visibility:visible}.thumbnail-item.selected[data-v-88ad9eda]{outline:2px solid var(--Colors-KMBlue)}.thumbnail-item.active[data-v-88ad9eda]{outline:3px solid var(--Colors-KMBlue)}.thumbnail-item .thumbnail[data-v-88ad9eda]{border-radius:7px;min-width:0;overflow:hidden}.thumbnail-item .label[data-v-88ad9eda]{box-sizing:border-box;background:var(--MaskBg-Base);min-width:23px;height:20px;color:var(--Always-White);border-radius:6px;justify-content:center;align-items:center;padding:0 4px;font-size:14px;font-weight:500;line-height:20px;display:flex;position:absolute;top:4px;left:4px}.thumbnail-item .add-slide-splitter[data-v-88ad9eda]{visibility:hidden;opacity:0}[data-v-88ad9eda] .dragging{opacity:.5}[data-v-88ad9eda] .dragging-holder{border:1px dashed var(--Separators-S1);background:var(--Fills-F1);border-radius:8px}.add-slide-footer[data-v-cfafb7b9]{border-top:.5px solid var(--Separators-S1);box-sizing:border-box;flex-shrink:0;justify-content:center;align-items:center;padding:10px;display:flex}.add-slide-button[data-v-cfafb7b9]{color:var(--Labels-Primary);cursor:pointer;user-select:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:6px 10px 6px 8px;font-size:14px;line-height:20px;transition:color .2s,background .2s;display:flex}.add-slide-button[data-v-cfafb7b9]:hover{background:var(--Fills-F1);color:var(--Labels-Primary-hover)}.add-slide-button.disabled[data-v-cfafb7b9]{color:var(--Labels-Quaternary);cursor:not-allowed}.add-slide-button.disabled[data-v-cfafb7b9]:hover{color:var(--Labels-Quaternary);background:0 0}.icon[data-v-cfafb7b9]{width:20px;height:20px}.splitter[data-v-5c4ef702]{position:relative}.splitter .splitter-line[data-v-5c4ef702]{z-index:1;transition:background-color .3s;position:absolute}.splitter .splitter-line.active[data-v-5c4ef702],.splitter .splitter-line[data-v-5c4ef702]:hover{background-color:var(--splitter-color,var(--Others-KMBlueDisabled))}.splitter.x[data-v-5c4ef702]{width:0;height:100%}.splitter.x .splitter-line[data-v-5c4ef702]{cursor:col-resize;height:100%}.splitter.y[data-v-5c4ef702]{width:100%;height:0}.splitter.y .splitter-line[data-v-5c4ef702]{cursor:row-resize;width:100%}.side-bar[data-v-b10378e6]{width:192px;height:100%;color:var(--Labels-Secondary);background:var(--Bg-Primary);border-right:.5px solid var(--Separators-S1);box-sizing:border-box;flex-direction:column;transition:width .3s;display:flex;position:relative;overflow:hidden}.side-bar.dragging[data-v-b10378e6]{transition:none}.side-bar.preview-mode[data-v-b10378e6]{width:100vw!important}.side-bar.collapsed[data-v-b10378e6]{border-right:none}.side-bar .splitter[data-v-b10378e6]{--splitter-color:var(--Colors-KMBlue);position:absolute;top:0;bottom:0;right:4px}.menu-button[data-v-15d85301]{cursor:pointer;width:28px;height:28px;color:var(--Labels-Primary);border-radius:8px;justify-content:center;align-items:center;transition:background-color .3s ease-in-out,color .3s ease-in-out;display:inline-flex}.menu-button[data-v-15d85301]:hover{background-color:var(--Fills-F1)}.menu-button.active[data-v-15d85301]{background-color:var(--Labels-Primary);color:var(--Bg-Primary)}.menu-button.disabled[data-v-15d85301]{cursor:not-allowed;opacity:.5;pointer-events:none}.horizontal-overflow-bar[data-v-121e764a]{align-items:center;min-width:0;max-width:100%;display:flex;position:relative}.horizontal-overflow-viewport[data-v-121e764a]{scrollbar-width:none;flex:auto;width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden}.horizontal-overflow-viewport[data-v-121e764a]::-webkit-scrollbar{display:none}.horizontal-overflow-track[data-v-121e764a]{align-items:center;gap:var(--horizontal-overflow-gap);width:max-content;min-width:0;display:flex}.horizontal-overflow-arrow[data-v-121e764a]{box-sizing:border-box;color:var(--Labels-Primary);cursor:pointer;z-index:2;background:0 0;border:0;border-radius:12px;flex:none;justify-content:center;align-items:center;padding:4px 2px;transition:background .3s ease-in-out;display:flex}.horizontal-overflow-arrow[data-v-121e764a]:hover{background:var(--Fills-F1)}.edge-overlay.has-left-space.has-right-space .horizontal-overflow-viewport[data-v-121e764a]{width:calc(100% - var(--horizontal-overflow-arrow-width) * 2);margin-right:var(--horizontal-overflow-arrow-width);margin-left:var(--horizontal-overflow-arrow-width)}.edge-overlay.has-left-space:not(.has-right-space) .horizontal-overflow-viewport[data-v-121e764a]{width:calc(100% - var(--horizontal-overflow-arrow-width));margin-left:var(--horizontal-overflow-arrow-width)}.edge-overlay.has-right-space:not(.has-left-space) .horizontal-overflow-viewport[data-v-121e764a]{width:calc(100% - var(--horizontal-overflow-arrow-width));margin-right:var(--horizontal-overflow-arrow-width)}.edge-overlay .horizontal-overflow-arrow[data-v-121e764a]{position:absolute;top:50%;transform:translateY(-50%)}.edge-overlay .horizontal-overflow-arrow.left[data-v-121e764a]{left:0}.edge-overlay .horizontal-overflow-arrow.right[data-v-121e764a]{right:0}.edge-inline[data-v-121e764a]{gap:var(--horizontal-overflow-gap)}.shape-item-thumbnail[data-v-841f727f]{cursor:pointer;width:100%;height:100%;position:relative}.shape-content[data-v-841f727f]{justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.shape-content:hover .shape-path[data-v-841f727f]:not(.outlined){stroke:var(--Colors-KMBlue,#1783ff)}.shape-content:hover .shape-path.outlined[data-v-841f727f]{fill:var(--Colors-KMBlue,#1783ff)}.shape-content svg[data-v-841f727f]:not(:root){overflow:visible}.shape-pool[data-v-90f7e391]{width:326px;height:var(--pool-height,420px);padding:0;overflow:auto}.category-name[data-v-90f7e391]{box-sizing:border-box;background:var(--Bg-Secondary);width:100%;height:22px;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);line-height:var(--ui-C1-line-height);z-index:1;border-left:0;margin:0 0 8px;padding:2px 8px;position:sticky;top:0}.shape-list[data-v-90f7e391]{grid-template-columns:repeat(10,24px);gap:8px;margin:0 0 14px;display:grid}.shape-item[data-v-90f7e391]{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;min-width:24px;height:24px;display:flex}.shape-item[data-v-90f7e391]:hover{background:var(--Fills-F1,#f0f0f0)}.line-pool[data-v-6b5878db]{width:326px;height:var(--pool-height,320px);max-height:511px;padding:0;overflow:auto}.category-name[data-v-6b5878db]{box-sizing:border-box;background:var(--Fills-F2);width:100%;height:22px;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);line-height:var(--ui-C1-line-height);border-left:0;margin:0 0 8px;padding:2px 8px}.line-list[data-v-6b5878db]{grid-template-columns:repeat(10,24px);gap:8px;margin:0 0 14px;display:grid}.line-item[data-v-6b5878db]{cursor:pointer;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;min-width:24px;height:24px;display:flex;position:relative}.line-item[data-v-6b5878db]:hover{background:var(--Fills-F1,#f0f0f0)}.line-content[data-v-6b5878db]{color:var(--Labels-Tertiary);justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.line-content[data-v-6b5878db]:hover{color:var(--Colors-KMBlue)}.line-content svg[data-v-6b5878db]:not(:root){overflow:visible}.table-generator[data-v-a89d5601]{--active-color:var(--Label-Primary,#333);width:200px;margin-top:-10px}.title[data-v-a89d5601]{background-color:var(--Bg-Primary70,rgba(255,255,255,.7));user-select:none;height:28px;color:var(--Labels-Tertiary,#999);border-top-left-radius:8px;border-top-right-radius:8px;justify-content:space-between;margin:4px -12px 0;padding:0 14px;font-size:12px;line-height:28px;display:flex}table[data-v-a89d5601]{border-collapse:separate;border-spacing:1px}td[data-v-a89d5601]{border:.5px solid var(--Separators-S1,#ddd);background-color:var(--Bg-Primary70,rgba(255,255,255,.7));width:20px;height:20px;padding:0;line-height:23px}.cell[data-v-a89d5601]{background-color:var(--active-color);opacity:0;width:100%;height:100%;transition:opacity .1s}.cell.active[data-v-a89d5601]{opacity:.9}.latex-pool[data-v-48da1647]{width:280px;margin-top:-10px}.title[data-v-48da1647]{background-color:var(--Bg-Primary70,rgba(255,255,255,.7));user-select:none;height:28px;color:var(--Labels-Tertiary,#999);border-top-left-radius:8px;border-top-right-radius:8px;margin:4px -12px 10px;padding:0 14px;font-size:12px;line-height:28px}.latex-input[data-v-48da1647]{box-sizing:border-box;resize:none;border:1px solid var(--Separators-S1,#ddd);border-radius:6px;width:100%;padding:8px;font-family:monospace;font-size:14px;outline:none!important}.latex-actions[data-v-48da1647]{justify-content:flex-end;margin-top:10px;display:flex}.confirm-btn[data-v-48da1647]{background:var(--Labels-Primary,#333);color:var(--Bg-Primary,#fff);cursor:pointer;border:none;border-radius:6px;padding:6px 16px;font-size:14px}.confirm-btn[data-v-48da1647]:hover{opacity:.9}.icon-pool[data-v-bc04e138]{width:326px;height:var(--pool-height,520px);max-height:511px;margin:0;padding:0;overflow:auto}.icon-search-wrapper[data-v-bc04e138]{margin-bottom:8px}.icon-search[data-v-bc04e138]{border:1px solid var(--Separators-S1);width:100%;height:30px;font-size:var(--ui-B2-font-size);box-sizing:border-box;border-radius:6px;outline:none;padding:6px 10px}.icon-search[data-v-bc04e138]:focus{border-color:var(--Colors-KMBlue)}.icon-list-container[data-v-bc04e138]{grid-template-columns:repeat(10,24px);place-content:start center;gap:8px;width:100%;min-height:0;margin-top:8px;display:grid}.icon-item[data-v-bc04e138]{width:24px;height:24px;color:var(--Labels-Primary);text-align:center;cursor:pointer;place-self:center;font-size:18px;line-height:24px;transition:color .3s;display:block}.icon-item[data-v-bc04e138]:hover{color:var(--Colors-KMBlue)}.empty[data-v-bc04e138]{color:var(--Labels-Tertiary);text-align:center;grid-column:1/-1;justify-content:center;padding:10px;font-size:12px;display:flex}.modal-mask[data-v-704ef4e7]{z-index:200;background:rgba(0,0,0,.5);justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.fade-enter-active[data-v-704ef4e7],.fade-leave-active[data-v-704ef4e7]{transition:opacity .225s cubic-bezier(.4,0,.2,1)}.fade-enter-from[data-v-704ef4e7],.fade-leave-to[data-v-704ef4e7]{opacity:0}.content[data-v-d61bf2e1]{background:var(--BgGp-Secondary);border:1px solid var(--Fills-F1);border-radius:16px;flex-direction:column;gap:12px;min-width:320px;max-height:100vh;padding:16px;display:flex;overflow:auto}.header[data-v-d61bf2e1]{flex-direction:row;justify-content:space-between;align-items:center;display:flex;position:relative}.title-warpper[data-v-d61bf2e1]{flex:1}.title[data-v-d61bf2e1]{color:var(--Labels-Primary);font-size:16px;font-style:normal;font-weight:500;line-height:24px}.close-icon[data-v-d61bf2e1]{cursor:pointer;width:20px;height:20px;position:absolute;right:0}.body[data-v-d61bf2e1]{color:var(--Labels-Secondary);scrollbar-width:none;-ms-overflow-style:none;font-size:14px;font-style:normal;font-weight:400;line-height:20px;overflow-y:scroll}.bottom[data-v-d61bf2e1]{flex-direction:row;justify-content:flex-end;gap:8px;display:flex}.dash-border[data-v-a00d67b5]{pointer-events:none;width:100%;height:100%;color:var(--Colors-KMBlue);position:absolute;top:0;left:0;overflow:visible;transform:translateZ(0)}.border-hit-area[data-v-a00d67b5]{cursor:move}.border-rect.ani[data-v-a00d67b5]{animation:steps(20,end) infinite dashFlow-a00d67b5;animation-duration:var(--duration,.7s)}@keyframes dashFlow-a00d67b5{0%{stroke-dashoffset:0}to{stroke-dashoffset:var(--dash-offset)}}.handler[data-v-363c8647]{cursor:pointer}.handler.left-top.rotate-0[data-v-363c8647],.handler.right-bottom.rotate-0[data-v-363c8647],.handler.left.rotate-45[data-v-363c8647],.handler.right.rotate-45[data-v-363c8647],.handler.left-bottom.rotate-90[data-v-363c8647],.handler.right-top.rotate-90[data-v-363c8647],.handler.top.rotate-135[data-v-363c8647],.handler.bottom.rotate-135[data-v-363c8647]{cursor:nwse-resize}.handler.top.rotate-0[data-v-363c8647],.handler.bottom.rotate-0[data-v-363c8647],.handler.left-top.rotate-45[data-v-363c8647],.handler.right-bottom.rotate-45[data-v-363c8647],.handler.left.rotate-90[data-v-363c8647],.handler.right.rotate-90[data-v-363c8647],.handler.left-bottom.rotate-135[data-v-363c8647],.handler.right-top.rotate-135[data-v-363c8647]{cursor:ns-resize}.handler.left-bottom.rotate-0[data-v-363c8647],.handler.right-top.rotate-0[data-v-363c8647],.handler.top.rotate-45[data-v-363c8647],.handler.bottom.rotate-45[data-v-363c8647],.handler.left-top.rotate-90[data-v-363c8647],.handler.right-bottom.rotate-90[data-v-363c8647],.handler.left.rotate-135[data-v-363c8647],.handler.right.rotate-135[data-v-363c8647]{cursor:nesw-resize}.handler.left.rotate-0[data-v-363c8647],.handler.right.rotate-0[data-v-363c8647],.handler.left-bottom.rotate-45[data-v-363c8647],.handler.right-top.rotate-45[data-v-363c8647],.handler.top.rotate-90[data-v-363c8647],.handler.bottom.rotate-90[data-v-363c8647],.handler.left-top.rotate-135[data-v-363c8647],.handler.right-bottom.rotate-135[data-v-363c8647]{cursor:ew-resize}.logo-operator[data-v-c84debf7]{pointer-events:none;z-index:100;position:absolute}.drag-overlay[data-v-c84debf7]{pointer-events:auto;cursor:move;z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.operate-dash-border[data-v-c84debf7]{cursor:move}.scale-handle[data-v-c84debf7]{background:var(--Bg-Primary);border:1px solid var(--Colors-KMBlue);pointer-events:auto;z-index:101;border-radius:2px;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute}.rotate-handle[data-v-c84debf7]{pointer-events:auto;cursor:grab;z-index:101;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon'%20style='width:1em;height:1em;vertical-align:middle;fill:currentColor;overflow:hidden'%20viewBox='0%200%201024%201024'%3e%3cpath%20fill='%23000'%20fill-opacity='.4'%20d='M921.6%20524.288c0%20226.222-183.378%20409.6-409.6%20409.6s-409.6-183.378-409.6-409.6%20183.378-409.6%20409.6-409.6%20409.6%20183.378%20409.6%20409.6z'/%3e%3cpath%20fill='%23FFF'%20d='M698.7776%20486.7277a24.576%2024.576%200%200%200%2024.576-24.576v-89.8253a24.576%2024.576%200%200%200-41.943-17.367l-24.658%2024.6579a204.8%20204.8%200%201%200%2053.0432%20197.8777%2028.672%2028.672%200%201%200-55.4188-14.8275%20146.514%20146.514%200%200%201-38.1748%2066.0275%20147.456%20147.456%200%201%201%200-208.5273l-24.6579%2024.6579a24.576%2024.576%200%200%200%2017.367%2041.943h89.9073z'/%3e%3c/svg%3e") 50%/100% 100% no-repeat;width:20px;height:20px;margin-left:-10px;position:absolute;top:-30px}.rotate-handle[data-v-c84debf7]:active{cursor:grabbing}.flex-center[data-v-351a70ec]{justify-content:center;align-items:center;display:flex}.flex-center.vertical[data-v-351a70ec]{flex-direction:column}.title[data-v-351a70ec]{color:var(--Labels-Primary);font-size:18px}.info-tips[data-v-351a70ec]{color:var(--Labels-Tertiary);cursor:pointer;margin-left:4px}.logo-modal-container[data-v-351a70ec]{gap:16px;display:flex}.logo-modal-container .side-upload[data-v-351a70ec]{flex-direction:column;gap:12px;width:162px;max-height:100%;display:flex;overflow-y:auto}.logo-modal-container .side-upload .logo[data-v-351a70ec]{width:100%;height:122px;color:var(--Labels-Secondary);background:var(--Fills-F1);border:.5px solid var(--Separators-S1);box-sizing:border-box;cursor:pointer;border-radius:8px;gap:4px;font-size:14px;position:relative;overflow:hidden}.logo-modal-container .side-upload .logo .logo-image[data-v-351a70ec]{object-fit:contain;width:100%;height:100%}.logo-modal-container .side-upload .logo .delete-btn[data-v-351a70ec]{cursor:pointer;z-index:2;padding:2px;display:none;position:absolute;top:3px;right:3px}.logo-modal-container .side-upload .logo[data-v-351a70ec]:after{content:"";pointer-events:none;background-color:transparent;width:100%;height:100%;transition:background-color .2s;position:absolute;top:0;left:0}.logo-modal-container .side-upload .logo[data-v-351a70ec]:hover:not(.selected):not(.disabled):after{background-color:var(--Fills-F1)}.logo-modal-container .side-upload .logo:hover:not(.selected):not(.disabled) .delete-btn[data-v-351a70ec]{display:block}.logo-modal-container .side-upload .logo.add[data-v-351a70ec]{cursor:pointer;background:var(--Bg-Secondary)}.logo-modal-container .side-upload .logo.disabled[data-v-351a70ec]{cursor:not-allowed;opacity:.6}.logo-modal-container .side-upload .logo .selected-mask[data-v-351a70ec]{background:var(--MaskBg-Base);width:100%;height:100%;color:var(--Always-White);text-shadow:0 0 10px rgba(0,0,0,.3);gap:4px;position:absolute;top:0;left:0}.logo-modal-container .side-upload .logo .selected-mask .check-icon[data-v-351a70ec]{color:var(--Colors-KMBlue)}.logo-modal-container .side-preview[data-v-351a70ec]{background:var(--Fills-F1);border-radius:16px;flex-direction:column;flex:1;gap:12px;width:520px;min-width:400px;max-width:60vw;padding:16px 20px 20px;display:flex;overflow:hidden}.logo-modal-container .side-preview .preview-title[data-v-351a70ec]{color:var(--Labels-Tertiary);font-size:14px;font-weight:400;line-height:20px}.logo-modal-container .side-preview .slide-preview[data-v-351a70ec]{background-color:#f0f0f0;border-radius:8px;width:100%;position:relative;overflow:hidden}.logo-modal-container .side-preview .preview-logo[data-v-351a70ec]{z-index:2;transform-origin:50%;pointer-events:none;position:absolute}.logo-modal-container .side-preview .slide-thumbs[data-v-351a70ec]{gap:12px;display:flex}.logo-modal-container .side-preview .preview-thumb[data-v-351a70ec]{border:.5px solid var(--Separators-S1);outline-offset:-2px;cursor:pointer;border-radius:8px;outline:2px solid transparent;width:calc(25% - 9px);min-width:0;position:relative;overflow:hidden}.logo-modal-container .side-preview .preview-thumb.selected[data-v-351a70ec]{outline-color:var(--Colors-KMBlue)}.logo-modal-container .side-preview .preview-thumb-slide[data-v-351a70ec]{border-radius:7px;overflow:hidden}.bottom[data-v-351a70ec]{color:var(--Labels-Tertiary);justify-content:space-between;align-items:center;font-size:14px;display:flex}.button-box[data-v-351a70ec]{justify-content:flex-end;gap:12px;display:flex}.annotation-mode-switch[data-v-58966556]{box-sizing:border-box;background:var(--Fills-F1);border-radius:10px;flex:none;align-items:center;padding:2px;display:flex}.annotation-mode-button[data-v-58966556]{min-width:0;height:28px;color:var(--Labels-Tertiary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:4px 10px;font-size:12px;line-height:18px;transition:background-color .16s,color .16s,opacity .16s;display:flex}.annotation-mode-button.active[data-v-58966556]{background:var(--Bg-Tertiary);color:var(--Labels-Primary);font-weight:500}.annotation-mode-button[data-v-58966556]:disabled{cursor:not-allowed;opacity:.5}.toolbar-divider[data-v-b22e4986]{background:var(--Separators-S1);flex:none;align-self:stretch;width:.5px}.annotation-count[data-v-b22e4986]{min-width:0;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);font-weight:400;line-height:var(--ui-C1-line-height);letter-spacing:0;white-space:nowrap;align-items:center;gap:8px;display:flex}.annotation-empty-tip[data-v-b22e4986]{min-width:0;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);font-weight:400;line-height:var(--ui-C1-line-height);letter-spacing:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;justify-content:center;align-items:center;padding:0 10px;display:flex;overflow:hidden}.annotation-summary[data-v-b22e4986]{flex:none;min-width:0}.annotation-detail-trigger[data-v-b22e4986]{cursor:pointer;align-items:center;min-width:0;display:flex;position:relative}.annotation-detail-trigger[data-v-b22e4986]:before{height:48px;position:absolute;bottom:0;left:0;right:0}.annotation-detail-trigger[data-v-b22e4986]:hover:before,.annotation-detail-trigger[data-v-b22e4986]:focus-within:before{content:""}.annotation-detail-trigger:hover .annotation-detail-popover[data-v-b22e4986],.annotation-detail-trigger:focus-within .annotation-detail-popover[data-v-b22e4986]{display:flex}.annotation-clear[data-v-b22e4986]{z-index:130;width:14px;height:14px;color:var(--Labels-Secondary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.annotation-clear[data-v-b22e4986]:hover{color:var(--Colors-Red)}.annotation-detail-popover[data-v-b22e4986]{z-index:120;box-sizing:border-box;pointer-events:none;flex-direction:column;width:480px;max-width:min(480px,100vw - 32px);padding-bottom:6px;display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.annotation-detail-panel[data-v-b22e4986]{box-sizing:border-box;background:var(--Bg-Tertiary);width:480px;max-width:100%;max-height:240px;box-shadow:0 0 7.5px 0 var(--MaskBg-Light);color:var(--Labels-Secondary);pointer-events:auto;border:0;border-radius:16px;flex-direction:column;gap:2px;padding:8px;display:flex;overflow:auto}.annotation-detail-item[data-v-b22e4986]{box-sizing:border-box;width:100%;min-width:0;height:36px;color:var(--Labels-Secondary);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:8px;display:flex}.annotation-detail-item[data-v-b22e4986]:hover,.annotation-detail-item.active[data-v-b22e4986]{background:var(--Fills-F1)}.annotation-detail-item:hover .annotation-detail-remove[data-v-b22e4986],.annotation-detail-item.active .annotation-detail-remove[data-v-b22e4986]{opacity:1;pointer-events:auto}.annotation-detail-index[data-v-b22e4986]{background:var(--Fills-F2);color:currentColor;border-radius:6px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;font-size:14px;line-height:20px;display:inline-flex}.annotation-detail-page[data-v-b22e4986]{color:currentColor;text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:72px;font-size:14px;line-height:20px;overflow:hidden}.annotation-detail-thumb[data-v-b22e4986]{border:.5px solid var(--Separators-S1);background:var(--Fills-F2);border-radius:2px;flex:none;width:39px;height:22px;display:block;overflow:hidden}.annotation-detail-text[data-v-b22e4986]{color:currentColor;text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.annotation-detail-remove[data-v-b22e4986]{width:16px;height:16px;color:var(--Labels-Tertiary);cursor:pointer;opacity:0;pointer-events:none;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.annotation-detail-remove[data-v-b22e4986]:hover{color:var(--Labels-Secondary)}.toolbar[data-v-9de0e2e7]{z-index:100;box-sizing:border-box;background:var(--Bg-Primary);width:100%;max-width:100%;height:48px;box-shadow:0 0 15px 0 var(--MaskBg-Light);border:.5px solid var(--Separators-S1);border-radius:16px;flex-direction:row;align-items:center;gap:8px;padding:8px;display:flex}.toolbar[data-v-9de0e2e7] .menu-button{border-radius:12px;width:32px;height:32px}.toolbar[data-v-9de0e2e7] .popover-menu.disabled .menu-button{opacity:1}.toolbar-divider[data-v-9de0e2e7]{background:var(--Separators-S1);flex:none;align-self:stretch;width:.5px}.toolbar-dynamic[data-v-9de0e2e7]{opacity:1;flex:0 auto;align-items:center;gap:8px;min-width:0;max-width:100%;transition:width .2s cubic-bezier(.2,0,0,1),opacity .12s;display:flex;overflow:visible}.toolbar-overflow[data-v-9de0e2e7]{flex:auto;width:auto;min-width:0;max-width:100%}.pool-container[data-v-9de0e2e7]{box-sizing:border-box;padding:8px 12px;overflow:hidden}.graphics-panel[data-v-9de0e2e7]{box-sizing:border-box;background:var(--Bg-Tertiary);width:342px;padding:8px}.graphics-tabs[data-v-9de0e2e7]{box-sizing:border-box;--tabs-switch-padding:2px;--tabs-switch-pane-height:28px;--tabs-switch-bg:var(--Fills-F2);--tabs-switch-indicator-bg:var(--Bg-Quaternary);--tabs-switch-pane-color:var(--Labels-Secondary);--tabs-switch-pane-hover-color:var(--Labels-Primary);--tabs-switch-pane-active-color:var(--Labels-Primary);width:100%;margin-bottom:12px}.graphics-tabs[data-v-9de0e2e7] .graphics-tab{box-sizing:border-box;min-width:0;font-size:var(--ui-B2-font-size);line-height:var(--ui-B2-line-height);gap:4px;padding:0 12px}.graphics-tab-icon[data-v-9de0e2e7]{color:currentColor}.graphics-content[data-v-9de0e2e7]{--pool-height:136px;width:326px;max-height:511px;overflow:auto}.graphics-content .pool-container[data-v-9de0e2e7]{padding:0}.more-menu[data-v-9de0e2e7]{background:var(--Bg-Primary);width:max-content;min-width:0;padding:6px}.more-menu.formula-mode[data-v-9de0e2e7]{padding:10px 12px 12px}.more-menu-item[data-v-9de0e2e7]{width:100%;height:34px;color:var(--Labels-Primary);cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 10px 0 8px;font-size:13px;display:flex}.more-menu-item[data-v-9de0e2e7]:hover{background:var(--Fills-F1)}.more-menu-item.active[data-v-9de0e2e7]{background:var(--Fills-F2)}.more-menu-icon[data-v-9de0e2e7]{color:var(--Labels-Primary);flex-shrink:0}[data-v-9de0e2e7] .popover-menu-content.is-floating{max-height:unset!important}.scale-menu[data-v-961c846e]{cursor:ns-resize;align-items:center;gap:4px;display:flex}.scale-value[data-v-961c846e]{width:48px;height:32px;color:var(--Labels-Secondary);cursor:ns-resize;justify-content:center;border-radius:8px!important;height:32px!important}.scale-value[data-v-961c846e] .menu-select-title{padding:0}.scale-value[data-v-961c846e] .menu-select-title-caret{display:none}.scale-value[data-v-961c846e] .menu-select-menu{max-height:unset}.scale-value-text[data-v-961c846e]{user-select:none;font-size:14px;line-height:20px}.editor-bar[data-v-3bd11e5a]{box-sizing:border-box;background:var(--Bg-Primary);border-bottom:.5px solid var(--Separators-S1);height:52px;color:var(--Labels-Secondary);flex-shrink:0;justify-content:space-between;align-items:center;padding:10px;display:flex}.toolbar-group[data-v-3bd11e5a],.sidebar-restore[data-v-3bd11e5a]{align-items:center;gap:4px;display:flex}.sidebar-restore-divider[data-v-3bd11e5a]{border-right:.5px solid var(--Separators-S1);flex-shrink:0;width:8px;height:24px}.right-panel[data-v-7092f262]{z-index:var(--zindex-sidebar,100);height:100%;width:var(--right-panel-width);background:var(--Bg-Primary);border-left:.5px solid var(--Separators-S1);flex-direction:column;flex-shrink:0;transition:width .26s;display:flex;position:relative;overflow:hidden}.right-panel.dragging[data-v-7092f262]{transition:none}.right-panel .right-panel-header[data-v-7092f262]{border-bottom:.5px solid var(--Separators-S1);user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;height:44px;padding:0 8px 0 12px;display:flex}.right-panel .right-panel-header .tabs[data-v-7092f262]{gap:4px;display:flex}.right-panel .right-panel-header .tab[data-v-7092f262]{color:var(--Labels-Secondary);cursor:pointer;border-radius:4px;padding:4px 10px;font-size:13px;font-weight:500;transition:background .2s,color .2s}.right-panel .right-panel-header .tab[data-v-7092f262]:hover{color:var(--Labels-Secondary-hover);background:var(--Fills-F1)}.right-panel .right-panel-header .tab.active[data-v-7092f262]{color:var(--Labels-Primary);background:var(--Fills-F2)}.right-panel .right-panel-header .tab.disabled[data-v-7092f262]{cursor:not-allowed;opacity:.5}.right-panel .right-panel-header .tab.disabled[data-v-7092f262]:hover{color:var(--Labels-Secondary);background:0 0}.right-panel .right-panel-header .close-btn[data-v-7092f262]{color:var(--Labels-Secondary);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:18px;line-height:1;transition:background .2s,color .2s}.right-panel .right-panel-header .close-btn[data-v-7092f262]:hover{color:var(--Labels-Primary);background:var(--Fills-F1)}.right-panel .right-panel-content[data-v-7092f262]{flex-direction:column;flex:1;display:flex;overflow:hidden}.right-panel .splitter[data-v-7092f262]{position:absolute;top:0;bottom:0;left:-4px}.right-panel-slide-enter-active[data-v-7092f262],.right-panel-slide-leave-active[data-v-7092f262]{transition:width .26s,opacity .18s,transform .26s}.right-panel-slide-enter-from[data-v-7092f262],.right-panel-slide-leave-to[data-v-7092f262]{opacity:0;width:0;transform:translate(16px)}.right-panel-slide-enter-to[data-v-7092f262],.right-panel-slide-leave-from[data-v-7092f262]{width:var(--right-panel-width);opacity:1;transform:translate(0)}.slide-up-enter-active[data-v-daa80549],.slide-up-leave-active[data-v-daa80549]{transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1)}.slide-up-enter-from[data-v-daa80549]{opacity:0;transform:translateY(calc(100% + 32px))}.slide-up-enter-to[data-v-daa80549],.slide-up-leave-from[data-v-daa80549]{opacity:1;transform:translateY(0)}.slide-up-leave-to[data-v-daa80549]{opacity:0;transform:translateY(calc(100% + 32px))}.feedback-snackbar[data-v-daa80549]{box-sizing:border-box;background:var(--Bg-Tertiary);border-radius:16px;justify-content:center;align-items:center;gap:8px;width:min(640px,100vw - 48px);padding:16px;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 15px 2px rgba(0,0,0,.15)}.feedback-snackbar--narrow[data-v-daa80549]{flex-wrap:wrap;gap:12px 8px;padding:16px 16px 16px 24px}.feedback-snackbar--narrow .feedback-title[data-v-daa80549]{white-space:normal;order:1;justify-content:center;margin-left:0;line-height:32px}.feedback-snackbar--narrow .feedback-buttons[data-v-daa80549]{flex-wrap:wrap;flex-basis:100%;order:3;justify-content:center;margin-right:0}.feedback-snackbar--narrow .feedback-write-btn[data-v-daa80549]{order:3;margin-right:40px}.feedback-snackbar .feedback-write-btn[data-v-daa80549]{margin-right:40px}.feedback-title[data-v-daa80549]{color:var(--Labels-Primary);white-space:nowrap;flex:1;align-items:center;margin-left:8px;font-size:16px;line-height:24px;display:flex}.like-icon[data-v-daa80549]{width:48px;height:48px;margin-top:-16px;margin-bottom:-16px;margin-left:-16px;overflow:hidden}.feedback-buttons[data-v-daa80549]{flex-shrink:0;gap:8px;margin-right:40px;display:flex}.feedback-close[data-v-daa80549]{cursor:pointer;color:var(--Labels-Primary);background:0 0;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;transition:background-color .2s;display:flex;position:absolute;top:16px;right:16px}.feedback-close[data-v-daa80549]:hover{background:var(--Fills-F2)}.editable-element[data-v-eecf2ca2]{position:absolute}.editable-element.animation-hidden[data-v-eecf2ca2]{visibility:hidden}.editable-element.highlighted[data-v-eecf2ca2]>:first-child{outline:2px solid var(--Colors-KMBlue);outline-offset:1px}.operate-container[data-v-a162e949]{pointer-events:none;z-index:100;--handler-border-color:var(--Colors-KMBlue);position:absolute}.scale-handle[data-v-a162e949]{border:1px solid var(--handler-border-color);pointer-events:auto;z-index:101;background:#fff;border-radius:2px;width:10px;height:10px;position:absolute}.operate-container.mini .scale-handle.border[data-v-a162e949]:not(.dir-se){display:none}.operate-container.disable-interaction[data-v-a162e949] .border-hit-area,.operate-container.disable-interaction .scale-handle[data-v-a162e949],.operate-container.disable-interaction .rotate-handle[data-v-a162e949],.operate-container.disable-interaction .keypoint-handle[data-v-a162e949]{pointer-events:none}.rotate-handle[data-v-a162e949]{pointer-events:auto;cursor:grab;z-index:101;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon'%20style='width:1em;height:1em;vertical-align:middle;fill:currentColor;overflow:hidden'%20viewBox='0%200%201024%201024'%3e%3cpath%20fill='%23000'%20fill-opacity='.4'%20d='M921.6%20524.288c0%20226.222-183.378%20409.6-409.6%20409.6s-409.6-183.378-409.6-409.6%20183.378-409.6%20409.6-409.6%20409.6%20183.378%20409.6%20409.6z'/%3e%3cpath%20fill='%23FFF'%20d='M698.7776%20486.7277a24.576%2024.576%200%200%200%2024.576-24.576v-89.8253a24.576%2024.576%200%200%200-41.943-17.367l-24.658%2024.6579a204.8%20204.8%200%201%200%2053.0432%20197.8777%2028.672%2028.672%200%201%200-55.4188-14.8275%20146.514%20146.514%200%200%201-38.1748%2066.0275%20147.456%20147.456%200%201%201%200-208.5273l-24.6579%2024.6579a24.576%2024.576%200%200%200%2017.367%2041.943h89.9073z'/%3e%3c/svg%3e") 50%/100% 100% no-repeat;width:20px;height:20px;margin-left:-10px;position:absolute;top:-30px}.rotate-handle[data-v-a162e949]:active{cursor:grabbing}.keypoint-handle[data-v-a162e949]{--hue:calc(50 + var(--keypoint-index,0) * 5);--size:8px;width:var(--size);height:var(--size);margin-left:calc(var(--size) / -2);margin-top:calc(var(--size) / -2);border:1px solid hsl(var(--hue), 100%, 35%);background-color:hsl(var(--hue), 100%, 63%);pointer-events:auto;z-index:101;position:absolute;rotate:45deg}.line-operate[data-v-7c43b986]{pointer-events:none;z-index:100;width:100%;height:100%;position:absolute;top:0;left:0}.endpoint-handle[data-v-7c43b986]{border:1px solid var(--Colors-KMBlue,#4472c4);pointer-events:auto;cursor:move;z-index:101;background:#fff;border-radius:2px;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute}.keypoint-handle[data-v-7c43b986]{--hue:calc(50 + var(--keypoint-index,0) * 5);--size:8px;width:var(--size);height:var(--size);margin-left:calc(var(--size) / -2);margin-top:calc(var(--size) / -2);border:1px solid hsl(var(--hue), 100%, 35%);background-color:hsl(var(--hue), 100%, 63%);pointer-events:auto;z-index:101;position:absolute;rotate:45deg}.line-element-operate[data-v-4085b1df]{pointer-events:none;z-index:100;transform-origin:50%;position:absolute}.line-helper[data-v-4085b1df]{pointer-events:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.line-helper path[data-v-4085b1df],.line-helper polyline[data-v-4085b1df]{fill:none;vector-effect:non-scaling-stroke}.line-helper .line-hit-area[data-v-4085b1df]{stroke:transparent;stroke-width:12px;pointer-events:stroke;cursor:crosshair}.line-helper .line-control-guide[data-v-4085b1df]{stroke:var(--Colors-KMBlue,#4472c4);stroke-width:1px;stroke-dasharray:4 4;opacity:.5;pointer-events:none}.line-point-handle[data-v-4085b1df]{-webkit-appearance:none;appearance:none;border:1px solid var(--Colors-KMBlue,#4472c4);pointer-events:auto;z-index:101;background:#fff;border-radius:50%;width:10px;height:10px;margin:-5px 0 0 -5px;padding:0;transition:outline .3s;position:absolute}.line-point-handle.is-control[data-v-4085b1df]{background:var(--Colors-KMBlue,#4472c4);border-color:#fff;border-radius:2px}.line-element-operate.is-editing .line-helper[data-v-4085b1df]{pointer-events:auto}.line-element-operate.is-editing .line-point-handle[data-v-4085b1df]:hover{border-color:var(--Colors-Red,#f04438);outline:1px solid #f04438}.multi-select-operate[data-v-cc9f8203]{pointer-events:none;z-index:100;--handler-border-color:var(--Colors-KMBlue);position:absolute}.selected-element-borderline[data-v-cc9f8203]{opacity:.35;pointer-events:none}.selected-element-borderline[data-v-cc9f8203] .border-hit-area{pointer-events:none}.scale-handle[data-v-cc9f8203]{border:1px solid var(--handler-border-color);pointer-events:auto;z-index:101;background:#fff;border-radius:2px;width:10px;height:10px;position:absolute}.multi-select-operate.mini .scale-handle.border[data-v-cc9f8203]:not(.dir-se){display:none}.number-menu[data-v-83ff1c3b]{background-color:var(--Fills-F1);height:28px;color:var(--Labels-Primary);border-radius:6px;align-items:center;padding-left:6px;padding-right:2px;font-size:14px;display:inline-flex;overflow:hidden}.number-menu[data-v-83ff1c3b]:hover{background-color:var(--Fills-F1-hover)}.number-menu-input[data-v-83ff1c3b]{all:unset;-moz-appearance:textfield;text-align:right;width:fit-content}.number-menu-input[data-v-83ff1c3b]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-menu-input[data-v-83ff1c3b]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number-menu-handle[data-v-83ff1c3b]{color:var(--Labels-Tertiary);flex-direction:column;justify-content:center;align-items:center;margin-left:2px;display:flex}.number-menu-handle-button[data-v-83ff1c3b]{all:unset;cursor:pointer;justify-content:center;align-items:center;width:20px;height:12px;display:flex}.number-menu-handle-button[data-v-83ff1c3b]:hover{background-color:var(--Fills-F1-active)}.number-menu-handle-button[data-v-83ff1c3b]:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.number-menu-handle-button[data-v-83ff1c3b]:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.checkerboard[data-v-34af3fd0]{background-size:contain;position:absolute;top:0;bottom:0;left:0;right:0}.alpha[data-v-371ca9eb]{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-checkboard-wrap[data-v-371ca9eb]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.alpha-gradient[data-v-371ca9eb]{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-container[data-v-371ca9eb]{cursor:pointer;z-index:2;height:100%;margin:0 3px;position:relative}.alpha-pointer[data-v-371ca9eb]{z-index:2;position:absolute}.alpha-picker[data-v-371ca9eb]{cursor:pointer;background:#fff;width:4px;height:8px;margin-top:1px;transform:translate(-2px);box-shadow:0 0 2px rgba(0,0,0,.6)}.hue[data-v-e9d0c7a2]{background:linear-gradient(90deg,red 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);position:absolute;top:0;bottom:0;left:0;right:0}.hue-container[data-v-e9d0c7a2]{cursor:pointer;height:100%;margin:0 2px;position:relative}.hue-pointer[data-v-e9d0c7a2]{z-index:2;position:absolute;top:0}.hue-picker[data-v-e9d0c7a2]{cursor:pointer;background:#fff;width:4px;height:8px;margin-top:1px;transform:translate(-2px);box-shadow:0 0 2px rgba(0,0,0,.6)}.saturation[data-v-895551ab],.saturation-white[data-v-895551ab],.saturation-black[data-v-895551ab]{cursor:pointer;position:absolute;top:0;bottom:0;left:0;right:0}.saturation-white[data-v-895551ab]{background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}.saturation-black[data-v-895551ab]{background:linear-gradient(transparent,#000)}.saturation-pointer[data-v-895551ab]{cursor:pointer;position:absolute}.saturation-circle[data-v-895551ab]{border-radius:50%;width:4px;height:4px;transform:translate(-2px,-2px);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.editable-input[data-v-1a307df7]{text-align:center;border-radius:var(--picker-color-radius,2px);width:100%;font-size:14px;position:relative;overflow:hidden}.editable-input[data-v-1a307df7]:after{content:"#";color:#999;padding-top:4px;position:absolute;top:50%;left:4px;transform:translateY(-50%)}.input-content[data-v-1a307df7]{box-sizing:border-box;text-align:center;border:0;outline:none;width:100%;height:100%;margin-top:4px;padding:0 0 3px}.input-label[data-v-1a307df7]{text-transform:capitalize}.color-picker[data-v-76cd4aed]{user-select:none;--picker-color-radius:2px;background:0 0;width:240px;margin-bottom:-10px;position:relative}.picker-saturation-wrap[data-v-76cd4aed]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-76cd4aed]{gap:4px;display:flex}.picker-sliders[data-v-76cd4aed]{flex:1;padding:4px 0}.picker-hue-wrap[data-v-76cd4aed]{height:10px;position:relative}.picker-alpha-wrap[data-v-76cd4aed]{height:10px;margin-top:4px;position:relative;overflow:hidden}.picker-color-wrap[data-v-76cd4aed]{border-radius:4px;outline:1px dashed rgba(102,102,102,.12);width:24px;height:24px;margin-top:4px;position:relative;overflow:hidden}.picker-color-wrap .checkerboard[data-v-76cd4aed]{background-size:auto}.picker-current-color[data-v-76cd4aed]{z-index:2;position:absolute;top:0;bottom:0;left:0;right:0}.picker-field[data-v-76cd4aed]{gap:8px;margin-bottom:8px;display:flex}.picker-field .transparent[data-v-76cd4aed]{border-radius:var(--picker-color-radius);cursor:pointer;outline:1px solid #f1f1f1;width:24px;height:24px;margin-top:4px;position:relative;overflow:hidden}.picker-field .transparent[data-v-76cd4aed]:after{content:"";background-color:red;width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg)}.picker-field .transparent .checkerboard[data-v-76cd4aed]{background-size:auto}.picker-field .straw[data-v-76cd4aed]{color:#7e7e7e;border-radius:var(--picker-color-radius);cursor:pointer;background-color:#f5f5f5;outline:1px solid #f1f1f1;justify-content:center;align-items:center;width:24px;height:24px;margin-top:4px;display:flex}.picker-field .straw .straw-icon[data-v-76cd4aed]{fill:currentColor;width:20px;height:20px}.picker-field .input[data-v-76cd4aed]{flex:1}.picker-presets[data-v-76cd4aed]{flex-wrap:wrap;gap:8px;display:flex}.picker-presets-color[data-v-76cd4aed]{border-radius:var(--picker-color-radius);cursor:pointer;outline:.5px solid #aaa;flex-shrink:0;width:7%;height:0;margin-bottom:3.33333%;padding-bottom:7%;position:relative}.picker-presets-color[data-v-76cd4aed]:nth-child(10n){margin-right:0}.picker-presets-color.alpha[data-v-76cd4aed]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-76cd4aed]{border-radius:var(--picker-color-radius);position:absolute;top:0;bottom:0;left:0;right:0}.recent-colors-title[data-v-76cd4aed]{margin-bottom:4px;font-size:12px}.color-trigger[data-v-0d80d89d]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-0d80d89d]:hover{background:var(--Fills-F1)}.color-trigger[data-v-aa4f600c]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-aa4f600c]:hover{background:var(--Fills-F1)}.slider[data-v-d0ca9baa]{-webkit-appearance:none;appearance:none;background:var(--Fills-F2);border-radius:2px;outline:none;width:100px;height:4px}.slider[data-v-d0ca9baa]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--Colors-KMBlue,#1783ff);cursor:pointer;border:2px solid var(--Bg-Primary);width:14px;height:14px;box-shadow:0 0 0 1px var(--Fills-F2);border-radius:50%}.slider[data-v-d0ca9baa]::-moz-range-thumb{background:var(--Colors-KMBlue,#1783ff);cursor:pointer;border:2px solid var(--Bg-Primary);width:14px;height:14px;box-shadow:0 0 0 1px var(--Fills-F2);border-radius:50%}.opacity-icon[data-v-3d6a8c64]{color:var(--Labels-Primary);cursor:pointer;padding:6px}.opacity-icon[data-v-3d6a8c64]:hover{background:var(--Fills-F1);border-radius:6px}.slider-wrap[data-v-3d6a8c64]{color:var(--Labels-Primary);align-items:center;gap:8px;padding:8px 12px;font-size:14px;display:flex}.slider-wrap .slider-value[data-v-3d6a8c64]{text-align:right;min-width:3em}.float-bar-divider[data-v-a8a9d672]{background-color:var(--Fills-F2);width:1px;height:24px}.theme-text-style-item[data-v-74d26fc4]{box-sizing:border-box;text-align:left;white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;width:100%;min-width:0;min-height:28px;padding:4px 6px;display:flex;overflow:hidden}.theme-text-style-item-name[data-v-74d26fc4]{min-width:0;color:var(--Labels-Primary);text-align:left;direction:auto;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.theme-text-style-item-meta[data-v-74d26fc4]{min-width:0;color:var(--Labels-Tertiary);text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;align-items:center;gap:4px;font-size:10px;font-weight:400;line-height:14px;display:flex;overflow:hidden}.color-picker-wrapper[data-v-3191f4d8]{padding:10px}.text-style-menu-item[data-v-3191f4d8]{box-sizing:border-box;text-align:left;justify-content:space-between;align-items:center;gap:12px;width:204px;min-width:204px;padding:0 6px;display:flex}.text-style-select[data-v-3191f4d8] .menu{border-radius:16px;padding:8px}.text-style-select[data-v-3191f4d8] .menu-item{border-radius:8px;height:auto;padding:0;transition:none}.text-style-select[data-v-3191f4d8] .menu-item:hover,.text-style-select[data-v-3191f4d8] .menu-item.active{background:0 0}.text-style-trigger-label[data-v-3191f4d8]{text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:7em;display:inline-block;overflow:hidden}.text-style-extra[data-v-3191f4d8]{border-top:.5px solid var(--Separators-S1);height:28px;color:var(--Labels-Primary);cursor:pointer;border-radius:8px;align-items:center;gap:8px;margin:6px 0 0;padding:4px 6px;font-size:14px;line-height:20px;display:flex}.text-style-extra[data-v-3191f4d8]:hover{background:var(--Fills-F1)}.font-divider[data-v-3191f4d8]{background-color:var(--Separators-S1);height:1px;margin:4px 8px}.font-menu-item[data-v-3191f4d8]{white-space:nowrap;text-align:center;flex:1;padding:4px 8px;font-size:14px}.font-menu-item-image[data-v-3191f4d8]{object-fit:contain;flex:none;width:150px;height:25px;margin:0 auto}.font-trigger-label[data-v-3191f4d8]{text-overflow:ellipsis;white-space:nowrap;max-width:7em;display:inline-block;overflow:hidden}.unsupported-font-trigger[data-v-3191f4d8]{align-items:center;gap:4px;min-width:0;max-width:7em;display:inline-flex}.unsupported-font-icon[data-v-3191f4d8]{color:var(--Colors-Orange);flex:none}.unsupported-font-label[data-v-3191f4d8]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.float-line .latex-button[data-v-3191f4d8]{padding-left:4px;transition:color .3s}.float-line .latex-button.has-latex[data-v-3191f4d8]{color:var(--Colors-KMBlue)}.latex-pool-container[data-v-3191f4d8]{padding:8px 12px}.color-trigger[data-v-58b0b252]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-58b0b252]:hover{background:var(--Fills-F1)}.outline-trigger[data-v-2bba824e]{cursor:pointer;min-width:40px;height:32px;color:var(--Labels-Primary);border-radius:6px;justify-content:center;align-items:center;font-size:13px;display:flex}.outline-trigger[data-v-2bba824e]:hover{background:var(--Fills-F1)}.outline-none[data-v-2bba824e]{font-size:12px}.border-number-menu[data-v-2bba824e] .number-menu-input{width:1em}.outline-preview[data-v-2bba824e]{justify-content:center;align-items:center;width:40px;display:flex}.outline-line[data-v-2bba824e]{border-top:2px solid;width:24px;height:0}.outline-line.solid[data-v-2bba824e]{border-top-style:solid}.outline-line.dash[data-v-2bba824e]{border-top-style:dashed}.outline-line.dot[data-v-2bba824e]{border-top-style:dotted}.outline-none-item[data-v-2bba824e]{color:var(--Labels-Secondary);font-size:13px}.color-trigger[data-v-2bba824e]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-2bba824e]:hover{background:var(--Fills-F1)}.color-square[data-v-2bba824e]{border-radius:2px;width:16px;height:16px;box-shadow:0 0 4px rgba(0,0,0,.2)}.color-picker-wrapper[data-v-2bba824e]{padding:10px}.shape-pool-panel[data-v-48b29257]{box-sizing:border-box;background:var(--Bg-Tertiary);width:342px;padding:8px}.shape-pool-content[data-v-48b29257]{--pool-height:136px;width:326px;max-height:511px;overflow:auto}.pool-container[data-v-48b29257]{box-sizing:border-box;padding:0;overflow:hidden}.color-picker-wrapper[data-v-48b29257]{padding:10px}.line-arrow-preview[data-v-19c1ad29]{display:block;overflow:visible}[data-v-043f4c70] .line-edit-toggle.is-active{color:var(--Colors-Yellow);background-color:var(--Others-LightYellowBg)}[data-v-043f4c70] .line-edit-toggle.is-active:hover{background-color:var(--Others-LightYellowBg-hover)}[data-v-043f4c70] .line-curve-select,[data-v-043f4c70] .line-arrow-select{color:var(--Labels-Tertiary)}[data-v-043f4c70] .line-curve-select:hover,[data-v-043f4c70] .line-curve-select.is-active,[data-v-043f4c70] .line-arrow-select:hover,[data-v-043f4c70] .line-arrow-select.is-active{color:var(--Colors-KMBlue)}[data-v-043f4c70] .line-curve-select .menu-select-title,[data-v-043f4c70] .line-arrow-select .menu-select-title{padding:2px 6px}.color-picker-wrapper[data-v-d44cb64f]{padding:10px}.font-divider[data-v-d44cb64f]{background-color:var(--Separators-S1);height:1px;margin:4px 8px}.font-menu-item[data-v-d44cb64f]{white-space:nowrap;text-align:center;flex:1;padding:4px 8px;font-size:14px}.font-menu-item-image[data-v-d44cb64f]{object-fit:contain;flex:none;width:150px;height:25px;margin:0 auto}.font-trigger-label[data-v-d44cb64f]{text-overflow:ellipsis;white-space:nowrap;max-width:7em;display:inline-block;overflow:hidden}.unsupported-font-trigger[data-v-d44cb64f]{align-items:center;gap:4px;min-width:0;max-width:7em;display:inline-flex}.unsupported-font-icon[data-v-d44cb64f]{color:var(--Colors-Orange);flex:none}.unsupported-font-label[data-v-d44cb64f]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.float-line .latex-button[data-v-d44cb64f]{padding-left:4px;transition:color .3s}.float-line .latex-button.has-latex[data-v-d44cb64f]{color:var(--Colors-KMBlue)}.latex-pool-container[data-v-d44cb64f]{padding:8px 12px}.table-bar[data-v-22460336]{overflow:hidden}.expand-enter-active[data-v-22460336],.expand-leave-active[data-v-22460336]{max-height:200px;transition:all .2s}.expand-enter-from[data-v-22460336],.expand-leave-to[data-v-22460336]{opacity:0;max-height:0}.color-picker-wrapper[data-v-22460336]{padding:10px}.table-line[data-v-22460336] .delete-table svg{color:var(--Colors-Red)}.table-style-trigger-label[data-v-22460336]{text-overflow:ellipsis;max-width:7em;display:inline-block;overflow:hidden}.float-bar-data-table[data-v-7fb55634]{--cell-width:64px;--cell-max-width:180px;min-width:calc(var(--cell-width) * 2);overscroll-behavior:contain;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1);max-width:calc(100vw - 32px);max-height:240px;box-shadow:0 4px 16.4px 0 var(--MaskBg-Light);border-radius:12px;overflow:auto}.float-bar-data-table .data-table[data-v-7fb55634]{border-collapse:collapse;table-layout:fixed;width:auto;color:var(--Labels-Primary);font-size:12px}.float-bar-data-table .data-table thead[data-v-7fb55634]{z-index:1;background:var(--Bg-Secondary);position:sticky;top:0}.float-bar-data-table .data-table th[data-v-7fb55634],.float-bar-data-table .data-table td[data-v-7fb55634]{width:var(--cell-width);min-width:var(--cell-width);max-width:var(--cell-max-width);box-sizing:border-box;text-align:left;border:1px solid var(--Fills-F2);padding:0}.float-bar-data-table .data-table th[data-v-7fb55634]:first-child,.float-bar-data-table .data-table .data-table-index[data-v-7fb55634]{width:44px;min-width:44px;color:var(--Labels-Tertiary);padding:8px}.float-bar-data-table .data-table th[data-v-7fb55634]{color:var(--Labels-Secondary);background:var(--Fills-F1);cursor:default;padding:8px;font-weight:500}.float-bar-data-table .data-table th.is-color-pickable[data-v-7fb55634],.float-bar-data-table .data-table .data-table-index.is-color-pickable[data-v-7fb55634]{cursor:pointer}.float-bar-data-table .data-table thead tr th[data-v-7fb55634]{border-top:none}.float-bar-data-table .data-table thead tr th[data-v-7fb55634]:first-child,.float-bar-data-table .data-table tbody tr td[data-v-7fb55634]:first-child{border-left:none}.float-bar-data-table .data-table thead tr th[data-v-7fb55634]:last-child,.float-bar-data-table .data-table tbody tr td[data-v-7fb55634]:last-child{border-right:none}.float-bar-data-table .data-table tbody tr:last-child td[data-v-7fb55634]{border-bottom:none}.float-bar-data-table .data-table tr[data-v-7fb55634]:nth-child(2n){background:var(--Fills-F1)}.float-bar-data-table .data-table tbody tr[data-v-7fb55634]:hover{background:var(--Fills-F1-hover)}.float-bar-data-table .data-table th.active[data-v-7fb55634],.float-bar-data-table .data-table .data-table-index.active[data-v-7fb55634]{color:var(--Always-White);background:var(--Colors-KMBlue)}.float-bar-data-table .data-table .active[data-v-7fb55634]{background:var(--Colors-KMBlue-active)}.float-bar-data-table .data-table .data-show[data-v-7fb55634]{box-sizing:border-box;width:100%;min-width:0;color:var(--Labels-Primary);white-space:nowrap;text-overflow:ellipsis;cursor:text;background:0 0;border:none;outline:none;padding:8px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4;display:block;overflow:hidden}.float-bar-data-table .data-table .data-table-input[data-v-7fb55634]{width:100%;min-width:0;max-width:none}.float-bar-data-table .data-table .data-table-input[data-v-7fb55634]:focus{background:var(--Bg-Primary);box-shadow:0 0 0 .5px var(--Colors-KMBlue-active) inset}.float-bar-data-table .data-table .color-swatch[data-v-7fb55634]{vertical-align:middle;border-radius:2px;width:8px;height:8px;margin-right:4px;display:inline-block}.chart-data-popover-content{box-shadow:none!important;background:0 0!important;overflow:visible!important}.chart-data-panel[data-v-4b22591b]{max-width:calc(100vw - 32px);position:relative}.chart-color-picker[data-v-4b22591b]{z-index:2;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1);box-shadow:0 4px 16.4px 0 var(--MaskBg-Light);border-radius:12px;padding:10px;position:absolute;top:0;left:calc(100% + 8px)}.chart-color-picker.on-left[data-v-4b22591b]{left:auto;right:calc(100% + 8px)}.chart-color-picker.is-overlay[data-v-4b22591b]{top:8px;left:auto;right:8px}.chart-title-editor[data-v-4b22591b]{padding:8px}.chart-title-input[data-v-4b22591b]{box-sizing:border-box;border:.5px solid var(--Separators-S1);width:220px;height:32px;color:var(--Labels-Primary);background:var(--Bg-Primary);border-radius:8px;outline:none;padding:0 10px;font-size:13px}.chart-title-input[data-v-4b22591b]:focus{border-color:var(--Colors-KMBlue)}.chart-color-trigger[data-v-4b22591b]{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:32px;height:28px;display:flex}.chart-color-trigger[data-v-4b22591b]:hover{background:var(--Fills-F1)}.chart-color-trigger-swatch[data-v-4b22591b]{border:1px solid var(--Separators-S1);border-radius:4px;width:18px;height:18px}.color-picker-wrapper[data-v-4b22591b]{padding:10px}.icon-pool-panel[data-v-25e895d1]{box-sizing:border-box;background:var(--Bg-Tertiary);width:342px;padding:8px}.icon-pool-content[data-v-25e895d1]{--pool-height:136px;width:326px;max-height:511px;overflow:auto}.pool-container[data-v-25e895d1]{box-sizing:border-box;padding:0;overflow:hidden}.color-picker-wrapper[data-v-25e895d1]{padding:10px}.float-bar-annotation-entry[data-v-ee2eed39]{flex:none;align-items:center;display:inline-flex}.float-bar[data-v-58c83d9e]{box-sizing:border-box;white-space:nowrap;z-index:var(--zindex-floatbar,101);background:var(--Bg-Primary90);backdrop-filter:blur(6px);max-width:100vw;box-shadow:0 4px 16.4px 0 var(--MaskBg-Light);border:.5px solid var(--Separators-S1);border-radius:16px;padding:8px;position:fixed}.float-bar[data-v-58c83d9e] .float-line{align-items:center;gap:8px;min-height:32px;display:flex}.float-bar[data-v-58c83d9e] .toggle-menu,.float-bar[data-v-58c83d9e] .popover-menu,.float-bar[data-v-58c83d9e] .menu-select,.float-bar[data-v-58c83d9e] .number-menu,.float-bar[data-v-58c83d9e] .color-trigger,.float-bar[data-v-58c83d9e] .latex-button{color:var(--Labels-Primary);border-radius:12px}.float-bar[data-v-58c83d9e] .menu-select-title,.float-bar[data-v-58c83d9e] .popover-menu-trigger{border-radius:12px}.float-bar[data-v-58c83d9e] .menu-select-title-icon,.float-bar[data-v-58c83d9e] .menu-select-title-caret,.float-bar[data-v-58c83d9e] .popover-menu-caret,.float-bar[data-v-58c83d9e] .number-menu-handle,.float-bar[data-v-58c83d9e] svg{color:var(--Labels-Primary)}.float-bar .float-bar-tools[data-v-58c83d9e]{flex:none;align-items:center;gap:8px;display:inline-flex}.float-bar .tool-label[data-v-58c83d9e]{color:var(--Labels-Secondary);text-transform:capitalize;font-size:14px}.float-bar-slide-enter-active[data-v-58c83d9e],.float-bar-slide-leave-active[data-v-58c83d9e]{transition:opacity .18s,transform .18s}.float-bar-slide-enter-from[data-v-58c83d9e],.float-bar-slide-leave-to[data-v-58c83d9e]{opacity:0;transform:translateY(-10px)}.float-bar-slide-enter-to[data-v-58c83d9e],.float-bar-slide-leave-from[data-v-58c83d9e]{opacity:1;transform:translateY(0)}.mouse-selection[data-v-d0bdfee6]{border:1px solid var(--Colors-KMBlue);z-index:200;pointer-events:none;background:rgba(68,114,196,.1);position:absolute}.alignment-guides[data-v-1a17ca3a]{pointer-events:none;z-index:99;position:absolute;overflow:visible}.position-guide[data-v-1a17ca3a],.measurement-guide-outline[data-v-1a17ca3a],.measurement-guide-inner[data-v-1a17ca3a],.provider-outline[data-v-1a17ca3a]{vector-effect:non-scaling-stroke}.position-guide[data-v-1a17ca3a]{stroke:var(--Colors-KMBlue,#4472c4);stroke-width:1px;stroke-dasharray:4 4}.measurement-guide-outline[data-v-1a17ca3a],.measurement-guide-inner[data-v-1a17ca3a],.provider-outline[data-v-1a17ca3a]{fill:none}.measurement-guide-outline[data-v-1a17ca3a],.measurement-guide-inner[data-v-1a17ca3a]{stroke-linecap:round;stroke-linejoin:round}.measurement-guide-outline[data-v-1a17ca3a]{stroke:var(--Colors-KMBlue,#1783ff);stroke-width:2px}.measurement-guide-inner[data-v-1a17ca3a]{stroke:#fff;stroke-width:1px}.provider-outline[data-v-1a17ca3a]{stroke:var(--Colors-KMBlue,#1783ff);stroke-width:2px}.canvas-sweeping-light[data-v-b12da33b]{background:var(--Fills-F1);z-index:98;mix-blend-mode:luminosity;cursor:not-allowed;border-radius:12px;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;overflow:hidden}.canvas-sweeping-light[data-v-b12da33b]:after{content:"";opacity:.3;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 18%,#fff 86%,rgba(255,255,255,0) 92%,rgba(255,255,255,0) 100%);width:84%;height:100%;animation:2s ease-out infinite canvas-sweeping-light-b12da33b;position:absolute;top:0;left:-160%}@keyframes canvas-sweeping-light-b12da33b{0%{left:-160%}to{left:112%}}.ppt-annotation-element-hover[data-v-6a5aec07]{z-index:112;box-sizing:border-box;border:1px solid var(--Colors-KMBlue);pointer-events:none;transform-origin:50%;position:absolute}.ppt-annotation-marker[data-v-6a5aec07]{z-index:115;transform-origin:0 0;cursor:auto;align-items:flex-start;width:32px;height:32px;display:flex;position:absolute;transform:translateY(-100%)}.ppt-annotation-marker[data-v-6a5aec07]:before{content:"";z-index:0;border-radius:18px;position:absolute;top:-10px;bottom:-10px;left:-10px;right:-10px}.ppt-annotation-marker.active[data-v-6a5aec07]{z-index:125}.ppt-annotation-cursor[data-v-6a5aec07]{z-index:118;pointer-events:none;transform-origin:50%;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20fill='none'%20viewBox='0%200%2036%2036'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M17.85%206C11.14%206%205.7%2011.44%205.7%2018.15c0%202.584.805%204.976%202.178%206.943l.425.61L6.378%2030.3h11.47C24.559%2030.3%2030%2024.86%2030%2018.15S24.56%206%2017.85%206M3%2018.15C3%209.948%209.648%203.3%2017.85%203.3S32.7%209.948%2032.7%2018.15%2026.05%2033%2017.85%2033H5.7a2.25%202.25%200%200%201-2.075-3.12l1.621-3.872A14.8%2014.8%200%200%201%203%2018.15'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M5.7%2018.15C5.7%2011.44%2011.14%206%2017.85%206S30%2011.44%2030%2018.15%2024.559%2030.3%2017.849%2030.3H6.378l1.925-4.598-.425-.609A12.1%2012.1%200%200%201%205.7%2018.15'/%3e%3cmask%20id='a'%20width='35'%20height='35'%20x='0'%20y='.3'%20fill='%23000'%20maskUnits='userSpaceOnUse'%3e%3cpath%20fill='%23fff'%20d='M0%20.3h35v35H0z'/%3e%3cpath%20d='M17.85%203.3c8.2%200%2014.85%206.648%2014.85%2014.85%200%208.2-6.65%2014.85-14.85%2014.85H5.7a2.25%202.25%200%200%201-2.074-3.12l1.622-3.871A14.8%2014.8%200%200%201%203%2018.149C3%209.95%209.648%203.3%2017.85%203.3m0%202.7C11.14%206%205.7%2011.44%205.7%2018.15c0%202.583.805%204.976%202.178%206.944l.424.608L6.378%2030.3h11.47C24.558%2030.3%2030%2024.86%2030%2018.15S24.56%206%2017.85%206m-4.42%2010.2a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35m9.3%200a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35'/%3e%3c/mask%3e%3cpath%20fill='%23000'%20fill-opacity='.9'%20d='M17.85%203.3c8.2%200%2014.85%206.648%2014.85%2014.85%200%208.2-6.65%2014.85-14.85%2014.85H5.7a2.25%202.25%200%200%201-2.074-3.12l1.622-3.871A14.8%2014.8%200%200%201%203%2018.149C3%209.95%209.648%203.3%2017.85%203.3m0%202.7C11.14%206%205.7%2011.44%205.7%2018.15c0%202.583.805%204.976%202.178%206.944l.424.608L6.378%2030.3h11.47C24.558%2030.3%2030%2024.86%2030%2018.15S24.56%206%2017.85%206m-4.42%2010.2a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35m9.3%200a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35'/%3e%3cpath%20fill='%23fff'%20d='M17.85%203.3V1.05zM32.7%2018.15h2.25zM5.7%2033v2.25zm-2.074-3.12-2.076-.868zm1.622-3.871%202.075.87.45-1.075-.617-.987zM3%2018.149H.75zM17.85%206V3.75zM5.7%2018.15H3.45zm2.178%206.944L6.032%2026.38zm.424.608%202.076.869.478-1.142-.709-1.015zM6.378%2030.3l-2.076-.87-1.305%203.12h3.38zM30%2018.15h2.25zM13.43%2016.2v-2.25zm2.175%202.175h2.25zM13.43%2020.55v2.25zm-2.174-2.175h-2.25zM22.729%2016.2v-2.25zm2.175%202.175h2.25zM22.73%2020.55v2.25zm-2.175-2.175h-2.25zM17.85%203.3v2.25c6.96%200%2012.6%205.641%2012.601%2012.6h4.5c0-9.445-7.657-17.1-17.1-17.1zM32.7%2018.15h-2.25c0%206.958-5.642%2012.6-12.6%2012.6v4.5c9.443%200%2017.1-7.657%2017.1-17.1zM17.85%2033v-2.25H5.7v4.5h12.15zM5.7%2033l.001-2.25-2.075-.87-2.076-.868c-1.24%202.965.936%206.238%204.15%206.238zm-2.074-3.12%202.075.87%201.622-3.872-2.075-.87-2.075-.869-1.623%203.873zm1.622-3.871%201.908-1.192a12.54%2012.54%200%200%201-1.906-6.668H.75c0%203.318.949%206.425%202.59%209.052zM3%2018.149h2.25c0-6.958%205.64-12.599%2012.6-12.6v-4.5C8.405%201.05.75%208.707.75%2018.15zM17.85%206V3.75c-7.953%200-14.4%206.447-14.4%2014.4h4.5c0-5.468%204.432-9.9%209.9-9.9zM5.7%2018.15H3.45c0%203.058.954%205.898%202.582%208.231l1.846-1.287%201.845-1.288A9.84%209.84%200%200%201%207.95%2018.15zm2.178%206.944-1.845%201.288.425.608%201.844-1.288%201.845-1.288-.425-.608zm.424.608-2.075-.869-1.925%204.598%202.076.869%202.075.869%201.925-4.598zM6.378%2030.3v2.25h11.47v-4.5H6.378zm11.47%200v2.25c7.953%200%2014.402-6.447%2014.402-14.4h-4.5c0%205.467-4.434%209.9-9.902%209.9zM30%2018.15h2.25c0-7.953-6.448-14.4-14.4-14.4v4.5c5.467%200%209.9%204.432%209.9%209.9zM13.43%2016.2v2.25a.075.075%200%200%201-.075-.075h4.5a4.425%204.425%200%200%200-4.424-4.425zm2.175%202.175h-2.25c0-.042.034-.075.075-.075v4.5a4.425%204.425%200%200%200%204.425-4.425zM13.43%2020.55V18.3c.042%200%20.076.034.076.075h-4.5A4.425%204.425%200%200%200%2013.43%2022.8zm-2.174-2.175h2.25a.075.075%200%200%201-.076.075v-4.5a4.425%204.425%200%200%200-4.424%204.425zM22.729%2016.2v2.25a.075.075%200%200%201-.075-.075h4.5a4.425%204.425%200%200%200-4.425-4.425zm2.175%202.175h-2.25c0-.042.034-.075.075-.075v4.5a4.425%204.425%200%200%200%204.425-4.425zM22.73%2020.55V18.3c.042%200%20.075.034.075.075h-4.5A4.425%204.425%200%200%200%2022.73%2022.8zm-2.175-2.175h2.25a.075.075%200%200%201-.075.075v-4.5a4.425%204.425%200%200%200-4.425%204.425z'%20mask='url(%23a)'/%3e%3c/svg%3e") 50%/36px 36px no-repeat;width:36px;height:36px;position:absolute}.ppt-annotation-marker-pin[data-v-6a5aec07],.ppt-annotation-draft-pin[data-v-6a5aec07]{z-index:2;box-sizing:border-box;border:2px solid var(--Bg-Primary);background:var(--Labels-Primary);width:32px;height:32px;color:var(--Bg-Primary);cursor:pointer;border-radius:16px 16px 16px 0;flex:none;justify-content:center;align-items:center;padding:0;font-size:14px;font-weight:500;line-height:20px;display:flex;position:relative;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.ppt-annotation-marker.active .ppt-annotation-marker-pin[data-v-6a5aec07],.ppt-annotation-marker-pin[data-v-6a5aec07]:hover{background:var(--Labels-Primary-hover)}.ppt-annotation-popover[data-v-6a5aec07]{z-index:1;box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Primary);backdrop-filter:blur(6px);border-radius:10px;flex-direction:column;justify-content:center;align-items:flex-end;gap:4px;width:max-content;min-width:0;max-width:240px;min-height:64px;padding:10px 12px;display:flex;position:absolute;top:0;left:42px;box-shadow:0 4px 8.2px rgba(0,0,0,.1)}.ppt-annotation-marker.is-flipped .ppt-annotation-popover[data-v-6a5aec07]{left:auto;right:42px}.ppt-annotation-popover-fade-enter-active[data-v-6a5aec07],.ppt-annotation-popover-fade-leave-active[data-v-6a5aec07]{transition:opacity .16s}.ppt-annotation-popover-fade-enter-from[data-v-6a5aec07],.ppt-annotation-popover-fade-leave-to[data-v-6a5aec07]{opacity:0}.ppt-annotation-text[data-v-6a5aec07]{-webkit-appearance:none;appearance:none;width:100%;min-width:0;max-width:none;color:var(--Labels-Primary);cursor:text;font:inherit;text-align:left;white-space:pre-wrap;word-break:break-word;background:0 0;border:0;flex:0 auto;align-self:stretch;margin:0;padding:0;font-size:14px;line-height:20px;display:block}.ppt-annotation-actions[data-v-6a5aec07]{flex:none;justify-content:flex-end;align-items:center;gap:4px;width:100%;height:20px;display:flex}.ppt-annotation-action[data-v-6a5aec07]{width:20px;height:20px;color:var(--Labels-Tertiary);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.ppt-annotation-action[data-v-6a5aec07]:hover{color:var(--Labels-Primary)}.ppt-annotation-action.is-delete[data-v-6a5aec07]:hover{color:var(--Colors-Red)}.ppt-annotation-draft[data-v-6a5aec07]{z-index:120;cursor:auto;gap:10px;width:282px;max-width:calc(100% - 32px);display:flex;position:absolute;transform:translateY(-32px)}.ppt-annotation-draft.is-flipped[data-v-6a5aec07]{flex-direction:row-reverse;transform:translate(calc(32px - 100%),-32px)}.ppt-annotation-draft-pin[data-v-6a5aec07]{background:var(--Colors-KMBlue);border-color:transparent}.ppt-annotation-draft-card[data-v-6a5aec07]{box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Primary);backdrop-filter:blur(6px);border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:4px;min-width:0;min-height:64px;padding:10px 12px;display:flex;position:relative;box-shadow:0 4px 8.2px rgba(0,0,0,.1)}.ppt-annotation-draft-card.is-multiline[data-v-6a5aec07]{border-radius:10px}.ppt-annotation-input[data-v-6a5aec07]{-webkit-appearance:none;appearance:none;resize:none;box-sizing:border-box;width:100%;min-width:0;height:20px;min-height:20px;max-height:100px;color:var(--Labels-Primary);scrollbar-width:none;word-break:break-word;background:0 0;border:0;border-radius:0;outline:none;flex:none;margin:0;padding:0;font-family:inherit;font-size:14px;line-height:20px;display:block}.ppt-annotation-draft-card.is-multiline .ppt-annotation-input[data-v-6a5aec07]{flex:none}.ppt-annotation-input[data-v-6a5aec07]::placeholder{color:var(--Labels-Tertiary)}.ppt-annotation-draft-actions[data-v-6a5aec07]{flex:none;justify-content:flex-end;align-items:center;width:100%;height:20px;display:flex}.ppt-annotation-send[data-v-6a5aec07]{width:20px;height:20px;color:var(--Labels-Primary);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;transition:opacity .18s;display:flex}.ppt-annotation-send[data-v-6a5aec07]:hover{opacity:.86}.ppt-annotation-send[data-v-6a5aec07]:disabled{color:var(--Fills-F3);cursor:not-allowed;opacity:1}.canvas[data-v-24abc95c]{padding:var(--canvas-padding-top) var(--canvas-padding-right) var(--canvas-padding-bottom) var(--canvas-padding-left);scrollbar-gutter:stable both-edges;user-select:none;scrollbar-width:none;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:auto}.canvas[data-v-24abc95c]::-webkit-scrollbar{display:none}.canvas-wrapper[data-v-24abc95c]{border-radius:12px;flex-shrink:0;margin:auto;position:relative;overflow:visible}.canvas.is-space-dragging .canvas-wrapper[data-v-24abc95c] *{cursor:grab!important}.canvas.is-canvas-dragging .canvas-wrapper[data-v-24abc95c] *{cursor:grabbing!important}.canvas.is-annotation-mode[data-v-24abc95c],.canvas.is-annotation-mode[data-v-24abc95c] :not(.ppt-annotation-draft):not(.ppt-annotation-draft *):not(.ppt-annotation-marker):not(.ppt-annotation-marker *){cursor:none!important}.canvas-borderline[data-v-24abc95c]{border:1px solid var(--Separators-S1);pointer-events:none;z-index:0;border-radius:12px;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;box-shadow:0 4px 16px rgba(0,0,0,.05)}.canvas-viewport[data-v-24abc95c]{z-index:1;transform-origin:0 0;position:absolute;top:0;left:0}.canvas-viewport.disabled[data-v-24abc95c]{cursor:not-allowed}.slide-background[data-v-24abc95c],.slide-background-image[data-v-24abc95c],.slide-background-mask[data-v-24abc95c]{border-radius:var(--canvas-scaled-radius);pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.slide-background-image[data-v-24abc95c]{display:block}.slide-background.is-loading[data-v-24abc95c]:after{content:"";border:2px solid rgba(0,0,0,.16);border-top-color:rgba(0,0,0,.48);border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;animation:.8s linear infinite slide-background-loading-24abc95c;position:absolute;top:50%;left:50%}.slide-background.is-error[data-v-24abc95c]:after{content:"";background:radial-gradient(circle at 74% 26%,#aeb4bd 0,#aeb4bd 4px,transparent 5px),linear-gradient(135deg,transparent 54%,#aeb4bd 55%,#aeb4bd 59%,transparent 60%),linear-gradient(45deg,transparent 48%,#aeb4bd 49%,#aeb4bd 53%,transparent 54%);border:2px solid #aeb4bd;border-radius:6px;width:56px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes slide-background-loading-24abc95c{to{transform:rotate(360deg)}}.create-overlay[data-v-24abc95c]{z-index:200;cursor:crosshair;width:100%;height:100%;position:absolute;top:0;left:0}.create-selection[data-v-24abc95c]{border:1px solid var(--Colors-KMBlue);background:var(--Others-KMBlue10);pointer-events:none;position:absolute}.create-line-selection[data-v-24abc95c]{pointer-events:none;position:absolute;overflow:visible}.theme-color-picker-mask[data-v-75b020e7]{z-index:2000;background:0 0;position:fixed;top:0;bottom:0;left:0;right:0}.theme-color-picker[data-v-75b020e7]{box-sizing:border-box;background:var(--Bg-Tertiary,var(--Bg-Primary));border-radius:12px;flex-direction:column;gap:4px;width:258px;padding:10px 9px 12px;display:flex;position:fixed;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.theme-color-picker[data-v-75b020e7] .color-picker{margin-bottom:0}.dialog-footer[data-v-75b020e7]{justify-content:flex-end;align-items:center;width:100%;display:flex}.dialog-actions[data-v-75b020e7]{align-items:center;gap:8px;margin-left:auto;display:flex}.dialog-button[data-v-75b020e7]{width:62px}.current-page-background-editor[data-v-f75e02be]{flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding:16px;display:flex}.section-title[data-v-f75e02be]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);font-size:12px;font-weight:500;line-height:18px}.segmented-control[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F2);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:28px;padding:2px;display:grid}.segmented-button[data-v-f75e02be]{min-width:0;height:24px;color:var(--Labels-Primary);cursor:pointer;text-align:center;background:0 0;border:0;border-radius:6px;padding:0;font-size:12px;font-weight:400;line-height:18px}.segmented-button.active[data-v-f75e02be]{background:var(--Bg-Primary);font-weight:500}.background-color-row[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F1);width:100%;height:32px;color:var(--Labels-Primary);cursor:pointer;letter-spacing:0;text-align:left;direction:ltr;border:0;border-radius:8px;align-items:center;gap:8px;padding:6px;font-size:10px;font-weight:400;line-height:14px;display:flex}.background-color-row[data-v-f75e02be]:hover{background:var(--Fills-F1)}.background-color-swatch[data-v-f75e02be]{box-sizing:border-box;border:.5px solid var(--Separators-S1);border-radius:4px;flex-shrink:0;width:20px;height:20px}.background-color-value[data-v-f75e02be]{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;font-weight:400;line-height:14px;overflow:hidden}.background-row-divider[data-v-f75e02be]{background:var(--Separators-S1);flex-shrink:0;width:.5px;height:18px}.background-opacity-input[data-v-f75e02be]{all:unset;width:24px;color:var(--Labels-Primary);text-align:right;font-size:12px;font-weight:400;line-height:14px}.background-opacity-input[data-v-f75e02be]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.background-opacity-input[data-v-f75e02be]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.background-opacity-postfix[data-v-f75e02be]{color:var(--Labels-Tertiary);flex-shrink:0;font-size:10px;font-weight:400;line-height:14px}.background-image-uploader[data-v-f75e02be]{box-sizing:border-box;border:.5px solid var(--Separators-S1);width:100%;height:128px;color:var(--Labels-Secondary);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:0;display:flex;position:relative;overflow:hidden}.background-image-uploader[data-v-f75e02be]:hover{background:var(--Fills-F1)}.background-image-fill[data-v-f75e02be]{width:100%;height:100%;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.background-image-upload-content[data-v-f75e02be]{z-index:1;color:var(--Labels-Secondary);flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:400;line-height:18px;display:inline-flex;position:relative}.background-image-controls[data-v-f75e02be]{grid-template-columns:minmax(0,1fr) 64px;gap:8px;width:100%;display:grid}.background-fit-select.menu-select[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F1);border:0;border-radius:8px;width:100%;height:32px}.background-fit-select.menu-select[data-v-f75e02be]:hover,.background-fit-select.menu-select.is-active[data-v-f75e02be]{background:var(--Fills-F1)}.background-fit-select.menu-select[data-v-f75e02be] .menu-select-title{box-sizing:border-box;width:100%;height:32px;color:var(--Labels-Primary);justify-content:space-between;padding:6px;font-size:12px;font-weight:400;line-height:18px}.background-fit-select.menu-select[data-v-f75e02be] .menu-select-title-caret{color:var(--Labels-Tertiary);flex-shrink:0;margin-left:0}.background-fit-select.menu-select[data-v-f75e02be] .menu-select-title-text{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.background-image-opacity[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F1);height:32px;color:var(--Labels-Primary);border:0;border-radius:8px;justify-content:flex-end;align-items:center;gap:6px;padding:6px 8px;display:flex}.background-image-opacity[data-v-f75e02be]:hover{background:var(--Fills-F1)}.apply-all-button[data-v-f75e02be]{width:100%}.hidden-input[data-v-f75e02be]{display:none}.theme-color-section[data-v-134d434d]{border-bottom:.5px solid var(--Separators-S1);flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding:16px;display:flex}.section-title[data-v-134d434d]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);font-size:12px;font-weight:500;line-height:18px}.color-list[data-v-134d434d]{flex-wrap:wrap;align-items:center;gap:4px;width:100%;display:flex}.color-swatch[data-v-134d434d]{box-sizing:border-box;cursor:pointer;border:.5px solid var(--Separators-S1);border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.color-swatch[data-v-134d434d]:hover{border-color:var(--Separators-S1)}.color-swatch.active[data-v-134d434d]{border-color:var(--Colors-KMBlue)}.empty-state[data-v-134d434d]{border:.5px dashed var(--Separators-S1);width:100%;height:48px;color:var(--Labels-Tertiary);border-radius:8px;justify-content:center;align-items:center;display:flex}.style-dialog-mask[data-v-0d3d3f21]{z-index:2000;background:0 0;position:fixed;top:0;bottom:0;left:0;right:0}.style-dialog[data-v-0d3d3f21]{box-sizing:border-box;background:var(--Bg-Primary);border-radius:16px;flex-direction:column;gap:16px;width:258px;max-width:calc(100vw - 24px);padding:16px;display:flex;position:fixed;box-shadow:0 4px 8.2px rgba(0,0,0,.1)}.dialog-fields[data-v-0d3d3f21]{flex-direction:column;gap:6px;width:100%;display:flex}.preview[data-v-0d3d3f21]{border:.5px solid var(--Separators-S1);color:#333;scrollbar-width:none;-ms-overflow-style:none;background:#f5f5f5;border-radius:8px;height:100px;padding:6px;overflow-x:auto;overflow-y:hidden}.preview[data-v-0d3d3f21]::-webkit-scrollbar{display:none}.preview-content[data-v-0d3d3f21]{white-space:nowrap;justify-content:center;align-items:center;min-width:100%;height:100%;display:inline-flex}.field[data-v-0d3d3f21],.field-grid[data-v-0d3d3f21]{min-width:0}.field[data-v-0d3d3f21]{flex-direction:column;gap:4px;display:flex}.field.full[data-v-0d3d3f21]{width:100%}.field-grid[data-v-0d3d3f21]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}label[data-v-0d3d3f21]{color:var(--Labels-Secondary);font-size:10px;font-weight:500;line-height:14px}.theme-menu-control[data-v-0d3d3f21],.theme-number-control[data-v-0d3d3f21]{width:100%;min-width:0}.theme-select-menu.menu-select[data-v-0d3d3f21]{box-sizing:border-box;background:var(--Fills-F1);border:0;border-radius:8px;width:100%;height:30px;min-height:30px}.theme-select-menu.menu-select[data-v-0d3d3f21]:hover,.theme-select-menu.menu-select.is-active[data-v-0d3d3f21],.theme-select-menu.menu-select.is-active[data-v-0d3d3f21]:hover{background:var(--Fills-F1)}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-title{box-sizing:border-box;width:100%;height:30px;min-height:30px;color:var(--Labels-Primary);justify-content:space-between;padding:0 8px;font-size:12px;line-height:18px}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-title-text,.theme-select-menu.menu-select .theme-menu-label[data-v-0d3d3f21],.theme-select-menu.menu-select .unsupported-theme-font-trigger[data-v-0d3d3f21]{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-title-caret{color:var(--Labels-Tertiary);flex-shrink:0;margin-left:auto}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-menu{max-height:220px}.theme-number-control[data-v-0d3d3f21] .number-menu{box-sizing:border-box;background:var(--Fills-F1);width:100%;height:30px;min-height:30px;color:var(--Labels-Primary);border:0;border-radius:8px;padding:0 2px 0 8px;font-size:12px;line-height:18px}.theme-number-control[data-v-0d3d3f21] .number-menu:hover{background:var(--Fills-F1)}.theme-number-control[data-v-0d3d3f21] .number-menu-input{text-align:left;flex:1;min-width:0}.theme-number-control[data-v-0d3d3f21] .number-menu-postfix{color:var(--Labels-Primary);flex-shrink:0}.font-divider[data-v-0d3d3f21]{background-color:var(--Separators-S1);height:1px;margin:4px 8px}.font-menu-item[data-v-0d3d3f21]{white-space:nowrap;text-align:center;flex:1;padding:4px 8px;font-size:14px}.font-menu-item-image[data-v-0d3d3f21]{object-fit:contain;flex:none;width:150px;height:25px;margin:0 auto}.unsupported-theme-font-trigger[data-v-0d3d3f21]{align-items:center;gap:4px;display:inline-flex}.unsupported-theme-font-icon[data-v-0d3d3f21]{color:var(--Colors-Orange);flex:none}.unsupported-theme-font-text[data-v-0d3d3f21]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dialog-footer[data-v-0d3d3f21]{justify-content:flex-end;align-items:center;min-height:32px;display:flex}.dialog-actions[data-v-0d3d3f21]{gap:8px;margin-left:auto;display:flex}.dialog-button[data-v-0d3d3f21]{width:62px}.theme-editor[data-v-e470f150]{width:100%;height:100%;color:var(--Labels-Primary);background:var(--Bg-Primary);flex-direction:column;font-size:12px;display:flex;position:relative;overflow:hidden}.theme-editor-header[data-v-e470f150]{border-bottom:.5px solid var(--Separators-S1);box-sizing:border-box;flex-shrink:0;justify-content:space-between;align-items:center;height:52px;padding:8px 10px 8px 16px;display:flex}.theme-editor-title-wrap[data-v-e470f150]{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.theme-editor-title[data-v-e470f150]{color:var(--Labels-Primary);text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:16px;font-weight:400;line-height:24px;overflow:hidden}.icon-button[data-v-e470f150]{width:32px;height:32px;color:var(--Labels-Primary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-button[data-v-e470f150]:hover{background:var(--Fills-F1)}.theme-editor-body[data-v-e470f150]{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:auto}.section[data-v-e470f150]{border-bottom:.5px solid var(--Separators-S1);flex-direction:column;justify-content:center;gap:12px;padding:16px 0;display:flex}.section-title[data-v-e470f150]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);padding:0 16px;font-size:12px;font-weight:500;line-height:18px}.style-list[data-v-e470f150]{box-sizing:border-box;white-space:nowrap;flex-direction:column;align-items:flex-start;width:100%;padding:0 8px;display:flex}.style-row[data-v-e470f150]{width:100%;min-height:28px;color:var(--Labels-Primary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:4px 8px;display:flex}.style-row[data-v-e470f150]:hover,.style-row.active[data-v-e470f150]{background:var(--Fills-F2)}.style-row[data-v-e470f150]:focus{outline:none}.style-row[data-v-e470f150]:focus-visible{outline:none}.empty-state[data-v-e470f150]{border:.5px dashed var(--Separators-S1);height:72px;color:var(--Labels-Tertiary);border-radius:8px;justify-content:center;align-items:center;display:flex}.animation-panel[data-v-87fff02f]{width:100%;height:100%;color:var(--Labels-Primary);background:var(--Bg-Primary);flex-direction:column;font-size:12px;display:flex;position:relative;overflow:hidden}.animation-panel-header[data-v-87fff02f]{border-bottom:.5px solid var(--Separators-S1);box-sizing:border-box;flex-shrink:0;justify-content:space-between;align-items:center;height:52px;padding:8px 10px 8px 16px;display:flex}.animation-panel-title-wrap[data-v-87fff02f]{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.animation-panel-title[data-v-87fff02f]{color:var(--Labels-Primary);text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:16px;font-weight:400;line-height:24px;overflow:hidden}.animation-panel-body[data-v-87fff02f]{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:auto}.section[data-v-87fff02f]{flex-direction:column;justify-content:center;gap:12px;padding:16px 0;display:flex}.section.with-border[data-v-87fff02f]{border-bottom:.5px solid var(--Separators-S1)}.section-title[data-v-87fff02f]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);padding:0 16px;font-size:12px;font-weight:500;line-height:18px}.animation-list[data-v-87fff02f]{box-sizing:border-box;flex-direction:column;gap:4px;width:100%;padding:0 8px;display:flex}.animation-item[data-v-87fff02f]{border-radius:8px}.animation-item[data-v-87fff02f]:hover{background:var(--Fills-F2)}[data-v-87fff02f] .dragging{opacity:.5}[data-v-87fff02f] .dragging-holder{border:1px dashed var(--Separators-S1);background:var(--Fills-F1);border-radius:8px}.animation-item-header[data-v-87fff02f]{box-sizing:border-box;cursor:pointer;align-items:center;gap:8px;width:100%;min-height:40px;padding:4px 8px;display:flex}.animation-item-order[data-v-87fff02f]{background:var(--Fills-F2);width:20px;height:20px;color:var(--Labels-Secondary);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;display:flex}.animation-item-info[data-v-87fff02f]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.animation-item-title[data-v-87fff02f]{color:var(--Labels-Primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.animation-item-category[data-v-87fff02f]{background:var(--Fills-F2);color:var(--Labels-Secondary);border-radius:4px;margin-right:4px;padding:1px 4px;font-size:10px;line-height:12px}.animation-item-target[data-v-87fff02f]{color:var(--Labels-Tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:14px;overflow:hidden}.animation-item-actions[data-v-87fff02f]{flex-shrink:0;align-items:center;gap:2px;display:flex}.animation-item-fields[data-v-87fff02f]{flex-direction:column;gap:10px;padding:8px 8px 12px 36px;display:flex}.field[data-v-87fff02f]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.field label[data-v-87fff02f]{color:var(--Labels-Secondary);font-size:11px;line-height:14px}.field-row[data-v-87fff02f]{gap:8px;display:flex}.animation-select[data-v-87fff02f]{width:100%;display:flex}.animation-select[data-v-87fff02f] .menu-select-title{flex:1}.animation-select[data-v-87fff02f] .menu-select-menu{width:100%}.animation-select[data-v-87fff02f] .menu-item.disabled{pointer-events:none;cursor:default;color:var(--Labels-Tertiary);font-size:11px}.path-input[data-v-87fff02f]{box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Primary);width:100%;height:28px;color:var(--Labels-Primary);border-radius:6px;padding:0 8px;font-family:monospace;font-size:12px}.path-input[data-v-87fff02f]:focus{border-color:var(--Labels-Secondary);outline:none}.empty-state[data-v-87fff02f]{border:.5px dashed var(--Separators-S1);height:72px;color:var(--Labels-Tertiary);border-radius:8px;justify-content:center;align-items:center;margin:0 16px;display:flex}.add-form[data-v-87fff02f]{flex-direction:column;gap:10px;padding:0 16px;display:flex}.pick-target[data-v-87fff02f]{align-items:center;gap:8px;min-height:28px;display:flex}.picked-element-label[data-v-87fff02f]{color:var(--Labels-Secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.add-button[data-v-87fff02f]{align-self:flex-start}.speaker-notes[data-v-3b014573]{z-index:var(--zindex-canvas);box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:6px;padding:0 12px 12px;transition:height .26s,padding .26s;display:flex;position:relative}.speaker-notes.hide[data-v-3b014573]{padding:0}.speaker-notes.hide .notes-content[data-v-3b014573]{opacity:0;visibility:hidden;pointer-events:none;transition:background-color .3s,color .3s,opacity .18s,visibility 0s linear .18s}.speaker-notes.hide .notes-splitter-handler[data-v-3b014573]{cursor:n-resize}.speaker-notes.dragging[data-v-3b014573]:not(.transitioning){transition:none}.notes-splitter[data-v-3b014573]{--splitter-color:transparent;width:auto;position:absolute;top:-10px;left:0;right:0}.notes-splitter .notes-splitter-handler[data-v-3b014573]{box-sizing:content-box;justify-content:center;align-items:center;min-width:48px;min-height:18px;padding:8px 12px;display:flex;position:relative}.notes-splitter .notes-splitter-affordance[data-v-3b014573]{box-sizing:border-box;background-color:var(--Separators-S1);border-radius:20px;justify-content:center;align-items:center;width:max-content;min-width:48px;max-width:48px;height:4px;padding:0;transition:background-color .3s,max-width .18s,height .18s,padding .18s;display:flex;overflow:hidden}.notes-splitter .notes-splitter-tooltip[data-v-3b014573]{color:var(--Labels-Primary);white-space:nowrap;text-overflow:ellipsis;opacity:0;pointer-events:none;font-size:10px;line-height:14px;transition:opacity .16s 80ms;overflow:hidden}.notes-splitter[data-v-3b014573] .splitter-line{justify-content:center;align-items:center;display:flex}.notes-splitter[data-v-3b014573] .splitter-line.active .notes-splitter-affordance,.notes-splitter[data-v-3b014573] .splitter-line:hover .notes-splitter-affordance{background-color:var(--Colors-KMBlue-hover)}.speaker-notes.hide .notes-splitter[data-v-3b014573]{top:-18px}.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line.active .notes-splitter-affordance,.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line:hover .notes-splitter-affordance{background-color:var(--Separators-S1);max-width:220px;height:18px;padding:2px 6px}.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line.active .notes-splitter-affordance .notes-splitter-tooltip,.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line:hover .notes-splitter-affordance .notes-splitter-tooltip{opacity:1}.notes-content[data-v-3b014573]{box-sizing:border-box;background:var(--Fills-F1);min-height:0;color:var(--Labels-Secondary);resize:none;opacity:1;visibility:visible;border:none;border-radius:12px;outline:none;flex:1;padding:12px;font-family:inherit;font-size:14px;line-height:22px;transition:background-color .3s,color .3s,opacity .18s;overflow:auto}.notes-content[data-v-3b014573]:hover:not(.disabled),.notes-content[data-v-3b014573]:focus{background:var(--Fills-F2);color:var(--Labels-Primary)}.notes-content[data-v-3b014573]::-webkit-scrollbar-track{margin:12px 0}.notes-content.disabled[data-v-3b014573]{cursor:not-allowed}.editor-app[data-v-ddddc63d]{background-color:var(--Bg-Primary);user-select:none;--topbar-height:52px;--zindex-canvas:50;--zindex-toolbar:95;--zindex-sidebar:100;--zindex-floatbar:101;--zindex-topbar:102;width:100vw;height:100vh;position:relative;overflow:hidden}.editor-app .top-bar[data-v-ddddc63d]{z-index:var(--zindex-topbar)}.editor-app .editor-content[data-v-ddddc63d]{height:calc(100vh - 52px);display:flex;position:relative}.editor-app .editor-content .side-bar[data-v-ddddc63d]{z-index:var(--zindex-sidebar);flex-shrink:0}.editor-app .editor-content .editor-container[data-v-ddddc63d]{background:var(--Bg-Secondary);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.editor-app .editor-content .editor-container .editor-bar[data-v-ddddc63d]{z-index:var(--zindex-toolbar)}.editor-app .editor-content .editor-container .canvas-workspace[data-v-ddddc63d]{background:var(--Bg-Secondary);flex-direction:column;flex:1;gap:22px;min-height:0;transition:gap .26s;display:flex;position:relative}.editor-app .editor-content .editor-container .canvas-workspace.notes-collapsed[data-v-ddddc63d],.editor-app .editor-content .editor-container .canvas-workspace.is-annotation-mode[data-v-ddddc63d]{gap:0}.editor-app .editor-content .editor-container .canvas-workspace.notes-dragging[data-v-ddddc63d]:not(.notes-transitioning),.editor-app .editor-content .editor-container .canvas-workspace.notes-dragging:not(.notes-transitioning) .toolbar-wrap[data-v-ddddc63d]{transition:none}.editor-app .editor-content .editor-container .toolbar-wrap[data-v-ddddc63d]{width:max-content;max-width:calc(100% - 40px);z-index:var(--zindex-toolbar);pointer-events:none;transition:bottom .26s;animation:.4s both toolbar-enter-ddddc63d;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.editor-app .editor-content .editor-container .toolbar-wrap[data-v-ddddc63d] .toolbar{pointer-events:auto}.editor-app .editor-content .editor-container .canvas[data-v-ddddc63d]{z-index:var(--zindex-canvas)}.editor-app .feedback-snackbar-wrap[data-v-ddddc63d]{z-index:200;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}@keyframes toolbar-enter-ddddc63d{0%{opacity:0;transform:translate(-50%,200%)}to{opacity:1;transform:translate(-50%)}} diff --git a/editor/neo-ppt/assets/Editor-DBJ5CkCS.js b/editor/neo-ppt/assets/Editor-DBJ5CkCS.js new file mode 100644 index 0000000..37cbac1 --- /dev/null +++ b/editor/neo-ppt/assets/Editor-DBJ5CkCS.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ExportDialog-BP5zDZk_.js","assets/vue-B11_pI9F.js","assets/rolldown-runtime-DWdDZTNf.js","assets/_plugin-vue_export-helper-B67ILkmu.js","assets/index-jtNAhQeK.js","assets/common-utils-G6HD4Ji1.js","assets/preload-helper-NECkhNH4.js","assets/kimi-DRwOD7EI.js","assets/icons-CgDhqj4h.js","assets/const-BjfH-jZe.js","assets/index-Bn1xM_xZ.css","assets/useMessage-Cpv2N0cC.js","assets/snapdom-Da_w1Ev1.js","assets/dayjs.min-BoSdjn8v.js","assets/yaml-8mzYdWcr.js","assets/ThumbnailSlide-COLdjDXw.js","assets/dexie-HNSdyusO.js","assets/katex-BotMgawn.js","assets/katex-Cg8Rrj4S.css","assets/prosemirror-KiX6ZXa-.js","assets/faIcons-u_2ozSt4.js","assets/shapePreset-CxGn1Ud3.js","assets/yaml-Jsje7sNc.js","assets/ThumbnailSlide-CNt7vrDr.css","assets/penpal-DGj0EF1v.js","assets/kimi.button-DiBbOOiZ.js","assets/dom-CWEl93tC.js","assets/dom-ljDggPGB.css","assets/kimi-DH0O-3yG.css","assets/useMessage-DevS7YOO.css","assets/pptdExportSignature-DMnND2uP.js","assets/slideTransition-qR4hDwBa.js","assets/slideTransition-B0IpQu8x.css","assets/Loading-DTHKpUX9.js","assets/Loading-D1HZ5BTY.css","assets/menuExclusive-DWJqMbvd.js","assets/menuExclusive-A6pV-6q5.css","assets/PopoverMenu-D6aS9gI3.js","assets/PopoverMenu-CwiC6AzW.css","assets/Tabs-BfEIxvgH.js","assets/Tabs-3y3wUkna.css","assets/ExportDialog-DA6_jEoD.css","assets/ShareDialog--KVtNONw.js","assets/SelectMenu-J2_ZM6vn.js","assets/SelectMenu-CDF5hVie.css","assets/ShareDialog-DVn4NR8K.css","assets/iconsCN-C64KN7mA.js","assets/icons-AAgnD68s.js"])))=>i.map(i=>d[i]); +import{A as e,At as t,B as n,C as r,Ct as i,Et as a,G as o,H as s,I as c,J as l,K as u,Mt as d,Nt as f,Q as p,R as m,S as h,St as g,Tt as _,U as v,V as y,W as b,Y as x,Z as S,_t as C,at as w,bt as T,ct as E,d as D,dt as O,et as k,f as A,g as j,it as M,j as N,k as P,kt as F,lt as I,mt as L,n as R,ot as ee,p as te,pt as ne,rt as z,st as B,t as re,ut as V,vt as H,wt as ie,xt as ae,y as oe,yt as se,z as U}from"./vue-B11_pI9F.js";import{x as W}from"./const-BjfH-jZe.js";import{t as ce}from"./preload-helper-NECkhNH4.js";import{a as G,i as K,n as le}from"./common-utils-G6HD4Ji1.js";import{t as q}from"./_plugin-vue_export-helper-B67ILkmu.js";import{a as ue,c as de,i as fe,l as pe,m as me,n as he,o as ge,r as _e,s as ve,t as ye}from"./useMessage-Cpv2N0cC.js";import{A as be,D as xe,E as Se,L as J,P as Ce,R as we,S as Te,T as Ee,V as De,_ as Oe,a as Y,b as ke,n as Ae,v as X,w as je}from"./index-jtNAhQeK.js";import{n as Me,r as Ne,t as Pe}from"./Tabs-BfEIxvgH.js";import{A as Fe,B as Ie,C as Le,Ct as Re,D as ze,Dt as Be,E as Ve,Et as He,F as Ue,G as We,H as Ge,I as Ke,J as qe,K as Je,L as Ye,M as Xe,N as Ze,O as Qe,Ot as $e,R as et,S as tt,St as nt,Tt as rt,U as it,V as at,W as ot,_ as st,_t as ct,b as lt,bt as ut,c as dt,ct as ft,d as pt,dt as mt,f as ht,ft as gt,g as _t,h as vt,i as yt,j as bt,k as xt,l as St,lt as Ct,m as wt,mt as Tt,n as Et,o as Dt,ot as Z,p as Ot,pt as kt,q as Q,r as At,t as jt,u as Mt,ut as Nt,v as Pt,vt as Ft,w as It,wt as Lt,x as Rt,xt as zt,y as Bt,yt as Vt,z as Ht}from"./ThumbnailSlide-COLdjDXw.js";import{n as Ut,t as Wt}from"./kimi.button-DiBbOOiZ.js";import{x as Gt}from"./prosemirror-KiX6ZXa-.js";import{t as Kt}from"./faIcons-u_2ozSt4.js";import{r as qt}from"./dom-CWEl93tC.js";import{r as Jt}from"./menuExclusive-DWJqMbvd.js";import{t as Yt}from"./PopoverMenu-D6aS9gI3.js";import{t as Xt}from"./SelectMenu-J2_ZM6vn.js";import{n as Zt,r as Qt,t as $t}from"./Screen-e_2r2R5P.js";import{t as en}from"./usePPTDTitle-senR0KSa.js";var tn={class:`version-menu`},nn=[`onClick`],rn={class:`version-menu-item-main`},an={class:`version-menu-item-title-row`},on={class:`version-menu-item-title`},sn={key:0,class:`version-menu-item-latest`},cn={class:`version-menu-item-subtitle`},ln=q(S({__name:`TopBarVersionMenu`,setup(e){let{versionMenuItems:r,latestVersion:i,canUseVersionHistory:a,isVersionLoading:c,isHistoryPreview:l,historyPreviewVersionId:d,syncVersions:p,selectVersion:m}=fe(),{t:h}=J(),g=s(()=>{if(l.value&&d.value!==null){let e=r.value.find(e=>e.id===d.value);if(e)return e.version}return i.value}),_=async e=>{e&&(await p(),Y(`msh_nppt_version_list_show`,{total:r.value.length}))},y=e=>{c.value||m(e.id)};return(e,i)=>(E(),b(Yt,{class:`version-popover`,"hide-caret":``,disabled:!F(a),"float-options":{teleport:!0,placement:`bottom`,offset:8,align:`end`,withinWindow:!0,zIndex:103},"onUpdate:open":_},{trigger:T(()=>[v(`div`,{class:t([`version-trigger`,{disabled:!F(a)}])},[v(`span`,null,`V`+f(g.value),1),x(F(X),{name:`Down_b`,width:`12`,height:`12`})],2)]),popover:T(()=>[v(`div`,tn,[(E(!0),u(n,null,V(F(r),e=>(E(),u(`button`,{key:e.id??`latest`,type:`button`,class:t([`version-menu-item`,{active:e.isActive}]),onClick:t=>y(e)},[v(`span`,rn,[v(`span`,an,[v(`span`,on,f(e.title),1),e.isLatest?(E(),u(`span`,sn,f(F(h)(`topBar.versionLatest`)),1)):o(``,!0)]),v(`span`,cn,f(e.subtitle),1)]),x(F(X),{class:t([`version-menu-item-check`,{active:e.isActive}]),name:`Check`,width:`20`,height:`20`},null,8,[`class`])],10,nn))),128))])]),_:1},8,[`disabled`]))}}),[[`__scopeId`,`data-v-23d86d3d`]]),un={class:`top-bar`},dn={class:`top-bar-left`},fn={class:`title-editor`},pn=[`title`],mn={class:`title-text-label`},hn={class:`top-bar-right`},gn={key:0,class:`export-dialog-trigger`},_n={key:1,class:`export-dialog-trigger`},vn={key:2,class:`share-dialog-trigger`},yn=q(S({__name:`TopBar`,props:{isPresenterMode:{type:Boolean,default:!1}},emits:[`showDiff`,`showThemeEditor`,`present`,`presenter`,`exitPresenter`,`toggleFullScreen`,`feedback`,`close`],setup(e,{emit:t}){let{meta:r,updateTitle:i}=Z(),{isSaving:a,saveTip:p}=ge(),{selectedElementIds:h,handleElementId:g,collapsed:y,isEditable:S,exporting:C}=Q(),{isHistoryPreview:w,canUseVersionHistory:D,restoreHistoryVersion:O,returnLatestVersion:k}=fe(),{isAnnotationMode:A,requestExitAnnotationMode:j}=ue(),{isOverseas:N}=me(),{isSDK:P,functional:I}=ve(),{t:L}=J(),{showModal:R}=ke(),ee=_(!1),te=_(!1),ne=e,z=t,B=_(``),re=_(!1),V=_(),ie=_(),oe=_(0),se=_(!1),U=_(!1),W=s(()=>!P.value&&!1),G=()=>{!S.value||A.value||(oe.value=V.value?.offsetWidth??0,B.value=r.value.title??``,re.value=!0,M(()=>{ie.value?.focus(),le(),ie.value&&(ie.value.scrollLeft=0)}))},K=()=>{if(!S.value){re.value=!1;return}i(B.value),re.value=!1},le=()=>{ie.value&&(oe.value=Math.max(oe.value,ie.value.scrollWidth))};H(B,le),H(()=>S.value,e=>{e||(re.value=!1)}),H(A,e=>{e&&(re.value=!1)});let q=s(()=>y.value?L(`topBar.fullscreen`):L(`topBar.collapse`)),de=s(()=>!ne.isPresenterMode&&(!S.value||A.value)),pe=e=>{if(e.stopPropagation(),ne.isPresenterMode){z(`exitPresenter`);return}!S.value||A.value||(h.value=[],g.value=null,z(`present`))},he=async()=>{if(!(!S.value||A.value)&&!ee.value){ee.value=!0;try{await R({component:()=>ce(()=>import(`./ExportDialog-BP5zDZk_.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41])),priority:1})}finally{ee.value=!1}}},_e=async()=>{if(!(!S.value||A.value)&&!te.value&&!C.value){Y(`msh_nppt_export_tab_click`,{type:`share`,is_oversea:N.value},`type`),te.value=!0;try{await R({component:()=>ce(()=>import(`./ShareDialog--KVtNONw.js`),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,33,34,43,35,36,44,45])),priority:1})}finally{te.value=!1}}},ye=async()=>{if(!se.value){se.value=!0;try{await O()}finally{se.value=!1}}},be=async()=>{if(!U.value){U.value=!0;try{await k()}finally{U.value=!1}}},xe=()=>{S.value&&z(`feedback`)},Se=async()=>{A.value&&!await j()||z(`close`)};return(t,i)=>(E(),u(`div`,un,[v(`div`,dn,[v(`div`,fn,[re.value?ae((E(),u(`input`,{key:0,ref_key:`titleInputRef`,ref:ie,type:`text`,class:`title-input`,"onUpdate:modelValue":i[0]||(i[0]=e=>B.value=e),style:d({width:`${oe.value}px`}),onBlur:i[1]||(i[1]=e=>K()),onKeydown:i[2]||(i[2]=m(e=>K(),[`enter`]))},null,36)),[[c,B.value]]):(E(),u(`div`,{key:1,ref_key:`titleTextRef`,ref:V,class:`title-text`,onClick:i[3]||(i[3]=e=>G()),title:F(r).title},[v(`span`,mn,f(F(r).title||F(L)(`basic.unnamedPresentation`)),1)],8,pn)),F(I).versionHistory?(E(),b(ln,{key:2})):o(``,!0)])]),v(`div`,hn,[F(w)&&F(I).versionHistory?(E(),u(n,{key:0},[x(F(Wt),{type:`outline`,icon:`Refresh`,disabled:!F(D),loading:se.value,onClick:ye},{default:T(()=>[l(f(F(L)(`topBar.restoreVersion`)),1)]),_:1},8,[`disabled`,`loading`]),x(F(Wt),{type:`primary`,disabled:!F(D),loading:U.value,onClick:be},{default:T(()=>[l(f(F(L)(`topBar.returnLatestVersion`)),1)]),_:1},8,[`disabled`,`loading`]),F(I).export?(E(),u(`span`,gn,[x(F(Wt),{type:`outline`,icon:`Output`,class:`download-button`,disabled:!F(D),onClick:i[4]||(i[4]=e=>he())},{default:T(()=>[l(f(F(L)(`basic.export`)),1)]),_:1},8,[`disabled`])])):o(``,!0)],64)):(E(),u(n,{key:1},[F(null)&&W.value?(E(),b(F(null),{key:0,onShowDiff:i[5]||(i[5]=e=>z(`showDiff`)),onShowThemeEditor:i[6]||(i[6]=e=>z(`showThemeEditor`)),onPresenter:i[7]||(i[7]=e=>z(`presenter`))})):o(``,!0),F(I).export?(E(),u(`span`,_n,[x(F(Wt),{type:`outline`,icon:`Output`,class:`download-button`,disabled:!F(S)||F(A),onClick:i[8]||(i[8]=e=>he())},{default:T(()=>[l(f(F(L)(`basic.export`)),1)]),_:1},8,[`disabled`])])):o(``,!0),F(I).share?(E(),u(`span`,vn,[x(F(Wt),{type:`outline`,icon:`Share_a`,class:`download-button`,disabled:!F(S)||F(A),onClick:i[9]||(i[9]=e=>_e())},{default:T(()=>[l(f(F(L)(`basic.share`)),1)]),_:1},8,[`disabled`])])):o(``,!0),F(I).present?(E(),b(F(Wt),{key:3,type:`icon`,danger:e.isPresenterMode,tooltip:e.isPresenterMode?F(L)(`presenter.exit`):F(L)(`basic.screen`),"tooltip-placement":`bottom-left`,icon:e.isPresenterMode?`Close`:`Play`,disabled:de.value,onClick:pe},null,8,[`danger`,`tooltip`,`icon`,`disabled`])):o(``,!0)],64)),F(I).fullscreen?(E(),b(F(Wt),{key:2,type:`icon`,icon:F(y)?`Expand`:`Collapse`,tooltip:q.value,"tooltip-placement":`bottom-left`,onClick:i[10]||(i[10]=e=>z(`toggleFullScreen`))},null,8,[`icon`,`tooltip`])):o(``,!0),F(I).feedback?(E(),b(F(Wt),{key:3,type:`icon`,icon:`Message`,tooltip:F(L)(`common.feedback`),"tooltip-placement":`bottom`,disabled:!F(S),onClick:xe},null,8,[`tooltip`,`disabled`])):o(``,!0),F(I).close?(E(),b(F(Wt),{key:4,type:`icon`,icon:`Close`,tooltip:F(L)(`topBar.close`),"tooltip-placement":`bottom-right`,onClick:Se},null,8,[`tooltip`])):o(``,!0)])]))}}),[[`__scopeId`,`data-v-8b28de6b`]]),bn={class:`page-number`},xn={key:0,class:`icon-side`},Sn={class:`page-number-text`},Cn={key:1,class:`icon-side`},wn=q(S({__name:`SideBarPageNumber`,props:{slideIndex:{},slidesLength:{},hideCollapse:{type:Boolean}},setup(e){let t=e;return(e,n)=>(E(),u(`div`,bn,[e.$slots.head?(E(),u(`div`,xn,[O(e.$slots,`head`,{},void 0,!0)])):o(``,!0),v(`div`,Sn,f(t.slideIndex+1)+` / `+f(t.slidesLength),1),e.$slots.tail?(E(),u(`div`,Cn,[O(e.$slots,`tail`,{},void 0,!0)])):o(``,!0)]))}}),[[`__scopeId`,`data-v-2c92f335`]]),Tn={key:1,class:`toggle-menu-label`},En=q(S({__name:`ToggleMenu`,props:{value:{type:Boolean},label:{},icon:{},tooltip:{},tooltipPlacement:{},withArrow:{type:Boolean},class:{},noActive:{type:Boolean},disabled:{type:Boolean}},emits:[`update:value`],setup(e,{emit:n}){let r=e,i=n;return(n,a)=>(E(),b(F(qt),{content:e.tooltip,disabled:!e.tooltip,placement:e.tooltipPlacement},{trigger:T(()=>[v(`div`,{class:t([`toggle-menu`,{"is-active":r.noActive?!1:e.value,disabled:e.disabled,[r.class??``]:!0}]),onClick:a[0]||(a[0]=t=>!e.disabled&&i(`update:value`,!e.value))},[e.icon?(E(),b(F(X),{key:0,name:e.icon,width:`20`,height:`20`},null,8,[`name`])):o(``,!0),e.label?(E(),u(`span`,Tn,f(e.label),1)):o(``,!0),e.withArrow?(E(),b(F(X),{key:2,class:`menu-select-title-caret`,name:`Down_b`,width:`12`,height:`12`})):o(``,!0)],2)]),_:1},8,[`content`,`disabled`,`placement`]))}}),[[`__scopeId`,`data-v-782077de`]]),Dn=new Map;function On(e,t){Dn.set(e,t)}function kn(e){return Dn.get(e)}var An=`__kimi_slides_clipboard__`;function jn(){return`page/p-${Ee(6)}.page`}var Mn=De(()=>{let{pageOrder:e,pages:t,currentPageId:n,removePage:r,markDirty:i,createPageId:a}=Z(),{selectedSlideIds:o,selectedElementIds:s,focusArea:c,pushUndo:l,isEditable:u}=Q();function d(){let n=new Set(o.value);return e.value.map(e=>t.value.get(e)).filter(e=>!!e&&n.has(e.pageId))}function f(){let e=d();if(!e.length)return;let t=JSON.stringify({type:`slides`,data:e});navigator.clipboard.writeText(t).catch(()=>{localStorage.setItem(An,t)})}function p(r){if(!u.value||!r)return!1;try{let o=JSON.parse(r);if(o.type===`slides`&&Array.isArray(o.data)){l();for(let r of o.data){let i=a(),o={...r,pageId:i,pagePath:jn(),elements:r.elements.map(e=>({...e,elementId:Ee(6)}))};t.value.set(i,o);let s=e.value.indexOf(n.value??``),c=s>=0?s+1:e.value.length;e.value.splice(c,0,i),n.value=i}return i(),Y(`msh_nppt_create_element_success`,{type:o.data.length>1?`multiple`:`slide`,from:`paste`},[`type`,`from`]),!0}}catch{}return!1}async function m(){if(!u.value)return;let e=``;try{e=await navigator.clipboard.readText()}catch{e=localStorage.getItem(An)||``}p(e)}function h(){if(!u.value)return;let e=[...o.value];if(e.length){l();for(let t of e)r(t);o.value=[]}}function g(){u.value&&(f(),h())}function _(){o.value=[...e.value]}function v(r){if(!u.value)return;let s=t.value.get(r);if(!s)return;l();let c=a(),d={...s,pageId:c,pagePath:jn(),elements:s.elements.map(e=>({...e,elementId:Ee(6)}))};t.value.set(c,d);let f=e.value.indexOf(r),p=f>=0?f+1:e.value.length;e.value.splice(p,0,c),n.value=c,o.value=[c],i(),Y(`msh_nppt_create_element_success`,{type:`slide`,from:`duplicate`},[`type`,`from`])}function y(){if(c.value===`editor`&&s.value.length>0)return;let t=e.value.indexOf(n.value??``);if(t>0){let r=e.value[t-1];n.value=r,o.value=[r],s.value=[]}}function b(){if(c.value===`editor`&&s.value.length>0)return;let t=e.value.indexOf(n.value??``);if(t>=0&&t(E(),u(`button`,{class:`add-slide-handler`,type:`button`,onMousedown:t[0]||(t[0]=U(()=>{},[`stop`])),onClick:t[1]||(t[1]=U(e=>n(`click`),[`stop`]))},[x(F(X),{class:`add-icon`,name:`Add`,width:`12`,height:`12`})],32))}}),[[`__scopeId`,`data-v-37b77c14`]]),Pn=[`data-page-id`,`onMousedown`],Fn=q(S({__name:`ThumbnailList`,props:{thumbnailPreviewMode:{type:Boolean}},emits:[`present`,`update:thumbnailPreviewMode`,`collapse`],setup(e,{emit:r}){let i=e,a=r,{pageSize:c,pageOrder:l,currentPageId:p,pages:m,setCurrentPage:h,addPage:y}=Z(),{selectedSlideIds:S,focusArea:C,sidebarCollapsed:w,isEditable:D,pushUndo:O}=Q(),{isAnnotationMode:k}=ue(),{t:A}=J(),j=_(),{copy:N,paste:P,delete:I,cut:L,selectAll:R,duplicate:ee}=Mn(),{width:te}=oe(),z=s(()=>!i.thumbnailPreviewMode||te.value<400?1:te.value<650?2:te.value<800?3:4);function B(e,t){return e.toString().padStart(t,`0`)}let ie=s(()=>l.value.indexOf(p.value??``));H(p,(e,t)=>{!e||e===t||M(()=>{let t=document.querySelector(`[data-page-id="${e}"]`);t&&t.scrollIntoView({behavior:`smooth`,block:`nearest`})})});function se(){let e=S.value.filter(e=>l.value.includes(e)),t=p.value;return t&&l.value.includes(t)&&!e.includes(t)&&e.push(t),e}function U(e,t){let n=se(),r=n.length>1;if(!(r&&n.includes(e)&&t.button!==0)){if(t.ctrlKey||t.metaKey){if(n.includes(e)){if(!r)return;let t=n.filter(t=>t!==e);S.value=t;let i=t[0];p.value===e&&i&&h(i)}else S.value=[...n,e];return}if(t.shiftKey){if(p.value===e&&!r)return;let t=n.map(e=>l.value.indexOf(e)).filter(e=>e!==-1);if(!t.length){S.value=[e];return}let i=l.value.indexOf(e),a=Math.min(...t),o=i;i=n||s<0)return;let c=o+s*n;if(c>=l.value.length)return;let u=l.value[c];h(u),S.value=[u],e.stopImmediatePropagation(),e.preventDefault()}function G(e,t){i.thumbnailPreviewMode!==e&&(Y(`msh_nppt_thumb_preview`,{action:e?`enter`:`leave`,from:t}),a(`update:thumbnailPreviewMode`,e))}function K(e){return m.value.get(e)}function le(){if(!D.value||k.value)return;O();let e=y();Y(`msh_nppt_create_element_success`,{type:`slide`,from:`action-bar`},[`type`,`from`]),C.value=`sidebar`,S.value=[e]}function q(e){if(!D.value||k.value)return;O(),h(e);let t=y();Y(`msh_nppt_create_element_success`,{type:`slide`,from:`action-bar`},[`type`,`from`]),C.value=`sidebar`,S.value=[t]}function de(e){D.value&&ee(e)}function fe(e){D.value&&(S.value=[e],I())}function pe(e){let t=l.value.indexOf(e);t!==-1&&a(`present`,t)}function me(e){return!D.value||k.value||!K(e)?[]:[{id:`slide.cut`,text:A(`contextMenu.cut`),subText:`Ctrl + X`,handler:()=>{S.value=[e],L()}},{id:`slide.copy`,text:A(`contextMenu.copy`),subText:`Ctrl + C`,handler:()=>{S.value=[e],N()}},{id:`slide.paste`,text:A(`contextMenu.paste`),subText:`Ctrl + V`,handler:()=>{S.value=[e],P()}},{id:`slide.selectAll`,text:A(`contextMenu.selectAll`),subText:`Ctrl + A`,handler:()=>{R()}},{divider:!0},{id:`slide.newPage`,text:A(`contextMenu.newPage`),handler:()=>{le()}},{id:`slide.copyPage`,text:A(`contextMenu.copyPage`),handler:()=>{de(e)}},{id:`slide.deletePage`,text:A(`contextMenu.deletePage`),subText:`Delete`,handler:()=>{fe(e)}},{divider:!0},{id:`slide.startFromCurrent`,text:A(`contextMenu.startFromCurrent`),handler:()=>{pe(e)}}]}return(r,i)=>{let s=ne(`contextmenu`);return E(),u(`div`,{ref_key:`wrapperRef`,ref:j,class:`thumbnail-wrapper`,tabindex:`-1`,style:d({"--thumbnail-col-num":z.value}),onMousedown:W,onKeydown:ce},[x(wn,{"slide-index":ie.value,"slides-length":F(l).length,onCollapse:i[2]||(i[2]=e=>a(`collapse`))},{head:T(()=>[x(En,{value:e.thumbnailPreviewMode,icon:`ViewAll`,tooltip:F(A)(`sideBar.previewMode`),"tooltip-placement":`bottom-left`,"onUpdate:value":i[0]||(i[0]=t=>G(!e.thumbnailPreviewMode,`icon`))},null,8,[`value`,`tooltip`])]),tail:T(()=>[x(En,{value:F(w),icon:`Pages`,tooltip:F(A)(`sideBar.collapse`),"tooltip-placement":`bottom`,"onUpdate:value":i[1]||(i[1]=e=>a(`collapse`))},null,8,[`value`,`tooltip`])]),_:1},8,[`slide-index`,`slides-length`]),x(F(re),{modelValue:F(l),"onUpdate:modelValue":i[4]||(i[4]=e=>g(l)?l.value=e:null),class:t([`thumbnail-list`,{"thumbnail-list-preview":e.thumbnailPreviewMode}]),"chosen-class":`dragging`,"ghost-class":`dragging-holder`,"force-fallback":!0,animation:200,scroll:!0,"scroll-sensitivity":50,direction:`vertical`,disabled:e.thumbnailPreviewMode||!F(D)||F(k)},{default:T(()=>[(E(!0),u(n,null,V(F(l),(n,r)=>ae((E(),u(`div`,{key:n,"data-page-id":n,class:t([`thumbnail-item`,{active:F(p)===n,selected:F(S).includes(n)}]),onMousedown:e=>U(n,e),onDblclick:i[3]||(i[3]=e=>G(!1,`dblclick`))},[x(jt,{class:`thumbnail`,slide:K(n),"page-width":F(c)[0],"page-height":F(c)[1],lazy:``},null,8,[`slide`,`page-width`,`page-height`]),v(`div`,{class:t([`label`,{"offset-left":r>=99}])},f(B(r+1,2)),3),!e.thumbnailPreviewMode&&F(D)&&!F(k)?(E(),b(Nn,{key:0,class:`add-slide-splitter`,onClick:e=>q(n)},null,8,[`onClick`])):o(``,!0)],42,Pn)),[[s,()=>me(n)]])),128))]),_:1},8,[`modelValue`,`class`,`disabled`])],36)}}}),[[`__scopeId`,`data-v-88ad9eda`]]),In={class:`add-slide-footer`},Ln=q(S({__name:`SideBarAddButton`,setup(e){let{addPage:n}=Z(),{selectedSlideIds:r,focusArea:i,isEditable:a,pushUndo:o}=Q(),{isAnnotationMode:s}=ue(),{t:c}=J();function d(){if(!a.value||s.value)return;o();let e=n();Y(`msh_nppt_create_element_success`,{type:`slide`,from:`action-bar`},[`type`,`from`]),i.value=`sidebar`,r.value=[e]}return(e,n)=>(E(),u(`div`,In,[v(`div`,{class:t([`add-slide-button auto-rtl`,{disabled:!F(a)||F(s)}]),onClick:d},[x(F(X),{class:`icon`,name:`CirclePlus`}),l(` `+f(F(c)(`sideBar.addSlide`)),1)],2)]))}}),[[`__scopeId`,`data-v-cfafb7b9`]]),Rn=q(S({__name:`Index`,props:{dir:{},size:{default:3},value:{default:0},dragging:{type:Boolean,default:!1},min:{},max:{},calc:{},autoCheck:{type:Boolean,default:!0}},emits:[`update:value`,`update:dragging`],setup(e,{emit:n}){let r=e,i=n,a=s(()=>r.dir===`x`?{width:`${r.size}px`}:{height:`${r.size}px`}),o=_(!1),c=0,l=0,f=0,p=0,m=0,h=e=>Math.max(r.min??-1/0,Math.min(e,r.max??1/0));function g(){if(r.dir===`x`){let e=p-l,t=r.calc?r.calc(e):e;i(`update:value`,h(c+t))}else{let e=m-f,t=r.calc?r.calc(e):e;i(`update:value`,h(c+t))}}let y=e=>{o.value||(e.preventDefault(),o.value=!0,i(`update:dragging`,!0),l=e.pageX,f=e.pageY,p=e.pageX,m=e.pageY,c=r.value)},b=e=>{o.value&&(e.preventDefault(),o.value=!1,i(`update:dragging`,!1),g(),l=f=0,p=e.pageX,m=e.pageY,c=r.value)};return te(window,`mousemove`,e=>{o.value&&(e.preventDefault(),p=e.pageX,m=e.pageY,g())}),te(window,`mouseup`,b),te(window,`mousecancel`,b),H(()=>[r.max,r.min],()=>{i(`update:value`,h(r.value))}),ee(()=>{r.autoCheck&&i(`update:value`,h(r.value))}),(n,r)=>(E(),u(`div`,{class:t([`splitter`,e.dir])},[v(`div`,{class:t([`splitter-line`,{active:o.value}]),style:d(a.value),onMousedown:y},[O(n.$slots,`default`,{},void 0,!0)],38)],2))}}),[[`__scopeId`,`data-v-5c4ef702`]]),zn=q(S({__name:`SideBar`,emits:[`present`],setup(e,{emit:r}){let i=r,{sidebarWidth:a,sidebarCollapsed:s,selectedSlideIds:c,focusArea:l}=Q(),f=_(!1),p=_(!1);function m(){l.value=`sidebar`}function h(){c.value=[],l.value===`sidebar`&&(l.value=null)}return H(()=>s.value,()=>{s.value&&(p.value=!1)}),(e,r)=>ae((E(),u(`div`,{class:t([`side-bar`,{"preview-mode":p.value,dragging:f.value,collapsed:F(s)}]),style:d({width:F(s)?`0px`:`${F(a)}px`}),onMousedown:m},[F(s)?o(``,!0):(E(),u(n,{key:0},[x(Fn,{"thumbnail-preview-mode":p.value,"onUpdate:thumbnailPreviewMode":r[0]||(r[0]=e=>p.value=e),onPresent:r[1]||(r[1]=e=>i(`present`,e)),onCollapse:r[2]||(r[2]=e=>s.value=!0)},null,8,[`thumbnail-preview-mode`]),p.value?o(``,!0):(E(),b(Ln,{key:0}))],64)),!p.value&&!F(s)?(E(),b(Rn,{key:1,class:`splitter`,dir:`x`,size:8,value:F(a),"onUpdate:value":r[3]||(r[3]=e=>g(a)?a.value=e:null),dragging:f.value,"onUpdate:dragging":r[4]||(r[4]=e=>f.value=e),min:F(192),max:F(400)},null,8,[`value`,`dragging`,`min`,`max`])):o(``,!0)],38)),[[F(R),h]])}}),[[`__scopeId`,`data-v-b10378e6`]]),Bn=q(S({__name:`MenuButton`,props:{icon:{},tooltip:{},active:{type:Boolean},disabled:{type:Boolean}},emits:[`click`],setup(e,{emit:n}){let r=n;return(n,i)=>(E(),b(F(qt),{content:e.tooltip,disabled:e.active||e.disabled},{trigger:T(()=>[v(`div`,{class:t([`menu-button`,{active:e.active,disabled:e.disabled}]),onClick:i[0]||(i[0]=t=>!e.disabled&&r(`click`,t))},[x(F(X),{name:e.icon,width:`20`,height:`20`},null,8,[`name`])],2)]),_:1},8,[`content`,`disabled`]))}}),[[`__scopeId`,`data-v-15d85301`]]),Vn=q(S({__name:`HorizontalOverflowBar`,props:{step:{default:32},height:{},arrowSize:{default:32},arrowWidth:{default:18},edgeMode:{default:`overlay`},gap:{default:8}},setup(e){let n=e,r=_(),i=_(),a=_(),c=_(!1),l=_(!1),f=_(!1),p=s(()=>typeof n.height==`number`?`${n.height}px`:n.height),m=s(()=>typeof n.gap==`number`?`${n.gap}px`:n.gap),h=s(()=>({width:`${n.arrowWidth}px`,height:`${n.arrowSize}px`})),g=s(()=>({height:p.value,"--horizontal-overflow-gap":m.value,"--horizontal-overflow-arrow-size":`${n.arrowSize}px`,"--horizontal-overflow-arrow-width":`${n.arrowWidth}px`})),y=()=>{let e=i.value,t=r.value,n=a.value;if(!e||!t||!n)return;let o=Math.max(0,e.scrollWidth-e.clientWidth),s=e.scrollLeft,u=n.scrollWidth>t.clientWidth+1;f.value=u,c.value=u&&s>1,l.value=u&&s{i.value?.scrollBy({left:e*n.step,behavior:`smooth`}),window.setTimeout(y,180)};return j(r,()=>M(y)),j(i,()=>M(y)),j(a,()=>M(y)),te(i,`scroll`,y),te(r,`wheel`,e=>{if(!f.value||!i.value)return;let t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY;t&&(e.preventDefault(),i.value.scrollLeft+=t,y())},{passive:!1}),M(y),(n,s)=>(E(),u(`div`,{ref_key:`rootRef`,ref:r,class:t([`horizontal-overflow-bar`,[`edge-${e.edgeMode}`,{"is-overflowing":f.value,"has-left-space":f.value&&c.value,"has-right-space":f.value&&l.value,"has-left-arrow":f.value&&c.value,"has-right-arrow":f.value&&l.value}]]),style:d(g.value)},[f.value&&c.value?(E(),u(`button`,{key:0,class:`horizontal-overflow-arrow left`,style:d(h.value),type:`button`,onMousedown:s[0]||(s[0]=U(()=>{},[`stop`])),onClick:s[1]||(s[1]=U(e=>b(-1),[`stop`]))},[x(F(X),{name:`Left_b`,width:`14`,height:`14`})],36)):o(``,!0),v(`div`,{ref_key:`viewportRef`,ref:i,class:`horizontal-overflow-viewport`},[v(`div`,{ref_key:`trackRef`,ref:a,class:`horizontal-overflow-track`},[O(n.$slots,`default`,{},void 0,!0)],512)],512),f.value&&l.value?(E(),u(`button`,{key:1,class:`horizontal-overflow-arrow right`,style:d(h.value),type:`button`,onMousedown:s[2]||(s[2]=U(()=>{},[`stop`])),onClick:s[3]||(s[3]=U(e=>b(1),[`stop`]))},[x(F(X),{name:`Right_b`,width:`14`,height:`14`})],36)):o(``,!0)],6))}}),[[`__scopeId`,`data-v-121e764a`]]),Hn={class:`shape-item-thumbnail`},Un={class:`shape-content`},Wn={overflow:`visible`,width:`18`,height:`18`},Gn=[`transform`],Kn=[`fill`,`stroke`,`d`],qn=q(S({__name:`ShapeItemThumbnail`,props:{shape:{}},setup(e){return(n,r)=>(E(),u(`div`,Hn,[v(`div`,Un,[(E(),u(`svg`,Wn,[v(`g`,{transform:`scale(${18/e.shape.viewBox[0]}, ${18/e.shape.viewBox[1]})`},[v(`path`,{class:t([`shape-path`,{outlined:e.shape.outlined}]),"vector-effect":`non-scaling-stroke`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-miterlimit":`8`,fill:e.shape.outlined?`var(--Labels-Tertiary)`:`transparent`,stroke:e.shape.outlined?`transparent`:`var(--Labels-Tertiary)`,"stroke-width":`1`,d:e.shape.path},null,10,Kn)],8,Gn)]))])]))}}),[[`__scopeId`,`data-v-841f727f`]]),Jn={class:`shape-pool`},Yn={class:`category-name`},Xn={class:`shape-list`},Zn=[`onClick`],Qn=q(S({__name:`ShapePool`,emits:[`select`],setup(e,{emit:t}){let r=t,{t:i}=J(),a=e=>({rectangle:i(`bottomBar.rectangle`),otherShapes:i(`bottomBar.otherShapes`),decoration:i(`bottomBar.decoration`)})[e]||e,s=e=>{r(`select`,e)};return(e,t)=>(E(),u(`div`,Jn,[(E(!0),u(n,null,V(F(xt),e=>(E(),u(`div`,{class:`category`,key:e.type},[v(`div`,Yn,f(a(e.type)),1),v(`div`,Xn,[(E(!0),u(n,null,V(e.children,(e,t)=>(E(),u(n,{key:t},[F(Ze)(e)?(E(),u(`div`,{key:0,class:`shape-item`,onClick:t=>s(e)},[x(qn,{shape:F(Ze)(e)},null,8,[`shape`])],8,Zn)):o(``,!0)],64))),128))])]))),128))]))}}),[[`__scopeId`,`data-v-90f7e391`]]),$n={class:`line-pool`},er={class:`category-name`},tr={class:`line-list`},nr=[`onClick`],rr={class:`line-content`},ir={overflow:`visible`,width:`20`,height:`20`,viewBox:`0 0 200 200`},ar=[`d`,`marker-start`,`marker-end`],or=10,sr=q(S({__name:`LinePool`,emits:[`select`],setup(e,{emit:t}){let r=t,{t:i}=J(),a=e=>({straightLine:i(`bottomBar.straightLine`),curve:i(`bottomBar.curve`)})[e]||e,s=e=>{r(`select`,e)};return(e,t)=>(E(),u(`div`,$n,[(E(!0),u(n,null,V(F(Fe),(e,t)=>(E(),u(`div`,{class:`category`,key:e.type},[v(`div`,er,f(a(e.type)),1),v(`div`,tr,[(E(!0),u(n,null,V(e.children,(e,n)=>(E(),u(`div`,{class:`line-item`,key:n,onClick:t=>s(e)},[v(`div`,rr,[(E(),u(`svg`,ir,[v(`defs`,null,[e.points?.[0]&&e.points[0]!==`none`?(E(),b(Qe,{key:0,id:`preset-line-${t}-${n}`,position:`start`,type:e.points[0],color:`currentColor`,baseSize:or+5},null,8,[`id`,`type`,`baseSize`])):o(``,!0),e.points?.[1]&&e.points[1]!==`none`?(E(),b(Qe,{key:1,id:`preset-line-${t}-${n}`,position:`end`,type:e.points[1],color:`currentColor`,baseSize:or+5},null,8,[`id`,`type`,`baseSize`])):o(``,!0)]),v(`path`,{class:`line-path`,d:e.path,stroke:`currentColor`,fill:`none`,"stroke-width":or,"marker-start":e.points?.[0]?`url(#preset-line-${t}-${n}-${e.points[0]}-start)`:void 0,"marker-end":e.points?.[1]?`url(#preset-line-${t}-${n}-${e.points[1]}-end)`:void 0},null,8,ar)]))])],8,nr))),128))])]))),128))]))}}),[[`__scopeId`,`data-v-6b5878db`]]),cr={class:`table-generator`},lr={class:`title`},ur=[`onMouseenter`],dr=q(S({__name:`TableGenerator`,emits:[`select`],setup(e,{emit:r}){let i=r,{t:a}=J(),o=_(null),s=()=>{if(!o.value)return;let[e,t]=o.value;i(`select`,e,t)};return(e,r)=>(E(),u(`div`,cr,[v(`div`,lr,f(o.value?`${F(a)(`bottomBar.createTable`)} ${o.value[0]} x ${o.value[1]}`:F(a)(`bottomBar.createTable`)),1),v(`table`,{onMouseleave:r[0]||(r[0]=e=>o.value=null),onClick:r[1]||(r[1]=e=>s())},[v(`tbody`,null,[(E(),u(n,null,V(10,e=>v(`tr`,{key:e},[(E(),u(n,null,V(10,n=>v(`td`,{key:n,onMouseenter:t=>o.value=[e,n]},[v(`div`,{class:t([`cell`,{active:o.value&&e<=o.value[0]&&n<=o.value[1]}])},null,2)],40,ur)),64))])),64))])],32)]))}}),[[`__scopeId`,`data-v-a89d5601`]]),fr={class:`latex-pool`},pr={class:`title`},mr=[`placeholder`],hr={class:`latex-actions`},gr=q(S({__name:`LatexPool`,props:{value:{},title:{}},emits:[`select`],setup(e,{emit:t}){let n=e,{t:r}=J(),i=t,a=_(``);H(()=>n.value,e=>{a.value=e??``},{immediate:!0});let o=()=>{a.value.trim()&&(i(`select`,a.value.trim()),a.value=``)};return(t,n)=>(E(),u(`div`,fr,[v(`div`,pr,f(e.title??F(r)(`latex.title`)),1),ae(v(`textarea`,{ref:`inputRef`,"onUpdate:modelValue":n[0]||(n[0]=e=>a.value=e),class:`latex-input`,rows:`3`,placeholder:F(r)(`latex.placeholder`),onClick:n[1]||(n[1]=U(()=>{},[`stop`])),onKeydown:n[2]||(n[2]=U(()=>{},[`stop`])),onKeyup:n[3]||(n[3]=U(()=>{},[`stop`]))},null,40,mr),[[c,a.value]]),v(`div`,hr,[v(`button`,{class:`confirm-btn`,onClick:o},f(F(r)(`common.confirm`)),1)])]))}}),[[`__scopeId`,`data-v-48da1647`]]),_r={class:`icon-pool`},vr={class:`category`},yr={class:`icon-search-wrapper`},br=[`placeholder`],xr={class:`icon-list-container`},Sr=[`onClick`],Cr={key:1,class:`empty`},wr=q(S({__name:`IconPool`,emits:[`select`],setup(e,{emit:r}){let i=r,{t:a,locale:o}=J(),l=e=>{i(`select`,`${e[0]===`b`?`fab`:e[0]===`r`?`far`:`fas`}:${e.slice(2)}`),d.value=``},d=_(``),p=`s-home.s-user.s-heart.s-star.s-cog.s-search.s-envelope.s-phone.s-calendar.s-clock.s-map-marker-alt.s-link.s-download.s-upload.s-share.s-thumbs-up.s-thumbs-down.s-eye.s-lock.s-unlock.s-comment.s-comments.s-bell.s-bookmark.s-camera.s-image.s-video.s-music.s-file.s-folder`.split(`.`),m=_([]),h=_([]),g=_([]),y=null,b=()=>(y||g.value.length||(y=ce(()=>import(`./iconsCN-C64KN7mA.js`).then(e=>e.t).then(e=>{g.value=e.faIconsCN.map(e=>e?.toLowerCase()??``)}),__vite__mapDeps([46,2]))),y),x=(e,t)=>{let n=1/0,r=1/0,i=t=>{let i=t?.split(`,`)??[];for(let t of i){let i=t.trim();if(!i.includes(e))continue;let a=+!i.startsWith(e);(a{let e=d.value.trim().toLowerCase();if(!e)return p;let t=new Map,n=p.length;for(let n=0;ne.matchPriority-t.matchPriority||e.matchLength-t.matchLength||e.index-t.index).slice(0,n).map(e=>e.name)});return ee(async()=>{Kt();let e=await ce(()=>import(`./icons-AAgnD68s.js`).then(e=>e.t),__vite__mapDeps([47,2]));m.value=e.faIcons,h.value=e.faIcons.map(e=>e.toLowerCase())}),H(o,e=>{e===`zh-cn`&&b()},{immediate:!0}),(e,r)=>(E(),u(`div`,_r,[v(`div`,vr,[v(`div`,yr,[ae(v(`input`,{"onUpdate:modelValue":r[0]||(r[0]=e=>d.value=e),class:`icon-search`,placeholder:F(a)(`bottomBar.searchIcon`),onClick:r[1]||(r[1]=U(()=>{},[`stop`]))},null,8,br),[[c,d.value]])]),v(`div`,xr,[S.value.length?(E(!0),u(n,{key:0},V(S.value,e=>(E(),u(`i`,{key:e,class:t([`icon-item`,`fa${e[0]} fa-${e.slice(2)}`]),onClick:t=>l(e)},null,10,Sr))),128)):(E(),u(`div`,Cr,f(F(a)(`bottomBar.noIconFound`)),1))])])]))}}),[[`__scopeId`,`data-v-bc04e138`]]),Tr=q(S({__name:`Mask`,props:{visible:{type:Boolean}},emits:[`click`,`mousedown`],setup(e,{emit:t}){let n=t;return(t,r)=>(E(),b(y,{to:`body`},[x(N,{name:`fade`},{default:T(()=>[e.visible?(E(),u(`div`,{key:0,class:`modal-mask`,onClick:r[1]||(r[1]=e=>n(`click`,e)),onMousedown:r[2]||(r[2]=e=>n(`mousedown`,e))},[v(`div`,{onClick:r[0]||(r[0]=U(()=>{},[`stop`]))},[O(t.$slots,`default`,{},void 0,!0)])],32)):o(``,!0)]),_:3})]))}}),[[`__scopeId`,`data-v-704ef4e7`]]),Er={class:`header`},Dr={class:`title-warpper`},Or={class:`body`},kr={key:0,class:`bottom`},Ar=q(S({__name:`Modal`,props:{title:{default:`title`},titlePosition:{default:`left`},closeable:{type:Boolean,default:!0},maskCloseable:{type:Boolean,default:!0},confirmText:{default:void 0},cancelText:{default:void 0},content:{},hideBottom:{type:Boolean},visible:{type:Boolean},modalClassName:{}},emits:[`update:visible`,`confirm`,`cancel`],setup(e,{emit:n}){let{t:r}=J(),i=e,c=s(()=>i.confirmText??r(`common.confirm`)),p=s(()=>i.cancelText??r(`common.cancel`)),m=a(null),h=e=>{m.value=e.target},g=n;function _(){i.closeable&&g(`update:visible`,!1)}function y(e){i.maskCloseable&&m.value===e.target&&_()}te(window,`keydown`,e=>{e.key===`Escape`&&i.maskCloseable&&_()});let S=s(()=>i.titlePosition===`center`);return(n,r)=>(E(),b(Tr,{visible:e.visible,onClick:y,onMousedown:h},{default:T(()=>[v(`div`,{class:t([`content`,e.modalClassName])},[v(`div`,Er,[O(n.$slots,`title`,{},()=>[v(`div`,Dr,[v(`div`,{class:`title`,style:d({textAlign:S.value?`center`:`left`})},f(e.title),5)])],!0),e.closeable?(E(),b(F(X),{key:0,name:`Close`,class:`close-icon`,onClick:_})):o(``,!0)]),O(n.$slots,`body`,{},()=>[v(`div`,Or,f(e.content),1)],!0),O(n.$slots,`bottom`,{},()=>[i.hideBottom?o(``,!0):(E(),u(`div`,kr,[x(F(Wt),{type:`secondary`,onClick:r[0]||(r[0]=e=>g(`cancel`))},{default:T(()=>[l(f(p.value),1)]),_:1}),x(F(Wt),{type:`primary`,danger:``,onClick:r[1]||(r[1]=e=>g(`confirm`))},{default:T(()=>[l(f(c.value),1)]),_:1})]))],!0)],2)]),_:3},8,[`visible`]))}}),[[`__scopeId`,`data-v-d61bf2e1`]]);function jr(e,t,n){return r=>{let i=document.body,a=i.style.userSelect;i.style.userSelect=`none`,e(r);let o=e=>t(e),s=()=>{i.style.userSelect=a,n(),window.removeEventListener(`mousemove`,o),window.removeEventListener(`mouseup`,s)};window.addEventListener(`mousemove`,o),window.addEventListener(`mouseup`,s)}}var Mr=[`stroke-width`,`stroke-dasharray`],Nr=q(S({__name:`Index`,props:{borderWidth:{default:1},borderColor:{},dashArray:{default:`4, 4`},duration:{default:2},noAnimation:{type:Boolean},dir:{type:Boolean,default:!0}},setup(e){let n=e,r=s(()=>(n.dashArray?.split(`,`).map(Number)).reduce((e,t)=>e+t,0)*(n.dir?-1:1)),i=s(()=>!n.noAnimation&&n.duration>0);return(e,a)=>(E(),u(`svg`,{class:`dash-border`,style:d({color:n.borderColor})},[a[0]||(a[0]=v(`rect`,{x:`0`,y:`0`,width:`100%`,height:`100%`,fill:`none`,stroke:`transparent`,"stroke-width":`8`,class:`border-hit-area`,"pointer-events":`stroke`,"vector-effect":`non-scaling-stroke`},null,-1)),v(`rect`,{x:`0`,y:`0`,width:`100%`,height:`100%`,fill:`none`,"stroke-width":n.borderWidth,stroke:`currentColor`,"stroke-dasharray":n.dashArray,class:t([`border-rect`,{ani:i.value}]),style:d({"--duration":`${n.duration}s`,"--dash-offset":r.value}),"pointer-events":`none`,"vector-effect":`non-scaling-stroke`},null,14,Mr)],4))}}),[[`__scopeId`,`data-v-a00d67b5`]]),Pr=q(S({__name:`HandlerWithDir`,props:{type:{},rotate:{default:0}},setup(e){let n=e,r=s(()=>{let e=`rotate-`,t=n.rotate;return t>-22.5&&t<=22.5?e+0:t>22.5&&t<=67.5?e+45:t>67.5&&t<=112.5?e+90:t>112.5&&t<=157.5?e+135:t>157.5||t<=-157.5?e+0:t>-157.5&&t<=-112.5?e+45:t>-112.5&&t<=-67.5?e+90:t>-67.5&&t<=-22.5?e+135:e+0});return(n,i)=>(E(),u(`div`,{class:t([`handler`,r.value,e.type])},null,2))}}),[[`__scopeId`,`data-v-363c8647`]]),Fr=q(S({__name:`LogoOperator`,props:{element:{},scale:{}},emits:[`update`],setup(e,{emit:t}){let r={nw:`left-top`,n:`top`,ne:`right-top`,w:`left`,e:`right`,sw:`left-bottom`,s:`bottom`,se:`right-bottom`};function i(e,t,n){return e===`se`?{x:-t/2,y:-n/2}:e===`sw`?{x:t/2,y:-n/2}:e===`nw`?{x:t/2,y:n/2}:e===`ne`||e===`n`?{x:-t/2,y:n/2}:e===`s`?{x:-t/2,y:-n/2}:e===`w`?{x:t/2,y:-n/2}:e===`e`?{x:-t/2,y:-n/2}:{x:0,y:0}}function a(e,t,n,r,i){let a=i*Math.PI/180,o=Math.cos(a),s=Math.sin(a);return{x:e+n*o-r*s,y:t+n*s+r*o}}let o=e,c=t,l=s(()=>o.scale),f=s(()=>o.element.bounds[0]*l.value),p=s(()=>o.element.bounds[1]*l.value),m=s(()=>o.element.bounds[2]*l.value),h=s(()=>o.element.bounds[3]*l.value),g=s(()=>o.element.rotation??0),_=s(()=>[{direction:`nw`,style:{left:`0px`,top:`0px`}},{direction:`n`,style:{left:`${m.value/2}px`,top:`0px`}},{direction:`ne`,style:{left:`${m.value}px`,top:`0px`}},{direction:`w`,style:{left:`0px`,top:`${h.value/2}px`}},{direction:`e`,style:{left:`${m.value}px`,top:`${h.value/2}px`}},{direction:`sw`,style:{left:`0px`,top:`${h.value}px`}},{direction:`s`,style:{left:`${m.value/2}px`,top:`${h.value}px`}},{direction:`se`,style:{left:`${m.value}px`,top:`${h.value}px`}}]);function y(e){if(e.button!==0)return;e.stopPropagation();let t=e.clientX,n=e.clientY,r=[...o.element.bounds];jr(()=>{},e=>{let i=(e.clientX-t)/o.scale,a=(e.clientY-n)/o.scale;c(`update`,{bounds:[r[0]+i,r[1]+a,r[2],r[3]]})},()=>{})(e)}function S(e){if(e.button!==0)return;e.stopPropagation();let t=e.currentTarget.parentElement.getBoundingClientRect(),n=t.left+t.width/2,r=t.top+t.height/2,i=o.element.rotation??0,a=(e,t)=>{let i=e-n,a=r-t;return Math.atan2(i,a)*180/Math.PI},s=a(e.clientX,e.clientY);jr(()=>{},e=>{c(`update`,{rotation:i+(a(e.clientX,e.clientY)-s)})},()=>{})(e)}function C(e,t){if(t.button!==0)return;t.stopPropagation();let[n,r,s,l]=[...o.element.bounds],u=t.clientX,d=t.clientY,f=s/l,p=o.element.rotation??0,m=p*Math.PI/180,h=(e,t)=>{let n=20,r=20;return f<1&&(r=20/f),f>1&&(n=20*f),t===`width`?Math.max(e,n):Math.max(e,r)},g=null;if(p){let t=n+s/2,o=r+l/2,c=i(e,s,l);g=a(t,o,c.x,c.y,p)}jr(()=>{},t=>{let _=t.clientX-u,v=t.clientY-d,y=_/o.scale,b=v/o.scale;p&&(y=(Math.cos(m)*_+Math.sin(m)*v)/o.scale,b=(Math.cos(m)*v-Math.sin(m)*_)/o.scale);let x=s,S=l,C=n,w=r,T=e.includes(`w`),E=e.includes(`e`),D=e.includes(`n`),O=e.includes(`s`);if((T||E)&&(D||O)&&(b=e===`se`||e===`nw`?y/f:-y/f),T?(x=h(s-y,`width`),C=n-(x-s)):E&&(x=h(s+y,`width`)),D?(S=h(l-b,`height`),w=r-(S-l)):O&&(S=h(l+b,`height`)),p&&g){let t=C+x/2,n=w+S/2,r=i(e,x,S),o=a(t,n,r.x,r.y,p);C-=o.x-g.x,w-=o.y-g.y}c(`update`,{bounds:[C,w,x,S]})},()=>{})(t)}return(e,t)=>(E(),u(`div`,{class:`logo-operator`,style:d({left:`${f.value}px`,top:`${p.value}px`,width:`${m.value}px`,height:`${h.value}px`,transform:`rotate(${g.value}deg)`})},[v(`div`,{class:`drag-overlay`,onMousedown:U(y,[`stop`])},null,32),x(Nr,{class:`operate-dash-border`}),v(`div`,{class:`rotate-handle`,style:d({left:m.value/2+`px`}),onMousedown:U(S,[`stop`])},null,36),(E(!0),u(n,null,V(_.value,e=>(E(),b(Pr,{key:e.direction,type:r[e.direction],rotate:g.value,class:`scale-handle`,style:d(e.style),onMousedown:U(t=>C(e.direction,t),[`stop`])},null,8,[`type`,`rotate`,`style`,`onMousedown`]))),128))],4))}}),[[`__scopeId`,`data-v-c84debf7`]]),Ir={class:`title flex-center`},Lr={class:`logo-modal-container`},Rr={class:`side-upload`},zr=[`src`,`onClick`],Br={key:0,class:`selected-mask flex-center`},Vr=[`onClick`],Hr={class:`side-preview`},Ur={class:`preview-title`},Wr=[`src`],Gr={class:`slide-thumbs`},Kr=[`onClick`],qr=[`src`],Jr={class:`bottom`},Yr={key:0},Xr={class:`button-box`},Zr=[`disabled`],Qr=5,$r=80,ei=60,ti=10,ni=10,ri=`upload-logo-`,ii=q(S({__name:`LogoModal`,emits:[`close`],setup(e,{emit:r}){let i=r,a=_(!1),{pages:c,pageOrder:p,pageSize:m,markDirty:h}=Z(),{pushUndo:g,isEditable:y}=Q(),{t:S}=J(),C=ye(),{isUploading:w,uploadImage:D}=pe(),O=_(),k=_([]),A=[ti,ni,$r,ei],j=s(()=>k.value.length>=Qr),M=_(),N=_(!1),P=_(!1),I=_(0),L=0,R=()=>`${ri}${Ee(6)}`,te=e=>e.elementType===`image`&&e.elementId.startsWith(ri),ne=e=>JSON.parse(JSON.stringify(e)),z=e=>e<=4?Array.from({length:e},(e,t)=>t):[0,Math.floor(e/3),Math.floor(e*2/3),e-1],B=e=>{let t=ne(e);return t.elements=t.elements.filter(e=>!te(e)),t},re=s(()=>z(p.value.length).map(e=>{let t=p.value[e],n=t?c.value.get(t):void 0;if(!(!t||!n))return{pageId:t,slide:B(n)}}).filter(e=>!!e)),ie=s(()=>re.value[I.value]?.slide),ae=s(()=>{if(!M.value)return;let[e,t,n,r]=M.value.bounds;return{left:`${e/m.value[0]*100}%`,top:`${t/m.value[1]*100}%`,width:`${n/m.value[0]*100}%`,height:`${r/m.value[1]*100}%`,transform:`rotate(${M.value.rotation??0}deg)`,objectFit:M.value.fit?.mode??`fill`,opacity:M.value.opacity??1}}),oe=_(),se=_(0),W=s(()=>!se.value||!m.value[0]?1:se.value/m.value[0]),ce=()=>{se.value=oe.value?.clientWidth??0},G=null;H(oe,e=>{G&&(G.disconnect(),G=null),e&&(G=new ResizeObserver(ce),G.observe(e),ce())});let K=e=>{y.value&&M.value&&(M.value={...M.value,...e})},le=()=>{let e=new Set;for(let t of p.value){let n=c.value.get(t);if(n)for(let t of n.elements)te(t)&&(e.add(t.src),M.value||(M.value={...t}))}k.value=Array.from(e),k.value.length>0&&(O.value=0)},q=e=>{y.value&&(L++,k.value.splice(e,1),e===O.value?(M.value=void 0,O.value=void 0):O.value!==void 0&&enew Promise(t=>{let n=!1,r=window.setTimeout(()=>{n=!0,t(void 0)},1e3);be(e).then(e=>{n||(n=!0,window.clearTimeout(r),t(e))})}),de=async e=>{let t=$r,n=ei,r=!1;try{let i=await ue(e);if(i&&i.width>0&&i.height>0){let e=Math.min($r/i.width,ei/i.height);t=i.width*e,n=i.height*e,r=!0}}catch(e){Ae(`[Logo] Failed to read logo size`,e)}return{bounds:[ti,ni,t,n],ok:r}},fe=(e,t)=>({elementId:R(),elementType:`image`,bounds:t,src:e,fit:{mode:`fill`}}),me=async(e,t)=>{if(!y.value)return;let n=k.value[e];if(!n)return;let r=++L;if(O.value=e,M.value=fe(n,t??A),t)return;let{bounds:i,ok:a}=await de(n);!y.value||r!==L||(a||C.error(`图片尺寸读取失败,已使用默认尺寸`),M.value=fe(n,i))},he=async e=>{if(y.value){if(j.value){C.error(S(`logoModal.alertMaxLimit`));return}try{let[t,n]=await Promise.all([D(e),de(e)]);if(!y.value)return;k.value.push(t),n.ok||C.error(`图片尺寸读取失败,已使用默认尺寸`),me(k.value.length-1,n.bounds)}catch(e){Ae(`[Upload] Failed to upload logo`,e),C.error(`图片上传失败,请稍后重试`)}}},ge=_(),_e=()=>{y.value&&(w.value||ge.value?.click())},ve=async e=>{let t=e.target;if(!y.value){t.value=``;return}let n=t.files?.[0];t.value=``,n&&await he(n)},xe=()=>{if(y.value&&M.value){g();for(let e of p.value){let t=c.value.get(e);if(!t)continue;let n=t.elements.filter(e=>!te(e));n.push({...M.value,elementId:R()}),t.elements=n}c.value=new Map(c.value),h(),N.value=!0,Y(`msh_nppt_logo`,{action:`confirm`}),a.value=!1}};return H(a,e=>{e||(P.value?P.value=!1:N.value||Y(`msh_nppt_logo`,{action:`cancel`}),setTimeout(()=>{i(`close`)},300))}),H(()=>y.value,e=>{!e&&a.value&&(P.value=!0,a.value=!1)}),H(re,e=>{I.value{le(),a.value=!0}),(e,r)=>(E(),u(n,null,[x(F(Ar),{visible:a.value,"onUpdate:visible":r[1]||(r[1]=e=>a.value=e),closeable:!0,"mask-closeable":!0},{title:T(()=>[v(`div`,Ir,[l(f(F(S)(`logoModal.title`))+` `,1),x(F(qt),{content:F(S)(`logoModal.tooltip`),placement:`right`},{trigger:T(()=>[x(F(X),{class:`info-tips`,name:`Info`,width:`20`,height:`20`})]),_:1},8,[`content`])])]),body:T(()=>[v(`div`,Lr,[v(`div`,Rr,[(E(!0),u(n,null,V(k.value,(e,t)=>(E(),u(`div`,{key:e,class:`logo`},[v(`img`,{class:`logo-image`,src:e,alt:`logo`,onClick:e=>me(t)},null,8,zr),O.value===t?(E(),u(`div`,Br,[x(F(Oe),{name:`Check_f`,class:`check-icon`,width:`20`,height:`20`}),l(` `+f(F(S)(`logoModal.selected`)),1)])):o(``,!0),v(`div`,{class:`delete-btn`,onClick:U(e=>q(t),[`stop`])},[x(F(Oe),{name:`Close_f`,width:`20`,height:`20`})],8,Vr)]))),128)),j.value?o(``,!0):(E(),u(`div`,{key:0,class:t([`logo add flex-center vertical`,{disabled:F(w)}]),onClick:_e},[x(F(X),{name:`Add`,class:`add-icon`,width:`20`,height:`20`}),v(`div`,null,f(F(S)(`logoModal.upload`)),1)],2))]),v(`div`,Hr,[v(`div`,Ur,f(F(S)(`logoModal.preview`)),1),v(`div`,{ref_key:`$previewNode`,ref:oe,class:`slide-preview`},[ie.value?(E(),b(jt,{key:0,slide:ie.value,"page-width":F(m)[0],"page-height":F(m)[1]},null,8,[`slide`,`page-width`,`page-height`])):o(``,!0),M.value&&ae.value?(E(),u(`img`,{key:1,class:`preview-logo`,src:M.value.src,alt:`logo`,style:d(ae.value)},null,12,Wr)):o(``,!0),M.value&&W.value>0?(E(),b(Fr,{key:2,element:M.value,scale:W.value,onUpdate:K},null,8,[`element`,`scale`])):o(``,!0)],512),v(`div`,Gr,[(E(!0),u(n,null,V(re.value,(e,n)=>(E(),u(`div`,{key:e.pageId,class:t([`preview-thumb`,{selected:I.value===n}]),onClick:e=>I.value=n},[x(jt,{class:`preview-thumb-slide`,slide:e.slide,"page-width":F(m)[0],"page-height":F(m)[1]},null,8,[`slide`,`page-width`,`page-height`]),M.value&&ae.value?(E(),u(`img`,{key:0,class:`preview-logo`,src:M.value.src,alt:`logo`,style:d(ae.value)},null,12,qr)):o(``,!0)],10,Kr))),128))])])])]),bottom:T(()=>[v(`div`,Jr,[v(`div`,null,[j.value?(E(),u(`span`,Yr,f(F(S)(`logoModal.maxLimit`)),1)):o(``,!0)]),v(`div`,Xr,[x(F(Wt),{type:`secondary`,onClick:r[0]||(r[0]=e=>a.value=!1)},{default:T(()=>[l(f(F(S)(`common.cancel`)),1)]),_:1}),x(F(Wt),{type:`primary`,disabled:!F(y)||F(w)||!M.value,onClick:xe},{default:T(()=>[l(f(F(S)(`logoModal.applyToAll`)),1)]),_:1},8,[`disabled`])])])]),_:1},8,[`visible`]),v(`input`,{ref_key:`fileInputRef`,ref:ge,type:`file`,accept:`image/*`,style:{display:`none`},disabled:F(w),onChange:ve},null,40,Zr)],64))}}),[[`__scopeId`,`data-v-351a70ec`]]),ai={class:`annotation-mode-switch`},oi=[`disabled`],si=[`disabled`],ci=q(S({__name:`ToolbarAnnotationModeSwitch`,props:{disabled:{type:Boolean}},setup(e){let{isAnnotationMode:n,toggleAnnotationMode:r}=ue(),{t:i}=J();function a(){r(`toolbar`)}return(r,o)=>(E(),u(`div`,ai,[v(`button`,{class:t([`annotation-mode-button`,{active:!F(n)}]),type:`button`,disabled:e.disabled,onClick:o[0]||(o[0]=e=>F(n)&&a())},f(F(i)(`annotation.edit`)),11,oi),v(`button`,{class:t([`annotation-mode-button`,{active:F(n)}]),type:`button`,disabled:e.disabled,onClick:o[1]||(o[1]=e=>!F(n)&&a())},f(F(i)(`annotation.entry`)),11,si)]))}}),[[`__scopeId`,`data-v-58966556`]]),li={class:`annotation-empty-tip`},ui={class:`annotation-summary`},di={class:`annotation-count`},fi={class:`annotation-detail-panel`},pi=[`onMouseenter`,`onClick`,`onKeydown`],mi={class:`annotation-detail-index`},hi={class:`annotation-detail-thumb`},gi={class:`annotation-detail-page`},_i={class:`annotation-detail-text`},vi=[`aria-label`,`onClick`],yi=[`aria-label`],bi=480,xi=320,Si=16,Ci=q(S({__name:`ToolbarAnnotationStatus`,props:{toolbarEl:{}},setup(e){let r=e,i=_(),a=_({left:`50%`,bottom:`0`,paddingBottom:`6px`,width:`${bi}px`,transform:`translateX(-50%)`}),{pageSize:c,pages:l}=Z(),{isAnnotationMode:p,annotations:h,activeAnnotationId:g,clearAnnotations:y,removeAnnotation:S,jumpToAnnotation:C,highlightAnnotation:w}=ue(),{t:D}=J(),{showConfirm:O}=de(),k=s(()=>h.value.length);async function A(){await O({title:D(`annotation.clearConfirm.title`),content:D(`annotation.clearConfirm.content`),confirmText:D(`annotation.clearConfirm.confirmText`),cancelText:D(`annotation.clearConfirm.cancelText`),confirmType:`danger`})&&await y()}function j(e){S(e)}function N(e){w(e)}function P(){w()}function I(e){C(e)}function L(e){return D(`annotation.pageLabel`,{page:e.pageLabel||`${e.pageIndex+1}`})}function R(e){return l.value.get(e.pageId)||l.value.get(`${e.pageId}.page`)}function ee(){let e=i.value,t=r.toolbarEl;if(!e||!t||typeof window>`u`)return;let n=window.innerWidth,o=n-Si*2;if(o<=0)return;let s=o{requestAnimationFrame(ee)})}return te(`resize`,ne),H(k,ne),H(()=>r.toolbarEl,ne),(e,r)=>(E(),u(n,null,[F(p)&&!k.value?(E(),u(n,{key:0},[r[2]||(r[2]=v(`div`,{class:`toolbar-divider`},null,-1)),v(`div`,li,f(F(D)(`annotation.emptyTip`)),1)],64)):o(``,!0),k.value?(E(),u(n,{key:1},[r[3]||(r[3]=v(`div`,{class:`toolbar-divider`},null,-1)),v(`div`,ui,[v(`div`,di,[v(`div`,{ref_key:`annotationSummaryRef`,ref:i,class:`annotation-detail-trigger`,tabindex:`0`,onMouseenter:ee,onFocusin:ee},[v(`span`,null,f(F(D)(`annotation.addedCount`,{count:k.value})),1),v(`div`,{class:`annotation-detail-popover`,style:d(a.value)},[v(`div`,fi,[(E(!0),u(n,null,V(F(h),(e,n)=>(E(),u(`div`,{key:e.id,class:t([`annotation-detail-item`,{active:e.id===F(g)}]),role:`button`,tabindex:`0`,onMouseenter:t=>N(e),onMouseleave:P,onClick:t=>I(e),onKeydown:[m(U(t=>I(e),[`prevent`]),[`enter`]),m(U(t=>I(e),[`prevent`]),[`space`])]},[v(`span`,mi,f(n+1),1),v(`span`,hi,[R(e)?(E(),b(jt,{key:0,slide:R(e),"page-width":F(c)[0],"page-height":F(c)[1]},null,8,[`slide`,`page-width`,`page-height`])):o(``,!0)]),v(`span`,gi,f(L(e)),1),v(`span`,_i,f(e.annotation),1),v(`button`,{class:`annotation-detail-remove`,type:`button`,"aria-label":F(D)(`annotation.delete`),onClick:U(t=>j(e.id),[`stop`]),onKeydown:[r[0]||(r[0]=m(U(()=>{},[`stop`]),[`enter`])),r[1]||(r[1]=m(U(()=>{},[`stop`]),[`space`]))]},[x(F(X),{name:`Close_f`,width:`16`,height:`16`})],40,vi)],42,pi))),128))])],4)],544),x(F(qt),{content:F(D)(`annotation.clear`),placement:`top`},{trigger:T(()=>[v(`button`,{class:`annotation-clear`,type:`button`,"aria-label":F(D)(`annotation.clear`),onClick:A},[x(F(X),{name:`Delete`,width:`14`,height:`14`})],8,yi)]),_:1},8,[`content`])])])],64)):o(``,!0)],64))}}),[[`__scopeId`,`data-v-b22e4986`]]),wi=[200,150];async function Ti(e,t){let n=wi[0],r=wi[1];try{let t=await be(e);n=t.width,r=t.height}catch{}let[i,a]=t,o=r/n;return oi?(n=i,r=n*o):r>a&&(r=a,n=r/o),[(i-n)/2,(a-r)/2,n,r]}var Ei=200,Di=4,Oi=100,ki=36,Ai=[200,70],ji=`

`;function Mi(e,t,n=Ei){let[r,i]=e,[a,o]=t,s=Math.min(r,a),c=Math.min(i,o),l=Math.abs(a-r),u=Math.abs(o-i);if(l<=Di&&u<=Di){let[e,t]=Array.isArray(n)?n:[n,n];return[s,c,e,t]}return[s,c,Math.max(l,1),Math.max(u,1)]}function Ni(e,t,n=!1){let r={text:e,align:[n?`right`:`left`,`top`]};return t?.textStyles?.body&&(r.style=`$body`),r}function Pi(e){return{type:`solid`,color:e}}function Fi(e,t,n){let r=t*Oi,i=e*ki,a=Array.from({length:e},()=>Array.from({length:t},()=>({content:{text:`

`}})));return{elementId:Ee(6),elementType:`table`,bounds:[(n[0]-r)/2,(n[1]-i)/2,r,i],columnWidths:Array(t).fill(1/t),rowHeights:Array(e).fill(1/e),rows:a}}function Ii(e,t,n={}){let{currentPage:r,pageSize:i,addElement:a,theme:o,colorList:c}=Z(),{creatingElement:l,handleElementId:u,selectedElementIds:d,pushUndo:f}=Q(),{locale:p}=J(),m=_(null),h=_(null),g=s(()=>{if(!m.value||!h.value)return{display:`none`};let[e,t]=m.value,[n,r]=h.value,i=Math.min(e,n),a=Math.min(t,r),o=Math.abs(n-e),s=Math.abs(r-t);return{left:`${i}px`,top:`${a}px`,width:`${o}px`,height:`${s}px`}}),v=s(()=>{if(!m.value||!h.value||l.value?.type!==`shape`||!bt(l.value?.shapeName))return null;let[e,t]=m.value,[n,r]=h.value,i=Math.min(e,n),a=Math.max(e,n),o=Math.min(t,r),s=Math.max(t,r),c=Math.max(a-i,2),u=Math.max(s-o,2);return{left:i,top:o,width:c,height:u,path:`M${e===i?0:c},${t===o?0:u} L${n===i?0:c},${r===o?0:u}`}});function y(n){if(!e.value)return[0,0];let r=e.value.getBoundingClientRect();return[(n.clientX-r.left)/t.value,(n.clientY-r.top)/t.value]}function b(e){return!e||e===`none`?null:e===`triangle`?`arrow`:e}function x(e){if(e.button!==0)return;e.stopPropagation();let[t,n]=y(e);m.value=[t,n],h.value=[t,n];let r=e=>{let[t,n]=y(e);if(e.ctrlKey||e.metaKey||e.shiftKey){let e=l.value,[r,i]=m.value,a=t-r,o=n-i,s=Math.abs(a),c=Math.abs(o);if(e?.type===`shape`&&bt(e?.shapeName))s>c?n=i:t=r;else if(e?.type===`shape`){let e=o>0&&a<0||o<0&&a>0;s>c?n=e?i-a:i+a:t=e?r-o:r+o}}h.value=[t,n]},i=()=>{window.removeEventListener(`mousemove`,r),window.removeEventListener(`mouseup`,i),w()};window.addEventListener(`mousemove`,r),window.addEventListener(`mouseup`,i)}function S(e){if(!r.value)return!1;f();let t=r.value.pageId,n={elementId:Ee(6),elementType:`text`,bounds:Mi(e,e,Ai),content:Ni(ji,o.value,we(p.value))};return a(t,n),T(n.elementId),!0}function C(e){return S(y(e))}function w(){let e=l.value;if(!e||!m.value||!h.value||!r.value){m.value=null,h.value=null,l.value=void 0;return}let[t,s]=m.value,[u,d]=h.value,g=Math.min(t,u),_=Math.min(s,d),v=Math.max(t,u),y=Math.max(s,d);f();let x=r.value.pageId,S=Mi(m.value,h.value),C=c.value[0];if(e.type===`text`){let e={elementId:Ee(6),elementType:`text`,bounds:Mi(m.value,h.value,Ai),content:Ni(ji,o.value,we(p.value))};a(x,e),T(e.elementId),n.onCreateSuccess?.(`text`)}else if(e.type===`shape`)if(bt(e.shapeName)){let r=Math.max(v-g,2),i=Math.max(y-_,2),o=t===g?0:r,c=s===_?0:i,l=u===g?0:r,f=d===_?0:i;if(e.shapeName===`line`){let t={elementId:Ee(6),elementType:`line`,bounds:[g,_,r,i],viewBox:[r,i],points:`${o},${c} ${l},${f}`,border:{style:`solid`,color:C,width:2},arrow:e.points?[b(e.points[0]),b(e.points[1])]:void 0};a(x,t),T(t.elementId),n.onCreateSuccess?.(`line`)}else{let o={elementId:Ee(6),elementType:`shape`,bounds:[g,_,r,i],shapeName:e.shapeName,border:{style:`solid`,color:C,width:2},arrow:e.points?[b(e.points[0]),b(e.points[1])]:void 0,flip:[t>u,s>d]};a(x,o),T(o.elementId),n.onCreateSuccess?.(`shape`)}}else{let t={elementId:Ee(6),elementType:`shape`,bounds:S,shapeName:e.shapeName,fill:Pi(C)};a(x,t),T(t.elementId),n.onCreateSuccess?.(`shape`)}else if(e.type===`image`&&e.src){let t=(i.value[0]-200)/2,r=(i.value[1]-150)/2,o={elementId:Ee(6),elementType:`image`,bounds:[t,r,200,150],src:e.src,fit:{mode:`fill`}};a(x,o),T(o.elementId),n.onCreateSuccess?.(`image`)}m.value=null,h.value=null,l.value=void 0}function T(e){u.value=e,d.value=[e]}return H(l,async e=>{if(e?.type===`image`&&e.src&&r.value){let t=await Ti(e.src,i.value);f();let o={elementId:Ee(6),elementType:`image`,bounds:t,src:e.src,fit:{mode:`fill`}};a(r.value.pageId,o),T(o.elementId),n.onCreateSuccess?.(`image`),l.value=void 0}}),{creatingElement:l,createStart:m,createEnd:h,selectionStyle:g,lineSelectionData:v,onCreateMouseDown:x,createTextAtPointer:C}}var Li={key:0,class:`toolbar-divider`},Ri={class:`graphics-panel`},zi={class:`graphics-content`},Bi={class:`pool-container`},Vi={class:`pool-container`},Hi=[`disabled`],Ui=q(S({__name:`Toolbar`,setup(e){let{creatingElement:r,rightPanelType:i,handleElementId:a,selectedElementIds:c,pushUndo:p,isEditable:m,toggleThemePanel:h,toggleAnimationPanel:g}=Q(),y=_(!1),S=_(),C=_(`shape`),w=_(null),D=_(),O=_(),k=_();P();let{currentPage:A,addElement:j,pageSize:N,colorList:I}=Z(),{isAnnotationMode:L,annotations:R}=ue(),{functional:ne}=ve(),{t:z,locale:B}=J(),re=ye(),{isUploading:V,uploadImage:ie}=pe(),ae={teleport:!0,placement:`top`,offset:12,align:`center`,withinWindow:!0},oe=s(()=>r.value?.type===`shape`&&bt(r.value.shapeName)),se=s(()=>r.value?.type===`shape`||oe.value),W=s(()=>!m.value||L.value),ce=s(()=>R.value.length),G=s(()=>ne.value.annotation),K=s(()=>!G.value||!L.value&&ce.value===0),le=s(()=>G.value&&K.value),q=s(()=>!!A.value?.animations?.length),de=s(()=>k.value?{width:`${k.value}px`}:{}),fe=()=>{r.value=void 0},me=()=>{S.value?.close()},he=e=>{Y(`msh_nppt_create_element_success`,{type:e,from:`action-bar`},[`type`,`from`])},ge=()=>{if(!W.value){if(r.value?.type===`text`){fe();return}Y(`msh_nppt_action_bar_create_click`,{type:`text`},`type`),r.value={type:`text`}}},_e=e=>{W.value||(Y(`msh_nppt_action_bar_create_click`,{type:`shape`},`type`),r.value={type:`shape`,shapeName:e},me())},be=e=>{if(W.value)return;let t=`type`in e?e.type:void 0;bt(t)&&(Y(`msh_nppt_action_bar_create_click`,{type:t===`line`?`line`:`shape`},`type`),r.value={type:`shape`,shapeName:t||`line`,points:`points`in e?e.points:[``,``]},me())},xe=(e,t)=>{if(W.value||!A.value)return;Y(`msh_nppt_action_bar_create_click`,{type:`table`},`type`),r.value=void 0;let n=Fi(e,t,N.value);p(),j(A.value.pageId,n),he(`table`),a.value=n.elementId,c.value=[n.elementId]},Se=(e,t)=>{W.value||t||!se.value||(fe(),e.stopPropagation())},Ce=()=>{Y(`msh_nppt_action_bar_create_click`,{type:`theme`},`type`),h()},we=()=>{Y(`msh_nppt_action_bar_create_click`,{type:`animation`},`type`),g()};H(()=>A.value?.animations?.length??0,e=>{e===0&&i.value===`animation`&&(i.value=null)});let Te=async e=>{if(W.value||!A.value)return;Y(`msh_nppt_action_bar_create_click`,{type:`latex`},`type`);let t=(N.value[0]-300)/2,n=(N.value[1]-150)/2,r={elementId:Ee(6),elementType:`text`,bounds:[t,n,300,150],content:{text:`

`,align:[`center`,`middle`]}};p(),j(A.value.pageId,r),he(`text`),a.value=r.elementId,c.value=[r.elementId],await M(),await new Promise(e=>requestAnimationFrame(e)),ot.emit(it.INSERT_LATEX,{target:r.elementId,tex:e,action:`insert`})},De=e=>{if(W.value||!A.value)return;Y(`msh_nppt_action_bar_create_click`,{type:`icon`},`type`);let t=(N.value[0]-75)/2,n=(N.value[1]-75)/2,r={elementId:Ee(6),elementType:`icon`,bounds:[t,n,75,75],iconName:e,fill:{type:`solid`,color:I.value[0]}};j(A.value.pageId,r),he(`icon`),me()},Oe=_(),ke=()=>{W.value||(Y(`msh_nppt_action_bar_create_click`,{type:`image`},`type`),Oe.value?.click())},je=()=>{W.value||(Y(`msh_nppt_action_bar_create_click`,{type:`logo`},`type`),y.value=!0)},Fe=async e=>{let t=e.target;if(!m.value){t.value=``;return}let n=t.files?.[0];if(t.value=``,n)try{let e=await ie(n);if(W.value)return;r.value={type:`image`,src:e}}catch(e){Ae(`[Upload] Failed to upload image`,e),re.error(`图片上传失败,请稍后重试`)}};function Ie(e){if(!(e instanceof HTMLElement))return 0;let t=e.querySelector(`.horizontal-overflow-track`);return t?t.scrollWidth:Math.max(e.scrollWidth,e.getBoundingClientRect().width)}function Le(){let e=O.value;if(!e)return;let t=Array.from(e.children).reduce((e,t,n)=>e+(n>0?8:0)+Ie(t),0);k.value=Math.ceil(t)}function Re(){M(()=>{requestAnimationFrame(Le)})}return te(`resize`,Re),ee(()=>{Re()}),H([K,le,G,L,ce,B,q],Re),(e,a)=>(E(),u(n,null,[v(`div`,{ref_key:`toolbarRef`,ref:D,class:`toolbar`},[G.value?(E(),b(ci,{key:0,disabled:!F(m)},null,8,[`disabled`])):o(``,!0),v(`div`,{ref_key:`toolbarDynamicRef`,ref:O,class:`toolbar-dynamic`,style:d(de.value)},[le.value?(E(),u(`div`,Li)):o(``,!0),K.value?(E(),b(Vn,{key:1,class:`toolbar-overflow`},{default:T(()=>[x(Bn,{icon:`Text`,tooltip:F(z)(`insert.text`),active:F(r)?.type===`text`,disabled:W.value,onClick:ge},null,8,[`tooltip`,`active`,`disabled`]),x(Yt,{ref_key:`graphicsPopoverRef`,ref:S,"hide-caret":!0,"float-options":ae,disabled:W.value,"content-click-closes":!1},{trigger:T(({popoverVisible:e})=>[x(Bn,{icon:`Shape`,tooltip:F(z)(`insert.graphics`),active:e||se.value,disabled:W.value,onClick:t=>Se(t,e)},null,8,[`tooltip`,`active`,`disabled`,`onClick`])]),popover:T(()=>[v(`div`,Ri,[x(Ne,{current:C.value,"onUpdate:current":a[1]||(a[1]=e=>C.value=e)},{default:T(()=>[x(Pe,{class:`graphics-tabs`,onClick:a[0]||(a[0]=U(()=>{},[`stop`]))},{default:T(()=>[x(Me,{name:`shape`,class:`graphics-tab`},{default:T(()=>[x(F(X),{class:`graphics-tab-icon`,name:`Shape`,width:`20`,height:`20`}),l(` `+f(F(z)(`insert.graphicsShapeTab`)),1)]),_:1}),x(Me,{name:`line`,class:`graphics-tab`},{default:T(()=>[x(F(X),{class:`graphics-tab-icon`,name:`Line`,width:`20`,height:`20`}),l(` `+f(F(z)(`insert.graphicsLineTab`)),1)]),_:1}),x(Me,{name:`icon`,class:`graphics-tab`},{default:T(()=>[x(F(X),{class:`graphics-tab-icon`,name:`Icon`,width:`20`,height:`20`}),l(` `+f(F(z)(`insert.graphicsIconTab`)),1)]),_:1})]),_:1}),v(`div`,zi,[v(`div`,Bi,[C.value===`shape`?(E(),b(Qn,{key:0,onSelect:_e})):C.value===`line`?(E(),b(sr,{key:1,onSelect:be})):(E(),b(wr,{key:2,onSelect:De}))])])]),_:1},8,[`current`])])]),_:1},8,[`disabled`]),x(Bn,{icon:`Image`,tooltip:F(z)(`insert.image`),disabled:W.value||F(V),onClick:ke},null,8,[`tooltip`,`disabled`]),x(Yt,{"hide-caret":!0,"float-options":ae,disabled:W.value},{trigger:T(({popoverVisible:e})=>[x(Bn,{icon:`Tabular`,tooltip:F(z)(`insert.table`),active:e,disabled:W.value},null,8,[`tooltip`,`active`,`disabled`])]),popover:T(()=>[v(`div`,Vi,[x(dr,{onSelect:xe})])]),_:1},8,[`disabled`]),x(Bn,{icon:`Style`,tooltip:F(z)(`insert.theme`),active:F(i)===`theme`,disabled:W.value,onClick:Ce},null,8,[`tooltip`,`active`,`disabled`]),q.value?(E(),b(Bn,{key:0,icon:`Animation`,tooltip:F(z)(`insert.animation`),active:F(i)===`animation`,disabled:W.value,onClick:we},null,8,[`tooltip`,`active`,`disabled`])):o(``,!0),x(Yt,{"hide-caret":!0,"float-options":ae,disabled:W.value},{trigger:T(({popoverVisible:e})=>[x(Bn,{icon:`More`,tooltip:F(z)(`insert.more`),active:e,disabled:W.value,onClick:a[2]||(a[2]=e=>w.value=null)},null,8,[`tooltip`,`active`,`disabled`])]),popover:T(()=>[v(`div`,{class:t([`more-menu`,{"formula-mode":w.value===`latex`}])},[w.value===`latex`?(E(),b(gr,{key:0,onSelect:Te})):(E(),u(n,{key:1},[v(`button`,{class:`more-menu-item`,onClick:a[3]||(a[3]=U(e=>w.value=`latex`,[`stop`]))},[x(F(X),{class:`more-menu-icon`,name:`MathFormula`,width:`20`,height:`20`}),v(`span`,null,f(F(z)(`insert.latex`)),1)]),v(`button`,{class:`more-menu-item`,onClick:je},[x(F(X),{class:`more-menu-icon`,name:`Watermark`,width:`20`,height:`20`}),v(`span`,null,f(F(z)(`insert.watermark`)),1)])],64))],2)]),_:1},8,[`disabled`])]),_:1})):o(``,!0),G.value?(E(),b(Ci,{key:2,"toolbar-el":D.value},null,8,[`toolbar-el`])):o(``,!0)],4),v(`input`,{ref_key:`fileInputRef`,ref:Oe,type:`file`,accept:`image/*`,style:{display:`none`},disabled:F(V),onChange:Fe},null,40,Hi)],512),y.value?(E(),b(ii,{key:0,onClose:a[4]||(a[4]=e=>y.value=!1)})):o(``,!0)],64))}}),[[`__scopeId`,`data-v-9de0e2e7`]]),Wi={class:`scale-value-text`},Gi=q(S({__name:`ScaleMenu`,emits:[`zoomIn`,`zoomOut`,`fitScreen`,`setScale`],setup(e,{emit:t}){let{canvasScale:n}=Q(),{t:r}=J(),i=s(()=>Math.round(n.value*100)+`%`),a=[`50%`,`100%`,`150%`,`200%`],o=s(()=>{let e=i.value;return a.includes(e)?e:void 0}),c=s(()=>[{label:r(`scaleMenu.fitScreen`),value:`fitScreen`},{label:`50%`,value:`50%`},{label:`100%`,value:`100%`},{label:`150%`,value:`150%`},{label:`200%`,value:`200%`}]),l=t,d=()=>l(`zoomIn`),p=()=>l(`zoomOut`),m=e=>{if(e===`fitScreen`){l(`fitScreen`);return}l(`setScale`,Number.parseInt(e,10)/100)},h=e=>{e.preventDefault(),e.deltaY>0?p():e.deltaY<0&&d()};return(e,t)=>(E(),u(`div`,{class:`scale-menu`,onWheel:h},[x(F(Wt),{type:`icon`,icon:`minus`,tooltip:F(r)(`scaleMenu.zoomOut`),"tooltip-placement":`bottom`,onClick:p},null,8,[`tooltip`]),x(Xt,{class:`scale-value`,"menu-list":c.value,"active-menu":o.value,onClick:m},{label:T(()=>[v(`span`,Wi,f(i.value),1)]),_:1},8,[`menu-list`,`active-menu`]),x(F(Wt),{type:`icon`,icon:`plus`,tooltip:F(r)(`scaleMenu.zoomIn`),"tooltip-placement":`bottom`,onClick:d},null,8,[`tooltip`])],32))}}),[[`__scopeId`,`data-v-961c846e`]]),Ki={class:`editor-bar`},qi={class:`toolbar-group`},Ji={key:0,class:`sidebar-restore`},Yi={class:`toolbar-group`},Xi=q(S({__name:`EditorBar`,emits:[`zoomIn`,`zoomOut`,`fitScreen`,`setScale`],setup(e,{emit:t}){let{undo:n,redo:r,canUndo:i,canRedo:a,sidebarCollapsed:s,isEditable:c}=Q(),{isAnnotationMode:l}=ue(),{t:d}=J(),f=t;return(e,t)=>(E(),u(`div`,Ki,[v(`div`,qi,[F(s)?(E(),u(`div`,Ji,[x(F(Wt),{type:`icon`,icon:`Pages`,tooltip:F(d)(`sideBar.expand`),"tooltip-placement":`bottom`,onClick:t[0]||(t[0]=e=>s.value=!1)},null,8,[`tooltip`]),t[5]||(t[5]=v(`div`,{class:`sidebar-restore-divider`},null,-1))])):o(``,!0),x(F(Wt),{type:`icon`,disabled:!F(c)||!F(i)||F(l),icon:`Undo`,tooltip:F(d)(`basic.undo`),"tooltip-placement":`bottom`,onClick:F(n)},null,8,[`disabled`,`tooltip`,`onClick`]),x(F(Wt),{type:`icon`,disabled:!F(c)||!F(a)||F(l),icon:`Redo`,tooltip:F(d)(`basic.redo`),"tooltip-placement":`bottom`,onClick:F(r)},null,8,[`disabled`,`tooltip`,`onClick`])]),v(`div`,Yi,[x(Gi,{onZoomIn:t[1]||(t[1]=e=>f(`zoomIn`)),onZoomOut:t[2]||(t[2]=e=>f(`zoomOut`)),onFitScreen:t[3]||(t[3]=e=>f(`fitScreen`)),onSetScale:t[4]||(t[4]=e=>f(`setScale`,e))})])]))}}),[[`__scopeId`,`data-v-3bd11e5a`]]),Zi={class:`right-panel-content`},Qi=q(S({__name:`RightPanel`,setup(e){let{rightPanelWidth:n,rightPanelType:r}=Q(),i=_(!1);return(e,a)=>(E(),b(N,{name:`right-panel-slide`},{default:T(()=>[F(r)?(E(),u(`div`,{key:0,class:t([`right-panel`,{dragging:i.value}]),style:d({"--right-panel-width":`${F(n)}px`})},[v(`div`,Zi,[F(r)===`theme`?O(e.$slots,`theme`,{key:0},void 0,!0):o(``,!0),F(r)===`diff`?O(e.$slots,`diff`,{key:1},void 0,!0):o(``,!0),F(r)===`animation`?O(e.$slots,`animation`,{key:2},void 0,!0):o(``,!0)]),x(Rn,{class:`splitter`,dir:`x`,size:8,value:F(n),"onUpdate:value":a[0]||(a[0]=e=>g(n)?n.value=e:null),dragging:i.value,"onUpdate:dragging":a[1]||(a[1]=e=>i.value=e),min:F(220),max:F(700),calc:e=>-e},null,8,[`value`,`dragging`,`min`,`max`,`calc`])],6)):o(``,!0)]),_:3}))}}),[[`__scopeId`,`data-v-7092f262`]]),$i=`./like-GLEaLv1J.png`,ea=function(e){return e[e.Bad=1]=`Bad`,e[e.Normal=2]=`Normal`,e[e.Good=3]=`Good`,e}({}),ta={class:`feedback-title`},na=[`src`],ra={key:0,class:`feedback-buttons`},ia=`pptd-v2`,aa=q(S({__name:`FeedbackSnackbar`,emits:[`close`],setup(e,{emit:i}){let a=i,{t:c}=J(),d=C(`snackbarRef`),{width:p}=A(d),m=s(()=>p.value>0&&p.value<500),h=_(!0),g=_(void 0),{start:y,stop:S}=r(()=>{M()},3e3,{immediate:!1}),w=[{icon:`Smile`,labelKey:`feedback.snackbar.good`,value:ea.Good},{icon:`Normal`,labelKey:`feedback.snackbar.normal`,value:ea.Normal},{icon:`Bad`,labelKey:`feedback.snackbar.bad`,value:ea.Bad}],D=e=>{g.value||(g.value=e,Y(`msh_nppt_feedback_rate`,{rate:e,rate_for:ia}),y())},O=()=>{S()},k=()=>{g.value&&y()},j=()=>{S(),Y(`msh_nppt_feedback_click`,{from:`rating`,rate_for:ia}),he(`showFeedback`,{additionParams:{rate:g.value??0}}),M()},M=()=>{h.value&&(S(),h.value=!1)},P=()=>{a(`close`)};return(e,r)=>(E(),b(N,{name:`slide-up`,appear:``,onAfterLeave:P},{default:T(()=>[h.value?(E(),u(`div`,{key:0,ref_key:`snackbarRef`,ref:d,class:t([`feedback-snackbar`,{"feedback-snackbar--narrow":m.value}]),onMouseenter:O,onMouseleave:k},[v(`div`,ta,[g.value===F(ea).Good&&!m.value?(E(),u(`img`,{key:0,class:`like-icon`,src:F($i)},null,8,na)):o(``,!0),l(` `+f(g.value?F(c)(`feedback.snackbar.successMessage`):F(c)(`feedback.snackbar.title`)),1)]),g.value?(E(),b(F(Wt),{key:1,type:`secondary`,size:`medium`,class:`feedback-write-btn`,onClick:j},{default:T(()=>[l(f(F(c)(`feedback.snackbar.writeFeedback`)),1)]),_:1})):(E(),u(`div`,ra,[(E(),u(n,null,V(w,e=>x(F(Wt),{key:e.value,type:`secondary`,icon:e.icon,onClick:t=>D(e.value)},{default:T(()=>[l(f(F(c)(e.labelKey)),1)]),_:2},1032,[`icon`,`onClick`])),64))])),v(`button`,{type:`button`,class:`feedback-close`,onClick:M},[x(F(X),{name:`Close`,width:`20`,height:`20`})])],34)):o(``,!0)]),_:1}))}}),[[`__scopeId`,`data-v-daa80549`]]),oa=`__kimi_slides_clipboard__`;function sa(e){return e.length===1?e[0].elementType:`multiple`}var ca=De(()=>{let{currentPage:e,pageSize:t,removeElement:n,addElement:r}=Z(),{selectedElementIds:i,handleElementId:a,focusArea:o,disableHotkeys:s,pushUndo:c,isEditable:l}=Q(),{pasteFromText:u}=Mn(),{uploadImage:d}=pe(),f=ye();function p(){if(!e.value)return[];let t=new Set(i.value);return e.value.elements.filter(e=>t.has(e.elementId))}function m(e){i.value=e,a.value=e[0]??null,o.value=`editor`}function h(e){let t=e??p();if(!t.length)return;let n=t.map(e=>({...e,elementId:Ee(6)})),r=JSON.stringify({type:`elements`,data:n});navigator.clipboard.writeText(r).catch(()=>{localStorage.setItem(oa,r)})}function g(t){if(!l.value)return;let r=t??p();if(r.length&&(h(r),e.value)){c();for(let t of r)n(e.value.pageId,t.elementId);i.value=[],a.value=null}}function _(t){if(!l.value||!e.value||!t.length)return!1;c();let n=[];for(let i of t){let t=Ee(6),a={...i,elementId:t,bounds:[i.bounds[0]+10,i.bounds[1]+10,i.bounds[2],i.bounds[3]]};r(e.value.pageId,a),n.push(t)}return m(n),Y(`msh_nppt_create_element_success`,{type:sa(t),from:`paste`},[`type`,`from`]),!0}function v(n){if(!l.value||!e.value||!n)return!1;c();let i=Math.min(600,t.value[0]-80),a=Math.max((t.value[0]-i)/2,0),o=Math.max((t.value[1]-50)/2,0),s=n.split(/\r?\n/).map(e=>`

${Ce(e)||`
`}

`),u=Ee(6),d={elementId:u,elementType:`text`,bounds:[a,o,i,50],content:{text:s.join(``),align:[`left`,`top`]}};return r(e.value.pageId,d),m([u]),Y(`msh_nppt_create_element_success`,{type:`text`,from:`plain-paste`},[`type`,`from`]),!0}function y(t){if(!l.value||!e.value||!t)return!1;try{let e=JSON.parse(t);if(e.type===`elements`&&Array.isArray(e.data))return _(e.data)}catch{return v(t)}return v(t)}async function b(){if(!l.value)return;let e=``;try{e=await navigator.clipboard.readText()}catch{e=localStorage.getItem(oa)||``}y(e)}async function x(n){if(!l.value)return!1;let i=e.value;if(!i||!n.type.startsWith(`image/`))return!1;try{let e=await d(n);if(!l.value)return!1;let a=await Ti(e,t.value);c();let o=Ee(6),s={elementId:o,elementType:`image`,bounds:a,src:e,fit:{mode:`fill`}};return r(i.pageId,s),m([o]),!0}catch(e){return Ae(`[Upload] Failed to paste image`,e),f.error(`图片上传失败,请稍后重试`),!1}}function S(t){if(!l.value)return;let r=t??p();if(r.length&&e.value){c();for(let t of r)n(e.value.pageId,t.elementId);i.value=[],a.value=null}}async function C(e){if(!l.value||s.value||o.value!==`editor`&&o.value!==`sidebar`||!e.clipboardData)return;if(o.value===`sidebar`){u(e.clipboardData.getData(`text/plain`))&&e.preventDefault();return}let t=null;for(let n=0;n{document.addEventListener(`paste`,C)}),B(()=>{document.removeEventListener(`paste`,C)}),On(`element.copy`,()=>h()),On(`element.cut`,()=>g()),On(`element.paste`,()=>b()),On(`element.delete`,()=>S()),{copy:h,cut:g,paste:b,pasteFromText:y,pasteImageFile:x,delete:S}});function la(e){let{currentPage:t,pageSize:n,updateElement:r,reorderElement:i}=Z(),{selectedElementIds:a,pushUndo:o,isEditable:s}=Q(),{copy:c,cut:l,paste:u,delete:d}=ca(),{t:f}=J();function p(e,i){if(!s.value||!t.value)return;o();let[a,c]=n.value,[l,u,d,f]=e.bounds,p=l,m=u;switch(i){case`left`:p=0;break;case`right`:p=a-d;break;case`top`:m=0;break;case`bottom`:m=c-f;break;case`horizontal`:p=(a-d)/2;break;case`vertical`:m=(c-f)/2;break;case`center`:p=(a-d)/2,m=(c-f)/2;break}r(t.value.pageId,e.elementId,{bounds:[p,m,d,f]})}return{createElementContextMenus:()=>{let n=e();return!s.value||!t.value||!n?[]:[{id:`element.cut`,text:f(`contextMenu.cut`),subText:`Ctrl + X`,handler:()=>{a.value=[n.elementId],l([n])}},{id:`element.copy`,text:f(`contextMenu.copy`),subText:`Ctrl + C`,handler:()=>{a.value=[n.elementId],c([n])}},{id:`element.paste`,text:f(`contextMenu.paste`),subText:`Ctrl + V`,handler:()=>u()},{id:`element.delete`,text:f(`contextMenu.delete`),subText:`Delete`,handler:()=>{a.value=[n.elementId],d([n])}},{divider:!0},{id:`element.moveUpOneLayer`,text:f(`contextMenu.moveUpOneLayer`),handler:()=>{o(),i(t.value.pageId,n.elementId,`up`)}},{id:`element.moveDownOneLayer`,text:f(`contextMenu.moveDownOneLayer`),handler:()=>{o(),i(t.value.pageId,n.elementId,`down`)}},{id:`element.bringToTop`,text:f(`contextMenu.bringToTop`),handler:()=>{o(),i(t.value.pageId,n.elementId,`top`)}},{id:`element.sendToBottom`,text:f(`contextMenu.sendToBottom`),handler:()=>{o(),i(t.value.pageId,n.elementId,`bottom`)}},{divider:!0},{id:`element.align`,text:f(`contextMenu.align`),children:[{id:`element.align.center`,text:f(`contextMenu.alignCenter`),handler:()=>p(n,`center`)},{id:`element.align.horizontal`,text:f(`contextMenu.alignHorizontal`),handler:()=>p(n,`horizontal`)},{id:`element.align.vertical`,text:f(`floatBar.verticallyCenter`),handler:()=>p(n,`vertical`)},{id:`element.align.left`,text:f(`floatBar.leftAlign`),handler:()=>p(n,`left`)},{id:`element.align.right`,text:f(`floatBar.rightAlign`),handler:()=>p(n,`right`)},{id:`element.align.top`,text:f(`floatBar.topAlign`),handler:()=>p(n,`top`)},{id:`element.align.bottom`,text:f(`floatBar.bottomAlign`),handler:()=>p(n,`bottom`)}]}]}}}var ua=[`data-element-id`],da=q(S({__name:`EditableElement`,props:{element:{},isSelected:{type:Boolean},hidden:{type:Boolean},highlighted:{type:Boolean}},emits:[`update`,`select`,`dragStart`,`drag`,`dragEnd`],setup(e,{emit:n}){let r=e,i=n,{selectedElementIds:a,handleElementId:o,isEditable:c}=Q(),{createElementContextMenus:l}=la(()=>r.element),f=jr(e=>i(`dragStart`,e.clientX,e.clientY),e=>i(`drag`,e.clientX,e.clientY,e.shiftKey),()=>i(`dragEnd`)),p=e=>{if(c.value&&e.button===0){if(e.shiftKey){let e=new Set(a.value);e.has(r.element.elementId)?e.delete(r.element.elementId):e.add(r.element.elementId),a.value=Array.from(e),o.value=r.element.elementId;return}i(`select`,e),r.element.elementType!==`text`&&r.element.elementType!==`table`&&(e.preventDefault(),f(e))}},m={text:Ue,shape:ze,line:tt,image:Rt,table:st,chart:Mt,icon:St},h=s(()=>m[r.element.elementType]),g=s(()=>{let[e,t,n,i]=r.element.bounds,a=r.element.rotation??0;return{"--el-x":`${e}px`,"--el-y":`${t}px`,"--el-w":`${n}px`,"--el-h":`${i}px`,"--el-r":`${a}deg`,cursor:r.element.elementType===`text`?void 0:`move`,pointerEvents:c.value?void 0:`none`}});return(n,r)=>{let a=ne(`contextmenu`);return ae((E(),u(`div`,{class:t([`editable-element`,{selected:e.isSelected,"animation-hidden":e.hidden,highlighted:e.highlighted}]),"data-testid":`editable-element`,"data-element-id":e.element.elementId,style:d(g.value),onMousedown:U(p,[`stop`]),onClick:r[1]||(r[1]=U(()=>{},[`stop`]))},[(E(),b(L(h.value),{element:e.element,onUpdate:r[0]||(r[0]=e=>i(`update`,e))},null,40,[`element`]))],46,ua)),[[a,F(l)]])}}}),[[`__scopeId`,`data-v-eecf2ca2`]]),fa=q(S({__name:`index`,props:{element:{},scale:{default:1},disableInteraction:{type:Boolean},contextmenus:{}},emits:[`dragStart`,`drag`,`dragEnd`,`scaleStart`,`scale`,`scaleEnd`,`rotateStart`,`rotate`,`rotateEnd`,`keypointStart`,`keypoint`,`keypointEnd`],setup(e,{emit:r}){let i=e,a=r,o=s(()=>i.scale),c=s(()=>i.element.bounds),l=s(()=>c.value[0]*o.value),f=s(()=>c.value[1]*o.value),p=s(()=>c.value[2]*o.value),m=s(()=>c.value[3]*o.value),h=s(()=>i.element.rotation??0),g=s(()=>i.element.flip?.[0]?-1:1),_=s(()=>i.element.flip?.[1]?-1:1),y=s(()=>!!i.element.flip?.[0]),S=s(()=>!!i.element.flip?.[1]),C=s(()=>p.value<40||m.value<40),w=e=>i.contextmenus?.(e)??[],T=s(()=>i.element.elementType===`shape`||i.element.elementType===`image`),D=s(()=>{if(!T.value)return;let e=i.element;return Ze(e.shapeName,e.adjustments)}),O={nw:`left-top`,n:`top`,ne:`right-top`,w:`left`,e:`right`,sw:`left-bottom`,s:`bottom`,se:`right-bottom`};function k(e,t,n){return e.split(`-`).map(e=>t&&e===`left`?`right`:t&&e===`right`?`left`:n&&e===`top`?`bottom`:n&&e===`bottom`?`top`:e).join(`-`)}function A(e){let t=(e%360+360)%360;return t<22.5||t>=337.5?`right`:t<67.5?`right-bottom`:t<112.5?`bottom`:t<157.5?`left-bottom`:t<202.5?`left`:t<247.5?`left-top`:t<292.5?`top`:`right-top`}let j=s(()=>{if(!T.value||(D.value?.adjustmentNames?.length??0)===0)return[];let e=i.element,t=D.value;if(!t?.keypointPositions)return[];let n=e.adjustments??t.defaultValue??[],r=e.bounds[2]*o.value,a=e.bounds[3]*o.value,s=e.flip?.[0]?-1:1,c=e.flip?.[1]?-1:1,l=Math.PI*(e.rotation??0)/180,u=Math.cos(l),d=Math.sin(l),f=t.keypointPositions(r,a,n),p=[];return f.forEach((e,i)=>{if(!e)return;let[o,l]=Xe(t,r,a,n,i),f=o*s,m=l*c,h=u*f-d*m,g=d*f+u*m,_=A(Math.atan2(g,h)*180/Math.PI);p.push({style:{left:`${e[0]}px`,top:`${e[1]}px`,"--keypoint-index":i},type:_,index:i})}),p}),M=s(()=>[{direction:`nw`,kind:`corner`,style:{left:`-5px`,top:`-5px`}},{direction:`n`,kind:`border`,style:{left:`50%`,top:`-5px`,transform:`translateX(-50%)`}},{direction:`ne`,kind:`corner`,style:{right:`-5px`,top:`-5px`}},{direction:`w`,kind:`border`,style:{left:`-5px`,top:`50%`,transform:`translateY(-50%)`}},{direction:`e`,kind:`border`,style:{right:`-5px`,top:`50%`,transform:`translateY(-50%)`}},{direction:`sw`,kind:`corner`,style:{left:`-5px`,bottom:`-5px`}},{direction:`s`,kind:`border`,style:{left:`50%`,bottom:`-5px`,transform:`translateX(-50%)`}},{direction:`se`,kind:`corner`,style:{right:`-5px`,bottom:`-5px`}}]);function N(e,t){t.button===0&&(t.stopPropagation(),jr(()=>a(`scaleStart`,e,t.clientX,t.clientY),e=>a(`scale`,e.clientX,e.clientY,e.shiftKey),()=>a(`scaleEnd`))(t))}function P(e){e.button===0&&(e.stopPropagation(),jr(()=>a(`rotateStart`,e.clientX,e.clientY),e=>a(`rotate`,e.clientX,e.clientY),()=>a(`rotateEnd`))(e))}function F(e){e.button===0&&(e.stopPropagation(),jr(()=>a(`dragStart`,e.clientX,e.clientY),e=>a(`drag`,e.clientX,e.clientY,e.shiftKey),()=>a(`dragEnd`))(e))}function I(e,t){t.button===0&&(t.stopPropagation(),jr(()=>a(`keypointStart`,e,t.clientX,t.clientY),e=>a(`keypoint`,e.clientX,e.clientY),()=>a(`keypointEnd`))(t))}return(r,i)=>{let a=ne(`contextmenu`);return ae((E(),u(`div`,{class:t([`operate-container`,{mini:C.value,"disable-interaction":e.disableInteraction}]),style:d({left:`${l.value}px`,top:`${f.value}px`,width:`${p.value}px`,height:`${m.value}px`,transform:`rotate(${h.value}deg) scaleX(${g.value}) scaleY(${_.value})`})},[x(Nr,{class:`operate-dash-border`,onMousedown:U(F,[`stop`])}),v(`div`,{class:`rotate-handle`,style:d({left:p.value/2+`px`}),onMousedown:U(P,[`stop`])},null,36),(E(!0),u(n,null,V(M.value,e=>(E(),b(Pr,{key:e.direction,type:k(O[e.direction],y.value,S.value),rotate:h.value,class:t([`scale-handle`,e.kind,`dir-${e.direction}`]),style:d(e.style),onMousedown:U(t=>N(e.direction,t),[`stop`])},null,8,[`type`,`rotate`,`class`,`style`,`onMousedown`]))),128)),(E(!0),u(n,null,V(j.value,e=>(E(),b(Pr,{key:e.index,type:e.type,rotate:0,class:`keypoint-handle`,style:d(e.style),onMousedown:U(t=>I(e.index,t),[`stop`])},null,8,[`type`,`style`,`onMousedown`]))),128))],6)),[[a,w]])}}}),[[`__scopeId`,`data-v-a162e949`]]),pa=.01,ma=`__alignment_target__`;function ha(e,t){return e+(t-e)/2}function ga(e){return Object.is(e,-0)?0:e}function _a(e,t){let[n,r,i,a]=e,o=n+i/2,s=r+a/2,c=t*Math.PI/180,l=Math.cos(c),u=Math.sin(c);return[[-i/2,-a/2],[i/2,-a/2],[i/2,a/2],[-i/2,a/2]].map(([e,t])=>[o+l*e-u*t,s+u*e+l*t])}function va(e){let t=e.map(e=>e[0]),n=e.map(e=>e[1]);return{left:Math.min(...t),right:Math.max(...t),top:Math.min(...n),bottom:Math.max(...n)}}function ya(e,t={}){let n=t.rotation??0,r=_a(e,n);return{elementId:t.elementId??ma,elementType:t.elementType,aabb:va(r),width:e[2],height:e[3],rotation:n,outline:r,sizeEligible:t.sizeEligible??(!n&&t.elementType!==`line`)}}function ba(e){return ya(e.bounds,{elementId:e.elementId,elementType:e.elementType,rotation:e.rotation??0,sizeEligible:!e.rotation&&e.elementType!==`line`})}function xa(e){let t=e.toSorted((e,t)=>e.value-t.value),n=[];for(let e of t){let t=n.at(-1);if(!t||Math.abs(t.value-e.value)>=.01){n.push({axis:e.axis,group:e.group,value:e.value,providerIds:new Set(e.providerId?[e.providerId]:[]),slidePositions:new Set(e.source===`slide`?[e.position]:[])});continue}e.providerId&&t.providerIds.add(e.providerId),e.source===`slide`&&t.slidePositions.add(e.position)}return n.map(e=>({axis:e.axis,group:e.group,value:e.value,providerIds:[...e.providerIds].toSorted(),slidePositions:[...e.slidePositions]}))}function Sa(e,t){let n=e.filter(e=>e.sizeEligible).toSorted((e,n)=>e[t]-n[t]||e.elementId.localeCompare(n.elementId)),r=[];for(let e of n){let n=e[t],i=r.at(-1);if(!i||Math.abs(i.value-n)>=.01){r.push({value:n,providerIds:[e.elementId]});continue}i.providerIds.push(e.elementId)}return r}function Ca(e,t,n){let r=new Set(t),i=e.filter(e=>!r.has(e.elementId)).map(ba),a=new Map(i.map(e=>[e.elementId,e])),o=[];for(let e of i){let{left:t,right:n,top:r,bottom:i}=e.aabb,a=ha(t,n),s=ha(r,i);o.push({axis:`x`,group:`edge`,position:`start`,value:t,providerId:e.elementId,source:`element`},{axis:`x`,group:`edge`,position:`end`,value:n,providerId:e.elementId,source:`element`},{axis:`x`,group:`center`,position:`center`,value:a,providerId:e.elementId,source:`element`},{axis:`y`,group:`edge`,position:`start`,value:r,providerId:e.elementId,source:`element`},{axis:`y`,group:`edge`,position:`end`,value:i,providerId:e.elementId,source:`element`},{axis:`y`,group:`center`,position:`center`,value:s,providerId:e.elementId,source:`element`})}let[s,c]=n;o.push({axis:`x`,group:`edge`,position:`start`,value:0,source:`slide`},{axis:`x`,group:`edge`,position:`end`,value:s,source:`slide`},{axis:`x`,group:`center`,position:`center`,value:s/2,source:`slide`},{axis:`y`,group:`edge`,position:`start`,value:0,source:`slide`},{axis:`y`,group:`edge`,position:`end`,value:c,source:`slide`},{axis:`y`,group:`center`,position:`center`,value:c/2,source:`slide`});let l=(e,t)=>xa(o.filter(n=>n.axis===e&&n.group===t));return{pageSize:n,geometries:i,geometryById:a,references:{x:{edge:l(`x`,`edge`),center:l(`x`,`center`)},y:{edge:l(`y`,`edge`),center:l(`y`,`center`)}},widthGroups:Sa(i,`width`),heightGroups:Sa(i,`height`),sortedByX:i.toSorted((e,t)=>e.aabb.left-t.aabb.left||e.aabb.right-t.aabb.right||e.elementId.localeCompare(t.elementId)),sortedByY:i.toSorted((e,t)=>e.aabb.top-t.aabb.top||e.aabb.bottom-t.aabb.bottom||e.elementId.localeCompare(t.elementId))}}function wa(e,t){let{left:n,right:r,top:i,bottom:a}=e.aabb;return t===`x`?[{axis:t,group:`edge`,position:`start`,value:n},{axis:t,group:`edge`,position:`end`,value:r},{axis:t,group:`center`,position:`center`,value:ha(n,r)}]:[{axis:t,group:`edge`,position:`start`,value:i},{axis:t,group:`edge`,position:`end`,value:a},{axis:t,group:`center`,position:`center`,value:ha(i,a)}]}function Ta(e,t){return{id:`position-${e}-${t}`,axis:e,value:t}}function Ea(e,t){let n=ga(t.value-e.value);if(Math.abs(n)>=5)return[];let r=[];if(t.providerIds.length){let i=e.group===`edge`;r.push({axis:e.axis,kind:`position`,source:i?`element-edge`:`element-center`,correction:n,providerIds:t.providerIds,positionGuides:[Ta(e.axis,t.value)],measurementGuides:[],priority:i?20:10})}if(t.slidePositions.includes(e.position)){let i=e.group===`edge`;r.push({axis:e.axis,kind:`position`,source:i?`slide-edge`:`slide-center`,correction:n,providerIds:t.providerIds,positionGuides:i?[]:[Ta(e.axis,t.value)],measurementGuides:[],priority:i?100:10})}return r}function Da(e,t){let n=[];for(let r of t)for(let t of e.references[r.axis][r.group])n.push(...Ea(r,t));return n}function Oa(e,t){return t===`x`?e.aabb.left:e.aabb.top}function ka(e,t){return t===`x`?e.aabb.right:e.aabb.bottom}function Aa(e,t){return t===`x`?e.aabb.top:e.aabb.left}function ja(e,t){return t===`x`?e.aabb.bottom:e.aabb.right}function Ma(e,t){return ka(e,t)-Oa(e,t)}function Na(e,t,n){return Math.min(ja(e,n),ja(t,n))-Math.max(Aa(e,n),Aa(t,n))>pa}function Pa(e,t,n){let r=t===`x`?n:0,i=t===`y`?n:0;return{...e,aabb:{left:e.aabb.left+r,right:e.aabb.right+r,top:e.aabb.top+i,bottom:e.aabb.bottom+i},outline:e.outline.map(e=>[e[0]+r,e[1]+i])}}function Fa(e,t,n){return Oa(t,n)-ka(e,n)}function Ia(e,t,n){let r=Math.max(Aa(e,n),Aa(t,n)),i=Math.min(ja(e,n),ja(t,n));return i>=r?ha(r,i):ha(ja(e,n),Aa(t,n))}function La(e,t,n,r,i){let a=ga(r-Oa(e,t));if(Math.abs(a)>=5||i<0)return;let o=Pa(e,t,a);if(n.some(e=>Math.min(ka(e,t),ka(o,t))-Math.max(Oa(e,t),Oa(o,t))>.01))return;let s=n.findIndex(e=>Oa(e,t)>r),c=s<0?n.length:s,l=[...n.slice(0,c),o,...n.slice(c)],u=c,d=c;for(;u>0&&Math.abs(Fa(l[u-1],l[u],t)-i)<.01;)u--;for(;de.elementId!==o.elementId).map(e=>e.elementId),m=[];for(let e=0;eNa(e,t,n));if(r.length<2)return[];let i=[],a=Ma(t,n),o=Oa(t,n),s=r.findIndex(e=>Oa(e,n)>o),c=s<0?r.length:s;return(e=>{let o=r[e],s=r[e+1];if(!o||!s)return;let c=Fa(o,s,n);if(c<0)return;let l=La(t,n,r,Oa(o,n)-c-a,c);l&&i.push(l)})(c),(e=>{let o=r[e],s=r[e+1];if(!o||!s)return;let c=Oa(s,n)-ka(o,n)-a;if(c<0)return;let l=c/2,u=La(t,n,r,ka(o,n)+l,l);u&&i.push(u)})(c-1),(e=>{let a=r[e],o=r[e+1];if(!a||!o)return;let s=Fa(a,o,n);if(s<0)return;let c=La(t,n,r,ka(o,n)+s,s);c&&i.push(c)})(c-2),i}function za(e,t){let n=e===`equal-width`?`x`:`y`;return{id:`${e}-${t.elementId}`,kind:e,axis:n,start:Oa(t,n),end:ka(t,n),cross:ha(Aa(t,n),ja(t,n))}}function Ba(e,t,n,r){let i={...e.aabb};return t===`x`&&n===`start`&&(i.left+=r),t===`x`&&n===`end`&&(i.right+=r),t===`y`&&n===`start`&&(i.top+=r),t===`y`&&n===`end`&&(i.bottom+=r),{...e,aabb:i}}function Va(e,t,n,r){if(!t.sizeEligible)return[];let i=n===`x`?e.widthGroups:e.heightGroups,a=n===`x`?t.width:t.height,o=n===`x`?`equal-width`:`equal-height`,s=[];for(let c of i){let i=c.value-a;if(Math.abs(i)>=5)continue;let l=ga(r===`end`?i:-i),u=Ba(t,n,r,l),d=c.providerIds.map(t=>e.geometryById.get(t)).filter(e=>!!e);s.push({axis:n,kind:o,source:`size`,correction:l,providerIds:c.providerIds,positionGuides:[],measurementGuides:[za(o,u),...d.map(e=>za(o,e))],priority:30})}return s}function Ha(e,t){if(!t)return!0;let n=Math.abs(e.correction)-Math.abs(t.correction);if(Math.abs(n)>=.01)return n<0;let r=e.source===`slide-edge`;return r===(t.source===`slide-edge`)?e.providerIds.length===t.providerIds.length?e.priority>t.priority:e.providerIds.length>t.providerIds.length:r}function Ua(e){let t;for(let n of e)Ha(n,t)&&(t=n);return t}function Wa(e){return[...new Map(e.map(e=>[e.id,e])).values()]}function Ga(e,t,n){let r=[t,n].filter(e=>!!e);if(!r.length)return{offsetX:0,offsetY:0,overlay:null};let i=[...new Set(r.flatMap(e=>e.providerIds))].map(t=>e.geometryById.get(t)).filter(e=>!!e).map(e=>({elementId:e.elementId,points:e.outline})),a={positionGuides:Wa(r.flatMap(e=>e.positionGuides)),measurementGuides:Wa(r.flatMap(e=>e.measurementGuides)),providerOutlines:i},o=a.positionGuides.length||a.measurementGuides.length||a.providerOutlines.length;return{offsetX:t?.correction??0,offsetY:n?.correction??0,overlay:o?a:null}}function Ka(e,t,n={}){let r=Da(e,wa(t,`x`)),i=Da(e,wa(t,`y`));return n.enableSpacing!==!1&&(r.push(...Ra(e,t,`x`)),i.push(...Ra(e,t,`y`))),Ga(e,Ua(r),Ua(i))}function qa(e,t,n){return{axis:t,group:`edge`,position:n,value:t===`x`?n===`start`?e.aabb.left:e.aabb.right:n===`start`?e.aabb.top:e.aabb.bottom}}function Ja(e,t,n){let r=n.includes(`w`)?`start`:n.includes(`e`)?`end`:void 0,i=n.includes(`n`)?`start`:n.includes(`s`)?`end`:void 0,a=r?Da(e,[qa(t,`x`,r)]):[],o=i?Da(e,[qa(t,`y`,i)]):[];return r&&a.push(...Va(e,t,`x`,r)),i&&o.push(...Va(e,t,`y`,i)),Ga(e,Ua(a),Ua(o))}function Ya(e,t,n){let r=ga(n.value-t);if(Math.abs(r)>=5)return[];let i=[];if(n.providerIds.length){let t=n.group===`edge`;i.push({axis:e,kind:`position`,source:t?`element-edge`:`element-center`,correction:r,providerIds:n.providerIds,positionGuides:[Ta(e,n.value)],measurementGuides:[],priority:t?20:10})}if(n.slidePositions.length){let t=n.group===`edge`;i.push({axis:e,kind:`position`,source:t?`slide-edge`:`slide-center`,correction:r,providerIds:n.providerIds,positionGuides:t?[]:[Ta(e,n.value)],measurementGuides:[],priority:t?100:10})}return i}function Xa(e,t,n=[]){let r=[...e.references.x.edge,...e.references.x.center].flatMap(e=>Ya(`x`,t.x,e)),i=[...e.references.y.edge,...e.references.y.center].flatMap(e=>Ya(`y`,t.y,e));for(let e of n){let n=ga(e.x-t.x);Math.abs(n)<5&&r.push({axis:`x`,kind:`position`,source:`point`,correction:n,providerIds:[],positionGuides:[Ta(`x`,e.x)],measurementGuides:[],priority:25});let a=ga(e.y-t.y);Math.abs(a)<5&&i.push({axis:`y`,kind:`position`,source:`point`,correction:a,providerIds:[],positionGuides:[Ta(`y`,e.y)],measurementGuides:[],priority:25})}return Ga(e,Ua(r),Ua(i))}var Za={class:`line-operate`},Qa=q(S({__name:`LineShapeElementOperate`,props:{element:{},scale:{},contextmenus:{type:Function}},emits:[`update`,`keypointStart`,`keypoint`,`keypointEnd`],setup(e,{emit:t}){let r=e,i=t,a=s(()=>r.scale??1),o=e=>r.contextmenus?.(e)??[],{currentElements:c,pageSize:l}=Z(),{alignmentOverlay:f}=Q(),p=s(()=>{let[e,t,n,i]=r.element.bounds,o=r.element.flip?.[0]??!1,s=r.element.flip?.[1]??!1;return{left:`${(o?e+n:e)*a.value}px`,top:`${(s?t+i:t)*a.value}px`}}),m=s(()=>{let[e,t,n,i]=r.element.bounds,o=r.element.flip?.[0]??!1,s=r.element.flip?.[1]??!1;return{left:`${(o?e:e+n)*a.value}px`,top:`${(s?t:t+i)*a.value}px`}});function h(e){e.button===0&&(e.stopPropagation(),_(e,`start`))}function g(e){e.button===0&&(e.stopPropagation(),_(e,`end`))}function _(e,t){let n=e.clientX,o=e.clientY,[s,u,d,p]=[...r.element.bounds],m=r.element.flip?.[0]??!1,h=r.element.flip?.[1]??!1,g=m?s+d:s,_=h?u+p:u,v=m?s:s+d,y=h?u:u+p,[b,x]=l.value,S=Ca(c.value,[r.element.elementId],[b,x]),C=t===`start`?{x:v,y}:{x:g,y:_};f.value=null,jr(()=>{},e=>{let r=(e.clientX-n)/a.value,s=(e.clientY-o)/a.value,c=g,l=_,u=v,d=y;t===`start`?(c+=r,l+=s):(u+=r,d+=s),e.shiftKey&&(t===`start`?Math.abs(c-v)>Math.abs(l-y)?l=y:c=v:Math.abs(g-u)>Math.abs(_-d)?d=_:u=g);let p=Xa(S,t===`start`?{x:c,y:l}:{x:u,y:d},[C]);t===`start`?(c+=p.offsetX,l+=p.offsetY):(u+=p.offsetX,d+=p.offsetY),f.value=p.overlay;let m=Math.min(c,u),h=Math.min(l,d),b=Math.max(c,u),x=Math.max(l,d);i(`update`,{bounds:[m,h,b-m,x-h],flip:[c>u,l>d]})},()=>{f.value=null})(e)}let y=s(()=>Ze(r.element.shapeName,r.element.adjustments));function x(e){let t=(e%360+360)%360;return t<22.5||t>=337.5?`right`:t<67.5?`right-bottom`:t<112.5?`bottom`:t<157.5?`left-bottom`:t<202.5?`left`:t<247.5?`left-top`:t<292.5?`top`:`right-top`}let S=s(()=>{let e=y.value;if(!e?.adjustmentNames?.length||!e?.keypointPositions)return[];let t=r.element.adjustments??e.defaultValue??[],n=r.element.bounds[2]*a.value,i=r.element.bounds[3]*a.value,o=r.element.flip?.[0]?-1:1,s=r.element.flip?.[1]?-1:1,c=Math.PI*(r.element.rotation??0)/180,l=Math.cos(c),u=Math.sin(c),d=r.element.bounds[0]*a.value,f=r.element.bounds[1]*a.value,p=e.keypointPositions(n,i,t),m=[];return p.forEach((r,a)=>{if(!r)return;let[c,p]=Xe(e,n,i,t,a),h=c*o,g=p*s,_=l*h-u*g,v=u*h+l*g,y=x(Math.atan2(v,_)*180/Math.PI);m.push({style:{left:`${d+r[0]}px`,top:`${f+r[1]}px`,"--keypoint-index":a},type:y,index:a})}),m});function C(e,t){t.button===0&&(t.stopPropagation(),jr(()=>i(`keypointStart`,e,t.clientX,t.clientY),e=>i(`keypoint`,e.clientX,e.clientY),()=>i(`keypointEnd`))(t))}return(e,t)=>{let r=ne(`contextmenu`);return ae((E(),u(`div`,Za,[v(`div`,{class:`endpoint-handle start`,style:d(p.value),onMousedown:U(h,[`stop`])},null,36),v(`div`,{class:`endpoint-handle end`,style:d(m.value),onMousedown:U(g,[`stop`])},null,36),(E(!0),u(n,null,V(S.value,e=>(E(),b(Pr,{key:e.index,type:e.type,rotate:0,class:`keypoint-handle`,style:d(e.style),onMousedown:U(t=>C(e.index,t),[`stop`])},null,8,[`type`,`style`,`onMousedown`]))),128))])),[[r,o]])}}}),[[`__scopeId`,`data-v-7c43b986`]]),$a=[`viewBox`],eo=[`points`],to=[`d`],no=[`onMousedown`],ro=3,io=q(S({__name:`LineElementOperate`,props:{element:{},scale:{default:1},contextmenus:{}},emits:[`update`],setup(e,{emit:r}){let i=e,a=r,{currentElements:c,pageSize:l}=Z(),{pushUndo:f,isOperating:p,lineEditMode:m,alignmentOverlay:h}=Q(),g=s(()=>i.scale),y=e=>i.contextmenus?.(e)??[],b=_(),x=_(),S=s(()=>Math.max(i.element.bounds[2],2)),C=s(()=>Math.max(i.element.bounds[3],2)),w=s(()=>i.element.viewBox??[i.element.bounds[2],i.element.bounds[3]]),T=s(()=>[Math.max(w.value[0],1e-6),Math.max(w.value[1],1e-6)]),D=s(()=>It(i.element.points)),O=s(()=>i.element.curve===`smooth`),k=s(()=>O.value&&D.value.length>2?D.value.map(e=>e.join(`,`)).join(` `):``),A=s(()=>({left:`${i.element.bounds[0]*g.value}px`,top:`${i.element.bounds[1]*g.value}px`,width:`${S.value*g.value}px`,height:`${C.value*g.value}px`,transform:`rotate(${i.element.rotation??0}deg) scaleX(${i.element.flip?.[0]?-1:1}) scaleY(${i.element.flip?.[1]?-1:1})`})),j=s(()=>Le(D.value,i.element.curve));function M(e){let t=Number(e.toFixed(3));return Object.is(t,-0)?`0`:String(t)}function N(e){return e.map(e=>`${M(e[0])},${M(e[1])}`).join(` `)}function P(e,t,n){return Math.max(t,Math.min(n,e))}function I(e,t){let n=i.element.rotation??0,r=Math.PI*n/180,a=Math.cos(r),o=Math.sin(r),s=i.element.flip?.[0]?-1:1,c=i.element.flip?.[1]?-1:1;return[(a*e+o*t)*s,(a*t-o*e)*c]}function L(e,t,n,r){let[a,o]=r,[s,c]=n,l=i.element.rotation??0,u=Math.PI*l/180,d=Math.cos(u),f=Math.sin(u),p=i.element.flip?.[0]?-1:1,m=i.element.flip?.[1]?-1:1,h=e[0]/Math.max(a,1)*s-s/2,g=e[1]/Math.max(o,1)*c-c/2,_=h*p,v=g*m;return[t[0]+s/2+d*_-f*v,t[1]+c/2+f*_+d*v]}function R(e,t,n,r){let[i,a]=r,[o,s]=n,c=e.map(([e,t])=>[e/Math.max(i,1)*o,t/Math.max(a,1)*s]),l=Math.min(0,...c.map(e=>e[0])),u=Math.min(0,...c.map(e=>e[1])),d=Math.max(o,...c.map(e=>e[0])),f=Math.max(s,...c.map(e=>e[1]));if(l===0&&u===0&&d===o&&f===s)return{bounds:t,viewBox:r,points:N(e)};let p=Math.max(d-l,2),m=Math.max(f-u,2),h=c.map(([e,t])=>[e-l,t-u]);return{bounds:[t[0]+l,t[1]+u,p,m],viewBox:[p,m],points:N(h)}}function ee(e){let t=b.value,n=t?.getScreenCTM();if(!t||!n)return;let r=t.createSVGPoint();r.x=e.clientX,r.y=e.clientY;let i=r.matrixTransform(n.inverse());return[P(i.x,0,T.value[0]),P(i.y,0,T.value[1])]}function te(e){let t=x.value;if(!t)return e;let n=t.getTotalLength();if(!Number.isFinite(n)||n<=0)return e;let r=0,i=1/0,a=Math.max(24,Math.ceil(n/8));for(let o=0;o<=a;o++){let s=n*o/a,c=t.getPointAtLength(s),l=(e[0]-c.x)**2+(e[1]-c.y)**2;l0&&en!==e);f(),a(`update`,{points:N(t)})}function ie(e){if(!m.value||e.button!==0)return;let t=ee(e);if(!t)return;let n=te(t),r=D.value.map(e=>[...e]);if(O.value)r.splice(Math.max(r.length-1,1),0,n);else{let e=B(n);if(e<0)return;r.splice(e+1,0,n)}f(),a(`update`,{points:N(r)})}function oe(e,t){if(t.button!==0)return;t.stopPropagation(),t.preventDefault();let n=t.clientX,r=t.clientY,o=m.value,s=!1,u=D.value.map(e=>[...e]),d=[...i.element.bounds],_=[...w.value],v=[S.value,C.value],[y,b]=_,x=!i.element.rotation&&!i.element.flip?.[0]&&!i.element.flip?.[1],[T,E]=l.value,O=Ca(c.value,[i.element.elementId],[T,E]),k=u.filter((t,n)=>n!==e).map(e=>L(e,d,v,_)).map(([e,t])=>({x:e,y:t}));h.value=null,jr(()=>{o||(f(),p.value=!0)},t=>{let i=Math.hypot(t.clientX-n,t.clientY-r);if(o&&!s){if(i[...e]),S=u[e];if(!S)return;let C=[S[0]+c/v[0]*Math.max(y,1),S[1]+l/v[1]*Math.max(b,1)],w=x?C:[P(C[0],0,Math.max(y,1)),P(C[1],0,Math.max(b,1))],T=L(w,d,v,_),E=Xa(O,{x:T[0],y:T[1]},k),[D,A]=I(E.offsetX,E.offsetY),j=[w[0]+D/v[0]*Math.max(y,1),w[1]+A/v[1]*Math.max(b,1)];m[e]=x?j:[P(j[0],0,Math.max(y,1)),P(j[1],0,Math.max(b,1))],h.value=E.overlay,a(`update`,R(m,d,v,_))},()=>{if(h.value=null,o&&!s){H(e);return}p.value=!1})(t)}return(e,r)=>{let i=ne(`contextmenu`);return ae((E(),u(`div`,{class:t([`line-element-operate`,{"is-editing":F(m)}]),style:d(A.value)},[F(m)&&D.value.length>=2?(E(),u(`svg`,{key:0,ref_key:`lineSvgRef`,ref:b,class:`line-helper`,viewBox:`0 0 ${T.value[0]} ${T.value[1]}`,preserveAspectRatio:`none`},[k.value?(E(),u(`polyline`,{key:0,class:`line-control-guide`,points:k.value,fill:`none`},null,8,eo)):o(``,!0),v(`path`,{ref_key:`lineHitAreaRef`,ref:x,class:`line-hit-area`,d:j.value,fill:`none`,onMousedown:U(ie,[`stop`,`prevent`])},null,40,to)],8,$a)):o(``,!0),(E(!0),u(n,null,V(D.value,(e,n)=>(E(),u(`button`,{key:n,class:t([`line-point-handle`,{"is-control":re(n)}]),style:d({left:`${e[0]/Math.max(w.value[0],1)*100}%`,top:`${e[1]/Math.max(w.value[1],1)*100}%`}),type:`button`,onMousedown:U(e=>oe(n,e),[`stop`])},null,46,no))),128))],6)),[[i,y]])}}}),[[`__scopeId`,`data-v-4085b1df`]]),ao=q(S({__name:`MultiSelectOperate`,props:{range:{},elements:{default:()=>[]},scale:{default:1}},emits:[`dragStart`,`drag`,`dragEnd`,`scaleStart`,`scale`,`scaleEnd`],setup(e,{emit:r}){let i=e,a=r,o=s(()=>i.range.minX*i.scale),c=s(()=>i.range.minY*i.scale),l=s(()=>(i.range.maxX-i.range.minX)*i.scale),f=s(()=>(i.range.maxY-i.range.minY)*i.scale),p=s(()=>l.value<40||f.value<40),m={nw:`left-top`,n:`top`,ne:`right-top`,w:`left`,e:`right`,sw:`left-bottom`,s:`bottom`,se:`right-bottom`},h=s(()=>[{direction:`nw`,kind:`corner`,style:{left:`-5px`,top:`-5px`}},{direction:`n`,kind:`border`,style:{left:`50%`,top:`-5px`,transform:`translateX(-50%)`}},{direction:`ne`,kind:`corner`,style:{right:`-5px`,top:`-5px`}},{direction:`w`,kind:`border`,style:{left:`-5px`,top:`50%`,transform:`translateY(-50%)`}},{direction:`e`,kind:`border`,style:{right:`-5px`,top:`50%`,transform:`translateY(-50%)`}},{direction:`sw`,kind:`corner`,style:{left:`-5px`,bottom:`-5px`}},{direction:`s`,kind:`border`,style:{left:`50%`,bottom:`-5px`,transform:`translateX(-50%)`}},{direction:`se`,kind:`corner`,style:{right:`-5px`,bottom:`-5px`}}]),g=s(()=>i.elements.map(e=>{let[t,n,r,a]=e.bounds;return{elementId:e.elementId,style:{left:`${(t-i.range.minX)*i.scale}px`,top:`${(n-i.range.minY)*i.scale}px`,width:`${r*i.scale}px`,height:`${a*i.scale}px`,transform:`rotate(${e.rotation??0}deg)`}}}));function _(e,t){t.button===0&&(t.stopPropagation(),jr(()=>a(`scaleStart`,e,t.clientX,t.clientY),e=>a(`scale`,e.clientX,e.clientY,e.shiftKey),()=>a(`scaleEnd`))(t))}function v(e){e.button===0&&(e.stopPropagation(),jr(()=>a(`dragStart`,e.clientX,e.clientY),e=>a(`drag`,e.clientX,e.clientY,e.shiftKey),()=>a(`dragEnd`))(e))}return(e,r)=>(E(),u(`div`,{class:t([`multi-select-operate`,{mini:p.value}]),style:d({left:`${o.value}px`,top:`${c.value}px`,width:`${l.value}px`,height:`${f.value}px`})},[(E(!0),u(n,null,V(g.value,e=>(E(),b(Nr,{key:e.elementId,class:`selected-element-borderline`,style:d(e.style),"no-animation":``},null,8,[`style`]))),128)),x(Nr,{class:`multi-select-borderline`,onMousedown:U(v,[`stop`])}),(E(!0),u(n,null,V(h.value,e=>(E(),b(Pr,{key:e.direction,type:m[e.direction],class:t([`scale-handle`,e.kind,`dir-${e.direction}`]),style:d(e.style),onMousedown:U(t=>_(e.direction,t),[`stop`])},null,8,[`type`,`class`,`style`,`onMousedown`]))),128))],6))}}),[[`__scopeId`,`data-v-cc9f8203`]]),oo={class:`number-menu`},so=[`step`,`min`,`max`,`value`],co={class:`number-menu-handle`},lo=q(S({__name:`NumberMenu`,props:{value:{},min:{default:-1/0},max:{default:1/0},step:{},postfix:{},inputWidth:{},tooltip:{}},emits:[`update:value`],setup(e,{emit:t}){let n=e,r=t,i=_(),a=_(n.value);H(()=>n.value,e=>{a.value=e});let o=e=>Math.max(n.min,Math.min(e,n.max)),s=(e,t={source:`input`})=>{a.value=o(e),r(`update:value`,a.value,t)},c=e=>{s(a.value+e,{source:`step`,delta:e})},l=async e=>{let t=e.target,n=Number(t.value);if(t.value.trim()===``||Number.isNaN(n)){t.value=String(a.value),await M(),i.value?.focus();return}s(n),await M(),i.value?.focus()};return(t,n)=>(E(),b(F(qt),{content:e.tooltip,disabled:!e.tooltip},{trigger:T(()=>[v(`div`,oo,[v(`input`,{ref_key:`inputRef`,ref:i,class:`number-menu-input`,type:`number`,step:e.step,min:e.min,max:e.max,value:a.value,style:d({width:e.inputWidth}),onKeydown:n[0]||(n[0]=U(()=>{},[`stop`])),onChange:l},null,44,so),v(`span`,{class:`number-menu-postfix`,onClick:n[1]||(n[1]=e=>i.value?.focus())},f(e.postfix),1),v(`div`,co,[v(`button`,{class:`number-menu-handle-button`,type:`button`,onMousedown:n[2]||(n[2]=U(()=>{},[`prevent`])),onClick:n[3]||(n[3]=t=>c(e.step??1))},[x(F(X),{name:`Up_b`,width:`12`,height:`12`})],32),v(`button`,{class:`number-menu-handle-button`,type:`button`,onMousedown:n[4]||(n[4]=U(()=>{},[`prevent`])),onClick:n[5]||(n[5]=t=>c(-(e.step??1)))},[x(F(X),{name:`Down_b`,width:`12`,height:`12`})],32)])])]),_:1},8,[`content`,`disabled`]))}}),[[`__scopeId`,`data-v-83ff1c3b`]]),uo=q(S({__name:`Checkboard`,props:{size:{default:8},white:{default:`#fff`},grey:{default:`#e6e6e6`}},setup(e){let t=e,n={},r=(e,t,n)=>{let r=document.createElement(`canvas`);r.width=r.height=n*2;let i=r.getContext(`2d`);return i?(i.fillStyle=e,i.fillRect(0,0,r.width,r.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null},i=(e,t,i)=>{let a=e+`,`+t+`,`+i;if(n[a])return n[a];let o=r(e,t,i);return n[a]=o,o},a=s(()=>({backgroundImage:`url(${i(t.white,t.grey,t.size)})`}));return(e,t)=>(E(),u(`div`,{class:`checkerboard`,style:d(a.value)},null,4))}}),[[`__scopeId`,`data-v-34af3fd0`]]),fo={class:`alpha`},po={class:`alpha-checkboard-wrap`},mo=q(S({__name:`Alpha`,props:{value:{}},emits:[`colorChange`,`changeEnd`],setup(e,{emit:t}){let n=e,r=t,i=s(()=>n.value),a=s(()=>{let e=[i.value.r,i.value.g,i.value.b].join(`,`);return`linear-gradient(to right, rgba(${e}, 0) 0%, rgba(${e}, 1) 100%)`}),o=_(),c=e=>{if(!o.value)return;let t=o.value.clientWidth,n=o.value.getBoundingClientRect().left+window.pageXOffset,r=e.pageX-n,a;return a=r<0?0:r>t?1:Math.round(r*100/t)/100,{r:i.value.r,g:i.value.g,b:i.value.b,a}},l=e=>{e.preventDefault();let t=c(e);t&&i.value.a!==t.a&&r(`colorChange`,t)},f=()=>{window.removeEventListener(`mousemove`,l),window.removeEventListener(`mouseup`,p)},p=e=>{let t=c(e);t&&(r(`colorChange`,t),r(`changeEnd`,t)),f()},m=e=>{l(e),window.addEventListener(`mousemove`,l),window.addEventListener(`mouseup`,p)};return B(f),(e,t)=>(E(),u(`div`,fo,[v(`div`,po,[x(uo)]),v(`div`,{class:`alpha-gradient`,style:d({background:a.value})},null,4),v(`div`,{class:`alpha-container`,ref_key:`alphaRef`,ref:o,onMousedown:t[0]||(t[0]=e=>m(e))},[v(`div`,{class:`alpha-pointer`,style:d({left:i.value.a*100+`%`})},[...t[1]||(t[1]=[v(`div`,{class:`alpha-picker`},null,-1)])],4)],544)]))}}),[[`__scopeId`,`data-v-371ca9eb`]]),ho={class:`hue`},go=q(S({__name:`Hue`,props:{value:{},hue:{}},emits:[`colorChange`,`changeEnd`],setup(e,{emit:t}){let n=e,r=t,i=_(0),a=_(``),o=s(()=>{let e=Se(n.value).toHsl();return n.hue!==-1&&(e.h=n.hue),e}),c=s(()=>o.value.h===0&&a.value===`right`?`100%`:o.value.h*100/360+`%`);H(()=>n.value,()=>{let e=Se(n.value).toHsl(),t=e.s===0?n.hue:e.h;t!==0&&t-i.value>0&&(a.value=`right`),t!==0&&t-i.value<0&&(a.value=`left`),i.value=t});let l=_(),f=e=>{if(!l.value)return;let t=l.value.clientWidth,n=l.value.getBoundingClientRect().left+window.pageXOffset,r=e.pageX-n,i,a;return r<0?i=0:r>t?i=360:(a=r*100/t,i=360*a/100),{h:i,l:o.value.l,s:o.value.s,a:o.value.a}},p=e=>{e.preventDefault();let t=f(e);t&&(n.hue===-1||o.value.h!==t.h)&&r(`colorChange`,t)},m=()=>{window.removeEventListener(`mousemove`,p),window.removeEventListener(`mouseup`,h)},h=e=>{let t=f(e);t&&(r(`colorChange`,t),r(`changeEnd`,t)),m()},g=e=>{p(e),window.addEventListener(`mousemove`,p),window.addEventListener(`mouseup`,h)};return B(m),(e,t)=>(E(),u(`div`,ho,[v(`div`,{class:`hue-container`,ref_key:`hueRef`,ref:l,onMousedown:t[0]||(t[0]=e=>g(e))},[v(`div`,{class:`hue-pointer`,style:d({left:c.value})},[...t[1]||(t[1]=[v(`div`,{class:`hue-picker`},null,-1)])],4)],544)]))}}),[[`__scopeId`,`data-v-e9d0c7a2`]]),_o=q(S({__name:`Saturation`,props:{value:{},hue:{}},emits:[`colorChange`,`changeEnd`],setup(e,{emit:t}){let n=e,r=t,i=s(()=>{let e=Se(n.value).toHsv();return n.hue!==-1&&(e.h=n.hue),e}),a=s(()=>`hsl(${i.value.h}, 100%, 50%)`),o=s(()=>-(i.value.v*100)+1+100+`%`),c=s(()=>i.value.s*100+`%`),l=le(function(e){r(`colorChange`,e)},20,{leading:!0,trailing:!1}),f=_(),p=e=>{if(!f.value)return;let t=f.value.clientWidth,n=f.value.clientHeight,r=f.value.getBoundingClientRect().left+window.pageXOffset,a=f.value.getBoundingClientRect().top+window.pageYOffset,o=G(e.pageX-r,0,t),s=G(e.pageY-a,0,n),c=o/t,l=G(-(s/n)+1,0,1);return{h:i.value.h,s:c,v:l,a:i.value.a}},m=e=>{e.preventDefault();let t=p(e);t&&l(t)},h=()=>{window.removeEventListener(`mousemove`,m),window.removeEventListener(`mouseup`,g)},g=e=>{let t=p(e);t&&(l.cancel(),r(`colorChange`,t),r(`changeEnd`,t)),h()},y=e=>{m(e),window.addEventListener(`mousemove`,m),window.addEventListener(`mouseup`,g)};return B(h),(e,t)=>(E(),u(`div`,{class:`saturation`,ref_key:`saturationRef`,ref:f,style:d({background:a.value}),onMousedown:t[0]||(t[0]=e=>y(e))},[t[2]||(t[2]=v(`div`,{class:`saturation-white`},null,-1)),t[3]||(t[3]=v(`div`,{class:`saturation-black`},null,-1)),v(`div`,{class:`saturation-pointer`,style:d({top:o.value,left:c.value})},[...t[1]||(t[1]=[v(`div`,{class:`saturation-circle`},null,-1)])],4)],36))}}),[[`__scopeId`,`data-v-895551ab`]]),vo=e=>Se(e).toHex8String(),yo={class:`editable-input`},bo=[`value`],xo=q(S({__name:`EditableInput`,props:{value:{}},emits:[`colorChange`],setup(e,{emit:t}){let n=e,r=t,i=s(()=>vo(n.value).toUpperCase().replace(`#`,``)),a=e=>{let t=e.target.value;if(t.length>=6){let e=Se(t);e.isValid()&&r(`colorChange`,e.toRgb())}};return(e,t)=>(E(),u(`div`,yo,[v(`input`,{class:`input-content`,value:i.value,onInput:t[0]||(t[0]=e=>a(e))},null,40,bo)]))}}),[[`__scopeId`,`data-v-1a307df7`]]),So={class:`picker-saturation-wrap`},Co={class:`picker-controls`},wo={class:`picker-color-wrap`},To={class:`picker-sliders`},Eo={class:`picker-hue-wrap`},Do={class:`picker-alpha-wrap`},Oo={class:`picker-field`},ko={class:`picker-presets`},Ao=[`onClick`],jo={key:0,class:`recent-colors-title`},Mo={class:`picker-presets`},No=[`onClick`],Po=`RECENT_COLORS`,Fo=q(S({__name:`ColorPicker`,props:{modelValue:{default:`#e86b99`},showThemeColors:{type:Boolean,default:!0}},emits:[`update:modelValue`],setup(e,{emit:t}){let{t:r}=J(),{colorList:i}=Z(),a=ye(),c=e,l=t,p=e=>{e.stopPropagation(),!e.target.closest(`input, textarea, [contenteditable="true"]`)&&e.preventDefault()},m=_(-1),h=_([]),g=s({get(){return Se(c.modelValue).toRgb()},set(e){l(`update:modelValue`,vo(e))}}),y=s(()=>`rgba(${[g.value.r,g.value.g,g.value.b,g.value.a].join(`,`)})`),b=e=>{m.value=Se(e).toHsl().h,l(`update:modelValue`,vo(e))},S=()=>{let e=vo(g.value);h.value.includes(e)||(h.value=[e,...h.value],h.value.length>10&&(h.value=h.value.slice(0,10)))},C=K(S,300,{trailing:!0});ee(()=>{let e=localStorage.getItem(Po);if(!e)return;let t=JSON.parse(e);Array.isArray(t)&&(h.value=t.filter(e=>Se(e).isValid()).map(vo))}),H(h,()=>{let e=JSON.stringify(h.value);localStorage.setItem(Po,e)});let w=(e,t=!0)=>{`h`in e?(m.value=e.h,g.value=Se(e).toRgb()):(m.value=Se(e).toHsl().h,g.value=e),t&&C()},T=e=>{w(e,!1),C.cancel(),S()},D=()=>{`EyeDropper`in window?O():a.error(r(`floatBar.notSupportEyeDropper`))},O=()=>{let e=a.loading(r(`floatBar.escCloseEyeDropper`));new window.EyeDropper().open().then(t=>{let n=Se(t.sRGBHex);m.value=n.toHsl().h,g.value=n.toRgb(),a.close(e),C()}).catch(()=>{a.close(e)})};return(e,t)=>(E(),u(`div`,{class:`color-picker`,onClick:t[9]||(t[9]=U(()=>{},[`stop`])),onMousedown:p,onPointerdown:t[10]||(t[10]=U(()=>{},[`stop`]))},[v(`div`,So,[x(_o,{value:g.value,hue:m.value,onColorChange:t[0]||(t[0]=e=>w(e,!1)),onChangeEnd:t[1]||(t[1]=e=>T(e))},null,8,[`value`,`hue`])]),v(`div`,Co,[v(`div`,wo,[v(`div`,{class:`picker-current-color`,style:d({background:y.value})},null,4),x(uo)]),v(`div`,To,[v(`div`,Eo,[x(go,{value:g.value,hue:m.value,onColorChange:t[2]||(t[2]=e=>w(e,!1)),onChangeEnd:t[3]||(t[3]=e=>T(e))},null,8,[`value`,`hue`])]),v(`div`,Do,[x(mo,{value:g.value,onColorChange:t[4]||(t[4]=e=>w(e,!1)),onChangeEnd:t[5]||(t[5]=e=>T(e))},null,8,[`value`])])])]),v(`div`,Oo,[x(xo,{class:`input`,value:g.value,onColorChange:t[6]||(t[6]=e=>w(e))},null,8,[`value`]),v(`div`,{class:`straw`,onClick:t[7]||(t[7]=e=>D())},[...t[11]||(t[11]=[v(`svg`,{class:`straw-icon`,viewBox:`0 0 24 24`,"aria-hidden":`true`},[v(`path`,{d:`M20.71 5.63 18.37 3.29a1 1 0 0 0-1.42 0l-3.12 3.12-1.92-1.91-1.42 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12a1 1 0 0 0 .01-1.42ZM6.92 19H5v-1.92l8.06-8.06 1.92 1.92L6.92 19Z`})],-1)])]),v(`div`,{class:`transparent`,onClick:t[8]||(t[8]=e=>b(`#00000000`))},[x(uo)])]),v(`div`,ko,[(E(!0),u(n,null,V(F(i),e=>(E(),u(`div`,{key:e,class:`picker-presets-color`,style:d({background:e}),onClick:t=>b(e)},null,12,Ao))),128))]),h.value.length?(E(),u(`div`,jo,f(F(r)(`floatBar.recentColors`)),1)):o(``,!0),v(`div`,Mo,[(E(!0),u(n,null,V(h.value,e=>(E(),u(`div`,{key:e,class:`picker-presets-color alpha`,onClick:t=>b(e)},[v(`div`,{class:`picker-presets-color-content`,style:d({background:e})},null,4)],8,No))),128))])],32))}}),[[`__scopeId`,`data-v-76cd4aed`]]),Io={class:`color-trigger`},Lo={xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,fill:`none`},Ro={key:0},zo=[`offset`,`stop-color`],Bo=[`r`],Vo=[`offset`,`stop-color`],Ho=[`fill`],Uo=q(S({__name:`FontColorTrigger`,props:{color:{},gradient:{}},setup(e){let t=e,r=`font-color-trigger-${Math.random().toString(36).slice(2)}`;function i(e=0,t,n,r,i){let a=e*Math.PI/180,o=Math.cos(a),s=Math.sin(a),c=t+r/2,l=n+i/2,u=(Math.abs(o)*r+Math.abs(s)*i)/2;return{x1:c-o*u,y1:l-s*u,x2:c+o*u,y2:l+s*u}}let a=s(()=>t.gradient?`url(#${r})`:t.color??`currentColor`);return(t,s)=>(E(),u(`div`,Io,[(E(),u(`svg`,Lo,[e.gradient?(E(),u(`defs`,Ro,[e.gradient.gradientType===`linear`?(E(),u(`linearGradient`,z({key:0,id:r,gradientUnits:`userSpaceOnUse`},i(e.gradient.angle,3.333,15.8333,13.3333,2.5)),[(E(!0),u(n,null,V(e.gradient.stops,(e,t)=>(E(),u(`stop`,{key:t,offset:e.position,"stop-color":e.color},null,8,zo))),128))],16)):(E(),u(`radialGradient`,{key:1,id:r,gradientUnits:`userSpaceOnUse`,cx:`10`,cy:`17.0833`,r:Math.hypot(13.3333,2.5)/2},[(E(!0),u(n,null,V(e.gradient.stops,(e,t)=>(E(),u(`stop`,{key:t,offset:e.position,"stop-color":e.color},null,8,Vo))),128))],8,Bo))])):o(``,!0),v(`rect`,{width:`13.3333`,height:`2.5`,x:`3.333`,y:`15.8333`,fill:a.value,rx:`1`},null,8,Ho),s[0]||(s[0]=v(`path`,{fill:`var(--Labels-Primary)`,"fill-rule":`evenodd`,d:`M10.0002 2.5833a.75.75 0 0 1 .6708.4145l3.5349 7.0699a.7305.7305 0 0 1 .014.028l1.4511 2.9021a.7501.7501 0 0 1-1.3417.6709l-1.251-2.5021H6.922l-1.251 2.5021a.7501.7501 0 0 1-1.3417-.6709l1.4511-2.9021a.7612.7612 0 0 1 .014-.028l3.535-7.0699a.75.75 0 0 1 .6708-.4145ZM7.672 9.6666h4.6563l-2.3281-4.6563L7.672 9.6666Z`,"clip-rule":`evenodd`},null,-1))]))]))}}),[[`__scopeId`,`data-v-0d80d89d`]]),Wo={class:`color-trigger`},Go={xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,fill:`none`},Ko=[`fill`],qo=q(S({__name:`TextBackgroundColorTrigger`,props:{color:{}},setup(e){let t=e,n=s(()=>t.color??`#ffffff`);return(e,t)=>(E(),u(`div`,Wo,[(E(),u(`svg`,Go,[v(`rect`,{x:`1`,y:`1`,width:`18`,height:`18`,rx:`3`,fill:n.value},null,8,Ko),t[0]||(t[0]=v(`path`,{fill:`var(--Labels-Primary)`,"fill-rule":`evenodd`,d:`M10.0002 2.5833a.75.75 0 0 1 .6708.4145l3.5349 7.0699a.7305.7305 0 0 1 .014.028l1.4511 2.9021a.7501.7501 0 0 1-1.3417.6709l-1.251-2.5021H6.922l-1.251 2.5021a.7501.7501 0 0 1-1.3417-.6709l1.4511-2.9021a.7612.7612 0 0 1 .014-.028l3.535-7.0699a.75.75 0 0 1 .6708-.4145ZM7.672 9.6666h4.6563l-2.3281-4.6563L7.672 9.6666Z`,"clip-rule":`evenodd`},null,-1))]))]))}}),[[`__scopeId`,`data-v-aa4f600c`]]),Jo=[`min`,`max`,`step`,`value`],Yo=q(S({__name:`Slider`,props:{value:{},min:{default:0},max:{default:100},step:{default:1}},emits:[`update:value`,`start`],setup(e,{emit:t}){let n=t,r=e=>{n(`update:value`,Number(e.target.value))},i=()=>{n(`start`)};return(t,n)=>(E(),u(`input`,{class:`slider`,type:`range`,min:e.min,max:e.max,step:e.step,value:e.value,onInput:r,onPointerdown:i},null,40,Jo))}}),[[`__scopeId`,`data-v-d0ca9baa`]]),$={teleport:!0,placement:`bottom`,offset:20,align:`center`,withinWindow:!0},Xo={class:`slider-value`},Zo=q(S({__name:`OpacityMenu`,emits:[`edit`],setup(e,{emit:t}){let n=t,{currentPage:r,updateElement:i}=Z(),{handleElementId:a,pushUndo:o}=Q(),{t:c}=J(),l=s(()=>{if(!(!r.value||!a.value))return r.value.elements.find(e=>e.elementId===a.value)}),u=e=>!!e&&[`image`,`shape`,`icon`,`text`,`line`].includes(e.elementType),d=s(()=>{let e=l.value;return u(e)?e.opacity??1:1}),p=e=>{let t=l.value;!t||!r.value||u(t)&&i(r.value.pageId,t.elementId,{opacity:e/100})},m=()=>{let e=l.value;u(e)&&(o(),n(`edit`))};return(e,t)=>(E(),b(Yt,{tooltip:F(c)(`floatBar.opacity`),"hide-caret":``,"float-options":F($)},{trigger:T(()=>[x(F(X),{class:`opacity-icon`,name:`Alpha`,width:`20`,height:`20`})]),popover:T(()=>[v(`div`,{class:`slider-wrap`,onClick:t[0]||(t[0]=U(()=>{},[`stop`])),onMousedown:t[1]||(t[1]=U(()=>{},[`stop`])),onPointerdown:t[2]||(t[2]=U(()=>{},[`stop`]))},[x(Yo,{value:d.value*100,onStart:m,"onUpdate:value":p},null,8,[`value`]),v(`span`,Xo,f((d.value*100).toFixed(0))+`%`,1)],32)]),_:1},8,[`tooltip`,`float-options`]))}}),[[`__scopeId`,`data-v-3d6a8c64`]]),Qo=S({__name:`LayerMenu`,emits:[`edit`],setup(e,{emit:t}){let n=t,{currentPage:r,reorderElement:i}=Z(),{handleElementId:a,pushUndo:o}=Q(),{t:c}=J(),l=s(()=>[{icon:`TopUp`,label:c(`floatBar.bringToTop`),value:`top`},{icon:`Bottom`,label:c(`floatBar.sendToBottom`),value:`bottom`},{icon:`MoveUp`,label:c(`floatBar.bringForward`),value:`up`},{icon:`MoveDown`,label:c(`floatBar.sendBackward`),value:`down`}]),u=e=>{if(!r.value||!a.value||!r.value.elements.find(e=>e.elementId===a.value))return;o();let t=r.value.pageId;i(t,a.value,e),n(`edit`)};return(e,t)=>(E(),b(Xt,{"menu-list":l.value,icon:`Layer`,tooltip:F(c)(`floatBar.layer`),"float-options":F($),onClick:u},null,8,[`menu-list`,`tooltip`,`float-options`]))}}),$o={},es={class:`float-bar-divider`};function ts(e,t){return E(),u(`div`,es)}var ns=q($o,[[`render`,ts],[`__scopeId`,`data-v-a8a9d672`]]);function rs(e){if(!(!e||!Ft(e)))return e.slice(1)}function is(e){if(e){if(e.type===`solid`)return rs(e.color);if(e.type===`gradient`)return e.stops.map(e=>rs(e.color)).find(Boolean);if(e.type===`image`){if(e.mask?.type===`solid`)return rs(e.mask.color);if(e.mask?.type===`gradient`)return e.mask.stops.map(e=>rs(e.color)).find(Boolean)}}}function as(e,t,n){return e}var os=(e,t)=>{let n=e.replace(/^\$/,``);return n===`title`?t(`themeEditor.textStyleTitle`):n===`subtitle`?t(`themeEditor.textStyleSubtitle`):n===`body`?t(`themeEditor.textStyleBody`):n===`caption`?t(`themeEditor.textStyleCaption`):n},ss=e=>{let t=e.fontSize&&e.fontSize>0?e.fontSize:14,n=e.lineHeightPx??(e.lineHeight?Math.round(e.lineHeight*t):t>=16?t+8:t+6),r=Math.min(Math.max(t,12),28),i=n/t,a=Math.min(Math.max(Math.round(r*i),r+4),34);return{fontFamily:Ct(e.fontFamily)||`inherit`,fontSize:`${r}px`,fontStyle:e.fontStyle??`normal`,fontWeight:r>=18?500:400,lineHeight:`${a}px`}},cs={class:`theme-text-style-item`},ls={class:`theme-text-style-item-meta`},us=q(S({__name:`ThemeTextStyleItem`,props:{styleKey:{},textStyle:{}},setup(e){let t=e,{t:n,locale:r}=J(),i=s(()=>new Map(Lt.map(e=>[e.value,rt(e,r.value)]))),a=s(()=>i.value.get(``)??``),o=new Set([`MiSans`,`Mi Sans`,`Microsoft YaHei`]);function c(e){return e.trim().replace(/^['"]|['"]$/g,``)}let l=e=>{let t=Ct(e);if(!t)return a.value;let s=c(t.split(`,`)[0]??t),l=Lt.find(e=>e.value===s||e.aliasList.includes(s));return(r.value===`zh-cn`&&o.has(s)?n(`themeEditor.miSans`):void 0)??(l?i.value.get(l.value):void 0)??s},p=s(()=>os(t.styleKey,n)),m=s(()=>ss(t.textStyle)),h=s(()=>[l(t.textStyle.fontFamily),t.textStyle.fontSize].filter(Boolean).join(` `));return(e,t)=>(E(),u(`div`,cs,[v(`span`,{class:`theme-text-style-item-name rtl-align`,style:d(m.value)},f(p.value),5),v(`span`,ls,f(h.value),1)]))}}),[[`__scopeId`,`data-v-74d26fc4`]]),ds={class:`float-line`},fs={class:`text-style-trigger-label`},ps={key:0,class:`unsupported-font-trigger`},ms={class:`unsupported-font-label`},hs={key:1,class:`font-trigger-label`},gs={key:0,class:`font-divider`},_s=[`alt`,`src`],vs={class:`color-picker-wrapper`},ys={class:`color-picker-wrapper`},bs={class:`latex-pool-container`},xs=`divider`,Ss=``,Cs=q(S({__name:`TextBar`,emits:[`edit`],setup(e,{emit:r}){let i=r,a=[`left`,`top`],{t:c,locale:l}=J(),p={...$,align:`start`},m=s(()=>gt(He(l.value,xs),C.value.customFonts,xs)),h=e=>rt(e,l.value),g=e=>Nt(e.value,l.value),{currentPage:_,theme:y,updateElement:S,meta:C}=Z(),{handleElementId:w,richTextAttrs:D,pushUndo:O,selectedLatex:k,isTextEditing:A,openThemePanel:j}=Q(),M=s(()=>{let e=_.value,t=w.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),N=s(()=>[{name:`LeftAlign`,label:c(`floatBar.leftAlign`),value:`left`},{name:`CenterAlign`,label:c(`floatBar.centerAlign`),value:`center`},{name:`RightAlign`,label:c(`floatBar.rightAlign`),value:`right`},{name:`Justify`,label:c(`floatBar.justify`),value:`justify`}]),P=s(()=>[{name:`TopAlign`,label:c(`floatBar.topAlign`),value:`top`},{name:`CenterVertically`,label:c(`floatBar.verticallyCenter`),value:`middle`},{name:`BottomAlign`,label:c(`floatBar.bottomAlign`),value:`bottom`}]);function I(e,t){let n=e.content;return Ft(e.content.style)&&(n=ct(y.value,e.content)),{...n,...t}}let L=s(()=>M.value?.elementType===`text`?Re(y.value,M.value.content):null);function R(e){let t=M.value,n=_.value;!t||!n||t.elementType!==`text`||(O(),ee(t,n.pageId,e))}function ee(e,t,n){S(t,e.elementId,{content:I(e,n)}),i(`edit`)}let te=s(()=>M.value?.elementType===`text`?M.value.content.align?.[0]??a[0]:`left`),ne=s(()=>M.value?.elementType===`text`?M.value.content.align?.[1]??a[1]:a[1]),z=e=>{let t=M.value;t&&R({align:[e,(t.content.align??a)[1]],text:at(t.content.text??``)})},B=e=>{R({align:[(M.value?.content.align??a)[0],e]})},re=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],V=()=>{let e=L.value;if(!e)return Ye;let t=e.fontSize??16;return e.lineHeightPx!==void 0&&e.lineHeightPx!==null?e.lineHeightPx/t:e.lineHeight??1.2},H=s(()=>{let e=V(),t=[...re];return!Number.isNaN(e)&&!t.includes(e)&&(t.push(e),t.sort((e,t)=>e-t)),t.map(e=>({label:`${e.toFixed(1)}${c(`floatBar.times`)}`,value:e}))}),ie=s(()=>V()),ae=e=>{let t=M.value;!t||t.elementType!==`text`||R({lineHeight:e,lineHeightPx:void 0,text:Ge(t.content.text??``)})},oe=[`color`,`fontSize`,`fontFamily`,`fontStyle`,`backgroundColor`,`lineHeight`,`lineHeightPx`,`letterSpacing`,`marginTop`],se=s(()=>Object.entries(y.value?.textStyles??{})),W=s(()=>se.value.map(([e,t])=>({label:os(e,c),value:e,style:t}))),ce=s(()=>G.value?os(G.value,c):c(`floatBar.unappliedTextStyle`)),G=s(()=>{let e=M.value?.content,t=e?.style??``;if(!Ft(t)||e&&oe.some(t=>e[t]!==void 0))return Ss;let n=t.slice(1);return y.value?.textStyles?.[n]?n:Ss}),K=e=>{let t=M.value,n=_.value;if(!t||!n||t.elementType!==`text`)return;O();let{style:r,color:a,fontSize:o,fontFamily:s,fontStyle:c,backgroundColor:l,lineHeight:u,lineHeightPx:d,letterSpacing:f,marginTop:p,...m}=t.content;S(n.pageId,t.elementId,{content:e?{...m,style:`$${e}`}:m}),i(`edit`)},le=()=>{j()},q=s(()=>{if(D.value.forecolor)return D.value.forecolor;let e=M.value?.content;if(!e)return;if(e.color)return e.color;let t=e.style;if(t&&Ft(t))return y.value?.textStyles?.[t.slice(1)]?.color}),ue=s(()=>D.value.forecolor?zt(y.value,D.value.forecolor):L.value?.color),de=s(()=>{if(!D.value.forecolor)return L.value?.gradient}),fe=s(()=>as(c(`floatBar.fontColor`),c,rs(q.value))),pe=s(()=>{if(D.value.backcolor)return D.value.backcolor;let e=M.value?.content;if(!e)return;if(e.backgroundColor)return e.backgroundColor;let t=e.style;if(t&&Ft(t))return y.value?.textStyles?.[t.slice(1)]?.backgroundColor}),me=s(()=>{let e=pe.value;if(e)return zt(y.value,e)??e}),he=s(()=>as(c(`floatBar.textBackground`),c,rs(pe.value))),ge=e=>{ve()?Ue(`backcolor`,e):R({backgroundColor:e})};function _e(){let e=M.value?.elementId;if(!e)return!1;let t=window.getSelection();if(!t||t.isCollapsed||!t.anchorNode||!t.focusNode)return!1;let n=document.querySelector(`[data-element-id="${e}"]`)?.querySelector(`.prosemirror-editor`);return n?n.contains(t.anchorNode)&&n.contains(t.focusNode):!1}function ve(){return A.value||_e()}let ye=e=>{ve()?Ue(`forecolor`,e):R({color:e})};function be(e){let t=xe(e);return Lt.find(e=>e.value===t||e.aliasList.includes(t))?.value??``}function xe(e){return e.trim().replace(/^['"]|['"]$/g,``)}function Se(e){return xe(e.split(`,`)[0]??e)}function Ce(e){let t=Se(e);return be(t)||ft(t,C.value.customFonts)}function we(e){if(!e)return``;let t=Ie(e);return t.textBetween(0,t.content.size)}function Te(){let e=window.getSelection();return e&&!e.isCollapsed?e.toString():``}let Ee=s(()=>{let e=D.value.fontname;if(e){let t=kt(e,Te()),n=Ce(t);return n?{value:n,unsupportedName:``}:{value:void 0,unsupportedName:t}}let t=kt(L.value?.fontFamily,Te()||we(L.value?.text??``));if(!t)return{value:``,unsupportedName:``};let n=Ce(t);return n?{value:n,unsupportedName:``}:{value:void 0,unsupportedName:t}}),De=s(()=>Ee.value.unsupportedName),Oe=s(()=>De.value?void 0:Ee.value.value),Y=s(()=>{let e=Lt.find(e=>e.value===Oe.value);return e?h(e):Oe.value||void 0}),ke=s(()=>De.value?c(`floatBar.unsupportedFont`):c(`floatBar.font`)),Ae=e=>{if(ve())Ue(`fontname`,e);else{let t=Te()||we(L.value?.text??``);R({fontFamily:Tt(L.value?.fontFamily,e,t)})}let t=Lt.find(t=>t.value===e);t?.fntdataUrl&&mt(t)},je=s(()=>{let e=Number.parseFloat(D.value.fontsize);return Number.isNaN(e)?L.value?.fontSize??16:e}),Me=(e,t)=>{if(t?.source===`step`&&t.delta){if(!ve()){let n=M.value,r=_.value;if(!n||!r||n.elementType!==`text`)return;O(),Ue(t.delta>0?`fontsize-add`:`fontsize-reduce`,`${Math.abs(t.delta)}`),ee(n,r.pageId,{fontSize:e});return}Ue(t.delta>0?`fontsize-add`:`fontsize-reduce`,`${Math.abs(t.delta)}`);return}if(!ve()){R({fontSize:e}),Ue(`fontsize`,`${e}px`);return}Ue(`fontsize`,`${e}px`)},Ne=(e,t)=>{let n=et[t],r=Ie(e),i=!1,a=!0;return r.descendants(e=>e.isText?(i=!0,n.isInSet(e.marks)||(a=!1),!0):!0),i&&a},Pe=(e,t)=>{let n=et[t],r=Ie(e),i=!1,a=!0;if(r.descendants(e=>e.isText?(i=!0,n.isInSet(e.marks)||(a=!1),!0):!0),!i)return e;let o=Gt.create({doc:r}),s=o.doc.content.size,c=a?o.tr.removeMark(0,s,n):o.tr.addMark(0,s,n.create());return Ht(o.apply(c).doc)},Fe=s(()=>D.value.hasSelection?D.value.bold:Ne(M.value?.content.text??``,`bold`)),Le=s(()=>D.value.hasSelection?D.value.em:Ne(M.value?.content.text??``,`em`)),ze=s(()=>D.value.hasSelection?D.value.underline:Ne(M.value?.content.text??``,`underline`)),Be=s(()=>D.value.hasSelection?D.value.strikethrough:Ne(M.value?.content.text??``,`strikethrough`)),Ve=e=>{if(D.value.hasSelection){Ue(e);return}let t=M.value;!t||t.elementType!==`text`||(R({text:Pe(t.content.text??``,e)}),Ue(e,void 0,`wholeDoc`))},Ue=(e,t,n)=>{ot.emit(it.RICH_TEXT_COMMAND,{target:M.value?.elementId,action:{command:e,value:t,scope:n}}),M.value&&i(`edit`)},We=e=>{ot.emit(it.INSERT_LATEX,{target:M.value?.elementId,tex:e,action:k.value?`replace`:`insert`})};return(e,r)=>(E(),u(`div`,ds,[x(Xt,{class:`text-style-select`,"menu-list":W.value,"active-menu":G.value,tooltip:F(c)(`floatBar.textStyle`),"float-options":p,"max-width":`7em`,"keep-highlight":``,"scroll-into-view":``,onClick:K},{label:T(()=>[v(`span`,fs,f(ce.value),1)]),item:T(({item:e})=>[e.style?(E(),b(us,{key:0,class:`text-style-menu-item`,"style-key":e.value,"text-style":e.style},null,8,[`style-key`,`text-style`])):o(``,!0)]),extra:T(()=>[v(`div`,{class:`text-style-extra`,onClick:U(le,[`stop`])},[x(F(X),{name:`Setting`,width:`16`,height:`16`}),v(`span`,null,f(F(c)(`floatBar.manageTextStyles`)),1)])]),_:1},8,[`menu-list`,`active-menu`,`tooltip`]),x(Xt,{"menu-list":m.value,"active-menu":Oe.value,tooltip:ke.value,"float-options":F($),"max-width":`7em`,"keep-highlight":``,"scroll-into-view":``,onClick:Ae},{label:T(()=>[De.value?(E(),u(`span`,ps,[x(F(X),{class:`unsupported-font-icon`,name:`Warning`,width:`14`,height:`14`}),v(`span`,ms,f(De.value),1)])):(E(),u(`span`,hs,f(Y.value),1))]),item:T(({item:e})=>[typeof e==`string`?(E(),u(`div`,gs)):(E(),u(n,{key:1},[g(e)?(E(),u(`img`,{key:0,class:`font-menu-item font-menu-item-image`,alt:h(e),src:g(e)},null,8,_s)):(E(),u(`div`,{key:1,class:`font-menu-item`,style:d({fontFamily:e.value||`inherit`})},f(h(e)),5))],64))]),_:1},8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(lo,{postfix:`px`,"input-width":`28px`,min:6,max:120,step:2,value:je.value,tooltip:F(c)(`floatBar.fontSize`),"onUpdate:value":Me},null,8,[`value`,`tooltip`]),x(Yt,{tooltip:fe.value,"float-options":F($)},{trigger:T(()=>[x(Uo,{color:ue.value,gradient:de.value},null,8,[`color`,`gradient`])]),popover:T(()=>[v(`div`,vs,[x(Fo,{"model-value":ue.value,"onUpdate:modelValue":ye},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(Yt,{tooltip:he.value,"float-options":F($)},{trigger:T(()=>[x(qo,{color:me.value},null,8,[`color`])]),popover:T(()=>[v(`div`,ys,[x(Fo,{"model-value":me.value??`#ffffff`,"onUpdate:modelValue":ge},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(En,{value:Fe.value,icon:`Bold`,tooltip:F(c)(`floatBar.bold`),"onUpdate:value":r[0]||(r[0]=e=>Ve(`bold`))},null,8,[`value`,`tooltip`]),x(En,{value:Le.value,icon:`Italic`,tooltip:F(c)(`floatBar.italic`),"onUpdate:value":r[1]||(r[1]=e=>Ve(`em`))},null,8,[`value`,`tooltip`]),x(En,{value:ze.value,icon:`Underline`,tooltip:F(c)(`floatBar.underline`),"onUpdate:value":r[2]||(r[2]=e=>Ve(`underline`))},null,8,[`value`,`tooltip`]),x(En,{value:Be.value,icon:`StrikeThrough`,tooltip:F(c)(`floatBar.strikethrough`),"onUpdate:value":r[3]||(r[3]=e=>Ve(`strikethrough`))},null,8,[`value`,`tooltip`]),x(ns),x(Yt,{tooltip:F(k)?F(c)(`floatBar.editLatex`):F(c)(`floatBar.insertLatex`),"float-options":F($)},{trigger:T(()=>[x(F(X),{class:t([`latex-button`,{"has-latex":!!F(k)}]),name:`MathFormula`,width:`20`,height:`20`},null,8,[`class`])]),popover:T(()=>[v(`div`,bs,[x(gr,{value:F(k)?.tex??``,title:F(k)?F(c)(`floatBar.editLatex`):F(c)(`floatBar.insertLatex`),onSelect:We},null,8,[`value`,`title`])])]),_:1},8,[`tooltip`,`float-options`]),x(ns),x(Xt,{"menu-list":N.value,"active-menu":te.value,tooltip:F(c)(`floatBar.horizontalAlignment`),"float-options":F($),"scroll-into-view":``,onClick:z},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(Xt,{"menu-list":P.value,"active-menu":ne.value,tooltip:F(c)(`floatBar.verticalAlignment`),"float-options":F($),"scroll-into-view":``,onClick:B},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(Xt,{"menu-list":H.value,"active-menu":ie.value,tooltip:F(c)(`floatBar.lineSpacing`),icon:`LineSpace`,"float-options":F($),"scroll-into-view":``,onClick:ae},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(ns),x(Zo,{onEdit:r[4]||(r[4]=e=>i(`edit`))}),x(Qo,{onEdit:r[5]||(r[5]=e=>i(`edit`))})]))}}),[[`__scopeId`,`data-v-3191f4d8`]]),ws={width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`},Ts={key:0},Es=[`offset`,`stop-color`],Ds=[`r`],Os=[`offset`,`stop-color`],ks=[`fill`],As=q(S({__name:`FillColorTrigger`,props:{fill:{},fallbackColor:{default:`#fff`}},setup(e){let t=e,r=s(()=>{let e=t.fill;return e?.type===`solid`&&e.color?e.color:e?.type===`gradient`?e.stops[0]?.color??t.fallbackColor:t.fallbackColor}),i=s(()=>{let e=t.fill;return e?.type===`gradient`?e:void 0}),a=`fill-color-trigger-${Math.random().toString(36).slice(2)}`;function c(e=0,t,n,r,i){let a=e*Math.PI/180,o=Math.cos(a),s=Math.sin(a),c=t+r/2,l=n+i/2,u=(Math.abs(o)*r+Math.abs(s)*i)/2;return{x1:c-o*u,y1:l-s*u,x2:c+o*u,y2:l+s*u}}return(e,t)=>(E(),u(`div`,{class:`color-trigger`,style:d({color:r.value})},[(E(),u(`svg`,ws,[i.value?(E(),u(`defs`,Ts,[i.value.gradientType===`linear`?(E(),u(`linearGradient`,z({key:0,id:a,gradientUnits:`userSpaceOnUse`},c(i.value.angle,2,2,16,16)),[(E(!0),u(n,null,V(i.value.stops,(e,t)=>(E(),u(`stop`,{key:t,offset:e.position,"stop-color":e.color},null,8,Es))),128))],16)):(E(),u(`radialGradient`,{key:1,id:a,gradientUnits:`userSpaceOnUse`,cx:`10`,cy:`10`,r:Math.hypot(16,16)/2},[(E(!0),u(n,null,V(i.value.stops,(e,t)=>(E(),u(`stop`,{key:t,offset:e.position,"stop-color":e.color},null,8,Os))),128))],8,Ds))])):o(``,!0),v(`rect`,{x:`2`,y:`2`,width:`16`,height:`16`,rx:`2`,fill:i.value?`url(#${a})`:r.value,stroke:`currentColor`,"stroke-width":`1.5`},null,8,ks)]))],4))}}),[[`__scopeId`,`data-v-58b0b252`]]),js={class:`outline-trigger`},Ms={key:0,class:`outline-none`},Ns={key:1,class:`outline-preview`},Ps={key:0,class:`outline-none-item`},Fs={class:`color-picker-wrapper`},Is=q(S({__name:`OutlineMenu`,props:{border:{},type:{}},emits:[`update:border`],setup(e,{emit:r}){let i=e,a=r,{t:c}=J(),{theme:l}=Z(),p=s(()=>i.type===`inShape`?c(`floatBar.border`):c(`floatBar.line`)),m=vo(`#333`),h=s(()=>i.border?.style||`none`),g=s(()=>ut(l.value,i.border)),_=s(()=>g.value?.color??m),y=s(()=>+(i.type===`inLine`)),b=s(()=>as(`${p.value}${c(`floatBar.color`)}`,c,rs(i.border?.color))),S=s(()=>{let e=[{label:c(`floatBar.solidLine`),value:`solid`},{label:c(`floatBar.dashedLine`),value:`dash`},{label:c(`floatBar.dottedLine`),value:`dot`}];return i.type===`inShape`?[{label:c(`floatBar.noBorder`),value:`none`},...e]:e}),C=e=>Math.max(e??2,y.value),w=e=>{e===`none`?a(`update:border`,void 0):a(`update:border`,{width:C(i.border?.width),color:i.border?.color??m,style:e})},D=e=>{a(`update:border`,{color:i.border?.color??m,style:i.border?.style??`solid`,...e,width:C(e.width??i.border?.width)})};return(r,i)=>(E(),u(n,null,[x(Yt,{tooltip:`${p.value}${F(c)(`floatBar.style`)}`,"float-options":F($)},{trigger:T(()=>[v(`div`,js,[h.value===`none`?(E(),u(`div`,Ms,f(F(c)(`floatBar.noBorder`)),1)):(E(),u(`div`,Ns,[v(`div`,{class:t([`outline-line`,h.value])},null,2)]))])]),popover:T(()=>[x(Jt,{"menu-list":S.value,onClick:w},{default:T(({item:e})=>[e.value===`none`?(E(),u(`div`,Ps,f(F(c)(`floatBar.noBorder`)),1)):(E(),u(`div`,{key:1,class:t([`outline-line`,e.value])},null,2))]),_:1},8,[`menu-list`])]),_:1},8,[`tooltip`,`float-options`]),h.value!==`none`&&e.border?(E(),u(n,{key:0},[x(lo,{value:C(e.border.width),min:y.value,max:50,step:1,tooltip:`${p.value}${F(c)(`floatBar.thickness`)}`,"input-width":`1.5em`,"onUpdate:value":i[0]||(i[0]=e=>D({width:e}))},null,8,[`value`,`min`,`tooltip`]),x(Yt,{tooltip:b.value,"float-options":F($)},{trigger:T(()=>[v(`div`,{class:`color-trigger`,style:d({color:_.value})},[v(`div`,{class:`color-square`,style:d({backgroundColor:_.value,border:`1px solid ${_.value}`})},null,4)],4)]),popover:T(()=>[v(`div`,Fs,[x(Fo,{"model-value":_.value,"onUpdate:modelValue":i[1]||(i[1]=e=>D({color:e}))},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`])],64)):o(``,!0)],64))}}),[[`__scopeId`,`data-v-2bba824e`]]),Ls=S({__name:`FlipMenu`,emits:[`edit`],setup(e,{emit:t}){let r=t,{currentPage:i,updateElement:a}=Z(),{handleElementId:o,pushUndo:c}=Q(),{t:l}=J(),d=s(()=>{if(!(!i.value||!o.value))return i.value.elements.find(e=>e.elementId===o.value)}),f=s(()=>{let e=d.value;return e&&(e.elementType===`image`||e.elementType===`shape`||e.elementType===`icon`)?e.flip?.[0]??!1:!1}),p=s(()=>{let e=d.value;return e&&(e.elementType===`image`||e.elementType===`shape`||e.elementType===`icon`)?e.flip?.[1]??!1:!1}),m=(e,t)=>{let n=d.value;if(!n||!i.value||(c(),n.elementType!==`image`&&n.elementType!==`shape`&&n.elementType!==`icon`))return;let o={},s=n.flip??[!1,!1];o.flip=[e===void 0?s[0]:e,t===void 0?s[1]:t],a(i.value.pageId,n.elementId,o),r(`edit`)};return(e,t)=>(E(),u(n,null,[x(En,{value:f.value,"onUpdate:value":t[0]||(t[0]=e=>m(e,void 0)),tooltip:F(l)(`floatBar.horizontalFlip`),icon:`Flip`,"no-active":``},null,8,[`value`,`tooltip`]),x(En,{value:p.value,"onUpdate:value":t[1]||(t[1]=e=>m(void 0,e)),tooltip:F(l)(`floatBar.verticalFlip`),icon:`Flip_b`,"no-active":``},null,8,[`value`,`tooltip`])],64))}}),Rs={class:`float-line`},zs={class:`shape-pool-panel`},Bs={class:`shape-pool-content`},Vs={class:`pool-container`},Hs={class:`color-picker-wrapper`},Us=q(S({__name:`ShapeBar`,emits:[`edit`],setup(e,{emit:t}){let n=t,{currentPage:r,updateElement:i,theme:a}=Z(),{handleElementId:o,pushUndo:c}=Q(),{t:l}=J(),d=_(),f=s(()=>{let e=r.value,t=o.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),p=s(()=>{if(f.value?.elementType===`shape`)return nt(a.value,f.value.fill)}),m=s(()=>as(l(`floatBar.colorFill`),l,is(f.value?.fill))),h=s(()=>{let e=p.value;return e?.type===`solid`?e.color:e?.type===`gradient`?e.stops[0]?.color??`#fff`:`#fff`}),g=s(()=>{if(f.value?.elementType===`shape`)return f.value.border}),y=e=>{let t=f.value,a=r.value;!t||!a||(c(),i(a.pageId,t.elementId,{fill:{type:`solid`,color:e}}),n(`edit`))},b=e=>{let t=f.value,a=r.value;!t||!a||(c(),i(a.pageId,t.elementId,{border:e}),n(`edit`))},S=e=>{let t=f.value,a=r.value;d.value?.close(),!(!t||!a||t.elementType!==`shape`||t.shapeName===e)&&(c(),i(a.pageId,t.elementId,{shapeName:e,adjustments:void 0,viewBox:void 0,path:void 0}),n(`edit`))};return(e,t)=>(E(),u(`div`,Rs,[x(Yt,{ref_key:`replaceShapePopoverRef`,ref:d,tooltip:F(l)(`floatBar.replaceShape`),"float-options":F($),"content-click-closes":!1},{trigger:T(({popoverVisible:e})=>[x(En,{value:e,icon:`Replace`},null,8,[`value`])]),popover:T(()=>[v(`div`,zs,[v(`div`,Bs,[v(`div`,Vs,[x(Qn,{onSelect:S})])])])]),_:1},8,[`tooltip`,`float-options`]),x(ns),x(Yt,{tooltip:m.value,"float-options":F($)},{trigger:T(()=>[x(As,{fill:p.value},null,8,[`fill`])]),popover:T(()=>[v(`div`,Hs,[x(Fo,{"model-value":h.value,"onUpdate:modelValue":y},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(Is,{border:g.value,type:`inShape`,"onUpdate:border":b},null,8,[`border`]),x(ns),x(Ls,{onEdit:t[0]||(t[0]=e=>n(`edit`))}),x(Zo,{onEdit:t[1]||(t[1]=e=>n(`edit`))}),x(Qo,{onEdit:t[2]||(t[2]=e=>n(`edit`))})]))}}),[[`__scopeId`,`data-v-48b29257`]]),Ws={class:`float-line`},Gs=S({__name:`ImageBar`,emits:[`edit`],setup(e,{emit:t}){let n=t,{currentPage:r,updateElement:i}=Z(),{handleElementId:a,pushUndo:o,isEditable:c}=Q(),{t:l}=J(),{uploadImage:d}=pe(),f=ye(),p=s(()=>{let e=r.value,t=a.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),m=s(()=>{let e=p.value;return!e||e.elementType!==`image`?!1:!!e.crop}),h=s(()=>[{name:`fitFill`,label:l(`floatBar.fitFill`),value:`fill`},{name:`fitContain`,label:l(`floatBar.fitContain`),value:`contain`},{name:`fitCover`,label:l(`floatBar.fitCover`),value:`cover`}]),g=s(()=>p.value?.fit?.mode??`fill`),_=s(()=>{if(p.value?.elementType===`image`)return p.value.border}),v=()=>{if(!c.value)return;let e=document.createElement(`input`);e.type=`file`,e.accept=`image/*`,e.addEventListener(`change`,async e=>{let t=e.target.files?.[0];if(!t)return;let a=p.value,s=r.value;if(!(!a||!s||a.elementType!==`image`))try{let e=await d(t);if(!c.value)return;o();let r=new window.Image;r.src=e,await new Promise((e,t)=>{r.addEventListener(`load`,()=>e(),{once:!0}),r.addEventListener(`error`,()=>t(Error(`image load failed`)),{once:!0})});let l=a.bounds[2],u=a.bounds[3],f=a.bounds[0],p=a.bounds[1],m=f+l/2,h=p+u/2,g=r.width*(u/r.height),_=u,v=m-g/2,y=h-_/2;i(s.pageId,a.elementId,{src:e,bounds:[v,y,g,_],crop:void 0}),n(`edit`)}catch(e){Ae(`[Upload] Failed to replace image`,e),f.error(`图片上传失败,请稍后重试`)}}),e.click()},y=()=>{let e=p.value,t=r.value;!e||!t||e.elementType!==`image`||(o(),i(t.pageId,e.elementId,{crop:e.crop?void 0:{left:0,top:0,right:0,bottom:0}}),n(`edit`))},b=e=>{let t=p.value,a=r.value;!t||!a||t.elementType!==`image`||(o(),i(a.pageId,t.elementId,{fit:{mode:e}}),n(`edit`))},S=e=>{let t=p.value,a=r.value;!t||!a||t.elementType!==`image`||(o(),i(a.pageId,t.elementId,{border:e}),n(`edit`))};return(e,t)=>(E(),u(`div`,Ws,[x(En,{value:!1,icon:`Replace`,tooltip:F(l)(`floatBar.replaceImage`),"onUpdate:value":v},null,8,[`tooltip`]),x(En,{value:m.value,icon:`Cropping`,tooltip:m.value?F(l)(`floatBar.cancelCrop`):F(l)(`floatBar.cropImage`),"onUpdate:value":y},null,8,[`value`,`tooltip`]),x(Xt,{"menu-list":h.value,"active-menu":g.value,tooltip:F(l)(`floatBar.imageFit`),"float-options":F($),onClick:t[0]||(t[0]=e=>b(e))},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(Is,{border:_.value,type:`inShape`,"onUpdate:border":S},null,8,[`border`]),x(ns),x(Ls,{onEdit:t[1]||(t[1]=e=>n(`edit`))}),x(Zo,{onEdit:t[2]||(t[2]=e=>n(`edit`))}),x(ns),x(Qo,{onEdit:t[3]||(t[3]=e=>n(`edit`))})]))}}),Ks={class:`line-arrow-preview`,width:`20`,height:`24`,viewBox:`0 0 24 24`,overflow:`visible`},qs=[`marker-start`,`marker-end`],Js=q(S({__name:`LineArrowPreview`,props:{value:{},position:{}},setup(e){let t=e,n=p()?.uid??0,r=s(()=>`line-arrow-preview-${n}-${t.position}-${t.value}`),i=s(()=>t.value===`none`?void 0:t.value),a=s(()=>t.position===`start`&&i.value?`url(#${r.value}-${i.value}-start)`:void 0),c=s(()=>t.position===`end`&&i.value?`url(#${r.value}-${i.value}-end)`:void 0);return(t,n)=>(E(),u(`svg`,Ks,[v(`defs`,null,[i.value?(E(),b(Qe,{key:0,id:r.value,position:e.position,type:i.value,color:`currentColor`,baseSize:3},null,8,[`id`,`position`,`type`])):o(``,!0)]),v(`path`,{d:`M5 12 L19 12`,stroke:`currentColor`,fill:`none`,"stroke-width":`2`,"marker-start":a.value,"marker-end":c.value},null,8,qs)]))}}),[[`__scopeId`,`data-v-19c1ad29`]]),Ys={class:`float-line`},Xs=q(S({__name:`LineBar`,emits:[`edit`],setup(e,{emit:t}){let r=t,{currentPage:i,updateElement:a}=Z(),{handleElementId:c,lineEditMode:l,pushUndo:d}=Q(),{t:f}=J(),p={width:2,style:`solid`,color:`#333333`},m=[{label:`none`,value:`none`},{label:`arrow`,value:`arrow`},{label:`stealth`,value:`stealth`},{label:`diamond`,value:`diamond`},{label:`oval`,value:`oval`}],h=e=>({width:e?.width??p.width,style:e?.style??p.style,color:e?.color??p.color}),g=s(()=>{let e=i.value,t=c.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),_=s(()=>{if(!(g.value?.elementType!==`shape`&&g.value?.elementType!==`line`))return h(g.value.border)}),v=s(()=>g.value?.elementType===`line`?g.value:void 0),y=s(()=>!!v.value),b=s(()=>v.value?.curve??`sharp`),S=s(()=>Ve.map(e=>({label:f(e.labelKey),value:e.value}))),C=s(()=>v.value?.arrow?.[0]??`none`),w=s(()=>v.value?.arrow?.[1]??`none`),D=e=>{y.value&&(l.value=e,r(`edit`))},O=e=>{let t=v.value,n=i.value;!t||!n||b.value===e||(d(),a(n.pageId,t.elementId,{curve:e}),r(`edit`))},k=(e,t)=>{let n=v.value,o=i.value;if(!n||!o)return;let s=[n.arrow?.[0]??null,n.arrow?.[1]??null];s[e===`start`?0:1]=t===`none`?null:t,d(),a(o.pageId,n.elementId,{arrow:s}),r(`edit`)},A=e=>{let t=g.value,n=i.value;!t||!n||t.elementType!==`shape`&&t.elementType!==`line`||(d(),a(n.pageId,t.elementId,{border:e}),r(`edit`))};return(e,t)=>(E(),u(`div`,Ys,[x(Is,{border:_.value,type:`inLine`,"onUpdate:border":A},null,8,[`border`]),y.value?(E(),u(n,{key:0},[x(ns),x(En,{value:F(l),class:`line-edit-toggle`,icon:`Write`,tooltip:F(f)(`floatBar.editLine`),"onUpdate:value":D},null,8,[`value`,`tooltip`]),x(Xt,{class:`line-curve-select`,"menu-list":S.value,"active-menu":b.value,tooltip:F(f)(`floatBar.curveLine`),"float-options":F($),onClick:t[0]||(t[0]=e=>O(e))},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(ns),x(Xt,{class:`line-arrow-select`,"menu-list":m,"active-menu":C.value,tooltip:F(f)(`floatBar.lineStartArrow`),"float-options":F($),onClick:t[1]||(t[1]=e=>k(`start`,e))},{label:T(()=>[x(Js,{value:C.value,position:`start`},null,8,[`value`])]),item:T(({item:e})=>[x(Js,{value:e.value,position:`start`},null,8,[`value`])]),_:1},8,[`active-menu`,`tooltip`,`float-options`]),x(Xt,{class:`line-arrow-select`,"menu-list":m,"active-menu":w.value,tooltip:F(f)(`floatBar.lineEndArrow`),"float-options":F($),onClick:t[2]||(t[2]=e=>k(`end`,e))},{label:T(()=>[x(Js,{value:w.value,position:`end`},null,8,[`value`])]),item:T(({item:e})=>[x(Js,{value:e.value,position:`end`},null,8,[`value`])]),_:1},8,[`active-menu`,`tooltip`,`float-options`])],64)):o(``,!0),x(ns),x(Zo,{onEdit:t[3]||(t[3]=e=>r(`edit`))}),x(Qo,{onEdit:t[4]||(t[4]=e=>r(`edit`))})]))}}),[[`__scopeId`,`data-v-043f4c70`]]),Zs=S({__name:`TableBorderMenu`,props:{options:{},activeValue:{},tooltip:{}},emits:[`select`],setup(e,{emit:t}){let n=e=>e!==`divider`,r=e,i=t,a=s(()=>{let e=r.options.filter(n),t=e.find(e=>e.value===r.activeValue);return t?t.name:e[0]?.name});return(t,n)=>(E(),b(Xt,{"menu-list":e.options,"active-menu":e.activeValue,tooltip:e.tooltip,icon:a.value,"float-options":F($),onClick:n[0]||(n[0]=e=>i(`select`,String(e)))},null,8,[`menu-list`,`active-menu`,`tooltip`,`icon`,`float-options`]))}}),Qs={class:`float-line cell-line`},$s={class:`color-picker-wrapper`},ec={class:`color-picker-wrapper`},tc={class:`color-picker-wrapper`},nc={key:0,class:`unsupported-font-trigger`},rc={class:`unsupported-font-label`},ic={key:1,class:`font-trigger-label`},ac={key:0,class:`font-divider`},oc=[`alt`,`src`],sc={class:`latex-pool-container`},cc=`divider`,lc=q(S({__name:`TableCellBar`,emits:[`edit`],setup(e,{emit:r}){let i=r,a=[`center`,`middle`],{t:o,locale:c}=J(),l={width:1,style:`solid`,color:`#000000`},p=s(()=>gt(He(c.value,cc),b.value.customFonts,cc)),m=e=>rt(e,c.value),h=e=>Nt(e.value,c.value),{currentPage:g,updateElement:_,theme:y,meta:b}=Z(),{handleElementId:S,selectedTableCells:C,activeTableCellKey:w,pushUndo:D,richTextAttrs:O,isTextEditing:k,selectedLatex:A}=Q(),j=s(()=>{let e=g.value,t=S.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),M=s(()=>{let e=j.value;return!e||e.elementType!==`table`?[]:lt(e.rows,e.columnWidths.length)}),N=s(()=>{let e=j.value;if(!e||e.elementType!==`table`)return[];let t=M.value;return C.value.map(e=>{let[n,r]=e.split(`_`).map(Number),i=t[n]?.[r];return!i||i.kind!==`anchor`?null:{row:n,col:r,cell:i.cell,cellIndexInRow:i.cellIndexInRow}}).filter(Boolean)}),P=e=>{if(e)return Array.isArray(e)?e.find(e=>!!e):e},I=e=>{if(e.content)return e.content;let t=e;return{text:t.text??``,style:t.textStyle,color:t.color,fontSize:t.fontSize,fontFamily:t.fontFamily,fontStyle:t.fontStyle,lineHeight:t.lineHeight,lineHeightPx:t.lineHeightPx,letterSpacing:t.letterSpacing,marginTop:t.marginTop,align:t.align,wrap:t.wrap,backgroundColor:t.backgroundColor,bold:t.bold,italic:t.italic}},L=(e,t)=>{if(e.content)return{...e,content:{...e.content,...t}};let{style:n,...r}=t;return{...e,...r,...n===void 0?{}:{textStyle:n}}},R=e=>{let t=j.value,n=g.value;if(!t||!n||t.elementType!==`table`||C.value.length===0)return;D();let r=M.value,a=t.rows.map(e=>[...e]);for(let t of C.value){let[n,i]=t.split(`_`).map(Number),o=r[n]?.[i];if(o?.kind!==`anchor`)continue;let{cellPatch:s,contentPatch:c}=e(o.cell),l={...a[n][o.cellIndexInRow],...s};c&&(l=L(l,c)),s&&`border`in s&&s.border===void 0&&delete l.border,a[n][o.cellIndexInRow]=l}_(n.pageId,t.elementId,{rows:a}),i(`edit`)},ee=s(()=>{let e=N.value;if(e.length===0)return;let t=nt(y.value,e[0].cell.fill);return e.every(e=>JSON.stringify(nt(y.value,e.cell.fill))===JSON.stringify(t))?t:void 0}),te=s(()=>{let e=ee.value;if(e?.type===`solid`)return e.color;if(e?.type===`gradient`)return e.stops[0]?.color??`#fff`}),ne=s(()=>{let e=N.value,t=is(e[0]?.cell.fill),n=!!t&&e.every(e=>is(e.cell.fill)===t);return as(o(`floatBar.cellBackground`),o,n?t:void 0)}),z=e=>{R(()=>({cellPatch:{fill:{type:`solid`,color:e}}}))},B=s(()=>{let e=N.value;if(e.length===0)return;let t=P(e[0].cell.border);return e.every(e=>JSON.stringify(P(e.cell.border))===JSON.stringify(t))?t:void 0}),re=s(()=>[{name:`bdDef`,label:o(`floatBar.defaultBorder`),value:`default`},{name:`bdNone`,label:o(`floatBar.noBorder`),value:`none`},{name:`bdAll`,label:o(`floatBar.allBorders`),value:`all`},`divider`,{name:`bdTop`,label:o(`floatBar.topBorder`),value:`top`},{name:`bdRight`,label:o(`floatBar.rightBorder`),value:`right`},{name:`bdBottom`,label:o(`floatBar.bottomBorder`),value:`bottom`},{name:`bdLeft`,label:o(`floatBar.leftBorder`),value:`left`}]),V=s(()=>{let e=N.value;if(e.length===0)return;let t=H(e[0].cell.border);return e.every(e=>H(e.cell.border)===t)?t:void 0}),H=e=>{if(e===void 0)return`default`;if(e===null)return`none`;let t=Vt(e).map(e=>!!e&&e.style!==`none`);if(!t.some(Boolean))return`none`;if(t.every(Boolean))return`all`;if(t[0]&&!t[1]&&!t[2]&&!t[3])return`top`;if(!t[0]&&t[1]&&!t[2]&&!t[3])return`right`;if(!t[0]&&!t[1]&&t[2]&&!t[3])return`bottom`;if(!t[0]&&!t[1]&&!t[2]&&t[3])return`left`},ie=s(()=>{let e=V.value;if(!(!e||e===`default`||e===`none`))return B.value??l}),ae=(e,t)=>e===`none`?[null,null,null,null]:e===`default`||e===`all`?t:e===`top`?[t,null,null,null]:e===`right`?[null,t,null,null]:e===`bottom`?[null,null,t,null]:[null,null,null,t],oe=e=>{let t=e?V.value&&V.value!==`default`&&V.value!==`none`?V.value:`all`:`none`;R(()=>({cellPatch:{border:e?ae(t,e):ae(`none`,l)}}))},se=e=>{if(e===`default`){R(()=>({cellPatch:{border:void 0}}));return}R(t=>({cellPatch:{border:ae(e,P(t.border)??B.value??l)}}))},U=e=>{let t=j.value;if(!(!t||t.elementType!==`table`))return`${t.elementId}:${e}`};function W(){let e=j.value;return!e||e.elementType!==`table`?null:document.querySelector(`[data-element-id="${e.elementId}"]`)}function ce(e){return e?e instanceof HTMLElement?e:e.parentElement:null}function G(){if(!(document.activeElement instanceof HTMLElement)||!W()?.contains(document.activeElement))return null;let e=document.activeElement.closest(`.pptd-table-cell`);return e?.querySelector(`.prosemirror-editor`)?.contains(document.activeElement)?e.dataset.cellId??null:null}function K(e=!1){let t=W();if(!t)return null;let n=window.getSelection();if(!n||!e&&n.isCollapsed||!n.anchorNode||!n.focusNode)return null;let r=ce(n.anchorNode)?.closest(`.pptd-table-cell`),i=ce(n.focusNode)?.closest(`.pptd-table-cell`);if(!r||r!==i||!t?.contains(r))return null;let a=r.querySelector(`.prosemirror-editor`);return!a?.contains(n.anchorNode)||!a.contains(n.focusNode)?null:r.dataset.cellId??null}function le(){return!!q.value}let q=s(()=>K()||(k.value?G()??K(!0)??w.value:null)),ue=s(()=>!!q.value),de=s(()=>{if(ue.value&&O.value.forecolor)return zt(y.value,O.value.forecolor);let e=N.value;if(e.length===0)return;let t=Re(y.value,I(e[0].cell)).color;return e.every(e=>Re(y.value,I(e.cell)).color===t)?t:void 0}),fe=s(()=>{if(ue.value&&O.value.forecolor)return;let e=N.value;if(e.length===0)return;let t=Re(y.value,I(e[0].cell)).gradient;return e.every(e=>{let n=Re(y.value,I(e.cell)).gradient;return JSON.stringify(n)===JSON.stringify(t)})?t:void 0}),pe=s(()=>{if(ue.value&&O.value.forecolor)return as(o(`floatBar.fontColor`),o,rs(O.value.forecolor));let e=N.value,t=e[0]?rs(I(e[0].cell).color):void 0,n=!!t&&e.every(e=>rs(I(e.cell).color)===t);return as(o(`floatBar.fontColor`),o,n?t:void 0)}),me=e=>{if(le()){Ue(`forecolor`,e);return}R(()=>({contentPatch:{color:e}}))},he=s(()=>{if(ue.value&&O.value.backcolor)return zt(y.value,O.value.backcolor);let e=N.value;if(e.length===0)return;let t=Re(y.value,I(e[0].cell)).backgroundColor;return e.every(e=>Re(y.value,I(e.cell)).backgroundColor===t)?t:void 0}),ge=s(()=>{if(ue.value&&O.value.backcolor)return as(o(`floatBar.textBackground`),o,rs(O.value.backcolor));let e=N.value,t=e[0]?rs(I(e[0].cell).backgroundColor):void 0,n=!!t&&e.every(e=>rs(I(e.cell).backgroundColor)===t);return as(o(`floatBar.textBackground`),o,n?t:void 0)}),_e=e=>{if(le()){Ue(`backcolor`,e);return}R(()=>({contentPatch:{backgroundColor:e}}))};function ve(e){let t=ye(e);return Lt.find(e=>e.value===t||e.aliasList.includes(t))?.value??``}function ye(e){return e.trim().replace(/^['"]|['"]$/g,``)}function be(e){return ye(e.split(`,`)[0]??e)}function xe(e){let t=be(e);return ve(t)||ft(t,b.value.customFonts)}function Se(e){if(!e)return``;let t=Ie(e);return t.textBetween(0,t.content.size)}function Ce(){let e=window.getSelection();return e&&!e.isCollapsed?e.toString():``}function we(e,t){let n=I(e);return kt(n.fontFamily,t??Se(n.text??``))}let Te=s(()=>{let e=ue.value?O.value.fontname:``;if(e){let t=kt(e,Ce()),n=xe(t);return n?{value:n,unsupportedName:``}:{value:void 0,unsupportedName:t}}let t=N.value;if(t.length===0)return{value:``,unsupportedName:``};let n=Ce()||void 0,r=we(t[0].cell,n);if(!t.every(e=>we(e.cell)===r)||!r)return{value:``,unsupportedName:``};let i=xe(r);return i?{value:i,unsupportedName:``}:{value:void 0,unsupportedName:r}}),Ee=s(()=>Te.value.unsupportedName),De=s(()=>Ee.value?void 0:Te.value.value),Oe=s(()=>{let e=Lt.find(e=>e.value===De.value);return e?m(e):De.value||void 0}),Y=s(()=>Ee.value?o(`floatBar.unsupportedFont`):o(`floatBar.font`)),ke=e=>{le()?Ue(`fontname`,e):R(t=>{let n=I(t),r=Ce()||Se(n.text??``);return{contentPatch:{fontFamily:Tt(n.fontFamily,e,r)}}});let t=Lt.find(t=>t.value===e);t?.fntdataUrl&&mt(t)},Ae=s(()=>{let e=ue.value?Number.parseFloat(O.value.fontsize):NaN;if(!Number.isNaN(e))return e;let t=N.value;if(t.length===0)return 16;let n=I(t[0].cell).fontSize??16;return t.every(e=>(I(e.cell).fontSize??16)===n)?n:16}),je=e=>{if(le()){Ue(`fontsize`,`${e}px`);return}R(()=>({contentPatch:{fontSize:e}}))},Me=(e,t)=>{let n=et[t],r=Ie(e),i=!1,a=!0;return r.descendants(e=>e.isText?(i=!0,n.isInSet(e.marks)||(a=!1),!0):!0),i&&a},Ne=(e,t)=>{let n=et[t],r=Ie(e),i=!1,a=!0;if(r.descendants(e=>e.isText?(i=!0,n.isInSet(e.marks)||(a=!1),!0):!0),!i)return e;let o=Gt.create({doc:r}),s=o.doc.content.size,c=a?o.tr.removeMark(0,s,n):o.tr.addMark(0,s,n.create());return Ht(o.apply(c).doc)},Pe=e=>{let t=N.value;return t.length>0&&t.every(t=>Me(Pt(t.cell),e))},Fe=s(()=>ue.value?O.value.bold:Pe(`bold`)),Le=s(()=>ue.value?O.value.em:Pe(`em`)),ze=s(()=>ue.value?O.value.underline:Pe(`underline`)),Be=s(()=>ue.value?O.value.strikethrough:Pe(`strikethrough`)),Ve=e=>{if(K()){Ue(e);return}R(t=>({contentPatch:{text:Ne(Pt(t),e)}}));let t=q.value;t&&C.value.includes(t)&&Ue(e,void 0,`wholeDoc`)},Ue=(e,t,n)=>{let r=q.value,a=r?U(r):void 0;a&&(ot.emit(it.RICH_TEXT_COMMAND,{target:a,action:{command:e,value:t,scope:n}}),j.value&&i(`edit`))},We=s(()=>{let e=q.value;return!e||!A.value?null:W()?.querySelector(`.pptd-table-cell[data-cell-id="${e}"] .latex-inline.ProseMirror-selectednode`)?A.value:null}),Ge=e=>{let t=q.value,n=t?U(t):void 0;n&&(ot.emit(it.INSERT_LATEX,{target:n,tex:e,action:We.value?`replace`:`insert`}),j.value&&i(`edit`))},Ke=s(()=>[{name:`LeftAlign`,label:o(`floatBar.leftAlign`),value:`left`},{name:`CenterAlign`,label:o(`floatBar.centerAlign`),value:`center`},{name:`RightAlign`,label:o(`floatBar.rightAlign`),value:`right`},{name:`Justify`,label:o(`floatBar.justify`),value:`justify`}]),qe=s(()=>[{name:`TopAlign`,label:o(`floatBar.topAlign`),value:`top`},{name:`CenterVertically`,label:o(`floatBar.verticallyCenter`),value:`middle`},{name:`BottomAlign`,label:o(`floatBar.bottomAlign`),value:`bottom`}]),Je=s(()=>{let e=N.value;if(e.length===0)return a[0];let t=I(e[0].cell).align?.[0]??a[0];return!e.every(e=>(I(e.cell).align?.[0]??a[0])===t)||t===`distributed`?a[0]:t}),Ye=s(()=>{let e=N.value;if(e.length===0)return a[1];let t=I(e[0].cell).align?.[1]??a[1];return e.every(e=>(I(e.cell).align?.[1]??a[1])===t)?t:a[1]}),Xe=e=>{R(t=>({contentPatch:{align:[e,(I(t).align??a)[1]],text:at(Pt(t))}}))},Ze=e=>{R(t=>({contentPatch:{align:[(I(t).align??a)[0],e]}}))};return(e,r)=>(E(),u(`div`,Qs,[x(Yt,{tooltip:ne.value,"float-options":F($)},{trigger:T(()=>[x(As,{fill:ee.value},null,8,[`fill`])]),popover:T(()=>[v(`div`,$s,[x(Fo,{"model-value":te.value??`#fff`,"onUpdate:modelValue":z},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(ns),x(Zs,{options:re.value,"active-value":V.value,tooltip:F(o)(`floatBar.border`),onSelect:se},null,8,[`options`,`active-value`,`tooltip`]),x(Is,{border:ie.value,type:`inShape`,"onUpdate:border":oe},null,8,[`border`]),x(ns),x(Yt,{tooltip:pe.value,"float-options":F($)},{trigger:T(()=>[x(Uo,{color:de.value,gradient:fe.value},null,8,[`color`,`gradient`])]),popover:T(()=>[v(`div`,ec,[x(Fo,{"model-value":de.value,"onUpdate:modelValue":me},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(Yt,{tooltip:ge.value,"float-options":F($)},{trigger:T(()=>[x(qo,{color:he.value},null,8,[`color`])]),popover:T(()=>[v(`div`,tc,[x(Fo,{"model-value":he.value??`#ffffff`,"onUpdate:modelValue":_e},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(Xt,{"menu-list":p.value,"active-menu":De.value,tooltip:Y.value,"float-options":F($),"max-width":`7em`,"keep-highlight":``,"scroll-into-view":``,onClick:ke},{label:T(()=>[Ee.value?(E(),u(`span`,nc,[x(F(X),{class:`unsupported-font-icon`,name:`Warning`,width:`14`,height:`14`}),v(`span`,rc,f(Ee.value),1)])):(E(),u(`span`,ic,f(Oe.value),1))]),item:T(({item:e})=>[typeof e==`string`?(E(),u(`div`,ac)):(E(),u(n,{key:1},[h(e)?(E(),u(`img`,{key:0,class:`font-menu-item font-menu-item-image`,alt:m(e),src:h(e)},null,8,oc)):(E(),u(`div`,{key:1,class:`font-menu-item`,style:d({fontFamily:e.value||`inherit`})},f(m(e)),5))],64))]),_:1},8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(lo,{postfix:`px`,"input-width":`28px`,min:6,max:120,step:2,value:Ae.value,tooltip:F(o)(`floatBar.fontSize`),"onUpdate:value":je},null,8,[`value`,`tooltip`]),x(ns),x(Yt,{tooltip:We.value?F(o)(`floatBar.editLatex`):F(o)(`floatBar.insertLatex`),"float-options":F($)},{trigger:T(()=>[x(F(X),{class:t([`latex-button`,{"has-latex":!!We.value}]),name:`MathFormula`,width:`20`,height:`20`},null,8,[`class`])]),popover:T(()=>[v(`div`,sc,[x(gr,{value:We.value?.tex??``,title:We.value?F(o)(`floatBar.editLatex`):F(o)(`floatBar.insertLatex`),onSelect:Ge},null,8,[`value`,`title`])])]),_:1},8,[`tooltip`,`float-options`]),x(En,{value:Fe.value,icon:`Bold`,tooltip:F(o)(`floatBar.bold`),"onUpdate:value":r[0]||(r[0]=e=>Ve(`bold`))},null,8,[`value`,`tooltip`]),x(En,{value:Le.value,icon:`Italic`,tooltip:F(o)(`floatBar.italic`),"onUpdate:value":r[1]||(r[1]=e=>Ve(`em`))},null,8,[`value`,`tooltip`]),x(En,{value:ze.value,icon:`Underline`,tooltip:F(o)(`floatBar.underline`),"onUpdate:value":r[2]||(r[2]=e=>Ve(`underline`))},null,8,[`value`,`tooltip`]),x(En,{value:Be.value,icon:`StrikeThrough`,tooltip:F(o)(`floatBar.strikethrough`),"onUpdate:value":r[3]||(r[3]=e=>Ve(`strikethrough`))},null,8,[`value`,`tooltip`]),x(ns),x(Xt,{"menu-list":Ke.value,"active-menu":Je.value,tooltip:F(o)(`floatBar.horizontalAlignment`),"float-options":F($),"scroll-into-view":``,onClick:Xe},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`]),x(Xt,{"menu-list":qe.value,"active-menu":Ye.value,tooltip:F(o)(`floatBar.verticalAlignment`),"float-options":F($),"scroll-into-view":``,onClick:Ze},null,8,[`menu-list`,`active-menu`,`tooltip`,`float-options`])]))}}),[[`__scopeId`,`data-v-d44cb64f`]]),uc={class:`table-bar`},dc={class:`float-line table-line`},fc={class:`table-style-trigger-label`},pc={class:`color-picker-wrapper`},mc=q(S({__name:`TableBar`,emits:[`edit`],setup(e,{emit:t}){let n=t,{currentPage:r,updateElement:i,removeElement:a,theme:c}=Z(),{handleElementId:l,selectedTableCells:d,activeTableCellKey:p,pushUndo:m}=Q(),{t:h}=J(),g={width:1,style:`solid`,color:`#000000`},_=s(()=>{let e=r.value,t=l.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),{canMerge:y,canSplit:S,mergeCells:C,splitCell:w,insertRow:D,deleteRows:O,insertCol:k,deleteCols:A}=Bt(s(()=>_.value??{elementType:`table`,elementId:``,bounds:[0,0,0,0],columnWidths:[],rowHeights:[],rows:[]}),s(()=>{let e=_.value;return!e||e.elementType!==`table`?[]:lt(e.rows,e.columnWidths.length)}),d),j=s(()=>Object.keys(c.value?.tableStyles??{}).map(e=>({label:e,value:e}))),M=s(()=>{let e=_.value?.style;if(!e||typeof e!=`string`||!Ft(e))return``;let t=e.slice(1);return c.value?.tableStyles?.[t]?t:``}),P=s(()=>M.value||h(`floatBar.unappliedTextStyle`)),I=e=>{let t=_.value,a=r.value;!t||!a||t.elementType!==`table`||(m(),i(a.pageId,t.elementId,{style:`$${e}`}),n(`edit`))},L=s(()=>{let e=_.value;if(!e||e.elementType!==`table`)return;let t=e.rows[0]?.[0];return nt(c.value,t?.fill)}),R=s(()=>{let e=_.value;return!e||e.elementType!==`table`?h(`floatBar.themeColor`):as(h(`floatBar.themeColor`),h,is(e.rows[0]?.[0]?.fill))}),ee=e=>{if(e)return Array.isArray(e)?e.find(e=>!!e&&e.style!==`none`):e},te=e=>{let t=e.border===void 0?void 0:ee(e.border);return{width:t?.width??g.width,style:t?.style&&t.style!==`none`?t.style:g.style,color:t?.color??g.color}},ne=e=>e.map(e=>e.map(e=>{if(!e.border)return e;let t={...e};return delete t.border,t})),z=s(()=>{let e=L.value;return e?.type===`solid`?e.color:e?.type===`gradient`?e.stops[0]?.color??`#fff`:`#fff`}),B=s(()=>[{name:`bdNone`,label:h(`floatBar.noBorder`),value:`none`},{name:`bdAll`,label:h(`floatBar.allBorders`),value:`all`},{name:`bdH`,label:h(`floatBar.topAndBottomBorders`),value:`horizontal`},{name:`bdV`,label:h(`floatBar.leftAndRightBorders`),value:`vertical`}]),re=e=>{let t=_.value,a=r.value;if(!t||!a||t.elementType!==`table`)return;m();let o=t.rows.map(t=>t.map(t=>({...t,fill:{type:`solid`,color:e}})));i(a.pageId,t.elementId,{rows:o}),n(`edit`)},V=s(()=>{let e=_.value;if(!e||e.elementType!==`table`||e.border===void 0)return`all`;if(e.border===null)return`none`;if(!Array.isArray(e.border))return e.border.style===`none`?`none`:`all`;let t=Vt(e.border).map(e=>!!e&&e.style!==`none`);return t.some(Boolean)?t.every(Boolean)?`all`:t[0]&&!t[1]&&t[2]&&!t[3]?`horizontal`:!t[0]&&t[1]&&!t[2]&&t[3]?`vertical`:`all`:`none`}),H=s(()=>{let e=_.value;if(!(!e||e.elementType!==`table`)&&V.value!==`none`)return ee(e.border)??g}),ie=(e,t)=>e===`none`?[null,null,null,null]:e===`horizontal`?[t,null,t,null]:e===`vertical`?[null,t,null,t]:t,ae=e=>{let t=_.value,a=r.value;if(!t||!a||t.elementType!==`table`)return;m();let o=e?V.value===`none`?`all`:V.value:`none`,s=ne(t.rows),c=e?ie(o,e):ie(`none`,g);i(a.pageId,t.elementId,{rows:s,border:c}),n(`edit`)},oe=e=>{let t=_.value,a=r.value;if(!t||!a||t.elementType!==`table`)return;m();let o=te(t),s=ne(t.rows),c=ie(e,o);i(a.pageId,t.elementId,{rows:s,border:c}),n(`edit`)},se=()=>{let e=_.value,t=r.value;if(!e||!t||e.elementType!==`table`)return;m();let a=e.columnWidths.length,o=Array.from({length:a},()=>1/a);i(t.pageId,e.elementId,{columnWidths:o}),n(`edit`)},U=e=>{let t=_.value;if(!(!t||t.elementType!==`table`))if(e){let e=lt(t.rows,t.columnWidths.length),n=[];e.forEach((e,t)=>{e.forEach((e,r)=>{e?.kind===`anchor`&&n.push(`${t}_${r}`)})}),d.value=n}else d.value=[]},W=()=>{let e=_.value,t=r.value;!e||!t||e.elementType!==`table`||(m(),a(t.pageId,e.elementId),d.value=[])},ce=s(()=>{let e=d.value;if(e.length===0)return null;let t=e.map(e=>e.split(`_`).map(Number));return{minR:Math.min(...t.map(e=>e[0])),maxR:Math.max(...t.map(e=>e[0])),minC:Math.min(...t.map(e=>e[1])),maxC:Math.max(...t.map(e=>e[1]))}}),G=s(()=>{let e=ce.value;return e?e.maxR-e.minR+1:0}),K=s(()=>{let e=ce.value;return e?e.maxC-e.minC+1:0}),le=s(()=>{let e=_.value;return!!e&&G.value>0&&e.rows.length>G.value}),q=s(()=>{let e=_.value;return!!e&&K.value>0&&e.columnWidths.length>K.value}),ue=s(()=>[{label:h(`floatBar.insertRowBefore`),value:`before`},{label:h(`floatBar.insertRowAfter`),value:`after`},{label:h(`contextMenu.deleteRow`),value:`delete`,disabled:!le.value}]),de=s(()=>[{label:h(`floatBar.insertColumnBefore`),value:`before`},{label:h(`floatBar.insertColumnAfter`),value:`after`},{label:h(`contextMenu.deleteColumn`),value:`delete`,disabled:!q.value}]),fe=s(()=>S.value?`split`:`merge`),pe=s(()=>S.value?h(`contextMenu.unmergeCells`):h(`contextMenu.mergeCells`)),me=s(()=>!y.value&&!S.value),he=e=>{let t=_.value,a=r.value;!t||!a||!e||(m(),i(a.pageId,t.elementId,e),d.value=[],p.value=null,n(`edit`))},ge=e=>{let t=_.value;if(!t)return;let n=ce.value;he(D(n?e===`before`?n.minR:n.maxR+1:e===`before`?0:t.rows.length))},_e=()=>{if(!le.value||!_.value)return;let e=ce.value;e&&he(O(Array.from({length:e.maxR-e.minR+1},(t,n)=>e.minR+n)))},ve=e=>{let t=_.value;if(!t)return;let n=ce.value;he(k(n?e===`before`?n.minC:n.maxC+1:e===`before`?0:t.columnWidths.length))},ye=()=>{if(!q.value||!_.value)return;let e=ce.value;e&&he(A(Array.from({length:e.maxC-e.minC+1},(t,n)=>e.minC+n)))},be=e=>{if(e===`delete`){_e();return}ge(e)},xe=e=>{if(e===`delete`){ye();return}ve(e)},Se=()=>{if(S.value){let[e,t]=d.value[0].split(`_`).map(Number);he(w(e,t));return}y.value&&he(C())};return(e,t)=>(E(),u(`div`,uc,[v(`div`,dc,[j.value.length?(E(),b(Xt,{key:0,class:`table-style-select`,"menu-list":j.value,"active-menu":M.value,tooltip:F(h)(`floatBar.tableStyle`),"float-options":F($),"max-width":`7em`,"keep-highlight":``,"scroll-into-view":``,onClick:I},{label:T(()=>[v(`span`,fc,f(P.value),1)]),_:1},8,[`menu-list`,`active-menu`,`tooltip`,`float-options`])):o(``,!0),x(Yt,{tooltip:R.value,"float-options":F($)},{trigger:T(()=>[x(As,{fill:L.value},null,8,[`fill`])]),popover:T(()=>[v(`div`,pc,[x(Fo,{"model-value":z.value,"onUpdate:modelValue":re},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(ns),x(Zs,{options:B.value,"active-value":V.value,tooltip:F(h)(`floatBar.border`),onSelect:oe},null,8,[`options`,`active-value`,`tooltip`]),x(Is,{border:H.value,type:`inShape`,"onUpdate:border":ae},null,8,[`border`]),x(ns),x(En,{value:!1,icon:`WordSpace`,tooltip:F(h)(`floatBar.equalizeColumnWidths`),"onUpdate:value":se},null,8,[`tooltip`]),x(En,{value:F(d).length>1,icon:`AllSelected`,tooltip:F(d).length>1?F(h)(`floatBar.deselectAll`):F(h)(`floatBar.selectAll`),"onUpdate:value":t[0]||(t[0]=e=>U(e))},null,8,[`value`,`tooltip`]),x(ns),x(Xt,{"menu-list":ue.value,tooltip:F(h)(`floatBar.rowAction`),icon:`rowAdd`,"float-options":F($),onClick:t[1]||(t[1]=e=>be(e))},null,8,[`menu-list`,`tooltip`,`float-options`]),x(Xt,{"menu-list":de.value,tooltip:F(h)(`floatBar.columnAction`),icon:`colAdd`,"float-options":F($),onClick:t[2]||(t[2]=e=>xe(e))},null,8,[`menu-list`,`tooltip`,`float-options`]),x(En,{value:!1,icon:fe.value,tooltip:pe.value,disabled:me.value,"no-active":``,"onUpdate:value":Se},null,8,[`icon`,`tooltip`,`disabled`]),x(ns),x(Qo,{onEdit:t[3]||(t[3]=e=>n(`edit`))}),x(ns),x(En,{class:`delete-table`,value:!1,icon:`Delete`,tooltip:F(h)(`floatBar.deleteTable`),"onUpdate:value":W},null,8,[`tooltip`])]),x(N,{name:`expand`},{default:T(()=>[F(d).length>0?(E(),b(lc,{key:0,onEdit:t[4]||(t[4]=e=>n(`edit`))})):o(``,!0)]),_:1})]))}}),[[`__scopeId`,`data-v-22460336`]]),hc=[`onClick`],gc=[`onClick`],_c=[`title`],vc=[`value`,`onInput`],yc=[`onClick`],bc=q(S({__name:`DataTable`,props:{data:{},colors:{},fields:{},isColorByField:{type:Boolean}},emits:[`change`,`editEnd`,`selectColor`,`tableClick`],setup(e,{emit:r}){let i=e,a=r,c=_(),p=_(),m=_(),h=s(()=>i.data??[]),g=s(()=>i.fields?.length?i.fields:Object.keys(h.value[0]??{}).map(e=>({key:e,name:e}))),y=s(()=>!!i.colors?.length),b=(e,t)=>{let n=e[t];return n==null?``:String(n)},x=(e,t)=>{c.value=e,p.value=t,M(()=>{let e=m.value?.querySelector(`input`);e?.focus(),e?.select()})},S=()=>{c.value=void 0,p.value=void 0,a(`editEnd`)},C=(e,t,n)=>{let r=n.target.value;a(`change`,e,t,r)},w=e=>{if(e.colorIndex!==void 0){a(`selectColor`,e.colorIndex);return}a(`tableClick`)},T=e=>{if(y.value&&!i.isColorByField){a(`selectColor`,e);return}a(`tableClick`)};return(r,i)=>(E(),u(`div`,{class:`float-bar-data-table`,onClick:i[1]||(i[1]=U(e=>a(`tableClick`),[`stop`])),onMousedown:i[2]||(i[2]=U(()=>{},[`stop`])),onPointerdown:i[3]||(i[3]=U(()=>{},[`stop`]))},[v(`table`,{ref_key:`dataTableRef`,ref:m,class:`data-table`},[v(`thead`,null,[v(`tr`,null,[i[4]||(i[4]=v(`th`,null,null,-1)),(E(!0),u(n,null,V(g.value,e=>(E(),u(`th`,{key:e.key,class:t({active:p.value===e.key,"is-color-pickable":e.colorIndex!==void 0}),onClick:U(t=>w(e),[`stop`])},[e.color?(E(),u(`span`,{key:0,class:`color-swatch`,style:d({background:e.color})},null,4)):o(``,!0),l(` `+f(e.name),1)],10,hc))),128))])]),v(`tbody`,null,[(E(!0),u(n,null,V(h.value,(r,a)=>(E(),u(`tr`,{key:a,onKeydown:i[0]||(i[0]=U(()=>{},[`stop`]))},[v(`td`,{class:t([`data-table-index`,{active:c.value===a,"is-color-pickable":y.value&&!e.isColorByField}]),onClick:U(e=>T(a),[`stop`])},[y.value&&!e.isColorByField?(E(),u(`span`,{key:0,class:`color-swatch`,style:d({background:e.colors?.[a]})},null,4)):o(``,!0),l(` `+f(a+1),1)],10,gc),(E(!0),u(n,null,V(g.value,e=>(E(),u(`td`,{key:`${a}-${e.key}`,title:b(r,e.key).length>10?b(r,e.key):void 0,class:t({active:c.value===a&&p.value===e.key})},[c.value===a&&p.value===e.key?(E(),u(`input`,{key:0,class:`data-show data-table-input`,value:b(r,e.key),autofocus:``,onInput:t=>C(a,e.key,t),onBlur:S},null,40,vc)):(E(),u(`div`,{key:1,class:`data-show data-table-text`,onClick:t=>x(a,e.key)},f(b(r,e.key)),9,yc))],10,_c))),128))],32))),128))])],512)],32))}}),[[`__scopeId`,`data-v-7fb55634`]]),xc={class:`float-line`},Sc=[`value`,`placeholder`,`onKeydown`],Cc={class:`chart-color-trigger`},wc={class:`color-picker-wrapper`},Tc=260,Ec=8,Dc=q(S({__name:`ChartBar`,emits:[`edit`],setup(e,{emit:r}){let i=r,{currentPage:a,updateElement:c,theme:l}=Z(),{handleElementId:f,pushUndo:p}=Q(),{t:h}=J(),g=_(null),y=_(null),S=_(null),C=_(null),w=_(),D=_(``),O=_(),k=_(!1),A=_(),j=_(`right`),N=e=>typeof e==`object`&&!!e&&!Array.isArray(e),P=e=>N(e)&&Array.isArray(e.cols)&&Array.isArray(e.rows),I=e=>{let t=e?.y;return t?Array.isArray(t)?t:[t]:[]},L=(e,t,n)=>typeof e==`string`?e:Array.isArray(e)?L(e[t%e.length],t,n):N(e)&&e.type===`solid`&&typeof e.color==`string`?e.color:n,R=(e,t,n)=>L(Array.isArray(e)?e[t%e.length]:e,t,n),ee=e=>{if(e==null||e===``||typeof e==`boolean`)return null;let t=Number(e);return Number.isNaN(t)?null:t},te=(e,t)=>N(e)?L(e.fill,0,t):t,ne=e=>typeof e==`string`?e:N(e)&&typeof e.text==`string`?e.text:``,z=(e,t)=>{let n=t.encode?.category;if(!n)return[];let r=t.encode?.parent,i=[],a=new Set,o=new Set,s=e=>{if(e==null||e===``)return;let t=String(e);a.has(t)||(a.add(t),i.push(t))};return e.forEach(e=>{let t=e[n];s(t);let i=r?e[r]:void 0;i!=null&&i!==``&&(s(i),t!=null&&t!==``&&o.add(String(t)))}),i.filter(e=>!o.has(e))},B=(e,t)=>{let n=t.encode?.source,r=t.encode?.target;if(!n||!r)return[];let i=[],a=new Set,o=e=>{if(e==null||e===``)return;let t=String(e);a.has(t)||(a.add(t),i.push(t))};return e.forEach(e=>{o(e[n]),o(e[r])}),i},re=(e,t)=>{let n=_t(void 0,t);return e.type===`area`?L(e.areaColor??e.lineColor,t,n):e.type===`line`||e.type===`radar`?L(e.lineColor,t,n):e.type===`scatter`?L((N(e.marker)?e.marker.fill:void 0)??e.fill,t,n):L(e.fill,t,n)},ie=e=>{if(e.type===`bar`||e.type===`line`||e.type===`area`||e.type===`scatter`||e.type===`bubble`||e.type===`radar`)return e.encode?.y},ae=(e,t)=>{for(let n of t){let t=n.encode;if(t){if((n.type===`bar`||n.type===`line`||n.type===`area`||n.type===`waterfall`)&&t.y===e||n.type===`radar`&&t.y===e||n.type===`pie`&&t.value===e||n.type===`heatmap`&&t.value===e||(n.type===`treemap`||n.type===`sunburst`)&&t.value===e||n.type===`sankey`&&t.flow===e)return`number`;if(n.type===`waterfall`&&t.isTotal===e)return`boolean`;if((n.type===`scatter`||n.type===`bubble`)&&(t.x===e||t.y===e||t.size===e)||n.type===`candlestick`&&(t.open===e||t.close===e||t.low===e||t.high===e))return`number`}}return`string`},oe=(e,t,n)=>typeof e==`number`?`number`:typeof e==`boolean`?`boolean`:t.some(e=>typeof e==`number`)?`number`:t.some(e=>typeof e==`boolean`)?`boolean`:n,se=(e,t,n,r)=>{let i=e.trim();if(i===``)return null;let a=oe(t,n,r);if(a===`number`){let t=Number(i);return Number.isFinite(t)?t:e}if(a===`boolean`){if(i.toLowerCase()===`true`)return!0;if(i.toLowerCase()===`false`)return!1}return e},W=s(()=>{let e=a.value,t=f.value;if(!e||!t)return;let n=e.elements.find(e=>e.elementId===t);return n?.elementType===`chart`?n:void 0}),ce=s(()=>I(W.value)),G=s(()=>{let e=W.value?.data;return P(e)?e:void 0}),K=s(()=>{let e=W.value?.series;return Array.isArray(e)?e:[]}),le=s(()=>!!G.value&&K.value.length>0),q=s(()=>{let e=W.value;if(!e)return[];if(G.value){let{cols:e,rows:t}=G.value;return t.map(t=>Object.fromEntries(e.map((e,n)=>[e,t[n]??null])))}return Array.isArray(e.data)?e.data:[]}),ue=s(()=>K.value.map((e,t)=>{let n=ie(e);if(n)return{seriesIndex:t,field:n,name:e.name??n,color:re(e,t)}}).filter(e=>!!e)),de=s(()=>le.value?K.value[0]?.type!==`pie`:W.value?.type!==`pie`),fe=s(()=>{let e=W.value;if(!e)return 0;if(le.value)return K.value[0]?.type===`pie`?q.value.length:ue.value.length;let t=e;return de.value?ce.value.length:t.data.length}),pe=s(()=>{let e=W.value;if(!e)return[];if(le.value){if(K.value[0]?.type===`pie`){let e=K.value[0]?.fill;return Array.from({length:fe.value},(t,n)=>L(e,n,_t(void 0,n)))}return ue.value.map(e=>e.color)}let t=e;return Array.from({length:fe.value},(e,n)=>t.colors?.[n]??_t(t.colors,n))}),me=s(()=>pe.value.map(e=>zt(l.value,e)??e)),he=e=>zt(l.value,e)??e,ge=(e,t)=>{let n=t>=3?[_t(void 0,1),`#ffffff`,_t(void 0,0)]:[_t(void 0,0),_t(void 0,1)];return Array.from({length:t},(t,r)=>e.colorScheme?.[r]??n[r]??_t(void 0,r))},_e=e=>{if(Array.isArray(e.colorScheme)&&e.colorScheme.length>=3||e.colorScale?.type===`diverging`)return 3;let t=e.encode?.value;if(!t)return 2;let n=q.value.map(e=>ee(e[t])).filter(e=>e!==null);return n.some(e=>e<0)&&n.some(e=>e>0)?3:2},ve=(e,t)=>Array.from({length:t},(t,n)=>{let r=e.fill;return Array.isArray(r)&&Array.isArray(r[0])?L(r[n]?.[0],n,_t(void 0,n)):R(r,n,_t(void 0,n))}),ye=(e,t,n)=>{let r=e.fill;return N(r)&&r.type!==`solid`&&r.type!==`gradient`?L(r[t],n,_t(void 0,n)):R(r,n,_t(void 0,n))},be=s(()=>le.value?K.value.flatMap((e,t)=>{if(e.type===`candlestick`)return[{key:`${t}-candlestick-up`,tooltip:h(`floatBar.candlestickUpColor`),color:he(te(e.upBars,Ot)),target:{type:`barFill`,seriesIndex:t,key:`upBars`}},{key:`${t}-candlestick-down`,tooltip:h(`floatBar.candlestickDownColor`),color:he(te(e.downBars,ht)),target:{type:`barFill`,seriesIndex:t,key:`downBars`}},{key:`${t}-candlestick-wick`,tooltip:h(`floatBar.candlestickWickColor`),color:he(N(e.wickStyle)&&typeof e.wickStyle.color==`string`?e.wickStyle.color:_t(void 0,t)),target:{type:`wick`,seriesIndex:t}}];if(e.type===`waterfall`)return[{key:`${t}-waterfall-increase`,tooltip:h(`floatBar.waterfallIncreaseColor`),color:he(te(e.increaseBars,vt)),target:{type:`barFill`,seriesIndex:t,key:`increaseBars`}},{key:`${t}-waterfall-decrease`,tooltip:h(`floatBar.waterfallDecreaseColor`),color:he(te(e.decreaseBars,wt)),target:{type:`barFill`,seriesIndex:t,key:`decreaseBars`}},{key:`${t}-waterfall-total`,tooltip:h(`floatBar.waterfallTotalColor`),color:he(te(e.totalBars,_t(void 0,t))),target:{type:`barFill`,seriesIndex:t,key:`totalBars`}}];if(e.type===`heatmap`){let n=_e(e);return ge(e,n).map((e,r)=>({key:`${t}-heatmap-${r}`,tooltip:h(n>=3&&r===1?`floatBar.heatmapMiddleColor`:r===0?`floatBar.heatmapLowColor`:`floatBar.heatmapHighColor`),color:he(e),target:{type:`heatmap`,seriesIndex:t,index:r,count:n}}))}if(e.type===`treemap`||e.type===`sunburst`){let n=z(q.value,e),r=ve(e,n.length);return n.map((i,a)=>({key:`${t}-${e.type}-${a}`,tooltip:`${e.type} ${i}${h(`floatBar.color`)}`,color:he(r[a]??_t(void 0,a)),target:{type:`tree`,seriesIndex:t,index:a,count:n.length}}))}if(e.type===`sankey`){let n=B(q.value,e);return n.map((r,i)=>({key:`${t}-sankey-${i}`,tooltip:`sankey ${r}${h(`floatBar.color`)}`,color:he(ye(e,r,i)),target:{type:`sankey`,seriesIndex:t,node:r,index:i,nodes:n}}))}return[]}):[]),xe=s(()=>{let e=W.value?.dataLabels;return e?e.show!==!1:!le.value}),Se=s(()=>ne(W.value?.title).trim()!==``),Ce=s(()=>le.value&&K.value.length===1&&[`candlestick`,`waterfall`].includes(K.value[0]?.type)),we=s(()=>!(le.value&&K.value.length===1&&(K.value[0]?.type===`candlestick`||K.value[0]?.type===`waterfall`))),Te=s(()=>{if(Ce.value)return!1;let e=W.value?.legend;return e===!0||e===!1?e:N(e)?e.show!==!1:we.value}),Ee=s(()=>{if(!Te.value)return`none`;let e=W.value?.legend;return N(e)&&typeof e.position==`string`?e.position:`bottom`}),De=s(()=>[{label:h(`floatBar.none`),value:`none`},`divider`,{label:h(`floatBar.top`),value:`top`},{label:h(`floatBar.bottom`),value:`bottom`},{label:h(`floatBar.left`),value:`left`},{label:h(`floatBar.right`),value:`right`}]),Oe=s(()=>{let e=W.value;if(!e)return[];if(G.value)return G.value.cols.map(e=>{let t=de.value?ue.value.findIndex(t=>t.field===e):-1,n=t>=0?ue.value[t]:void 0;return{key:e,name:n?.name??e,colorIndex:n?t:void 0,color:n?me.value[t]:void 0}});let t=[],n=e=>{e&&!t.includes(e)&&t.push(e)},r=e;return Object.keys(r.data[0]??{}).forEach(n),r.data.forEach(e=>Object.keys(e).forEach(n)),n(r.x),ce.value.forEach(n),n(r.size),t.map(e=>{let t=de.value?ce.value.indexOf(e):-1,n=t>=0;return{key:e,name:n?r.names?.[t]??e:e,colorIndex:n?t:void 0,color:n?me.value[t]:void 0}})}),Y=s(()=>{if(g.value!==null)return me.value[g.value]}),ke=(e,t)=>{let n=`${e}-${t}`;y.value!==n&&(p(),y.value=n)},Ae=e=>{S.value!==e&&(p(),S.value=e)},X=e=>{C.value!==e&&(p(),C.value=e)},je=()=>{k.value||(p(),k.value=!0)},Me=(e,t,n)=>{let r=W.value,o=a.value;if(!r||!o)return;if(ke(e,t),G.value){let a=G.value.cols.indexOf(t);if(a===-1)return;let s=G.value.rows.map(e=>e[a]??null),l=ae(t,K.value),u=G.value.rows.map((t,r)=>{if(r!==e)return[...t];let i=G.value.cols.map((e,n)=>t[n]??null);return i[a]=se(n,t[a]??null,s,l),i});c(o.pageId,r.elementId,{data:{...G.value,rows:u}}),i(`edit`);return}let s=r.data.map((r,i)=>i===e?{...r,[t]:n}:r);c(o.pageId,r.elementId,{data:s}),i(`edit`)},Ne=e=>{let t=W.value,n=a.value,r=g.value;if(!t||!n||r===null)return;if(Ae(r),le.value){let a=[...K.value];if(K.value[0]?.type===`pie`){let o=a[0];if(!o)return;let s=Array.from({length:Math.max(fe.value,r+1)},(e,t)=>L(o.fill,t,_t(void 0,t)));s[r]=e,a[0]={...o,fill:s},c(n.pageId,t.elementId,{series:a}),i(`edit`);return}let o=ue.value[r];if(!o)return;let s=a[o.seriesIndex];if(!s)return;s.type===`area`?a[o.seriesIndex]={...s,areaColor:e,lineColor:e}:s.type===`line`||s.type===`radar`?a[o.seriesIndex]={...s,lineColor:e}:s.type===`scatter`&&N(s.marker)&&s.marker.fill!==void 0?a[o.seriesIndex]={...s,marker:{...s.marker,fill:e}}:a[o.seriesIndex]={...s,fill:e},c(n.pageId,t.elementId,{series:a}),i(`edit`);return}let o=Array.from({length:Math.max(fe.value,r+1)},(e,t)=>pe.value[t]);o[r]=e,c(n.pageId,t.elementId,{colors:o}),i(`edit`)},Pe=e=>{let t=W.value,n=a.value;!t||!n||(p(),c(n.pageId,t.elementId,{dataLabels:{...t.dataLabels,show:e}}),i(`edit`))},Fe=e=>{let t=W.value,n=a.value;if(!t||!n)return;D.value=e,je();let r=O.value??t.title,o=e.trim()?N(r)?{...r,text:e}:e:void 0;c(n.pageId,t.elementId,{title:o}),i(`edit`)},Ie=e=>{Fe(e.target.value)},Le=e=>{e.target.blur()},Re=e=>{if(!e){D.value=``,O.value=void 0,k.value=!1;return}O.value=W.value?.title,D.value=ne(O.value),k.value=!1,M(()=>{w.value?.focus(),w.value?.select()})},ze=e=>{let t=W.value,n=a.value;if(!t||!n||Ce.value)return;p();let r=t.legend;c(n.pageId,t.elementId,{legend:e===`none`?N(r)?{...r,show:!1}:!1:{...N(r)?r:{},show:!0,position:e}}),i(`edit`)},Be=(e,t)=>{let n=W.value,r=a.value;if(!n||!r)return;let o=[...K.value],s=o[e.seriesIndex];if(s){if(e.type===`barFill`){let n=N(s[e.key])?s[e.key]:{};o[e.seriesIndex]={...s,[e.key]:{...n,fill:t}}}else if(e.type===`wick`){let n=N(s.wickStyle)?s.wickStyle:{};o[e.seriesIndex]={...s,wickStyle:{...n,color:t}}}else if(e.type===`heatmap`){let n=ge(s,e.count);n[e.index]=t,o[e.seriesIndex]={...s,colorScheme:n}}else if(e.type===`tree`){let n=s.fill;if(Array.isArray(n)&&Array.isArray(n[0])){let r=Array.from({length:Math.max(e.count,e.index+1)},(r,i)=>{let a=Array.isArray(n[i])?[...n[i]]:[_t(void 0,i)];return a[0]=i===e.index?t:a[0]??_t(void 0,i),a});o[e.seriesIndex]={...s,fill:r}}else{let r=Array.from({length:Math.max(e.count,e.index+1)},(e,t)=>R(n,t,_t(void 0,t)));r[e.index]=t,o[e.seriesIndex]={...s,fill:r}}}else if(e.type===`sankey`){let n=s.fill,r=N(n)&&n.type!==`solid`&&n.type!==`gradient`?{...n}:Object.fromEntries(e.nodes.map((e,t)=>[e,ye(s,e,t)]));r[e.node]=t,o[e.seriesIndex]={...s,fill:r}}c(r.pageId,n.elementId,{series:o}),i(`edit`)}},Ve=(e,t)=>{X(e.key),Be(e.target,t)},He=e=>{e||(C.value=null)},Ue=()=>{g.value=null,S.value=null,C.value=null,j.value=`right`},We=async e=>{S.value=null,g.value=e,await M();let t=A.value?.getBoundingClientRect();if(!t)return;let n=t.right+Ec+Tc<=window.innerWidth-Ec,r=t.left-Ec-Tc>=Ec;j.value=n?`right`:r?`left`:`overlay`},Ge=()=>{y.value=null},Ke=e=>{e||Ue()};return H(W,()=>{y.value=null,k.value=!1,D.value=``,O.value=void 0,Ue()}),(e,r)=>(E(),u(`div`,xc,[x(Yt,{class:`chart-data-popover`,"hide-caret":``,"content-class":`chart-data-popover-content`,"float-options":F($),"onUpdate:open":Ke},{trigger:T(()=>[x(En,{value:!1,icon:`Alphalab`,tooltip:F(h)(`floatBar.editData`),"no-active":``},null,8,[`tooltip`])]),popover:T(()=>[v(`div`,{ref_key:`chartDataPanelRef`,ref:A,class:`chart-data-panel`,onClick:r[0]||(r[0]=U(()=>{},[`stop`]))},[g.value===null?o(``,!0):(E(),u(`div`,{key:0,class:t([`chart-color-picker`,{"on-left":j.value===`left`,"is-overlay":j.value===`overlay`}])},[x(Fo,{"model-value":Y.value,"onUpdate:modelValue":Ne},null,8,[`model-value`])],2)),x(bc,{data:q.value,colors:me.value,fields:Oe.value,"is-color-by-field":de.value,onChange:Me,onEditEnd:Ge,onSelectColor:We,onTableClick:Ue},null,8,[`data`,`colors`,`fields`,`is-color-by-field`])],512)]),_:1},8,[`float-options`]),x(Yt,{"hide-caret":``,"content-click-closes":!1,tooltip:Se.value?F(h)(`floatBar.editChartTitle`):F(h)(`floatBar.showChartTitle`),"float-options":F($),"onUpdate:open":Re},{trigger:T(({popoverVisible:e})=>[x(En,{value:Se.value||e,icon:`Text`},null,8,[`value`])]),popover:T(()=>[v(`div`,{class:`chart-title-editor`,onClick:r[2]||(r[2]=U(()=>{},[`stop`])),onMousedown:r[3]||(r[3]=U(()=>{},[`stop`])),onPointerdown:r[4]||(r[4]=U(()=>{},[`stop`]))},[v(`input`,{ref_key:`titleInputRef`,ref:w,class:`chart-title-input`,value:D.value,placeholder:F(h)(`floatBar.chartTitlePlaceholder`),onInput:Ie,onKeydown:[r[1]||(r[1]=U(()=>{},[`stop`])),m(U(Le,[`prevent`]),[`enter`])]},null,40,Sc)],32)]),_:1},8,[`tooltip`,`float-options`]),x(En,{value:xe.value,icon:`chartValue`,tooltip:F(h)(`floatBar.showChartValues`),"onUpdate:value":Pe},null,8,[`value`,`tooltip`]),x(Xt,{"active-menu":Ee.value,"menu-list":De.value,icon:`chartLegend`,tooltip:F(h)(`floatBar.chartLegend`),"float-options":F($),"keep-highlight":Ee.value!==`none`,disabled:Ce.value,onClick:ze},null,8,[`active-menu`,`menu-list`,`tooltip`,`float-options`,`keep-highlight`,`disabled`]),x(ns),be.value.length?(E(),u(n,{key:0},[(E(!0),u(n,null,V(be.value,e=>(E(),b(Yt,{key:e.key,"hide-caret":``,tooltip:e.tooltip,"float-options":F($),"onUpdate:open":He},{trigger:T(()=>[v(`div`,Cc,[v(`span`,{class:`chart-color-trigger-swatch`,style:d({background:e.color})},null,4)])]),popover:T(()=>[v(`div`,wc,[x(Fo,{"model-value":e.color,"onUpdate:modelValue":t=>Ve(e,t)},null,8,[`model-value`,`onUpdate:modelValue`])])]),_:2},1032,[`tooltip`,`float-options`]))),128)),x(ns)],64)):o(``,!0),x(Qo,{onEdit:r[5]||(r[5]=e=>i(`edit`))})]))}}),[[`__scopeId`,`data-v-4b22591b`]]),Oc={class:`float-line`},kc={class:`icon-pool-panel`},Ac={class:`icon-pool-content`},jc={class:`pool-container`},Mc={class:`color-picker-wrapper`},Nc=q(S({__name:`IconBar`,emits:[`edit`],setup(e,{emit:t}){let n=t,{currentPage:r,updateElement:i,theme:a}=Z(),{handleElementId:o,pushUndo:c}=Q(),{t:l}=J(),d=_(),f=s(()=>{let e=r.value,t=o.value;if(!(!e||!t))return e.elements.find(e=>e.elementId===t)}),p=s(()=>{if(f.value?.elementType===`icon`)return nt(a.value,f.value.fill)}),m=s(()=>as(l(`floatBar.colorFill`),l,is(f.value?.fill))),h=s(()=>{let e=p.value;return e?.type===`solid`&&e.color?e.color:e?.type===`gradient`?e.stops[0]?.color??`#000000`:`#000000`}),g=s(()=>{if(f.value?.elementType===`icon`)return f.value.border}),y=e=>{let t=f.value,a=r.value;!t||!a||t.elementType!==`icon`||(c(),i(a.pageId,t.elementId,{fill:{type:`solid`,color:e}}),n(`edit`))},b=e=>{let t=f.value,a=r.value;!t||!a||t.elementType!==`icon`||(c(),i(a.pageId,t.elementId,{border:e}),n(`edit`))},S=e=>{let t=f.value,a=r.value;d.value?.close(),!(!t||!a||t.elementType!==`icon`||t.iconName===e)&&(c(),i(a.pageId,t.elementId,{iconName:e}),n(`edit`))};return(e,t)=>(E(),u(`div`,Oc,[x(Yt,{ref_key:`replaceIconPopoverRef`,ref:d,tooltip:F(l)(`floatBar.replaceIcon`),"float-options":F($),"content-click-closes":!1},{trigger:T(({popoverVisible:e})=>[x(En,{value:e,icon:`Replace`},null,8,[`value`])]),popover:T(()=>[v(`div`,kc,[v(`div`,Ac,[v(`div`,jc,[x(wr,{onSelect:S})])])])]),_:1},8,[`tooltip`,`float-options`]),x(ns),x(Yt,{tooltip:m.value,"float-options":F($)},{trigger:T(()=>[x(As,{fill:p.value,"fallback-color":`#000000`},null,8,[`fill`])]),popover:T(()=>[v(`div`,Mc,[x(Fo,{"model-value":h.value,"onUpdate:modelValue":y},null,8,[`model-value`])])]),_:1},8,[`tooltip`,`float-options`]),x(Is,{border:g.value,type:`inShape`,"onUpdate:border":b},null,8,[`border`]),x(ns),x(Ls,{onEdit:t[0]||(t[0]=e=>n(`edit`))}),x(Zo,{onEdit:t[1]||(t[1]=e=>n(`edit`))}),x(Qo,{onEdit:t[2]||(t[2]=e=>n(`edit`))})]))}}),[[`__scopeId`,`data-v-25e895d1`]]),Pc={class:`float-bar-annotation-entry`,"data-testid":`floatbar-annotation-button`},Fc=q(S({__name:`AnnotationEntry`,props:{element:{}},setup(e){let{currentPage:t,currentPageId:n,pageOrder:r}=Z(),{enterAnnotationMode:i,startAnnotationDraft:a}=ue(),{t:o}=J();function s(){let e=n.value;if(!e)return;let t=r.value.indexOf(e);return t>=0?`${t+1}`:void 0}function c(e){let n=t.value;n&&(i(`element`),a({pageId:n.pageId,pageLabel:s(),elementId:e.elementId,cx:e.bounds[0]+e.bounds[2]/2,cy:e.bounds[1]+e.bounds[3]/2}))}return(t,n)=>(E(),u(`span`,Pc,[x(F(Wt),{type:`icon`,icon:`Comment`,tooltip:F(o)(`annotation.entry`),"tooltip-placement":`bottom`,onClick:n[0]||(n[0]=t=>c(e.element))},null,8,[`tooltip`])]))}}),[[`__scopeId`,`data-v-ee2eed39`]]),Ic={class:`float-bar-tools`},Lc=16,Rc=q(S({__name:`FloatBar`,setup(e){let{currentPage:t}=Z(),{selectedElementIds:n,handleElementId:r}=Q(),{isAnnotationMode:i}=ue(),{functional:a}=ve(),c=_(),{width:l,height:f}=D(c),p=s(()=>n.value),m=s(()=>{if(r.value)return t.value?.elements.find(e=>e.elementId===r.value)}),h=[`text`,`shape`,`line`,`image`,`table`,`chart`,`icon`],g=s(()=>m.value?.elementType),y=s(()=>m.value?.shapeName),S=s(()=>a.value.annotation),C=s(()=>!i.value&&p.value.length===1&&!!m.value&&!!g.value&&h.includes(g.value)),w=k(`canvasContainerBounding`);function O(e,t,n){return Math.max(t,Math.min(e,n))}let A=s(()=>{if(!w)return{left:0,top:0,maxWidth:0};let e=w.left.value,t=w.top.value,n=w.width.value,r=w.height.value,i=Math.max(0,n-Lc*2),a=e+Lc,o=e+n-Lc-l.value,s=e+(n-l.value)/2,c=t+Lc,u=t+r-Lc-f.value;return{left:O(s,a,Math.max(a,o)),top:O(c,c,Math.max(c,u)),maxWidth:i}}),j=s(()=>({left:`${A.value.left}px`,top:`${A.value.top}px`,maxWidth:A.value.maxWidth?`${A.value.maxWidth}px`:`calc(100vw - 32px)`}));function M(e){e.stopPropagation(),!e.target.closest(`input, textarea, [contenteditable="true"]`)&&e.preventDefault()}function P(){let e=m.value;e&&Y(`msh_nppt_element_edited`,{type:e.elementType,edit_type:`style`},[`type`,`edit_type`])}return(e,t)=>(E(),b(N,{name:`float-bar-slide`},{default:T(()=>[C.value&&m.value?(E(),u(`div`,{key:0,ref_key:`floatBarRef`,ref:c,class:`float-bar`,style:d(j.value),onMousedown:M},[x(Vn,{step:200},{default:T(()=>[S.value?(E(),b(Fc,{key:0,element:m.value},null,8,[`element`])):o(``,!0),S.value?(E(),b(ns,{key:1})):o(``,!0),v(`div`,Ic,[g.value===`text`?(E(),b(Cs,{key:0,onEdit:P})):g.value===`shape`&&!F(bt)(y.value)?(E(),b(Us,{key:1,onEdit:P})):g.value===`image`?(E(),b(Gs,{key:2,onEdit:P})):g.value===`line`||g.value===`shape`&&F(bt)(y.value)?(E(),b(Xs,{key:3,onEdit:P})):g.value===`table`?(E(),b(mc,{key:4,onEdit:P})):g.value===`chart`?(E(),b(Dc,{key:5,onEdit:P})):g.value===`icon`?(E(),b(Nc,{key:6,onEdit:P})):o(``,!0)])]),_:1})],36)):o(``,!0)]),_:1}))}}),[[`__scopeId`,`data-v-58c83d9e`]]),zc=q(S({__name:`MouseSelection`,props:{top:{},left:{},width:{},height:{},visible:{type:Boolean}},setup(e){return(t,n)=>e.visible?(E(),u(`div`,{key:0,class:`mouse-selection`,style:d({top:e.top+`px`,left:e.left+`px`,width:e.width+`px`,height:e.height+`px`})},null,4)):o(``,!0)}}),[[`__scopeId`,`data-v-d0bdfee6`]]),Bc=[`viewBox`],Vc={class:`position-guides`},Hc=[`x1`,`y1`,`x2`,`y2`],Uc={class:`measurement-guides`},Wc=[`d`],Gc=[`d`],Kc={class:`provider-outlines`},qc=[`data-element-id`,`points`],Jc=q(S({__name:`AlignmentGuides`,props:{overlay:{},scale:{},canvasWidth:{},canvasHeight:{},offsetLeft:{},offsetTop:{}},setup(e){let r=e,i=s(()=>!!r.overlay&&!!(r.overlay.positionGuides.length||r.overlay.measurementGuides.length||r.overlay.providerOutlines.length)),a=s(()=>({left:`${-r.offsetLeft}px`,top:`${-r.offsetTop}px`,width:`${r.canvasWidth}px`,height:`${r.canvasHeight}px`})),c=e=>r.offsetLeft+e*r.scale,l=e=>r.offsetTop+e*r.scale,f=s(()=>(r.overlay?.positionGuides??[]).map(e=>e.axis===`x`?{...e,x1:c(e.value),y1:0,x2:c(e.value),y2:r.canvasHeight}:{...e,x1:0,y1:l(e.value),x2:r.canvasWidth,y2:l(e.value)}));function p(e){if(e.axis===`x`){let t=c(e.start),n=c(e.end),r=l(e.cross),i=Math.min(4,Math.abs(n-t)/2),a=t<=n?1:-1,o=t+a*i,s=n-a*i;return`M ${t} ${r} H ${n} M ${o} ${r-i} L ${t} ${r} L ${o} ${r+i} M ${s} ${r-i} L ${n} ${r} L ${s} ${r+i}`}let t=l(e.start),n=l(e.end),r=c(e.cross),i=Math.min(4,Math.abs(n-t)/2),a=t<=n?1:-1,o=t+a*i,s=n-a*i;return`M ${r} ${t} V ${n} M ${r-i} ${o} L ${r} ${t} L ${r+i} ${o} M ${r-i} ${s} L ${r} ${n} L ${r+i} ${s}`}let m=s(()=>(r.overlay?.measurementGuides??[]).map(e=>({...e,d:p(e)}))),h=s(()=>(r.overlay?.providerOutlines??[]).map(e=>({...e,points:e.points.map(([e,t])=>`${c(e)},${l(t)}`).join(` `)})));return(r,s)=>i.value?(E(),u(`svg`,{key:0,class:`alignment-guides`,style:d(a.value),viewBox:`0 0 ${e.canvasWidth} ${e.canvasHeight}`,"aria-hidden":`true`},[v(`g`,Vc,[(E(!0),u(n,null,V(f.value,e=>(E(),u(`line`,{key:e.id,class:t([`position-guide`,e.axis===`x`?`vertical`:`horizontal`]),x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2},null,10,Hc))),128))]),v(`g`,Uc,[(E(!0),u(n,null,V(m.value,e=>(E(),u(`g`,{key:e.id,class:t([`measurement-guide`,e.kind])},[v(`path`,{class:`measurement-guide-outline`,d:e.d},null,8,Wc),v(`path`,{class:`measurement-guide-inner`,d:e.d},null,8,Gc)],2))),128))]),v(`g`,Kc,[(E(!0),u(n,null,V(h.value,e=>(E(),u(`polygon`,{key:e.elementId,class:`provider-outline`,"data-element-id":e.elementId,points:e.points},null,8,qc))),128))])],12,Bc)):o(``,!0)}}),[[`__scopeId`,`data-v-1a17ca3a`]]),Yc={},Xc={class:`canvas-sweeping-light`};function Zc(e,t){return E(),u(`div`,Xc)}var Qc=q(Yc,[[`render`,Zc],[`__scopeId`,`data-v-b12da33b`]]),$c=[`data-annotation-id`,`onMouseenter`],el=[`aria-label`,`onClick`],tl=[`onMousedown`,`onMouseenter`],nl={class:`ppt-annotation-text`,type:`button`},rl={class:`ppt-annotation-actions`},il=[`aria-label`,`onClick`],al=[`aria-label`,`onClick`],ol=[`placeholder`,`onKeydown`],sl={class:`ppt-annotation-draft-actions`},cl=[`aria-label`,`disabled`],ll=20,ul=100,dl=32,fl=10,pl=282,ml=q(S({__name:`PPTAnnotationLayer`,props:{canvasEl:{},viewportEl:{},canvasScale:{},pageSize:{},elements:{}},setup(e,{expose:r}){let i=dl/2,a=e,{currentPage:l,currentPageId:p,pageOrder:h}=Z(),{annotations:g,currentPageAnnotations:y,annotationDraft:b,activeAnnotationId:S,isAnnotationMode:C,isSubmittingAnnotation:w,startAnnotationDraft:O,cancelAnnotationDraft:k,submitAnnotationDraft:A,setActiveAnnotation:j,editAnnotation:P,removeAnnotation:I}=ue(),{t:L}=J(),{spaceKeyState:R}=Q(),ee=_(),te=_(),ne=s({get:()=>b.value?.annotation??``,set:e=>{b.value&&(b.value.annotation=e)}}),z,re=_(ll),ie=_(null),oe=_(),se=_(!1),W=_(!1),ce=D(s(()=>a.canvasEl)),G=s(()=>re.value>ll),K=s(()=>{let e=p.value;if(!e)return;let t=h.value.indexOf(e);return t>=0?`${t+1}`:void 0}),le=s(()=>{let e=p.value;if(!e)return;let t=h.value.indexOf(e);return t>=0?t:void 0}),q=e=>{let t=e.cx,n=e.cy;if((t===void 0||n===void 0)&&e.elementId){let r=a.elements.find(t=>t.elementId===e.elementId);r&&(t=r.bounds[0]+r.bounds[2]/2,n=r.bounds[1]+r.bounds[3]/2)}return t===void 0||n===void 0?null:{x:t,y:n}},de=e=>{let t=a.canvasScale||1,n=[],r=(e,r)=>n.some(n=>{let a=(e-n.displayX)*t,o=(r-n.displayY)*t;return Math.hypot(a,o){let a={displayX:e.x,displayY:e.y};for(let o=0;o<=5;o++)for(let s=-o;s<=o;s++)for(let c=-o;c<=o;c++){if(Math.max(Math.abs(s),Math.abs(c))!==o)continue;let l=e.x+s*i/t,u=e.y+c*i/t;if(a={displayX:l,displayY:u},!r(l,u)){n.push({...e,displayX:l,displayY:u});return}}n.push({...e,...a})}),n},fe=s(()=>y.value.flatMap(e=>{let t=q(e);return t?[{id:e.id,annotation:e,x:t.x,y:t.y,index:g.value.findIndex(t=>t.id===e.id)+1,isDraft:!1}]:[]})),pe=s(()=>{let e=b.value;if(!e)return fe.value;let t=!1,n=fe.value.map(n=>e.id&&n.annotation?.id===e.id?(t=!0,{...n,draft:e,x:e.cx,y:e.cy,isDraft:!0}):n);return t||n.push({id:e.id??`__annotation_draft__`,draft:e,x:e.cx,y:e.cy,index:g.value.length+1,isDraft:!0}),n}),me=s(()=>de(pe.value)),he=s(()=>me.value.filter(e=>!e.isDraft&&!!e.annotation)),ge=s(()=>me.value.find(e=>e.isDraft)),_e=s(()=>a.elements.find(e=>e.elementId===oe.value)),ve=e=>{ce.left.value,ce.top.value;let t=a.canvasEl;return{left:`${(t?.offsetLeft??0)+e.x*a.canvasScale}px`,top:`${(t?.offsetTop??0)+e.y*a.canvasScale}px`}},ye=s(()=>{let e=b.value;if(!e)return{};let t=ge.value;return ve({x:t?.displayX??e.cx,y:t?.displayY??e.cy})}),be=s(()=>{let e=b.value,t=ge.value;return e?Se(t?.displayX??e.cx):!1}),xe=e=>({...ve(e),transform:`translate(-6px, -30px)`}),Se=e=>{let t=a.canvasEl,n=t?.parentElement,r=n?n.scrollLeft+n.clientWidth:a.pageSize[0]*a.canvasScale;return(t?.offsetLeft??0)+e*a.canvasScale+dl+fl+pl>r},Ce=s(()=>{let e=_e.value;if(!e)return{};ce.left.value,ce.top.value;let t=a.canvasEl,[n,r,i,o]=e.bounds;return{left:`${(t?.offsetLeft??0)+n*a.canvasScale}px`,top:`${(t?.offsetTop??0)+r*a.canvasScale}px`,width:`${i*a.canvasScale}px`,height:`${o*a.canvasScale}px`,transform:`rotate(${e.rotation??0}deg)`}}),we=e=>{let t=a.viewportEl;if(!t)return null;let n=t.getBoundingClientRect();return{x:(e.clientX-n.left)/a.canvasScale,y:(e.clientY-n.top)/a.canvasScale}},Te=e=>{if(!C.value){ie.value=null,oe.value=void 0;return}if(ie.value=we(e),b.value){oe.value=void 0;return}oe.value=(e.target instanceof globalThis.Element?e.target:null)?.closest(`[data-element-id]`)?.dataset.elementId},Ee=()=>{ie.value=null,oe.value=void 0},De=e=>{if(!C.value||e.button!==0||R.value||!l.value)return!1;let t=e.target instanceof globalThis.Element?e.target:null;if(t?.closest(`.ppt-annotation-draft, .ppt-annotation-marker`))return!1;if(b.value)return e.preventDefault(),e.stopPropagation(),W.value=!0,Y(),!0;let n=we(e);if(!n)return!1;let r=t?.closest(`[data-element-id]`)?.dataset.elementId;return e.preventDefault(),e.stopPropagation(),O({pageId:l.value.pageId,pageIndex:le.value,pageLabel:K.value,elementId:r,cx:n.x,cy:n.y}),!0},Oe=e=>W.value?(e.preventDefault(),e.stopPropagation(),W.value=!1,!0):!1,Y=async()=>{if(!se.value){se.value=!0;try{if(ne.value.trim()){await A(ne.value);return}k()}finally{se.value=!1}}},ke=async()=>{await Y()},Ae=()=>{se.value||k()},je=e=>{let t=e.relatedTarget instanceof Node?e.relatedTarget:null;t&&te.value?.contains(t)||Y()},Me=()=>{ie.value=null,oe.value=void 0},Ne=()=>{let e=ee.value;if(!e){re.value=ll;return}e.style.height=`${ll}px`;let t=Math.min(Math.max(e.scrollHeight,ll),ul);re.value=t,e.style.height=`${t}px`,t{await M(),Ne()},Fe=()=>{z&&(clearTimeout(z),z=void 0)},Ie=e=>{C.value&&(Fe(),j(e))},Le=()=>{Fe(),z=setTimeout(()=>{j(),z=void 0},80)},Re=async e=>{Fe();let t=b.value;t&&(await Y(),b.value===t)||P({...e.annotation,cx:e.x,cy:e.y})},ze=async e=>{await I(e)};return H(b,e=>{e&&M(()=>{ee.value?.focus(),Pe()})},{flush:`post`}),H(ne,()=>{Pe()}),H(p,()=>{b.value&&Y()}),B(()=>{Fe()}),r({handleCanvasMouseDown:De,handleCanvasClick:Oe,handleCanvasMouseMove:Te,handleCanvasMouseLeave:Ee}),(e,r)=>(E(),u(n,null,[F(C)&&_e.value&&!F(b)?(E(),u(`div`,{key:0,class:`ppt-annotation-element-hover`,style:d(Ce.value)},null,4)):o(``,!0),F(C)&&ie.value?(E(),u(`div`,{key:1,class:`ppt-annotation-cursor`,style:d(xe(ie.value))},null,4)):o(``,!0),(E(!0),u(n,null,V(he.value,e=>(E(),u(`div`,{key:e.annotation.id,class:t([`ppt-annotation-marker`,{active:e.annotation.id===F(S),"is-flipped":Se(e.displayX)}]),"data-annotation-id":e.annotation.id,style:d(ve({x:e.displayX,y:e.displayY})),onMousedown:r[3]||(r[3]=U(()=>{},[`stop`])),onMousemove:r[4]||(r[4]=U(()=>{},[`stop`])),onMouseenter:t=>Ie(e.annotation.id),onMouseleave:Le},[v(`button`,{class:`ppt-annotation-marker-pin`,type:`button`,"aria-label":F(L)(`annotation.marker`),onClick:U(t=>Re(e),[`stop`])},f(e.index),9,el),x(N,{name:`ppt-annotation-popover-fade`},{default:T(()=>[F(C)&&e.annotation.id===F(S)?(E(),u(`div`,{key:0,class:`ppt-annotation-popover`,onMousedown:U(t=>Re(e),[`stop`,`prevent`]),onClick:r[2]||(r[2]=U(()=>{},[`stop`])),onMouseenter:t=>Ie(e.annotation.id),onMouseleave:Le},[v(`button`,nl,f(e.annotation.annotation),1),v(`div`,rl,[v(`button`,{class:`ppt-annotation-action`,type:`button`,"aria-label":F(L)(`annotation.edit`),onMousedown:r[0]||(r[0]=U(()=>{},[`stop`])),onClick:U(t=>Re(e),[`stop`])},[x(F(X),{name:`Edit`,width:`16`,height:`16`})],40,il),v(`button`,{class:`ppt-annotation-action is-delete`,type:`button`,"aria-label":F(L)(`annotation.delete`),onMousedown:r[1]||(r[1]=U(()=>{},[`stop`])),onClick:U(t=>ze(e.annotation.id),[`stop`])},[x(F(X),{name:`Delete`,width:`16`,height:`16`})],40,al)])],40,tl)):o(``,!0)]),_:2},1024)],46,$c))),128)),F(b)?(E(),u(`form`,{key:2,ref_key:`annotationDraftRef`,ref:te,class:t([`ppt-annotation-draft`,{"is-flipped":be.value}]),style:d(ye.value),onMousedown:r[6]||(r[6]=U(()=>{},[`stop`])),onClick:r[7]||(r[7]=U(()=>{},[`stop`])),onMousemove:r[8]||(r[8]=U(()=>{},[`stop`])),onMouseenter:Me,onFocusout:je,onSubmit:U(ke,[`prevent`])},[r[9]||(r[9]=v(`div`,{class:`ppt-annotation-draft-pin`},null,-1)),v(`div`,{class:t([`ppt-annotation-draft-card`,{"is-multiline":G.value}])},[ae(v(`textarea`,{ref_key:`annotationInputRef`,ref:ee,"onUpdate:modelValue":r[5]||(r[5]=e=>ne.value=e),class:`ppt-annotation-input`,rows:`1`,placeholder:F(L)(`annotation.placeholder`),style:d({height:`${re.value}px`,overflowY:re.value>=ul?`auto`:`hidden`}),onInput:Ne,onKeydown:[m(U(ke,[`exact`,`prevent`]),[`enter`]),m(U(Ae,[`prevent`]),[`esc`])]},null,44,ol),[[c,ne.value]]),v(`div`,sl,[v(`button`,{class:`ppt-annotation-send`,type:`submit`,"aria-label":F(L)(`annotation.add`),disabled:!ne.value.trim()||F(w)||se.value},[x(F(X),{name:`Send_f`,width:`20`,height:`20`})],8,cl)])],2)],38)):o(``,!0)],64))}}),[[`__scopeId`,`data-v-6a5aec07`]]);function hl(e){let{x:t,y:n,width:r,height:i,rotation:a=0}=e,o=Math.sqrt(r**2+i**2)/2,s=Math.atan(i/r)*(180/Math.PI),c=t+r/2,l=n+i/2,u=(180-a-s)*Math.PI/180,d=(s-a)*Math.PI/180,f=[c+o*Math.cos(u),c+o*Math.cos(d),c-o*Math.cos(u),c-o*Math.cos(d)],p=[l-o*Math.sin(u),l-o*Math.sin(d),l+o*Math.sin(u),l+o*Math.sin(d)];return{minX:Math.min(...f),maxX:Math.max(...f),minY:Math.min(...p),maxY:Math.max(...p)}}function gl(){let{currentPage:e,currentElements:t,pageSize:n,updateElement:r}=Z(),{handleElementId:i,selectedElementIds:a,canvasScale:o,pushUndo:s,alignmentOverlay:c,isOperating:l}=Q(),u=_(null);function d(){let e=i.value;if(e)return t.value.find(t=>t.elementId===e)}function f(e,t){let[n,r,i,a]=e;return hl({x:n,y:r,width:i,height:a,rotation:t})}function p(r,i){if(!e.value)return;let f=o.value;s(),l.value=!0;let p=a.value,[m,h]=n.value,g=Ca(t.value,p,[m,h]);if(c.value=null,p.length>1){let e=new Map;for(let n of t.value)p.includes(n.elementId)&&e.set(n.elementId,{bounds:[...n.bounds],rotation:n.rotation});u.value={startX:r/f,startY:i/f,alignmentContext:g,multiInitialBounds:e},Y(`msh_nppt_element_edited`,{type:`multiple`,edit_type:`drag`},[`type`,`edit_type`])}else{let e=d();if(!e)return;u.value={startX:r/f,startY:i/f,alignmentContext:g,singleInitialBounds:[...e.bounds],singleRotation:e.rotation??0},Y(`msh_nppt_element_edited`,{type:e.elementType,edit_type:`drag`},[`type`,`edit_type`])}}function m(t,n,i=!1){if(!u.value||!e.value)return;let a=o.value,s=t/a-u.value.startX,l=n/a-u.value.startY;i&&(Math.abs(s)>Math.abs(l)?l=0:Math.abs(s)Number.parseFloat(e)||0;function Sl(e){return Array.from(document.querySelectorAll(`[data-testid="editable-element"][data-element-id]`)).find(t=>t.dataset.elementId===e)}function Cl(e,t,n){let r=e.querySelector(`.ProseMirror`)??e.querySelector(`.pptd-table-cell-static-inner`);if(!r)return 0;let i=n??(e.clientWidth||e.getBoundingClientRect().width),a=getComputedStyle(e),o=document.createElement(`div`);o.style.position=`absolute`,o.style.visibility=`hidden`,o.style.pointerEvents=`none`,o.style.left=`-10000px`,o.style.top=`-10000px`,o.style.width=`${i}px`,o.style.height=`auto`,o.style.minHeight=`0`,o.style.maxHeight=`none`,o.style.overflow=`visible`,o.style.fontFamily=t.fontFamily,o.style.fontSize=t.fontSize,o.style.fontWeight=t.fontWeight,o.style.fontStyle=t.fontStyle,o.style.lineHeight=a.lineHeight||t.lineHeight,o.style.whiteSpace=a.whiteSpace,o.style.wordBreak=a.wordBreak,o.innerHTML=r.innerHTML||r.textContent||``,o.querySelectorAll(`p`).forEach(e=>{e.style.margin=`0`,e.style.lineHeight=`inherit`}),o.querySelectorAll(`ul, ol`).forEach(e=>{e.style.margin=`0`,e.style.paddingLeft=`1.5em`}),document.body.appendChild(o);let s=document.createRange();s.selectNodeContents(o);let c=Math.max(o.scrollHeight,s.getBoundingClientRect().height);return s.detach(),o.remove(),c}function wl(e,t){let n=Sl(e)?.querySelector(`.pptd-table-grid`);if(!n)return yl;let r=n.getBoundingClientRect().width||n.clientWidth,i=Array.from(n.querySelectorAll(`tbody > tr`)),a=Array.from({length:i.length},()=>0);i.forEach((e,n)=>{e.querySelectorAll(`td`).forEach(e=>{let o=e.querySelector(`.pptd-table-cell-content`),s=getComputedStyle(e),c=o?getComputedStyle(o):void 0,l=xl(s.paddingTop)+xl(s.paddingBottom)+xl(s.borderTopWidth)+xl(s.borderBottomWidth)+xl(c?.top??``)+xl(c?.bottom??``),u=o?.getBoundingClientRect().width||o?.clientWidth,d=u&&r?Math.max(yl,u*t/r):void 0,f=(o?Cl(o,s,d):0)+l,p=Math.max(1,Math.min(e.rowSpan||1,i.length-n));if(p===1){a[n]=Math.max(a[n],f);return}let m=a.slice(n,n+p),h=m.reduce((e,t)=>e+t,0);if(f<=h)return;let g=f-h;m.forEach((e,t)=>{let r=h>0?e/h:1/p;a[n+t]+=g*r})})});let o=a.reduce((e,t)=>e+t,0);return Math.max(yl,Math.ceil(o))}function Tl(e,t,n,r,i,a,o,s,c,l){let u=vl[t]||1,d=Math.min(wl(e,i),o);if(a>=d)return{x:n,y:r,w:i,h:a};let f=s*Math.PI/180,[p,m]=bl(0,u,Math.cos(f),Math.sin(f),c,l),h=d-a,g=n+i/2+h/2*p,_=r+a/2+h/2*m;return{x:g-i/2,y:_-d/2,w:i,h:d}}function El(){let{currentPage:e,currentElements:t,pageSize:n,updateElement:r}=Z(),{handleElementId:i,selectedElementIds:a,canvasScale:o,pushUndo:s,alignmentOverlay:c,isOperating:l}=Q(),u=_(null);function d(){let e=i.value;if(e)return t.value.find(t=>t.elementId===e)}function f(){let e=a.value;if(e.length<=1)return null;let n=1/0,r=-1/0,i=1/0,o=-1/0;for(let a of t.value){if(!e.includes(a.elementId))continue;let[t,s,c,l]=a.bounds,u=hl({x:t,y:s,width:c,height:l,rotation:a.rotation});n=Math.min(n,u.minX),r=Math.max(r,u.maxX),i=Math.min(i,u.minY),o=Math.max(o,u.maxY)}return n===1/0?null:{minX:n,maxX:r,minY:i,maxY:o}}function p(r,i,p){if(!e.value)return;let m=o.value;s(),l.value=!0,c.value=null;let h=a.value;if(h.length>1){let e=f();if(!e)return;let n=new Map;for(let e of t.value)h.includes(e.elementId)&&n.set(e.elementId,[...e.bounds]);u.value={direction:r,startX:i/m,startY:p/m,rangeMinX:e.minX,rangeMaxX:e.maxX,rangeMinY:e.minY,rangeMaxY:e.maxY,multiInitialBounds:n},Y(`msh_nppt_element_edited`,{type:`multiple`,edit_type:`scale`},[`type`,`edit_type`])}else{let e=d();if(!e)return;let a=e.rotation??0,o;a||(o=Ca(t.value,[e.elementId],[...n.value])),u.value={direction:r,startX:i/m,startY:p/m,singleInitialBounds:[...e.bounds],singleRotation:a,singleFlipX:e.flip?.[0]?-1:1,singleFlipY:e.flip?.[1]?-1:1,alignmentContext:o},Y(`msh_nppt_element_edited`,{type:e.elementType,edit_type:`scale`},[`type`,`edit_type`])}}function m(t,n,i=!1){if(!u.value||!e.value)return;let a=o.value,s=t/a-u.value.startX,l=n/a-u.value.startY,{direction:f}=u.value;if(u.value.multiInitialBounds){let{rangeMinX:t,rangeMaxX:n,rangeMinY:a,rangeMaxY:o,multiInitialBounds:c}=u.value;if(t===void 0||n===void 0||a===void 0||o===void 0)return;let d=n-t,p=o-a;if(i&&p>0){let e=d/p,t=f===`nw`||f===`se`?1:-1;f!==`n`&&f!==`s`&&f!==`e`&&f!==`w`&&(Math.abs(s)>Math.abs(l*e)?l=t*s/e:s=t*l*e)}let m=t,h=n,g=a,_=o;f.includes(`e`)&&(h+=s),f.includes(`w`)&&(m+=s),f.includes(`s`)&&(_+=l),f.includes(`n`)&&(g+=l);let v=h-m,y=_-g,b=d>0?v/d:1,x=p>0?y/p:1;b<=0&&(b=.001),x<=0&&(x=.001);for(let[n,i]of c){let[o,s,c,l]=i,u=m+(o-t)*b,d=g+(s-a)*x,f=c*b,p=l*x;r(e.value.pageId,n,{bounds:[u,d,f,p]})}}else if(u.value.singleInitialBounds){let t=d();if(!t)return;let[n,a,o,p]=u.value.singleInitialBounds,m=u.value.singleRotation??0,h=u.value.singleFlipX??1,g=u.value.singleFlipY??1,_=n+o/2,v=a+p/2,y=m*Math.PI/180,b=Math.cos(y),x=Math.sin(y),S=_l[f],C=vl[f],w=o,T=p,E=_,D=v;if(S!==0){let[e,t]=bl(S,0,b,x,h,g),n=s*e+l*t;w=Math.max(yl,o+n);let r=w-o;E+=r/2*e,D+=r/2*t}if(C!==0){let[e,t]=bl(0,C,b,x,h,g),n=s*e+l*t;T=Math.max(yl,p+n);let r=T-p;E+=r/2*e,D+=r/2*t}if(i&&S!==0&&C!==0){let e=o/p,t=w/e,n=T*e;if(Math.abs(t-T)t.elementId===e)}function u(t,n){let r=a.value,i=e.value?.getBoundingClientRect();return i?[(t-i.left)/r,(n-i.top)/r]:[t/r,n/r]}function d(e,n){let r=l();if(!r||!t.value)return;o(),s.value=!0;let[i,a,u,d]=r.bounds;c.value={centerX:i+u/2,centerY:a+d/2,flipY:!!r.flip?.[1]},Y(`msh_nppt_element_edited`,{type:r.elementType,edit_type:`rotate`},[`type`,`edit_type`]),f(e,n)}function f(e,n){if(!c.value)return;let i=l();if(!i||!t.value)return;let[a,o]=u(e,n),s=a-c.value.centerX,d=o-c.value.centerY,f=c.value.flipY?-s:s,p=c.value.flipY?d:-d,m=kl(Math.atan2(f,p)*180/Math.PI);r(t.value.pageId,i.elementId,{rotation:m})}function p(){c.value=null,s.value=!1}return{onRotateStart:d,onRotate:f,onRotateEnd:p}}function jl(){let{currentPage:e,currentElements:t,updateElement:n}=Z(),{handleElementId:r,canvasScale:i,pushUndo:a,isOperating:o}=Q(),s=_(null);function c(){let e=r.value;if(e)return t.value.find(t=>t.elementId===e)}function l(t,n,r){let l=c();if(!l||!e.value||l.elementType!==`shape`&&l.elementType!==`image`)return;let u=Ze(l.shapeName,l.adjustments);if(!u||(u.adjustmentNames?.length??0)===0||!u.keypointPositions)return;a(),o.value=!0;let d=i.value,f=l.adjustments??u.defaultValue??[],[p,m]=u.range?.[t]??[0,1e5],[,,h,g]=l.bounds,[_,v]=Xe(u,h,g,f,t);_===0&&v===0&&(_=1),s.value={index:t,startX:n/d,startY:r/d,elementId:l.elementId,originAdjustments:[...f],min:p,max:m,dirX:_,dirY:v},Y(`msh_nppt_element_edited`,{type:l.elementType,edit_type:`adjustment`},[`type`,`edit_type`])}function u(r,a){if(!s.value||!e.value)return;let o=i.value,{index:c,startX:l,startY:u,elementId:d,originAdjustments:f,min:p,max:m,dirX:h,dirY:g}=s.value,_=t.value.find(e=>e.elementId===d);if(!_||_.elementType!==`shape`&&_.elementType!==`image`)return;let v=r/o-l,y=a/o-u,b=_.rotation??0,x=Math.PI*b/180,S=Math.cos(x),C=Math.sin(x),w=_.flip?.[0]?-1:1,T=_.flip?.[1]?-1:1,E=(S*v+C*y)*w,D=(S*y-C*v)*T,O=h*h+g*g,k=(E*h+D*g)/O,A=(f[c]??0)+k;Am&&(A=m);let j=[...f];j[c]=A,n(e.value.pageId,d,{adjustments:j})}function d(){s.value=null,o.value=!1}return{onKeypointStart:l,onKeypointMove:u,onKeypointEnd:d}}function Ml(e,t){let n=e.left,r=e.left+e.width,i=e.top,a=e.top+e.height,[o,s,c,l]=t.bounds,{minX:u,maxX:d,minY:f,maxY:p}=hl({x:o,y:s,width:c,height:l,rotation:t.rotation});return u>n&&di&&p{let t=c(e),r=Math.min(n[0],t[0]),i=Math.min(n[1],t[1]),a=Math.max(n[0],t[0]),o=Math.max(n[1],t[1]),u=a-r,d=o-i,f=t[0]-n[0],p=t[1]-n[1];if(Math.sqrt(f*f+p*p)>5&&(l=!0),u<1||d<1){s.value.visible=!1;return}s.value={top:i,left:r,width:u,height:d,visible:!0}},d=()=>{if(window.removeEventListener(`mousemove`,u),window.removeEventListener(`mouseup`,d),s.value.visible=!1,!l){o();return}let e=[];for(let t of r.value)Ml(s.value,t)&&e.push(t.elementId);a(e,e[0]??null)};window.addEventListener(`mousemove`,u),window.addEventListener(`mouseup`,d)}return{mouseSelection:s,onCanvasMousedown:l}}var Pl=[`src`],Fl=[`d`,`stroke`],Il=.3,Ll=4,Rl=q(S({__name:`index`,props:{animationSession:{}},emits:[`present`],setup(e,{expose:r,emit:i}){let a=i,c=e,l={top:80,right:32,bottom:96,left:32},{currentPage:f,currentElements:p,pageSize:m,updateElement:h,colorList:g}=Z(),{selectedElementIds:y,highlightElementIds:S,handleElementId:C,focusArea:w,canvasScale:T,creatingElement:O,alignmentOverlay:k,spaceKeyState:A,isEditable:N,remoteLoading:P,isRichTextSelecting:L,openThemePanel:R,isPickingElement:z,completeElementPick:re,cancelElementPick:ie}=Q(),{isAnnotationMode:oe,annotationDraft:se}=ue(),W=s(()=>T.value),ce=s(()=>g.value[0]),G=_(!1),K=s(()=>({"--canvas-padding-top":`${l.top}px`,"--canvas-padding-right":`${l.right}px`,"--canvas-padding-bottom":`${l.bottom}px`,"--canvas-padding-left":`${l.left}px`,"--canvas-scale":`${W.value}`,"--canvas-scaled-radius":`${12/W.value}px`,cursor:z.value?`crosshair`:G.value?`grabbing`:A.value?`grab`:void 0})),q=s(()=>p.value),de=s(()=>f.value?.background),fe=Et(()=>c.animationSession),pe=(e,t)=>{let n=e.querySelector(`[data-element-id="${CSS.escape(t)}"]`)?.firstElementChild;return n instanceof HTMLElement?n:null},{backgroundStyle:me,backgroundMaskStyle:he,backgroundImage:ge,backgroundImageFit:_e,backgroundImageOpacity:ve,isBackgroundImageError:ye,isBackgroundImageLoading:be}=We(de),xe=s(()=>{if(C.value)return q.value.find(e=>e.elementId===C.value)}),Se=s(()=>q.value.filter(e=>y.value.includes(e.elementId))),{createElementContextMenus:Ce}=la(()=>xe.value),we=s(()=>{if(y.value.length<=1)return null;let e=1/0,t=-1/0,n=1/0,r=-1/0;for(let i of q.value){if(!y.value.includes(i.elementId))continue;let[a,o,s,c]=i.bounds,l=hl({x:a,y:o,width:s,height:c,rotation:i.rotation});e=Math.min(e,l.minX),t=Math.max(t,l.maxX),n=Math.min(n,l.minY),r=Math.max(r,l.maxY)}return e===1/0?null:{minX:e,maxX:t,minY:n,maxY:r}}),Ee=_(),De=_(),Oe=_(),ke=_();At(Oe,()=>c.animationSession,()=>q.value,()=>m.value,pe),te(Oe,`mousedown`,e=>{if(!z.value)return;let t=qe(e.target);if(t){e.stopPropagation(),e.preventDefault(),re(t);return}ie()},{capture:!0});let Ae=_(!0),X=D(Ee),Me=D(De),Ne=null,Pe=s(()=>{let e=Ee.value,t=De.value,n=X.width.value,r=X.height.value,i=Me.width.value,a=Me.height.value;return{offsetLeft:t?.offsetLeft??Math.max(0,(n-i)/2),offsetTop:t?.offsetTop??Math.max(0,(r-a)/2),width:e?.scrollWidth??n,height:e?.scrollHeight??r}});je(),I(`canvasBounding`,Me),I(`canvasContainerBounding`,X),I(`viewportBounding`,D(Oe)),Ke(`editor`),pt();let{paste:Fe,pasteImageFile:Ie}=ca();function Le(e,t){N.value&&f.value&&h(f.value.pageId,e,t)}let{mouseSelection:Re,onCanvasMousedown:ze}=Nl({viewportRef:Oe,canvasScale:W,elements:q,disabled:s(()=>!N.value||!!O.value||A.value||oe.value),onSelect:(e,t)=>{y.value=e,C.value=t,w.value=`editor`},onClear:()=>{y.value=[],C.value=null,w.value=`editor`}}),{t:Be}=J(),Ve=()=>!N.value||!f.value?[]:[{id:`canvas.paste`,text:Be(`contextMenu.paste`),subText:`Ctrl + V`,handler:()=>Fe()},{id:`canvas.selectAll`,text:Be(`contextMenu.selectAll`),subText:`Ctrl + A`,handler:()=>{let e=q.value.map(e=>e.elementId);y.value=e,C.value=e[0]??null}},{id:`canvas.changeBackground`,text:Be(`contextMenu.changeBackground`),handler:()=>R(`background`)},{divider:!0},{id:`canvas.startFromCurrent`,text:Be(`contextMenu.startFromCurrent`),handler:()=>a(`present`)}];function He(e,t){y.value=[e],C.value=e,w.value=`editor`}async function Ue(e){if(!N.value)return;let t=Array.from(e.dataTransfer?.files??[]).find(e=>e.type.startsWith(`image/`));t&&await Ie(t)&&Y(`msh_nppt_create_element_success`,{type:`image`,from:`drop`},[`type`,`from`])}function Ge(e,t,n){let r=Ee.value,i=De.value;if(!r||!i||(Ae.value=!1,e===W.value))return;let a=i.getBoundingClientRect();T.value=e,M(()=>{let e=i.getBoundingClientRect(),o=(e.width-a.width)*t,s=(e.height-a.height)*n;r.scrollLeft+=o,r.scrollTop+=s})}function Je(){let e=Ee.value,t=De.value;if(!e||!t)return;let n=t.clientWidth,r=t.clientHeight,i=e.clientWidth,a=e.clientHeight;e.scrollLeft=Math.max(0,(n-i)/2),e.scrollTop=Math.max(0,(r-a)/2)}let Ye=le(e=>{let t=De.value;if(!t)return;let n=t.getBoundingClientRect(),r=(e.clientX-n.left)/n.width,i=(e.clientY-n.top)/n.height;e.deltaY>0&&W.value<=Il||Ge(e.deltaY>0?Math.max(W.value-.1,Il):Math.min(W.value+.1,Ll),r,i)},1e3/40);function Xe(e){(e.ctrlKey||e.metaKey)&&(e.preventDefault(),Ye(e))}function Ze(e){ke.value?.handleCanvasMouseDown(e)||$e(e)}function Qe(e){oe.value&&(e.preventDefault(),e.stopPropagation())}function $e(e){if(!A.value||e.button!==0)return;e.preventDefault(),e.stopPropagation();let t=Ee.value;if(!t)return;G.value=!0;let n=e.pageX,r=e.pageY,i=t.scrollLeft,a=t.scrollTop,o=e=>{G.value&&(t.scrollLeft=i+n-e.pageX,t.scrollTop=a+r-e.pageY)},s=()=>{G.value=!1,Ne?.(),Ne=null};document.addEventListener(`mousemove`,o),document.addEventListener(`mouseup`,s),Ne=()=>{document.removeEventListener(`mousemove`,o),document.removeEventListener(`mouseup`,s)}}B(()=>{G.value=!1,Ne?.(),Ne=null});function et(){Ae.value=!0;let e=Ee.value;if(!e)return;let t=l.left+l.right,n=l.top+l.bottom,r=e.clientWidth-t,i=e.clientHeight-n,[a,o]=m.value;if(r<=0||i<=0||a<=0||o<=0)return;let s=o/a,c;c=i/r>s?r/a:i/o,c=Math.min(c,Ll),T.value=c,M(Je)}function tt(){let e=Ll*100,t=Math.round(W.value*100),n=Math.floor(t/10);Ge(Math.min((n+1)*10,e)/100,.5,.5)}let nt=le(tt,1e3/30);function rt(){if(W.value<=Il)return;let e=Il*100,t=Math.round(W.value*100),n=Math.floor(t/10),r=t%10?0:1;Ge(Math.max((n-r)*10,e)/100,.5,.5)}let it=le(rt,1e3/30);function at(){et()}function ot(e){Ge(Math.max(Il,Math.min(e,Ll)),.5,.5)}r({zoomIn:tt,zoomOut:rt,throttledZoomIn:nt,throttledZoomOut:it,zoomReset:at,fitToScreen:et,setCanvasScale:ot}),ee(()=>{et()}),H(()=>[m.value[0],m.value[1]],()=>{Ae.value&&et()},{flush:`post`}),j(Ee,()=>{if(Ae.value){et();return}Je()});let{onDragStart:st,onDrag:ct,onDragEnd:lt}=gl(),{onScaleStart:ut,onScale:dt,onScaleEnd:ft}=El(),{onRotateStart:mt,onRotate:ht,onRotateEnd:gt}=Al(Oe),{onKeypointStart:_t,onKeypointMove:vt,onKeypointEnd:yt}=jl(),xt=(e,t)=>{N.value&&st(e,t)},St=(e,t,n)=>{N.value&&ct(e,t,n)},Ct=()=>{N.value&<()},{creatingElement:wt,createStart:Tt,createEnd:Dt,selectionStyle:Ot,lineSelectionData:kt,onCreateMouseDown:jt,createTextAtPointer:Mt}=Ii(Oe,W,{onCreateSuccess:e=>{Y(`msh_nppt_create_element_success`,{type:e,from:`action-bar`},[`type`,`from`])}});function Nt(e){N.value&&(O.value||e.target===Oe.value&&Mt(e)&&Y(`msh_nppt_create_element_success`,{type:`text`,from:`dblclick`},[`type`,`from`]))}return(e,r)=>{let i=ne(`contextmenu`);return ae((E(),u(`div`,{ref_key:`scrollContainerRef`,ref:Ee,class:t([`canvas`,{"is-space-dragging":F(A),"is-canvas-dragging":G.value,"is-annotation-mode":F(oe),"is-annotation-drafting":F(se)}]),style:d(K.value),onMousedownCapture:Ze,onClickCapture:r[3]||(r[3]=e=>ke.value?.handleCanvasClick(e)),onDblclickCapture:Qe,onContextmenuCapture:Qe,onDragoverCapture:Qe,onDropCapture:Qe,onMousemove:r[4]||(r[4]=e=>ke.value?.handleCanvasMouseMove(e)),onMouseleave:r[5]||(r[5]=e=>ke.value?.handleCanvasMouseLeave()),onMousedown:r[6]||(r[6]=(...e)=>F(ze)&&F(ze)(...e)),onWheel:Xe,onDragover:r[7]||(r[7]=U(()=>{},[`prevent`])),onDrop:U(Ue,[`prevent`])},[v(`div`,{ref_key:`canvasRef`,ref:De,class:`canvas-wrapper`,style:d({width:`${F(m)[0]*W.value}px`,height:`${F(m)[1]*W.value}px`})},[v(`div`,{ref_key:`viewportRef`,ref:Oe,class:t([`canvas-viewport`,{disabled:!F(N)}]),style:d({width:`${F(m)[0]}px`,height:`${F(m)[1]}px`,transform:`scale(${W.value})`}),onDblclick:Nt},[v(`div`,{class:t([`slide-background`,{"is-loading":F(be),"is-error":F(ye)}]),style:d(F(me))},null,6),F(ge)?(E(),u(`img`,{key:0,class:`slide-background-image`,src:F(ge),crossorigin:`anonymous`,style:d({objectFit:F(_e),opacity:F(ve)})},null,12,Pl)):o(``,!0),F(ge)&&F(he)?(E(),u(`div`,{key:1,class:`slide-background-mask`,style:d(F(he))},null,4)):o(``,!0),x(Te),(E(!0),u(n,null,V(q.value,e=>(E(),b(da,{key:`main_canvas_${F(f)?.pageId}_${e.elementId}`,element:e,"is-selected":F(y).includes(e.elementId),hidden:F(fe)?.has(e.elementId),highlighted:F(S).includes(e.elementId),onUpdate:t=>Le(e.elementId,t),onSelect:t=>He(e.elementId,t),onDragStart:xt,onDrag:St,onDragEnd:Ct},null,8,[`element`,`is-selected`,`hidden`,`highlighted`,`onUpdate`,`onSelect`]))),128)),x(zc,{top:F(Re).top,left:F(Re).left,width:F(Re).width,height:F(Re).height,visible:F(Re).visible},null,8,[`top`,`left`,`width`,`height`,`visible`]),F(N)&&F(wt)&&F(wt).type!==`image`?(E(),u(`div`,{key:2,class:`create-overlay`,onMousedown:r[0]||(r[0]=(...e)=>F(jt)&&F(jt)(...e))},[F(Tt)&&F(Dt)?(E(),u(n,{key:0},[F(kt)?(E(),u(`svg`,{key:0,class:`create-line-selection`,style:d({left:`${F(kt).left}px`,top:`${F(kt).top}px`,width:`${F(kt).width}px`,height:`${F(kt).height}px`}),overflow:`visible`},[v(`path`,{d:F(kt).path,stroke:ce.value,style:d({stroke:ce.value}),fill:`none`,"stroke-width":`2`},null,12,Fl)],4)):(E(),u(`div`,{key:1,class:`create-selection`,style:d(F(Ot))},null,4))],64)):o(``,!0)],32)):o(``,!0)],38),x(Jc,{overlay:F(k),scale:W.value,"canvas-width":Pe.value.width,"canvas-height":Pe.value.height,"offset-left":Pe.value.offsetLeft,"offset-top":Pe.value.offsetTop},null,8,[`overlay`,`scale`,`canvas-width`,`canvas-height`,`offset-left`,`offset-top`]),F(N)&&!F(oe)?(E(),u(n,{key:0},[F(y).length===1&&xe.value?.elementType===`shape`&&F(bt)(xe.value.shapeName)?(E(),b(Qa,{key:0,element:xe.value,scale:W.value,contextmenus:F(Ce),onUpdate:r[1]||(r[1]=e=>Le(xe.value.elementId,e)),onRotateStart:F(mt),onRotate:F(ht),onRotateEnd:F(gt),onKeypointStart:F(_t),onKeypoint:F(vt),onKeypointEnd:F(yt)},null,8,[`element`,`scale`,`contextmenus`,`onRotateStart`,`onRotate`,`onRotateEnd`,`onKeypointStart`,`onKeypoint`,`onKeypointEnd`])):F(y).length===1&&xe.value?.elementType===`line`?(E(),b(io,{key:1,element:xe.value,scale:W.value,contextmenus:F(Ce),onUpdate:r[2]||(r[2]=e=>Le(xe.value.elementId,e))},null,8,[`element`,`scale`,`contextmenus`])):F(y).length===1&&xe.value?(E(),b(fa,{key:2,element:xe.value,scale:W.value,"disable-interaction":F(L),contextmenus:F(Ce),onDragStart:F(st),onDrag:F(ct),onDragEnd:F(lt),onScaleStart:F(ut),onScale:F(dt),onScaleEnd:F(ft),onRotateStart:F(mt),onRotate:F(ht),onRotateEnd:F(gt),onKeypointStart:F(_t),onKeypoint:F(vt),onKeypointEnd:F(yt)},null,8,[`element`,`scale`,`disable-interaction`,`contextmenus`,`onDragStart`,`onDrag`,`onDragEnd`,`onScaleStart`,`onScale`,`onScaleEnd`,`onRotateStart`,`onRotate`,`onRotateEnd`,`onKeypointStart`,`onKeypoint`,`onKeypointEnd`])):o(``,!0),F(y).length>1&&we.value?(E(),b(ao,{key:3,range:we.value,elements:Se.value,scale:W.value,onDragStart:F(st),onDrag:F(ct),onDragEnd:F(lt),onScaleStart:F(ut),onScale:F(dt),onScaleEnd:F(ft)},null,8,[`range`,`elements`,`scale`,`onDragStart`,`onDrag`,`onDragEnd`,`onScaleStart`,`onScale`,`onScaleEnd`])):o(``,!0)],64)):o(``,!0),F(P)?(E(),b(Qc,{key:1})):o(``,!0),r[8]||(r[8]=v(`div`,{class:`canvas-borderline`},null,-1))],4),x(ml,{ref_key:`annotationLayerRef`,ref:ke,"canvas-el":De.value,"viewport-el":Oe.value,"canvas-scale":W.value,"page-size":F(m),elements:q.value},null,8,[`canvas-el`,`viewport-el`,`canvas-scale`,`page-size`,`elements`]),F(N)?(E(),b(Rc,{key:0})):o(``,!0)],38)),[[i,Ve]])}}}),[[`__scopeId`,`data-v-24abc95c`]]),zl={class:`dialog-footer`},Bl={class:`dialog-actions`},Vl=q(S({__name:`ThemeColorPickerDialog`,props:{modelValue:{},position:{}},emits:[`close`,`apply`],setup(e,{emit:t}){let n=e,r=t,{t:i}=J(),a=_(n.modelValue);H(()=>n.modelValue,e=>{a.value=e});let o=s(()=>a.value!==n.modelValue),c=()=>{o.value&&r(`apply`,a.value)};return(t,n)=>(E(),u(`div`,{class:`theme-color-picker-mask`,onMousedown:n[3]||(n[3]=U(e=>r(`close`),[`self`]))},[v(`div`,{class:`theme-color-picker`,style:d({left:`${e.position.left}px`,top:`${e.position.top}px`}),onMousedown:n[2]||(n[2]=U(()=>{},[`stop`]))},[x(Fo,{"model-value":a.value,"show-theme-colors":!1,"onUpdate:modelValue":n[0]||(n[0]=e=>a.value=e)},null,8,[`model-value`]),v(`div`,zl,[v(`div`,Bl,[x(F(Wt),{type:`secondary`,size:`medium`,class:`dialog-button`,onClick:n[1]||(n[1]=e=>r(`close`))},{default:T(()=>[l(f(F(i)(`themeEditor.cancel`)),1)]),_:1}),x(F(Wt),{type:`primary`,size:`medium`,class:`dialog-button`,disabled:!o.value,onClick:c},{default:T(()=>[l(f(F(i)(`themeEditor.apply`)),1)]),_:1},8,[`disabled`])])])],36)],32))}}),[[`__scopeId`,`data-v-75b020e7`]]),Hl=`.theme-editor`,Ul=0,Wl=12,Gl=(e,t,n)=>Math.max(t,Math.min(e,n)),Kl=e=>{let t=_({left:0,top:0});return{position:t,updatePosition:n=>{let r=e.margin??Wl,i=e.gap??Ul,a=n?.getBoundingClientRect(),o=n?.closest(e.panelSelector??Hl)?.getBoundingClientRect(),s=window.innerWidth-e.width-r,c=r,l=o?o.left-e.width-i:s,u=a?a.top:c,d=Math.max(r,window.innerWidth-e.width-r),f=Math.max(r,window.innerHeight-e.estimatedHeight-r);t.value={left:Gl(l,r,d),top:Gl(u,r,f)}}}},ql={class:`current-page-background-editor`},Jl={class:`section-title`},Yl={class:`segmented-control`},Xl={class:`background-color-value`},Zl=[`value`],Ql=[`src`],$l={key:1,class:`background-image-upload-content`},eu={class:`background-image-controls`},tu={class:`background-image-opacity`},nu=[`value`],ru=q(S({__name:`CurrentPageBackgroundEditor`,setup(e){let{t:r}=J(),{currentPage:i,theme:a,updatePageBackground:c,applyBackgroundToAllPages:p}=Z(),{pushUndo:m,isEditable:h}=Q(),{uploadImage:g}=pe(),{useResolvedImageUrl:y}=Je(),S=ye(),C=_(`color`),w=_(!1),D=_(),O=_(),k=_(),{position:A,updatePosition:j}=Kl({width:258,estimatedHeight:430}),M={...$,align:`start`,offset:4,zIndex:2100},N=s(()=>i.value?.pageId),P=s(()=>i.value?.background),I=s(()=>nt(a.value,P.value)),L=s(()=>{let e=P.value;return e?.type===`image`?e:void 0}),R=s(()=>{let e=I.value;return e?.type===`solid`?e.color:`#ffffff`}),ee=s(()=>Se(R.value).toHexString().slice(1).toUpperCase()),te=s(()=>Math.round(Se(R.value).getAlpha()*100)),{src:ne}=y(()=>L.value?.src),z=s(()=>L.value?.fit?.mode??`cover`),B=s(()=>Math.round((L.value?.opacity??1)*100)),re=s(()=>[{label:r(`themeEditor.backgroundFitFill`),value:`cover`},{label:r(`themeEditor.backgroundFitContain`),value:`contain`},{label:r(`themeEditor.backgroundFitStretch`),value:`fill`}]),V=s(()=>({objectFit:z.value,opacity:B.value/100})),ie=(e,t,n)=>Math.max(t,Math.min(e,n)),ae=e=>JSON.parse(JSON.stringify(e)),oe=e=>{if(e?.type===`solid`){O.value=ae(e);return}e?.type===`image`&&(k.value=ae(e))},se=e=>{C.value=e?.type===`image`?`image`:`color`};H(N,()=>{O.value=void 0,k.value=void 0,w.value=!1,oe(P.value),se(P.value)}),H(P,e=>{oe(e),se(e)},{immediate:!0});let W=e=>({type:`solid`,color:e.startsWith(`$`)?e:vo(e)}),ce=e=>e?.type===`solid`?W(e.color):e,G=(e,t)=>{let n=Se(e);return n.setAlpha(ie(t,0,100)/100),vo(n.toRgb())},K=e=>{let t=i.value;!t||!h.value||(m(),c(t.pageId,e))},le=e=>{h.value&&(C.value=`color`,j(e.currentTarget),w.value=!0)},q=()=>{w.value=!1},ue=e=>{if(C.value=e,e===`color`){if(P.value?.type===`solid`)return;K(O.value?ae(O.value):W(R.value));return}P.value?.type===`image`||!k.value||K(ae(k.value))},de=e=>{K(W(e)),q()},fe=e=>{let t=Number(e.target.value);Number.isNaN(t)||K(W(G(R.value,t)))},me=e=>{let t=L.value;t&&K({...t,...e})},he=()=>{h.value&&D.value?.click()},ge=async e=>{let t=e.target,n=t.files?.[0];if(t.value=``,!(!n||!h.value))try{let e=await g(n);if(!h.value)return;K({type:`image`,src:e,fit:{mode:`cover`},opacity:1})}catch(e){Ae(`[Upload] Failed to upload page background`,e),S.error(r(`themeEditor.uploadImageFailed`))}},_e=e=>{me({fit:{mode:String(e)}})},ve=e=>{let t=Number(e.target.value);Number.isNaN(t)||me({opacity:ie(t,0,100)/100})},be=()=>{if(!i.value||!h.value)return;let e=ce(P.value)??W(R.value);m(),p(e)};return(e,a)=>(E(),u(`section`,ql,[v(`div`,Jl,f(F(r)(`themeEditor.currentPageBackground`)),1),v(`div`,Yl,[v(`button`,{class:t([`segmented-button`,{active:C.value===`color`}]),type:`button`,onClick:a[0]||(a[0]=e=>ue(`color`))},f(F(r)(`themeEditor.backgroundColor`)),3),v(`button`,{class:t([`segmented-button`,{active:C.value===`image`}]),type:`button`,onClick:a[1]||(a[1]=e=>ue(`image`))},f(F(r)(`themeEditor.backgroundImage`)),3)]),C.value===`color`?(E(),u(`button`,{key:0,class:`background-color-row`,type:`button`,onClick:le},[v(`span`,{class:`background-color-swatch`,style:d({background:R.value})},null,4),v(`span`,Xl,f(ee.value),1),a[6]||(a[6]=v(`span`,{class:`background-row-divider`},null,-1)),v(`input`,{class:`background-opacity-input`,type:`number`,min:`0`,max:`100`,value:te.value,onClick:a[2]||(a[2]=U(()=>{},[`stop`])),onKeydown:a[3]||(a[3]=U(()=>{},[`stop`])),onChange:fe},null,40,Zl),a[7]||(a[7]=v(`span`,{class:`background-opacity-postfix`},`%`,-1))])):(E(),u(n,{key:1},[v(`button`,{class:`background-image-uploader`,type:`button`,onClick:he},[F(ne)?(E(),u(`img`,{key:0,class:`background-image-fill`,src:F(ne),crossorigin:`anonymous`,style:d(V.value)},null,12,Ql)):(E(),u(`span`,$l,[x(F(X),{name:`Upload`,width:`16`,height:`16`}),v(`span`,null,f(F(r)(`themeEditor.uploadImage`)),1)]))]),v(`div`,eu,[x(Xt,{class:`background-fit-select`,"menu-list":re.value,"active-menu":z.value,"float-options":M,onClick:_e},null,8,[`menu-list`,`active-menu`]),v(`div`,tu,[v(`input`,{class:`background-opacity-input`,type:`number`,min:`0`,max:`100`,value:B.value,onClick:a[4]||(a[4]=U(()=>{},[`stop`])),onKeydown:a[5]||(a[5]=U(()=>{},[`stop`])),onChange:ve},null,40,nu),a[8]||(a[8]=v(`span`,{class:`background-opacity-postfix`},`%`,-1))])])],64)),x(F(Wt),{type:`secondary`,size:`medium`,block:``,class:`apply-all-button`,disabled:!F(i)||!F(h),onClick:be},{default:T(()=>[l(f(F(r)(`themeEditor.applyToAll`)),1)]),_:1},8,[`disabled`]),v(`input`,{ref_key:`fileInputRef`,ref:D,class:`hidden-input`,type:`file`,accept:`image/*`,onChange:ge},null,544),w.value?(E(),b(Vl,{key:2,"model-value":R.value,position:F(A),onApply:de,onClose:q},null,8,[`model-value`,`position`])):o(``,!0)]))}}),[[`__scopeId`,`data-v-f75e02be`]]),iu={class:`theme-color-section`},au={class:`section-title`},ou={key:0,class:`color-list`},su=[`aria-label`,`title`,`onClick`],cu={key:1,class:`empty-state`},lu=q(S({__name:`ThemeColorEditor`,props:{colors:{}},emits:[`update:colors`],setup(e,{emit:r}){let i=e,a=r,{t:c}=J(),l=s(()=>Object.entries(i.colors)),p=_(``),m=_(!1),{position:h,updatePosition:g}=Kl({width:258,estimatedHeight:430}),y=s(()=>p.value?i.colors[p.value]:`#000000`);H(l,e=>{if(!e.length){p.value=``,m.value=!1;return}p.value&&!i.colors[p.value]&&(p.value=e[0][0])},{immediate:!0});let x=(e,t)=>{p.value=e,g(t.currentTarget),m.value=!0},S=()=>{m.value=!1},C=e=>{p.value&&(a(`update:colors`,{...i.colors,[p.value]:e}),S())};return(e,r)=>(E(),u(`section`,iu,[v(`div`,au,f(F(c)(`themeEditor.themeColors`)),1),l.value.length?(E(),u(`div`,ou,[(E(!0),u(n,null,V(l.value,([e,n])=>(E(),u(`button`,{key:e,class:t([`color-swatch`,{active:e===p.value&&m.value}]),type:`button`,style:d({background:n}),"aria-label":`${e}: ${n}`,title:`${e}: ${n}`,onClick:t=>x(e,t)},null,14,su))),128))])):(E(),u(`div`,cu,f(F(c)(`themeEditor.emptyThemeColors`)),1)),m.value?(E(),b(Vl,{key:2,"model-value":y.value,position:F(h),onApply:C,onClose:S},null,8,[`model-value`,`position`])):o(``,!0)]))}}),[[`__scopeId`,`data-v-134d434d`]]),uu={class:`dialog-fields`},du={class:`preview`},fu={class:`field full`},pu={class:`theme-menu-control`},mu={key:0,class:`unsupported-theme-font-trigger`},hu={class:`unsupported-theme-font-text`},gu={key:1,class:`theme-menu-label`},_u={key:0,class:`font-divider`},vu=[`alt`,`src`],yu={class:`field-grid`},bu={class:`field`},xu={class:`theme-menu-control`},Su={class:`field`},Cu={class:`theme-number-control`},wu={class:`field-grid`},Tu={class:`field`},Eu={class:`theme-menu-control`},Du={class:`field`},Ou={class:`theme-number-control`},ku={class:`dialog-footer`},Au={class:`dialog-actions`},ju=`divider`,Mu=q(S({__name:`ThemeTextStyleDialog`,props:{textStyle:{},position:{}},emits:[`close`,`apply`],setup(e,{emit:t}){let r=e,i=t,{t:a,locale:o}=J(),{meta:c}=Z(),p=e=>Nt(e.value,o.value),m=s(()=>({font:a(`floatBar.font`),fontStyle:a(`themeEditor.fontStyle`),fontSize:a(`floatBar.fontSize`),lineHeight:a(`themeEditor.lineHeight`),letterSpacing:a(`themeEditor.letterSpacing`),previewText:a(`themeEditor.previewText`),normal:a(`themeEditor.normal`),italic:a(`floatBar.italic`),times:a(`floatBar.times`),cancel:a(`themeEditor.cancel`),apply:a(`themeEditor.apply`)})),h=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],g=s(()=>gt(He(o.value,ju),c.value.customFonts,ju)),y={...$,offset:4,zIndex:2100},b=_({}),S=e=>{let t=e?{...e}:{fontFamily:``,fontSize:20,lineHeight:1.2};if(t.lineHeightPx!==void 0){let e=t.fontSize??16;t.lineHeight=Number((t.lineHeightPx/e).toFixed(2)),t.lineHeightPx=void 0}return t};H(()=>r.textStyle,e=>{b.value=S(e)},{immediate:!0,deep:!0});let C=s(()=>new Map(Lt.map(e=>[e.value,rt(e,o.value)]))),w=s(()=>C.value.get(``)??``),D=new Set([`MiSans`,`Mi Sans`,`Microsoft YaHei`]);function O(e){return e.trim().replace(/^['"]|['"]$/g,``)}function k(e){return O(e.split(`,`)[0]??e)}let A=e=>{let t=Ct(e);if(!t)return w.value;let n=k(t),r=Lt.find(e=>e.value===n||e.aliasList.includes(n));return(o.value===`zh-cn`&&D.has(n)?a(`themeEditor.miSans`):void 0)??(r?C.value.get(r.value):void 0)??n};function j(e){let t=O(e);return Lt.find(e=>e.value===t||e.aliasList.includes(t))?.value??``}let M=s(()=>{let e=k(Ct(b.value.fontFamily)??``);if(!e)return{value:``,unsupportedName:``};let t=j(e)||ft(e,c.value.customFonts);return t?{value:t,unsupportedName:``}:{value:void 0,unsupportedName:e}}),N=s(()=>M.value.unsupportedName),P=s(()=>N.value?void 0:M.value.value),I=s(()=>A(P.value)||A(b.value.fontFamily)),L=s(()=>N.value?a(`floatBar.unsupportedFont`):void 0),R=e=>{let t=String(e);b.value={...b.value,fontFamily:t};let n=Lt.find(e=>e.value===t);n?.fntdataUrl&&mt(n)},ee=e=>{b.value={...b.value,fontSize:e}},te=s(()=>[{label:m.value.normal,value:`normal`},{label:m.value.italic,value:`italic`}]),ne=s(()=>b.value.fontStyle??`normal`),z=e=>{b.value={...b.value,fontStyle:e===`italic`?`italic`:`normal`}},B=s(()=>h.map(e=>({label:`${e.toFixed(1)}${m.value.times}`,value:e}))),re=s(()=>b.value.lineHeight??1.2),V=e=>{b.value={...b.value,lineHeight:Number(e),lineHeightPx:void 0}},ie=e=>{b.value={...b.value,letterSpacing:e}},ae=e=>{let t={},n=t;for(let[t,r]of Object.entries(e))t!==`lineHeightPx`&&(r==null||r===``||typeof r==`number`&&Number.isNaN(r)||(n[t]=r));return t},oe=()=>b.value.fontSize!==void 0&&b.value.fontSize<=0?m.value.fontSize:b.value.lineHeight!==void 0&&b.value.lineHeight<=0?m.value.lineHeight:``,se=s(()=>JSON.stringify(ae(b.value))!==JSON.stringify(ae(S(r.textStyle)))),W=s(()=>se.value&&!oe()),ce=s(()=>({fontFamily:Ct(b.value.fontFamily)||`inherit`,fontSize:`${b.value.fontSize??20}px`,fontStyle:b.value.fontStyle??`normal`,lineHeight:b.value.lineHeight??1.2,letterSpacing:b.value.letterSpacing===void 0?void 0:`${b.value.letterSpacing}px`,color:b.value.color||`var(--Labels-Primary)`})),G=()=>{W.value&&i(`apply`,ae(b.value))};return(t,r)=>(E(),u(`div`,{class:`style-dialog-mask`,onMousedown:r[2]||(r[2]=U(e=>i(`close`),[`self`]))},[v(`div`,{class:`style-dialog`,style:d({left:`${e.position.left}px`,top:`${e.position.top}px`}),onMousedown:r[1]||(r[1]=U(()=>{},[`stop`]))},[v(`div`,uu,[v(`div`,du,[v(`div`,{class:`preview-content`,style:d(ce.value)},f(m.value.previewText),5)]),v(`div`,fu,[v(`label`,null,f(m.value.font),1),v(`div`,pu,[x(Xt,{class:`theme-select-menu`,"menu-list":g.value,"active-menu":P.value,tooltip:L.value,"float-options":y,"max-width":`12em`,"scroll-into-view":``,onClick:R},{label:T(()=>[N.value?(E(),u(`span`,mu,[x(F(X),{class:`unsupported-theme-font-icon`,name:`Warning`,width:`14`,height:`14`}),v(`span`,hu,f(N.value),1)])):(E(),u(`span`,gu,f(I.value),1))]),item:T(({item:e})=>[typeof e==`string`?(E(),u(`div`,_u)):(E(),u(n,{key:1},[p(e)?(E(),u(`img`,{key:0,class:`font-menu-item font-menu-item-image`,alt:A(e.value)||e.label,src:p(e)},null,8,vu)):(E(),u(`div`,{key:1,class:`font-menu-item`,style:d({fontFamily:e.value||`inherit`})},f(A(e.value)||e.label),5))],64))]),_:1},8,[`menu-list`,`active-menu`,`tooltip`])])]),v(`div`,yu,[v(`div`,bu,[v(`label`,null,f(m.value.fontStyle),1),v(`div`,xu,[x(Xt,{class:`theme-select-menu`,"menu-list":te.value,"active-menu":ne.value,"float-options":y,"scroll-into-view":``,onClick:z},null,8,[`menu-list`,`active-menu`])])]),v(`div`,Su,[v(`label`,null,f(m.value.fontSize),1),v(`div`,Cu,[x(lo,{"input-width":`32px`,min:1,max:120,step:2,value:b.value.fontSize??F(16),"onUpdate:value":ee},null,8,[`value`])])])]),v(`div`,wu,[v(`div`,Tu,[v(`label`,null,f(m.value.lineHeight),1),v(`div`,Eu,[x(Xt,{class:`theme-select-menu`,"menu-list":B.value,"active-menu":re.value,"float-options":y,"scroll-into-view":``,onClick:V},null,8,[`menu-list`,`active-menu`])])]),v(`div`,Du,[v(`label`,null,f(m.value.letterSpacing),1),v(`div`,Ou,[x(lo,{"input-width":`32px`,min:0,max:100,step:1,value:b.value.letterSpacing??0,"onUpdate:value":ie},null,8,[`value`])])])])]),v(`div`,ku,[v(`div`,Au,[x(F(Wt),{type:`secondary`,size:`medium`,class:`dialog-button`,onClick:r[0]||(r[0]=e=>i(`close`))},{default:T(()=>[l(f(m.value.cancel),1)]),_:1}),x(F(Wt),{type:`primary`,size:`medium`,class:`dialog-button`,disabled:!W.value,onClick:G},{default:T(()=>[l(f(m.value.apply),1)]),_:1},8,[`disabled`])])])],36)],32))}}),[[`__scopeId`,`data-v-0d3d3f21`]]),Nu={class:`theme-editor`},Pu={class:`theme-editor-header`},Fu={class:`theme-editor-title-wrap`},Iu={class:`theme-editor-title auto-rtl rtl-align`},Lu={class:`theme-editor-body auto-rtl`},Ru={class:`section`},zu={class:`section-title`},Bu={key:0,class:`style-list`},Vu=[`onClick`],Hu={key:1,class:`empty-state`},Uu=q(S({__name:`ThemeEditor`,props:{theme:{}},emits:[`apply`,`close`],setup(e,{emit:r}){let i=e,a=r,{t:c}=J(),{themePanelFocusTarget:l}=Q(),d=s(()=>({colors:{},textStyles:{},...i.theme})),p=s(()=>Object.entries(d.value.textStyles)),m=_(``),h=_(!1),g=_(null),y=_(),S=_(),{position:C,updatePosition:w}=Kl({width:258,estimatedHeight:342});H(p,e=>{(e.length===0||m.value&&!d.value.textStyles[m.value])&&(m.value=``)},{immediate:!0}),H(l,async e=>{if(e!==`background`)return;await M();let t=S.value?.$el;t instanceof HTMLElement&&t.scrollIntoView({block:`start`}),l.value=null},{immediate:!0});let T=(e,t)=>{g.value=e??null,y.value=e?{...d.value.textStyles[e]}:{fontFamily:``,fontSize:20,lineHeight:1.2},w(t),h.value=!0},D=(e,t)=>{m.value=e,T(e,t.currentTarget)},O=()=>{h.value=!1,m.value=``,y.value=void 0},k=e=>{a(`apply`,{...d.value,...e})},A=e=>{k({colors:e})},j=e=>{let t=g.value;if(!t)return;let n={...d.value.textStyles};n[t]=e,k({textStyles:n}),O()};return(e,r)=>(E(),u(`div`,Nu,[v(`div`,Pu,[v(`div`,Fu,[x(F(X),{name:`Style`,width:`20`,height:`20`}),v(`div`,Iu,f(F(c)(`themeEditor.title`)),1)]),v(`button`,{class:`icon-button`,type:`button`,onClick:r[0]||(r[0]=e=>a(`close`))},[x(F(X),{name:`Close`,width:`20`,height:`20`})])]),v(`div`,Lu,[v(`section`,Ru,[v(`div`,zu,f(F(c)(`themeEditor.textStyles`)),1),p.value.length?(E(),u(`div`,Bu,[(E(!0),u(n,null,V(p.value,([e,n])=>(E(),u(`button`,{key:e,class:t([`style-row`,{active:e===m.value}]),type:`button`,onClick:t=>D(e,t)},[x(us,{"style-key":e,"text-style":n},null,8,[`style-key`,`text-style`])],10,Vu))),128))])):(E(),u(`div`,Hu,f(F(c)(`themeEditor.emptyTextStyles`)),1))]),x(lu,{colors:d.value.colors,"onUpdate:colors":A},null,8,[`colors`]),x(ru,{ref_key:`backgroundSectionRef`,ref:S},null,512)]),h.value?(E(),b(Mu,{key:0,"text-style":y.value,position:F(C),onApply:j,onClose:O},null,8,[`text-style`,`position`])):o(``,!0)]))}}),[[`__scopeId`,`data-v-e470f150`]]),Wu={class:`animation-panel`},Gu={class:`animation-panel-header`},Ku={class:`animation-panel-title-wrap`},qu={class:`animation-panel-title auto-rtl rtl-align`},Ju={class:`animation-panel-body auto-rtl`},Yu=[`onMouseenter`],Xu=[`onClick`],Zu={class:`animation-item-order`},Qu={class:`animation-item-info`},$u={class:`animation-item-title`},ed={class:`animation-item-category`},td={class:`animation-item-target`},nd={key:1,class:`empty-state`},rd=!1,id=q(S({__name:`AnimationPanel`,emits:[`close`,`preview`],setup(e,{emit:r}){let a=r,{currentPage:c,updatePageAnimations:d}=Z(),{isEditable:p,pushUndo:m,isPickingElement:h,startElementPick:g,cancelElementPick:y,highlightElementIds:S,selectedElementIds:C}=Q(),{t:w}=J(),D=s(()=>c.value?.animations??[]),O=s(()=>c.value?.elements??[]);({...$});let k={entrance:`animationPanel.categoryEntrance`,emphasis:`animationPanel.categoryEmphasis`,exit:`animationPanel.categoryExit`,"motion-path":`animationPanel.categoryMotionPath`},A=e=>w(k[e]);s(()=>{let e=[],t=null;for(let n of Be)n.category!==t&&(t&&e.push(`divider`),e.push({label:A(n.category),value:`group:${n.category}`,disabled:!0}),t=n.category),e.push({label:w(`animationPanel.effects.${n.effect}`),value:n.effect});return e}),s(()=>[{label:w(`animationPanel.triggerOnClick`),value:`onClick`},{label:w(`animationPanel.triggerWithPrevious`),value:`withPrevious`},{label:w(`animationPanel.triggerAfterPrevious`),value:`afterPrevious`}]),s(()=>[{label:w(`animationPanel.directionUp`),value:`up`},{label:w(`animationPanel.directionDown`),value:`down`},{label:w(`animationPanel.directionLeft`),value:`left`},{label:w(`animationPanel.directionRight`),value:`right`}]),s(()=>[{label:w(`animationPanel.easingLinear`),value:`linear`},{label:w(`animationPanel.easingEaseIn`),value:`ease-in`},{label:w(`animationPanel.easingEaseOut`),value:`ease-out`},{label:w(`animationPanel.easingEaseInOut`),value:`ease-in-out`}]);let j=s(()=>({text:w(`animationPanel.elementTypes.text`),shape:w(`animationPanel.elementTypes.shape`),image:w(`animationPanel.elementTypes.image`),icon:w(`animationPanel.elementTypes.icon`),table:w(`animationPanel.elementTypes.table`),chart:w(`animationPanel.elementTypes.chart`),line:w(`animationPanel.elementTypes.line`)})),M=e=>{let t=O.value,n=t.findIndex(t=>t.elementId===e);if(n<0)return e;let r=t[n].elementType,i=t.slice(0,n+1).filter(e=>e.elementType===r).length;return`${j.value[r]??r} ${i}`},N=e=>w(`animationPanel.effects.${e}`),P=e=>A($e(e)),I=e=>w(e===`withPrevious`?`animationPanel.triggerWithPrevious`:e===`afterPrevious`?`animationPanel.triggerAfterPrevious`:`animationPanel.triggerOnClick`),L=e=>{let t=c.value?.pageId;!t||!p.value||(m(),d(t,e))},R=s({get:()=>D.value,set:e=>{let t=c.value?.pageId;t&&p.value&&d(t,e)}}),ee=()=>{p.value&&m()},ne=({oldIndex:e,newIndex:t})=>{e===void 0||t===void 0||B.value===e&&(B.value=t)},z=e=>{L(D.value.filter((t,n)=>n!==e)),B.value===e&&(B.value=null)},B=_(null);te(window,`keydown`,e=>{e.key===`Escape`&&h.value&&(e.stopPropagation(),y())},{capture:!0});let ie=e=>{S.value=[e]},ae=()=>{S.value=[]};i(()=>{S.value=[],h.value&&y()}),H(()=>c.value?.pageId,()=>{B.value=null,S.value=[],h.value&&y()});let oe=s(()=>C.value[0]??``);return _(`fade-in`),_(`onClick`),s(()=>!!oe.value&&p.value),(e,r)=>(E(),u(`div`,Wu,[v(`div`,Gu,[v(`div`,Ku,[x(F(X),{name:`Animation`,width:`20`,height:`20`}),v(`div`,qu,f(F(w)(`animationPanel.title`)),1)]),x(F(Wt),{type:`icon`,icon:`Play`,tooltip:F(w)(`animationPanel.preview`),"tooltip-placement":`bottom`,"aria-label":F(w)(`animationPanel.preview`),onClick:r[0]||(r[0]=e=>a(`preview`))},null,8,[`tooltip`,`aria-label`]),x(F(Wt),{type:`icon`,icon:`Close`,tooltip:F(w)(`topBar.close`),"tooltip-placement":`bottom`,"aria-label":F(w)(`topBar.close`),onClick:r[1]||(r[1]=e=>a(`close`))},null,8,[`tooltip`,`aria-label`])]),v(`div`,Ju,[v(`section`,{class:t([`section`,{"with-border":rd}])},[D.value.length?(E(),b(F(re),{key:0,modelValue:R.value,"onUpdate:modelValue":r[4]||(r[4]=e=>R.value=e),class:`animation-list`,"chosen-class":`dragging`,"ghost-class":`dragging-holder`,"force-fallback":!0,animation:200,disabled:!F(p),onStart:ee,onEnd:ne},{default:T(()=>[(E(!0),u(n,null,V(D.value,(e,t)=>(E(),u(`div`,{key:t,class:`animation-item`,onMouseenter:t=>ie(e.elementId),onMouseleave:r[3]||(r[3]=e=>ae())},[v(`div`,{class:`animation-item-header`,onClick:e=>void 0},[v(`div`,Zu,f(t+1),1),v(`div`,Qu,[v(`div`,$u,[v(`span`,ed,f(P(e.effect)),1),l(` `+f(N(e.effect))+` · `+f(I(e.trigger)),1)]),v(`div`,td,f(M(e.elementId)),1)]),v(`div`,{class:`animation-item-actions`,onClick:r[2]||(r[2]=U(()=>{},[`stop`]))},[x(F(Wt),{type:`icon`,size:`small`,icon:`Delete`,tooltip:F(w)(`animationPanel.delete`),"tooltip-placement":`top-right`,"aria-label":F(w)(`animationPanel.delete`),onClick:e=>z(t)},null,8,[`tooltip`,`aria-label`,`onClick`])])],8,Xu),o(``,!0)],40,Yu))),128))]),_:1},8,[`modelValue`,`disabled`])):(E(),u(`div`,nd,f(F(w)(`animationPanel.empty`)),1))],2),o(``,!0)])]))}}),[[`__scopeId`,`data-v-87fff02f`]]),ad=De(()=>{let{currentPage:e,currentElements:t,pageOrder:n,currentPageId:r,moveElement:i}=Z(),{selectedElementIds:a,selectedSlideIds:o,handleElementId:s,creatingElement:c,focusArea:l,pushUndo:u,isEditable:d}=Q();function f(e){let t=n.value.indexOf(r.value??``),i=n.value[t+e];i&&(r.value=i,o.value=[i],a.value=[],s.value=null)}function p(t,n){if(!d.value||!e.value||a.value.length===0)return!1;u();let r=e.value.pageId;for(let e of a.value)i(r,e,t,n);return!0}function m(e){(e===`up`?p(0,-1):e===`down`?p(0,1):p(e===`left`?-1:1,0))||(e===`up`&&f(-1),e===`down`&&f(1))}function h(){if(l.value!==`editor`)return;let e=t.value.map(e=>e.elementId);a.value=e,s.value=e[0]??null}function g(){let e=d.value&&c.value!==void 0,t=a.value.length>0||s.value!==null;return!e&&!t?!1:(e&&(c.value=void 0),a.value=[],s.value=null,!0)}return On(`editor.arrowUp`,()=>m(`up`)),On(`editor.arrowDown`,()=>m(`down`)),On(`editor.arrowLeft`,()=>m(`left`)),On(`editor.arrowRight`,()=>m(`right`)),On(`element.selectAll`,h),On(`editor.clearSelection`,g),{handleArrow:m,selectAllElements:h,clearSelection:g}}),od={C:`C`,X:`X`,V:`V`,Z:`Z`,Y:`Y`,A:`A`,G:`G`,L:`L`,F:`F`,D:`D`,B:`B`,P:`P`,O:`O`,R:`R`,T:`T`,S:`S`,MINUS:`-`,EQUAL:`=`,DIGIT_0:`0`,DELETE:`DELETE`,UP:`ARROWUP`,DOWN:`ARROWDOWN`,LEFT:`ARROWLEFT`,RIGHT:`ARROWRIGHT`,ENTER:`ENTER`,SPACE:` `,TAB:`TAB`,BACKSPACE:`BACKSPACE`,ESC:`ESCAPE`,PAGEUP:`PAGEUP`,PAGEDOWN:`PAGEDOWN`,F5:`F5`,F12:`F12`},sd=[{key:od.Z,ctrl:!0,scope:`global`,action:`editor.undo`,preventDefault:!0},{key:od.Z,ctrl:!0,shift:!0,scope:`global`,action:`editor.redo`,preventDefault:!0},{key:od.Y,ctrl:!0,scope:`global`,action:`editor.redo`,preventDefault:!0},{key:od.S,ctrl:!0,scope:`global`,action:`editor.save`,preventDefault:!0},{key:od.UP,scope:`global`,action:`editor.arrowUp`,preventDefault:!0},{key:od.DOWN,scope:`global`,action:`editor.arrowDown`,preventDefault:!0},{key:od.LEFT,scope:`global`,action:`editor.arrowLeft`,preventDefault:!0},{key:od.RIGHT,scope:`global`,action:`editor.arrowRight`,preventDefault:!0},{key:od.C,ctrl:!0,scope:`editor`,action:`element.copy`,preventDefault:!0},{key:od.X,ctrl:!0,scope:`editor`,action:`element.cut`,preventDefault:!0},{key:od.A,ctrl:!0,scope:`editor`,action:`element.selectAll`,preventDefault:!0},{key:od.DELETE,scope:`editor`,action:`element.delete`},{key:od.BACKSPACE,scope:`editor`,action:`element.delete`},{key:od.UP,scope:`editor`,action:`editor.arrowUp`,preventDefault:!0},{key:od.DOWN,scope:`editor`,action:`editor.arrowDown`,preventDefault:!0},{key:od.LEFT,scope:`editor`,action:`editor.arrowLeft`,preventDefault:!0},{key:od.RIGHT,scope:`editor`,action:`editor.arrowRight`,preventDefault:!0},{key:od.ESC,scope:`editor`,action:`editor.clearSelection`,preventDefault:!0},{key:od.PAGEUP,scope:`editor`,action:`slide.prev`},{key:od.PAGEDOWN,scope:`editor`,action:`slide.next`},{key:od.C,ctrl:!0,scope:`sidebar`,action:`slide.copy`,preventDefault:!0},{key:od.X,ctrl:!0,scope:`sidebar`,action:`slide.cut`,preventDefault:!0},{key:od.V,ctrl:!0,scope:`sidebar`,action:`slide.paste`,preventDefault:!0},{key:od.A,ctrl:!0,scope:`sidebar`,action:`slide.selectAll`,preventDefault:!0},{key:od.DELETE,scope:`sidebar`,action:`slide.delete`},{key:od.BACKSPACE,scope:`sidebar`,action:`slide.delete`},{key:od.UP,scope:`sidebar`,action:`slide.prev`,preventDefault:!0},{key:od.DOWN,scope:`sidebar`,action:`slide.next`,preventDefault:!0},{key:od.LEFT,scope:`sidebar`,action:`slide.prev`,preventDefault:!0},{key:od.RIGHT,scope:`sidebar`,action:`slide.next`,preventDefault:!0},{key:od.PAGEUP,scope:`sidebar`,action:`slide.prev`,preventDefault:!0},{key:od.PAGEDOWN,scope:`sidebar`,action:`slide.next`,preventDefault:!0}],cd={capture:!0,passive:!1},ld=new Set([`+`,`=`,`-`,`_`,`0`]),ud=new Set([`Equal`,`Minus`,`Digit0`,`NumpadAdd`,`NumpadSubtract`,`Numpad0`]);function dd(e,t){let n=e.ctrlKey||e.metaKey;return!!t.ctrl!==n||!!t.shift!==e.shiftKey||!!t.alt!==e.altKey?!1:e.key.toUpperCase()===t.key}function fd(e){return e instanceof HTMLElement?e.isContentEditable?!0:[`INPUT`,`TEXTAREA`,`SELECT`].includes(e.tagName):!1}function pd(e){return e.key===od.SPACE||e.code===`Space`}function md(e){return e.key.toUpperCase()===od.ESC}function hd(e){return e.key.toUpperCase()===od.F12}function gd(e){return!e.ctrlKey&&!e.metaKey?!1:ld.has(e.key)||ud.has(e.code)}function _d(e){return e.ctrlKey||e.metaKey}function vd(e={}){let{disableHotkeys:t,focusArea:n,spaceKeyState:r}=Q(),i=(t,n=!1)=>{if(!md(t)||!n&&t.defaultPrevented)return;let r=e.onUnhandledEscape?.();r===void 0||r===!1||t.preventDefault()},a=e=>{if(gd(e)){e.preventDefault();return}if(hd(e)){e.preventDefault();return}if(!t.value&&!fd(e.target)&&pd(e)){e.preventDefault(),r.value=!0;return}if(t.value){i(e);return}let a=n.value,o=sd.find(t=>t.scope===a&&dd(e,t)),s=sd.find(t=>t.scope===`global`&&dd(e,t)),c=o??s;if(!c){i(e);return}let l=kn(c.action);if(!l){i(e);return}c.preventDefault&&e.preventDefault(),l()===!1&&i(e,!0)},o=e=>{pd(e)&&(r.value=!1)},s=e=>{_d(e)&&e.preventDefault()},c=()=>{r.value=!1};H(t,e=>{e&&c()}),ee(()=>document.addEventListener(`keydown`,a)),ee(()=>document.addEventListener(`keyup`,o)),ee(()=>document.addEventListener(`wheel`,s,cd)),ee(()=>window.addEventListener(`blur`,c)),B(()=>document.removeEventListener(`keydown`,a)),B(()=>document.removeEventListener(`keyup`,o)),B(()=>document.removeEventListener(`wheel`,s,cd)),B(()=>window.removeEventListener(`blur`,c))}var yd={class:`notes-splitter-affordance`},bd={class:`notes-splitter-tooltip`},xd=[`value`,`disabled`,`placeholder`],Sd=q(S({__name:`NotePanel`,props:{notes:{}},emits:[`update:notes`,`fit-screen`],setup(e,{emit:n}){let{t:r}=J(),i=e,a=n,{disableHotkeys:o,isEditable:s,notesHeight:c,isNotesDragging:l,isNotesCollapsed:p,isNotesCollapseTransitioning:m,notesDisplayHeight:h,notesMaxHeight:y,notesDefaultHeight:b,notesDragClickThreshold:S,pushUndo:C}=Q(),D=e=>{o.value=e},O=_(),k=null,A=0,M=_(i.notes),N=_(!1);H(()=>i.notes,e=>{M.value=e}),j(O,()=>a(`fit-screen`));let P=e=>{let t=e.scrollHeight-e.clientHeight;if(t<=0)return;let n=Math.min(b,y.value),r=O.value?.clientHeight??h.value,i=Math.min(r+t,n);i<=c.value||(c.value=i)},I=()=>{s.value&&M.value!==i.notes&&(N.value||(C(),N.value=!0),a(`update:notes`,M.value))},L=e=>{if(!s.value)return;let t=e.target;M.value=t.value,P(t),I()},R=()=>{D(!1),I(),N.value=!1},ee=e=>{k=e.clientY,A=c.value},te=e=>{let t=k===null?0:Math.abs(e.clientY-k),n=Math.abs(c.value-A);k=null,!(t>S||n>S)&&p.value&&(c.value=b)};return w(()=>{I()}),(e,n)=>(E(),u(`div`,{ref_key:`speakerNotesRef`,ref:O,class:t([`speaker-notes`,{dragging:F(l),transitioning:F(m),hide:F(p)}]),style:d({height:`${F(h)}px`})},[x(Rn,{class:`notes-splitter`,dir:`y`,size:4,value:F(c),"onUpdate:value":n[1]||(n[1]=e=>g(c)?c.value=e:null),dragging:F(l),"onUpdate:dragging":n[2]||(n[2]=e=>g(l)?l.value=e:null),min:0,max:F(y),calc:e=>-e},{default:T(()=>[v(`div`,{class:`notes-splitter-handler`,onMousedown:ee,onClick:te,onDblclick:n[0]||(n[0]=e=>c.value=0)},[v(`span`,yd,[v(`span`,bd,f(F(r)(`notes.show`)),1)])],32)]),_:1},8,[`value`,`dragging`,`max`,`calc`]),v(`textarea`,{class:t([`notes-content`,{disabled:!F(s)}]),value:M.value,disabled:!F(s),onFocus:n[3]||(n[3]=e=>D(!0)),onInput:L,onBlur:R,placeholder:F(r)(`notes.placeholder`)},null,42,xd)],6))}}),[[`__scopeId`,`data-v-3b014573`]]),Cd=void 0,wd=300,Td=200,Ed=300,Dd=(t={})=>{let n=e(),{t:r,locale:i}=J(),a=Ut(),{pageOrder:o,currentPageId:c,exportPPTD:l,setCurrentPage:u}=Z(),{collapsed:d,notesHeight:f,notesDefaultHeight:p,isEditable:m,sidebarCollapsed:h}=Q(),g=_(null),v=s(()=>!!g.value),y=null,b=null,x=null,S=null,C=null,T=``,E=!1,D=!1,O=!1,k=!1,A=()=>{let e=c.value;if(!e)return null;let t=o.value.indexOf(e);return t===-1?null:{pageId:e,index:t}},j=()=>window.PresentationRequest,M=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{return null}return typeof e==`object`&&e?e:null},N=e=>{if(b&&b.state!==`closed`&&b.state!==`terminated`){try{b.send(JSON.stringify(e))}catch{}return}y?.postMessage(e,window.location.origin)},P=()=>JSON.stringify(l()),F=e=>JSON.parse(e),I=()=>{if(!g.value)return;let e=A();if(!e)return;let t=P();T=t,N({type:`snapshot`,source:`editor`,sessionId:g.value,pptd:F(t),page:e}),E=!0},L=e=>{g.value&&e!==T&&(T=e,N({type:`content-sync`,source:`editor`,sessionId:g.value,pptd:F(e)}))},R=()=>{if(!g.value)return;let e=A();e&&N({type:`page-change`,source:`editor`,sessionId:g.value,page:e})},te=()=>{S&&(clearTimeout(S),S=null)},ne=()=>{C&&(clearTimeout(C),C=null)},z=e=>{g.value&&E&&e!==T&&(ne(),C=setTimeout(()=>{C=null,L(e)},wd))},B=(e={})=>{let{notifyPresenter:t=!1,closeWindow:n=!1}=e;if(t&&g.value&&N({type:`close`,source:`editor`,sessionId:g.value}),te(),ne(),b&&(b.removeEventListener(`message`,pe),b.removeEventListener(`close`,me),b.removeEventListener(`terminate`,me)),x&&(clearInterval(x),x=null),n&&y&&!y.closed&&y.close(),n&&b&&b.state!==`closed`&&b.state!==`terminated`)try{b.terminate()}catch{b.close()}y=null,b=null,g.value=null,T=``,E=!1,D=!1,O=!1,k=!1},re=e=>{let t=o.value.includes(e.pageId)?e.pageId:o.value[e.index];!t||t===c.value||u(t)},V=()=>{q(!1,`connect_failed`),B({closeWindow:!0}),U(),a.error(r(`presenter.connectFailed`))},ie=()=>{if(!(!y||y.closed))try{let{left:e,top:t}=Zt();y.resizeTo(420,240),y.moveTo(e,t)}catch{}},ae=e=>{if(!y||y.closed)return!1;try{return y.location.href=e,!0}catch{return!1}},oe=()=>{!y||y.closed||(ie(),y.focus())},se=()=>{if(!y||y.closed)return!1;try{let{outerWidth:e,outerHeight:t}=y;return!e||!t?!0:e<=660&&t<=480}catch{return!0}},U=async()=>{try{let e=await he(`toggleFullScreen`,!1);if(typeof e!=`boolean`)return;d.value=!e,t.fitToScreen?.()}catch{}},W=(e=`open_failed`)=>{q(!1,e),B({closeWindow:!0}),U(),a.error(r(`presenter.openFailed`))},ce=async e=>(await xe(Ed),g.value!==e||!y||y.closed||!se()?!1:(k=!0,ue(),O&&!E&&I(),!0)),G=(e,t)=>{if(g.value!==t){try{e.terminate()}catch{e.close()}return}b=e,b.addEventListener(`message`,pe),b.addEventListener(`close`,me),b.addEventListener(`terminate`,me),k=!0,ue(),f.value=p,le(t),S=setTimeout(V,3e3)},K=(e,t)=>{let n=j();if(!n)return!1;try{new n([e]).start().then(e=>{G(e,t)}).catch(()=>{g.value===t&&W(`presentation_api_failed`)})}catch{return!1}return!0},le=async(e,n=!1)=>{try{let n=await he(`toggleFullScreen`,!0);if(g.value!==e)return;typeof n==`boolean`&&(d.value=!1,h.value=!1,t.fitToScreen?.())}catch{}n&&(await xe(Td),g.value===e&&oe())},q=(e,t)=>{D||(D=!0,Y(`msh_nppt_screening`,{type:`window`,is_success:e,...t?{error_reason:t}:{}}))},ue=()=>{!O||!k||q(!0)},de=e=>{if(!(!g.value||e.sessionId!==g.value)&&e.source===`presenter`)switch(e.type){case`presenter-ready`:te(),O=!0,ue(),k&&!E&&I();break;case`page-change`:re(e.page);break;case`connect-failed`:V();break;case`close`:B();break}},fe=e=>{e.origin===window.location.origin&&(y&&e.source!==y||de(e.data))},pe=e=>{let t=M(e.data);t&&de(t)},me=()=>{B()};return H(c,(e,t)=>{!g.value||e===t||R()}),H(()=>g.value?P():``,e=>{e&&z(e)},{flush:`post`}),ee(()=>{window.addEventListener(`message`,fe)}),w(()=>{window.removeEventListener(`message`,fe),B({notifyPresenter:!0})}),{isPresenterMode:v,handleWindowPresenter:async e=>{if(!m.value)return!1;B({notifyPresenter:!0});let t=Ee(8),o=n.resolve({name:`Presenter`,query:{sessionId:t,lang:i.value,locale:i.value}}),s=new URL(o.href,window.location.href).href;if(g.value=t,Cd===`presentationAPI`)return K(s,t)?!0:(q(!1,`presentation_api_unavailable`),B(),a.error(r(`presenter.connectFailed`)),!1);let c=e!==void 0;if(y=c?e:Qt(s),!y)return W(),!1;if(c){if(await U(),await xe(Td),g.value!==t)return!1;if(!y||y.closed)return W(),!1;if(f.value=p,await le(t),await xe(Td),g.value!==t)return!1;if(!y||y.closed)return W(),!1}if(c&&!ae(s))return W(),!1;oe();let l=await ce(t);return g.value===t?l?(O||(S=setTimeout(V,3e3)),x=setInterval(()=>{y?.closed&&B()},500),f.value=p,c?(oe(),!0):(await le(t,!0),!0)):(W(`popup_downgraded`),!1):!1},closeWindowPresenter:()=>{B({notifyPresenter:!0,closeWindow:!0})}}},Od=100,kd=400;function Ad(e,t){let n=0,{pause:r,resume:a}=h(()=>{let i=e();if(!i){r();return}if(dt(i)){r(),t();return}if(i.states.includes(`started`)){n=Date.now();return}Date.now()-n>=kd&&yt(i)},Od,{immediate:!1});H(e,e=>{r(),e&&(n=Date.now(),yt(e),a())}),i(r)}var jd={class:`editor-app`},Md={class:`editor-content`},Nd={key:0,class:`feedback-snackbar-wrap`},Pd=q(S({__name:`Editor`,setup(e){let{meta:n,originalFSJSON:r,theme:i,pageOrder:c,currentPageId:l,currentPage:f,setCurrentPage:p,updateTheme:m,exportFSJSON:h,updatePageNotes:g,saveVersion:y}=Z(),{save:S}=ge();ad();let{setPPTDTitle:C}=en(),{close:w,toggleFullScreen:D}=_e(),{functional:O}=ve(),{disableHotkeys:k,collapsed:A,pushUndo:j,undo:M,redo:N,rightPanelType:P,diffFSJSON:I,isTextEditing:L,isNotesDragging:R,isNotesCollapsed:ne,isNotesCollapseTransitioning:z,notesDisplayHeight:B,notesCollapsedHandleSpace:re,isEditable:V,isCreate:ae,openThemePanel:oe,sidebarCollapsed:U}=Q(),ce=_(!1),G=_(0),K=_(!1),le=_(),q=_(),{isAnnotationMode:de}=ue(),fe=s(()=>c.value.indexOf(l.value??``)),pe=s(()=>f.value?.notes??``),me=s(()=>O.value.feedback),ye=s(()=>({bottom:ne.value?`${re}px`:`${B.value+24}px`})),be=s(()=>I.value?.originalFSJSON??r.value),xe=s(()=>I.value?.currentFSJSON??h()),Se=async()=>{let e=A.value;await D(e),Y(`msh_nppt_full_screen`,{action:e,from:`click`}),q.value?.fitToScreen?.()},J=()=>P.value===`theme`||P.value===`animation`?(P.value=null,!0):P.value!==null||ce.value||L.value||A.value?!1:(D(!1).then(()=>{Y(`msh_nppt_full_screen`,{action:!1,from:`esc`}),q.value?.fitToScreen?.()}),!0),Ce=()=>{O.value.feedback&&(Y(`msh_nppt_feedback_click`,{}),he(`showFeedback`))},we=()=>{Y(`msh_nppt_close_click`,{}),w()};te(window,`blur`,()=>{S(`blur`,{immediate:!0})});let Te=e=>{G.value=e??fe.value,ce.value=!0},{isPresenterMode:Ee,handleWindowPresenter:De,closeWindowPresenter:Oe}=Dd({fitToScreen:()=>q.value?.fitToScreen?.()}),ke=async(e,t)=>{V.value&&(p(e.pageId),await De(t),ce.value=!1)},Ae=e=>{V.value&&(j(),m(e))},X=()=>{I.value=null,P.value=`diff`},je=()=>{oe()},Me=()=>{P.value=null,I.value=null,Pe()},Ne=a(null),Pe=()=>{Ne.value=null},Fe=()=>{let e=f.value?.animations;!e?.length||!V.value||(Pe(),Ne.value=ie(Dt(e)))};Ad(()=>Ne.value,Pe),H(l,Pe),H(y,Pe);let Ie=()=>{K.value=!1},Le=e=>{V.value&&l.value&&g(l.value,e)};return vd({onUnhandledEscape:J}),On(`editor.undo`,()=>M()),On(`editor.redo`,()=>N()),On(`editor.save`,()=>S(`button`)),H([ae,me],([e,t])=>{K.value=e&&t},{immediate:!0}),H(()=>n.value.title,e=>C(e),{immediate:!0}),se(()=>{k.value=P.value!==null||ce.value||L.value||de.value}),W&&(U.value=!0),ee(()=>{Y(`msh_nppt_frame_show_end`,{is_success:!0},!0)}),(e,n)=>(E(),u(`div`,jd,[x(yn,{class:`top-bar`,"is-presenter-mode":F(Ee),onShowDiff:X,onShowThemeEditor:je,onPresent:n[0]||(n[0]=e=>Te(0)),onPresenter:F(De),onExitPresenter:F(Oe),onToggleFullScreen:Se,onFeedback:Ce,onClose:we},null,8,[`is-presenter-mode`,`onPresenter`,`onExitPresenter`]),v(`div`,Md,[x(zn,{class:`side-bar`,onPresent:Te}),v(`div`,{ref_key:`editorContainerRef`,ref:le,class:`editor-container`},[x(Xi,{class:`editor-bar`,onZoomIn:n[1]||(n[1]=e=>q.value?.throttledZoomIn?.()),onZoomOut:n[2]||(n[2]=e=>q.value?.throttledZoomOut?.()),onFitScreen:n[3]||(n[3]=e=>q.value?.fitToScreen?.()),onSetScale:n[4]||(n[4]=e=>q.value?.setCanvasScale?.(e))}),v(`div`,{class:t([`canvas-workspace`,{"notes-collapsed":F(ne),"notes-dragging":F(R),"notes-transitioning":F(z),"is-annotation-mode":F(de)}])},[v(`div`,{class:`toolbar-wrap`,style:d(ye.value)},[x(Ui)],4),x(Rl,{ref_key:`canvasRef`,ref:q,class:`canvas`,"animation-session":Ne.value,onPresent:n[5]||(n[5]=e=>Te())},null,8,[`animation-session`]),x(Sd,{notes:pe.value,"onUpdate:notes":Le,onFitScreen:n[6]||(n[6]=e=>q.value?.fitToScreen?.())},null,8,[`notes`])],2)],512),x(Qi,null,{theme:T(()=>[x(Uu,{theme:F(i),onClose:Me,onApply:Ae},null,8,[`theme`])]),animation:T(()=>[x(id,{onClose:Me,onPreview:Fe})]),diff:T(()=>[F(null)?(E(),b(F(null),{key:0,"original-f-s-j-s-o-n":be.value,"current-f-s-j-s-o-n":xe.value,onClose:Me},null,8,[`original-f-s-j-s-o-n`,`current-f-s-j-s-o-n`])):o(``,!0)]),_:1})]),F(ae)&&F(O).feedback&&K.value?(E(),u(`div`,Nd,[x(aa,{onClose:Ie})])):o(``,!0),ce.value?(E(),b($t,{key:1,"start-index":G.value,"presenter-entry":F(O).present&&!F(Ee),onExit:n[7]||(n[7]=e=>ce.value=!1),onPresenter:ke},null,8,[`start-index`,`presenter-entry`])):o(``,!0)]))}}),[[`__scopeId`,`data-v-ddddc63d`]]);export{Pd as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Editor-legacy-CXXJZDfa.js b/editor/neo-ppt/assets/Editor-legacy-CXXJZDfa.js new file mode 100644 index 0000000..3d5c3c3 --- /dev/null +++ b/editor/neo-ppt/assets/Editor-legacy-CXXJZDfa.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./preload-helper-legacy-CKCAnWGV.js","./common-utils-legacy-BUVwbO7W.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./useMessage-legacy-BwPIj8SG.js","./index-legacy-Ce-qKpT_.js","./Tabs-legacy-CXU8gu0c.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./prosemirror-legacy-CigNWj7m.js","./faIcons-legacy-XZxTRPD2.js","./dom-legacy-D-syBzLK.js","./menuExclusive-legacy-CBHfJWDM.js","./PopoverMenu-legacy-CeHE3aHd.js","./SelectMenu-legacy-D9yVQIy2.js","./Screen-legacy-BPLZWaTX.js","./usePPTDTitle-legacy-BtadEyXI.js"],function(e,t){var a,o,n,l,i,r,s,d,u,c,p,v,f,m,h,g,b,x,y,w,k,S,_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,Al,Fl,$l,Dl,Nl,Rl,Ul,jl,Ol,Hl,Yl,Xl,Kl,Wl,Vl,Gl,ql,Jl,Zl,Ql,ei,ti,ai,oi,ni,li,ii,ri,si,di,ui,ci,pi,vi,fi,mi,hi,gi,bi,xi,yi,wi,ki,Si,_i,Mi,Ii,Ci,Bi,zi,Ei,Pi,Ti,Li,Ai,Fi,$i,Di,Ni,Ri,Ui,ji,Oi,Hi,Yi,Xi,Ki,Wi,Vi,Gi,qi,Ji,Zi,Qi,er,tr,ar,or,nr,lr,ir,rr,sr,dr,ur,cr,pr,vr,fr,mr,hr,gr,br,xr,yr,wr,kr,Sr,_r,Mr,Ir,Cr,Br,zr,Er,Pr,Tr,Lr,Ar,Fr,$r,Dr,Nr,Rr,Ur,jr,Or,Hr,Yr,Xr,Kr,Wr,Vr,Gr,qr,Jr,Zr,Qr,es,ts,as,os,ns,ls,is,rs,ss,ds,us,cs,ps,vs,fs,ms,hs,gs,bs,xs,ys,ws,ks,Ss,_s,Ms,Is,Cs,Bs,zs,Es,Ps,Ts,Ls,As,Fs,$s,Ds,Ns,Rs,Us,js,Os,Hs,Ys,Xs,Ks,Ws,Vs,Gs,qs,Js,Zs,Qs,ed,td,ad,od,nd,ld,id,rd,sd,dd,ud,cd,pd,vd,fd,md,hd,gd,bd,xd,yd,wd,kd,Sd,_d,Md,Id,Cd,Bd,zd,Ed,Pd,Td,Ld,Ad,Fd,$d,Dd,Nd,Rd,Ud,jd,Od,Hd,Yd,Xd,Kd,Wd,Vd,Gd,qd,Jd,Zd,Qd,eu,tu;function au(e,t){Pa.set(e,t)}function ou(){return`page/p-${Se(6)}.page`}function nu(e,t,a){return o=>{const n=document.body,l=n.style.userSelect;n.style.userSelect="none",e(o);const i=e=>t(e),r=()=>{n.style.userSelect=l,a(),window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",r)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",r)}}async function lu(e,t){let a=_n[0],o=_n[1];try{const t=await he(e);a=t.width,o=t.height}catch{}const[n,l]=t,i=o/a;return in?(a=n,o=a*i):o>l&&(o=l,a=o/i),[(n-a)/2,(l-o)/2,a,o]}function iu(e,t,a=Mn){const[o,n]=e,[l,i]=t,r=Math.min(o,l),s=Math.min(n,i),d=Math.abs(l-o),u=Math.abs(i-n);if(d<=In&&u<=In){const[e,t]=Array.isArray(a)?a:[a,a];return[r,s,e,t]}return[r,s,Math.max(d,1),Math.max(u,1)]}function ru(e,t,a=!1){const o={text:e,align:[a?"right":"left","top"]};return t?.textStyles?.body&&(o.style="$body"),o}function su(e){return{type:"solid",color:e}}function du(e,t,a={}){const{currentPage:o,pageSize:n,addElement:l,theme:i,colorList:r}=Ct(),{creatingElement:s,handleElementId:u,selectedElementIds:c,pushUndo:p}=Et(),{locale:v}=xe(),f=x(null),m=x(null),h=d(()=>{if(!f.value||!m.value)return{display:"none"};const[e,t]=f.value,[a,o]=m.value;return{left:`${Math.min(e,a)}px`,top:`${Math.min(t,o)}px`,width:`${Math.abs(a-e)}px`,height:`${Math.abs(o-t)}px`}}),g=d(()=>{if(!f.value||!m.value)return null;if("shape"!==s.value?.type||!xt(s.value?.shapeName))return null;const[e,t]=f.value,[a,o]=m.value,n=Math.min(e,a),l=Math.max(e,a),i=Math.min(t,o),r=Math.max(t,o),d=Math.max(l-n,2),u=Math.max(r-i,2);return{left:n,top:i,width:d,height:u,path:`M${e===n?0:d},${t===i?0:u} L${a===n?0:d},${o===i?0:u}`}});function b(a){if(!e.value)return[0,0];const o=e.value.getBoundingClientRect();return[(a.clientX-o.left)/t.value,(a.clientY-o.top)/t.value]}function y(e){return e&&"none"!==e?"triangle"===e?"arrow":e:null}function w(e){u.value=e,c.value=[e]}return V(s,async e=>{if("image"===e?.type&&e.src&&o.value){const t=await lu(e.src,n.value);p();const i={elementId:Se(6),elementType:"image",bounds:t,src:e.src,fit:{mode:"fill"}};l(o.value.pageId,i),w(i.elementId),a.onCreateSuccess?.("image"),s.value=void 0}}),{creatingElement:s,createStart:f,createEnd:m,selectionStyle:h,lineSelectionData:g,onCreateMouseDown:function(e){if(0!==e.button)return;e.stopPropagation();const[t,d]=b(e);f.value=[t,d],m.value=[t,d];const u=e=>{let[t,a]=b(e);if(e.ctrlKey||e.metaKey||e.shiftKey){const e=s.value,[o,n]=f.value,l=t-o,i=a-n,r=Math.abs(l),d=Math.abs(i);if("shape"===e?.type&&xt(e?.shapeName))r>d?a=n:t=o;else if("shape"===e?.type){const e=i>0&&l<0||i<0&&l>0;r>d?a=e?n-l:n+l:t=e?o-i:o+i}}m.value=[t,a]},c=()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",c),function(){const e=s.value;if(!(e&&f.value&&m.value&&o.value))return f.value=null,m.value=null,void(s.value=void 0);const[t,d]=f.value,[u,c]=m.value,h=Math.min(t,u),g=Math.min(d,c),b=Math.max(t,u),x=Math.max(d,c);p();const k=o.value.pageId,S=iu(f.value,m.value),_=r.value[0];if("text"===e.type){const e={elementId:Se(6),elementType:"text",bounds:iu(f.value,m.value,zn),content:ru(En,i.value,we(v.value))};l(k,e),w(e.elementId),a.onCreateSuccess?.("text")}else if("shape"===e.type)if(xt(e.shapeName)){const o=Math.max(b-h,2),n=Math.max(x-g,2),i=t===h?0:o,r=d===g?0:n,s=u===h?0:o,p=c===g?0:n;if("line"===e.shapeName){const t={elementId:Se(6),elementType:"line",bounds:[h,g,o,n],viewBox:[o,n],points:`${i},${r} ${s},${p}`,border:{style:"solid",color:_,width:2},arrow:e.points?[y(e.points[0]),y(e.points[1])]:void 0};l(k,t),w(t.elementId),a.onCreateSuccess?.("line")}else{const i={elementId:Se(6),elementType:"shape",bounds:[h,g,o,n],shapeName:e.shapeName,border:{style:"solid",color:_,width:2},arrow:e.points?[y(e.points[0]),y(e.points[1])]:void 0,flip:[t>u,d>c]};l(k,i),w(i.elementId),a.onCreateSuccess?.("shape")}}else{const t={elementId:Se(6),elementType:"shape",bounds:S,shapeName:e.shapeName,fill:su(_)};l(k,t),w(t.elementId),a.onCreateSuccess?.("shape")}else if("image"===e.type&&e.src){const t=200,o=150,i=(n.value[0]-t)/2,r=(n.value[1]-o)/2,s={elementId:Se(6),elementType:"image",bounds:[i,r,t,o],src:e.src,fit:{mode:"fill"}};l(k,s),w(s.elementId),a.onCreateSuccess?.("image")}f.value=null,m.value=null,s.value=void 0}()};window.addEventListener("mousemove",u),window.addEventListener("mouseup",c)},createTextAtPointer:function(e){return function(e){if(!o.value)return!1;p();const t=o.value.pageId,a={elementId:Se(6),elementType:"text",bounds:iu(e,e,zn),content:ru(En,i.value,we(v.value))};return l(t,a),w(a.elementId),!0}(b(e))}}}function uu(e){return 1!==e.length?"multiple":e[0].elementType}function cu(e){const{currentPage:t,pageSize:a,updateElement:o,reorderElement:n}=Ct(),{selectedElementIds:l,pushUndo:i,isEditable:r}=Et(),{copy:s,cut:d,paste:u,delete:c}=el(),{t:p}=xe();function v(e,n){if(!r.value)return;if(!t.value)return;i();const[l,s]=a.value,[d,u,c,p]=e.bounds;let v=d,f=u;switch(n){case"left":v=0;break;case"right":v=l-c;break;case"top":f=0;break;case"bottom":f=s-p;break;case"horizontal":v=(l-c)/2;break;case"vertical":f=(s-p)/2;break;case"center":v=(l-c)/2,f=(s-p)/2}o(t.value.pageId,e.elementId,{bounds:[v,f,c,p]})}return{createElementContextMenus:()=>{const a=e();return r.value&&t.value&&a?[{id:"element.cut",text:p("contextMenu.cut"),subText:"Ctrl + X",handler:()=>{l.value=[a.elementId],d([a])}},{id:"element.copy",text:p("contextMenu.copy"),subText:"Ctrl + C",handler:()=>{l.value=[a.elementId],s([a])}},{id:"element.paste",text:p("contextMenu.paste"),subText:"Ctrl + V",handler:()=>u()},{id:"element.delete",text:p("contextMenu.delete"),subText:"Delete",handler:()=>{l.value=[a.elementId],c([a])}},{divider:!0},{id:"element.moveUpOneLayer",text:p("contextMenu.moveUpOneLayer"),handler:()=>{i(),n(t.value.pageId,a.elementId,"up")}},{id:"element.moveDownOneLayer",text:p("contextMenu.moveDownOneLayer"),handler:()=>{i(),n(t.value.pageId,a.elementId,"down")}},{id:"element.bringToTop",text:p("contextMenu.bringToTop"),handler:()=>{i(),n(t.value.pageId,a.elementId,"top")}},{id:"element.sendToBottom",text:p("contextMenu.sendToBottom"),handler:()=>{i(),n(t.value.pageId,a.elementId,"bottom")}},{divider:!0},{id:"element.align",text:p("contextMenu.align"),children:[{id:"element.align.center",text:p("contextMenu.alignCenter"),handler:()=>v(a,"center")},{id:"element.align.horizontal",text:p("contextMenu.alignHorizontal"),handler:()=>v(a,"horizontal")},{id:"element.align.vertical",text:p("floatBar.verticallyCenter"),handler:()=>v(a,"vertical")},{id:"element.align.left",text:p("floatBar.leftAlign"),handler:()=>v(a,"left")},{id:"element.align.right",text:p("floatBar.rightAlign"),handler:()=>v(a,"right")},{id:"element.align.top",text:p("floatBar.topAlign"),handler:()=>v(a,"top")},{id:"element.align.bottom",text:p("floatBar.bottomAlign"),handler:()=>v(a,"bottom")}]}]:[]}}}function pu(e,t){return e+(t-e)/2}function vu(e){return Object.is(e,-0)?0:e}function fu(e){const t=e.map(e=>e[0]),a=e.map(e=>e[1]);return{left:Math.min(...t),right:Math.max(...t),top:Math.min(...a),bottom:Math.max(...a)}}function mu(e,t={}){const a=t.rotation??0,o=function(e,t){const[a,o,n,l]=e,i=a+n/2,r=o+l/2,s=t*Math.PI/180,d=Math.cos(s),u=Math.sin(s);return[[-n/2,-l/2],[n/2,-l/2],[n/2,l/2],[-n/2,l/2]].map(([e,t])=>[i+d*e-u*t,r+u*e+d*t])}(e,a);return{elementId:t.elementId??rl,elementType:t.elementType,aabb:fu(o),width:e[2],height:e[3],rotation:a,outline:o,sizeEligible:t.sizeEligible??(!a&&"line"!==t.elementType)}}function hu(e){return mu(e.bounds,{elementId:e.elementId,elementType:e.elementType,rotation:e.rotation??0,sizeEligible:!e.rotation&&"line"!==e.elementType})}function gu(e,t){const a=e.filter(e=>e.sizeEligible).toSorted((e,a)=>e[t]-a[t]||e.elementId.localeCompare(a.elementId)),o=[];for(const n of a){const e=n[t],a=o.at(-1);!a||Math.abs(a.value-e)>=.01?o.push({value:e,providerIds:[n.elementId]}):a.providerIds.push(n.elementId)}return o}function bu(e,t,a){const o=new Set(t),n=e.filter(e=>!o.has(e.elementId)).map(hu),l=new Map(n.map(e=>[e.elementId,e])),i=[];for(const u of n){const{left:e,right:t,top:a,bottom:o}=u.aabb,n=pu(e,t),l=pu(a,o);i.push({axis:"x",group:"edge",position:"start",value:e,providerId:u.elementId,source:"element"},{axis:"x",group:"edge",position:"end",value:t,providerId:u.elementId,source:"element"},{axis:"x",group:"center",position:"center",value:n,providerId:u.elementId,source:"element"},{axis:"y",group:"edge",position:"start",value:a,providerId:u.elementId,source:"element"},{axis:"y",group:"edge",position:"end",value:o,providerId:u.elementId,source:"element"},{axis:"y",group:"center",position:"center",value:l,providerId:u.elementId,source:"element"})}const[r,s]=a;i.push({axis:"x",group:"edge",position:"start",value:0,source:"slide"},{axis:"x",group:"edge",position:"end",value:r,source:"slide"},{axis:"x",group:"center",position:"center",value:r/2,source:"slide"},{axis:"y",group:"edge",position:"start",value:0,source:"slide"},{axis:"y",group:"edge",position:"end",value:s,source:"slide"},{axis:"y",group:"center",position:"center",value:s/2,source:"slide"});const d=(e,t)=>function(e){const t=e.toSorted((e,t)=>e.value-t.value),a=[];for(const o of t){const e=a.at(-1);!e||Math.abs(e.value-o.value)>=.01?a.push({axis:o.axis,group:o.group,value:o.value,providerIds:new Set(o.providerId?[o.providerId]:[]),slidePositions:new Set("slide"===o.source?[o.position]:[])}):(o.providerId&&e.providerIds.add(o.providerId),"slide"===o.source&&e.slidePositions.add(o.position))}return a.map(e=>({axis:e.axis,group:e.group,value:e.value,providerIds:[...e.providerIds].toSorted(),slidePositions:[...e.slidePositions]}))}(i.filter(a=>a.axis===e&&a.group===t));return{pageSize:a,geometries:n,geometryById:l,references:{x:{edge:d("x","edge"),center:d("x","center")},y:{edge:d("y","edge"),center:d("y","center")}},widthGroups:gu(n,"width"),heightGroups:gu(n,"height"),sortedByX:n.toSorted((e,t)=>e.aabb.left-t.aabb.left||e.aabb.right-t.aabb.right||e.elementId.localeCompare(t.elementId)),sortedByY:n.toSorted((e,t)=>e.aabb.top-t.aabb.top||e.aabb.bottom-t.aabb.bottom||e.elementId.localeCompare(t.elementId))}}function xu(e,t){const{left:a,right:o,top:n,bottom:l}=e.aabb;return"x"===t?[{axis:t,group:"edge",position:"start",value:a},{axis:t,group:"edge",position:"end",value:o},{axis:t,group:"center",position:"center",value:pu(a,o)}]:[{axis:t,group:"edge",position:"start",value:n},{axis:t,group:"edge",position:"end",value:l},{axis:t,group:"center",position:"center",value:pu(n,l)}]}function yu(e,t){return{id:`position-${e}-${t}`,axis:e,value:t}}function wu(e,t){const a=vu(t.value-e.value);if(Math.abs(a)>=5)return[];const o=[];if(t.providerIds.length){const n="edge"===e.group;o.push({axis:e.axis,kind:"position",source:n?"element-edge":"element-center",correction:a,providerIds:t.providerIds,positionGuides:[yu(e.axis,t.value)],measurementGuides:[],priority:n?20:10})}if(t.slidePositions.includes(e.position)){const n="edge"===e.group;o.push({axis:e.axis,kind:"position",source:n?"slide-edge":"slide-center",correction:a,providerIds:t.providerIds,positionGuides:n?[]:[yu(e.axis,t.value)],measurementGuides:[],priority:n?100:10})}return o}function ku(e,t){const a=[];for(const o of t)for(const t of e.references[o.axis][o.group])a.push(...wu(o,t));return a}function Su(e,t){return"x"===t?e.aabb.left:e.aabb.top}function _u(e,t){return"x"===t?e.aabb.right:e.aabb.bottom}function Mu(e,t){return"x"===t?e.aabb.top:e.aabb.left}function Iu(e,t){return"x"===t?e.aabb.bottom:e.aabb.right}function Cu(e,t,a){return Su(t,a)-_u(e,a)}function Bu(e,t,a){const o=Math.max(Mu(e,a),Mu(t,a)),n=Math.min(Iu(e,a),Iu(t,a));return n>=o?pu(o,n):pu(Iu(e,a),Mu(t,a))}function zu(e,t,a,o,n){const l=vu(o-Su(e,t));if(Math.abs(l)>=5||n<0)return;const i=function(e,t,a){const o="x"===t?a:0,n="y"===t?a:0;return{...e,aabb:{left:e.aabb.left+o,right:e.aabb.right+o,top:e.aabb.top+n,bottom:e.aabb.bottom+n},outline:e.outline.map(e=>[e[0]+o,e[1]+n])}}(e,t,l);if(a.some(e=>Math.min(_u(e,t),_u(i,t))-Math.max(Su(e,t),Su(i,t))>.01))return;const r=a.findIndex(e=>Su(e,t)>o),s=r<0?a.length:r,d=[...a.slice(0,s),i,...a.slice(s)];let u=s,c=s;for(;u>0&&Math.abs(Cu(d[u-1],d[u],t)-n)<.01;)u--;for(;ce.elementId!==i.elementId).map(e=>e.elementId),f=[];for(let m=0;mfunction(e,t,a){return Math.min(Iu(e,a),Iu(t,a))-Math.max(Mu(e,a),Mu(t,a))>il}(e,t,a));if(o.length<2)return[];const n=[],l=function(e,t){return _u(e,t)-Su(e,t)}(t,a),i=Su(t,a),r=o.findIndex(e=>Su(e,a)>i),s=r<0?o.length:r;return(e=>{const i=o[e],r=o[e+1];if(!i||!r)return;const s=Cu(i,r,a);if(s<0)return;const d=zu(t,a,o,Su(i,a)-s-l,s);d&&n.push(d)})(s),(e=>{const i=o[e],r=o[e+1];if(!i||!r)return;const s=Su(r,a)-_u(i,a)-l;if(s<0)return;const d=s/2,u=zu(t,a,o,_u(i,a)+d,d);u&&n.push(u)})(s-1),(e=>{const l=o[e],i=o[e+1];if(!l||!i)return;const r=Cu(l,i,a);if(r<0)return;const s=zu(t,a,o,_u(i,a)+r,r);s&&n.push(s)})(s-2),n}function Pu(e,t){const a="equal-width"===e?"x":"y";return{id:`${e}-${t.elementId}`,kind:e,axis:a,start:Su(t,a),end:_u(t,a),cross:pu(Mu(t,a),Iu(t,a))}}function Tu(e,t,a,o){const n={...e.aabb};return"x"===t&&"start"===a&&(n.left+=o),"x"===t&&"end"===a&&(n.right+=o),"y"===t&&"start"===a&&(n.top+=o),"y"===t&&"end"===a&&(n.bottom+=o),{...e,aabb:n}}function Lu(e,t,a,o){if(!t.sizeEligible)return[];const n="x"===a?e.widthGroups:e.heightGroups,l="x"===a?t.width:t.height,i="x"===a?"equal-width":"equal-height",r=[];for(const s of n){const n=s.value-l;if(Math.abs(n)>=5)continue;const d=vu("end"===o?n:-n),u=Tu(t,a,o,d),c=s.providerIds.map(t=>e.geometryById.get(t)).filter(e=>!!e);r.push({axis:a,kind:i,source:"size",correction:d,providerIds:s.providerIds,positionGuides:[],measurementGuides:[Pu(i,u),...c.map(e=>Pu(i,e))],priority:30})}return r}function Au(e,t){if(!t)return!0;const a=Math.abs(e.correction)-Math.abs(t.correction);if(Math.abs(a)>=.01)return a<0;const o="slide-edge"===e.source;return o!==("slide-edge"===t.source)?o:e.providerIds.length!==t.providerIds.length?e.providerIds.length>t.providerIds.length:e.priority>t.priority}function Fu(e){let t;for(const a of e)Au(a,t)&&(t=a);return t}function $u(e){return[...new Map(e.map(e=>[e.id,e])).values()]}function Du(e,t,a){const o=[t,a].filter(e=>!!e);if(!o.length)return{offsetX:0,offsetY:0,overlay:null};const n=[...new Set(o.flatMap(e=>e.providerIds))].map(t=>e.geometryById.get(t)).filter(e=>!!e).map(e=>({elementId:e.elementId,points:e.outline})),l={positionGuides:$u(o.flatMap(e=>e.positionGuides)),measurementGuides:$u(o.flatMap(e=>e.measurementGuides)),providerOutlines:n},i=l.positionGuides.length||l.measurementGuides.length||l.providerOutlines.length;return{offsetX:t?.correction??0,offsetY:a?.correction??0,overlay:i?l:null}}function Nu(e,t,a={}){const o=ku(e,xu(t,"x")),n=ku(e,xu(t,"y"));return!1!==a.enableSpacing&&(o.push(...Eu(e,t,"x")),n.push(...Eu(e,t,"y"))),Du(e,Fu(o),Fu(n))}function Ru(e,t,a){return{axis:t,group:"edge",position:a,value:"x"===t?"start"===a?e.aabb.left:e.aabb.right:"start"===a?e.aabb.top:e.aabb.bottom}}function Uu(e,t,a){const o=vu(a.value-t);if(Math.abs(o)>=5)return[];const n=[];if(a.providerIds.length){const t="edge"===a.group;n.push({axis:e,kind:"position",source:t?"element-edge":"element-center",correction:o,providerIds:a.providerIds,positionGuides:[yu(e,a.value)],measurementGuides:[],priority:t?20:10})}if(a.slidePositions.length){const t="edge"===a.group;n.push({axis:e,kind:"position",source:t?"slide-edge":"slide-center",correction:o,providerIds:a.providerIds,positionGuides:t?[]:[yu(e,a.value)],measurementGuides:[],priority:t?100:10})}return n}function ju(e,t,a=[]){const o=[...e.references.x.edge,...e.references.x.center].flatMap(e=>Uu("x",t.x,e)),n=[...e.references.y.edge,...e.references.y.center].flatMap(e=>Uu("y",t.y,e));for(const l of a){const e=vu(l.x-t.x);Math.abs(e)<5&&o.push({axis:"x",kind:"position",source:"point",correction:e,providerIds:[],positionGuides:[yu("x",l.x)],measurementGuides:[],priority:25});const a=vu(l.y-t.y);Math.abs(a)<5&&n.push({axis:"y",kind:"position",source:"point",correction:a,providerIds:[],positionGuides:[yu("y",l.y)],measurementGuides:[],priority:25})}return Du(e,Fu(o),Fu(n))}function Ou(e,t){return B(),p("div",ui)}function Hu(e){if(e&&$t(e))return e.slice(1)}function Yu(e){if(e){if("solid"===e.type)return Hu(e.color);if("gradient"===e.type)return e.stops.map(e=>Hu(e.color)).find(Boolean);if("image"===e.type){if("solid"===e.mask?.type)return Hu(e.mask.color);if("gradient"===e.mask?.type)return e.mask.stops.map(e=>Hu(e.color)).find(Boolean)}}}function Xu(e,t,a){return e}function Ku(e,t){return B(),p("div",es)}function Wu(e){const{x:t,y:a,width:o,height:n,rotation:l=0}=e,i=Math.sqrt(o**2+n**2)/2,r=Math.atan(n/o)*(180/Math.PI),s=t+o/2,d=a+n/2,u=(180-l-r)*Math.PI/180,c=(r-l)*Math.PI/180,p=[s+i*Math.cos(u),s+i*Math.cos(c),s-i*Math.cos(u),s-i*Math.cos(c)],v=[d-i*Math.sin(u),d-i*Math.sin(c),d+i*Math.sin(u),d+i*Math.sin(c)];return{minX:Math.min(...p),maxX:Math.max(...p),minY:Math.min(...v),maxY:Math.max(...v)}}function Vu(e,t,a,o,n,l){const i=e*n,r=t*l;return[a*i-o*r,o*i+a*r]}function Gu(e,t){const a=function(e){return Array.from(document.querySelectorAll('[data-testid="editable-element"][data-element-id]')).find(t=>t.dataset.elementId===e)}(e)?.querySelector(".pptd-table-grid");if(!a)return ms;const o=a.getBoundingClientRect().width||a.clientWidth,n=Array.from(a.querySelectorAll("tbody > tr")),l=Array.from({length:n.length},()=>0);n.forEach((e,a)=>{e.querySelectorAll("td").forEach(e=>{const i=e.querySelector(".pptd-table-cell-content"),r=getComputedStyle(e),s=i?getComputedStyle(i):void 0,d=hs(r.paddingTop)+hs(r.paddingBottom)+hs(r.borderTopWidth)+hs(r.borderBottomWidth)+hs(s?.top??"")+hs(s?.bottom??""),u=i?.getBoundingClientRect().width||i?.clientWidth,c=u&&o?Math.max(ms,u*t/o):void 0,p=(i?function(e,t,a){const o=e.querySelector(".ProseMirror")??e.querySelector(".pptd-table-cell-static-inner");if(!o)return 0;const n=a??(e.clientWidth||e.getBoundingClientRect().width),l=getComputedStyle(e),i=document.createElement("div");i.style.position="absolute",i.style.visibility="hidden",i.style.pointerEvents="none",i.style.left="-10000px",i.style.top="-10000px",i.style.width=`${n}px`,i.style.height="auto",i.style.minHeight="0",i.style.maxHeight="none",i.style.overflow="visible",i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontWeight=t.fontWeight,i.style.fontStyle=t.fontStyle,i.style.lineHeight=l.lineHeight||t.lineHeight,i.style.whiteSpace=l.whiteSpace,i.style.wordBreak=l.wordBreak,i.innerHTML=o.innerHTML||o.textContent||"",i.querySelectorAll("p").forEach(e=>{e.style.margin="0",e.style.lineHeight="inherit"}),i.querySelectorAll("ul, ol").forEach(e=>{e.style.margin="0",e.style.paddingLeft="1.5em"}),document.body.appendChild(i);const r=document.createRange();r.selectNodeContents(i);const s=Math.max(i.scrollHeight,r.getBoundingClientRect().height);return r.detach(),i.remove(),s}(i,r,c):0)+d,v=Math.max(1,Math.min(e.rowSpan||1,n.length-a));if(1===v)return void(l[a]=Math.max(l[a],p));const f=l.slice(a,a+v),m=f.reduce((e,t)=>e+t,0);if(p<=m)return;const h=p-m;f.forEach((e,t)=>{const o=m>0?e/m:1/v;l[a+t]+=h*o})})});const i=l.reduce((e,t)=>e+t,0);return Math.max(ms,Math.ceil(i))}function qu(){const{currentPage:e,currentElements:t,pageSize:a,updateElement:o}=Ct(),{handleElementId:n,selectedElementIds:l,canvasScale:i,pushUndo:r,alignmentOverlay:s,isOperating:d}=Et(),u=x(null);function c(){const e=n.value;if(e)return t.value.find(t=>t.elementId===e)}return{onScaleStart:function(o,n,p){if(!e.value)return;const v=i.value;r(),d.value=!0,s.value=null;const f=l.value;if(f.length>1){const e=function(){const e=l.value;if(e.length<=1)return null;let a=1/0,o=-1/0,n=1/0,i=-1/0;for(const l of t.value){if(!e.includes(l.elementId))continue;const[t,r,s,d]=l.bounds,u=Wu({x:t,y:r,width:s,height:d,rotation:l.rotation});a=Math.min(a,u.minX),o=Math.max(o,u.maxX),n=Math.min(n,u.minY),i=Math.max(i,u.maxY)}return a===1/0?null:{minX:a,maxX:o,minY:n,maxY:i}}();if(!e)return;const a=new Map;for(const o of t.value)f.includes(o.elementId)&&a.set(o.elementId,[...o.bounds]);u.value={direction:o,startX:n/v,startY:p/v,rangeMinX:e.minX,rangeMaxX:e.maxX,rangeMinY:e.minY,rangeMaxY:e.maxY,multiInitialBounds:a},Ie("msh_nppt_element_edited",{type:"multiple",edit_type:"scale"},["type","edit_type"])}else{const e=c();if(!e)return;const l=e.rotation??0;let i;l||(i=bu(t.value,[e.elementId],[...a.value])),u.value={direction:o,startX:n/v,startY:p/v,singleInitialBounds:[...e.bounds],singleRotation:l,singleFlipX:e.flip?.[0]?-1:1,singleFlipY:e.flip?.[1]?-1:1,alignmentContext:i},Ie("msh_nppt_element_edited",{type:e.elementType,edit_type:"scale"},["type","edit_type"])}},onScale:function(t,a,n=!1){if(!u.value||!e.value)return;const l=i.value;let r=t/l-u.value.startX,d=a/l-u.value.startY;const{direction:p}=u.value;if(u.value.multiInitialBounds){const{rangeMinX:t,rangeMaxX:a,rangeMinY:l,rangeMaxY:i,multiInitialBounds:s}=u.value;if(void 0===t||void 0===a||void 0===l||void 0===i)return;const c=a-t,v=i-l;if(n&&v>0){const e=c/v,t="nw"===p||"se"===p?1:-1;"n"!==p&&"s"!==p&&"e"!==p&&"w"!==p&&(Math.abs(r)>Math.abs(d*e)?d=t*r/e:r=t*d*e)}let f=t,m=a,h=l,g=i;p.includes("e")&&(m+=r),p.includes("w")&&(f+=r),p.includes("s")&&(g+=d),p.includes("n")&&(h+=d);let b=c>0?(m-f)/c:1,x=v>0?(g-h)/v:1;b<=0&&(b=.001),x<=0&&(x=.001);for(const[n,r]of s){const[a,i,s,d]=r,u=f+(a-t)*b,c=h+(i-l)*x,p=s*b,v=d*x;o(e.value.pageId,n,{bounds:[u,c,p,v]})}}else if(u.value.singleInitialBounds){const t=c();if(!t)return;const[a,l,i,v]=u.value.singleInitialBounds,f=u.value.singleRotation??0,m=u.value.singleFlipX??1,h=u.value.singleFlipY??1,g=a+i/2,b=l+v/2,x=f*Math.PI/180,y=Math.cos(x),w=Math.sin(x),k=vs[p],S=fs[p];let _=i,M=v,I=g,C=b;if(0!==k){const[e,t]=Vu(k,0,y,w,m,h),a=r*e+d*t;_=Math.max(ms,i+a);const o=_-i;I+=o/2*e,C+=o/2*t}if(0!==S){const[e,t]=Vu(0,S,y,w,m,h),a=r*e+d*t;M=Math.max(ms,v+a);const o=M-v;I+=o/2*e,C+=o/2*t}if(n&&0!==k&&0!==S){const e=i/v,t=_/e,a=M*e;if(Math.abs(t-M)=c)return{x:a,y:o,w:n,h:l};const p=r*Math.PI/180,[v,f]=Vu(0,u,Math.cos(p),Math.sin(p),s,d),m=c-l;return{x:a+n/2+m/2*v-n/2,y:o+l/2+m/2*f-c/2,w:n,h:c}}(t.elementId,p,B,z,_,M,v,f,m,h);e.x===B&&e.y===z&&e.h===M||(E=null),B=e.x,z=e.y,_=e.w,M=e.h}s.value=E,o(e.value.pageId,t.elementId,{bounds:[B,z,_,M]})}},onScaleEnd:function(){u.value=null,s.value=null,d.value=!1}}}function Ju(e){const{currentPage:t,currentElements:a,updateElement:o}=Ct(),{handleElementId:n,canvasScale:l,pushUndo:i,isOperating:r}=Et(),s=x(null);function d(){const e=n.value;if(e)return a.value.find(t=>t.elementId===e)}function u(a,n){if(!s.value)return;const i=d();if(!i||!t.value)return;const[r,u]=function(t,a){const o=l.value,n=e.value?.getBoundingClientRect();return n?[(t-n.left)/o,(a-n.top)/o]:[t/o,a/o]}(a,n),c=r-s.value.centerX,p=u-s.value.centerY,v=s.value.flipY?-c:c,f=s.value.flipY?p:-p,m=function(e){const t=((e+180)%360+360)%360-180,a=Math.round(t/bs)*bs;return Math.abs(t-a)<=gs?a:e}(180*Math.atan2(v,f)/Math.PI);o(t.value.pageId,i.elementId,{rotation:m})}return{onRotateStart:function(e,a){const o=d();if(!o||!t.value)return;i(),r.value=!0;const[n,l,c,p]=o.bounds;s.value={centerX:n+c/2,centerY:l+p/2,flipY:!!o.flip?.[1]},Ie("msh_nppt_element_edited",{type:o.elementType,edit_type:"rotate"},["type","edit_type"]),u(e,a)},onRotate:u,onRotateEnd:function(){s.value=null,r.value=!1}}}function Zu(){const{currentPage:e,currentElements:t,updateElement:a}=Ct(),{handleElementId:o,canvasScale:n,pushUndo:l,isOperating:i}=Et(),r=x(null);return{onKeypointStart:function(a,s,d){const u=function(){const e=o.value;if(e)return t.value.find(t=>t.elementId===e)}();if(!u||!e.value)return;if("shape"!==u.elementType&&"image"!==u.elementType)return;const c=qe(u.shapeName,u.adjustments);if(!c||0===(c.adjustmentNames?.length??0))return;if(!c.keypointPositions)return;l(),i.value=!0;const p=n.value,v=u.adjustments??c.defaultValue??[],[f,m]=c.range?.[a]??[0,1e5],[,,h,g]=u.bounds;let[b,x]=Ge(c,h,g,v,a);0===b&&0===x&&(b=1),r.value={index:a,startX:s/p,startY:d/p,elementId:u.elementId,originAdjustments:[...v],min:f,max:m,dirX:b,dirY:x},Ie("msh_nppt_element_edited",{type:u.elementType,edit_type:"adjustment"},["type","edit_type"])},onKeypointMove:function(o,l){if(!r.value||!e.value)return;const i=n.value,{index:s,startX:d,startY:u,elementId:c,originAdjustments:p,min:v,max:f,dirX:m,dirY:h}=r.value,g=t.value.find(e=>e.elementId===c);if(!g)return;if("shape"!==g.elementType&&"image"!==g.elementType)return;const b=o/i-d,x=l/i-u,y=g.rotation??0,w=Math.PI*y/180,k=Math.cos(w),S=Math.sin(w),_=((k*b+S*x)*(g.flip?.[0]?-1:1)*m+(k*x-S*b)*(g.flip?.[1]?-1:1)*h)/(m*m+h*h);let M=(p[s]??0)+_;Mf&&(M=f);const I=[...p];I[s]=M,a(e.value.pageId,c,{adjustments:I})},onKeypointEnd:function(){r.value=null,i.value=!1}}}function Qu(e,t){const a=e.left,o=e.left+e.width,n=e.top,l=e.top+e.height,[i,r,s,d]=t.bounds,{minX:u,maxX:c,minY:p,maxY:v}=Wu({x:i,y:r,width:s,height:d,rotation:t.rotation});return u>a&&cn&&v{if(!function(e){return e.key.toUpperCase()===jd.ESC}(t))return;if(!a&&t.defaultPrevented)return;const o=e.onUnhandledEscape?.();void 0!==o&&!1!==o&&t.preventDefault()},l=e=>{if(function(e){return!(!e.ctrlKey&&!e.metaKey)&&(Yd.has(e.key)||Xd.has(e.code))}(e))return void e.preventDefault();if(function(e){return e.key.toUpperCase()===jd.F12}(e))return void e.preventDefault();if(!t.value&&!((l=e.target)instanceof HTMLElement&&(l.isContentEditable||["INPUT","TEXTAREA","SELECT"].includes(l.tagName)))&&tc(e))return e.preventDefault(),void(o.value=!0);var l;if(t.value)return void n(e);const i=a.value,r=Od.find(t=>t.scope===i&&ec(e,t)),s=Od.find(t=>"global"===t.scope&&ec(e,t)),d=r??s;if(!d)return void n(e);const u=(c=d.action,Pa.get(c));var c;u?(d.preventDefault&&e.preventDefault(),!1===u()&&n(e,!0)):n(e)},i=e=>{tc(e)&&(o.value=!1)},r=e=>{(function(e){return e.ctrlKey||e.metaKey})(e)&&e.preventDefault()},s=()=>{o.value=!1};V(t,e=>{e&&s()}),j(()=>document.addEventListener("keydown",l)),j(()=>document.addEventListener("keyup",i)),j(()=>document.addEventListener("wheel",r,Hd)),j(()=>window.addEventListener("blur",s)),X(()=>document.removeEventListener("keydown",l)),X(()=>document.removeEventListener("keyup",i)),X(()=>document.removeEventListener("wheel",r,Hd)),X(()=>window.removeEventListener("blur",s))}return{setters:[function(e){a=e.A,o=e.At,n=e.B,l=e.C,i=e.Ct,r=e.Et,s=e.G,d=e.H,u=e.I,c=e.J,p=e.K,v=e.Mt,f=e.Nt,m=e.Q,h=e.R,g=e.S,b=e.St,x=e.Tt,y=e.U,w=e.V,k=e.W,e.X,S=e.Y,_=e.Z,M=e._t,I=e.at,C=e.bt,B=e.ct,z=e.d,E=e.dt,P=e.et,T=e.f,L=e.g,A=e.it,F=e.j,$=e.k,D=e.kt,N=e.lt,R=e.mt,U=e.n,j=e.ot,O=e.p,H=e.pt,Y=e.rt,X=e.st,K=e.t,W=e.ut,V=e.vt,G=e.wt,q=e.xt,J=e.y,Z=e.yt,Q=e.z},function(e){ee=e.x},function(e){te=e.t},function(e){ae=e.a,oe=e.i,ne=e.n},function(e){le=e.t},function(e){ie=e.a,re=e.c,se=e.i,de=e.l,ue=e.m,ce=e.n,pe=e.o,ve=e.r,fe=e.s,me=e.t},function(e){he=e.A,ge=e.D,be=e.E,xe=e.L,ye=e.P,we=e.R,ke=e.S,Se=e.T,_e=e.V,Me=e._,Ie=e.a,Ce=e.b,Be=e.n,ze=e.v,Ee=e.w},function(e){Pe=e.n,Te=e.r,Le=e.t},function(e){Ae=e.A,Fe=e.B,$e=e.C,De=e.Ct,Ne=e.D,Re=e.Dt,Ue=e.E,je=e.Et,Oe=e.F,He=e.G,Ye=e.H,Xe=e.I,Ke=e.J,We=e.K,Ve=e.L,Ge=e.M,qe=e.N,Je=e.O,Ze=e.Ot,e.P,Qe=e.R,et=e.S,tt=e.St,e.T,at=e.Tt,ot=e.U,nt=e.V,lt=e.W,it=e._,rt=e._t,st=e.b,dt=e.bt,ut=e.c,ct=e.ct,pt=e.d,vt=e.dt,ft=e.f,mt=e.ft,ht=e.g,gt=e.h,bt=e.i,xt=e.j,yt=e.k,wt=e.l,kt=e.lt,St=e.m,_t=e.mt,Mt=e.n,It=e.o,Ct=e.ot,Bt=e.p,zt=e.pt,Et=e.q,Pt=e.r,Tt=e.t,Lt=e.u,At=e.ut,Ft=e.v,$t=e.vt,Dt=e.w,Nt=e.wt,Rt=e.x,Ut=e.xt,jt=e.y,Ot=e.yt,Ht=e.z},function(e){Yt=e.n,Xt=e.t},function(e){Kt=e.x},function(e){Wt=e.t},function(e){Vt=e.r},function(e){Gt=e.r},function(e){qt=e.t},function(e){Jt=e.t},function(e){Zt=e.n,Qt=e.r,ea=e.t},function(e){ta=e.t}],execute:function(){(aa=document.createElement("style")).textContent=".version-popover[data-v-23d86d3d]{height:20px}.version-popover[data-v-23d86d3d]:hover{background-color:transparent}.version-trigger[data-v-23d86d3d]{box-sizing:border-box;background:var(--Fills-F2);height:20px;color:var(--Labels-Secondary);white-space:nowrap;border-radius:4px;align-items:center;gap:2px;padding:1px 4px;font-size:12px;line-height:18px;display:inline-flex}.version-trigger.disabled[data-v-23d86d3d]{opacity:.5}.version-menu[data-v-23d86d3d]{box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Tertiary);border-radius:12px;flex-direction:column;align-items:stretch;width:236px;padding:8px;display:flex}.version-menu-item[data-v-23d86d3d]{-webkit-appearance:none;appearance:none;width:100%;color:var(--Labels-Primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;outline:0;justify-content:space-between;align-items:center;gap:8px;padding:8px;font-family:inherit;display:flex}.version-menu-item[data-v-23d86d3d]:hover{background:var(--Fills-F1)}.version-menu-item-main[data-v-23d86d3d]{flex-direction:column;justify-content:center;gap:4px;min-width:0;display:flex}.version-menu-item-title-row[data-v-23d86d3d]{align-items:center;gap:8px;min-width:0;display:flex}.version-menu-item-title[data-v-23d86d3d]{color:var(--Labels-Primary);white-space:nowrap;font-size:14px;font-weight:500;line-height:20px}.version-menu-item-latest[data-v-23d86d3d]{background:var(--Others-KMBlue10);color:var(--Colors-KMBlue);white-space:nowrap;border-radius:4px;padding:1px 4px;font-size:12px;font-weight:400;line-height:18px}.version-menu-item-subtitle[data-v-23d86d3d]{color:var(--Labels-Secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;line-height:18px;overflow:hidden}.version-menu-item-check[data-v-23d86d3d]{color:var(--Colors-KMBlue);visibility:hidden;flex-shrink:0}.version-menu-item-check.active[data-v-23d86d3d]{visibility:visible}.top-bar[data-v-8b28de6b]{height:var(--topbar-height,52px);background:var(--Bg-Primary);box-sizing:border-box;user-select:none;border-bottom:.5px solid var(--Separators-S1);justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex;position:relative}.top-bar-right[data-v-8b28de6b],.top-bar-left[data-v-8b28de6b]{align-items:center;gap:8px;min-width:0;display:flex}.top-bar-right[data-v-8b28de6b]{flex-shrink:0}.top-bar .export-dialog-trigger[data-v-8b28de6b],.top-bar .share-dialog-trigger[data-v-8b28de6b]{display:inline-flex}.top-bar-close[data-v-8b28de6b]{color:var(--Labels-Primary)!important}.top-bar .disabled[data-v-8b28de6b]{opacity:.5;cursor:not-allowed}.title-editor[data-v-8b28de6b]{align-items:center;gap:8px;min-width:0;display:flex}.smart-tag[data-v-8b28de6b]{background:var(--Others-KMBlue10);color:var(--Colors-KMBlue);white-space:nowrap;border-radius:4px;padding:1px 4px;font-size:12px;line-height:18px}.title-text[data-v-8b28de6b]{box-sizing:border-box;height:28px;color:var(--Labels-Primary);cursor:pointer;border:.5px solid transparent;border-radius:4px;align-items:center;gap:4px;padding:2px 4px;font-size:16px;line-height:24px;transition:background .3s ease-in-out;display:flex;overflow:hidden}.title-text-label[data-v-8b28de6b]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.title-text[data-v-8b28de6b]:hover{background:var(--Fills-F1)}.save-status[data-v-8b28de6b]{color:var(--Labels-Secondary);align-items:center;gap:4px;font-size:14px;line-height:20px;display:flex}.save-status-icon[data-v-8b28de6b]{box-sizing:border-box;border:1.5px solid var(--Separators-S1);border-top-color:var(--Labels-Secondary);border-radius:50%;width:14px;height:14px;animation:.9s linear infinite save-status-spin-8b28de6b}.save-status-text[data-v-8b28de6b]{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}@keyframes save-status-spin-8b28de6b{to{transform:rotate(360deg)}}.title-input[data-v-8b28de6b]{-webkit-appearance:none;appearance:none;box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Fills-F2);height:28px;font-family:inherit;font-size:16px;font-weight:inherit;letter-spacing:inherit;min-width:0;color:var(--Labels-Primary);border-radius:4px;outline:0;padding:2px 4px;line-height:24px;display:block}.page-number[data-v-2c92f335]{box-sizing:border-box;border-bottom:.5px solid var(--Separators-S1);user-select:none;flex-shrink:0;justify-content:space-around;align-items:center;gap:10px;padding:10px;display:flex}.page-number .page-number-text[data-v-2c92f335]{text-align:center;color:var(--Labels-Secondary);flex:1;font-size:14px;line-height:20px}.page-number .icon-side[data-v-2c92f335]{user-select:none;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:relative}.toggle-menu[data-v-782077de]{cursor:pointer;min-width:26px;height:32px;color:var(--Labels-Primary);border-radius:8px;justify-content:center;align-items:center;padding:0 6px;display:flex}.toggle-menu .toggle-menu-label[data-v-782077de]{padding:0 8px;font-size:14px}.toggle-menu .menu-select-title-caret[data-v-782077de]{transform-origin:50%}.toggle-menu[data-v-782077de]:hover{background-color:var(--Fills-F1)}.toggle-menu.is-active[data-v-782077de]{background-color:var(--Fills-F2);color:var(--Labels-Primary)}.toggle-menu.is-active .menu-select-title-caret[data-v-782077de]{transform:rotate(180deg)}.toggle-menu.disabled[data-v-782077de]{opacity:.35;cursor:not-allowed}.toggle-menu.disabled[data-v-782077de]:hover{background-color:transparent}.add-slide-handler[data-v-37b77c14]{z-index:1;border:.5px solid var(--Separators-S1);-webkit-appearance:none;appearance:none;background:var(--Bg-Primary);width:36px;height:16px;box-shadow:0 0 5px 0 var(--Fills-F4);cursor:pointer;opacity:1;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:transform .3s,opacity .3s,visibility .3s;display:flex;position:absolute;bottom:-10px;left:calc(50% - 18px);transform:scale(1)}.add-slide-handler[data-v-37b77c14]:hover{transform:scale(1.1);opacity:1!important}.add-icon[data-v-37b77c14]{color:var(--Labels-Primary)}.thumbnail-wrapper[data-v-88ad9eda]{user-select:none;flex-direction:column;flex:1;min-height:0;display:flex;outline:none!important}.thumbnail-list[data-v-88ad9eda]{user-select:none;scrollbar-gutter:stable;scrollbar-width:thin;flex:1;grid-template-columns:repeat(1,1fr);grid-auto-rows:min-content;gap:12px;padding:12px;display:grid;overflow-x:hidden;overflow-y:auto}.thumbnail-list.thumbnail-list-preview[data-v-88ad9eda]{grid-template-columns:repeat(var(--thumbnail-col-num,1), 1fr);align-content:start;gap:8px;padding:12px 20px}.thumbnail-item[data-v-88ad9eda]{box-sizing:border-box;cursor:pointer;border:.5px solid var(--Separators-S1);outline-offset:-2px;background:var(--Bg-Primary);border-radius:8px;outline:1.5px solid transparent;width:100%;min-width:0;max-width:100%;transition:box-shadow .3s,outline-color .3s;position:relative;overflow:visible}.thumbnail-item.active[data-v-88ad9eda],.thumbnail-item[data-v-88ad9eda]:hover{z-index:1}.thumbnail-item[data-v-88ad9eda]:hover{box-shadow:0 0 5px 0 var(--Fills-F4)}.thumbnail-item:hover .add-slide-splitter[data-v-88ad9eda]{opacity:.9;visibility:visible}.thumbnail-item.selected[data-v-88ad9eda]{outline:2px solid var(--Colors-KMBlue)}.thumbnail-item.active[data-v-88ad9eda]{outline:3px solid var(--Colors-KMBlue)}.thumbnail-item .thumbnail[data-v-88ad9eda]{border-radius:7px;min-width:0;overflow:hidden}.thumbnail-item .label[data-v-88ad9eda]{box-sizing:border-box;background:var(--MaskBg-Base);min-width:23px;height:20px;color:var(--Always-White);border-radius:6px;justify-content:center;align-items:center;padding:0 4px;font-size:14px;font-weight:500;line-height:20px;display:flex;position:absolute;top:4px;left:4px}.thumbnail-item .add-slide-splitter[data-v-88ad9eda]{visibility:hidden;opacity:0}[data-v-88ad9eda] .dragging{opacity:.5}[data-v-88ad9eda] .dragging-holder{border:1px dashed var(--Separators-S1);background:var(--Fills-F1);border-radius:8px}.add-slide-footer[data-v-cfafb7b9]{border-top:.5px solid var(--Separators-S1);box-sizing:border-box;flex-shrink:0;justify-content:center;align-items:center;padding:10px;display:flex}.add-slide-button[data-v-cfafb7b9]{color:var(--Labels-Primary);cursor:pointer;user-select:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:6px 10px 6px 8px;font-size:14px;line-height:20px;transition:color .2s,background .2s;display:flex}.add-slide-button[data-v-cfafb7b9]:hover{background:var(--Fills-F1);color:var(--Labels-Primary-hover)}.add-slide-button.disabled[data-v-cfafb7b9]{color:var(--Labels-Quaternary);cursor:not-allowed}.add-slide-button.disabled[data-v-cfafb7b9]:hover{color:var(--Labels-Quaternary);background:0 0}.icon[data-v-cfafb7b9]{width:20px;height:20px}.splitter[data-v-5c4ef702]{position:relative}.splitter .splitter-line[data-v-5c4ef702]{z-index:1;transition:background-color .3s;position:absolute}.splitter .splitter-line.active[data-v-5c4ef702],.splitter .splitter-line[data-v-5c4ef702]:hover{background-color:var(--splitter-color,var(--Others-KMBlueDisabled))}.splitter.x[data-v-5c4ef702]{width:0;height:100%}.splitter.x .splitter-line[data-v-5c4ef702]{cursor:col-resize;height:100%}.splitter.y[data-v-5c4ef702]{width:100%;height:0}.splitter.y .splitter-line[data-v-5c4ef702]{cursor:row-resize;width:100%}.side-bar[data-v-b10378e6]{width:192px;height:100%;color:var(--Labels-Secondary);background:var(--Bg-Primary);border-right:.5px solid var(--Separators-S1);box-sizing:border-box;flex-direction:column;transition:width .3s;display:flex;position:relative;overflow:hidden}.side-bar.dragging[data-v-b10378e6]{transition:none}.side-bar.preview-mode[data-v-b10378e6]{width:100vw!important}.side-bar.collapsed[data-v-b10378e6]{border-right:none}.side-bar .splitter[data-v-b10378e6]{--splitter-color:var(--Colors-KMBlue);position:absolute;top:0;bottom:0;right:4px}.menu-button[data-v-15d85301]{cursor:pointer;width:28px;height:28px;color:var(--Labels-Primary);border-radius:8px;justify-content:center;align-items:center;transition:background-color .3s ease-in-out,color .3s ease-in-out;display:inline-flex}.menu-button[data-v-15d85301]:hover{background-color:var(--Fills-F1)}.menu-button.active[data-v-15d85301]{background-color:var(--Labels-Primary);color:var(--Bg-Primary)}.menu-button.disabled[data-v-15d85301]{cursor:not-allowed;opacity:.5;pointer-events:none}.horizontal-overflow-bar[data-v-121e764a]{align-items:center;min-width:0;max-width:100%;display:flex;position:relative}.horizontal-overflow-viewport[data-v-121e764a]{scrollbar-width:none;flex:auto;width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden}.horizontal-overflow-viewport[data-v-121e764a]::-webkit-scrollbar{display:none}.horizontal-overflow-track[data-v-121e764a]{align-items:center;gap:var(--horizontal-overflow-gap);width:max-content;min-width:0;display:flex}.horizontal-overflow-arrow[data-v-121e764a]{box-sizing:border-box;color:var(--Labels-Primary);cursor:pointer;z-index:2;background:0 0;border:0;border-radius:12px;flex:none;justify-content:center;align-items:center;padding:4px 2px;transition:background .3s ease-in-out;display:flex}.horizontal-overflow-arrow[data-v-121e764a]:hover{background:var(--Fills-F1)}.edge-overlay.has-left-space.has-right-space .horizontal-overflow-viewport[data-v-121e764a]{width:calc(100% - var(--horizontal-overflow-arrow-width) * 2);margin-right:var(--horizontal-overflow-arrow-width);margin-left:var(--horizontal-overflow-arrow-width)}.edge-overlay.has-left-space:not(.has-right-space) .horizontal-overflow-viewport[data-v-121e764a]{width:calc(100% - var(--horizontal-overflow-arrow-width));margin-left:var(--horizontal-overflow-arrow-width)}.edge-overlay.has-right-space:not(.has-left-space) .horizontal-overflow-viewport[data-v-121e764a]{width:calc(100% - var(--horizontal-overflow-arrow-width));margin-right:var(--horizontal-overflow-arrow-width)}.edge-overlay .horizontal-overflow-arrow[data-v-121e764a]{position:absolute;top:50%;transform:translateY(-50%)}.edge-overlay .horizontal-overflow-arrow.left[data-v-121e764a]{left:0}.edge-overlay .horizontal-overflow-arrow.right[data-v-121e764a]{right:0}.edge-inline[data-v-121e764a]{gap:var(--horizontal-overflow-gap)}.shape-item-thumbnail[data-v-841f727f]{cursor:pointer;width:100%;height:100%;position:relative}.shape-content[data-v-841f727f]{justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.shape-content:hover .shape-path[data-v-841f727f]:not(.outlined){stroke:var(--Colors-KMBlue,#1783ff)}.shape-content:hover .shape-path.outlined[data-v-841f727f]{fill:var(--Colors-KMBlue,#1783ff)}.shape-content svg[data-v-841f727f]:not(:root){overflow:visible}.shape-pool[data-v-90f7e391]{width:326px;height:var(--pool-height,420px);padding:0;overflow:auto}.category-name[data-v-90f7e391]{box-sizing:border-box;background:var(--Bg-Secondary);width:100%;height:22px;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);line-height:var(--ui-C1-line-height);z-index:1;border-left:0;margin:0 0 8px;padding:2px 8px;position:sticky;top:0}.shape-list[data-v-90f7e391]{grid-template-columns:repeat(10,24px);gap:8px;margin:0 0 14px;display:grid}.shape-item[data-v-90f7e391]{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;min-width:24px;height:24px;display:flex}.shape-item[data-v-90f7e391]:hover{background:var(--Fills-F1,#f0f0f0)}.line-pool[data-v-6b5878db]{width:326px;height:var(--pool-height,320px);max-height:511px;padding:0;overflow:auto}.category-name[data-v-6b5878db]{box-sizing:border-box;background:var(--Fills-F2);width:100%;height:22px;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);line-height:var(--ui-C1-line-height);border-left:0;margin:0 0 8px;padding:2px 8px}.line-list[data-v-6b5878db]{grid-template-columns:repeat(10,24px);gap:8px;margin:0 0 14px;display:grid}.line-item[data-v-6b5878db]{cursor:pointer;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;min-width:24px;height:24px;display:flex;position:relative}.line-item[data-v-6b5878db]:hover{background:var(--Fills-F1,#f0f0f0)}.line-content[data-v-6b5878db]{color:var(--Labels-Tertiary);justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.line-content[data-v-6b5878db]:hover{color:var(--Colors-KMBlue)}.line-content svg[data-v-6b5878db]:not(:root){overflow:visible}.table-generator[data-v-a89d5601]{--active-color:var(--Label-Primary,#333);width:200px;margin-top:-10px}.title[data-v-a89d5601]{background-color:var(--Bg-Primary70,rgba(255,255,255,.7));user-select:none;height:28px;color:var(--Labels-Tertiary,#999);border-top-left-radius:8px;border-top-right-radius:8px;justify-content:space-between;margin:4px -12px 0;padding:0 14px;font-size:12px;line-height:28px;display:flex}table[data-v-a89d5601]{border-collapse:separate;border-spacing:1px}td[data-v-a89d5601]{border:.5px solid var(--Separators-S1,#ddd);background-color:var(--Bg-Primary70,rgba(255,255,255,.7));width:20px;height:20px;padding:0;line-height:23px}.cell[data-v-a89d5601]{background-color:var(--active-color);opacity:0;width:100%;height:100%;transition:opacity .1s}.cell.active[data-v-a89d5601]{opacity:.9}.latex-pool[data-v-48da1647]{width:280px;margin-top:-10px}.title[data-v-48da1647]{background-color:var(--Bg-Primary70,rgba(255,255,255,.7));user-select:none;height:28px;color:var(--Labels-Tertiary,#999);border-top-left-radius:8px;border-top-right-radius:8px;margin:4px -12px 10px;padding:0 14px;font-size:12px;line-height:28px}.latex-input[data-v-48da1647]{box-sizing:border-box;resize:none;border:1px solid var(--Separators-S1,#ddd);border-radius:6px;width:100%;padding:8px;font-family:monospace;font-size:14px;outline:none!important}.latex-actions[data-v-48da1647]{justify-content:flex-end;margin-top:10px;display:flex}.confirm-btn[data-v-48da1647]{background:var(--Labels-Primary,#333);color:var(--Bg-Primary,#fff);cursor:pointer;border:none;border-radius:6px;padding:6px 16px;font-size:14px}.confirm-btn[data-v-48da1647]:hover{opacity:.9}.icon-pool[data-v-bc04e138]{width:326px;height:var(--pool-height,520px);max-height:511px;margin:0;padding:0;overflow:auto}.icon-search-wrapper[data-v-bc04e138]{margin-bottom:8px}.icon-search[data-v-bc04e138]{border:1px solid var(--Separators-S1);width:100%;height:30px;font-size:var(--ui-B2-font-size);box-sizing:border-box;border-radius:6px;outline:none;padding:6px 10px}.icon-search[data-v-bc04e138]:focus{border-color:var(--Colors-KMBlue)}.icon-list-container[data-v-bc04e138]{grid-template-columns:repeat(10,24px);place-content:start center;gap:8px;width:100%;min-height:0;margin-top:8px;display:grid}.icon-item[data-v-bc04e138]{width:24px;height:24px;color:var(--Labels-Primary);text-align:center;cursor:pointer;place-self:center;font-size:18px;line-height:24px;transition:color .3s;display:block}.icon-item[data-v-bc04e138]:hover{color:var(--Colors-KMBlue)}.empty[data-v-bc04e138]{color:var(--Labels-Tertiary);text-align:center;grid-column:1/-1;justify-content:center;padding:10px;font-size:12px;display:flex}.modal-mask[data-v-704ef4e7]{z-index:200;background:rgba(0,0,0,.5);justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.fade-enter-active[data-v-704ef4e7],.fade-leave-active[data-v-704ef4e7]{transition:opacity .225s cubic-bezier(.4,0,.2,1)}.fade-enter-from[data-v-704ef4e7],.fade-leave-to[data-v-704ef4e7]{opacity:0}.content[data-v-d61bf2e1]{background:var(--BgGp-Secondary);border:1px solid var(--Fills-F1);border-radius:16px;flex-direction:column;gap:12px;min-width:320px;max-height:100vh;padding:16px;display:flex;overflow:auto}.header[data-v-d61bf2e1]{flex-direction:row;justify-content:space-between;align-items:center;display:flex;position:relative}.title-warpper[data-v-d61bf2e1]{flex:1}.title[data-v-d61bf2e1]{color:var(--Labels-Primary);font-size:16px;font-style:normal;font-weight:500;line-height:24px}.close-icon[data-v-d61bf2e1]{cursor:pointer;width:20px;height:20px;position:absolute;right:0}.body[data-v-d61bf2e1]{color:var(--Labels-Secondary);scrollbar-width:none;-ms-overflow-style:none;font-size:14px;font-style:normal;font-weight:400;line-height:20px;overflow-y:scroll}.bottom[data-v-d61bf2e1]{flex-direction:row;justify-content:flex-end;gap:8px;display:flex}.dash-border[data-v-a00d67b5]{pointer-events:none;width:100%;height:100%;color:var(--Colors-KMBlue);position:absolute;top:0;left:0;overflow:visible;transform:translateZ(0)}.border-hit-area[data-v-a00d67b5]{cursor:move}.border-rect.ani[data-v-a00d67b5]{animation:steps(20,end) infinite dashFlow-a00d67b5;animation-duration:var(--duration,.7s)}@keyframes dashFlow-a00d67b5{0%{stroke-dashoffset:0}to{stroke-dashoffset:var(--dash-offset)}}.handler[data-v-363c8647]{cursor:pointer}.handler.left-top.rotate-0[data-v-363c8647],.handler.right-bottom.rotate-0[data-v-363c8647],.handler.left.rotate-45[data-v-363c8647],.handler.right.rotate-45[data-v-363c8647],.handler.left-bottom.rotate-90[data-v-363c8647],.handler.right-top.rotate-90[data-v-363c8647],.handler.top.rotate-135[data-v-363c8647],.handler.bottom.rotate-135[data-v-363c8647]{cursor:nwse-resize}.handler.top.rotate-0[data-v-363c8647],.handler.bottom.rotate-0[data-v-363c8647],.handler.left-top.rotate-45[data-v-363c8647],.handler.right-bottom.rotate-45[data-v-363c8647],.handler.left.rotate-90[data-v-363c8647],.handler.right.rotate-90[data-v-363c8647],.handler.left-bottom.rotate-135[data-v-363c8647],.handler.right-top.rotate-135[data-v-363c8647]{cursor:ns-resize}.handler.left-bottom.rotate-0[data-v-363c8647],.handler.right-top.rotate-0[data-v-363c8647],.handler.top.rotate-45[data-v-363c8647],.handler.bottom.rotate-45[data-v-363c8647],.handler.left-top.rotate-90[data-v-363c8647],.handler.right-bottom.rotate-90[data-v-363c8647],.handler.left.rotate-135[data-v-363c8647],.handler.right.rotate-135[data-v-363c8647]{cursor:nesw-resize}.handler.left.rotate-0[data-v-363c8647],.handler.right.rotate-0[data-v-363c8647],.handler.left-bottom.rotate-45[data-v-363c8647],.handler.right-top.rotate-45[data-v-363c8647],.handler.top.rotate-90[data-v-363c8647],.handler.bottom.rotate-90[data-v-363c8647],.handler.left-top.rotate-135[data-v-363c8647],.handler.right-bottom.rotate-135[data-v-363c8647]{cursor:ew-resize}.logo-operator[data-v-c84debf7]{pointer-events:none;z-index:100;position:absolute}.drag-overlay[data-v-c84debf7]{pointer-events:auto;cursor:move;z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.operate-dash-border[data-v-c84debf7]{cursor:move}.scale-handle[data-v-c84debf7]{background:var(--Bg-Primary);border:1px solid var(--Colors-KMBlue);pointer-events:auto;z-index:101;border-radius:2px;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute}.rotate-handle[data-v-c84debf7]{pointer-events:auto;cursor:grab;z-index:101;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon'%20style='width:1em;height:1em;vertical-align:middle;fill:currentColor;overflow:hidden'%20viewBox='0%200%201024%201024'%3e%3cpath%20fill='%23000'%20fill-opacity='.4'%20d='M921.6%20524.288c0%20226.222-183.378%20409.6-409.6%20409.6s-409.6-183.378-409.6-409.6%20183.378-409.6%20409.6-409.6%20409.6%20183.378%20409.6%20409.6z'/%3e%3cpath%20fill='%23FFF'%20d='M698.7776%20486.7277a24.576%2024.576%200%200%200%2024.576-24.576v-89.8253a24.576%2024.576%200%200%200-41.943-17.367l-24.658%2024.6579a204.8%20204.8%200%201%200%2053.0432%20197.8777%2028.672%2028.672%200%201%200-55.4188-14.8275%20146.514%20146.514%200%200%201-38.1748%2066.0275%20147.456%20147.456%200%201%201%200-208.5273l-24.6579%2024.6579a24.576%2024.576%200%200%200%2017.367%2041.943h89.9073z'/%3e%3c/svg%3e\") 50%/100% 100% no-repeat;width:20px;height:20px;margin-left:-10px;position:absolute;top:-30px}.rotate-handle[data-v-c84debf7]:active{cursor:grabbing}.flex-center[data-v-351a70ec]{justify-content:center;align-items:center;display:flex}.flex-center.vertical[data-v-351a70ec]{flex-direction:column}.title[data-v-351a70ec]{color:var(--Labels-Primary);font-size:18px}.info-tips[data-v-351a70ec]{color:var(--Labels-Tertiary);cursor:pointer;margin-left:4px}.logo-modal-container[data-v-351a70ec]{gap:16px;display:flex}.logo-modal-container .side-upload[data-v-351a70ec]{flex-direction:column;gap:12px;width:162px;max-height:100%;display:flex;overflow-y:auto}.logo-modal-container .side-upload .logo[data-v-351a70ec]{width:100%;height:122px;color:var(--Labels-Secondary);background:var(--Fills-F1);border:.5px solid var(--Separators-S1);box-sizing:border-box;cursor:pointer;border-radius:8px;gap:4px;font-size:14px;position:relative;overflow:hidden}.logo-modal-container .side-upload .logo .logo-image[data-v-351a70ec]{object-fit:contain;width:100%;height:100%}.logo-modal-container .side-upload .logo .delete-btn[data-v-351a70ec]{cursor:pointer;z-index:2;padding:2px;display:none;position:absolute;top:3px;right:3px}.logo-modal-container .side-upload .logo[data-v-351a70ec]:after{content:\"\";pointer-events:none;background-color:transparent;width:100%;height:100%;transition:background-color .2s;position:absolute;top:0;left:0}.logo-modal-container .side-upload .logo[data-v-351a70ec]:hover:not(.selected):not(.disabled):after{background-color:var(--Fills-F1)}.logo-modal-container .side-upload .logo:hover:not(.selected):not(.disabled) .delete-btn[data-v-351a70ec]{display:block}.logo-modal-container .side-upload .logo.add[data-v-351a70ec]{cursor:pointer;background:var(--Bg-Secondary)}.logo-modal-container .side-upload .logo.disabled[data-v-351a70ec]{cursor:not-allowed;opacity:.6}.logo-modal-container .side-upload .logo .selected-mask[data-v-351a70ec]{background:var(--MaskBg-Base);width:100%;height:100%;color:var(--Always-White);text-shadow:0 0 10px rgba(0,0,0,.3);gap:4px;position:absolute;top:0;left:0}.logo-modal-container .side-upload .logo .selected-mask .check-icon[data-v-351a70ec]{color:var(--Colors-KMBlue)}.logo-modal-container .side-preview[data-v-351a70ec]{background:var(--Fills-F1);border-radius:16px;flex-direction:column;flex:1;gap:12px;width:520px;min-width:400px;max-width:60vw;padding:16px 20px 20px;display:flex;overflow:hidden}.logo-modal-container .side-preview .preview-title[data-v-351a70ec]{color:var(--Labels-Tertiary);font-size:14px;font-weight:400;line-height:20px}.logo-modal-container .side-preview .slide-preview[data-v-351a70ec]{background-color:#f0f0f0;border-radius:8px;width:100%;position:relative;overflow:hidden}.logo-modal-container .side-preview .preview-logo[data-v-351a70ec]{z-index:2;transform-origin:50%;pointer-events:none;position:absolute}.logo-modal-container .side-preview .slide-thumbs[data-v-351a70ec]{gap:12px;display:flex}.logo-modal-container .side-preview .preview-thumb[data-v-351a70ec]{border:.5px solid var(--Separators-S1);outline-offset:-2px;cursor:pointer;border-radius:8px;outline:2px solid transparent;width:calc(25% - 9px);min-width:0;position:relative;overflow:hidden}.logo-modal-container .side-preview .preview-thumb.selected[data-v-351a70ec]{outline-color:var(--Colors-KMBlue)}.logo-modal-container .side-preview .preview-thumb-slide[data-v-351a70ec]{border-radius:7px;overflow:hidden}.bottom[data-v-351a70ec]{color:var(--Labels-Tertiary);justify-content:space-between;align-items:center;font-size:14px;display:flex}.button-box[data-v-351a70ec]{justify-content:flex-end;gap:12px;display:flex}.annotation-mode-switch[data-v-58966556]{box-sizing:border-box;background:var(--Fills-F1);border-radius:10px;flex:none;align-items:center;padding:2px;display:flex}.annotation-mode-button[data-v-58966556]{min-width:0;height:28px;color:var(--Labels-Tertiary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:4px 10px;font-size:12px;line-height:18px;transition:background-color .16s,color .16s,opacity .16s;display:flex}.annotation-mode-button.active[data-v-58966556]{background:var(--Bg-Tertiary);color:var(--Labels-Primary);font-weight:500}.annotation-mode-button[data-v-58966556]:disabled{cursor:not-allowed;opacity:.5}.toolbar-divider[data-v-b22e4986]{background:var(--Separators-S1);flex:none;align-self:stretch;width:.5px}.annotation-count[data-v-b22e4986]{min-width:0;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);font-weight:400;line-height:var(--ui-C1-line-height);letter-spacing:0;white-space:nowrap;align-items:center;gap:8px;display:flex}.annotation-empty-tip[data-v-b22e4986]{min-width:0;color:var(--Labels-Secondary);font-size:var(--ui-C1-font-size);font-weight:400;line-height:var(--ui-C1-line-height);letter-spacing:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;justify-content:center;align-items:center;padding:0 10px;display:flex;overflow:hidden}.annotation-summary[data-v-b22e4986]{flex:none;min-width:0}.annotation-detail-trigger[data-v-b22e4986]{cursor:pointer;align-items:center;min-width:0;display:flex;position:relative}.annotation-detail-trigger[data-v-b22e4986]:before{height:48px;position:absolute;bottom:0;left:0;right:0}.annotation-detail-trigger[data-v-b22e4986]:hover:before,.annotation-detail-trigger[data-v-b22e4986]:focus-within:before{content:\"\"}.annotation-detail-trigger:hover .annotation-detail-popover[data-v-b22e4986],.annotation-detail-trigger:focus-within .annotation-detail-popover[data-v-b22e4986]{display:flex}.annotation-clear[data-v-b22e4986]{z-index:130;width:14px;height:14px;color:var(--Labels-Secondary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.annotation-clear[data-v-b22e4986]:hover{color:var(--Colors-Red)}.annotation-detail-popover[data-v-b22e4986]{z-index:120;box-sizing:border-box;pointer-events:none;flex-direction:column;width:480px;max-width:min(480px,100vw - 32px);padding-bottom:6px;display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.annotation-detail-panel[data-v-b22e4986]{box-sizing:border-box;background:var(--Bg-Tertiary);width:480px;max-width:100%;max-height:240px;box-shadow:0 0 7.5px 0 var(--MaskBg-Light);color:var(--Labels-Secondary);pointer-events:auto;border:0;border-radius:16px;flex-direction:column;gap:2px;padding:8px;display:flex;overflow:auto}.annotation-detail-item[data-v-b22e4986]{box-sizing:border-box;width:100%;min-width:0;height:36px;color:var(--Labels-Secondary);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:8px;display:flex}.annotation-detail-item[data-v-b22e4986]:hover,.annotation-detail-item.active[data-v-b22e4986]{background:var(--Fills-F1)}.annotation-detail-item:hover .annotation-detail-remove[data-v-b22e4986],.annotation-detail-item.active .annotation-detail-remove[data-v-b22e4986]{opacity:1;pointer-events:auto}.annotation-detail-index[data-v-b22e4986]{background:var(--Fills-F2);color:currentColor;border-radius:6px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;font-size:14px;line-height:20px;display:inline-flex}.annotation-detail-page[data-v-b22e4986]{color:currentColor;text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:72px;font-size:14px;line-height:20px;overflow:hidden}.annotation-detail-thumb[data-v-b22e4986]{border:.5px solid var(--Separators-S1);background:var(--Fills-F2);border-radius:2px;flex:none;width:39px;height:22px;display:block;overflow:hidden}.annotation-detail-text[data-v-b22e4986]{color:currentColor;text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.annotation-detail-remove[data-v-b22e4986]{width:16px;height:16px;color:var(--Labels-Tertiary);cursor:pointer;opacity:0;pointer-events:none;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.annotation-detail-remove[data-v-b22e4986]:hover{color:var(--Labels-Secondary)}.toolbar[data-v-9de0e2e7]{z-index:100;box-sizing:border-box;background:var(--Bg-Primary);width:100%;max-width:100%;height:48px;box-shadow:0 0 15px 0 var(--MaskBg-Light);border:.5px solid var(--Separators-S1);border-radius:16px;flex-direction:row;align-items:center;gap:8px;padding:8px;display:flex}.toolbar[data-v-9de0e2e7] .menu-button{border-radius:12px;width:32px;height:32px}.toolbar[data-v-9de0e2e7] .popover-menu.disabled .menu-button{opacity:1}.toolbar-divider[data-v-9de0e2e7]{background:var(--Separators-S1);flex:none;align-self:stretch;width:.5px}.toolbar-dynamic[data-v-9de0e2e7]{opacity:1;flex:0 auto;align-items:center;gap:8px;min-width:0;max-width:100%;transition:width .2s cubic-bezier(.2,0,0,1),opacity .12s;display:flex;overflow:visible}.toolbar-overflow[data-v-9de0e2e7]{flex:auto;width:auto;min-width:0;max-width:100%}.pool-container[data-v-9de0e2e7]{box-sizing:border-box;padding:8px 12px;overflow:hidden}.graphics-panel[data-v-9de0e2e7]{box-sizing:border-box;background:var(--Bg-Tertiary);width:342px;padding:8px}.graphics-tabs[data-v-9de0e2e7]{box-sizing:border-box;--tabs-switch-padding:2px;--tabs-switch-pane-height:28px;--tabs-switch-bg:var(--Fills-F2);--tabs-switch-indicator-bg:var(--Bg-Quaternary);--tabs-switch-pane-color:var(--Labels-Secondary);--tabs-switch-pane-hover-color:var(--Labels-Primary);--tabs-switch-pane-active-color:var(--Labels-Primary);width:100%;margin-bottom:12px}.graphics-tabs[data-v-9de0e2e7] .graphics-tab{box-sizing:border-box;min-width:0;font-size:var(--ui-B2-font-size);line-height:var(--ui-B2-line-height);gap:4px;padding:0 12px}.graphics-tab-icon[data-v-9de0e2e7]{color:currentColor}.graphics-content[data-v-9de0e2e7]{--pool-height:136px;width:326px;max-height:511px;overflow:auto}.graphics-content .pool-container[data-v-9de0e2e7]{padding:0}.more-menu[data-v-9de0e2e7]{background:var(--Bg-Primary);width:max-content;min-width:0;padding:6px}.more-menu.formula-mode[data-v-9de0e2e7]{padding:10px 12px 12px}.more-menu-item[data-v-9de0e2e7]{width:100%;height:34px;color:var(--Labels-Primary);cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 10px 0 8px;font-size:13px;display:flex}.more-menu-item[data-v-9de0e2e7]:hover{background:var(--Fills-F1)}.more-menu-item.active[data-v-9de0e2e7]{background:var(--Fills-F2)}.more-menu-icon[data-v-9de0e2e7]{color:var(--Labels-Primary);flex-shrink:0}[data-v-9de0e2e7] .popover-menu-content.is-floating{max-height:unset!important}.scale-menu[data-v-961c846e]{cursor:ns-resize;align-items:center;gap:4px;display:flex}.scale-value[data-v-961c846e]{width:48px;height:32px;color:var(--Labels-Secondary);cursor:ns-resize;justify-content:center;border-radius:8px!important;height:32px!important}.scale-value[data-v-961c846e] .menu-select-title{padding:0}.scale-value[data-v-961c846e] .menu-select-title-caret{display:none}.scale-value[data-v-961c846e] .menu-select-menu{max-height:unset}.scale-value-text[data-v-961c846e]{user-select:none;font-size:14px;line-height:20px}.editor-bar[data-v-3bd11e5a]{box-sizing:border-box;background:var(--Bg-Primary);border-bottom:.5px solid var(--Separators-S1);height:52px;color:var(--Labels-Secondary);flex-shrink:0;justify-content:space-between;align-items:center;padding:10px;display:flex}.toolbar-group[data-v-3bd11e5a],.sidebar-restore[data-v-3bd11e5a]{align-items:center;gap:4px;display:flex}.sidebar-restore-divider[data-v-3bd11e5a]{border-right:.5px solid var(--Separators-S1);flex-shrink:0;width:8px;height:24px}.right-panel[data-v-7092f262]{z-index:var(--zindex-sidebar,100);height:100%;width:var(--right-panel-width);background:var(--Bg-Primary);border-left:.5px solid var(--Separators-S1);flex-direction:column;flex-shrink:0;transition:width .26s;display:flex;position:relative;overflow:hidden}.right-panel.dragging[data-v-7092f262]{transition:none}.right-panel .right-panel-header[data-v-7092f262]{border-bottom:.5px solid var(--Separators-S1);user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;height:44px;padding:0 8px 0 12px;display:flex}.right-panel .right-panel-header .tabs[data-v-7092f262]{gap:4px;display:flex}.right-panel .right-panel-header .tab[data-v-7092f262]{color:var(--Labels-Secondary);cursor:pointer;border-radius:4px;padding:4px 10px;font-size:13px;font-weight:500;transition:background .2s,color .2s}.right-panel .right-panel-header .tab[data-v-7092f262]:hover{color:var(--Labels-Secondary-hover);background:var(--Fills-F1)}.right-panel .right-panel-header .tab.active[data-v-7092f262]{color:var(--Labels-Primary);background:var(--Fills-F2)}.right-panel .right-panel-header .tab.disabled[data-v-7092f262]{cursor:not-allowed;opacity:.5}.right-panel .right-panel-header .tab.disabled[data-v-7092f262]:hover{color:var(--Labels-Secondary);background:0 0}.right-panel .right-panel-header .close-btn[data-v-7092f262]{color:var(--Labels-Secondary);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:18px;line-height:1;transition:background .2s,color .2s}.right-panel .right-panel-header .close-btn[data-v-7092f262]:hover{color:var(--Labels-Primary);background:var(--Fills-F1)}.right-panel .right-panel-content[data-v-7092f262]{flex-direction:column;flex:1;display:flex;overflow:hidden}.right-panel .splitter[data-v-7092f262]{position:absolute;top:0;bottom:0;left:-4px}.right-panel-slide-enter-active[data-v-7092f262],.right-panel-slide-leave-active[data-v-7092f262]{transition:width .26s,opacity .18s,transform .26s}.right-panel-slide-enter-from[data-v-7092f262],.right-panel-slide-leave-to[data-v-7092f262]{opacity:0;width:0;transform:translate(16px)}.right-panel-slide-enter-to[data-v-7092f262],.right-panel-slide-leave-from[data-v-7092f262]{width:var(--right-panel-width);opacity:1;transform:translate(0)}.slide-up-enter-active[data-v-daa80549],.slide-up-leave-active[data-v-daa80549]{transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1)}.slide-up-enter-from[data-v-daa80549]{opacity:0;transform:translateY(calc(100% + 32px))}.slide-up-enter-to[data-v-daa80549],.slide-up-leave-from[data-v-daa80549]{opacity:1;transform:translateY(0)}.slide-up-leave-to[data-v-daa80549]{opacity:0;transform:translateY(calc(100% + 32px))}.feedback-snackbar[data-v-daa80549]{box-sizing:border-box;background:var(--Bg-Tertiary);border-radius:16px;justify-content:center;align-items:center;gap:8px;width:min(640px,100vw - 48px);padding:16px;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 15px 2px rgba(0,0,0,.15)}.feedback-snackbar--narrow[data-v-daa80549]{flex-wrap:wrap;gap:12px 8px;padding:16px 16px 16px 24px}.feedback-snackbar--narrow .feedback-title[data-v-daa80549]{white-space:normal;order:1;justify-content:center;margin-left:0;line-height:32px}.feedback-snackbar--narrow .feedback-buttons[data-v-daa80549]{flex-wrap:wrap;flex-basis:100%;order:3;justify-content:center;margin-right:0}.feedback-snackbar--narrow .feedback-write-btn[data-v-daa80549]{order:3;margin-right:40px}.feedback-snackbar .feedback-write-btn[data-v-daa80549]{margin-right:40px}.feedback-title[data-v-daa80549]{color:var(--Labels-Primary);white-space:nowrap;flex:1;align-items:center;margin-left:8px;font-size:16px;line-height:24px;display:flex}.like-icon[data-v-daa80549]{width:48px;height:48px;margin-top:-16px;margin-bottom:-16px;margin-left:-16px;overflow:hidden}.feedback-buttons[data-v-daa80549]{flex-shrink:0;gap:8px;margin-right:40px;display:flex}.feedback-close[data-v-daa80549]{cursor:pointer;color:var(--Labels-Primary);background:0 0;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;transition:background-color .2s;display:flex;position:absolute;top:16px;right:16px}.feedback-close[data-v-daa80549]:hover{background:var(--Fills-F2)}.editable-element[data-v-eecf2ca2]{position:absolute}.editable-element.animation-hidden[data-v-eecf2ca2]{visibility:hidden}.editable-element.highlighted[data-v-eecf2ca2]>:first-child{outline:2px solid var(--Colors-KMBlue);outline-offset:1px}.operate-container[data-v-a162e949]{pointer-events:none;z-index:100;--handler-border-color:var(--Colors-KMBlue);position:absolute}.scale-handle[data-v-a162e949]{border:1px solid var(--handler-border-color);pointer-events:auto;z-index:101;background:#fff;border-radius:2px;width:10px;height:10px;position:absolute}.operate-container.mini .scale-handle.border[data-v-a162e949]:not(.dir-se){display:none}.operate-container.disable-interaction[data-v-a162e949] .border-hit-area,.operate-container.disable-interaction .scale-handle[data-v-a162e949],.operate-container.disable-interaction .rotate-handle[data-v-a162e949],.operate-container.disable-interaction .keypoint-handle[data-v-a162e949]{pointer-events:none}.rotate-handle[data-v-a162e949]{pointer-events:auto;cursor:grab;z-index:101;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon'%20style='width:1em;height:1em;vertical-align:middle;fill:currentColor;overflow:hidden'%20viewBox='0%200%201024%201024'%3e%3cpath%20fill='%23000'%20fill-opacity='.4'%20d='M921.6%20524.288c0%20226.222-183.378%20409.6-409.6%20409.6s-409.6-183.378-409.6-409.6%20183.378-409.6%20409.6-409.6%20409.6%20183.378%20409.6%20409.6z'/%3e%3cpath%20fill='%23FFF'%20d='M698.7776%20486.7277a24.576%2024.576%200%200%200%2024.576-24.576v-89.8253a24.576%2024.576%200%200%200-41.943-17.367l-24.658%2024.6579a204.8%20204.8%200%201%200%2053.0432%20197.8777%2028.672%2028.672%200%201%200-55.4188-14.8275%20146.514%20146.514%200%200%201-38.1748%2066.0275%20147.456%20147.456%200%201%201%200-208.5273l-24.6579%2024.6579a24.576%2024.576%200%200%200%2017.367%2041.943h89.9073z'/%3e%3c/svg%3e\") 50%/100% 100% no-repeat;width:20px;height:20px;margin-left:-10px;position:absolute;top:-30px}.rotate-handle[data-v-a162e949]:active{cursor:grabbing}.keypoint-handle[data-v-a162e949]{--hue:calc(50 + var(--keypoint-index,0) * 5);--size:8px;width:var(--size);height:var(--size);margin-left:calc(var(--size) / -2);margin-top:calc(var(--size) / -2);border:1px solid hsl(var(--hue), 100%, 35%);background-color:hsl(var(--hue), 100%, 63%);pointer-events:auto;z-index:101;position:absolute;rotate:45deg}.line-operate[data-v-7c43b986]{pointer-events:none;z-index:100;width:100%;height:100%;position:absolute;top:0;left:0}.endpoint-handle[data-v-7c43b986]{border:1px solid var(--Colors-KMBlue,#4472c4);pointer-events:auto;cursor:move;z-index:101;background:#fff;border-radius:2px;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute}.keypoint-handle[data-v-7c43b986]{--hue:calc(50 + var(--keypoint-index,0) * 5);--size:8px;width:var(--size);height:var(--size);margin-left:calc(var(--size) / -2);margin-top:calc(var(--size) / -2);border:1px solid hsl(var(--hue), 100%, 35%);background-color:hsl(var(--hue), 100%, 63%);pointer-events:auto;z-index:101;position:absolute;rotate:45deg}.line-element-operate[data-v-4085b1df]{pointer-events:none;z-index:100;transform-origin:50%;position:absolute}.line-helper[data-v-4085b1df]{pointer-events:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.line-helper path[data-v-4085b1df],.line-helper polyline[data-v-4085b1df]{fill:none;vector-effect:non-scaling-stroke}.line-helper .line-hit-area[data-v-4085b1df]{stroke:transparent;stroke-width:12px;pointer-events:stroke;cursor:crosshair}.line-helper .line-control-guide[data-v-4085b1df]{stroke:var(--Colors-KMBlue,#4472c4);stroke-width:1px;stroke-dasharray:4 4;opacity:.5;pointer-events:none}.line-point-handle[data-v-4085b1df]{-webkit-appearance:none;appearance:none;border:1px solid var(--Colors-KMBlue,#4472c4);pointer-events:auto;z-index:101;background:#fff;border-radius:50%;width:10px;height:10px;margin:-5px 0 0 -5px;padding:0;transition:outline .3s;position:absolute}.line-point-handle.is-control[data-v-4085b1df]{background:var(--Colors-KMBlue,#4472c4);border-color:#fff;border-radius:2px}.line-element-operate.is-editing .line-helper[data-v-4085b1df]{pointer-events:auto}.line-element-operate.is-editing .line-point-handle[data-v-4085b1df]:hover{border-color:var(--Colors-Red,#f04438);outline:1px solid #f04438}.multi-select-operate[data-v-cc9f8203]{pointer-events:none;z-index:100;--handler-border-color:var(--Colors-KMBlue);position:absolute}.selected-element-borderline[data-v-cc9f8203]{opacity:.35;pointer-events:none}.selected-element-borderline[data-v-cc9f8203] .border-hit-area{pointer-events:none}.scale-handle[data-v-cc9f8203]{border:1px solid var(--handler-border-color);pointer-events:auto;z-index:101;background:#fff;border-radius:2px;width:10px;height:10px;position:absolute}.multi-select-operate.mini .scale-handle.border[data-v-cc9f8203]:not(.dir-se){display:none}.number-menu[data-v-83ff1c3b]{background-color:var(--Fills-F1);height:28px;color:var(--Labels-Primary);border-radius:6px;align-items:center;padding-left:6px;padding-right:2px;font-size:14px;display:inline-flex;overflow:hidden}.number-menu[data-v-83ff1c3b]:hover{background-color:var(--Fills-F1-hover)}.number-menu-input[data-v-83ff1c3b]{all:unset;-moz-appearance:textfield;text-align:right;width:fit-content}.number-menu-input[data-v-83ff1c3b]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-menu-input[data-v-83ff1c3b]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number-menu-handle[data-v-83ff1c3b]{color:var(--Labels-Tertiary);flex-direction:column;justify-content:center;align-items:center;margin-left:2px;display:flex}.number-menu-handle-button[data-v-83ff1c3b]{all:unset;cursor:pointer;justify-content:center;align-items:center;width:20px;height:12px;display:flex}.number-menu-handle-button[data-v-83ff1c3b]:hover{background-color:var(--Fills-F1-active)}.number-menu-handle-button[data-v-83ff1c3b]:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.number-menu-handle-button[data-v-83ff1c3b]:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.checkerboard[data-v-34af3fd0]{background-size:contain;position:absolute;top:0;bottom:0;left:0;right:0}.alpha[data-v-371ca9eb]{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-checkboard-wrap[data-v-371ca9eb]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.alpha-gradient[data-v-371ca9eb]{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-container[data-v-371ca9eb]{cursor:pointer;z-index:2;height:100%;margin:0 3px;position:relative}.alpha-pointer[data-v-371ca9eb]{z-index:2;position:absolute}.alpha-picker[data-v-371ca9eb]{cursor:pointer;background:#fff;width:4px;height:8px;margin-top:1px;transform:translate(-2px);box-shadow:0 0 2px rgba(0,0,0,.6)}.hue[data-v-e9d0c7a2]{background:linear-gradient(90deg,red 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);position:absolute;top:0;bottom:0;left:0;right:0}.hue-container[data-v-e9d0c7a2]{cursor:pointer;height:100%;margin:0 2px;position:relative}.hue-pointer[data-v-e9d0c7a2]{z-index:2;position:absolute;top:0}.hue-picker[data-v-e9d0c7a2]{cursor:pointer;background:#fff;width:4px;height:8px;margin-top:1px;transform:translate(-2px);box-shadow:0 0 2px rgba(0,0,0,.6)}.saturation[data-v-895551ab],.saturation-white[data-v-895551ab],.saturation-black[data-v-895551ab]{cursor:pointer;position:absolute;top:0;bottom:0;left:0;right:0}.saturation-white[data-v-895551ab]{background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}.saturation-black[data-v-895551ab]{background:linear-gradient(transparent,#000)}.saturation-pointer[data-v-895551ab]{cursor:pointer;position:absolute}.saturation-circle[data-v-895551ab]{border-radius:50%;width:4px;height:4px;transform:translate(-2px,-2px);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.editable-input[data-v-1a307df7]{text-align:center;border-radius:var(--picker-color-radius,2px);width:100%;font-size:14px;position:relative;overflow:hidden}.editable-input[data-v-1a307df7]:after{content:\"#\";color:#999;padding-top:4px;position:absolute;top:50%;left:4px;transform:translateY(-50%)}.input-content[data-v-1a307df7]{box-sizing:border-box;text-align:center;border:0;outline:none;width:100%;height:100%;margin-top:4px;padding:0 0 3px}.input-label[data-v-1a307df7]{text-transform:capitalize}.color-picker[data-v-76cd4aed]{user-select:none;--picker-color-radius:2px;background:0 0;width:240px;margin-bottom:-10px;position:relative}.picker-saturation-wrap[data-v-76cd4aed]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-76cd4aed]{gap:4px;display:flex}.picker-sliders[data-v-76cd4aed]{flex:1;padding:4px 0}.picker-hue-wrap[data-v-76cd4aed]{height:10px;position:relative}.picker-alpha-wrap[data-v-76cd4aed]{height:10px;margin-top:4px;position:relative;overflow:hidden}.picker-color-wrap[data-v-76cd4aed]{border-radius:4px;outline:1px dashed rgba(102,102,102,.12);width:24px;height:24px;margin-top:4px;position:relative;overflow:hidden}.picker-color-wrap .checkerboard[data-v-76cd4aed]{background-size:auto}.picker-current-color[data-v-76cd4aed]{z-index:2;position:absolute;top:0;bottom:0;left:0;right:0}.picker-field[data-v-76cd4aed]{gap:8px;margin-bottom:8px;display:flex}.picker-field .transparent[data-v-76cd4aed]{border-radius:var(--picker-color-radius);cursor:pointer;outline:1px solid #f1f1f1;width:24px;height:24px;margin-top:4px;position:relative;overflow:hidden}.picker-field .transparent[data-v-76cd4aed]:after{content:\"\";background-color:red;width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg)}.picker-field .transparent .checkerboard[data-v-76cd4aed]{background-size:auto}.picker-field .straw[data-v-76cd4aed]{color:#7e7e7e;border-radius:var(--picker-color-radius);cursor:pointer;background-color:#f5f5f5;outline:1px solid #f1f1f1;justify-content:center;align-items:center;width:24px;height:24px;margin-top:4px;display:flex}.picker-field .straw .straw-icon[data-v-76cd4aed]{fill:currentColor;width:20px;height:20px}.picker-field .input[data-v-76cd4aed]{flex:1}.picker-presets[data-v-76cd4aed]{flex-wrap:wrap;gap:8px;display:flex}.picker-presets-color[data-v-76cd4aed]{border-radius:var(--picker-color-radius);cursor:pointer;outline:.5px solid #aaa;flex-shrink:0;width:7%;height:0;margin-bottom:3.33333%;padding-bottom:7%;position:relative}.picker-presets-color[data-v-76cd4aed]:nth-child(10n){margin-right:0}.picker-presets-color.alpha[data-v-76cd4aed]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-76cd4aed]{border-radius:var(--picker-color-radius);position:absolute;top:0;bottom:0;left:0;right:0}.recent-colors-title[data-v-76cd4aed]{margin-bottom:4px;font-size:12px}.color-trigger[data-v-0d80d89d]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-0d80d89d]:hover{background:var(--Fills-F1)}.color-trigger[data-v-aa4f600c]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-aa4f600c]:hover{background:var(--Fills-F1)}.slider[data-v-d0ca9baa]{-webkit-appearance:none;appearance:none;background:var(--Fills-F2);border-radius:2px;outline:none;width:100px;height:4px}.slider[data-v-d0ca9baa]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--Colors-KMBlue,#1783ff);cursor:pointer;border:2px solid var(--Bg-Primary);width:14px;height:14px;box-shadow:0 0 0 1px var(--Fills-F2);border-radius:50%}.slider[data-v-d0ca9baa]::-moz-range-thumb{background:var(--Colors-KMBlue,#1783ff);cursor:pointer;border:2px solid var(--Bg-Primary);width:14px;height:14px;box-shadow:0 0 0 1px var(--Fills-F2);border-radius:50%}.opacity-icon[data-v-3d6a8c64]{color:var(--Labels-Primary);cursor:pointer;padding:6px}.opacity-icon[data-v-3d6a8c64]:hover{background:var(--Fills-F1);border-radius:6px}.slider-wrap[data-v-3d6a8c64]{color:var(--Labels-Primary);align-items:center;gap:8px;padding:8px 12px;font-size:14px;display:flex}.slider-wrap .slider-value[data-v-3d6a8c64]{text-align:right;min-width:3em}.float-bar-divider[data-v-a8a9d672]{background-color:var(--Fills-F2);width:1px;height:24px}.theme-text-style-item[data-v-74d26fc4]{box-sizing:border-box;text-align:left;white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;width:100%;min-width:0;min-height:28px;padding:4px 6px;display:flex;overflow:hidden}.theme-text-style-item-name[data-v-74d26fc4]{min-width:0;color:var(--Labels-Primary);text-align:left;direction:auto;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.theme-text-style-item-meta[data-v-74d26fc4]{min-width:0;color:var(--Labels-Tertiary);text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;align-items:center;gap:4px;font-size:10px;font-weight:400;line-height:14px;display:flex;overflow:hidden}.color-picker-wrapper[data-v-3191f4d8]{padding:10px}.text-style-menu-item[data-v-3191f4d8]{box-sizing:border-box;text-align:left;justify-content:space-between;align-items:center;gap:12px;width:204px;min-width:204px;padding:0 6px;display:flex}.text-style-select[data-v-3191f4d8] .menu{border-radius:16px;padding:8px}.text-style-select[data-v-3191f4d8] .menu-item{border-radius:8px;height:auto;padding:0;transition:none}.text-style-select[data-v-3191f4d8] .menu-item:hover,.text-style-select[data-v-3191f4d8] .menu-item.active{background:0 0}.text-style-trigger-label[data-v-3191f4d8]{text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:7em;display:inline-block;overflow:hidden}.text-style-extra[data-v-3191f4d8]{border-top:.5px solid var(--Separators-S1);height:28px;color:var(--Labels-Primary);cursor:pointer;border-radius:8px;align-items:center;gap:8px;margin:6px 0 0;padding:4px 6px;font-size:14px;line-height:20px;display:flex}.text-style-extra[data-v-3191f4d8]:hover{background:var(--Fills-F1)}.font-divider[data-v-3191f4d8]{background-color:var(--Separators-S1);height:1px;margin:4px 8px}.font-menu-item[data-v-3191f4d8]{white-space:nowrap;text-align:center;flex:1;padding:4px 8px;font-size:14px}.font-menu-item-image[data-v-3191f4d8]{object-fit:contain;flex:none;width:150px;height:25px;margin:0 auto}.font-trigger-label[data-v-3191f4d8]{text-overflow:ellipsis;white-space:nowrap;max-width:7em;display:inline-block;overflow:hidden}.unsupported-font-trigger[data-v-3191f4d8]{align-items:center;gap:4px;min-width:0;max-width:7em;display:inline-flex}.unsupported-font-icon[data-v-3191f4d8]{color:var(--Colors-Orange);flex:none}.unsupported-font-label[data-v-3191f4d8]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.float-line .latex-button[data-v-3191f4d8]{padding-left:4px;transition:color .3s}.float-line .latex-button.has-latex[data-v-3191f4d8]{color:var(--Colors-KMBlue)}.latex-pool-container[data-v-3191f4d8]{padding:8px 12px}.color-trigger[data-v-58b0b252]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-58b0b252]:hover{background:var(--Fills-F1)}.outline-trigger[data-v-2bba824e]{cursor:pointer;min-width:40px;height:32px;color:var(--Labels-Primary);border-radius:6px;justify-content:center;align-items:center;font-size:13px;display:flex}.outline-trigger[data-v-2bba824e]:hover{background:var(--Fills-F1)}.outline-none[data-v-2bba824e]{font-size:12px}.border-number-menu[data-v-2bba824e] .number-menu-input{width:1em}.outline-preview[data-v-2bba824e]{justify-content:center;align-items:center;width:40px;display:flex}.outline-line[data-v-2bba824e]{border-top:2px solid;width:24px;height:0}.outline-line.solid[data-v-2bba824e]{border-top-style:solid}.outline-line.dash[data-v-2bba824e]{border-top-style:dashed}.outline-line.dot[data-v-2bba824e]{border-top-style:dotted}.outline-none-item[data-v-2bba824e]{color:var(--Labels-Secondary);font-size:13px}.color-trigger[data-v-2bba824e]{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.color-trigger[data-v-2bba824e]:hover{background:var(--Fills-F1)}.color-square[data-v-2bba824e]{border-radius:2px;width:16px;height:16px;box-shadow:0 0 4px rgba(0,0,0,.2)}.color-picker-wrapper[data-v-2bba824e]{padding:10px}.shape-pool-panel[data-v-48b29257]{box-sizing:border-box;background:var(--Bg-Tertiary);width:342px;padding:8px}.shape-pool-content[data-v-48b29257]{--pool-height:136px;width:326px;max-height:511px;overflow:auto}.pool-container[data-v-48b29257]{box-sizing:border-box;padding:0;overflow:hidden}.color-picker-wrapper[data-v-48b29257]{padding:10px}.line-arrow-preview[data-v-19c1ad29]{display:block;overflow:visible}[data-v-043f4c70] .line-edit-toggle.is-active{color:var(--Colors-Yellow);background-color:var(--Others-LightYellowBg)}[data-v-043f4c70] .line-edit-toggle.is-active:hover{background-color:var(--Others-LightYellowBg-hover)}[data-v-043f4c70] .line-curve-select,[data-v-043f4c70] .line-arrow-select{color:var(--Labels-Tertiary)}[data-v-043f4c70] .line-curve-select:hover,[data-v-043f4c70] .line-curve-select.is-active,[data-v-043f4c70] .line-arrow-select:hover,[data-v-043f4c70] .line-arrow-select.is-active{color:var(--Colors-KMBlue)}[data-v-043f4c70] .line-curve-select .menu-select-title,[data-v-043f4c70] .line-arrow-select .menu-select-title{padding:2px 6px}.color-picker-wrapper[data-v-d44cb64f]{padding:10px}.font-divider[data-v-d44cb64f]{background-color:var(--Separators-S1);height:1px;margin:4px 8px}.font-menu-item[data-v-d44cb64f]{white-space:nowrap;text-align:center;flex:1;padding:4px 8px;font-size:14px}.font-menu-item-image[data-v-d44cb64f]{object-fit:contain;flex:none;width:150px;height:25px;margin:0 auto}.font-trigger-label[data-v-d44cb64f]{text-overflow:ellipsis;white-space:nowrap;max-width:7em;display:inline-block;overflow:hidden}.unsupported-font-trigger[data-v-d44cb64f]{align-items:center;gap:4px;min-width:0;max-width:7em;display:inline-flex}.unsupported-font-icon[data-v-d44cb64f]{color:var(--Colors-Orange);flex:none}.unsupported-font-label[data-v-d44cb64f]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.float-line .latex-button[data-v-d44cb64f]{padding-left:4px;transition:color .3s}.float-line .latex-button.has-latex[data-v-d44cb64f]{color:var(--Colors-KMBlue)}.latex-pool-container[data-v-d44cb64f]{padding:8px 12px}.table-bar[data-v-22460336]{overflow:hidden}.expand-enter-active[data-v-22460336],.expand-leave-active[data-v-22460336]{max-height:200px;transition:all .2s}.expand-enter-from[data-v-22460336],.expand-leave-to[data-v-22460336]{opacity:0;max-height:0}.color-picker-wrapper[data-v-22460336]{padding:10px}.table-line[data-v-22460336] .delete-table svg{color:var(--Colors-Red)}.table-style-trigger-label[data-v-22460336]{text-overflow:ellipsis;max-width:7em;display:inline-block;overflow:hidden}.float-bar-data-table[data-v-7fb55634]{--cell-width:64px;--cell-max-width:180px;min-width:calc(var(--cell-width) * 2);overscroll-behavior:contain;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1);max-width:calc(100vw - 32px);max-height:240px;box-shadow:0 4px 16.4px 0 var(--MaskBg-Light);border-radius:12px;overflow:auto}.float-bar-data-table .data-table[data-v-7fb55634]{border-collapse:collapse;table-layout:fixed;width:auto;color:var(--Labels-Primary);font-size:12px}.float-bar-data-table .data-table thead[data-v-7fb55634]{z-index:1;background:var(--Bg-Secondary);position:sticky;top:0}.float-bar-data-table .data-table th[data-v-7fb55634],.float-bar-data-table .data-table td[data-v-7fb55634]{width:var(--cell-width);min-width:var(--cell-width);max-width:var(--cell-max-width);box-sizing:border-box;text-align:left;border:1px solid var(--Fills-F2);padding:0}.float-bar-data-table .data-table th[data-v-7fb55634]:first-child,.float-bar-data-table .data-table .data-table-index[data-v-7fb55634]{width:44px;min-width:44px;color:var(--Labels-Tertiary);padding:8px}.float-bar-data-table .data-table th[data-v-7fb55634]{color:var(--Labels-Secondary);background:var(--Fills-F1);cursor:default;padding:8px;font-weight:500}.float-bar-data-table .data-table th.is-color-pickable[data-v-7fb55634],.float-bar-data-table .data-table .data-table-index.is-color-pickable[data-v-7fb55634]{cursor:pointer}.float-bar-data-table .data-table thead tr th[data-v-7fb55634]{border-top:none}.float-bar-data-table .data-table thead tr th[data-v-7fb55634]:first-child,.float-bar-data-table .data-table tbody tr td[data-v-7fb55634]:first-child{border-left:none}.float-bar-data-table .data-table thead tr th[data-v-7fb55634]:last-child,.float-bar-data-table .data-table tbody tr td[data-v-7fb55634]:last-child{border-right:none}.float-bar-data-table .data-table tbody tr:last-child td[data-v-7fb55634]{border-bottom:none}.float-bar-data-table .data-table tr[data-v-7fb55634]:nth-child(2n){background:var(--Fills-F1)}.float-bar-data-table .data-table tbody tr[data-v-7fb55634]:hover{background:var(--Fills-F1-hover)}.float-bar-data-table .data-table th.active[data-v-7fb55634],.float-bar-data-table .data-table .data-table-index.active[data-v-7fb55634]{color:var(--Always-White);background:var(--Colors-KMBlue)}.float-bar-data-table .data-table .active[data-v-7fb55634]{background:var(--Colors-KMBlue-active)}.float-bar-data-table .data-table .data-show[data-v-7fb55634]{box-sizing:border-box;width:100%;min-width:0;color:var(--Labels-Primary);white-space:nowrap;text-overflow:ellipsis;cursor:text;background:0 0;border:none;outline:none;padding:8px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4;display:block;overflow:hidden}.float-bar-data-table .data-table .data-table-input[data-v-7fb55634]{width:100%;min-width:0;max-width:none}.float-bar-data-table .data-table .data-table-input[data-v-7fb55634]:focus{background:var(--Bg-Primary);box-shadow:0 0 0 .5px var(--Colors-KMBlue-active) inset}.float-bar-data-table .data-table .color-swatch[data-v-7fb55634]{vertical-align:middle;border-radius:2px;width:8px;height:8px;margin-right:4px;display:inline-block}.chart-data-popover-content{box-shadow:none!important;background:0 0!important;overflow:visible!important}.chart-data-panel[data-v-4b22591b]{max-width:calc(100vw - 32px);position:relative}.chart-color-picker[data-v-4b22591b]{z-index:2;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1);box-shadow:0 4px 16.4px 0 var(--MaskBg-Light);border-radius:12px;padding:10px;position:absolute;top:0;left:calc(100% + 8px)}.chart-color-picker.on-left[data-v-4b22591b]{left:auto;right:calc(100% + 8px)}.chart-color-picker.is-overlay[data-v-4b22591b]{top:8px;left:auto;right:8px}.chart-title-editor[data-v-4b22591b]{padding:8px}.chart-title-input[data-v-4b22591b]{box-sizing:border-box;border:.5px solid var(--Separators-S1);width:220px;height:32px;color:var(--Labels-Primary);background:var(--Bg-Primary);border-radius:8px;outline:none;padding:0 10px;font-size:13px}.chart-title-input[data-v-4b22591b]:focus{border-color:var(--Colors-KMBlue)}.chart-color-trigger[data-v-4b22591b]{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:32px;height:28px;display:flex}.chart-color-trigger[data-v-4b22591b]:hover{background:var(--Fills-F1)}.chart-color-trigger-swatch[data-v-4b22591b]{border:1px solid var(--Separators-S1);border-radius:4px;width:18px;height:18px}.color-picker-wrapper[data-v-4b22591b]{padding:10px}.icon-pool-panel[data-v-25e895d1]{box-sizing:border-box;background:var(--Bg-Tertiary);width:342px;padding:8px}.icon-pool-content[data-v-25e895d1]{--pool-height:136px;width:326px;max-height:511px;overflow:auto}.pool-container[data-v-25e895d1]{box-sizing:border-box;padding:0;overflow:hidden}.color-picker-wrapper[data-v-25e895d1]{padding:10px}.float-bar-annotation-entry[data-v-ee2eed39]{flex:none;align-items:center;display:inline-flex}.float-bar[data-v-58c83d9e]{box-sizing:border-box;white-space:nowrap;z-index:var(--zindex-floatbar,101);background:var(--Bg-Primary90);backdrop-filter:blur(6px);max-width:100vw;box-shadow:0 4px 16.4px 0 var(--MaskBg-Light);border:.5px solid var(--Separators-S1);border-radius:16px;padding:8px;position:fixed}.float-bar[data-v-58c83d9e] .float-line{align-items:center;gap:8px;min-height:32px;display:flex}.float-bar[data-v-58c83d9e] .toggle-menu,.float-bar[data-v-58c83d9e] .popover-menu,.float-bar[data-v-58c83d9e] .menu-select,.float-bar[data-v-58c83d9e] .number-menu,.float-bar[data-v-58c83d9e] .color-trigger,.float-bar[data-v-58c83d9e] .latex-button{color:var(--Labels-Primary);border-radius:12px}.float-bar[data-v-58c83d9e] .menu-select-title,.float-bar[data-v-58c83d9e] .popover-menu-trigger{border-radius:12px}.float-bar[data-v-58c83d9e] .menu-select-title-icon,.float-bar[data-v-58c83d9e] .menu-select-title-caret,.float-bar[data-v-58c83d9e] .popover-menu-caret,.float-bar[data-v-58c83d9e] .number-menu-handle,.float-bar[data-v-58c83d9e] svg{color:var(--Labels-Primary)}.float-bar .float-bar-tools[data-v-58c83d9e]{flex:none;align-items:center;gap:8px;display:inline-flex}.float-bar .tool-label[data-v-58c83d9e]{color:var(--Labels-Secondary);text-transform:capitalize;font-size:14px}.float-bar-slide-enter-active[data-v-58c83d9e],.float-bar-slide-leave-active[data-v-58c83d9e]{transition:opacity .18s,transform .18s}.float-bar-slide-enter-from[data-v-58c83d9e],.float-bar-slide-leave-to[data-v-58c83d9e]{opacity:0;transform:translateY(-10px)}.float-bar-slide-enter-to[data-v-58c83d9e],.float-bar-slide-leave-from[data-v-58c83d9e]{opacity:1;transform:translateY(0)}.mouse-selection[data-v-d0bdfee6]{border:1px solid var(--Colors-KMBlue);z-index:200;pointer-events:none;background:rgba(68,114,196,.1);position:absolute}.alignment-guides[data-v-1a17ca3a]{pointer-events:none;z-index:99;position:absolute;overflow:visible}.position-guide[data-v-1a17ca3a],.measurement-guide-outline[data-v-1a17ca3a],.measurement-guide-inner[data-v-1a17ca3a],.provider-outline[data-v-1a17ca3a]{vector-effect:non-scaling-stroke}.position-guide[data-v-1a17ca3a]{stroke:var(--Colors-KMBlue,#4472c4);stroke-width:1px;stroke-dasharray:4 4}.measurement-guide-outline[data-v-1a17ca3a],.measurement-guide-inner[data-v-1a17ca3a],.provider-outline[data-v-1a17ca3a]{fill:none}.measurement-guide-outline[data-v-1a17ca3a],.measurement-guide-inner[data-v-1a17ca3a]{stroke-linecap:round;stroke-linejoin:round}.measurement-guide-outline[data-v-1a17ca3a]{stroke:var(--Colors-KMBlue,#1783ff);stroke-width:2px}.measurement-guide-inner[data-v-1a17ca3a]{stroke:#fff;stroke-width:1px}.provider-outline[data-v-1a17ca3a]{stroke:var(--Colors-KMBlue,#1783ff);stroke-width:2px}.canvas-sweeping-light[data-v-b12da33b]{background:var(--Fills-F1);z-index:98;mix-blend-mode:luminosity;cursor:not-allowed;border-radius:12px;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;overflow:hidden}.canvas-sweeping-light[data-v-b12da33b]:after{content:\"\";opacity:.3;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 18%,#fff 86%,rgba(255,255,255,0) 92%,rgba(255,255,255,0) 100%);width:84%;height:100%;animation:2s ease-out infinite canvas-sweeping-light-b12da33b;position:absolute;top:0;left:-160%}@keyframes canvas-sweeping-light-b12da33b{0%{left:-160%}to{left:112%}}.ppt-annotation-element-hover[data-v-6a5aec07]{z-index:112;box-sizing:border-box;border:1px solid var(--Colors-KMBlue);pointer-events:none;transform-origin:50%;position:absolute}.ppt-annotation-marker[data-v-6a5aec07]{z-index:115;transform-origin:0 0;cursor:auto;align-items:flex-start;width:32px;height:32px;display:flex;position:absolute;transform:translateY(-100%)}.ppt-annotation-marker[data-v-6a5aec07]:before{content:\"\";z-index:0;border-radius:18px;position:absolute;top:-10px;bottom:-10px;left:-10px;right:-10px}.ppt-annotation-marker.active[data-v-6a5aec07]{z-index:125}.ppt-annotation-cursor[data-v-6a5aec07]{z-index:118;pointer-events:none;transform-origin:50%;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20fill='none'%20viewBox='0%200%2036%2036'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M17.85%206C11.14%206%205.7%2011.44%205.7%2018.15c0%202.584.805%204.976%202.178%206.943l.425.61L6.378%2030.3h11.47C24.559%2030.3%2030%2024.86%2030%2018.15S24.56%206%2017.85%206M3%2018.15C3%209.948%209.648%203.3%2017.85%203.3S32.7%209.948%2032.7%2018.15%2026.05%2033%2017.85%2033H5.7a2.25%202.25%200%200%201-2.075-3.12l1.621-3.872A14.8%2014.8%200%200%201%203%2018.15'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M5.7%2018.15C5.7%2011.44%2011.14%206%2017.85%206S30%2011.44%2030%2018.15%2024.559%2030.3%2017.849%2030.3H6.378l1.925-4.598-.425-.609A12.1%2012.1%200%200%201%205.7%2018.15'/%3e%3cmask%20id='a'%20width='35'%20height='35'%20x='0'%20y='.3'%20fill='%23000'%20maskUnits='userSpaceOnUse'%3e%3cpath%20fill='%23fff'%20d='M0%20.3h35v35H0z'/%3e%3cpath%20d='M17.85%203.3c8.2%200%2014.85%206.648%2014.85%2014.85%200%208.2-6.65%2014.85-14.85%2014.85H5.7a2.25%202.25%200%200%201-2.074-3.12l1.622-3.871A14.8%2014.8%200%200%201%203%2018.149C3%209.95%209.648%203.3%2017.85%203.3m0%202.7C11.14%206%205.7%2011.44%205.7%2018.15c0%202.583.805%204.976%202.178%206.944l.424.608L6.378%2030.3h11.47C24.558%2030.3%2030%2024.86%2030%2018.15S24.56%206%2017.85%206m-4.42%2010.2a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35m9.3%200a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35'/%3e%3c/mask%3e%3cpath%20fill='%23000'%20fill-opacity='.9'%20d='M17.85%203.3c8.2%200%2014.85%206.648%2014.85%2014.85%200%208.2-6.65%2014.85-14.85%2014.85H5.7a2.25%202.25%200%200%201-2.074-3.12l1.622-3.871A14.8%2014.8%200%200%201%203%2018.149C3%209.95%209.648%203.3%2017.85%203.3m0%202.7C11.14%206%205.7%2011.44%205.7%2018.15c0%202.583.805%204.976%202.178%206.944l.424.608L6.378%2030.3h11.47C24.558%2030.3%2030%2024.86%2030%2018.15S24.56%206%2017.85%206m-4.42%2010.2a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35m9.3%200a2.175%202.175%200%201%201%200%204.35%202.175%202.175%200%200%201%200-4.35'/%3e%3cpath%20fill='%23fff'%20d='M17.85%203.3V1.05zM32.7%2018.15h2.25zM5.7%2033v2.25zm-2.074-3.12-2.076-.868zm1.622-3.871%202.075.87.45-1.075-.617-.987zM3%2018.149H.75zM17.85%206V3.75zM5.7%2018.15H3.45zm2.178%206.944L6.032%2026.38zm.424.608%202.076.869.478-1.142-.709-1.015zM6.378%2030.3l-2.076-.87-1.305%203.12h3.38zM30%2018.15h2.25zM13.43%2016.2v-2.25zm2.175%202.175h2.25zM13.43%2020.55v2.25zm-2.174-2.175h-2.25zM22.729%2016.2v-2.25zm2.175%202.175h2.25zM22.73%2020.55v2.25zm-2.175-2.175h-2.25zM17.85%203.3v2.25c6.96%200%2012.6%205.641%2012.601%2012.6h4.5c0-9.445-7.657-17.1-17.1-17.1zM32.7%2018.15h-2.25c0%206.958-5.642%2012.6-12.6%2012.6v4.5c9.443%200%2017.1-7.657%2017.1-17.1zM17.85%2033v-2.25H5.7v4.5h12.15zM5.7%2033l.001-2.25-2.075-.87-2.076-.868c-1.24%202.965.936%206.238%204.15%206.238zm-2.074-3.12%202.075.87%201.622-3.872-2.075-.87-2.075-.869-1.623%203.873zm1.622-3.871%201.908-1.192a12.54%2012.54%200%200%201-1.906-6.668H.75c0%203.318.949%206.425%202.59%209.052zM3%2018.149h2.25c0-6.958%205.64-12.599%2012.6-12.6v-4.5C8.405%201.05.75%208.707.75%2018.15zM17.85%206V3.75c-7.953%200-14.4%206.447-14.4%2014.4h4.5c0-5.468%204.432-9.9%209.9-9.9zM5.7%2018.15H3.45c0%203.058.954%205.898%202.582%208.231l1.846-1.287%201.845-1.288A9.84%209.84%200%200%201%207.95%2018.15zm2.178%206.944-1.845%201.288.425.608%201.844-1.288%201.845-1.288-.425-.608zm.424.608-2.075-.869-1.925%204.598%202.076.869%202.075.869%201.925-4.598zM6.378%2030.3v2.25h11.47v-4.5H6.378zm11.47%200v2.25c7.953%200%2014.402-6.447%2014.402-14.4h-4.5c0%205.467-4.434%209.9-9.902%209.9zM30%2018.15h2.25c0-7.953-6.448-14.4-14.4-14.4v4.5c5.467%200%209.9%204.432%209.9%209.9zM13.43%2016.2v2.25a.075.075%200%200%201-.075-.075h4.5a4.425%204.425%200%200%200-4.424-4.425zm2.175%202.175h-2.25c0-.042.034-.075.075-.075v4.5a4.425%204.425%200%200%200%204.425-4.425zM13.43%2020.55V18.3c.042%200%20.076.034.076.075h-4.5A4.425%204.425%200%200%200%2013.43%2022.8zm-2.174-2.175h2.25a.075.075%200%200%201-.076.075v-4.5a4.425%204.425%200%200%200-4.424%204.425zM22.729%2016.2v2.25a.075.075%200%200%201-.075-.075h4.5a4.425%204.425%200%200%200-4.425-4.425zm2.175%202.175h-2.25c0-.042.034-.075.075-.075v4.5a4.425%204.425%200%200%200%204.425-4.425zM22.73%2020.55V18.3c.042%200%20.075.034.075.075h-4.5A4.425%204.425%200%200%200%2022.73%2022.8zm-2.175-2.175h2.25a.075.075%200%200%201-.075.075v-4.5a4.425%204.425%200%200%200-4.425%204.425z'%20mask='url(%23a)'/%3e%3c/svg%3e\") 50%/36px 36px no-repeat;width:36px;height:36px;position:absolute}.ppt-annotation-marker-pin[data-v-6a5aec07],.ppt-annotation-draft-pin[data-v-6a5aec07]{z-index:2;box-sizing:border-box;border:2px solid var(--Bg-Primary);background:var(--Labels-Primary);width:32px;height:32px;color:var(--Bg-Primary);cursor:pointer;border-radius:16px 16px 16px 0;flex:none;justify-content:center;align-items:center;padding:0;font-size:14px;font-weight:500;line-height:20px;display:flex;position:relative;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.ppt-annotation-marker.active .ppt-annotation-marker-pin[data-v-6a5aec07],.ppt-annotation-marker-pin[data-v-6a5aec07]:hover{background:var(--Labels-Primary-hover)}.ppt-annotation-popover[data-v-6a5aec07]{z-index:1;box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Primary);backdrop-filter:blur(6px);border-radius:10px;flex-direction:column;justify-content:center;align-items:flex-end;gap:4px;width:max-content;min-width:0;max-width:240px;min-height:64px;padding:10px 12px;display:flex;position:absolute;top:0;left:42px;box-shadow:0 4px 8.2px rgba(0,0,0,.1)}.ppt-annotation-marker.is-flipped .ppt-annotation-popover[data-v-6a5aec07]{left:auto;right:42px}.ppt-annotation-popover-fade-enter-active[data-v-6a5aec07],.ppt-annotation-popover-fade-leave-active[data-v-6a5aec07]{transition:opacity .16s}.ppt-annotation-popover-fade-enter-from[data-v-6a5aec07],.ppt-annotation-popover-fade-leave-to[data-v-6a5aec07]{opacity:0}.ppt-annotation-text[data-v-6a5aec07]{-webkit-appearance:none;appearance:none;width:100%;min-width:0;max-width:none;color:var(--Labels-Primary);cursor:text;font:inherit;text-align:left;white-space:pre-wrap;word-break:break-word;background:0 0;border:0;flex:0 auto;align-self:stretch;margin:0;padding:0;font-size:14px;line-height:20px;display:block}.ppt-annotation-actions[data-v-6a5aec07]{flex:none;justify-content:flex-end;align-items:center;gap:4px;width:100%;height:20px;display:flex}.ppt-annotation-action[data-v-6a5aec07]{width:20px;height:20px;color:var(--Labels-Tertiary);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.ppt-annotation-action[data-v-6a5aec07]:hover{color:var(--Labels-Primary)}.ppt-annotation-action.is-delete[data-v-6a5aec07]:hover{color:var(--Colors-Red)}.ppt-annotation-draft[data-v-6a5aec07]{z-index:120;cursor:auto;gap:10px;width:282px;max-width:calc(100% - 32px);display:flex;position:absolute;transform:translateY(-32px)}.ppt-annotation-draft.is-flipped[data-v-6a5aec07]{flex-direction:row-reverse;transform:translate(calc(32px - 100%),-32px)}.ppt-annotation-draft-pin[data-v-6a5aec07]{background:var(--Colors-KMBlue);border-color:transparent}.ppt-annotation-draft-card[data-v-6a5aec07]{box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Primary);backdrop-filter:blur(6px);border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:4px;min-width:0;min-height:64px;padding:10px 12px;display:flex;position:relative;box-shadow:0 4px 8.2px rgba(0,0,0,.1)}.ppt-annotation-draft-card.is-multiline[data-v-6a5aec07]{border-radius:10px}.ppt-annotation-input[data-v-6a5aec07]{-webkit-appearance:none;appearance:none;resize:none;box-sizing:border-box;width:100%;min-width:0;height:20px;min-height:20px;max-height:100px;color:var(--Labels-Primary);scrollbar-width:none;word-break:break-word;background:0 0;border:0;border-radius:0;outline:none;flex:none;margin:0;padding:0;font-family:inherit;font-size:14px;line-height:20px;display:block}.ppt-annotation-draft-card.is-multiline .ppt-annotation-input[data-v-6a5aec07]{flex:none}.ppt-annotation-input[data-v-6a5aec07]::placeholder{color:var(--Labels-Tertiary)}.ppt-annotation-draft-actions[data-v-6a5aec07]{flex:none;justify-content:flex-end;align-items:center;width:100%;height:20px;display:flex}.ppt-annotation-send[data-v-6a5aec07]{width:20px;height:20px;color:var(--Labels-Primary);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;transition:opacity .18s;display:flex}.ppt-annotation-send[data-v-6a5aec07]:hover{opacity:.86}.ppt-annotation-send[data-v-6a5aec07]:disabled{color:var(--Fills-F3);cursor:not-allowed;opacity:1}.canvas[data-v-24abc95c]{padding:var(--canvas-padding-top) var(--canvas-padding-right) var(--canvas-padding-bottom) var(--canvas-padding-left);scrollbar-gutter:stable both-edges;user-select:none;scrollbar-width:none;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:auto}.canvas[data-v-24abc95c]::-webkit-scrollbar{display:none}.canvas-wrapper[data-v-24abc95c]{border-radius:12px;flex-shrink:0;margin:auto;position:relative;overflow:visible}.canvas.is-space-dragging .canvas-wrapper[data-v-24abc95c] *{cursor:grab!important}.canvas.is-canvas-dragging .canvas-wrapper[data-v-24abc95c] *{cursor:grabbing!important}.canvas.is-annotation-mode[data-v-24abc95c],.canvas.is-annotation-mode[data-v-24abc95c] :not(.ppt-annotation-draft):not(.ppt-annotation-draft *):not(.ppt-annotation-marker):not(.ppt-annotation-marker *){cursor:none!important}.canvas-borderline[data-v-24abc95c]{border:1px solid var(--Separators-S1);pointer-events:none;z-index:0;border-radius:12px;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;box-shadow:0 4px 16px rgba(0,0,0,.05)}.canvas-viewport[data-v-24abc95c]{z-index:1;transform-origin:0 0;position:absolute;top:0;left:0}.canvas-viewport.disabled[data-v-24abc95c]{cursor:not-allowed}.slide-background[data-v-24abc95c],.slide-background-image[data-v-24abc95c],.slide-background-mask[data-v-24abc95c]{border-radius:var(--canvas-scaled-radius);pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.slide-background-image[data-v-24abc95c]{display:block}.slide-background.is-loading[data-v-24abc95c]:after{content:\"\";border:2px solid rgba(0,0,0,.16);border-top-color:rgba(0,0,0,.48);border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;animation:.8s linear infinite slide-background-loading-24abc95c;position:absolute;top:50%;left:50%}.slide-background.is-error[data-v-24abc95c]:after{content:\"\";background:radial-gradient(circle at 74% 26%,#aeb4bd 0,#aeb4bd 4px,transparent 5px),linear-gradient(135deg,transparent 54%,#aeb4bd 55%,#aeb4bd 59%,transparent 60%),linear-gradient(45deg,transparent 48%,#aeb4bd 49%,#aeb4bd 53%,transparent 54%);border:2px solid #aeb4bd;border-radius:6px;width:56px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes slide-background-loading-24abc95c{to{transform:rotate(360deg)}}.create-overlay[data-v-24abc95c]{z-index:200;cursor:crosshair;width:100%;height:100%;position:absolute;top:0;left:0}.create-selection[data-v-24abc95c]{border:1px solid var(--Colors-KMBlue);background:var(--Others-KMBlue10);pointer-events:none;position:absolute}.create-line-selection[data-v-24abc95c]{pointer-events:none;position:absolute;overflow:visible}.theme-color-picker-mask[data-v-75b020e7]{z-index:2000;background:0 0;position:fixed;top:0;bottom:0;left:0;right:0}.theme-color-picker[data-v-75b020e7]{box-sizing:border-box;background:var(--Bg-Tertiary,var(--Bg-Primary));border-radius:12px;flex-direction:column;gap:4px;width:258px;padding:10px 9px 12px;display:flex;position:fixed;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.theme-color-picker[data-v-75b020e7] .color-picker{margin-bottom:0}.dialog-footer[data-v-75b020e7]{justify-content:flex-end;align-items:center;width:100%;display:flex}.dialog-actions[data-v-75b020e7]{align-items:center;gap:8px;margin-left:auto;display:flex}.dialog-button[data-v-75b020e7]{width:62px}.current-page-background-editor[data-v-f75e02be]{flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding:16px;display:flex}.section-title[data-v-f75e02be]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);font-size:12px;font-weight:500;line-height:18px}.segmented-control[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F2);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:28px;padding:2px;display:grid}.segmented-button[data-v-f75e02be]{min-width:0;height:24px;color:var(--Labels-Primary);cursor:pointer;text-align:center;background:0 0;border:0;border-radius:6px;padding:0;font-size:12px;font-weight:400;line-height:18px}.segmented-button.active[data-v-f75e02be]{background:var(--Bg-Primary);font-weight:500}.background-color-row[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F1);width:100%;height:32px;color:var(--Labels-Primary);cursor:pointer;letter-spacing:0;text-align:left;direction:ltr;border:0;border-radius:8px;align-items:center;gap:8px;padding:6px;font-size:10px;font-weight:400;line-height:14px;display:flex}.background-color-row[data-v-f75e02be]:hover{background:var(--Fills-F1)}.background-color-swatch[data-v-f75e02be]{box-sizing:border-box;border:.5px solid var(--Separators-S1);border-radius:4px;flex-shrink:0;width:20px;height:20px}.background-color-value[data-v-f75e02be]{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;font-weight:400;line-height:14px;overflow:hidden}.background-row-divider[data-v-f75e02be]{background:var(--Separators-S1);flex-shrink:0;width:.5px;height:18px}.background-opacity-input[data-v-f75e02be]{all:unset;width:24px;color:var(--Labels-Primary);text-align:right;font-size:12px;font-weight:400;line-height:14px}.background-opacity-input[data-v-f75e02be]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.background-opacity-input[data-v-f75e02be]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.background-opacity-postfix[data-v-f75e02be]{color:var(--Labels-Tertiary);flex-shrink:0;font-size:10px;font-weight:400;line-height:14px}.background-image-uploader[data-v-f75e02be]{box-sizing:border-box;border:.5px solid var(--Separators-S1);width:100%;height:128px;color:var(--Labels-Secondary);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:0;display:flex;position:relative;overflow:hidden}.background-image-uploader[data-v-f75e02be]:hover{background:var(--Fills-F1)}.background-image-fill[data-v-f75e02be]{width:100%;height:100%;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.background-image-upload-content[data-v-f75e02be]{z-index:1;color:var(--Labels-Secondary);flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:400;line-height:18px;display:inline-flex;position:relative}.background-image-controls[data-v-f75e02be]{grid-template-columns:minmax(0,1fr) 64px;gap:8px;width:100%;display:grid}.background-fit-select.menu-select[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F1);border:0;border-radius:8px;width:100%;height:32px}.background-fit-select.menu-select[data-v-f75e02be]:hover,.background-fit-select.menu-select.is-active[data-v-f75e02be]{background:var(--Fills-F1)}.background-fit-select.menu-select[data-v-f75e02be] .menu-select-title{box-sizing:border-box;width:100%;height:32px;color:var(--Labels-Primary);justify-content:space-between;padding:6px;font-size:12px;font-weight:400;line-height:18px}.background-fit-select.menu-select[data-v-f75e02be] .menu-select-title-caret{color:var(--Labels-Tertiary);flex-shrink:0;margin-left:0}.background-fit-select.menu-select[data-v-f75e02be] .menu-select-title-text{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.background-image-opacity[data-v-f75e02be]{box-sizing:border-box;background:var(--Fills-F1);height:32px;color:var(--Labels-Primary);border:0;border-radius:8px;justify-content:flex-end;align-items:center;gap:6px;padding:6px 8px;display:flex}.background-image-opacity[data-v-f75e02be]:hover{background:var(--Fills-F1)}.apply-all-button[data-v-f75e02be]{width:100%}.hidden-input[data-v-f75e02be]{display:none}.theme-color-section[data-v-134d434d]{border-bottom:.5px solid var(--Separators-S1);flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding:16px;display:flex}.section-title[data-v-134d434d]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);font-size:12px;font-weight:500;line-height:18px}.color-list[data-v-134d434d]{flex-wrap:wrap;align-items:center;gap:4px;width:100%;display:flex}.color-swatch[data-v-134d434d]{box-sizing:border-box;cursor:pointer;border:.5px solid var(--Separators-S1);border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.color-swatch[data-v-134d434d]:hover{border-color:var(--Separators-S1)}.color-swatch.active[data-v-134d434d]{border-color:var(--Colors-KMBlue)}.empty-state[data-v-134d434d]{border:.5px dashed var(--Separators-S1);width:100%;height:48px;color:var(--Labels-Tertiary);border-radius:8px;justify-content:center;align-items:center;display:flex}.style-dialog-mask[data-v-0d3d3f21]{z-index:2000;background:0 0;position:fixed;top:0;bottom:0;left:0;right:0}.style-dialog[data-v-0d3d3f21]{box-sizing:border-box;background:var(--Bg-Primary);border-radius:16px;flex-direction:column;gap:16px;width:258px;max-width:calc(100vw - 24px);padding:16px;display:flex;position:fixed;box-shadow:0 4px 8.2px rgba(0,0,0,.1)}.dialog-fields[data-v-0d3d3f21]{flex-direction:column;gap:6px;width:100%;display:flex}.preview[data-v-0d3d3f21]{border:.5px solid var(--Separators-S1);color:#333;scrollbar-width:none;-ms-overflow-style:none;background:#f5f5f5;border-radius:8px;height:100px;padding:6px;overflow-x:auto;overflow-y:hidden}.preview[data-v-0d3d3f21]::-webkit-scrollbar{display:none}.preview-content[data-v-0d3d3f21]{white-space:nowrap;justify-content:center;align-items:center;min-width:100%;height:100%;display:inline-flex}.field[data-v-0d3d3f21],.field-grid[data-v-0d3d3f21]{min-width:0}.field[data-v-0d3d3f21]{flex-direction:column;gap:4px;display:flex}.field.full[data-v-0d3d3f21]{width:100%}.field-grid[data-v-0d3d3f21]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}label[data-v-0d3d3f21]{color:var(--Labels-Secondary);font-size:10px;font-weight:500;line-height:14px}.theme-menu-control[data-v-0d3d3f21],.theme-number-control[data-v-0d3d3f21]{width:100%;min-width:0}.theme-select-menu.menu-select[data-v-0d3d3f21]{box-sizing:border-box;background:var(--Fills-F1);border:0;border-radius:8px;width:100%;height:30px;min-height:30px}.theme-select-menu.menu-select[data-v-0d3d3f21]:hover,.theme-select-menu.menu-select.is-active[data-v-0d3d3f21],.theme-select-menu.menu-select.is-active[data-v-0d3d3f21]:hover{background:var(--Fills-F1)}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-title{box-sizing:border-box;width:100%;height:30px;min-height:30px;color:var(--Labels-Primary);justify-content:space-between;padding:0 8px;font-size:12px;line-height:18px}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-title-text,.theme-select-menu.menu-select .theme-menu-label[data-v-0d3d3f21],.theme-select-menu.menu-select .unsupported-theme-font-trigger[data-v-0d3d3f21]{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-title-caret{color:var(--Labels-Tertiary);flex-shrink:0;margin-left:auto}.theme-select-menu.menu-select[data-v-0d3d3f21] .menu-select-menu{max-height:220px}.theme-number-control[data-v-0d3d3f21] .number-menu{box-sizing:border-box;background:var(--Fills-F1);width:100%;height:30px;min-height:30px;color:var(--Labels-Primary);border:0;border-radius:8px;padding:0 2px 0 8px;font-size:12px;line-height:18px}.theme-number-control[data-v-0d3d3f21] .number-menu:hover{background:var(--Fills-F1)}.theme-number-control[data-v-0d3d3f21] .number-menu-input{text-align:left;flex:1;min-width:0}.theme-number-control[data-v-0d3d3f21] .number-menu-postfix{color:var(--Labels-Primary);flex-shrink:0}.font-divider[data-v-0d3d3f21]{background-color:var(--Separators-S1);height:1px;margin:4px 8px}.font-menu-item[data-v-0d3d3f21]{white-space:nowrap;text-align:center;flex:1;padding:4px 8px;font-size:14px}.font-menu-item-image[data-v-0d3d3f21]{object-fit:contain;flex:none;width:150px;height:25px;margin:0 auto}.unsupported-theme-font-trigger[data-v-0d3d3f21]{align-items:center;gap:4px;display:inline-flex}.unsupported-theme-font-icon[data-v-0d3d3f21]{color:var(--Colors-Orange);flex:none}.unsupported-theme-font-text[data-v-0d3d3f21]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dialog-footer[data-v-0d3d3f21]{justify-content:flex-end;align-items:center;min-height:32px;display:flex}.dialog-actions[data-v-0d3d3f21]{gap:8px;margin-left:auto;display:flex}.dialog-button[data-v-0d3d3f21]{width:62px}.theme-editor[data-v-e470f150]{width:100%;height:100%;color:var(--Labels-Primary);background:var(--Bg-Primary);flex-direction:column;font-size:12px;display:flex;position:relative;overflow:hidden}.theme-editor-header[data-v-e470f150]{border-bottom:.5px solid var(--Separators-S1);box-sizing:border-box;flex-shrink:0;justify-content:space-between;align-items:center;height:52px;padding:8px 10px 8px 16px;display:flex}.theme-editor-title-wrap[data-v-e470f150]{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.theme-editor-title[data-v-e470f150]{color:var(--Labels-Primary);text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:16px;font-weight:400;line-height:24px;overflow:hidden}.icon-button[data-v-e470f150]{width:32px;height:32px;color:var(--Labels-Primary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-button[data-v-e470f150]:hover{background:var(--Fills-F1)}.theme-editor-body[data-v-e470f150]{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:auto}.section[data-v-e470f150]{border-bottom:.5px solid var(--Separators-S1);flex-direction:column;justify-content:center;gap:12px;padding:16px 0;display:flex}.section-title[data-v-e470f150]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);padding:0 16px;font-size:12px;font-weight:500;line-height:18px}.style-list[data-v-e470f150]{box-sizing:border-box;white-space:nowrap;flex-direction:column;align-items:flex-start;width:100%;padding:0 8px;display:flex}.style-row[data-v-e470f150]{width:100%;min-height:28px;color:var(--Labels-Primary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:4px 8px;display:flex}.style-row[data-v-e470f150]:hover,.style-row.active[data-v-e470f150]{background:var(--Fills-F2)}.style-row[data-v-e470f150]:focus{outline:none}.style-row[data-v-e470f150]:focus-visible{outline:none}.empty-state[data-v-e470f150]{border:.5px dashed var(--Separators-S1);height:72px;color:var(--Labels-Tertiary);border-radius:8px;justify-content:center;align-items:center;display:flex}.animation-panel[data-v-87fff02f]{width:100%;height:100%;color:var(--Labels-Primary);background:var(--Bg-Primary);flex-direction:column;font-size:12px;display:flex;position:relative;overflow:hidden}.animation-panel-header[data-v-87fff02f]{border-bottom:.5px solid var(--Separators-S1);box-sizing:border-box;flex-shrink:0;justify-content:space-between;align-items:center;height:52px;padding:8px 10px 8px 16px;display:flex}.animation-panel-title-wrap[data-v-87fff02f]{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.animation-panel-title[data-v-87fff02f]{color:var(--Labels-Primary);text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:16px;font-weight:400;line-height:24px;overflow:hidden}.animation-panel-body[data-v-87fff02f]{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:auto}.section[data-v-87fff02f]{flex-direction:column;justify-content:center;gap:12px;padding:16px 0;display:flex}.section.with-border[data-v-87fff02f]{border-bottom:.5px solid var(--Separators-S1)}.section-title[data-v-87fff02f]{box-sizing:border-box;width:100%;color:var(--Labels-Primary);padding:0 16px;font-size:12px;font-weight:500;line-height:18px}.animation-list[data-v-87fff02f]{box-sizing:border-box;flex-direction:column;gap:4px;width:100%;padding:0 8px;display:flex}.animation-item[data-v-87fff02f]{border-radius:8px}.animation-item[data-v-87fff02f]:hover{background:var(--Fills-F2)}[data-v-87fff02f] .dragging{opacity:.5}[data-v-87fff02f] .dragging-holder{border:1px dashed var(--Separators-S1);background:var(--Fills-F1);border-radius:8px}.animation-item-header[data-v-87fff02f]{box-sizing:border-box;cursor:pointer;align-items:center;gap:8px;width:100%;min-height:40px;padding:4px 8px;display:flex}.animation-item-order[data-v-87fff02f]{background:var(--Fills-F2);width:20px;height:20px;color:var(--Labels-Secondary);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;display:flex}.animation-item-info[data-v-87fff02f]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.animation-item-title[data-v-87fff02f]{color:var(--Labels-Primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.animation-item-category[data-v-87fff02f]{background:var(--Fills-F2);color:var(--Labels-Secondary);border-radius:4px;margin-right:4px;padding:1px 4px;font-size:10px;line-height:12px}.animation-item-target[data-v-87fff02f]{color:var(--Labels-Tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:14px;overflow:hidden}.animation-item-actions[data-v-87fff02f]{flex-shrink:0;align-items:center;gap:2px;display:flex}.animation-item-fields[data-v-87fff02f]{flex-direction:column;gap:10px;padding:8px 8px 12px 36px;display:flex}.field[data-v-87fff02f]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.field label[data-v-87fff02f]{color:var(--Labels-Secondary);font-size:11px;line-height:14px}.field-row[data-v-87fff02f]{gap:8px;display:flex}.animation-select[data-v-87fff02f]{width:100%;display:flex}.animation-select[data-v-87fff02f] .menu-select-title{flex:1}.animation-select[data-v-87fff02f] .menu-select-menu{width:100%}.animation-select[data-v-87fff02f] .menu-item.disabled{pointer-events:none;cursor:default;color:var(--Labels-Tertiary);font-size:11px}.path-input[data-v-87fff02f]{box-sizing:border-box;border:.5px solid var(--Separators-S1);background:var(--Bg-Primary);width:100%;height:28px;color:var(--Labels-Primary);border-radius:6px;padding:0 8px;font-family:monospace;font-size:12px}.path-input[data-v-87fff02f]:focus{border-color:var(--Labels-Secondary);outline:none}.empty-state[data-v-87fff02f]{border:.5px dashed var(--Separators-S1);height:72px;color:var(--Labels-Tertiary);border-radius:8px;justify-content:center;align-items:center;margin:0 16px;display:flex}.add-form[data-v-87fff02f]{flex-direction:column;gap:10px;padding:0 16px;display:flex}.pick-target[data-v-87fff02f]{align-items:center;gap:8px;min-height:28px;display:flex}.picked-element-label[data-v-87fff02f]{color:var(--Labels-Secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.add-button[data-v-87fff02f]{align-self:flex-start}.speaker-notes[data-v-3b014573]{z-index:var(--zindex-canvas);box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:6px;padding:0 12px 12px;transition:height .26s,padding .26s;display:flex;position:relative}.speaker-notes.hide[data-v-3b014573]{padding:0}.speaker-notes.hide .notes-content[data-v-3b014573]{opacity:0;visibility:hidden;pointer-events:none;transition:background-color .3s,color .3s,opacity .18s,visibility 0s linear .18s}.speaker-notes.hide .notes-splitter-handler[data-v-3b014573]{cursor:n-resize}.speaker-notes.dragging[data-v-3b014573]:not(.transitioning){transition:none}.notes-splitter[data-v-3b014573]{--splitter-color:transparent;width:auto;position:absolute;top:-10px;left:0;right:0}.notes-splitter .notes-splitter-handler[data-v-3b014573]{box-sizing:content-box;justify-content:center;align-items:center;min-width:48px;min-height:18px;padding:8px 12px;display:flex;position:relative}.notes-splitter .notes-splitter-affordance[data-v-3b014573]{box-sizing:border-box;background-color:var(--Separators-S1);border-radius:20px;justify-content:center;align-items:center;width:max-content;min-width:48px;max-width:48px;height:4px;padding:0;transition:background-color .3s,max-width .18s,height .18s,padding .18s;display:flex;overflow:hidden}.notes-splitter .notes-splitter-tooltip[data-v-3b014573]{color:var(--Labels-Primary);white-space:nowrap;text-overflow:ellipsis;opacity:0;pointer-events:none;font-size:10px;line-height:14px;transition:opacity .16s 80ms;overflow:hidden}.notes-splitter[data-v-3b014573] .splitter-line{justify-content:center;align-items:center;display:flex}.notes-splitter[data-v-3b014573] .splitter-line.active .notes-splitter-affordance,.notes-splitter[data-v-3b014573] .splitter-line:hover .notes-splitter-affordance{background-color:var(--Colors-KMBlue-hover)}.speaker-notes.hide .notes-splitter[data-v-3b014573]{top:-18px}.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line.active .notes-splitter-affordance,.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line:hover .notes-splitter-affordance{background-color:var(--Separators-S1);max-width:220px;height:18px;padding:2px 6px}.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line.active .notes-splitter-affordance .notes-splitter-tooltip,.speaker-notes.hide .notes-splitter[data-v-3b014573] .splitter-line:hover .notes-splitter-affordance .notes-splitter-tooltip{opacity:1}.notes-content[data-v-3b014573]{box-sizing:border-box;background:var(--Fills-F1);min-height:0;color:var(--Labels-Secondary);resize:none;opacity:1;visibility:visible;border:none;border-radius:12px;outline:none;flex:1;padding:12px;font-family:inherit;font-size:14px;line-height:22px;transition:background-color .3s,color .3s,opacity .18s;overflow:auto}.notes-content[data-v-3b014573]:hover:not(.disabled),.notes-content[data-v-3b014573]:focus{background:var(--Fills-F2);color:var(--Labels-Primary)}.notes-content[data-v-3b014573]::-webkit-scrollbar-track{margin:12px 0}.notes-content.disabled[data-v-3b014573]{cursor:not-allowed}.editor-app[data-v-ddddc63d]{background-color:var(--Bg-Primary);user-select:none;--topbar-height:52px;--zindex-canvas:50;--zindex-toolbar:95;--zindex-sidebar:100;--zindex-floatbar:101;--zindex-topbar:102;width:100vw;height:100vh;position:relative;overflow:hidden}.editor-app .top-bar[data-v-ddddc63d]{z-index:var(--zindex-topbar)}.editor-app .editor-content[data-v-ddddc63d]{height:calc(100vh - 52px);display:flex;position:relative}.editor-app .editor-content .side-bar[data-v-ddddc63d]{z-index:var(--zindex-sidebar);flex-shrink:0}.editor-app .editor-content .editor-container[data-v-ddddc63d]{background:var(--Bg-Secondary);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.editor-app .editor-content .editor-container .editor-bar[data-v-ddddc63d]{z-index:var(--zindex-toolbar)}.editor-app .editor-content .editor-container .canvas-workspace[data-v-ddddc63d]{background:var(--Bg-Secondary);flex-direction:column;flex:1;gap:22px;min-height:0;transition:gap .26s;display:flex;position:relative}.editor-app .editor-content .editor-container .canvas-workspace.notes-collapsed[data-v-ddddc63d],.editor-app .editor-content .editor-container .canvas-workspace.is-annotation-mode[data-v-ddddc63d]{gap:0}.editor-app .editor-content .editor-container .canvas-workspace.notes-dragging[data-v-ddddc63d]:not(.notes-transitioning),.editor-app .editor-content .editor-container .canvas-workspace.notes-dragging:not(.notes-transitioning) .toolbar-wrap[data-v-ddddc63d]{transition:none}.editor-app .editor-content .editor-container .toolbar-wrap[data-v-ddddc63d]{width:max-content;max-width:calc(100% - 40px);z-index:var(--zindex-toolbar);pointer-events:none;transition:bottom .26s;animation:.4s both toolbar-enter-ddddc63d;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.editor-app .editor-content .editor-container .toolbar-wrap[data-v-ddddc63d] .toolbar{pointer-events:auto}.editor-app .editor-content .editor-container .canvas[data-v-ddddc63d]{z-index:var(--zindex-canvas)}.editor-app .feedback-snackbar-wrap[data-v-ddddc63d]{z-index:200;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}@keyframes toolbar-enter-ddddc63d{0%{opacity:0;transform:translate(-50%,200%)}to{opacity:1;transform:translate(-50%)}}\n/*$vite$:1*/",document.head.appendChild(aa),oa={class:"version-menu"},na=["onClick"],la={class:"version-menu-item-main"},ia={class:"version-menu-item-title-row"},ra={class:"version-menu-item-title"},sa={key:0,class:"version-menu-item-latest"},da={class:"version-menu-item-subtitle"},ua=le(_({__name:"TopBarVersionMenu",setup(e){const{versionMenuItems:t,latestVersion:a,canUseVersionHistory:l,isVersionLoading:i,isHistoryPreview:r,historyPreviewVersionId:u,syncVersions:c,selectVersion:v}=se(),{t:m}=xe(),h=d(()=>{if(r.value&&null!==u.value){const e=t.value.find(e=>e.id===u.value);if(e)return e.version}return a.value}),g=async e=>{e&&(await c(),Ie("msh_nppt_version_list_show",{total:t.value.length}))};return(e,a)=>(B(),k(qt,{class:"version-popover","hide-caret":"",disabled:!D(l),"float-options":{teleport:!0,placement:"bottom",offset:8,align:"end",withinWindow:!0,zIndex:103},"onUpdate:open":g},{trigger:C(()=>[y("div",{class:o(["version-trigger",{disabled:!D(l)}])},[y("span",null,"V"+f(h.value),1),S(D(ze),{name:"Down_b",width:"12",height:"12"})],2)]),popover:C(()=>[y("div",oa,[(B(!0),p(n,null,W(D(t),e=>(B(),p("button",{key:e.id??"latest",type:"button",class:o(["version-menu-item",{active:e.isActive}]),onClick:t=>(e=>{i.value||v(e.id)})(e)},[y("span",la,[y("span",ia,[y("span",ra,f(e.title),1),e.isLatest?(B(),p("span",sa,f(D(m)("topBar.versionLatest")),1)):s("",!0)]),y("span",da,f(e.subtitle),1)]),S(D(ze),{class:o(["version-menu-item-check",{active:e.isActive}]),name:"Check",width:"20",height:"20"},null,8,["class"])],10,na))),128))])]),_:1},8,["disabled"]))}}),[["__scopeId","data-v-23d86d3d"]]),ca={class:"top-bar"},pa={class:"top-bar-left"},va={class:"title-editor"},fa=["title"],ma={class:"title-text-label"},ha={class:"top-bar-right"},ga={key:0,class:"export-dialog-trigger"},ba={key:1,class:"export-dialog-trigger"},xa={key:2,class:"share-dialog-trigger"},ya=_({__name:"TopBar",props:{isPresenterMode:{type:Boolean,default:!1}},emits:["showDiff","showThemeEditor","present","presenter","exitPresenter","toggleFullScreen","feedback","close"],setup(e,{emit:a}){const{meta:o,updateTitle:l}=Ct(),{isSaving:i,saveTip:r}=pe(),{selectedElementIds:m,handleElementId:g,collapsed:b,isEditable:w,exporting:_}=Et(),{isHistoryPreview:M,canUseVersionHistory:I,restoreHistoryVersion:z,returnLatestVersion:E}=se(),{isAnnotationMode:P,requestExitAnnotationMode:T}=ie(),{isOverseas:L}=ue(),{isSDK:F,functional:$}=fe(),{t:N}=xe(),{showModal:R}=Ce(),U=x(!1),j=x(!1),O=e,H=a,Y=x(""),X=x(!1),K=x(),W=x(),G=x(0),J=x(!1),Z=x(!1),Q=d(()=>!F.value&&!1),ee=()=>{w.value?(l(Y.value),X.value=!1):X.value=!1},ae=()=>{W.value&&(G.value=Math.max(G.value,W.value.scrollWidth))};V(Y,ae),V(()=>w.value,e=>{e||(X.value=!1)}),V(P,e=>{e&&(X.value=!1)});const oe=d(()=>b.value?N("topBar.fullscreen"):N("topBar.collapse")),ne=d(()=>!O.isPresenterMode&&(!w.value||P.value)),le=e=>{e.stopPropagation(),O.isPresenterMode?H("exitPresenter"):w.value&&!P.value&&(m.value=[],g.value=null,H("present"))},re=async()=>{if(w.value&&!P.value&&!U.value){U.value=!0;try{await R({component:()=>te(()=>t.import("./ExportDialog-legacy-Dnnjx5WA.js"),void 0),priority:1})}finally{U.value=!1}}},de=async()=>{if(!J.value){J.value=!0;try{await z()}finally{J.value=!1}}},ce=async()=>{if(!Z.value){Z.value=!0;try{await E()}finally{Z.value=!1}}},ve=()=>{w.value&&H("feedback")},me=async()=>{P.value&&!(await T())||H("close")};return(a,l)=>(B(),p("div",ca,[y("div",pa,[y("div",va,[X.value?q((B(),p("input",{key:0,ref_key:"titleInputRef",ref:W,type:"text",class:"title-input","onUpdate:modelValue":l[0]||(l[0]=e=>Y.value=e),style:v({width:`${G.value}px`}),onBlur:l[1]||(l[1]=e=>ee()),onKeydown:l[2]||(l[2]=h(e=>ee(),["enter"]))},null,36)),[[u,Y.value]]):(B(),p("div",{key:1,ref_key:"titleTextRef",ref:K,class:"title-text",onClick:l[3]||(l[3]=e=>{w.value&&!P.value&&(G.value=K.value?.offsetWidth??0,Y.value=o.value.title??"",X.value=!0,A(()=>{W.value?.focus(),ae(),W.value&&(W.value.scrollLeft=0)}))}),title:D(o).title},[y("span",ma,f(D(o).title||D(N)("basic.unnamedPresentation")),1)],8,fa)),D($).versionHistory?(B(),k(ua,{key:2})):s("",!0)])]),y("div",ha,[D(M)&&D($).versionHistory?(B(),p(n,{key:0},[S(D(Xt),{type:"outline",icon:"Refresh",disabled:!D(I),loading:J.value,onClick:de},{default:C(()=>[c(f(D(N)("topBar.restoreVersion")),1)]),_:1},8,["disabled","loading"]),S(D(Xt),{type:"primary",disabled:!D(I),loading:Z.value,onClick:ce},{default:C(()=>[c(f(D(N)("topBar.returnLatestVersion")),1)]),_:1},8,["disabled","loading"]),D($).export?(B(),p("span",ga,[S(D(Xt),{type:"outline",icon:"Output",class:"download-button",disabled:!D(I),onClick:l[4]||(l[4]=e=>re())},{default:C(()=>[c(f(D(N)("basic.export")),1)]),_:1},8,["disabled"])])):s("",!0)],64)):(B(),p(n,{key:1},[D(null)&&Q.value?(B(),k(D(null),{key:0,onShowDiff:l[5]||(l[5]=e=>H("showDiff")),onShowThemeEditor:l[6]||(l[6]=e=>H("showThemeEditor")),onPresenter:l[7]||(l[7]=e=>H("presenter"))})):s("",!0),D($).export?(B(),p("span",ba,[S(D(Xt),{type:"outline",icon:"Output",class:"download-button",disabled:!D(w)||D(P),onClick:l[8]||(l[8]=e=>re())},{default:C(()=>[c(f(D(N)("basic.export")),1)]),_:1},8,["disabled"])])):s("",!0),D($).share?(B(),p("span",xa,[S(D(Xt),{type:"outline",icon:"Share_a",class:"download-button",disabled:!D(w)||D(P),onClick:l[9]||(l[9]=e=>(async()=>{if(w.value&&!P.value&&!j.value&&!_.value){Ie("msh_nppt_export_tab_click",{type:"share",is_oversea:L.value},"type"),j.value=!0;try{await R({component:()=>te(()=>t.import("./ShareDialog-legacy-BHF4USC-.js"),void 0),priority:1})}finally{j.value=!1}}})())},{default:C(()=>[c(f(D(N)("basic.share")),1)]),_:1},8,["disabled"])])):s("",!0),D($).present?(B(),k(D(Xt),{key:3,type:"icon",danger:e.isPresenterMode,tooltip:e.isPresenterMode?D(N)("presenter.exit"):D(N)("basic.screen"),"tooltip-placement":"bottom-left",icon:e.isPresenterMode?"Close":"Play",disabled:ne.value,onClick:le},null,8,["danger","tooltip","icon","disabled"])):s("",!0)],64)),D($).fullscreen?(B(),k(D(Xt),{key:2,type:"icon",icon:D(b)?"Expand":"Collapse",tooltip:oe.value,"tooltip-placement":"bottom-left",onClick:l[10]||(l[10]=e=>H("toggleFullScreen"))},null,8,["icon","tooltip"])):s("",!0),D($).feedback?(B(),k(D(Xt),{key:3,type:"icon",icon:"Message",tooltip:D(N)("common.feedback"),"tooltip-placement":"bottom",disabled:!D(w),onClick:ve},null,8,["tooltip","disabled"])):s("",!0),D($).close?(B(),k(D(Xt),{key:4,type:"icon",icon:"Close",tooltip:D(N)("topBar.close"),"tooltip-placement":"bottom-right",onClick:me},null,8,["tooltip"])):s("",!0)])]))}}),wa=le(ya,[["__scopeId","data-v-8b28de6b"]]),ka={class:"page-number"},Sa={key:0,class:"icon-side"},_a={class:"page-number-text"},Ma={key:1,class:"icon-side"},Ia=_({__name:"SideBarPageNumber",props:{slideIndex:{},slidesLength:{},hideCollapse:{type:Boolean}},setup(e){const t=e;return(e,a)=>(B(),p("div",ka,[e.$slots.head?(B(),p("div",Sa,[E(e.$slots,"head",{},void 0,!0)])):s("",!0),y("div",_a,f(t.slideIndex+1)+" / "+f(t.slidesLength),1),e.$slots.tail?(B(),p("div",Ma,[E(e.$slots,"tail",{},void 0,!0)])):s("",!0)]))}}),Ca=le(Ia,[["__scopeId","data-v-2c92f335"]]),Ba={key:1,class:"toggle-menu-label"},za=_({__name:"ToggleMenu",props:{value:{type:Boolean},label:{},icon:{},tooltip:{},tooltipPlacement:{},withArrow:{type:Boolean},class:{},noActive:{type:Boolean},disabled:{type:Boolean}},emits:["update:value"],setup(e,{emit:t}){const a=e,n=t;return(t,l)=>(B(),k(D(Vt),{content:e.tooltip,disabled:!e.tooltip,placement:e.tooltipPlacement},{trigger:C(()=>[y("div",{class:o(["toggle-menu",{"is-active":!a.noActive&&e.value,disabled:e.disabled,[a.class??""]:!0}]),onClick:l[0]||(l[0]=t=>!e.disabled&&n("update:value",!e.value))},[e.icon?(B(),k(D(ze),{key:0,name:e.icon,width:"20",height:"20"},null,8,["name"])):s("",!0),e.label?(B(),p("span",Ba,f(e.label),1)):s("",!0),e.withArrow?(B(),k(D(ze),{key:2,class:"menu-select-title-caret",name:"Down_b",width:"12",height:"12"})):s("",!0)],2)]),_:1},8,["content","disabled","placement"]))}}),Ea=le(za,[["__scopeId","data-v-782077de"]]),Pa=new Map,Ta="__kimi_slides_clipboard__",La=_e(()=>{const{pageOrder:e,pages:t,currentPageId:a,removePage:o,markDirty:n,createPageId:l}=Ct(),{selectedSlideIds:i,selectedElementIds:r,focusArea:s,pushUndo:d,isEditable:u}=Et();function c(){const a=function(){const a=new Set(i.value);return e.value.map(e=>t.value.get(e)).filter(e=>!!e&&a.has(e.pageId))}();if(!a.length)return;const o=JSON.stringify({type:"slides",data:a});navigator.clipboard.writeText(o).catch(()=>{localStorage.setItem(Ta,o)})}function p(o){if(!u.value)return!1;if(!o)return!1;try{const i=JSON.parse(o);if("slides"===i.type&&Array.isArray(i.data)){d();for(const o of i.data){const n=l(),i={...o,pageId:n,pagePath:ou(),elements:o.elements.map(e=>({...e,elementId:Se(6)}))};t.value.set(n,i);const r=e.value.indexOf(a.value??""),s=r>=0?r+1:e.value.length;e.value.splice(s,0,n),a.value=n}return n(),Ie("msh_nppt_create_element_success",{type:i.data.length>1?"multiple":"slide",from:"paste"},["type","from"]),!0}}catch{}return!1}async function v(){if(!u.value)return;let e="";try{e=await navigator.clipboard.readText()}catch{e=localStorage.getItem(Ta)||""}p(e)}function f(){if(!u.value)return;const e=[...i.value];if(e.length){d();for(const t of e)o(t);i.value=[]}}function m(){u.value&&(c(),f())}function h(){i.value=[...e.value]}function g(){if("editor"===s.value&&r.value.length>0)return;const t=e.value.indexOf(a.value??"");if(t>0){const o=e.value[t-1];a.value=o,i.value=[o],r.value=[]}}function b(){if("editor"===s.value&&r.value.length>0)return;const t=e.value.indexOf(a.value??"");if(t>=0&&t({...e,elementId:Se(6)}))};t.value.set(s,c);const p=e.value.indexOf(o),v=p>=0?p+1:e.value.length;e.value.splice(v,0,s),a.value=s,i.value=[s],n(),Ie("msh_nppt_create_element_success",{type:"slide",from:"duplicate"},["type","from"])},prev:g,next:b}}),Aa=le(_({__name:"SlideSplitter",emits:["click"],setup(e,{emit:t}){const a=t;return(e,t)=>(B(),p("button",{class:"add-slide-handler",type:"button",onMousedown:t[0]||(t[0]=Q(()=>{},["stop"])),onClick:t[1]||(t[1]=Q(e=>a("click"),["stop"]))},[S(D(ze),{class:"add-icon",name:"Add",width:"12",height:"12"})],32))}}),[["__scopeId","data-v-37b77c14"]]),Fa=["data-page-id","onMousedown"],$a=_({__name:"ThumbnailList",props:{thumbnailPreviewMode:{type:Boolean}},emits:["present","update:thumbnailPreviewMode","collapse"],setup(e,{emit:t}){const a=e,l=t,{pageSize:i,pageOrder:r,currentPageId:u,pages:c,setCurrentPage:m,addPage:h}=Ct(),{selectedSlideIds:g,focusArea:w,sidebarCollapsed:_,isEditable:M,pushUndo:I}=Et(),{isAnnotationMode:z}=ie(),{t:E}=xe(),P=x(),{copy:T,paste:L,delete:F,cut:$,selectAll:N,duplicate:R}=La(),{width:U}=J(),j=d(()=>a.thumbnailPreviewMode?U.value<400?1:U.value<650?2:U.value<800?3:4:1),O=d(()=>r.value.indexOf(u.value??""));function Y(e,t){const a=function(){const e=g.value.filter(e=>r.value.includes(e)),t=u.value;return t&&r.value.includes(t)&&!e.includes(t)&&e.push(t),e}(),o=a.length>1;if(!o||!a.includes(e)||0===t.button)if(t.ctrlKey||t.metaKey)if(a.includes(e)){if(!o)return;const t=a.filter(t=>t!==e);g.value=t;const n=t[0];u.value===e&&n&&m(n)}else g.value=[...a,e];else{if(t.shiftKey){if(u.value===e&&!o)return;const t=a.map(e=>r.value.indexOf(e)).filter(e=>-1!==e);if(!t.length)return void(g.value=[e]);const n=r.value.indexOf(e);let l=Math.min(...t),i=n;return n=o||l<0)return;const i=n+l*o;if(i>=r.value.length)return;const s=r.value[i];m(s),g.value=[s],e.stopImmediatePropagation(),e.preventDefault()}function Z(e,t){a.thumbnailPreviewMode!==e&&(Ie("msh_nppt_thumb_preview",{action:e?"enter":"leave",from:t}),l("update:thumbnailPreviewMode",e))}function Q(e){return c.value.get(e)}function ee(e){return!M.value||z.value?[]:Q(e)?[{id:"slide.cut",text:E("contextMenu.cut"),subText:"Ctrl + X",handler:()=>{g.value=[e],$()}},{id:"slide.copy",text:E("contextMenu.copy"),subText:"Ctrl + C",handler:()=>{g.value=[e],T()}},{id:"slide.paste",text:E("contextMenu.paste"),subText:"Ctrl + V",handler:()=>{g.value=[e],L()}},{id:"slide.selectAll",text:E("contextMenu.selectAll"),subText:"Ctrl + A",handler:()=>{N()}},{divider:!0},{id:"slide.newPage",text:E("contextMenu.newPage"),handler:()=>{!function(){if(!M.value||z.value)return;I();const e=h();Ie("msh_nppt_create_element_success",{type:"slide",from:"action-bar"},["type","from"]),w.value="sidebar",g.value=[e]}()}},{id:"slide.copyPage",text:E("contextMenu.copyPage"),handler:()=>{!function(e){M.value&&R(e)}(e)}},{id:"slide.deletePage",text:E("contextMenu.deletePage"),subText:"Delete",handler:()=>{!function(e){M.value&&(g.value=[e],F())}(e)}},{divider:!0},{id:"slide.startFromCurrent",text:E("contextMenu.startFromCurrent"),handler:()=>{!function(e){const t=r.value.indexOf(e);-1!==t&&l("present",t)}(e)}}]:[]}return V(u,(e,t)=>{e&&e!==t&&A(()=>{const t=document.querySelector(`[data-page-id="${e}"]`);t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})})}),(t,a)=>{const d=H("contextmenu");return B(),p("div",{ref_key:"wrapperRef",ref:P,class:"thumbnail-wrapper",tabindex:"-1",style:v({"--thumbnail-col-num":j.value}),onMousedown:X,onKeydown:G},[S(Ca,{"slide-index":O.value,"slides-length":D(r).length,onCollapse:a[2]||(a[2]=e=>l("collapse"))},{head:C(()=>[S(Ea,{value:e.thumbnailPreviewMode,icon:"ViewAll",tooltip:D(E)("sideBar.previewMode"),"tooltip-placement":"bottom-left","onUpdate:value":a[0]||(a[0]=t=>Z(!e.thumbnailPreviewMode,"icon"))},null,8,["value","tooltip"])]),tail:C(()=>[S(Ea,{value:D(_),icon:"Pages",tooltip:D(E)("sideBar.collapse"),"tooltip-placement":"bottom","onUpdate:value":a[1]||(a[1]=e=>l("collapse"))},null,8,["value","tooltip"])]),_:1},8,["slide-index","slides-length"]),S(D(K),{modelValue:D(r),"onUpdate:modelValue":a[4]||(a[4]=e=>b(r)?r.value=e:null),class:o(["thumbnail-list",{"thumbnail-list-preview":e.thumbnailPreviewMode}]),"chosen-class":"dragging","ghost-class":"dragging-holder","force-fallback":!0,animation:200,scroll:!0,"scroll-sensitivity":50,direction:"vertical",disabled:e.thumbnailPreviewMode||!D(M)||D(z)},{default:C(()=>[(B(!0),p(n,null,W(D(r),(t,n)=>{return q((B(),p("div",{key:t,"data-page-id":t,class:o(["thumbnail-item",{active:D(u)===t,selected:D(g).includes(t)}]),onMousedown:e=>Y(t,e),onDblclick:a[3]||(a[3]=e=>Z(!1,"dblclick"))},[S(Tt,{class:"thumbnail",slide:Q(t),"page-width":D(i)[0],"page-height":D(i)[1],lazy:""},null,8,["slide","page-width","page-height"]),y("div",{class:o(["label",{"offset-left":n>=99}])},f((l=n+1,r=2,l.toString().padStart(r,"0"))),3),e.thumbnailPreviewMode||!D(M)||D(z)?s("",!0):(B(),k(Aa,{key:0,class:"add-slide-splitter",onClick:e=>function(e){if(!M.value||z.value)return;I(),m(e);const t=h();Ie("msh_nppt_create_element_success",{type:"slide",from:"action-bar"},["type","from"]),w.value="sidebar",g.value=[t]}(t)},null,8,["onClick"]))],42,Fa)),[[d,()=>ee(t)]]);var l,r}),128))]),_:1},8,["modelValue","class","disabled"])],36)}}}),Da=le($a,[["__scopeId","data-v-88ad9eda"]]),Na={class:"add-slide-footer"},Ra=le(_({__name:"SideBarAddButton",setup(e){const{addPage:t}=Ct(),{selectedSlideIds:a,focusArea:n,isEditable:l,pushUndo:i}=Et(),{isAnnotationMode:r}=ie(),{t:s}=xe();function d(){if(!l.value||r.value)return;i();const e=t();Ie("msh_nppt_create_element_success",{type:"slide",from:"action-bar"},["type","from"]),n.value="sidebar",a.value=[e]}return(e,t)=>(B(),p("div",Na,[y("div",{class:o(["add-slide-button auto-rtl",{disabled:!D(l)||D(r)}]),onClick:d},[S(D(ze),{class:"icon",name:"CirclePlus"}),c(" "+f(D(s)("sideBar.addSlide")),1)],2)]))}}),[["__scopeId","data-v-cfafb7b9"]]),Ua=_({__name:"Index",props:{dir:{},size:{default:3},value:{default:0},dragging:{type:Boolean,default:!1},min:{},max:{},calc:{},autoCheck:{type:Boolean,default:!0}},emits:["update:value","update:dragging"],setup(e,{emit:t}){const a=e,n=t,l=d(()=>"x"===a.dir?{width:`${a.size}px`}:{height:`${a.size}px`}),i=x(!1);let r=0,s=0,u=0,c=0,f=0;const m=e=>Math.max(a.min??-1/0,Math.min(e,a.max??1/0));function h(){if("x"===a.dir){const e=c-s,t=a.calc?a.calc(e):e;n("update:value",m(r+t))}else{const e=f-u,t=a.calc?a.calc(e):e;n("update:value",m(r+t))}}const g=e=>{i.value||(e.preventDefault(),i.value=!0,n("update:dragging",!0),s=e.pageX,u=e.pageY,c=e.pageX,f=e.pageY,r=a.value)},b=e=>{i.value&&(e.preventDefault(),i.value=!1,n("update:dragging",!1),h(),s=u=0,c=e.pageX,f=e.pageY,r=a.value)};return O(window,"mousemove",e=>{i.value&&(e.preventDefault(),c=e.pageX,f=e.pageY,h())}),O(window,"mouseup",b),O(window,"mousecancel",b),V(()=>[a.max,a.min],()=>{n("update:value",m(a.value))}),j(()=>{a.autoCheck&&n("update:value",m(a.value))}),(t,a)=>(B(),p("div",{class:o(["splitter",e.dir])},[y("div",{class:o(["splitter-line",{active:i.value}]),style:v(l.value),onMousedown:g},[E(t.$slots,"default",{},void 0,!0)],38)],2))}}),ja=le(Ua,[["__scopeId","data-v-5c4ef702"]]),Oa=le(_({__name:"SideBar",emits:["present"],setup(e,{emit:t}){const a=t,{sidebarWidth:l,sidebarCollapsed:i,selectedSlideIds:r,focusArea:d}=Et(),u=x(!1),c=x(!1);function f(){d.value="sidebar"}function m(){r.value=[],"sidebar"===d.value&&(d.value=null)}return V(()=>i.value,()=>{i.value&&(c.value=!1)}),(e,t)=>q((B(),p("div",{class:o(["side-bar",{"preview-mode":c.value,dragging:u.value,collapsed:D(i)}]),style:v({width:D(i)?"0px":`${D(l)}px`}),onMousedown:f},[D(i)?s("",!0):(B(),p(n,{key:0},[S(Da,{"thumbnail-preview-mode":c.value,"onUpdate:thumbnailPreviewMode":t[0]||(t[0]=e=>c.value=e),onPresent:t[1]||(t[1]=e=>a("present",e)),onCollapse:t[2]||(t[2]=e=>i.value=!0)},null,8,["thumbnail-preview-mode"]),c.value?s("",!0):(B(),k(Ra,{key:0}))],64)),c.value||D(i)?s("",!0):(B(),k(ja,{key:1,class:"splitter",dir:"x",size:8,value:D(l),"onUpdate:value":t[3]||(t[3]=e=>b(l)?l.value=e:null),dragging:u.value,"onUpdate:dragging":t[4]||(t[4]=e=>u.value=e),min:D(192),max:D(400)},null,8,["value","dragging","min","max"]))],38)),[[D(U),m]])}}),[["__scopeId","data-v-b10378e6"]]),Ha=_({__name:"MenuButton",props:{icon:{},tooltip:{},active:{type:Boolean},disabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=t;return(t,n)=>(B(),k(D(Vt),{content:e.tooltip,disabled:e.active||e.disabled},{trigger:C(()=>[y("div",{class:o(["menu-button",{active:e.active,disabled:e.disabled}]),onClick:n[0]||(n[0]=t=>!e.disabled&&a("click",t))},[S(D(ze),{name:e.icon,width:"20",height:"20"},null,8,["name"])],2)]),_:1},8,["content","disabled"]))}}),Ya=le(Ha,[["__scopeId","data-v-15d85301"]]),Xa=le(_({__name:"HorizontalOverflowBar",props:{step:{default:32},height:{},arrowSize:{default:32},arrowWidth:{default:18},edgeMode:{default:"overlay"},gap:{default:8}},setup(e){const t=e,a=x(),n=x(),l=x(),i=x(!1),r=x(!1),u=x(!1),c=d(()=>"number"==typeof t.height?`${t.height}px`:t.height),f=d(()=>"number"==typeof t.gap?`${t.gap}px`:t.gap),m=d(()=>({width:`${t.arrowWidth}px`,height:`${t.arrowSize}px`})),h=d(()=>({height:c.value,"--horizontal-overflow-gap":f.value,"--horizontal-overflow-arrow-size":`${t.arrowSize}px`,"--horizontal-overflow-arrow-width":`${t.arrowWidth}px`})),g=()=>{const e=n.value,t=a.value,o=l.value;if(!e||!t||!o)return;const s=Math.max(0,e.scrollWidth-e.clientWidth),d=e.scrollLeft,c=o.scrollWidth>t.clientWidth+1;u.value=c,i.value=c&&d>1,r.value=c&&d{n.value?.scrollBy({left:e*t.step,behavior:"smooth"}),window.setTimeout(g,180)};return L(a,()=>A(g)),L(n,()=>A(g)),L(l,()=>A(g)),O(n,"scroll",g),O(a,"wheel",e=>{if(!u.value||!n.value)return;const t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY;t&&(e.preventDefault(),n.value.scrollLeft+=t,g())},{passive:!1}),A(g),(t,d)=>(B(),p("div",{ref_key:"rootRef",ref:a,class:o(["horizontal-overflow-bar",[`edge-${e.edgeMode}`,{"is-overflowing":u.value,"has-left-space":u.value&&i.value,"has-right-space":u.value&&r.value,"has-left-arrow":u.value&&i.value,"has-right-arrow":u.value&&r.value}]]),style:v(h.value)},[u.value&&i.value?(B(),p("button",{key:0,class:"horizontal-overflow-arrow left",style:v(m.value),type:"button",onMousedown:d[0]||(d[0]=Q(()=>{},["stop"])),onClick:d[1]||(d[1]=Q(e=>b(-1),["stop"]))},[S(D(ze),{name:"Left_b",width:"14",height:"14"})],36)):s("",!0),y("div",{ref_key:"viewportRef",ref:n,class:"horizontal-overflow-viewport"},[y("div",{ref_key:"trackRef",ref:l,class:"horizontal-overflow-track"},[E(t.$slots,"default",{},void 0,!0)],512)],512),u.value&&r.value?(B(),p("button",{key:1,class:"horizontal-overflow-arrow right",style:v(m.value),type:"button",onMousedown:d[2]||(d[2]=Q(()=>{},["stop"])),onClick:d[3]||(d[3]=Q(e=>b(1),["stop"]))},[S(D(ze),{name:"Right_b",width:"14",height:"14"})],36)):s("",!0)],6))}}),[["__scopeId","data-v-121e764a"]]),Ka={class:"shape-item-thumbnail"},Wa={class:"shape-content"},Va={overflow:"visible",width:"18",height:"18"},Ga=["transform"],qa=["fill","stroke","d"],Ja=le(_({__name:"ShapeItemThumbnail",props:{shape:{}},setup:e=>(t,a)=>(B(),p("div",Ka,[y("div",Wa,[(B(),p("svg",Va,[y("g",{transform:`scale(${18/e.shape.viewBox[0]}, ${18/e.shape.viewBox[1]})`},[y("path",{class:o(["shape-path",{outlined:e.shape.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"8",fill:e.shape.outlined?"var(--Labels-Tertiary)":"transparent",stroke:e.shape.outlined?"transparent":"var(--Labels-Tertiary)","stroke-width":"1",d:e.shape.path},null,10,qa)],8,Ga)]))])]))}),[["__scopeId","data-v-841f727f"]]),Za={class:"shape-pool"},Qa={class:"category-name"},eo={class:"shape-list"},to=["onClick"],ao=le(_({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const a=t,{t:o}=xe();return(e,t)=>(B(),p("div",Za,[(B(!0),p(n,null,W(D(yt),e=>{return B(),p("div",{class:"category",key:e.type},[y("div",Qa,f((t=e.type,{rectangle:o("bottomBar.rectangle"),otherShapes:o("bottomBar.otherShapes"),decoration:o("bottomBar.decoration")}[t]||t)),1),y("div",eo,[(B(!0),p(n,null,W(e.children,(e,t)=>(B(),p(n,{key:t},[D(qe)(e)?(B(),p("div",{key:0,class:"shape-item",onClick:t=>(e=>{a("select",e)})(e)},[S(Ja,{shape:D(qe)(e)},null,8,["shape"])],8,to)):s("",!0)],64))),128))])]);var t}),128))]))}}),[["__scopeId","data-v-90f7e391"]]),oo={class:"line-pool"},no={class:"category-name"},lo={class:"line-list"},io=["onClick"],ro={class:"line-content"},so={overflow:"visible",width:"20",height:"20",viewBox:"0 0 200 200"},uo=["d","marker-start","marker-end"],co=le(_({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const a=t,{t:o}=xe();return(e,t)=>(B(),p("div",oo,[(B(!0),p(n,null,W(D(Ae),(e,t)=>{return B(),p("div",{class:"category",key:e.type},[y("div",no,f((l=e.type,{straightLine:o("bottomBar.straightLine"),curve:o("bottomBar.curve")}[l]||l)),1),y("div",lo,[(B(!0),p(n,null,W(e.children,(e,o)=>(B(),p("div",{class:"line-item",key:o,onClick:t=>(e=>{a("select",e)})(e)},[y("div",ro,[(B(),p("svg",so,[y("defs",null,[e.points?.[0]&&"none"!==e.points[0]?(B(),k(Je,{key:0,id:`preset-line-${t}-${o}`,position:"start",type:e.points[0],color:"currentColor",baseSize:15},null,8,["id","type","baseSize"])):s("",!0),e.points?.[1]&&"none"!==e.points[1]?(B(),k(Je,{key:1,id:`preset-line-${t}-${o}`,position:"end",type:e.points[1],color:"currentColor",baseSize:15},null,8,["id","type","baseSize"])):s("",!0)]),y("path",{class:"line-path",d:e.path,stroke:"currentColor",fill:"none","stroke-width":10,"marker-start":e.points?.[0]?`url(#preset-line-${t}-${o}-${e.points[0]}-start)`:void 0,"marker-end":e.points?.[1]?`url(#preset-line-${t}-${o}-${e.points[1]}-end)`:void 0},null,8,uo)]))])],8,io))),128))])]);var l}),128))]))}}),[["__scopeId","data-v-6b5878db"]]),po={class:"table-generator"},vo={class:"title"},fo=["onMouseenter"],mo=le(_({__name:"TableGenerator",emits:["select"],setup(e,{emit:t}){const a=t,{t:l}=xe(),i=x(null);return(e,t)=>(B(),p("div",po,[y("div",vo,f(i.value?`${D(l)("bottomBar.createTable")} ${i.value[0]} x ${i.value[1]}`:D(l)("bottomBar.createTable")),1),y("table",{onMouseleave:t[0]||(t[0]=e=>i.value=null),onClick:t[1]||(t[1]=e=>(()=>{if(!i.value)return;const[e,t]=i.value;a("select",e,t)})())},[y("tbody",null,[(B(),p(n,null,W(10,e=>y("tr",{key:e},[(B(),p(n,null,W(10,t=>y("td",{key:t,onMouseenter:a=>i.value=[e,t]},[y("div",{class:o(["cell",{active:i.value&&e<=i.value[0]&&t<=i.value[1]}])},null,2)],40,fo)),64))])),64))])],32)]))}}),[["__scopeId","data-v-a89d5601"]]),ho={class:"latex-pool"},go={class:"title"},bo=["placeholder"],xo={class:"latex-actions"},yo=le(_({__name:"LatexPool",props:{value:{},title:{}},emits:["select"],setup(e,{emit:t}){const a=e,{t:o}=xe(),n=t,l=x("");V(()=>a.value,e=>{l.value=e??""},{immediate:!0});const i=()=>{l.value.trim()&&(n("select",l.value.trim()),l.value="")};return(t,a)=>(B(),p("div",ho,[y("div",go,f(e.title??D(o)("latex.title")),1),q(y("textarea",{ref:"inputRef","onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),class:"latex-input",rows:"3",placeholder:D(o)("latex.placeholder"),onClick:a[1]||(a[1]=Q(()=>{},["stop"])),onKeydown:a[2]||(a[2]=Q(()=>{},["stop"])),onKeyup:a[3]||(a[3]=Q(()=>{},["stop"]))},null,40,bo),[[u,l.value]]),y("div",xo,[y("button",{class:"confirm-btn",onClick:i},f(D(o)("common.confirm")),1)])]))}}),[["__scopeId","data-v-48da1647"]]),wo={class:"icon-pool"},ko={class:"category"},So={class:"icon-search-wrapper"},_o=["placeholder"],Mo={class:"icon-list-container"},Io=["onClick"],Co={key:1,class:"empty"},Bo=le(_({__name:"IconPool",emits:["select"],setup(e,{emit:a}){const l=a,{t:i,locale:r}=xe(),s=x(""),c=["s-home","s-user","s-heart","s-star","s-cog","s-search","s-envelope","s-phone","s-calendar","s-clock","s-map-marker-alt","s-link","s-download","s-upload","s-share","s-thumbs-up","s-thumbs-down","s-eye","s-lock","s-unlock","s-comment","s-comments","s-bell","s-bookmark","s-camera","s-image","s-video","s-music","s-file","s-folder"],v=x([]),m=x([]),h=x([]);let g=null;const b=(e,t)=>{let a=1/0,o=1/0;const n=t=>{const n=t?.split(",")??[];for(const l of n){const t=l.trim();if(!t.includes(e))continue;const n=t.startsWith(e)?0:1;(n{const e=s.value.trim().toLowerCase();if(!e)return c;const t=new Map,a=c.length;for(let o=0;oe.matchPriority-t.matchPriority||e.matchLength-t.matchLength||e.index-t.index).slice(0,a).map(e=>e.name)});return j(async()=>{Wt();const e=await te(()=>t.import("./icons-legacy-B8B0dcpb.js").then(e=>e.t),void 0);v.value=e.faIcons,m.value=e.faIcons.map(e=>e.toLowerCase())}),V(r,e=>{"zh-cn"===e&&(g||h.value.length||(g=te(()=>t.import("./iconsCN-legacy-aiH8C06X.js").then(e=>e.t).then(e=>{h.value=e.faIconsCN.map(e=>e?.toLowerCase()??"")}),void 0)))},{immediate:!0}),(e,t)=>(B(),p("div",wo,[y("div",ko,[y("div",So,[q(y("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),class:"icon-search",placeholder:D(i)("bottomBar.searchIcon"),onClick:t[1]||(t[1]=Q(()=>{},["stop"]))},null,8,_o),[[u,s.value]])]),y("div",Mo,[w.value.length?(B(!0),p(n,{key:0},W(w.value,e=>(B(),p("i",{key:e,class:o(["icon-item",`fa${e[0]} fa-${e.slice(2)}`]),onClick:t=>(e=>{l("select",`${"b"===e[0]?"fab":"r"===e[0]?"far":"fas"}:${e.slice(2)}`),s.value=""})(e)},null,10,Io))),128)):(B(),p("div",Co,f(D(i)("bottomBar.noIconFound")),1))])])]))}}),[["__scopeId","data-v-bc04e138"]]),zo=_({__name:"Mask",props:{visible:{type:Boolean}},emits:["click","mousedown"],setup(e,{emit:t}){const a=t;return(t,o)=>(B(),k(w,{to:"body"},[S(F,{name:"fade"},{default:C(()=>[e.visible?(B(),p("div",{key:0,class:"modal-mask",onClick:o[1]||(o[1]=e=>a("click",e)),onMousedown:o[2]||(o[2]=e=>a("mousedown",e))},[y("div",{onClick:o[0]||(o[0]=Q(()=>{},["stop"]))},[E(t.$slots,"default",{},void 0,!0)])],32)):s("",!0)]),_:3})]))}}),Eo=le(zo,[["__scopeId","data-v-704ef4e7"]]),Po={class:"header"},To={class:"title-warpper"},Lo={class:"body"},Ao={key:0,class:"bottom"},Fo=_({__name:"Modal",props:{title:{default:"title"},titlePosition:{default:"left"},closeable:{type:Boolean,default:!0},maskCloseable:{type:Boolean,default:!0},confirmText:{default:void 0},cancelText:{default:void 0},content:{},hideBottom:{type:Boolean},visible:{type:Boolean},modalClassName:{}},emits:["update:visible","confirm","cancel"],setup(e,{emit:t}){const{t:a}=xe(),n=e,l=d(()=>n.confirmText??a("common.confirm")),i=d(()=>n.cancelText??a("common.cancel")),u=r(null),m=e=>{u.value=e.target},h=t;function g(){n.closeable&&h("update:visible",!1)}function b(e){n.maskCloseable&&u.value===e.target&&g()}O(window,"keydown",e=>{"Escape"===e.key&&n.maskCloseable&&g()});const x=d(()=>"center"===n.titlePosition);return(t,a)=>(B(),k(Eo,{visible:e.visible,onClick:b,onMousedown:m},{default:C(()=>[y("div",{class:o(["content",e.modalClassName])},[y("div",Po,[E(t.$slots,"title",{},()=>[y("div",To,[y("div",{class:"title",style:v({textAlign:x.value?"center":"left"})},f(e.title),5)])],!0),e.closeable?(B(),k(D(ze),{key:0,name:"Close",class:"close-icon",onClick:g})):s("",!0)]),E(t.$slots,"body",{},()=>[y("div",Lo,f(e.content),1)],!0),E(t.$slots,"bottom",{},()=>[n.hideBottom?s("",!0):(B(),p("div",Ao,[S(D(Xt),{type:"secondary",onClick:a[0]||(a[0]=e=>h("cancel"))},{default:C(()=>[c(f(i.value),1)]),_:1}),S(D(Xt),{type:"primary",danger:"",onClick:a[1]||(a[1]=e=>h("confirm"))},{default:C(()=>[c(f(l.value),1)]),_:1})]))],!0)],2)]),_:3},8,["visible"]))}}),$o=le(Fo,[["__scopeId","data-v-d61bf2e1"]]),Do=["stroke-width","stroke-dasharray"],No=_({__name:"Index",props:{borderWidth:{default:1},borderColor:{},dashArray:{default:"4, 4"},duration:{default:2},noAnimation:{type:Boolean},dir:{type:Boolean,default:!0}},setup(e){const t=e,a=d(()=>(t.dashArray?.split(",").map(Number)).reduce((e,t)=>e+t,0)*(t.dir?-1:1)),n=d(()=>!t.noAnimation&&t.duration>0);return(e,l)=>(B(),p("svg",{class:"dash-border",style:v({color:t.borderColor})},[l[0]||(l[0]=y("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"none",stroke:"transparent","stroke-width":"8",class:"border-hit-area","pointer-events":"stroke","vector-effect":"non-scaling-stroke"},null,-1)),y("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"none","stroke-width":t.borderWidth,stroke:"currentColor","stroke-dasharray":t.dashArray,class:o(["border-rect",{ani:n.value}]),style:v({"--duration":`${t.duration}s`,"--dash-offset":a.value}),"pointer-events":"none","vector-effect":"non-scaling-stroke"},null,14,Do)],4))}}),Ro=le(No,[["__scopeId","data-v-a00d67b5"]]),Uo=le(_({__name:"HandlerWithDir",props:{type:{},rotate:{default:0}},setup(e){const t=e,a=d(()=>{const e="rotate-",a=t.rotate;return a>-22.5&&a<=22.5?e+0:a>22.5&&a<=67.5?e+45:a>67.5&&a<=112.5?e+90:a>112.5&&a<=157.5?e+135:a>157.5||a<=-157.5?e+0:a>-157.5&&a<=-112.5?e+45:a>-112.5&&a<=-67.5?e+90:a>-67.5&&a<=-22.5?e+135:e+0});return(t,n)=>(B(),p("div",{class:o(["handler",a.value,e.type])},null,2))}}),[["__scopeId","data-v-363c8647"]]),jo=le(_({__name:"LogoOperator",props:{element:{},scale:{}},emits:["update"],setup(e,{emit:t}){const a={nw:"left-top",n:"top",ne:"right-top",w:"left",e:"right",sw:"left-bottom",s:"bottom",se:"right-bottom"};function o(e,t,a){return"se"===e?{x:-t/2,y:-a/2}:"sw"===e?{x:t/2,y:-a/2}:"nw"===e?{x:t/2,y:a/2}:"ne"===e||"n"===e?{x:-t/2,y:a/2}:"s"===e?{x:-t/2,y:-a/2}:"w"===e?{x:t/2,y:-a/2}:"e"===e?{x:-t/2,y:-a/2}:{x:0,y:0}}function l(e,t,a,o,n){const l=n*Math.PI/180,i=Math.cos(l),r=Math.sin(l);return{x:e+a*i-o*r,y:t+a*r+o*i}}const i=e,r=t,s=d(()=>i.scale),u=d(()=>i.element.bounds[0]*s.value),c=d(()=>i.element.bounds[1]*s.value),f=d(()=>i.element.bounds[2]*s.value),m=d(()=>i.element.bounds[3]*s.value),h=d(()=>i.element.rotation??0),g=d(()=>[{direction:"nw",style:{left:"0px",top:"0px"}},{direction:"n",style:{left:f.value/2+"px",top:"0px"}},{direction:"ne",style:{left:`${f.value}px`,top:"0px"}},{direction:"w",style:{left:"0px",top:m.value/2+"px"}},{direction:"e",style:{left:`${f.value}px`,top:m.value/2+"px"}},{direction:"sw",style:{left:"0px",top:`${m.value}px`}},{direction:"s",style:{left:f.value/2+"px",top:`${m.value}px`}},{direction:"se",style:{left:`${f.value}px`,top:`${m.value}px`}}]);function b(e){if(0!==e.button)return;e.stopPropagation();const t=e.clientX,a=e.clientY,o=[...i.element.bounds];nu(()=>{},e=>{const n=(e.clientX-t)/i.scale,l=(e.clientY-a)/i.scale;r("update",{bounds:[o[0]+n,o[1]+l,o[2],o[3]]})},()=>{})(e)}function x(e){if(0!==e.button)return;e.stopPropagation();const t=e.currentTarget.parentElement.getBoundingClientRect(),a=t.left+t.width/2,o=t.top+t.height/2,n=i.element.rotation??0,l=(e,t)=>{const n=e-a,l=o-t;return 180*Math.atan2(n,l)/Math.PI},s=l(e.clientX,e.clientY);nu(()=>{},e=>{r("update",{rotation:n+(l(e.clientX,e.clientY)-s)})},()=>{})(e)}return(e,t)=>(B(),p("div",{class:"logo-operator",style:v({left:`${u.value}px`,top:`${c.value}px`,width:`${f.value}px`,height:`${m.value}px`,transform:`rotate(${h.value}deg)`})},[y("div",{class:"drag-overlay",onMousedown:Q(b,["stop"])},null,32),S(Ro,{class:"operate-dash-border"}),y("div",{class:"rotate-handle",style:v({left:f.value/2+"px"}),onMousedown:Q(x,["stop"])},null,36),(B(!0),p(n,null,W(g.value,e=>(B(),k(Uo,{key:e.direction,type:a[e.direction],rotate:h.value,class:"scale-handle",style:v(e.style),onMousedown:Q(t=>function(e,t){if(0!==t.button)return;t.stopPropagation();const[a,n,s,d]=[...i.element.bounds],u=t.clientX,c=t.clientY,p=s/d,v=i.element.rotation??0,f=v*Math.PI/180,m=(e,t)=>{let a=20,o=20;return p<1&&(o=20/p),p>1&&(a=20*p),"width"===t?Math.max(e,a):Math.max(e,o)};let h=null;if(v){const t=a+s/2,i=n+d/2,r=o(e,s,d);h=l(t,i,r.x,r.y,v)}nu(()=>{},t=>{const g=t.clientX-u,b=t.clientY-c;let x=g/i.scale,y=b/i.scale;v&&(x=(Math.cos(f)*g+Math.sin(f)*b)/i.scale,y=(Math.cos(f)*b-Math.sin(f)*g)/i.scale);let w=s,k=d,S=a,_=n;const M=e.includes("w"),I=e.includes("e"),C=e.includes("n"),B=e.includes("s");if((M||I)&&(C||B)&&(y="se"===e||"nw"===e?x/p:-x/p),M?(w=m(s-x,"width"),S=a-(w-s)):I&&(w=m(s+x,"width")),C?(k=m(d-y,"height"),_=n-(k-d)):B&&(k=m(d+y,"height")),v&&h){const t=S+w/2,a=_+k/2,n=o(e,w,k),i=l(t,a,n.x,n.y,v);S-=i.x-h.x,_-=i.y-h.y}r("update",{bounds:[S,_,w,k]})},()=>{})(t)}(e.direction,t),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128))],4))}}),[["__scopeId","data-v-c84debf7"]]),Oo={class:"title flex-center"},Ho={class:"logo-modal-container"},Yo={class:"side-upload"},Xo=["src","onClick"],Ko={key:0,class:"selected-mask flex-center"},Wo=["onClick"],Vo={class:"side-preview"},Go={class:"preview-title"},qo=["src"],Jo={class:"slide-thumbs"},Zo=["onClick"],Qo=["src"],en={class:"bottom"},tn={key:0},an={class:"button-box"},on=["disabled"],nn="upload-logo-",ln=le(_({__name:"LogoModal",emits:["close"],setup(e,{emit:t}){const a=t,l=x(!1),{pages:i,pageOrder:r,pageSize:u,markDirty:m}=Ct(),{pushUndo:h,isEditable:g}=Et(),{t:b}=xe(),w=me(),{isUploading:_,uploadImage:M}=de(),I=x(),z=x([]),E=[10,10,80,60],P=d(()=>z.value.length>=5),T=x(),L=x(!1),A=x(!1),F=x(0);let $=0;const N=()=>`${nn}${Se(6)}`,R=e=>"image"===e.elementType&&e.elementId.startsWith(nn),U=e=>{const t=(a=e,JSON.parse(JSON.stringify(a)));var a;return t.elements=t.elements.filter(e=>!R(e)),t},O=d(()=>{return(e=r.value.length,e<=4?Array.from({length:e},(e,t)=>t):[0,Math.floor(e/3),Math.floor(2*e/3),e-1]).map(e=>{const t=r.value[e],a=t?i.value.get(t):void 0;if(t&&a)return{pageId:t,slide:U(a)}}).filter(e=>!!e);var e}),H=d(()=>O.value[F.value]?.slide),Y=d(()=>{if(!T.value)return;const[e,t,a,o]=T.value.bounds;return{left:e/u.value[0]*100+"%",top:t/u.value[1]*100+"%",width:a/u.value[0]*100+"%",height:o/u.value[1]*100+"%",transform:`rotate(${T.value.rotation??0}deg)`,objectFit:T.value.fit?.mode??"fill",opacity:T.value.opacity??1}}),X=x(),K=x(0),G=d(()=>K.value&&u.value[0]?K.value/u.value[0]:1),q=()=>{K.value=X.value?.clientWidth??0};let J=null;V(X,e=>{J&&(J.disconnect(),J=null),e&&(J=new ResizeObserver(q),J.observe(e),q())});const Z=e=>{g.value&&T.value&&(T.value={...T.value,...e})},ee=async e=>{let t=80,a=60,o=!1;try{const n=await(e=>new Promise(t=>{let a=!1;const o=window.setTimeout(()=>{a=!0,t(void 0)},1e3);he(e).then(e=>{a||(a=!0,window.clearTimeout(o),t(e))})}))(e);if(n&&n.width>0&&n.height>0){const e=Math.min(80/n.width,60/n.height);t=n.width*e,a=n.height*e,o=!0}}catch(n){Be("[Logo] Failed to read logo size",n)}return{bounds:[10,10,t,a],ok:o}},te=(e,t)=>({elementId:N(),elementType:"image",bounds:t,src:e,fit:{mode:"fill"}}),ae=async(e,t)=>{if(!g.value)return;const a=z.value[e];if(!a)return;const o=++$;if(I.value=e,T.value=te(a,t??E),t)return;const{bounds:n,ok:l}=await ee(a);g.value&&o===$&&(l||w.error("图片尺寸读取失败,已使用默认尺寸"),T.value=te(a,n))},oe=x(),ne=()=>{g.value&&(_.value||oe.value?.click())},le=async e=>{const t=e.target;if(!g.value)return void(t.value="");const a=t.files?.[0];t.value="",a&&await(async e=>{if(g.value)if(P.value)w.error(b("logoModal.alertMaxLimit"));else try{const[t,a]=await Promise.all([M(e),ee(e)]);if(!g.value)return;z.value.push(t),a.ok||w.error("图片尺寸读取失败,已使用默认尺寸"),ae(z.value.length-1,a.bounds)}catch(t){Be("[Upload] Failed to upload logo",t),w.error("图片上传失败,请稍后重试")}})(a)},ie=()=>{if(g.value&&T.value){h();for(const e of r.value){const t=i.value.get(e);if(!t)continue;const a=t.elements.filter(e=>!R(e));a.push({...T.value,elementId:N()}),t.elements=a}i.value=new Map(i.value),m(),L.value=!0,Ie("msh_nppt_logo",{action:"confirm"}),l.value=!1}};return V(l,e=>{e||(A.value?A.value=!1:L.value||Ie("msh_nppt_logo",{action:"cancel"}),setTimeout(()=>{a("close")},300))}),V(()=>g.value,e=>{!e&&l.value&&(A.value=!0,l.value=!1)}),V(O,e=>{F.value{(()=>{const e=new Set;for(const t of r.value){const a=i.value.get(t);if(a)for(const t of a.elements)R(t)&&(e.add(t.src),T.value||(T.value={...t}))}z.value=Array.from(e),z.value.length>0&&(I.value=0)})(),l.value=!0}),(e,t)=>(B(),p(n,null,[S(D($o),{visible:l.value,"onUpdate:visible":t[1]||(t[1]=e=>l.value=e),closeable:!0,"mask-closeable":!0},{title:C(()=>[y("div",Oo,[c(f(D(b)("logoModal.title"))+" ",1),S(D(Vt),{content:D(b)("logoModal.tooltip"),placement:"right"},{trigger:C(()=>[S(D(ze),{class:"info-tips",name:"Info",width:"20",height:"20"})]),_:1},8,["content"])])]),body:C(()=>[y("div",Ho,[y("div",Yo,[(B(!0),p(n,null,W(z.value,(e,t)=>(B(),p("div",{key:e,class:"logo"},[y("img",{class:"logo-image",src:e,alt:"logo",onClick:e=>ae(t)},null,8,Xo),I.value===t?(B(),p("div",Ko,[S(D(Me),{name:"Check_f",class:"check-icon",width:"20",height:"20"}),c(" "+f(D(b)("logoModal.selected")),1)])):s("",!0),y("div",{class:"delete-btn",onClick:Q(e=>(e=>{g.value&&($++,z.value.splice(e,1),e===I.value?(T.value=void 0,I.value=void 0):void 0!==I.value&&e0?(B(),k(jo,{key:2,element:T.value,scale:G.value,onUpdate:Z},null,8,["element","scale"])):s("",!0)],512),y("div",Jo,[(B(!0),p(n,null,W(O.value,(e,t)=>(B(),p("div",{key:e.pageId,class:o(["preview-thumb",{selected:F.value===t}]),onClick:e=>F.value=t},[S(Tt,{class:"preview-thumb-slide",slide:e.slide,"page-width":D(u)[0],"page-height":D(u)[1]},null,8,["slide","page-width","page-height"]),T.value&&Y.value?(B(),p("img",{key:0,class:"preview-logo",src:T.value.src,alt:"logo",style:v(Y.value)},null,12,Qo)):s("",!0)],10,Zo))),128))])])])]),bottom:C(()=>[y("div",en,[y("div",null,[P.value?(B(),p("span",tn,f(D(b)("logoModal.maxLimit")),1)):s("",!0)]),y("div",an,[S(D(Xt),{type:"secondary",onClick:t[0]||(t[0]=e=>l.value=!1)},{default:C(()=>[c(f(D(b)("common.cancel")),1)]),_:1}),S(D(Xt),{type:"primary",disabled:!D(g)||D(_)||!T.value,onClick:ie},{default:C(()=>[c(f(D(b)("logoModal.applyToAll")),1)]),_:1},8,["disabled"])])])]),_:1},8,["visible"]),y("input",{ref_key:"fileInputRef",ref:oe,type:"file",accept:"image/*",style:{display:"none"},disabled:D(_),onChange:le},null,40,on)],64))}}),[["__scopeId","data-v-351a70ec"]]),rn={class:"annotation-mode-switch"},sn=["disabled"],dn=["disabled"],un=_({__name:"ToolbarAnnotationModeSwitch",props:{disabled:{type:Boolean}},setup(e){const{isAnnotationMode:t,toggleAnnotationMode:a}=ie(),{t:n}=xe();function l(){a("toolbar")}return(a,i)=>(B(),p("div",rn,[y("button",{class:o(["annotation-mode-button",{active:!D(t)}]),type:"button",disabled:e.disabled,onClick:i[0]||(i[0]=e=>D(t)&&l())},f(D(n)("annotation.edit")),11,sn),y("button",{class:o(["annotation-mode-button",{active:D(t)}]),type:"button",disabled:e.disabled,onClick:i[1]||(i[1]=e=>!D(t)&&l())},f(D(n)("annotation.entry")),11,dn)]))}}),cn=le(un,[["__scopeId","data-v-58966556"]]),pn={class:"annotation-empty-tip"},vn={class:"annotation-summary"},fn={class:"annotation-count"},mn={class:"annotation-detail-panel"},hn=["onMouseenter","onClick","onKeydown"],gn={class:"annotation-detail-index"},bn={class:"annotation-detail-thumb"},xn={class:"annotation-detail-page"},yn={class:"annotation-detail-text"},wn=["aria-label","onClick"],kn=["aria-label"],Sn=le(_({__name:"ToolbarAnnotationStatus",props:{toolbarEl:{}},setup(e){const t=e,a=x(),l=x({left:"50%",bottom:"0",paddingBottom:"6px",width:"480px",transform:"translateX(-50%)"}),{pageSize:i,pages:r}=Ct(),{isAnnotationMode:u,annotations:c,activeAnnotationId:m,clearAnnotations:g,removeAnnotation:b,jumpToAnnotation:w,highlightAnnotation:_}=ie(),{t:M}=xe(),{showConfirm:I}=re(),z=d(()=>c.value.length);async function E(){await I({title:M("annotation.clearConfirm.title"),content:M("annotation.clearConfirm.content"),confirmText:M("annotation.clearConfirm.confirmText"),cancelText:M("annotation.clearConfirm.cancelText"),confirmType:"danger"})&&await g()}function P(){_()}function T(e){w(e)}function L(e){return M("annotation.pageLabel",{page:e.pageLabel||`${e.pageIndex+1}`})}function F(e){return r.value.get(e.pageId)||r.value.get(`${e.pageId}.page`)}function $(){const e=a.value,o=t.toolbarEl;if(!e||!o||"undefined"==typeof window)return;const n=window.innerWidth,i=n-32;if(i<=0)return;const r=i<320?i:Math.min(480,i),s=e.getBoundingClientRect(),d=o.getBoundingClientRect(),u=d.left+d.width/2-r/2,c=n-16-r,p=Math.min(Math.max(u,16),c),v=Math.max(0,s.bottom-d.top);l.value={left:p-s.left+"px",bottom:"0",paddingBottom:`${v+6}px`,width:`${r}px`,transform:"none"}}function N(){A(()=>{requestAnimationFrame($)})}return O("resize",N),V(z,N),V(()=>t.toolbarEl,N),(e,t)=>(B(),p(n,null,[D(u)&&!z.value?(B(),p(n,{key:0},[t[2]||(t[2]=y("div",{class:"toolbar-divider"},null,-1)),y("div",pn,f(D(M)("annotation.emptyTip")),1)],64)):s("",!0),z.value?(B(),p(n,{key:1},[t[3]||(t[3]=y("div",{class:"toolbar-divider"},null,-1)),y("div",vn,[y("div",fn,[y("div",{ref_key:"annotationSummaryRef",ref:a,class:"annotation-detail-trigger",tabindex:"0",onMouseenter:$,onFocusin:$},[y("span",null,f(D(M)("annotation.addedCount",{count:z.value})),1),y("div",{class:"annotation-detail-popover",style:v(l.value)},[y("div",mn,[(B(!0),p(n,null,W(D(c),(e,a)=>(B(),p("div",{key:e.id,class:o(["annotation-detail-item",{active:e.id===D(m)}]),role:"button",tabindex:"0",onMouseenter:t=>function(e){_(e)}(e),onMouseleave:P,onClick:t=>T(e),onKeydown:[h(Q(t=>T(e),["prevent"]),["enter"]),h(Q(t=>T(e),["prevent"]),["space"])]},[y("span",gn,f(a+1),1),y("span",bn,[F(e)?(B(),k(Tt,{key:0,slide:F(e),"page-width":D(i)[0],"page-height":D(i)[1]},null,8,["slide","page-width","page-height"])):s("",!0)]),y("span",xn,f(L(e)),1),y("span",yn,f(e.annotation),1),y("button",{class:"annotation-detail-remove",type:"button","aria-label":D(M)("annotation.delete"),onClick:Q(t=>{return a=e.id,void b(a);var a},["stop"]),onKeydown:[t[0]||(t[0]=h(Q(()=>{},["stop"]),["enter"])),t[1]||(t[1]=h(Q(()=>{},["stop"]),["space"]))]},[S(D(ze),{name:"Close_f",width:"16",height:"16"})],40,wn)],42,hn))),128))])],4)],544),S(D(Vt),{content:D(M)("annotation.clear"),placement:"top"},{trigger:C(()=>[y("button",{class:"annotation-clear",type:"button","aria-label":D(M)("annotation.clear"),onClick:E},[S(D(ze),{name:"Delete",width:"14",height:"14"})],8,kn)]),_:1},8,["content"])])])],64)):s("",!0)],64))}}),[["__scopeId","data-v-b22e4986"]]),_n=[200,150],Mn=200,In=4,Cn=100,Bn=36,zn=[200,70],En="

",Pn={key:0,class:"toolbar-divider"},Tn={class:"graphics-panel"},Ln={class:"graphics-content"},An={class:"pool-container"},Fn={class:"pool-container"},$n=["disabled"],Dn=le(_({__name:"Toolbar",setup(e){const{creatingElement:t,rightPanelType:a,handleElementId:l,selectedElementIds:i,pushUndo:r,isEditable:u,toggleThemePanel:m,toggleAnimationPanel:h}=Et(),g=x(!1),b=x(),w=x("shape"),_=x(null),M=x(),I=x(),z=x();$();const{currentPage:E,addElement:P,pageSize:T,colorList:L}=Ct(),{isAnnotationMode:F,annotations:N}=ie(),{functional:R}=fe(),{t:U,locale:H}=xe(),Y=me(),{isUploading:X,uploadImage:K}=de(),W={teleport:!0,placement:"top",offset:12,align:"center",withinWindow:!0},G=d(()=>"shape"===t.value?.type&&xt(t.value.shapeName)),q=d(()=>"shape"===t.value?.type||G.value),J=d(()=>!u.value||F.value),Z=d(()=>N.value.length),ee=d(()=>R.value.annotation),te=d(()=>!ee.value||!F.value&&0===Z.value),ae=d(()=>ee.value&&te.value),oe=d(()=>!!E.value?.animations?.length),ne=d(()=>z.value?{width:`${z.value}px`}:{}),le=()=>{t.value=void 0},re=()=>{b.value?.close()},se=e=>{Ie("msh_nppt_create_element_success",{type:e,from:"action-bar"},["type","from"])},ue=()=>{J.value||("text"!==t.value?.type?(Ie("msh_nppt_action_bar_create_click",{type:"text"},"type"),t.value={type:"text"}):le())},ce=e=>{J.value||(Ie("msh_nppt_action_bar_create_click",{type:"shape"},"type"),t.value={type:"shape",shapeName:e},re())},pe=e=>{if(J.value)return;const a="type"in e?e.type:void 0;xt(a)&&(Ie("msh_nppt_action_bar_create_click",{type:"line"===a?"line":"shape"},"type"),t.value={type:"shape",shapeName:a||"line",points:"points"in e?e.points:["",""]},re())},ve=(e,a)=>{if(J.value)return;if(!E.value)return;Ie("msh_nppt_action_bar_create_click",{type:"table"},"type"),t.value=void 0;const o=function(e,t,a){const o=t*Cn,n=e*Bn,l=Array.from({length:e},()=>Array.from({length:t},()=>({content:{text:"

"}})));return{elementId:Se(6),elementType:"table",bounds:[(a[0]-o)/2,(a[1]-n)/2,o,n],columnWidths:Array(t).fill(1/t),rowHeights:Array(e).fill(1/e),rows:l}}(e,a,T.value);r(),P(E.value.pageId,o),se("table"),l.value=o.elementId,i.value=[o.elementId]},he=()=>{Ie("msh_nppt_action_bar_create_click",{type:"theme"},"type"),m()},ge=()=>{Ie("msh_nppt_action_bar_create_click",{type:"animation"},"type"),h()};V(()=>E.value?.animations?.length??0,e=>{0===e&&"animation"===a.value&&(a.value=null)});const be=async e=>{if(J.value)return;if(!E.value)return;Ie("msh_nppt_action_bar_create_click",{type:"latex"},"type");const t=(T.value[0]-300)/2,a=(T.value[1]-150)/2,o={elementId:Se(6),elementType:"text",bounds:[t,a,300,150],content:{text:"

",align:["center","middle"]}};r(),P(E.value.pageId,o),se("text"),l.value=o.elementId,i.value=[o.elementId],await A(),await new Promise(e=>requestAnimationFrame(e)),lt.emit(ot.INSERT_LATEX,{target:o.elementId,tex:e,action:"insert"})},ye=e=>{if(J.value)return;if(!E.value)return;Ie("msh_nppt_action_bar_create_click",{type:"icon"},"type");const t=(T.value[0]-75)/2,a=(T.value[1]-75)/2,o={elementId:Se(6),elementType:"icon",bounds:[t,a,75,75],iconName:e,fill:{type:"solid",color:L.value[0]}};P(E.value.pageId,o),se("icon"),re()},we=x(),ke=()=>{J.value||(Ie("msh_nppt_action_bar_create_click",{type:"image"},"type"),we.value?.click())},_e=()=>{J.value||(Ie("msh_nppt_action_bar_create_click",{type:"logo"},"type"),g.value=!0)},Me=async e=>{const a=e.target;if(!u.value)return void(a.value="");const o=a.files?.[0];if(a.value="",o)try{const e=await K(o);if(J.value)return;t.value={type:"image",src:e}}catch(n){Be("[Upload] Failed to upload image",n),Y.error("图片上传失败,请稍后重试")}};function Ce(){const e=I.value;if(!e)return;const t=Array.from(e.children).reduce((e,t,a)=>e+(a>0?8:0)+function(e){if(!(e instanceof HTMLElement))return 0;const t=e.querySelector(".horizontal-overflow-track");return t?t.scrollWidth:Math.max(e.scrollWidth,e.getBoundingClientRect().width)}(t),0);z.value=Math.ceil(t)}function Ee(){A(()=>{requestAnimationFrame(Ce)})}return O("resize",Ee),j(()=>{Ee()}),V([te,ae,ee,F,Z,H,oe],Ee),(e,l)=>(B(),p(n,null,[y("div",{ref_key:"toolbarRef",ref:M,class:"toolbar"},[ee.value?(B(),k(cn,{key:0,disabled:!D(u)},null,8,["disabled"])):s("",!0),y("div",{ref_key:"toolbarDynamicRef",ref:I,class:"toolbar-dynamic",style:v(ne.value)},[ae.value?(B(),p("div",Pn)):s("",!0),te.value?(B(),k(Xa,{key:1,class:"toolbar-overflow"},{default:C(()=>[S(Ya,{icon:"Text",tooltip:D(U)("insert.text"),active:"text"===D(t)?.type,disabled:J.value,onClick:ue},null,8,["tooltip","active","disabled"]),S(qt,{ref_key:"graphicsPopoverRef",ref:b,"hide-caret":!0,"float-options":W,disabled:J.value,"content-click-closes":!1},{trigger:C(({popoverVisible:e})=>[S(Ya,{icon:"Shape",tooltip:D(U)("insert.graphics"),active:e||q.value,disabled:J.value,onClick:t=>((e,t)=>{J.value||!t&&q.value&&(le(),e.stopPropagation())})(t,e)},null,8,["tooltip","active","disabled","onClick"])]),popover:C(()=>[y("div",Tn,[S(Te,{current:w.value,"onUpdate:current":l[1]||(l[1]=e=>w.value=e)},{default:C(()=>[S(Le,{class:"graphics-tabs",onClick:l[0]||(l[0]=Q(()=>{},["stop"]))},{default:C(()=>[S(Pe,{name:"shape",class:"graphics-tab"},{default:C(()=>[S(D(ze),{class:"graphics-tab-icon",name:"Shape",width:"20",height:"20"}),c(" "+f(D(U)("insert.graphicsShapeTab")),1)]),_:1}),S(Pe,{name:"line",class:"graphics-tab"},{default:C(()=>[S(D(ze),{class:"graphics-tab-icon",name:"Line",width:"20",height:"20"}),c(" "+f(D(U)("insert.graphicsLineTab")),1)]),_:1}),S(Pe,{name:"icon",class:"graphics-tab"},{default:C(()=>[S(D(ze),{class:"graphics-tab-icon",name:"Icon",width:"20",height:"20"}),c(" "+f(D(U)("insert.graphicsIconTab")),1)]),_:1})]),_:1}),y("div",Ln,[y("div",An,["shape"===w.value?(B(),k(ao,{key:0,onSelect:ce})):"line"===w.value?(B(),k(co,{key:1,onSelect:pe})):(B(),k(Bo,{key:2,onSelect:ye}))])])]),_:1},8,["current"])])]),_:1},8,["disabled"]),S(Ya,{icon:"Image",tooltip:D(U)("insert.image"),disabled:J.value||D(X),onClick:ke},null,8,["tooltip","disabled"]),S(qt,{"hide-caret":!0,"float-options":W,disabled:J.value},{trigger:C(({popoverVisible:e})=>[S(Ya,{icon:"Tabular",tooltip:D(U)("insert.table"),active:e,disabled:J.value},null,8,["tooltip","active","disabled"])]),popover:C(()=>[y("div",Fn,[S(mo,{onSelect:ve})])]),_:1},8,["disabled"]),S(Ya,{icon:"Style",tooltip:D(U)("insert.theme"),active:"theme"===D(a),disabled:J.value,onClick:he},null,8,["tooltip","active","disabled"]),oe.value?(B(),k(Ya,{key:0,icon:"Animation",tooltip:D(U)("insert.animation"),active:"animation"===D(a),disabled:J.value,onClick:ge},null,8,["tooltip","active","disabled"])):s("",!0),S(qt,{"hide-caret":!0,"float-options":W,disabled:J.value},{trigger:C(({popoverVisible:e})=>[S(Ya,{icon:"More",tooltip:D(U)("insert.more"),active:e,disabled:J.value,onClick:l[2]||(l[2]=e=>_.value=null)},null,8,["tooltip","active","disabled"])]),popover:C(()=>[y("div",{class:o(["more-menu",{"formula-mode":"latex"===_.value}])},["latex"===_.value?(B(),k(yo,{key:0,onSelect:be})):(B(),p(n,{key:1},[y("button",{class:"more-menu-item",onClick:l[3]||(l[3]=Q(e=>_.value="latex",["stop"]))},[S(D(ze),{class:"more-menu-icon",name:"MathFormula",width:"20",height:"20"}),y("span",null,f(D(U)("insert.latex")),1)]),y("button",{class:"more-menu-item",onClick:_e},[S(D(ze),{class:"more-menu-icon",name:"Watermark",width:"20",height:"20"}),y("span",null,f(D(U)("insert.watermark")),1)])],64))],2)]),_:1},8,["disabled"])]),_:1})):s("",!0),ee.value?(B(),k(Sn,{key:2,"toolbar-el":M.value},null,8,["toolbar-el"])):s("",!0)],4),y("input",{ref_key:"fileInputRef",ref:we,type:"file",accept:"image/*",style:{display:"none"},disabled:D(X),onChange:Me},null,40,$n)],512),g.value?(B(),k(ln,{key:0,onClose:l[4]||(l[4]=e=>g.value=!1)})):s("",!0)],64))}}),[["__scopeId","data-v-9de0e2e7"]]),Nn={class:"scale-value-text"},Rn=le(_({__name:"ScaleMenu",emits:["zoomIn","zoomOut","fitScreen","setScale"],setup(e,{emit:t}){const{canvasScale:a}=Et(),{t:o}=xe(),n=d(()=>Math.round(100*a.value)+"%"),l=["50%","100%","150%","200%"],i=d(()=>{const e=n.value;return l.includes(e)?e:void 0}),r=d(()=>[{label:o("scaleMenu.fitScreen"),value:"fitScreen"},{label:"50%",value:"50%"},{label:"100%",value:"100%"},{label:"150%",value:"150%"},{label:"200%",value:"200%"}]),s=t,u=()=>s("zoomIn"),c=()=>s("zoomOut"),v=e=>{"fitScreen"!==e?s("setScale",Number.parseInt(e,10)/100):s("fitScreen")},m=e=>{e.preventDefault(),e.deltaY>0?c():e.deltaY<0&&u()};return(e,t)=>(B(),p("div",{class:"scale-menu",onWheel:m},[S(D(Xt),{type:"icon",icon:"minus",tooltip:D(o)("scaleMenu.zoomOut"),"tooltip-placement":"bottom",onClick:c},null,8,["tooltip"]),S(Jt,{class:"scale-value","menu-list":r.value,"active-menu":i.value,onClick:v},{label:C(()=>[y("span",Nn,f(n.value),1)]),_:1},8,["menu-list","active-menu"]),S(D(Xt),{type:"icon",icon:"plus",tooltip:D(o)("scaleMenu.zoomIn"),"tooltip-placement":"bottom",onClick:u},null,8,["tooltip"])],32))}}),[["__scopeId","data-v-961c846e"]]),Un={class:"editor-bar"},jn={class:"toolbar-group"},On={key:0,class:"sidebar-restore"},Hn={class:"toolbar-group"},Yn=le(_({__name:"EditorBar",emits:["zoomIn","zoomOut","fitScreen","setScale"],setup(e,{emit:t}){const{undo:a,redo:o,canUndo:n,canRedo:l,sidebarCollapsed:i,isEditable:r}=Et(),{isAnnotationMode:d}=ie(),{t:u}=xe(),c=t;return(e,t)=>(B(),p("div",Un,[y("div",jn,[D(i)?(B(),p("div",On,[S(D(Xt),{type:"icon",icon:"Pages",tooltip:D(u)("sideBar.expand"),"tooltip-placement":"bottom",onClick:t[0]||(t[0]=e=>i.value=!1)},null,8,["tooltip"]),t[5]||(t[5]=y("div",{class:"sidebar-restore-divider"},null,-1))])):s("",!0),S(D(Xt),{type:"icon",disabled:!D(r)||!D(n)||D(d),icon:"Undo",tooltip:D(u)("basic.undo"),"tooltip-placement":"bottom",onClick:D(a)},null,8,["disabled","tooltip","onClick"]),S(D(Xt),{type:"icon",disabled:!D(r)||!D(l)||D(d),icon:"Redo",tooltip:D(u)("basic.redo"),"tooltip-placement":"bottom",onClick:D(o)},null,8,["disabled","tooltip","onClick"])]),y("div",Hn,[S(Rn,{onZoomIn:t[1]||(t[1]=e=>c("zoomIn")),onZoomOut:t[2]||(t[2]=e=>c("zoomOut")),onFitScreen:t[3]||(t[3]=e=>c("fitScreen")),onSetScale:t[4]||(t[4]=e=>c("setScale",e))})])]))}}),[["__scopeId","data-v-3bd11e5a"]]),Xn={class:"right-panel-content"},Kn=le(_({__name:"RightPanel",setup(e){const{rightPanelWidth:t,rightPanelType:a}=Et(),n=x(!1);return(e,l)=>(B(),k(F,{name:"right-panel-slide"},{default:C(()=>[D(a)?(B(),p("div",{key:0,class:o(["right-panel",{dragging:n.value}]),style:v({"--right-panel-width":`${D(t)}px`})},[y("div",Xn,["theme"===D(a)?E(e.$slots,"theme",{key:0},void 0,!0):s("",!0),"diff"===D(a)?E(e.$slots,"diff",{key:1},void 0,!0):s("",!0),"animation"===D(a)?E(e.$slots,"animation",{key:2},void 0,!0):s("",!0)]),S(ja,{class:"splitter",dir:"x",size:8,value:D(t),"onUpdate:value":l[0]||(l[0]=e=>b(t)?t.value=e:null),dragging:n.value,"onUpdate:dragging":l[1]||(l[1]=e=>n.value=e),min:D(220),max:D(700),calc:e=>-e},null,8,["value","dragging","min","max","calc"])],6)):s("",!0)]),_:3}))}}),[["__scopeId","data-v-7092f262"]]),Wn=function(e){return e[e.Bad=1]="Bad",e[e.Normal=2]="Normal",e[e.Good=3]="Good",e}({}),Vn={class:"feedback-title"},Gn=["src"],qn={key:0,class:"feedback-buttons"},Jn="pptd-v2",Zn=le(_({__name:"FeedbackSnackbar",emits:["close"],setup(e,{emit:t}){const a=t,{t:i}=xe(),r=M("snackbarRef"),{width:u}=T(r),v=d(()=>u.value>0&&u.value<500),m=x(!0),h=x(void 0),{start:g,stop:b}=l(()=>{E()},3e3,{immediate:!1}),w=[{icon:"Smile",labelKey:"feedback.snackbar.good",value:Wn.Good},{icon:"Normal",labelKey:"feedback.snackbar.normal",value:Wn.Normal},{icon:"Bad",labelKey:"feedback.snackbar.bad",value:Wn.Bad}],_=()=>{b()},I=()=>{h.value&&g()},z=()=>{b(),Ie("msh_nppt_feedback_click",{from:"rating",rate_for:Jn}),ce("showFeedback",{additionParams:{rate:h.value??0}}),E()},E=()=>{m.value&&(b(),m.value=!1)},P=()=>{a("close")};return(e,t)=>(B(),k(F,{name:"slide-up",appear:"",onAfterLeave:P},{default:C(()=>[m.value?(B(),p("div",{key:0,ref_key:"snackbarRef",ref:r,class:o(["feedback-snackbar",{"feedback-snackbar--narrow":v.value}]),onMouseenter:_,onMouseleave:I},[y("div",Vn,[h.value!==D(Wn).Good||v.value?s("",!0):(B(),p("img",{key:0,class:"like-icon",src:D("./like-GLEaLv1J.png")},null,8,Gn)),c(" "+f(h.value?D(i)("feedback.snackbar.successMessage"):D(i)("feedback.snackbar.title")),1)]),h.value?(B(),k(D(Xt),{key:1,type:"secondary",size:"medium",class:"feedback-write-btn",onClick:z},{default:C(()=>[c(f(D(i)("feedback.snackbar.writeFeedback")),1)]),_:1})):(B(),p("div",qn,[(B(),p(n,null,W(w,e=>S(D(Xt),{key:e.value,type:"secondary",icon:e.icon,onClick:t=>{return a=e.value,void(h.value||(h.value=a,Ie("msh_nppt_feedback_rate",{rate:a,rate_for:Jn}),g()));var a}},{default:C(()=>[c(f(D(i)(e.labelKey)),1)]),_:2},1032,["icon","onClick"])),64))])),y("button",{type:"button",class:"feedback-close",onClick:E},[S(D(ze),{name:"Close",width:"20",height:"20"})])],34)):s("",!0)]),_:1}))}}),[["__scopeId","data-v-daa80549"]]),Qn="__kimi_slides_clipboard__",el=_e(()=>{const{currentPage:e,pageSize:t,removeElement:a,addElement:o}=Ct(),{selectedElementIds:n,handleElementId:l,focusArea:i,disableHotkeys:r,pushUndo:s,isEditable:d}=Et(),{pasteFromText:u}=La(),{uploadImage:c}=de(),p=me();function v(){if(!e.value)return[];const t=new Set(n.value);return e.value.elements.filter(e=>t.has(e.elementId))}function f(e){n.value=e,l.value=e[0]??null,i.value="editor"}function m(e){const t=e??v();if(!t.length)return;const a=t.map(e=>({...e,elementId:Se(6)})),o=JSON.stringify({type:"elements",data:a});navigator.clipboard.writeText(o).catch(()=>{localStorage.setItem(Qn,o)})}function h(t){if(!d.value)return;const o=t??v();if(o.length&&(m(o),e.value)){s();for(const t of o)a(e.value.pageId,t.elementId);n.value=[],l.value=null}}function g(a){if(!d.value)return!1;if(!e.value||!a)return!1;s();const n=Math.min(600,t.value[0]-80),l=Math.max((t.value[0]-n)/2,0),i=Math.max((t.value[1]-50)/2,0),r=a.split(/\r?\n/).map(e=>`

${ye(e)||"
"}

`),u=Se(6),c={elementId:u,elementType:"text",bounds:[l,i,n,50],content:{text:r.join(""),align:["left","top"]}};return o(e.value.pageId,c),f([u]),Ie("msh_nppt_create_element_success",{type:"text",from:"plain-paste"},["type","from"]),!0}function b(t){if(!d.value)return!1;if(!e.value||!t)return!1;try{const a=JSON.parse(t);if("elements"===a.type&&Array.isArray(a.data))return function(t){if(!d.value)return!1;if(!e.value||!t.length)return!1;s();const a=[];for(const n of t){const t=Se(6),l={...n,elementId:t,bounds:[n.bounds[0]+10,n.bounds[1]+10,n.bounds[2],n.bounds[3]]};o(e.value.pageId,l),a.push(t)}return f(a),Ie("msh_nppt_create_element_success",{type:uu(t),from:"paste"},["type","from"]),!0}(a.data)}catch{return g(t)}return g(t)}async function x(){if(!d.value)return;let e="";try{e=await navigator.clipboard.readText()}catch{e=localStorage.getItem(Qn)||""}b(e)}async function y(a){if(!d.value)return!1;const n=e.value;if(!n||!a.type.startsWith("image/"))return!1;try{const e=await c(a);if(!d.value)return!1;const l=await lu(e,t.value);s();const i=Se(6),r={elementId:i,elementType:"image",bounds:l,src:e,fit:{mode:"fill"}};return o(n.pageId,r),f([i]),!0}catch(l){return Be("[Upload] Failed to paste image",l),p.error("图片上传失败,请稍后重试"),!1}}function w(t){if(!d.value)return;const o=t??v();if(o.length&&e.value){s();for(const t of o)a(e.value.pageId,t.elementId);n.value=[],l.value=null}}async function k(e){if(!d.value)return;if(r.value)return;if("editor"!==i.value&&"sidebar"!==i.value)return;if(!e.clipboardData)return;if("sidebar"===i.value)return void(u(e.clipboardData.getData("text/plain"))&&e.preventDefault());let t=null;for(let a=0;a{document.addEventListener("paste",k)}),X(()=>{document.removeEventListener("paste",k)}),au("element.copy",()=>m()),au("element.cut",()=>h()),au("element.paste",()=>x()),au("element.delete",()=>w()),{copy:m,cut:h,paste:x,pasteFromText:b,pasteImageFile:y,delete:w}}),tl=["data-element-id"],al=_({__name:"EditableElement",props:{element:{},isSelected:{type:Boolean},hidden:{type:Boolean},highlighted:{type:Boolean}},emits:["update","select","dragStart","drag","dragEnd"],setup(e,{emit:t}){const a=e,n=t,{selectedElementIds:l,handleElementId:i,isEditable:r}=Et(),{createElementContextMenus:s}=cu(()=>a.element),u=nu(e=>n("dragStart",e.clientX,e.clientY),e=>n("drag",e.clientX,e.clientY,e.shiftKey),()=>n("dragEnd")),c=e=>{if(r.value&&0===e.button){if(e.shiftKey){const e=new Set(l.value);return e.has(a.element.elementId)?e.delete(a.element.elementId):e.add(a.element.elementId),l.value=Array.from(e),void(i.value=a.element.elementId)}n("select",e),"text"!==a.element.elementType&&"table"!==a.element.elementType&&(e.preventDefault(),u(e))}},f={text:Oe,shape:Ne,line:et,image:Rt,table:it,chart:Lt,icon:wt},m=d(()=>f[a.element.elementType]),h=d(()=>{const[e,t,o,n]=a.element.bounds;return{"--el-x":`${e}px`,"--el-y":`${t}px`,"--el-w":`${o}px`,"--el-h":`${n}px`,"--el-r":`${a.element.rotation??0}deg`,cursor:"text"===a.element.elementType?void 0:"move",pointerEvents:r.value?void 0:"none"}});return(t,a)=>{const l=H("contextmenu");return q((B(),p("div",{class:o(["editable-element",{selected:e.isSelected,"animation-hidden":e.hidden,highlighted:e.highlighted}]),"data-testid":"editable-element","data-element-id":e.element.elementId,style:v(h.value),onMousedown:Q(c,["stop"]),onClick:a[1]||(a[1]=Q(()=>{},["stop"]))},[(B(),k(R(m.value),{element:e.element,onUpdate:a[0]||(a[0]=e=>n("update",e))},null,40,["element"]))],46,tl)),[[l,D(s)]])}}}),ol=le(al,[["__scopeId","data-v-eecf2ca2"]]),nl=_({__name:"index",props:{element:{},scale:{default:1},disableInteraction:{type:Boolean},contextmenus:{}},emits:["dragStart","drag","dragEnd","scaleStart","scale","scaleEnd","rotateStart","rotate","rotateEnd","keypointStart","keypoint","keypointEnd"],setup(e,{emit:t}){const a=e,l=t,i=d(()=>a.scale),r=d(()=>a.element.bounds),s=d(()=>r.value[0]*i.value),u=d(()=>r.value[1]*i.value),c=d(()=>r.value[2]*i.value),f=d(()=>r.value[3]*i.value),m=d(()=>a.element.rotation??0),h=d(()=>a.element.flip?.[0]?-1:1),g=d(()=>a.element.flip?.[1]?-1:1),b=d(()=>!!a.element.flip?.[0]),x=d(()=>!!a.element.flip?.[1]),w=d(()=>c.value<40||f.value<40),_=e=>a.contextmenus?.(e)??[],M=d(()=>"shape"===a.element.elementType||"image"===a.element.elementType),I=d(()=>{if(!M.value)return;const e=a.element;return qe(e.shapeName,e.adjustments)}),C={nw:"left-top",n:"top",ne:"right-top",w:"left",e:"right",sw:"left-bottom",s:"bottom",se:"right-bottom"},z=d(()=>{if(!M.value||0===(I.value?.adjustmentNames?.length??0))return[];const e=a.element,t=I.value;if(!t?.keypointPositions)return[];const o=e.adjustments??t.defaultValue??[],n=e.bounds[2]*i.value,l=e.bounds[3]*i.value,r=e.flip?.[0]?-1:1,s=e.flip?.[1]?-1:1,d=Math.PI*(e.rotation??0)/180,u=Math.cos(d),c=Math.sin(d),p=t.keypointPositions(n,l,o),v=[];return p.forEach((e,a)=>{if(!e)return;const[i,d]=Ge(t,n,l,o,a),p=i*r,f=d*s,m=u*p-c*f,h=c*p+u*f,g=function(e){const t=(e%360+360)%360;return t<22.5||t>=337.5?"right":t<67.5?"right-bottom":t<112.5?"bottom":t<157.5?"left-bottom":t<202.5?"left":t<247.5?"left-top":t<292.5?"top":"right-top"}(180*Math.atan2(h,m)/Math.PI);v.push({style:{left:`${e[0]}px`,top:`${e[1]}px`,"--keypoint-index":a},type:g,index:a})}),v}),E=d(()=>[{direction:"nw",kind:"corner",style:{left:"-5px",top:"-5px"}},{direction:"n",kind:"border",style:{left:"50%",top:"-5px",transform:"translateX(-50%)"}},{direction:"ne",kind:"corner",style:{right:"-5px",top:"-5px"}},{direction:"w",kind:"border",style:{left:"-5px",top:"50%",transform:"translateY(-50%)"}},{direction:"e",kind:"border",style:{right:"-5px",top:"50%",transform:"translateY(-50%)"}},{direction:"sw",kind:"corner",style:{left:"-5px",bottom:"-5px"}},{direction:"s",kind:"border",style:{left:"50%",bottom:"-5px",transform:"translateX(-50%)"}},{direction:"se",kind:"corner",style:{right:"-5px",bottom:"-5px"}}]);function P(e){0===e.button&&(e.stopPropagation(),nu(()=>l("rotateStart",e.clientX,e.clientY),e=>l("rotate",e.clientX,e.clientY),()=>l("rotateEnd"))(e))}function T(e){0===e.button&&(e.stopPropagation(),nu(()=>l("dragStart",e.clientX,e.clientY),e=>l("drag",e.clientX,e.clientY,e.shiftKey),()=>l("dragEnd"))(e))}return(t,a)=>{const i=H("contextmenu");return q((B(),p("div",{class:o(["operate-container",{mini:w.value,"disable-interaction":e.disableInteraction}]),style:v({left:`${s.value}px`,top:`${u.value}px`,width:`${c.value}px`,height:`${f.value}px`,transform:`rotate(${m.value}deg) scaleX(${h.value}) scaleY(${g.value})`})},[S(Ro,{class:"operate-dash-border",onMousedown:Q(T,["stop"])}),y("div",{class:"rotate-handle",style:v({left:c.value/2+"px"}),onMousedown:Q(P,["stop"])},null,36),(B(!0),p(n,null,W(E.value,e=>{return B(),k(Uo,{key:e.direction,type:(t=C[e.direction],a=b.value,n=x.value,t.split("-").map(e=>a&&"left"===e?"right":a&&"right"===e?"left":n&&"top"===e?"bottom":n&&"bottom"===e?"top":e).join("-")),rotate:m.value,class:o(["scale-handle",e.kind,`dir-${e.direction}`]),style:v(e.style),onMousedown:Q(t=>{return a=e.direction,void(0===(o=t).button&&(o.stopPropagation(),nu(()=>l("scaleStart",a,o.clientX,o.clientY),e=>l("scale",e.clientX,e.clientY,e.shiftKey),()=>l("scaleEnd"))(o)));var a,o},["stop"])},null,8,["type","rotate","class","style","onMousedown"]);var t,a,n}),128)),(B(!0),p(n,null,W(z.value,e=>(B(),k(Uo,{key:e.index,type:e.type,rotate:0,class:"keypoint-handle",style:v(e.style),onMousedown:Q(t=>{return a=e.index,void(0===(o=t).button&&(o.stopPropagation(),nu(()=>l("keypointStart",a,o.clientX,o.clientY),e=>l("keypoint",e.clientX,e.clientY),()=>l("keypointEnd"))(o)));var a,o},["stop"])},null,8,["type","style","onMousedown"]))),128))],6)),[[i,_]])}}}),ll=le(nl,[["__scopeId","data-v-a162e949"]]),il=.01,rl="__alignment_target__",sl={class:"line-operate"},dl=le(_({__name:"LineShapeElementOperate",props:{element:{},scale:{},contextmenus:{type:Function}},emits:["update","keypointStart","keypoint","keypointEnd"],setup(e,{emit:t}){const a=e,o=t,l=d(()=>a.scale??1),i=e=>a.contextmenus?.(e)??[],{currentElements:r,pageSize:s}=Ct(),{alignmentOverlay:u}=Et(),c=d(()=>{const[e,t,o,n]=a.element.bounds,i=a.element.flip?.[0]??!1,r=a.element.flip?.[1]??!1;return{left:(i?e+o:e)*l.value+"px",top:(r?t+n:t)*l.value+"px"}}),f=d(()=>{const[e,t,o,n]=a.element.bounds,i=a.element.flip?.[0]??!1,r=a.element.flip?.[1]??!1;return{left:(i?e:e+o)*l.value+"px",top:(r?t:t+n)*l.value+"px"}});function m(e){0===e.button&&(e.stopPropagation(),g(e,"start"))}function h(e){0===e.button&&(e.stopPropagation(),g(e,"end"))}function g(e,t){const n=e.clientX,i=e.clientY,[d,c,p,v]=[...a.element.bounds],f=a.element.flip?.[0]??!1,m=a.element.flip?.[1]??!1,h=f?d+p:d,g=m?c+v:c,b=f?d:d+p,x=m?c:c+v,[y,w]=s.value,k=bu(r.value,[a.element.elementId],[y,w]),S="start"===t?{x:b,y:x}:{x:h,y:g};u.value=null,nu(()=>{},e=>{const a=(e.clientX-n)/l.value,r=(e.clientY-i)/l.value;let s=h,d=g,c=b,p=x;"start"===t?(s+=a,d+=r):(c+=a,p+=r),e.shiftKey&&("start"===t?Math.abs(s-b)>Math.abs(d-x)?d=x:s=b:Math.abs(h-c)>Math.abs(g-p)?p=g:c=h);const v=ju(k,"start"===t?{x:s,y:d}:{x:c,y:p},[S]);"start"===t?(s+=v.offsetX,d+=v.offsetY):(c+=v.offsetX,p+=v.offsetY),u.value=v.overlay;const f=Math.min(s,c),m=Math.min(d,p),y=Math.max(s,c),w=Math.max(d,p);o("update",{bounds:[f,m,y-f,w-m],flip:[s>c,d>p]})},()=>{u.value=null})(e)}const b=d(()=>qe(a.element.shapeName,a.element.adjustments)),x=d(()=>{const e=b.value;if(!e?.adjustmentNames?.length||!e?.keypointPositions)return[];const t=a.element.adjustments??e.defaultValue??[],o=a.element.bounds[2]*l.value,n=a.element.bounds[3]*l.value,i=a.element.flip?.[0]?-1:1,r=a.element.flip?.[1]?-1:1,s=Math.PI*(a.element.rotation??0)/180,d=Math.cos(s),u=Math.sin(s),c=a.element.bounds[0]*l.value,p=a.element.bounds[1]*l.value,v=e.keypointPositions(o,n,t),f=[];return v.forEach((a,l)=>{if(!a)return;const[s,v]=Ge(e,o,n,t,l),m=s*i,h=v*r,g=d*m-u*h,b=u*m+d*h,x=function(e){const t=(e%360+360)%360;return t<22.5||t>=337.5?"right":t<67.5?"right-bottom":t<112.5?"bottom":t<157.5?"left-bottom":t<202.5?"left":t<247.5?"left-top":t<292.5?"top":"right-top"}(180*Math.atan2(b,g)/Math.PI);f.push({style:{left:`${c+a[0]}px`,top:`${p+a[1]}px`,"--keypoint-index":l},type:x,index:l})}),f});return(e,t)=>{const a=H("contextmenu");return q((B(),p("div",sl,[y("div",{class:"endpoint-handle start",style:v(c.value),onMousedown:Q(m,["stop"])},null,36),y("div",{class:"endpoint-handle end",style:v(f.value),onMousedown:Q(h,["stop"])},null,36),(B(!0),p(n,null,W(x.value,e=>(B(),k(Uo,{key:e.index,type:e.type,rotate:0,class:"keypoint-handle",style:v(e.style),onMousedown:Q(t=>{return a=e.index,void(0===(n=t).button&&(n.stopPropagation(),nu(()=>o("keypointStart",a,n.clientX,n.clientY),e=>o("keypoint",e.clientX,e.clientY),()=>o("keypointEnd"))(n)));var a,n},["stop"])},null,8,["type","style","onMousedown"]))),128))])),[[a,i]])}}}),[["__scopeId","data-v-7c43b986"]]),ul=["viewBox"],cl=["points"],pl=["d"],vl=["onMousedown"],fl=le(_({__name:"LineElementOperate",props:{element:{},scale:{default:1},contextmenus:{}},emits:["update"],setup(e,{emit:t}){const a=e,l=t,{currentElements:i,pageSize:r}=Ct(),{pushUndo:u,isOperating:c,lineEditMode:f,alignmentOverlay:m}=Et(),h=d(()=>a.scale),g=e=>a.contextmenus?.(e)??[],b=x(),w=x(),k=d(()=>Math.max(a.element.bounds[2],2)),S=d(()=>Math.max(a.element.bounds[3],2)),_=d(()=>a.element.viewBox??[a.element.bounds[2],a.element.bounds[3]]),M=d(()=>[Math.max(_.value[0],1e-6),Math.max(_.value[1],1e-6)]),I=d(()=>Dt(a.element.points)),C=d(()=>"smooth"===a.element.curve),z=d(()=>C.value&&I.value.length>2?I.value.map(e=>e.join(",")).join(" "):""),E=d(()=>({left:a.element.bounds[0]*h.value+"px",top:a.element.bounds[1]*h.value+"px",width:k.value*h.value+"px",height:S.value*h.value+"px",transform:`rotate(${a.element.rotation??0}deg) scaleX(${a.element.flip?.[0]?-1:1}) scaleY(${a.element.flip?.[1]?-1:1})`})),P=d(()=>$e(I.value,a.element.curve));function T(e){const t=Number(e.toFixed(3));return Object.is(t,-0)?"0":String(t)}function L(e){return e.map(e=>`${T(e[0])},${T(e[1])}`).join(" ")}function A(e,t,a){return Math.max(t,Math.min(a,e))}function F(e,t){const o=a.element.rotation??0,n=Math.PI*o/180,l=Math.cos(n),i=Math.sin(n);return[(l*e+i*t)*(a.element.flip?.[0]?-1:1),(l*t-i*e)*(a.element.flip?.[1]?-1:1)]}function $(e,t,o,n){const[l,i]=n,[r,s]=o,d=a.element.rotation??0,u=Math.PI*d/180,c=Math.cos(u),p=Math.sin(u),v=a.element.flip?.[0]?-1:1,f=a.element.flip?.[1]?-1:1,m=(e[0]/Math.max(l,1)*r-r/2)*v,h=(e[1]/Math.max(i,1)*s-s/2)*f;return[t[0]+r/2+c*m-p*h,t[1]+s/2+p*m+c*h]}function N(e,t,a){const[o,n]=e,[l,i]=t,[r,s]=a,d=r-l,u=s-i,c=d*d+u*u;if(0===c)return(o-l)**2+(n-i)**2;const p=A(((o-l)*d+(n-i)*u)/c,0,1);return(o-(l+p*d))**2+(n-(i+p*u))**2}function R(e){return C.value&&e>0&&e[...e]);if(C.value)o.splice(Math.max(o.length-1,1),0,a);else{const e=function(e){let t=-1,a=1/0;for(let o=0;o[...e]),v=[...a.element.bounds],g=[..._.value],b=[k.value,S.value],[x,y]=g,w=!a.element.rotation&&!a.element.flip?.[0]&&!a.element.flip?.[1],[M,C]=r.value,B=bu(i.value,[a.element.elementId],[M,C]),z=p.filter((t,a)=>a!==e).map(e=>$(e,v,b,g)).map(([e,t])=>({x:e,y:t}));m.value=null,nu(()=>{s||(u(),c.value=!0)},t=>{const a=Math.hypot(t.clientX-o,t.clientY-n);if(s&&!d){if(a<3)return;d=!0,u(),c.value=!0}const[i,r]=F((t.clientX-o)/h.value,(t.clientY-n)/h.value),f=p.map(e=>[...e]),k=p[e];if(!k)return;const S=[k[0]+i/b[0]*Math.max(x,1),k[1]+r/b[1]*Math.max(y,1)],_=w?S:[A(S[0],0,Math.max(x,1)),A(S[1],0,Math.max(y,1))],M=$(_,v,b,g),I=ju(B,{x:M[0],y:M[1]},z),[C,E]=F(I.offsetX,I.offsetY),P=[_[0]+C/b[0]*Math.max(x,1),_[1]+E/b[1]*Math.max(y,1)];f[e]=w?P:[A(P[0],0,Math.max(x,1)),A(P[1],0,Math.max(y,1))],m.value=I.overlay,l("update",function(e,t,a,o){const[n,l]=o,[i,r]=a,s=e.map(([e,t])=>[e/Math.max(n,1)*i,t/Math.max(l,1)*r]),d=Math.min(0,...s.map(e=>e[0])),u=Math.min(0,...s.map(e=>e[1])),c=Math.max(i,...s.map(e=>e[0])),p=Math.max(r,...s.map(e=>e[1]));if(0===d&&0===u&&c===i&&p===r)return{bounds:t,viewBox:o,points:L(e)};const v=Math.max(c-d,2),f=Math.max(p-u,2),m=s.map(([e,t])=>[e-d,t-u]);return{bounds:[t[0]+d,t[1]+u,v,f],viewBox:[v,f],points:L(m)}}(f,v,b,g))},()=>{m.value=null,!s||d?c.value=!1:function(e){if(I.value.length<=2)return;const t=I.value.filter((t,a)=>a!==e);u(),l("update",{points:L(t)})}(e)})(t)}return(e,t)=>{const a=H("contextmenu");return q((B(),p("div",{class:o(["line-element-operate",{"is-editing":D(f)}]),style:v(E.value)},[D(f)&&I.value.length>=2?(B(),p("svg",{key:0,ref_key:"lineSvgRef",ref:b,class:"line-helper",viewBox:`0 0 ${M.value[0]} ${M.value[1]}`,preserveAspectRatio:"none"},[z.value?(B(),p("polyline",{key:0,class:"line-control-guide",points:z.value,fill:"none"},null,8,cl)):s("",!0),y("path",{ref_key:"lineHitAreaRef",ref:w,class:"line-hit-area",d:P.value,fill:"none",onMousedown:Q(U,["stop","prevent"])},null,40,pl)],8,ul)):s("",!0),(B(!0),p(n,null,W(I.value,(e,t)=>(B(),p("button",{key:t,class:o(["line-point-handle",{"is-control":R(t)}]),style:v({left:e[0]/Math.max(_.value[0],1)*100+"%",top:e[1]/Math.max(_.value[1],1)*100+"%"}),type:"button",onMousedown:Q(e=>j(t,e),["stop"])},null,46,vl))),128))],6)),[[a,g]])}}}),[["__scopeId","data-v-4085b1df"]]),ml=le(_({__name:"MultiSelectOperate",props:{range:{},elements:{default:()=>[]},scale:{default:1}},emits:["dragStart","drag","dragEnd","scaleStart","scale","scaleEnd"],setup(e,{emit:t}){const a=e,l=t,i=d(()=>a.range.minX*a.scale),r=d(()=>a.range.minY*a.scale),s=d(()=>(a.range.maxX-a.range.minX)*a.scale),u=d(()=>(a.range.maxY-a.range.minY)*a.scale),c=d(()=>s.value<40||u.value<40),f={nw:"left-top",n:"top",ne:"right-top",w:"left",e:"right",sw:"left-bottom",s:"bottom",se:"right-bottom"},m=d(()=>[{direction:"nw",kind:"corner",style:{left:"-5px",top:"-5px"}},{direction:"n",kind:"border",style:{left:"50%",top:"-5px",transform:"translateX(-50%)"}},{direction:"ne",kind:"corner",style:{right:"-5px",top:"-5px"}},{direction:"w",kind:"border",style:{left:"-5px",top:"50%",transform:"translateY(-50%)"}},{direction:"e",kind:"border",style:{right:"-5px",top:"50%",transform:"translateY(-50%)"}},{direction:"sw",kind:"corner",style:{left:"-5px",bottom:"-5px"}},{direction:"s",kind:"border",style:{left:"50%",bottom:"-5px",transform:"translateX(-50%)"}},{direction:"se",kind:"corner",style:{right:"-5px",bottom:"-5px"}}]),h=d(()=>a.elements.map(e=>{const[t,o,n,l]=e.bounds;return{elementId:e.elementId,style:{left:(t-a.range.minX)*a.scale+"px",top:(o-a.range.minY)*a.scale+"px",width:n*a.scale+"px",height:l*a.scale+"px",transform:`rotate(${e.rotation??0}deg)`}}}));function g(e){0===e.button&&(e.stopPropagation(),nu(()=>l("dragStart",e.clientX,e.clientY),e=>l("drag",e.clientX,e.clientY,e.shiftKey),()=>l("dragEnd"))(e))}return(e,t)=>(B(),p("div",{class:o(["multi-select-operate",{mini:c.value}]),style:v({left:`${i.value}px`,top:`${r.value}px`,width:`${s.value}px`,height:`${u.value}px`})},[(B(!0),p(n,null,W(h.value,e=>(B(),k(Ro,{key:e.elementId,class:"selected-element-borderline",style:v(e.style),"no-animation":""},null,8,["style"]))),128)),S(Ro,{class:"multi-select-borderline",onMousedown:Q(g,["stop"])}),(B(!0),p(n,null,W(m.value,e=>(B(),k(Uo,{key:e.direction,type:f[e.direction],class:o(["scale-handle",e.kind,`dir-${e.direction}`]),style:v(e.style),onMousedown:Q(t=>{return a=e.direction,void(0===(o=t).button&&(o.stopPropagation(),nu(()=>l("scaleStart",a,o.clientX,o.clientY),e=>l("scale",e.clientX,e.clientY,e.shiftKey),()=>l("scaleEnd"))(o)));var a,o},["stop"])},null,8,["type","class","style","onMousedown"]))),128))],6))}}),[["__scopeId","data-v-cc9f8203"]]),hl={class:"number-menu"},gl=["step","min","max","value"],bl={class:"number-menu-handle"},xl=le(_({__name:"NumberMenu",props:{value:{},min:{default:-1/0},max:{default:1/0},step:{},postfix:{},inputWidth:{},tooltip:{}},emits:["update:value"],setup(e,{emit:t}){const a=e,o=t,n=x(),l=x(a.value);V(()=>a.value,e=>{l.value=e});const i=(e,t={source:"input"})=>{l.value=(e=>Math.max(a.min,Math.min(e,a.max)))(e),o("update:value",l.value,t)},r=e=>{i(l.value+e,{source:"step",delta:e})},s=async e=>{const t=e.target,a=Number(t.value);if(""===t.value.trim()||Number.isNaN(a))return t.value=String(l.value),await A(),void n.value?.focus();i(a),await A(),n.value?.focus()};return(t,a)=>(B(),k(D(Vt),{content:e.tooltip,disabled:!e.tooltip},{trigger:C(()=>[y("div",hl,[y("input",{ref_key:"inputRef",ref:n,class:"number-menu-input",type:"number",step:e.step,min:e.min,max:e.max,value:l.value,style:v({width:e.inputWidth}),onKeydown:a[0]||(a[0]=Q(()=>{},["stop"])),onChange:s},null,44,gl),y("span",{class:"number-menu-postfix",onClick:a[1]||(a[1]=e=>n.value?.focus())},f(e.postfix),1),y("div",bl,[y("button",{class:"number-menu-handle-button",type:"button",onMousedown:a[2]||(a[2]=Q(()=>{},["prevent"])),onClick:a[3]||(a[3]=t=>r(e.step??1))},[S(D(ze),{name:"Up_b",width:"12",height:"12"})],32),y("button",{class:"number-menu-handle-button",type:"button",onMousedown:a[4]||(a[4]=Q(()=>{},["prevent"])),onClick:a[5]||(a[5]=t=>r(-(e.step??1)))},[S(D(ze),{name:"Down_b",width:"12",height:"12"})],32)])])]),_:1},8,["content","disabled"]))}}),[["__scopeId","data-v-83ff1c3b"]]),yl=le(_({__name:"Checkboard",props:{size:{default:8},white:{default:"#fff"},grey:{default:"#e6e6e6"}},setup(e){const t=e,a={},o=(e,t,o)=>{const n=e+","+t+","+o;if(a[n])return a[n];const l=((e,t,a)=>{const o=document.createElement("canvas");o.width=o.height=2*a;const n=o.getContext("2d");return n?(n.fillStyle=e,n.fillRect(0,0,o.width,o.height),n.fillStyle=t,n.fillRect(0,0,a,a),n.translate(a,a),n.fillRect(0,0,a,a),o.toDataURL()):null})(e,t,o);return a[n]=l,l},n=d(()=>({backgroundImage:`url(${o(t.white,t.grey,t.size)})`}));return(e,t)=>(B(),p("div",{class:"checkerboard",style:v(n.value)},null,4))}}),[["__scopeId","data-v-34af3fd0"]]),wl={class:"alpha"},kl={class:"alpha-checkboard-wrap"},Sl=le(_({__name:"Alpha",props:{value:{}},emits:["colorChange","changeEnd"],setup(e,{emit:t}){const a=e,o=t,n=d(()=>a.value),l=d(()=>{const e=[n.value.r,n.value.g,n.value.b].join(",");return`linear-gradient(to right, rgba(${e}, 0) 0%, rgba(${e}, 1) 100%)`}),i=x(),r=e=>{if(!i.value)return;const t=i.value.clientWidth,a=i.value.getBoundingClientRect().left+window.pageXOffset,o=e.pageX-a;let l;return l=o<0?0:o>t?1:Math.round(100*o/t)/100,{r:n.value.r,g:n.value.g,b:n.value.b,a:l}},s=e=>{e.preventDefault();const t=r(e);t&&n.value.a!==t.a&&o("colorChange",t)},u=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",c)},c=e=>{const t=r(e);t&&(o("colorChange",t),o("changeEnd",t)),u()};return X(u),(e,t)=>(B(),p("div",wl,[y("div",kl,[S(yl)]),y("div",{class:"alpha-gradient",style:v({background:l.value})},null,4),y("div",{class:"alpha-container",ref_key:"alphaRef",ref:i,onMousedown:t[0]||(t[0]=e=>(s(e),window.addEventListener("mousemove",s),void window.addEventListener("mouseup",c)))},[y("div",{class:"alpha-pointer",style:v({left:100*n.value.a+"%"})},[...t[1]||(t[1]=[y("div",{class:"alpha-picker"},null,-1)])],4)],544)]))}}),[["__scopeId","data-v-371ca9eb"]]),_l={class:"hue"},Ml=le(_({__name:"Hue",props:{value:{},hue:{}},emits:["colorChange","changeEnd"],setup(e,{emit:t}){const a=e,o=t,n=x(0),l=x(""),i=d(()=>{const e=be(a.value).toHsl();return-1!==a.hue&&(e.h=a.hue),e}),r=d(()=>0===i.value.h&&"right"===l.value?"100%":100*i.value.h/360+"%");V(()=>a.value,()=>{const e=be(a.value).toHsl(),t=0===e.s?a.hue:e.h;0!==t&&t-n.value>0&&(l.value="right"),0!==t&&t-n.value<0&&(l.value="left"),n.value=t});const s=x(),u=e=>{if(!s.value)return;const t=s.value.clientWidth,a=s.value.getBoundingClientRect().left+window.pageXOffset,o=e.pageX-a;let n,l;return o<0?n=0:o>t?n=360:(l=100*o/t,n=360*l/100),{h:n,l:i.value.l,s:i.value.s,a:i.value.a}},c=e=>{e.preventDefault();const t=u(e);!t||-1!==a.hue&&i.value.h===t.h||o("colorChange",t)},f=()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",m)},m=e=>{const t=u(e);t&&(o("colorChange",t),o("changeEnd",t)),f()};return X(f),(e,t)=>(B(),p("div",_l,[y("div",{class:"hue-container",ref_key:"hueRef",ref:s,onMousedown:t[0]||(t[0]=e=>(c(e),window.addEventListener("mousemove",c),void window.addEventListener("mouseup",m)))},[y("div",{class:"hue-pointer",style:v({left:r.value})},[...t[1]||(t[1]=[y("div",{class:"hue-picker"},null,-1)])],4)],544)]))}}),[["__scopeId","data-v-e9d0c7a2"]]),Il=le(_({__name:"Saturation",props:{value:{},hue:{}},emits:["colorChange","changeEnd"],setup(e,{emit:t}){const a=e,o=t,n=d(()=>{const e=be(a.value).toHsv();return-1!==a.hue&&(e.h=a.hue),e}),l=d(()=>`hsl(${n.value.h}, 100%, 50%)`),i=d(()=>-100*n.value.v+1+100+"%"),r=d(()=>100*n.value.s+"%"),s=ne(function(e){o("colorChange",e)},20,{leading:!0,trailing:!1}),u=x(),c=e=>{if(!u.value)return;const t=u.value.clientWidth,a=u.value.clientHeight,o=u.value.getBoundingClientRect().left+window.pageXOffset,l=u.value.getBoundingClientRect().top+window.pageYOffset,i=ae(e.pageX-o,0,t),r=ae(e.pageY-l,0,a),s=i/t,d=ae(-r/a+1,0,1);return{h:n.value.h,s:s,v:d,a:n.value.a}},f=e=>{e.preventDefault();const t=c(e);t&&s(t)},m=()=>{window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",h)},h=e=>{const t=c(e);t&&(s.cancel(),o("colorChange",t),o("changeEnd",t)),m()};return X(m),(e,t)=>(B(),p("div",{class:"saturation",ref_key:"saturationRef",ref:u,style:v({background:l.value}),onMousedown:t[0]||(t[0]=e=>(f(e),window.addEventListener("mousemove",f),void window.addEventListener("mouseup",h)))},[t[2]||(t[2]=y("div",{class:"saturation-white"},null,-1)),t[3]||(t[3]=y("div",{class:"saturation-black"},null,-1)),y("div",{class:"saturation-pointer",style:v({top:i.value,left:r.value})},[...t[1]||(t[1]=[y("div",{class:"saturation-circle"},null,-1)])],4)],36))}}),[["__scopeId","data-v-895551ab"]]),Cl=e=>be(e).toHex8String(),Bl={class:"editable-input"},zl=["value"],El=le(_({__name:"EditableInput",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const a=e,o=t,n=d(()=>Cl(a.value).toUpperCase().replace("#",""));return(e,t)=>(B(),p("div",Bl,[y("input",{class:"input-content",value:n.value,onInput:t[0]||(t[0]=e=>(e=>{const t=e.target.value;if(t.length>=6){const e=be(t);e.isValid()&&o("colorChange",e.toRgb())}})(e))},null,40,zl)]))}}),[["__scopeId","data-v-1a307df7"]]),Pl={class:"picker-saturation-wrap"},Tl={class:"picker-controls"},Ll={class:"picker-color-wrap"},Al={class:"picker-sliders"},Fl={class:"picker-hue-wrap"},$l={class:"picker-alpha-wrap"},Dl={class:"picker-field"},Nl={class:"picker-presets"},Rl=["onClick"],Ul={key:0,class:"recent-colors-title"},jl={class:"picker-presets"},Ol=["onClick"],Hl="RECENT_COLORS",Yl=_({__name:"ColorPicker",props:{modelValue:{default:"#e86b99"},showThemeColors:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const{t:a}=xe(),{colorList:o}=Ct(),l=me(),i=e,r=t,u=e=>{e.stopPropagation(),e.target.closest('input, textarea, [contenteditable="true"]')||e.preventDefault()},c=x(-1),m=x([]),h=d({get:()=>be(i.modelValue).toRgb(),set(e){r("update:modelValue",Cl(e))}}),g=d(()=>`rgba(${[h.value.r,h.value.g,h.value.b,h.value.a].join(",")})`),b=e=>{c.value=be(e).toHsl().h,r("update:modelValue",Cl(e))},w=()=>{const e=Cl(h.value);if(!m.value.includes(e)){m.value=[e,...m.value];const t=10;m.value.length>t&&(m.value=m.value.slice(0,t))}},k=oe(w,300,{trailing:!0});j(()=>{const e=localStorage.getItem(Hl);if(!e)return;const t=JSON.parse(e);Array.isArray(t)&&(m.value=t.filter(e=>be(e).isValid()).map(Cl))}),V(m,()=>{const e=JSON.stringify(m.value);localStorage.setItem(Hl,e)});const _=(e,t=!0)=>{"h"in e?(c.value=e.h,h.value=be(e).toRgb()):(c.value=be(e).toHsl().h,h.value=e),t&&k()},M=e=>{_(e,!1),k.cancel(),w()},I=()=>{const e=l.loading(a("floatBar.escCloseEyeDropper"));(new window.EyeDropper).open().then(t=>{const a=be(t.sRGBHex);c.value=a.toHsl().h,h.value=a.toRgb(),l.close(e),k()}).catch(()=>{l.close(e)})};return(e,t)=>(B(),p("div",{class:"color-picker",onClick:t[9]||(t[9]=Q(()=>{},["stop"])),onMousedown:u,onPointerdown:t[10]||(t[10]=Q(()=>{},["stop"]))},[y("div",Pl,[S(Il,{value:h.value,hue:c.value,onColorChange:t[0]||(t[0]=e=>_(e,!1)),onChangeEnd:t[1]||(t[1]=e=>M(e))},null,8,["value","hue"])]),y("div",Tl,[y("div",Ll,[y("div",{class:"picker-current-color",style:v({background:g.value})},null,4),S(yl)]),y("div",Al,[y("div",Fl,[S(Ml,{value:h.value,hue:c.value,onColorChange:t[2]||(t[2]=e=>_(e,!1)),onChangeEnd:t[3]||(t[3]=e=>M(e))},null,8,["value","hue"])]),y("div",$l,[S(Sl,{value:h.value,onColorChange:t[4]||(t[4]=e=>_(e,!1)),onChangeEnd:t[5]||(t[5]=e=>M(e))},null,8,["value"])])])]),y("div",Dl,[S(El,{class:"input",value:h.value,onColorChange:t[6]||(t[6]=e=>_(e))},null,8,["value"]),y("div",{class:"straw",onClick:t[7]||(t[7]=e=>{"EyeDropper"in window?I():l.error(a("floatBar.notSupportEyeDropper"))})},[...t[11]||(t[11]=[y("svg",{class:"straw-icon",viewBox:"0 0 24 24","aria-hidden":"true"},[y("path",{d:"M20.71 5.63 18.37 3.29a1 1 0 0 0-1.42 0l-3.12 3.12-1.92-1.91-1.42 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12a1 1 0 0 0 .01-1.42ZM6.92 19H5v-1.92l8.06-8.06 1.92 1.92L6.92 19Z"})],-1)])]),y("div",{class:"transparent",onClick:t[8]||(t[8]=e=>b("#00000000"))},[S(yl)])]),y("div",Nl,[(B(!0),p(n,null,W(D(o),e=>(B(),p("div",{key:e,class:"picker-presets-color",style:v({background:e}),onClick:t=>b(e)},null,12,Rl))),128))]),m.value.length?(B(),p("div",Ul,f(D(a)("floatBar.recentColors")),1)):s("",!0),y("div",jl,[(B(!0),p(n,null,W(m.value,e=>(B(),p("div",{key:e,class:"picker-presets-color alpha",onClick:t=>b(e)},[y("div",{class:"picker-presets-color-content",style:v({background:e})},null,4)],8,Ol))),128))])],32))}}),Xl=le(Yl,[["__scopeId","data-v-76cd4aed"]]),Kl={class:"color-trigger"},Wl={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none"},Vl={key:0},Gl=["offset","stop-color"],ql=["r"],Jl=["offset","stop-color"],Zl=["fill"],Ql=le(_({__name:"FontColorTrigger",props:{color:{},gradient:{}},setup(e){const t=e,a=`font-color-trigger-${Math.random().toString(36).slice(2)}`;function o(e=0,t,a,o,n){const l=e*Math.PI/180,i=Math.cos(l),r=Math.sin(l),s=t+o/2,d=a+n/2,u=(Math.abs(i)*o+Math.abs(r)*n)/2;return{x1:s-i*u,y1:d-r*u,x2:s+i*u,y2:d+r*u}}const l=d(()=>t.gradient?`url(#${a})`:t.color??"currentColor");return(t,i)=>(B(),p("div",Kl,[(B(),p("svg",Wl,[e.gradient?(B(),p("defs",Vl,["linear"===e.gradient.gradientType?(B(),p("linearGradient",Y({key:0,id:a,gradientUnits:"userSpaceOnUse"},o(e.gradient.angle,3.333,15.8333,13.3333,2.5)),[(B(!0),p(n,null,W(e.gradient.stops,(e,t)=>(B(),p("stop",{key:t,offset:e.position,"stop-color":e.color},null,8,Gl))),128))],16)):(B(),p("radialGradient",{key:1,id:a,gradientUnits:"userSpaceOnUse",cx:"10",cy:"17.0833",r:Math.hypot(13.3333,2.5)/2},[(B(!0),p(n,null,W(e.gradient.stops,(e,t)=>(B(),p("stop",{key:t,offset:e.position,"stop-color":e.color},null,8,Jl))),128))],8,ql))])):s("",!0),y("rect",{width:"13.3333",height:"2.5",x:"3.333",y:"15.8333",fill:l.value,rx:"1"},null,8,Zl),i[0]||(i[0]=y("path",{fill:"var(--Labels-Primary)","fill-rule":"evenodd",d:"M10.0002 2.5833a.75.75 0 0 1 .6708.4145l3.5349 7.0699a.7305.7305 0 0 1 .014.028l1.4511 2.9021a.7501.7501 0 0 1-1.3417.6709l-1.251-2.5021H6.922l-1.251 2.5021a.7501.7501 0 0 1-1.3417-.6709l1.4511-2.9021a.7612.7612 0 0 1 .014-.028l3.535-7.0699a.75.75 0 0 1 .6708-.4145ZM7.672 9.6666h4.6563l-2.3281-4.6563L7.672 9.6666Z","clip-rule":"evenodd"},null,-1))]))]))}}),[["__scopeId","data-v-0d80d89d"]]),ei={class:"color-trigger"},ti={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none"},ai=["fill"],oi=le(_({__name:"TextBackgroundColorTrigger",props:{color:{}},setup(e){const t=e,a=d(()=>t.color??"#ffffff");return(e,t)=>(B(),p("div",ei,[(B(),p("svg",ti,[y("rect",{x:"1",y:"1",width:"18",height:"18",rx:"3",fill:a.value},null,8,ai),t[0]||(t[0]=y("path",{fill:"var(--Labels-Primary)","fill-rule":"evenodd",d:"M10.0002 2.5833a.75.75 0 0 1 .6708.4145l3.5349 7.0699a.7305.7305 0 0 1 .014.028l1.4511 2.9021a.7501.7501 0 0 1-1.3417.6709l-1.251-2.5021H6.922l-1.251 2.5021a.7501.7501 0 0 1-1.3417-.6709l1.4511-2.9021a.7612.7612 0 0 1 .014-.028l3.535-7.0699a.75.75 0 0 1 .6708-.4145ZM7.672 9.6666h4.6563l-2.3281-4.6563L7.672 9.6666Z","clip-rule":"evenodd"},null,-1))]))]))}}),[["__scopeId","data-v-aa4f600c"]]),ni=["min","max","step","value"],li=le(_({__name:"Slider",props:{value:{},min:{default:0},max:{default:100},step:{default:1}},emits:["update:value","start"],setup(e,{emit:t}){const a=t,o=e=>{a("update:value",Number(e.target.value))},n=()=>{a("start")};return(t,a)=>(B(),p("input",{class:"slider",type:"range",min:e.min,max:e.max,step:e.step,value:e.value,onInput:o,onPointerdown:n},null,40,ni))}}),[["__scopeId","data-v-d0ca9baa"]]),ii={teleport:!0,placement:"bottom",offset:20,align:"center",withinWindow:!0},ri={class:"slider-value"},si=le(_({__name:"OpacityMenu",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:n}=Ct(),{handleElementId:l,pushUndo:i}=Et(),{t:r}=xe(),s=d(()=>{if(o.value&&l.value)return o.value.elements.find(e=>e.elementId===l.value)}),u=e=>!!e&&["image","shape","icon","text","line"].includes(e.elementType),c=d(()=>{const e=s.value;return u(e)?e.opacity??1:1}),p=e=>{const t=s.value;t&&o.value&&u(t)&&n(o.value.pageId,t.elementId,{opacity:e/100})},v=()=>{const e=s.value;u(e)&&(i(),a("edit"))};return(e,t)=>(B(),k(qt,{tooltip:D(r)("floatBar.opacity"),"hide-caret":"","float-options":D(ii)},{trigger:C(()=>[S(D(ze),{class:"opacity-icon",name:"Alpha",width:"20",height:"20"})]),popover:C(()=>[y("div",{class:"slider-wrap",onClick:t[0]||(t[0]=Q(()=>{},["stop"])),onMousedown:t[1]||(t[1]=Q(()=>{},["stop"])),onPointerdown:t[2]||(t[2]=Q(()=>{},["stop"]))},[S(li,{value:100*c.value,onStart:v,"onUpdate:value":p},null,8,["value"]),y("span",ri,f((100*c.value).toFixed(0))+"%",1)],32)]),_:1},8,["tooltip","float-options"]))}}),[["__scopeId","data-v-3d6a8c64"]]),di=_({__name:"LayerMenu",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,reorderElement:n}=Ct(),{handleElementId:l,pushUndo:i}=Et(),{t:r}=xe(),s=d(()=>[{icon:"TopUp",label:r("floatBar.bringToTop"),value:"top"},{icon:"Bottom",label:r("floatBar.sendToBottom"),value:"bottom"},{icon:"MoveUp",label:r("floatBar.bringForward"),value:"up"},{icon:"MoveDown",label:r("floatBar.sendBackward"),value:"down"}]),u=e=>{if(!o.value||!l.value)return;if(!o.value.elements.find(e=>e.elementId===l.value))return;i();const t=o.value.pageId;n(t,l.value,e),a("edit")};return(e,t)=>(B(),k(Jt,{"menu-list":s.value,icon:"Layer",tooltip:D(r)("floatBar.layer"),"float-options":D(ii),onClick:u},null,8,["menu-list","tooltip","float-options"]))}}),ui={class:"float-bar-divider"},ci=le({},[["render",Ou],["__scopeId","data-v-a8a9d672"]]),pi=(e,t)=>{const a=e.replace(/^\$/,"");return"title"===a?t("themeEditor.textStyleTitle"):"subtitle"===a?t("themeEditor.textStyleSubtitle"):"body"===a?t("themeEditor.textStyleBody"):"caption"===a?t("themeEditor.textStyleCaption"):a},vi=e=>{const t=e.fontSize&&e.fontSize>0?e.fontSize:14,a=e.lineHeightPx??(e.lineHeight?Math.round(e.lineHeight*t):t>=16?t+8:t+6),o=Math.min(Math.max(t,12),28),n=a/t,l=Math.min(Math.max(Math.round(o*n),o+4),34);return{fontFamily:kt(e.fontFamily)||"inherit",fontSize:`${o}px`,fontStyle:e.fontStyle??"normal",fontWeight:o>=18?500:400,lineHeight:`${l}px`}},fi={class:"theme-text-style-item"},mi={class:"theme-text-style-item-meta"},hi=le(_({__name:"ThemeTextStyleItem",props:{styleKey:{},textStyle:{}},setup(e){const t=e,{t:a,locale:o}=xe(),n=d(()=>new Map(Nt.map(e=>[e.value,at(e,o.value)]))),l=d(()=>n.value.get("")??""),i=new Set(["MiSans","Mi Sans","Microsoft YaHei"]),r=e=>{const t=kt(e);if(!t)return l.value;const r=(t.split(",")[0]??t).trim().replace(/^['"]|['"]$/g,""),s=Nt.find(e=>e.value===r||e.aliasList.includes(r));return("zh-cn"===o.value&&i.has(r)?a("themeEditor.miSans"):void 0)??(s?n.value.get(s.value):void 0)??r},s=d(()=>pi(t.styleKey,a)),u=d(()=>vi(t.textStyle)),c=d(()=>[r(t.textStyle.fontFamily),t.textStyle.fontSize].filter(Boolean).join(" "));return(e,t)=>(B(),p("div",fi,[y("span",{class:"theme-text-style-item-name rtl-align",style:v(u.value)},f(s.value),5),y("span",mi,f(c.value),1)]))}}),[["__scopeId","data-v-74d26fc4"]]),gi={class:"float-line"},bi={class:"text-style-trigger-label"},xi={key:0,class:"unsupported-font-trigger"},yi={class:"unsupported-font-label"},wi={key:1,class:"font-trigger-label"},ki={key:0,class:"font-divider"},Si=["alt","src"],_i={class:"color-picker-wrapper"},Mi={class:"color-picker-wrapper"},Ii={class:"latex-pool-container"},Ci="divider",Bi=le(_({__name:"TextBar",emits:["edit"],setup(e,{emit:t}){const a=t,l=["left","top"],{t:i,locale:r}=xe(),u={...ii,align:"start"},c=d(()=>mt(je(r.value,Ci),w.value.customFonts,Ci)),m=e=>at(e,r.value),h=e=>At(e.value,r.value),{currentPage:g,theme:b,updateElement:x,meta:w}=Ct(),{handleElementId:_,richTextAttrs:M,pushUndo:I,selectedLatex:z,isTextEditing:E,openThemePanel:P}=Et(),T=d(()=>{const e=g.value,t=_.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),L=d(()=>[{name:"LeftAlign",label:i("floatBar.leftAlign"),value:"left"},{name:"CenterAlign",label:i("floatBar.centerAlign"),value:"center"},{name:"RightAlign",label:i("floatBar.rightAlign"),value:"right"},{name:"Justify",label:i("floatBar.justify"),value:"justify"}]),A=d(()=>[{name:"TopAlign",label:i("floatBar.topAlign"),value:"top"},{name:"CenterVertically",label:i("floatBar.verticallyCenter"),value:"middle"},{name:"BottomAlign",label:i("floatBar.bottomAlign"),value:"bottom"}]);function F(e,t){let a=e.content;return $t(e.content.style)&&(a=rt(b.value,e.content)),{...a,...t}}const $=d(()=>"text"!==T.value?.elementType?null:De(b.value,T.value.content));function N(e){const t=T.value,a=g.value;t&&a&&"text"===t.elementType&&(I(),R(t,a.pageId,e))}function R(e,t,o){x(t,e.elementId,{content:F(e,o)}),a("edit")}const U=d(()=>"text"!==T.value?.elementType?"left":T.value.content.align?.[0]??l[0]),j=d(()=>"text"!==T.value?.elementType?l[1]:T.value.content.align?.[1]??l[1]),O=e=>{const t=T.value;t&&N({align:[e,(t.content.align??l)[1]],text:nt(t.content.text??"")})},H=e=>{N({align:[(T.value?.content.align??l)[0],e]})},Y=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],X=()=>{const e=$.value;if(!e)return Ve;const t=e.fontSize??16;return void 0!==e.lineHeightPx&&null!==e.lineHeightPx?e.lineHeightPx/t:e.lineHeight??1.2},K=d(()=>{const e=X(),t=[...Y];return Number.isNaN(e)||t.includes(e)||(t.push(e),t.sort((e,t)=>e-t)),t.map(e=>({label:`${e.toFixed(1)}${i("floatBar.times")}`,value:e}))}),W=d(()=>X()),V=e=>{const t=T.value;t&&"text"===t.elementType&&N({lineHeight:e,lineHeightPx:void 0,text:Ye(t.content.text??"")})},G=["color","fontSize","fontFamily","fontStyle","backgroundColor","lineHeight","lineHeightPx","letterSpacing","marginTop"],q=d(()=>Object.entries(b.value?.textStyles??{})),J=d(()=>q.value.map(([e,t])=>({label:pi(e,i),value:e,style:t}))),Z=d(()=>ee.value?pi(ee.value,i):i("floatBar.unappliedTextStyle")),ee=d(()=>{const e=T.value?.content,t=e?.style??"";if(!$t(t))return"";if(e&&G.some(t=>void 0!==e[t]))return"";const a=t.slice(1);return b.value?.textStyles?.[a]?a:""}),te=e=>{const t=T.value,o=g.value;if(!t||!o||"text"!==t.elementType)return;I();const{style:n,color:l,fontSize:i,fontFamily:r,fontStyle:s,backgroundColor:d,lineHeight:u,lineHeightPx:c,letterSpacing:p,marginTop:v,...f}=t.content;x(o.pageId,t.elementId,{content:e?{...f,style:`$${e}`}:f}),a("edit")},ae=()=>{P()},oe=d(()=>{if(M.value.forecolor)return M.value.forecolor;const e=T.value?.content;if(!e)return;if(e.color)return e.color;const t=e.style;return t&&$t(t)?b.value?.textStyles?.[t.slice(1)]?.color:void 0}),ne=d(()=>M.value.forecolor?Ut(b.value,M.value.forecolor):$.value?.color),le=d(()=>{if(!M.value.forecolor)return $.value?.gradient}),ie=d(()=>Xu(i("floatBar.fontColor"),0,Hu(oe.value))),re=d(()=>{if(M.value.backcolor)return M.value.backcolor;const e=T.value?.content;if(!e)return;if(e.backgroundColor)return e.backgroundColor;const t=e.style;return t&&$t(t)?b.value?.textStyles?.[t.slice(1)]?.backgroundColor:void 0}),se=d(()=>{const e=re.value;if(e)return Ut(b.value,e)??e}),de=d(()=>Xu(i("floatBar.textBackground"),0,Hu(re.value))),ue=e=>{ce()?Ae("backcolor",e):N({backgroundColor:e})};function ce(){return E.value||function(){const e=T.value?.elementId;if(!e)return!1;const t=window.getSelection();if(!t||t.isCollapsed||!t.anchorNode||!t.focusNode)return!1;const a=document.querySelector(`[data-element-id="${e}"]`)?.querySelector(".prosemirror-editor");return!!a&&a.contains(t.anchorNode)&&a.contains(t.focusNode)}()}const pe=e=>{ce()?Ae("forecolor",e):N({color:e})};function ve(e){return e.trim().replace(/^['"]|['"]$/g,"")}function fe(e){const t=function(e){return ve(e.split(",")[0]??e)}(e);return function(e){const t=ve(e);return Nt.find(e=>e.value===t||e.aliasList.includes(t))?.value??""}(t)||ct(t,w.value.customFonts)}function me(e){if(!e)return"";const t=Fe(e);return t.textBetween(0,t.content.size)}function he(){const e=window.getSelection();return e&&!e.isCollapsed?e.toString():""}const ge=d(()=>{const e=M.value.fontname;if(e){const t=zt(e,he()),a=fe(t);return a?{value:a,unsupportedName:""}:{value:void 0,unsupportedName:t}}const t=zt($.value?.fontFamily,he()||me($.value?.text??""));if(!t)return{value:"",unsupportedName:""};const a=fe(t);return a?{value:a,unsupportedName:""}:{value:void 0,unsupportedName:t}}),be=d(()=>ge.value.unsupportedName),ye=d(()=>be.value?void 0:ge.value.value),we=d(()=>{const e=Nt.find(e=>e.value===ye.value);return e?m(e):ye.value||void 0}),ke=d(()=>be.value?i("floatBar.unsupportedFont"):i("floatBar.font")),Se=e=>{if(ce())Ae("fontname",e);else{const t=he()||me($.value?.text??"");N({fontFamily:_t($.value?.fontFamily,e,t)})}const t=Nt.find(t=>t.value===e);t?.fntdataUrl&&vt(t)},_e=d(()=>{const e=Number.parseFloat(M.value.fontsize);return Number.isNaN(e)?$.value?.fontSize??16:e}),Me=(e,t)=>{if("step"===t?.source&&t.delta){if(!ce()){const a=T.value,o=g.value;if(!a||!o||"text"!==a.elementType)return;return I(),Ae(t.delta>0?"fontsize-add":"fontsize-reduce",`${Math.abs(t.delta)}`),void R(a,o.pageId,{fontSize:e})}Ae(t.delta>0?"fontsize-add":"fontsize-reduce",`${Math.abs(t.delta)}`)}else{if(!ce())return N({fontSize:e}),void Ae("fontsize",`${e}px`);Ae("fontsize",`${e}px`)}},Ie=(e,t)=>{const a=Qe[t],o=Fe(e);let n=!1,l=!0;return o.descendants(e=>!e.isText||(n=!0,a.isInSet(e.marks)||(l=!1),!0)),n&&l},Ce=(e,t)=>{const a=Qe[t],o=Fe(e);let n=!1,l=!0;if(o.descendants(e=>!e.isText||(n=!0,a.isInSet(e.marks)||(l=!1),!0)),!n)return e;const i=Kt.create({doc:o}),r=i.doc.content.size,s=l?i.tr.removeMark(0,r,a):i.tr.addMark(0,r,a.create());return Ht(i.apply(s).doc)},Be=d(()=>M.value.hasSelection?M.value.bold:Ie(T.value?.content.text??"","bold")),Ee=d(()=>M.value.hasSelection?M.value.em:Ie(T.value?.content.text??"","em")),Pe=d(()=>M.value.hasSelection?M.value.underline:Ie(T.value?.content.text??"","underline")),Te=d(()=>M.value.hasSelection?M.value.strikethrough:Ie(T.value?.content.text??"","strikethrough")),Le=e=>{if(M.value.hasSelection)return void Ae(e);const t=T.value;t&&"text"===t.elementType&&(N({text:Ce(t.content.text??"",e)}),Ae(e,void 0,"wholeDoc"))},Ae=(e,t,o)=>{lt.emit(ot.RICH_TEXT_COMMAND,{target:T.value?.elementId,action:{command:e,value:t,scope:o}}),T.value&&a("edit")},$e=e=>{lt.emit(ot.INSERT_LATEX,{target:T.value?.elementId,tex:e,action:z.value?"replace":"insert"})};return(e,t)=>(B(),p("div",gi,[S(Jt,{class:"text-style-select","menu-list":J.value,"active-menu":ee.value,tooltip:D(i)("floatBar.textStyle"),"float-options":u,"max-width":"7em","keep-highlight":"","scroll-into-view":"",onClick:te},{label:C(()=>[y("span",bi,f(Z.value),1)]),item:C(({item:e})=>[e.style?(B(),k(hi,{key:0,class:"text-style-menu-item","style-key":e.value,"text-style":e.style},null,8,["style-key","text-style"])):s("",!0)]),extra:C(()=>[y("div",{class:"text-style-extra",onClick:Q(ae,["stop"])},[S(D(ze),{name:"Setting",width:"16",height:"16"}),y("span",null,f(D(i)("floatBar.manageTextStyles")),1)])]),_:1},8,["menu-list","active-menu","tooltip"]),S(Jt,{"menu-list":c.value,"active-menu":ye.value,tooltip:ke.value,"float-options":D(ii),"max-width":"7em","keep-highlight":"","scroll-into-view":"",onClick:Se},{label:C(()=>[be.value?(B(),p("span",xi,[S(D(ze),{class:"unsupported-font-icon",name:"Warning",width:"14",height:"14"}),y("span",yi,f(be.value),1)])):(B(),p("span",wi,f(we.value),1))]),item:C(({item:e})=>["string"==typeof e?(B(),p("div",ki)):(B(),p(n,{key:1},[h(e)?(B(),p("img",{key:0,class:"font-menu-item font-menu-item-image",alt:m(e),src:h(e)},null,8,Si)):(B(),p("div",{key:1,class:"font-menu-item",style:v({fontFamily:e.value||"inherit"})},f(m(e)),5))],64))]),_:1},8,["menu-list","active-menu","tooltip","float-options"]),S(xl,{postfix:"px","input-width":"28px",min:6,max:120,step:2,value:_e.value,tooltip:D(i)("floatBar.fontSize"),"onUpdate:value":Me},null,8,["value","tooltip"]),S(qt,{tooltip:ie.value,"float-options":D(ii)},{trigger:C(()=>[S(Ql,{color:ne.value,gradient:le.value},null,8,["color","gradient"])]),popover:C(()=>[y("div",_i,[S(Xl,{"model-value":ne.value,"onUpdate:modelValue":pe},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(qt,{tooltip:de.value,"float-options":D(ii)},{trigger:C(()=>[S(oi,{color:se.value},null,8,["color"])]),popover:C(()=>[y("div",Mi,[S(Xl,{"model-value":se.value??"#ffffff","onUpdate:modelValue":ue},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(Ea,{value:Be.value,icon:"Bold",tooltip:D(i)("floatBar.bold"),"onUpdate:value":t[0]||(t[0]=e=>Le("bold"))},null,8,["value","tooltip"]),S(Ea,{value:Ee.value,icon:"Italic",tooltip:D(i)("floatBar.italic"),"onUpdate:value":t[1]||(t[1]=e=>Le("em"))},null,8,["value","tooltip"]),S(Ea,{value:Pe.value,icon:"Underline",tooltip:D(i)("floatBar.underline"),"onUpdate:value":t[2]||(t[2]=e=>Le("underline"))},null,8,["value","tooltip"]),S(Ea,{value:Te.value,icon:"StrikeThrough",tooltip:D(i)("floatBar.strikethrough"),"onUpdate:value":t[3]||(t[3]=e=>Le("strikethrough"))},null,8,["value","tooltip"]),S(ci),S(qt,{tooltip:D(z)?D(i)("floatBar.editLatex"):D(i)("floatBar.insertLatex"),"float-options":D(ii)},{trigger:C(()=>[S(D(ze),{class:o(["latex-button",{"has-latex":!!D(z)}]),name:"MathFormula",width:"20",height:"20"},null,8,["class"])]),popover:C(()=>[y("div",Ii,[S(yo,{value:D(z)?.tex??"",title:D(z)?D(i)("floatBar.editLatex"):D(i)("floatBar.insertLatex"),onSelect:$e},null,8,["value","title"])])]),_:1},8,["tooltip","float-options"]),S(ci),S(Jt,{"menu-list":L.value,"active-menu":U.value,tooltip:D(i)("floatBar.horizontalAlignment"),"float-options":D(ii),"scroll-into-view":"",onClick:O},null,8,["menu-list","active-menu","tooltip","float-options"]),S(Jt,{"menu-list":A.value,"active-menu":j.value,tooltip:D(i)("floatBar.verticalAlignment"),"float-options":D(ii),"scroll-into-view":"",onClick:H},null,8,["menu-list","active-menu","tooltip","float-options"]),S(Jt,{"menu-list":K.value,"active-menu":W.value,tooltip:D(i)("floatBar.lineSpacing"),icon:"LineSpace","float-options":D(ii),"scroll-into-view":"",onClick:V},null,8,["menu-list","active-menu","tooltip","float-options"]),S(ci),S(si,{onEdit:t[4]||(t[4]=e=>a("edit"))}),S(di,{onEdit:t[5]||(t[5]=e=>a("edit"))})]))}}),[["__scopeId","data-v-3191f4d8"]]),zi={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},Ei={key:0},Pi=["offset","stop-color"],Ti=["r"],Li=["offset","stop-color"],Ai=["fill"],Fi=le(_({__name:"FillColorTrigger",props:{fill:{},fallbackColor:{default:"#fff"}},setup(e){const t=e,a=d(()=>{const e=t.fill;return"solid"===e?.type&&e.color?e.color:"gradient"===e?.type?e.stops[0]?.color??t.fallbackColor:t.fallbackColor}),o=d(()=>{const e=t.fill;return"gradient"===e?.type?e:void 0}),l=`fill-color-trigger-${Math.random().toString(36).slice(2)}`;function i(e=0,t,a,o,n){const l=e*Math.PI/180,i=Math.cos(l),r=Math.sin(l),s=t+o/2,d=a+n/2,u=(Math.abs(i)*o+Math.abs(r)*n)/2;return{x1:s-i*u,y1:d-r*u,x2:s+i*u,y2:d+r*u}}return(e,t)=>(B(),p("div",{class:"color-trigger",style:v({color:a.value})},[(B(),p("svg",zi,[o.value?(B(),p("defs",Ei,["linear"===o.value.gradientType?(B(),p("linearGradient",Y({key:0,id:l,gradientUnits:"userSpaceOnUse"},i(o.value.angle,2,2,16,16)),[(B(!0),p(n,null,W(o.value.stops,(e,t)=>(B(),p("stop",{key:t,offset:e.position,"stop-color":e.color},null,8,Pi))),128))],16)):(B(),p("radialGradient",{key:1,id:l,gradientUnits:"userSpaceOnUse",cx:"10",cy:"10",r:Math.hypot(16,16)/2},[(B(!0),p(n,null,W(o.value.stops,(e,t)=>(B(),p("stop",{key:t,offset:e.position,"stop-color":e.color},null,8,Li))),128))],8,Ti))])):s("",!0),y("rect",{x:"2",y:"2",width:"16",height:"16",rx:"2",fill:o.value?`url(#${l})`:a.value,stroke:"currentColor","stroke-width":"1.5"},null,8,Ai)]))],4))}}),[["__scopeId","data-v-58b0b252"]]),$i={class:"outline-trigger"},Di={key:0,class:"outline-none"},Ni={key:1,class:"outline-preview"},Ri={key:0,class:"outline-none-item"},Ui={class:"color-picker-wrapper"},ji=le(_({__name:"OutlineMenu",props:{border:{},type:{}},emits:["update:border"],setup(e,{emit:t}){const a=e,l=t,{t:i}=xe(),{theme:r}=Ct(),u=d(()=>"inShape"===a.type?i("floatBar.border"):i("floatBar.line")),c=Cl("#333"),m=d(()=>a.border?.style||"none"),h=d(()=>dt(r.value,a.border)),g=d(()=>h.value?.color??c),b=d(()=>"inLine"===a.type?1:0),x=d(()=>Xu(`${u.value}${i("floatBar.color")}`,0,Hu(a.border?.color))),w=d(()=>{const e=[{label:i("floatBar.solidLine"),value:"solid"},{label:i("floatBar.dashedLine"),value:"dash"},{label:i("floatBar.dottedLine"),value:"dot"}];return"inShape"===a.type?[{label:i("floatBar.noBorder"),value:"none"},...e]:e}),k=e=>Math.max(e??2,b.value),_=e=>{l("update:border","none"===e?void 0:{width:k(a.border?.width),color:a.border?.color??c,style:e})},M=e=>{l("update:border",{color:a.border?.color??c,style:a.border?.style??"solid",...e,width:k(e.width??a.border?.width)})};return(t,a)=>(B(),p(n,null,[S(qt,{tooltip:`${u.value}${D(i)("floatBar.style")}`,"float-options":D(ii)},{trigger:C(()=>[y("div",$i,["none"===m.value?(B(),p("div",Di,f(D(i)("floatBar.noBorder")),1)):(B(),p("div",Ni,[y("div",{class:o(["outline-line",m.value])},null,2)]))])]),popover:C(()=>[S(Gt,{"menu-list":w.value,onClick:_},{default:C(({item:e})=>["none"===e.value?(B(),p("div",Ri,f(D(i)("floatBar.noBorder")),1)):(B(),p("div",{key:1,class:o(["outline-line",e.value])},null,2))]),_:1},8,["menu-list"])]),_:1},8,["tooltip","float-options"]),"none"!==m.value&&e.border?(B(),p(n,{key:0},[S(xl,{value:k(e.border.width),min:b.value,max:50,step:1,tooltip:`${u.value}${D(i)("floatBar.thickness")}`,"input-width":"1.5em","onUpdate:value":a[0]||(a[0]=e=>M({width:e}))},null,8,["value","min","tooltip"]),S(qt,{tooltip:x.value,"float-options":D(ii)},{trigger:C(()=>[y("div",{class:"color-trigger",style:v({color:g.value})},[y("div",{class:"color-square",style:v({backgroundColor:g.value,border:`1px solid ${g.value}`})},null,4)],4)]),popover:C(()=>[y("div",Ui,[S(Xl,{"model-value":g.value,"onUpdate:modelValue":a[1]||(a[1]=e=>M({color:e}))},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"])],64)):s("",!0)],64))}}),[["__scopeId","data-v-2bba824e"]]),Oi=_({__name:"FlipMenu",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:l}=Ct(),{handleElementId:i,pushUndo:r}=Et(),{t:s}=xe(),u=d(()=>{if(o.value&&i.value)return o.value.elements.find(e=>e.elementId===i.value)}),c=d(()=>{const e=u.value;return!!e&&("image"===e.elementType||"shape"===e.elementType||"icon"===e.elementType)&&(e.flip?.[0]??!1)}),v=d(()=>{const e=u.value;return!!e&&("image"===e.elementType||"shape"===e.elementType||"icon"===e.elementType)&&(e.flip?.[1]??!1)}),f=(e,t)=>{const n=u.value;if(!n||!o.value)return;if(r(),"image"!==n.elementType&&"shape"!==n.elementType&&"icon"!==n.elementType)return;const i={},s=n.flip??[!1,!1];i.flip=[void 0!==e?e:s[0],void 0!==t?t:s[1]],l(o.value.pageId,n.elementId,i),a("edit")};return(e,t)=>(B(),p(n,null,[S(Ea,{value:c.value,"onUpdate:value":t[0]||(t[0]=e=>f(e,void 0)),tooltip:D(s)("floatBar.horizontalFlip"),icon:"Flip","no-active":""},null,8,["value","tooltip"]),S(Ea,{value:v.value,"onUpdate:value":t[1]||(t[1]=e=>f(void 0,e)),tooltip:D(s)("floatBar.verticalFlip"),icon:"Flip_b","no-active":""},null,8,["value","tooltip"])],64))}}),Hi={class:"float-line"},Yi={class:"shape-pool-panel"},Xi={class:"shape-pool-content"},Ki={class:"pool-container"},Wi={class:"color-picker-wrapper"},Vi=le(_({__name:"ShapeBar",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:n,theme:l}=Ct(),{handleElementId:i,pushUndo:r}=Et(),{t:s}=xe(),u=x(),c=d(()=>{const e=o.value,t=i.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),v=d(()=>{if("shape"===c.value?.elementType)return tt(l.value,c.value.fill)}),f=d(()=>Xu(s("floatBar.colorFill"),0,Yu(c.value?.fill))),m=d(()=>{const e=v.value;return"solid"===e?.type?e.color:"gradient"===e?.type?e.stops[0]?.color??"#fff":"#fff"}),h=d(()=>{if("shape"===c.value?.elementType)return c.value.border}),g=e=>{const t=c.value,l=o.value;t&&l&&(r(),n(l.pageId,t.elementId,{fill:{type:"solid",color:e}}),a("edit"))},b=e=>{const t=c.value,l=o.value;t&&l&&(r(),n(l.pageId,t.elementId,{border:e}),a("edit"))},w=e=>{const t=c.value,l=o.value;u.value?.close(),t&&l&&"shape"===t.elementType&&t.shapeName!==e&&(r(),n(l.pageId,t.elementId,{shapeName:e,adjustments:void 0,viewBox:void 0,path:void 0}),a("edit"))};return(e,t)=>(B(),p("div",Hi,[S(qt,{ref_key:"replaceShapePopoverRef",ref:u,tooltip:D(s)("floatBar.replaceShape"),"float-options":D(ii),"content-click-closes":!1},{trigger:C(({popoverVisible:e})=>[S(Ea,{value:e,icon:"Replace"},null,8,["value"])]),popover:C(()=>[y("div",Yi,[y("div",Xi,[y("div",Ki,[S(ao,{onSelect:w})])])])]),_:1},8,["tooltip","float-options"]),S(ci),S(qt,{tooltip:f.value,"float-options":D(ii)},{trigger:C(()=>[S(Fi,{fill:v.value},null,8,["fill"])]),popover:C(()=>[y("div",Wi,[S(Xl,{"model-value":m.value,"onUpdate:modelValue":g},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(ji,{border:h.value,type:"inShape","onUpdate:border":b},null,8,["border"]),S(ci),S(Oi,{onEdit:t[0]||(t[0]=e=>a("edit"))}),S(si,{onEdit:t[1]||(t[1]=e=>a("edit"))}),S(di,{onEdit:t[2]||(t[2]=e=>a("edit"))})]))}}),[["__scopeId","data-v-48b29257"]]),Gi={class:"float-line"},qi=_({__name:"ImageBar",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:n}=Ct(),{handleElementId:l,pushUndo:i,isEditable:r}=Et(),{t:s}=xe(),{uploadImage:u}=de(),c=me(),v=d(()=>{const e=o.value,t=l.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),f=d(()=>{const e=v.value;return!(!e||"image"!==e.elementType||!e.crop)}),m=d(()=>[{name:"fitFill",label:s("floatBar.fitFill"),value:"fill"},{name:"fitContain",label:s("floatBar.fitContain"),value:"contain"},{name:"fitCover",label:s("floatBar.fitCover"),value:"cover"}]),h=d(()=>v.value?.fit?.mode??"fill"),g=d(()=>{if("image"===v.value?.elementType)return v.value.border}),b=()=>{if(!r.value)return;const e=document.createElement("input");e.type="file",e.accept="image/*",e.addEventListener("change",async e=>{const t=e.target.files?.[0];if(!t)return;const l=v.value,s=o.value;if(l&&s&&"image"===l.elementType)try{const e=await u(t);if(!r.value)return;i();const o=new window.Image;o.src=e,await new Promise((e,t)=>{o.addEventListener("load",()=>e(),{once:!0}),o.addEventListener("error",()=>t(new Error("image load failed")),{once:!0})});const d=l.bounds[2],c=l.bounds[3],p=l.bounds[0],v=l.bounds[1],f=p+d/2,m=v+c/2,h=o.width*(c/o.height),g=c,b=f-h/2,x=m-g/2;n(s.pageId,l.elementId,{src:e,bounds:[b,x,h,g],crop:void 0}),a("edit")}catch(d){Be("[Upload] Failed to replace image",d),c.error("图片上传失败,请稍后重试")}}),e.click()},x=()=>{const e=v.value,t=o.value;e&&t&&"image"===e.elementType&&(i(),n(t.pageId,e.elementId,{crop:e.crop?void 0:{left:0,top:0,right:0,bottom:0}}),a("edit"))},y=e=>{const t=v.value,l=o.value;t&&l&&"image"===t.elementType&&(i(),n(l.pageId,t.elementId,{border:e}),a("edit"))};return(e,t)=>(B(),p("div",Gi,[S(Ea,{value:!1,icon:"Replace",tooltip:D(s)("floatBar.replaceImage"),"onUpdate:value":b},null,8,["tooltip"]),S(Ea,{value:f.value,icon:"Cropping",tooltip:f.value?D(s)("floatBar.cancelCrop"):D(s)("floatBar.cropImage"),"onUpdate:value":x},null,8,["value","tooltip"]),S(Jt,{"menu-list":m.value,"active-menu":h.value,tooltip:D(s)("floatBar.imageFit"),"float-options":D(ii),onClick:t[0]||(t[0]=e=>(e=>{const t=v.value,l=o.value;t&&l&&"image"===t.elementType&&(i(),n(l.pageId,t.elementId,{fit:{mode:e}}),a("edit"))})(e))},null,8,["menu-list","active-menu","tooltip","float-options"]),S(ji,{border:g.value,type:"inShape","onUpdate:border":y},null,8,["border"]),S(ci),S(Oi,{onEdit:t[1]||(t[1]=e=>a("edit"))}),S(si,{onEdit:t[2]||(t[2]=e=>a("edit"))}),S(ci),S(di,{onEdit:t[3]||(t[3]=e=>a("edit"))})]))}}),Ji={class:"line-arrow-preview",width:"20",height:"24",viewBox:"0 0 24 24",overflow:"visible"},Zi=["marker-start","marker-end"],Qi=le(_({__name:"LineArrowPreview",props:{value:{},position:{}},setup(e){const t=e,a=m()?.uid??0,o=d(()=>`line-arrow-preview-${a}-${t.position}-${t.value}`),n=d(()=>"none"===t.value?void 0:t.value),l=d(()=>"start"===t.position&&n.value?`url(#${o.value}-${n.value}-start)`:void 0),i=d(()=>"end"===t.position&&n.value?`url(#${o.value}-${n.value}-end)`:void 0);return(t,a)=>(B(),p("svg",Ji,[y("defs",null,[n.value?(B(),k(Je,{key:0,id:o.value,position:e.position,type:n.value,color:"currentColor",baseSize:3},null,8,["id","position","type"])):s("",!0)]),y("path",{d:"M5 12 L19 12",stroke:"currentColor",fill:"none","stroke-width":"2","marker-start":l.value,"marker-end":i.value},null,8,Zi)]))}}),[["__scopeId","data-v-19c1ad29"]]),er={class:"float-line"},tr=le(_({__name:"LineBar",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:l}=Ct(),{handleElementId:i,lineEditMode:r,pushUndo:u}=Et(),{t:c}=xe(),v=2,f="solid",m="#333333",h=[{label:"none",value:"none"},{label:"arrow",value:"arrow"},{label:"stealth",value:"stealth"},{label:"diamond",value:"diamond"},{label:"oval",value:"oval"}],g=d(()=>{const e=o.value,t=i.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),b=d(()=>{if("shape"===g.value?.elementType||"line"===g.value?.elementType)return(e=>({width:e?.width??v,style:e?.style??f,color:e?.color??m}))(g.value.border)}),x=d(()=>"line"===g.value?.elementType?g.value:void 0),y=d(()=>!!x.value),w=d(()=>x.value?.curve??"sharp"),k=d(()=>Ue.map(e=>({label:c(e.labelKey),value:e.value}))),_=d(()=>x.value?.arrow?.[0]??"none"),M=d(()=>x.value?.arrow?.[1]??"none"),I=e=>{y.value&&(r.value=e,a("edit"))},z=(e,t)=>{const n=x.value,i=o.value;if(!n||!i)return;const r=[n.arrow?.[0]??null,n.arrow?.[1]??null];r["start"===e?0:1]="none"===t?null:t,u(),l(i.pageId,n.elementId,{arrow:r}),a("edit")},E=e=>{const t=g.value,n=o.value;t&&n&&("shape"===t.elementType||"line"===t.elementType)&&(u(),l(n.pageId,t.elementId,{border:e}),a("edit"))};return(e,t)=>(B(),p("div",er,[S(ji,{border:b.value,type:"inLine","onUpdate:border":E},null,8,["border"]),y.value?(B(),p(n,{key:0},[S(ci),S(Ea,{value:D(r),class:"line-edit-toggle",icon:"Write",tooltip:D(c)("floatBar.editLine"),"onUpdate:value":I},null,8,["value","tooltip"]),S(Jt,{class:"line-curve-select","menu-list":k.value,"active-menu":w.value,tooltip:D(c)("floatBar.curveLine"),"float-options":D(ii),onClick:t[0]||(t[0]=e=>(e=>{const t=x.value,n=o.value;t&&n&&w.value!==e&&(u(),l(n.pageId,t.elementId,{curve:e}),a("edit"))})(e))},null,8,["menu-list","active-menu","tooltip","float-options"]),S(ci),S(Jt,{class:"line-arrow-select","menu-list":h,"active-menu":_.value,tooltip:D(c)("floatBar.lineStartArrow"),"float-options":D(ii),onClick:t[1]||(t[1]=e=>z("start",e))},{label:C(()=>[S(Qi,{value:_.value,position:"start"},null,8,["value"])]),item:C(({item:e})=>[S(Qi,{value:e.value,position:"start"},null,8,["value"])]),_:1},8,["active-menu","tooltip","float-options"]),S(Jt,{class:"line-arrow-select","menu-list":h,"active-menu":M.value,tooltip:D(c)("floatBar.lineEndArrow"),"float-options":D(ii),onClick:t[2]||(t[2]=e=>z("end",e))},{label:C(()=>[S(Qi,{value:M.value,position:"end"},null,8,["value"])]),item:C(({item:e})=>[S(Qi,{value:e.value,position:"end"},null,8,["value"])]),_:1},8,["active-menu","tooltip","float-options"])],64)):s("",!0),S(ci),S(si,{onEdit:t[3]||(t[3]=e=>a("edit"))}),S(di,{onEdit:t[4]||(t[4]=e=>a("edit"))})]))}}),[["__scopeId","data-v-043f4c70"]]),ar=_({__name:"TableBorderMenu",props:{options:{},activeValue:{},tooltip:{}},emits:["select"],setup(e,{emit:t}){const a=e=>"divider"!==e,o=e,n=t,l=d(()=>{const e=o.options.filter(a),t=e.find(e=>e.value===o.activeValue);return t?t.name:e[0]?.name});return(t,a)=>(B(),k(Jt,{"menu-list":e.options,"active-menu":e.activeValue,tooltip:e.tooltip,icon:l.value,"float-options":D(ii),onClick:a[0]||(a[0]=e=>n("select",String(e)))},null,8,["menu-list","active-menu","tooltip","icon","float-options"]))}}),or={class:"float-line cell-line"},nr={class:"color-picker-wrapper"},lr={class:"color-picker-wrapper"},ir={class:"color-picker-wrapper"},rr={key:0,class:"unsupported-font-trigger"},sr={class:"unsupported-font-label"},dr={key:1,class:"font-trigger-label"},ur={key:0,class:"font-divider"},cr=["alt","src"],pr={class:"latex-pool-container"},vr="divider",fr=le(_({__name:"TableCellBar",emits:["edit"],setup(e,{emit:t}){const a=t,l=["center","middle"],{t:i,locale:r}=xe(),s={width:1,style:"solid",color:"#000000"},u=d(()=>mt(je(r.value,vr),x.value.customFonts,vr)),c=e=>at(e,r.value),m=e=>At(e.value,r.value),{currentPage:h,updateElement:g,theme:b,meta:x}=Ct(),{handleElementId:w,selectedTableCells:k,activeTableCellKey:_,pushUndo:M,richTextAttrs:I,isTextEditing:z,selectedLatex:E}=Et(),P=d(()=>{const e=h.value,t=w.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),T=d(()=>{const e=P.value;return e&&"table"===e.elementType?st(e.rows,e.columnWidths.length):[]}),L=d(()=>{const e=P.value;if(!e||"table"!==e.elementType)return[];const t=T.value;return k.value.map(e=>{const[a,o]=e.split("_").map(Number),n=t[a]?.[o];return n&&"anchor"===n.kind?{row:a,col:o,cell:n.cell,cellIndexInRow:n.cellIndexInRow}:null}).filter(Boolean)}),A=e=>{if(e)return Array.isArray(e)?e.find(e=>!!e):e},F=e=>{if(e.content)return e.content;const t=e;return{text:t.text??"",style:t.textStyle,color:t.color,fontSize:t.fontSize,fontFamily:t.fontFamily,fontStyle:t.fontStyle,lineHeight:t.lineHeight,lineHeightPx:t.lineHeightPx,letterSpacing:t.letterSpacing,marginTop:t.marginTop,align:t.align,wrap:t.wrap,backgroundColor:t.backgroundColor,bold:t.bold,italic:t.italic}},$=(e,t)=>{if(e.content)return{...e,content:{...e.content,...t}};const{style:a,...o}=t;return{...e,...o,...void 0!==a?{textStyle:a}:{}}},N=e=>{const t=P.value,o=h.value;if(!t||!o||"table"!==t.elementType)return;if(0===k.value.length)return;M();const n=T.value,l=t.rows.map(e=>[...e]);for(const a of k.value){const[t,o]=a.split("_").map(Number),i=n[t]?.[o];if("anchor"!==i?.kind)continue;const{cellPatch:r,contentPatch:s}=e(i.cell);let d={...l[t][i.cellIndexInRow],...r};s&&(d=$(d,s)),r&&"border"in r&&void 0===r.border&&delete d.border,l[t][i.cellIndexInRow]=d}g(o.pageId,t.elementId,{rows:l}),a("edit")},R=d(()=>{const e=L.value;if(0===e.length)return;const t=tt(b.value,e[0].cell.fill);return e.every(e=>JSON.stringify(tt(b.value,e.cell.fill))===JSON.stringify(t))?t:void 0}),U=d(()=>{const e=R.value;return"solid"===e?.type?e.color:"gradient"===e?.type?e.stops[0]?.color??"#fff":void 0}),j=d(()=>{const e=L.value,t=Yu(e[0]?.cell.fill);return t&&e.every(e=>Yu(e.cell.fill)===t),Xu(i("floatBar.cellBackground"))}),O=e=>{N(()=>({cellPatch:{fill:{type:"solid",color:e}}}))},H=d(()=>{const e=L.value;if(0===e.length)return;const t=A(e[0].cell.border);return e.every(e=>JSON.stringify(A(e.cell.border))===JSON.stringify(t))?t:void 0}),Y=d(()=>[{name:"bdDef",label:i("floatBar.defaultBorder"),value:"default"},{name:"bdNone",label:i("floatBar.noBorder"),value:"none"},{name:"bdAll",label:i("floatBar.allBorders"),value:"all"},"divider",{name:"bdTop",label:i("floatBar.topBorder"),value:"top"},{name:"bdRight",label:i("floatBar.rightBorder"),value:"right"},{name:"bdBottom",label:i("floatBar.bottomBorder"),value:"bottom"},{name:"bdLeft",label:i("floatBar.leftBorder"),value:"left"}]),X=d(()=>{const e=L.value;if(0===e.length)return;const t=K(e[0].cell.border);return e.every(e=>K(e.cell.border)===t)?t:void 0}),K=e=>{if(void 0===e)return"default";if(null===e)return"none";const t=Ot(e).map(e=>!!e&&"none"!==e.style);return t.some(Boolean)?t.every(Boolean)?"all":!t[0]||t[1]||t[2]||t[3]?t[0]||!t[1]||t[2]||t[3]?t[0]||t[1]||!t[2]||t[3]?t[0]||t[1]||t[2]||!t[3]?void 0:"left":"bottom":"right":"top":"none"},W=d(()=>{const e=X.value;if(e&&"default"!==e&&"none"!==e)return H.value??s}),V=(e,t)=>"none"===e?[null,null,null,null]:"default"===e||"all"===e?t:"top"===e?[t,null,null,null]:"right"===e?[null,t,null,null]:"bottom"===e?[null,null,t,null]:[null,null,null,t],G=e=>{const t=e?X.value&&"default"!==X.value&&"none"!==X.value?X.value:"all":"none";N(()=>({cellPatch:{border:e?V(t,e):V("none",s)}}))},q=e=>{N("default"!==e?t=>({cellPatch:{border:V(e,A(t.border)??H.value??s)}}):()=>({cellPatch:{border:void 0}}))},J=e=>{const t=P.value;if(t&&"table"===t.elementType)return`${t.elementId}:${e}`};function Z(){const e=P.value;return e&&"table"===e.elementType?document.querySelector(`[data-element-id="${e.elementId}"]`):null}function Q(e){return e?e instanceof HTMLElement?e:e.parentElement:null}function ee(e=!1){const t=Z();if(!t)return null;const a=window.getSelection();if(!a||!e&&a.isCollapsed||!a.anchorNode||!a.focusNode)return null;const o=Q(a.anchorNode)?.closest(".pptd-table-cell"),n=Q(a.focusNode)?.closest(".pptd-table-cell");if(!o||o!==n)return null;if(!t?.contains(o))return null;const l=o.querySelector(".prosemirror-editor");return l?.contains(a.anchorNode)&&l.contains(a.focusNode)?o.dataset.cellId??null:null}function te(){return!!ae.value}const ae=d(()=>{const e=ee();return e||(z.value?function(){if(!(document.activeElement instanceof HTMLElement))return null;if(!Z()?.contains(document.activeElement))return null;const e=document.activeElement.closest(".pptd-table-cell");return e?.querySelector(".prosemirror-editor")?.contains(document.activeElement)?e.dataset.cellId??null:null}()??ee(!0)??_.value:null)}),oe=d(()=>!!ae.value),ne=d(()=>{if(oe.value&&I.value.forecolor)return Ut(b.value,I.value.forecolor);const e=L.value;if(0===e.length)return;const t=De(b.value,F(e[0].cell)).color;return e.every(e=>De(b.value,F(e.cell)).color===t)?t:void 0}),le=d(()=>{if(oe.value&&I.value.forecolor)return;const e=L.value;if(0===e.length)return;const t=De(b.value,F(e[0].cell)).gradient;return e.every(e=>{const a=De(b.value,F(e.cell)).gradient;return JSON.stringify(a)===JSON.stringify(t)})?t:void 0}),ie=d(()=>{if(oe.value&&I.value.forecolor)return Xu(i("floatBar.fontColor"),0,Hu(I.value.forecolor));const e=L.value,t=e[0]?Hu(F(e[0].cell).color):void 0;return t&&e.every(e=>Hu(F(e.cell).color)===t),Xu(i("floatBar.fontColor"))}),re=e=>{te()?Le("forecolor",e):N(()=>({contentPatch:{color:e}}))},se=d(()=>{if(oe.value&&I.value.backcolor)return Ut(b.value,I.value.backcolor);const e=L.value;if(0===e.length)return;const t=De(b.value,F(e[0].cell)).backgroundColor;return e.every(e=>De(b.value,F(e.cell)).backgroundColor===t)?t:void 0}),de=d(()=>{if(oe.value&&I.value.backcolor)return Xu(i("floatBar.textBackground"),0,Hu(I.value.backcolor));const e=L.value,t=e[0]?Hu(F(e[0].cell).backgroundColor):void 0;return t&&e.every(e=>Hu(F(e.cell).backgroundColor)===t),Xu(i("floatBar.textBackground"))}),ue=e=>{te()?Le("backcolor",e):N(()=>({contentPatch:{backgroundColor:e}}))};function ce(e){return e.trim().replace(/^['"]|['"]$/g,"")}function pe(e){const t=function(e){return ce(e.split(",")[0]??e)}(e);return function(e){const t=ce(e);return Nt.find(e=>e.value===t||e.aliasList.includes(t))?.value??""}(t)||ct(t,x.value.customFonts)}function ve(e){if(!e)return"";const t=Fe(e);return t.textBetween(0,t.content.size)}function fe(){const e=window.getSelection();return e&&!e.isCollapsed?e.toString():""}function me(e,t){const a=F(e);return zt(a.fontFamily,t??ve(a.text??""))}const he=d(()=>{const e=oe.value?I.value.fontname:"";if(e){const t=zt(e,fe()),a=pe(t);return a?{value:a,unsupportedName:""}:{value:void 0,unsupportedName:t}}const t=L.value;if(0===t.length)return{value:"",unsupportedName:""};const a=fe()||void 0,o=me(t[0].cell,a);if(!t.every(e=>me(e.cell)===o)||!o)return{value:"",unsupportedName:""};const n=pe(o);return n?{value:n,unsupportedName:""}:{value:void 0,unsupportedName:o}}),ge=d(()=>he.value.unsupportedName),be=d(()=>ge.value?void 0:he.value.value),ye=d(()=>{const e=Nt.find(e=>e.value===be.value);return e?c(e):be.value||void 0}),we=d(()=>ge.value?i("floatBar.unsupportedFont"):i("floatBar.font")),ke=e=>{te()?Le("fontname",e):N(t=>{const a=F(t),o=fe()||ve(a.text??"");return{contentPatch:{fontFamily:_t(a.fontFamily,e,o)}}});const t=Nt.find(t=>t.value===e);t?.fntdataUrl&&vt(t)},Se=d(()=>{const e=oe.value?Number.parseFloat(I.value.fontsize):NaN;if(!Number.isNaN(e))return e;const t=L.value;if(0===t.length)return 16;const a=F(t[0].cell).fontSize??16;return t.every(e=>(F(e.cell).fontSize??16)===a)?a:16}),_e=e=>{te()?Le("fontsize",`${e}px`):N(()=>({contentPatch:{fontSize:e}}))},Me=(e,t)=>{const a=Qe[t],o=Fe(e);let n=!1,l=!0;if(o.descendants(e=>!e.isText||(n=!0,a.isInSet(e.marks)||(l=!1),!0)),!n)return e;const i=Kt.create({doc:o}),r=i.doc.content.size,s=l?i.tr.removeMark(0,r,a):i.tr.addMark(0,r,a.create());return Ht(i.apply(s).doc)},Ie=e=>{const t=L.value;return t.length>0&&t.every(t=>((e,t)=>{const a=Qe[t],o=Fe(e);let n=!1,l=!0;return o.descendants(e=>!e.isText||(n=!0,a.isInSet(e.marks)||(l=!1),!0)),n&&l})(Ft(t.cell),e))},Ce=d(()=>oe.value?I.value.bold:Ie("bold")),Be=d(()=>oe.value?I.value.em:Ie("em")),Ee=d(()=>oe.value?I.value.underline:Ie("underline")),Pe=d(()=>oe.value?I.value.strikethrough:Ie("strikethrough")),Te=e=>{if(ee())return void Le(e);N(t=>({contentPatch:{text:Me(Ft(t),e)}}));const t=ae.value;t&&k.value.includes(t)&&Le(e,void 0,"wholeDoc")},Le=(e,t,o)=>{const n=ae.value,l=n?J(n):void 0;l&&(lt.emit(ot.RICH_TEXT_COMMAND,{target:l,action:{command:e,value:t,scope:o}}),P.value&&a("edit"))},Ae=d(()=>{const e=ae.value;return e&&E.value&&Z()?.querySelector(`.pptd-table-cell[data-cell-id="${e}"] .latex-inline.ProseMirror-selectednode`)?E.value:null}),$e=e=>{const t=ae.value,o=t?J(t):void 0;o&&(lt.emit(ot.INSERT_LATEX,{target:o,tex:e,action:Ae.value?"replace":"insert"}),P.value&&a("edit"))},Ne=d(()=>[{name:"LeftAlign",label:i("floatBar.leftAlign"),value:"left"},{name:"CenterAlign",label:i("floatBar.centerAlign"),value:"center"},{name:"RightAlign",label:i("floatBar.rightAlign"),value:"right"},{name:"Justify",label:i("floatBar.justify"),value:"justify"}]),Re=d(()=>[{name:"TopAlign",label:i("floatBar.topAlign"),value:"top"},{name:"CenterVertically",label:i("floatBar.verticallyCenter"),value:"middle"},{name:"BottomAlign",label:i("floatBar.bottomAlign"),value:"bottom"}]),Ue=d(()=>{const e=L.value;if(0===e.length)return l[0];const t=F(e[0].cell).align?.[0]??l[0];return e.every(e=>(F(e.cell).align?.[0]??l[0])===t)?"distributed"===t?l[0]:t:l[0]}),Oe=d(()=>{const e=L.value;if(0===e.length)return l[1];const t=F(e[0].cell).align?.[1]??l[1];return e.every(e=>(F(e.cell).align?.[1]??l[1])===t)?t:l[1]}),He=e=>{N(t=>({contentPatch:{align:[e,(F(t).align??l)[1]],text:nt(Ft(t))}}))},Ye=e=>{N(t=>({contentPatch:{align:[(F(t).align??l)[0],e]}}))};return(e,t)=>(B(),p("div",or,[S(qt,{tooltip:j.value,"float-options":D(ii)},{trigger:C(()=>[S(Fi,{fill:R.value},null,8,["fill"])]),popover:C(()=>[y("div",nr,[S(Xl,{"model-value":U.value??"#fff","onUpdate:modelValue":O},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(ci),S(ar,{options:Y.value,"active-value":X.value,tooltip:D(i)("floatBar.border"),onSelect:q},null,8,["options","active-value","tooltip"]),S(ji,{border:W.value,type:"inShape","onUpdate:border":G},null,8,["border"]),S(ci),S(qt,{tooltip:ie.value,"float-options":D(ii)},{trigger:C(()=>[S(Ql,{color:ne.value,gradient:le.value},null,8,["color","gradient"])]),popover:C(()=>[y("div",lr,[S(Xl,{"model-value":ne.value,"onUpdate:modelValue":re},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(qt,{tooltip:de.value,"float-options":D(ii)},{trigger:C(()=>[S(oi,{color:se.value},null,8,["color"])]),popover:C(()=>[y("div",ir,[S(Xl,{"model-value":se.value??"#ffffff","onUpdate:modelValue":ue},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(Jt,{"menu-list":u.value,"active-menu":be.value,tooltip:we.value,"float-options":D(ii),"max-width":"7em","keep-highlight":"","scroll-into-view":"",onClick:ke},{label:C(()=>[ge.value?(B(),p("span",rr,[S(D(ze),{class:"unsupported-font-icon",name:"Warning",width:"14",height:"14"}),y("span",sr,f(ge.value),1)])):(B(),p("span",dr,f(ye.value),1))]),item:C(({item:e})=>["string"==typeof e?(B(),p("div",ur)):(B(),p(n,{key:1},[m(e)?(B(),p("img",{key:0,class:"font-menu-item font-menu-item-image",alt:c(e),src:m(e)},null,8,cr)):(B(),p("div",{key:1,class:"font-menu-item",style:v({fontFamily:e.value||"inherit"})},f(c(e)),5))],64))]),_:1},8,["menu-list","active-menu","tooltip","float-options"]),S(xl,{postfix:"px","input-width":"28px",min:6,max:120,step:2,value:Se.value,tooltip:D(i)("floatBar.fontSize"),"onUpdate:value":_e},null,8,["value","tooltip"]),S(ci),S(qt,{tooltip:Ae.value?D(i)("floatBar.editLatex"):D(i)("floatBar.insertLatex"),"float-options":D(ii)},{trigger:C(()=>[S(D(ze),{class:o(["latex-button",{"has-latex":!!Ae.value}]),name:"MathFormula",width:"20",height:"20"},null,8,["class"])]),popover:C(()=>[y("div",pr,[S(yo,{value:Ae.value?.tex??"",title:Ae.value?D(i)("floatBar.editLatex"):D(i)("floatBar.insertLatex"),onSelect:$e},null,8,["value","title"])])]),_:1},8,["tooltip","float-options"]),S(Ea,{value:Ce.value,icon:"Bold",tooltip:D(i)("floatBar.bold"),"onUpdate:value":t[0]||(t[0]=e=>Te("bold"))},null,8,["value","tooltip"]),S(Ea,{value:Be.value,icon:"Italic",tooltip:D(i)("floatBar.italic"),"onUpdate:value":t[1]||(t[1]=e=>Te("em"))},null,8,["value","tooltip"]),S(Ea,{value:Ee.value,icon:"Underline",tooltip:D(i)("floatBar.underline"),"onUpdate:value":t[2]||(t[2]=e=>Te("underline"))},null,8,["value","tooltip"]),S(Ea,{value:Pe.value,icon:"StrikeThrough",tooltip:D(i)("floatBar.strikethrough"),"onUpdate:value":t[3]||(t[3]=e=>Te("strikethrough"))},null,8,["value","tooltip"]),S(ci),S(Jt,{"menu-list":Ne.value,"active-menu":Ue.value,tooltip:D(i)("floatBar.horizontalAlignment"),"float-options":D(ii),"scroll-into-view":"",onClick:He},null,8,["menu-list","active-menu","tooltip","float-options"]),S(Jt,{"menu-list":Re.value,"active-menu":Oe.value,tooltip:D(i)("floatBar.verticalAlignment"),"float-options":D(ii),"scroll-into-view":"",onClick:Ye},null,8,["menu-list","active-menu","tooltip","float-options"])]))}}),[["__scopeId","data-v-d44cb64f"]]),mr={class:"table-bar"},hr={class:"float-line table-line"},gr={class:"table-style-trigger-label"},br={class:"color-picker-wrapper"},xr=le(_({__name:"TableBar",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:n,removeElement:l,theme:i}=Ct(),{handleElementId:r,selectedTableCells:u,activeTableCellKey:c,pushUndo:v}=Et(),{t:m}=xe(),h={width:1,style:"solid",color:"#000000"},g=d(()=>{const e=o.value,t=r.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),{canMerge:b,canSplit:x,mergeCells:w,splitCell:_,insertRow:M,deleteRows:I,insertCol:z,deleteCols:E}=jt(d(()=>g.value??{elementType:"table",elementId:"",bounds:[0,0,0,0],columnWidths:[],rowHeights:[],rows:[]}),d(()=>{const e=g.value;return e&&"table"===e.elementType?st(e.rows,e.columnWidths.length):[]}),u),P=d(()=>Object.keys(i.value?.tableStyles??{}).map(e=>({label:e,value:e}))),T=d(()=>{const e=g.value?.style;if(!e||"string"!=typeof e||!$t(e))return"";const t=e.slice(1);return i.value?.tableStyles?.[t]?t:""}),L=d(()=>T.value||m("floatBar.unappliedTextStyle")),A=e=>{const t=g.value,l=o.value;t&&l&&"table"===t.elementType&&(v(),n(l.pageId,t.elementId,{style:`$${e}`}),a("edit"))},$=d(()=>{const e=g.value;if(!e||"table"!==e.elementType)return;const t=e.rows[0]?.[0];return tt(i.value,t?.fill)}),N=d(()=>{const e=g.value;return e&&"table"===e.elementType?Xu(m("floatBar.themeColor"),0,Yu(e.rows[0]?.[0]?.fill)):m("floatBar.themeColor")}),R=e=>{if(e)return Array.isArray(e)?e.find(e=>!!e&&"none"!==e.style):e},U=e=>e.map(e=>e.map(e=>{if(!e.border)return e;const t={...e};return delete t.border,t})),j=d(()=>{const e=$.value;return"solid"===e?.type?e.color:"gradient"===e?.type?e.stops[0]?.color??"#fff":"#fff"}),O=d(()=>[{name:"bdNone",label:m("floatBar.noBorder"),value:"none"},{name:"bdAll",label:m("floatBar.allBorders"),value:"all"},{name:"bdH",label:m("floatBar.topAndBottomBorders"),value:"horizontal"},{name:"bdV",label:m("floatBar.leftAndRightBorders"),value:"vertical"}]),H=e=>{const t=g.value,l=o.value;if(!t||!l||"table"!==t.elementType)return;v();const i=t.rows.map(t=>t.map(t=>({...t,fill:{type:"solid",color:e}})));n(l.pageId,t.elementId,{rows:i}),a("edit")},Y=d(()=>{const e=g.value;if(!e||"table"!==e.elementType||void 0===e.border)return"all";if(null===e.border)return"none";if(!Array.isArray(e.border))return"none"===e.border.style?"none":"all";const t=Ot(e.border).map(e=>!!e&&"none"!==e.style);return t.some(Boolean)?t.every(Boolean)?"all":t[0]&&!t[1]&&t[2]&&!t[3]?"horizontal":!t[0]&&t[1]&&!t[2]&&t[3]?"vertical":"all":"none"}),X=d(()=>{const e=g.value;if(e&&"table"===e.elementType&&"none"!==Y.value)return R(e.border)??h}),K=(e,t)=>"none"===e?[null,null,null,null]:"horizontal"===e?[t,null,t,null]:"vertical"===e?[null,t,null,t]:t,W=e=>{const t=g.value,l=o.value;if(!t||!l||"table"!==t.elementType)return;v();const i=e?"none"===Y.value?"all":Y.value:"none",r=U(t.rows),s=e?K(i,e):K("none",h);n(l.pageId,t.elementId,{rows:r,border:s}),a("edit")},V=e=>{const t=g.value,l=o.value;if(!t||!l||"table"!==t.elementType)return;v();const i=(e=>{const t=void 0!==e.border?R(e.border):void 0;return{width:t?.width??h.width,style:t?.style&&"none"!==t.style?t.style:h.style,color:t?.color??h.color}})(t),r=U(t.rows),s=K(e,i);n(l.pageId,t.elementId,{rows:r,border:s}),a("edit")},G=()=>{const e=g.value,t=o.value;if(!e||!t||"table"!==e.elementType)return;v();const l=e.columnWidths.length,i=Array.from({length:l},()=>1/l);n(t.pageId,e.elementId,{columnWidths:i}),a("edit")},q=()=>{const e=g.value,t=o.value;e&&t&&"table"===e.elementType&&(v(),l(t.pageId,e.elementId),u.value=[])},J=d(()=>{const e=u.value;if(0===e.length)return null;const t=e.map(e=>e.split("_").map(Number));return{minR:Math.min(...t.map(e=>e[0])),maxR:Math.max(...t.map(e=>e[0])),minC:Math.min(...t.map(e=>e[1])),maxC:Math.max(...t.map(e=>e[1]))}}),Z=d(()=>{const e=J.value;return e?e.maxR-e.minR+1:0}),Q=d(()=>{const e=J.value;return e?e.maxC-e.minC+1:0}),ee=d(()=>{const e=g.value;return!!e&&Z.value>0&&e.rows.length>Z.value}),te=d(()=>{const e=g.value;return!!e&&Q.value>0&&e.columnWidths.length>Q.value}),ae=d(()=>[{label:m("floatBar.insertRowBefore"),value:"before"},{label:m("floatBar.insertRowAfter"),value:"after"},{label:m("contextMenu.deleteRow"),value:"delete",disabled:!ee.value}]),oe=d(()=>[{label:m("floatBar.insertColumnBefore"),value:"before"},{label:m("floatBar.insertColumnAfter"),value:"after"},{label:m("contextMenu.deleteColumn"),value:"delete",disabled:!te.value}]),ne=d(()=>x.value?"split":"merge"),le=d(()=>x.value?m("contextMenu.unmergeCells"):m("contextMenu.mergeCells")),ie=d(()=>!b.value&&!x.value),re=e=>{const t=g.value,l=o.value;t&&l&&e&&(v(),n(l.pageId,t.elementId,e),u.value=[],c.value=null,a("edit"))},se=e=>{"delete"!==e?(e=>{const t=g.value;if(!t)return;const a=J.value;re(M(a?"before"===e?a.minR:a.maxR+1:"before"===e?0:t.rows.length))})(e):(()=>{if(!ee.value)return;if(!g.value)return;const e=J.value;e&&re(I(Array.from({length:e.maxR-e.minR+1},(t,a)=>e.minR+a)))})()},de=e=>{"delete"!==e?(e=>{const t=g.value;if(!t)return;const a=J.value;re(z(a?"before"===e?a.minC:a.maxC+1:"before"===e?0:t.columnWidths.length))})(e):(()=>{if(!te.value)return;if(!g.value)return;const e=J.value;e&&re(E(Array.from({length:e.maxC-e.minC+1},(t,a)=>e.minC+a)))})()},ue=()=>{if(x.value){const[e,t]=u.value[0].split("_").map(Number);return void re(_(e,t))}b.value&&re(w())};return(e,t)=>(B(),p("div",mr,[y("div",hr,[P.value.length?(B(),k(Jt,{key:0,class:"table-style-select","menu-list":P.value,"active-menu":T.value,tooltip:D(m)("floatBar.tableStyle"),"float-options":D(ii),"max-width":"7em","keep-highlight":"","scroll-into-view":"",onClick:A},{label:C(()=>[y("span",gr,f(L.value),1)]),_:1},8,["menu-list","active-menu","tooltip","float-options"])):s("",!0),S(qt,{tooltip:N.value,"float-options":D(ii)},{trigger:C(()=>[S(Fi,{fill:$.value},null,8,["fill"])]),popover:C(()=>[y("div",br,[S(Xl,{"model-value":j.value,"onUpdate:modelValue":H},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(ci),S(ar,{options:O.value,"active-value":Y.value,tooltip:D(m)("floatBar.border"),onSelect:V},null,8,["options","active-value","tooltip"]),S(ji,{border:X.value,type:"inShape","onUpdate:border":W},null,8,["border"]),S(ci),S(Ea,{value:!1,icon:"WordSpace",tooltip:D(m)("floatBar.equalizeColumnWidths"),"onUpdate:value":G},null,8,["tooltip"]),S(Ea,{value:D(u).length>1,icon:"AllSelected",tooltip:D(u).length>1?D(m)("floatBar.deselectAll"):D(m)("floatBar.selectAll"),"onUpdate:value":t[0]||(t[0]=e=>(e=>{const t=g.value;if(t&&"table"===t.elementType)if(e){const e=st(t.rows,t.columnWidths.length),a=[];e.forEach((e,t)=>{e.forEach((e,o)=>{"anchor"===e?.kind&&a.push(`${t}_${o}`)})}),u.value=a}else u.value=[]})(e))},null,8,["value","tooltip"]),S(ci),S(Jt,{"menu-list":ae.value,tooltip:D(m)("floatBar.rowAction"),icon:"rowAdd","float-options":D(ii),onClick:t[1]||(t[1]=e=>se(e))},null,8,["menu-list","tooltip","float-options"]),S(Jt,{"menu-list":oe.value,tooltip:D(m)("floatBar.columnAction"),icon:"colAdd","float-options":D(ii),onClick:t[2]||(t[2]=e=>de(e))},null,8,["menu-list","tooltip","float-options"]),S(Ea,{value:!1,icon:ne.value,tooltip:le.value,disabled:ie.value,"no-active":"","onUpdate:value":ue},null,8,["icon","tooltip","disabled"]),S(ci),S(di,{onEdit:t[3]||(t[3]=e=>a("edit"))}),S(ci),S(Ea,{class:"delete-table",value:!1,icon:"Delete",tooltip:D(m)("floatBar.deleteTable"),"onUpdate:value":q},null,8,["tooltip"])]),S(F,{name:"expand"},{default:C(()=>[D(u).length>0?(B(),k(fr,{key:0,onEdit:t[4]||(t[4]=e=>a("edit"))})):s("",!0)]),_:1})]))}}),[["__scopeId","data-v-22460336"]]),yr=["onClick"],wr=["onClick"],kr=["title"],Sr=["value","onInput"],_r=["onClick"],Mr=_({__name:"DataTable",props:{data:{},colors:{},fields:{},isColorByField:{type:Boolean}},emits:["change","editEnd","selectColor","tableClick"],setup(e,{emit:t}){const a=e,l=t,i=x(),r=x(),u=x(),m=d(()=>a.data??[]),h=d(()=>a.fields?.length?a.fields:Object.keys(m.value[0]??{}).map(e=>({key:e,name:e}))),g=d(()=>!!a.colors?.length),b=(e,t)=>{const a=e[t];return null==a?"":String(a)},w=()=>{i.value=void 0,r.value=void 0,l("editEnd")};return(t,d)=>(B(),p("div",{class:"float-bar-data-table",onClick:d[1]||(d[1]=Q(e=>l("tableClick"),["stop"])),onMousedown:d[2]||(d[2]=Q(()=>{},["stop"])),onPointerdown:d[3]||(d[3]=Q(()=>{},["stop"]))},[y("table",{ref_key:"dataTableRef",ref:u,class:"data-table"},[y("thead",null,[y("tr",null,[d[4]||(d[4]=y("th",null,null,-1)),(B(!0),p(n,null,W(h.value,e=>(B(),p("th",{key:e.key,class:o({active:r.value===e.key,"is-color-pickable":void 0!==e.colorIndex}),onClick:Q(t=>(e=>{void 0===e.colorIndex?l("tableClick"):l("selectColor",e.colorIndex)})(e),["stop"])},[e.color?(B(),p("span",{key:0,class:"color-swatch",style:v({background:e.color})},null,4)):s("",!0),c(" "+f(e.name),1)],10,yr))),128))])]),y("tbody",null,[(B(!0),p(n,null,W(m.value,(t,m)=>(B(),p("tr",{key:m,onKeydown:d[0]||(d[0]=Q(()=>{},["stop"]))},[y("td",{class:o(["data-table-index",{active:i.value===m,"is-color-pickable":g.value&&!e.isColorByField}]),onClick:Q(e=>{return t=m,void(!g.value||a.isColorByField?l("tableClick"):l("selectColor",t));var t},["stop"])},[g.value&&!e.isColorByField?(B(),p("span",{key:0,class:"color-swatch",style:v({background:e.colors?.[m]})},null,4)):s("",!0),c(" "+f(m+1),1)],10,wr),(B(!0),p(n,null,W(h.value,e=>(B(),p("td",{key:`${m}-${e.key}`,title:b(t,e.key).length>10?b(t,e.key):void 0,class:o({active:i.value===m&&r.value===e.key})},[i.value===m&&r.value===e.key?(B(),p("input",{key:0,class:"data-show data-table-input",value:b(t,e.key),autofocus:"",onInput:t=>((e,t,a)=>{const o=a.target.value;l("change",e,t,o)})(m,e.key,t),onBlur:w},null,40,Sr)):(B(),p("div",{key:1,class:"data-show data-table-text",onClick:t=>{return a=m,o=e.key,i.value=a,r.value=o,void A(()=>{const e=u.value?.querySelector("input");e?.focus(),e?.select()});var a,o}},f(b(t,e.key)),9,_r))],10,kr))),128))],32))),128))])],512)],32))}}),Ir=le(Mr,[["__scopeId","data-v-7fb55634"]]),Cr={class:"float-line"},Br=["value","placeholder","onKeydown"],zr={class:"chart-color-trigger"},Er={class:"color-picker-wrapper"},Pr=le(_({__name:"ChartBar",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:l,updateElement:i,theme:r}=Ct(),{handleElementId:u,pushUndo:c}=Et(),{t:f}=xe(),m=x(null),g=x(null),b=x(null),w=x(null),_=x(),M=x(""),I=x(),z=x(!1),E=x(),P=x("right"),T=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),L=(e,t,a)=>"string"==typeof e?e:Array.isArray(e)?L(e[t%e.length],t,a):T(e)&&"solid"===e.type&&"string"==typeof e.color?e.color:a,F=(e,t,a)=>Array.isArray(e)?L(e[t%e.length],t,a):L(e,t,a),$=(e,t)=>T(e)?L(e.fill,0,t):t,N=e=>"string"==typeof e?e:T(e)&&"string"==typeof e.text?e.text:"",R=(e,t)=>{const a=ht(void 0,t);return"area"===e.type?L(e.areaColor??e.lineColor,t,a):"line"===e.type||"radar"===e.type?L(e.lineColor,t,a):"scatter"===e.type?L((T(e.marker)?e.marker.fill:void 0)??e.fill,t,a):L(e.fill,t,a)},U=d(()=>{const e=l.value,t=u.value;if(!e||!t)return;const a=e.elements.find(e=>e.elementId===t);return"chart"===a?.elementType?a:void 0}),j=d(()=>(e=>{const t=e?.y;return t?Array.isArray(t)?t:[t]:[]})(U.value)),O=d(()=>{const e=U.value?.data;return(e=>T(e)&&Array.isArray(e.cols)&&Array.isArray(e.rows))(e)?e:void 0}),H=d(()=>{const e=U.value?.series;return Array.isArray(e)?e:[]}),Y=d(()=>!!O.value&&H.value.length>0),X=d(()=>{const e=U.value;if(!e)return[];if(O.value){const{cols:e,rows:t}=O.value;return t.map(t=>Object.fromEntries(e.map((e,a)=>[e,t[a]??null])))}return Array.isArray(e.data)?e.data:[]}),K=d(()=>H.value.map((e,t)=>{const a=(e=>"bar"===e.type||"line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"radar"===e.type?e.encode?.y:void 0)(e);if(a)return{seriesIndex:t,field:a,name:e.name??a,color:R(e,t)}}).filter(e=>!!e)),G=d(()=>Y.value?"pie"!==H.value[0]?.type:"pie"!==U.value?.type),q=d(()=>{const e=U.value;if(!e)return 0;if(Y.value)return"pie"===H.value[0]?.type?X.value.length:K.value.length;const t=e;return G.value?j.value.length:t.data.length}),J=d(()=>{const e=U.value;if(!e)return[];if(Y.value){if("pie"===H.value[0]?.type){const e=H.value[0]?.fill;return Array.from({length:q.value},(t,a)=>L(e,a,ht(void 0,a)))}return K.value.map(e=>e.color)}const t=e;return Array.from({length:q.value},(e,a)=>t.colors?.[a]??ht(t.colors,a))}),Z=d(()=>J.value.map(e=>Ut(r.value,e)??e)),ee=e=>Ut(r.value,e)??e,te=(e,t)=>{const a=t>=3?[ht(void 0,1),"#ffffff",ht(void 0,0)]:[ht(void 0,0),ht(void 0,1)];return Array.from({length:t},(t,o)=>e.colorScheme?.[o]??a[o]??ht(void 0,o))},ae=e=>{if(Array.isArray(e.colorScheme)&&e.colorScheme.length>=3)return 3;if("diverging"===e.colorScale?.type)return 3;const t=e.encode?.value;if(!t)return 2;const a=X.value.map(e=>(e=>{if(null==e||""===e)return null;if("boolean"==typeof e)return null;const t=Number(e);return Number.isNaN(t)?null:t})(e[t])).filter(e=>null!==e);return a.some(e=>e<0)&&a.some(e=>e>0)?3:2},oe=(e,t,a)=>{const o=e.fill;return T(o)&&"solid"!==o.type&&"gradient"!==o.type?L(o[t],a,ht(void 0,a)):F(o,a,ht(void 0,a))},ne=d(()=>Y.value?H.value.flatMap((e,t)=>{if("candlestick"===e.type)return[{key:`${t}-candlestick-up`,tooltip:f("floatBar.candlestickUpColor"),color:ee($(e.upBars,Bt)),target:{type:"barFill",seriesIndex:t,key:"upBars"}},{key:`${t}-candlestick-down`,tooltip:f("floatBar.candlestickDownColor"),color:ee($(e.downBars,ft)),target:{type:"barFill",seriesIndex:t,key:"downBars"}},{key:`${t}-candlestick-wick`,tooltip:f("floatBar.candlestickWickColor"),color:ee(T(e.wickStyle)&&"string"==typeof e.wickStyle.color?e.wickStyle.color:ht(void 0,t)),target:{type:"wick",seriesIndex:t}}];if("waterfall"===e.type)return[{key:`${t}-waterfall-increase`,tooltip:f("floatBar.waterfallIncreaseColor"),color:ee($(e.increaseBars,gt)),target:{type:"barFill",seriesIndex:t,key:"increaseBars"}},{key:`${t}-waterfall-decrease`,tooltip:f("floatBar.waterfallDecreaseColor"),color:ee($(e.decreaseBars,St)),target:{type:"barFill",seriesIndex:t,key:"decreaseBars"}},{key:`${t}-waterfall-total`,tooltip:f("floatBar.waterfallTotalColor"),color:ee($(e.totalBars,ht(void 0,t))),target:{type:"barFill",seriesIndex:t,key:"totalBars"}}];if("heatmap"===e.type){const a=ae(e);return te(e,a).map((e,o)=>({key:`${t}-heatmap-${o}`,tooltip:f(a>=3&&1===o?"floatBar.heatmapMiddleColor":0===o?"floatBar.heatmapLowColor":"floatBar.heatmapHighColor"),color:ee(e),target:{type:"heatmap",seriesIndex:t,index:o,count:a}}))}if("treemap"===e.type||"sunburst"===e.type){const a=((e,t)=>{const a=t.encode?.category;if(!a)return[];const o=t.encode?.parent,n=[],l=new Set,i=new Set,r=e=>{if(null==e||""===e)return;const t=String(e);l.has(t)||(l.add(t),n.push(t))};return e.forEach(e=>{const t=e[a];r(t);const n=o?e[o]:void 0;null!=n&&""!==n&&(r(n),null!=t&&""!==t&&i.add(String(t)))}),n.filter(e=>!i.has(e))})(X.value,e),o=((e,t)=>Array.from({length:t},(t,a)=>{const o=e.fill;return Array.isArray(o)&&Array.isArray(o[0])?L(o[a]?.[0],a,ht(void 0,a)):F(o,a,ht(void 0,a))}))(e,a.length);return a.map((n,l)=>({key:`${t}-${e.type}-${l}`,tooltip:`${e.type} ${n}${f("floatBar.color")}`,color:ee(o[l]??ht(void 0,l)),target:{type:"tree",seriesIndex:t,index:l,count:a.length}}))}if("sankey"===e.type){const a=((e,t)=>{const a=t.encode?.source,o=t.encode?.target;if(!a||!o)return[];const n=[],l=new Set,i=e=>{if(null==e||""===e)return;const t=String(e);l.has(t)||(l.add(t),n.push(t))};return e.forEach(e=>{i(e[a]),i(e[o])}),n})(X.value,e);return a.map((o,n)=>({key:`${t}-sankey-${n}`,tooltip:`sankey ${o}${f("floatBar.color")}`,color:ee(oe(e,o,n)),target:{type:"sankey",seriesIndex:t,node:o,index:n,nodes:a}}))}return[]}):[]),le=d(()=>{const e=U.value?.dataLabels;return e?!1!==e.show:!Y.value}),ie=d(()=>""!==N(U.value?.title).trim()),re=d(()=>Y.value&&1===H.value.length&&["candlestick","waterfall"].includes(H.value[0]?.type)),se=d(()=>{if(Y.value&&1===H.value.length){if("candlestick"===H.value[0]?.type)return!1;if("waterfall"===H.value[0]?.type)return!1}return!0}),de=d(()=>{if(re.value)return!1;const e=U.value?.legend;return!0===e||!1===e?e:T(e)?!1!==e.show:se.value}),ue=d(()=>{if(!de.value)return"none";const e=U.value?.legend;return T(e)&&"string"==typeof e.position?e.position:"bottom"}),ce=d(()=>[{label:f("floatBar.none"),value:"none"},"divider",{label:f("floatBar.top"),value:"top"},{label:f("floatBar.bottom"),value:"bottom"},{label:f("floatBar.left"),value:"left"},{label:f("floatBar.right"),value:"right"}]),pe=d(()=>{const e=U.value;if(!e)return[];if(O.value)return O.value.cols.map(e=>{const t=G.value?K.value.findIndex(t=>t.field===e):-1,a=t>=0?K.value[t]:void 0;return{key:e,name:a?.name??e,colorIndex:a?t:void 0,color:a?Z.value[t]:void 0}});const t=[],a=e=>{e&&!t.includes(e)&&t.push(e)},o=e;return Object.keys(o.data[0]??{}).forEach(a),o.data.forEach(e=>Object.keys(e).forEach(a)),a(o.x),j.value.forEach(a),a(o.size),t.map(e=>{const t=G.value?j.value.indexOf(e):-1,a=t>=0;return{key:e,name:a?o.names?.[t]??e:e,colorIndex:a?t:void 0,color:a?Z.value[t]:void 0}})}),ve=d(()=>{if(null!==m.value)return Z.value[m.value]}),fe=(e,t,o)=>{const n=U.value,r=l.value;if(!n||!r)return;if(((e,t)=>{const a=`${e}-${t}`;g.value!==a&&(c(),g.value=a)})(e,t),O.value){const l=O.value.cols.indexOf(t);if(-1===l)return;const s=O.value.rows.map(e=>e[l]??null),d=((e,t)=>{for(const a of t){const t=a.encode;if(t){if(("bar"===a.type||"line"===a.type||"area"===a.type||"waterfall"===a.type)&&t.y===e)return"number";if("radar"===a.type&&t.y===e)return"number";if("pie"===a.type&&t.value===e)return"number";if("heatmap"===a.type&&t.value===e)return"number";if(("treemap"===a.type||"sunburst"===a.type)&&t.value===e)return"number";if("sankey"===a.type&&t.flow===e)return"number";if("waterfall"===a.type&&t.isTotal===e)return"boolean";if(!("scatter"!==a.type&&"bubble"!==a.type||t.x!==e&&t.y!==e&&t.size!==e))return"number";if("candlestick"===a.type&&(t.open===e||t.close===e||t.low===e||t.high===e))return"number"}}return"string"})(t,H.value),u=O.value.rows.map((t,a)=>{if(a!==e)return[...t];const n=O.value.cols.map((e,a)=>t[a]??null);return n[l]=((e,t,a,o)=>{const n=e.trim();if(""===n)return null;const l=((e,t,a)=>"number"==typeof e?"number":"boolean"==typeof e?"boolean":t.some(e=>"number"==typeof e)?"number":t.some(e=>"boolean"==typeof e)?"boolean":a)(t,a,o);if("number"===l){const t=Number(n);return Number.isFinite(t)?t:e}if("boolean"===l){if("true"===n.toLowerCase())return!0;if("false"===n.toLowerCase())return!1}return e})(o,t[l]??null,s,d),n});return i(r.pageId,n.elementId,{data:{...O.value,rows:u}}),void a("edit")}const s=n.data.map((a,n)=>n===e?{...a,[t]:o}:a);i(r.pageId,n.elementId,{data:s}),a("edit")},me=e=>{const t=U.value,o=l.value,n=m.value;if(!t||!o||null===n)return;if((e=>{b.value!==e&&(c(),b.value=e)})(n),Y.value){const l=[...H.value];if("pie"===H.value[0]?.type){const r=l[0];if(!r)return;const s=Array.from({length:Math.max(q.value,n+1)},(e,t)=>L(r.fill,t,ht(void 0,t)));return s[n]=e,l[0]={...r,fill:s},i(o.pageId,t.elementId,{series:l}),void a("edit")}const r=K.value[n];if(!r)return;const s=l[r.seriesIndex];if(!s)return;return"area"===s.type?l[r.seriesIndex]={...s,areaColor:e,lineColor:e}:"line"===s.type||"radar"===s.type?l[r.seriesIndex]={...s,lineColor:e}:"scatter"===s.type&&T(s.marker)&&void 0!==s.marker.fill?l[r.seriesIndex]={...s,marker:{...s.marker,fill:e}}:l[r.seriesIndex]={...s,fill:e},i(o.pageId,t.elementId,{series:l}),void a("edit")}const r=Array.from({length:Math.max(q.value,n+1)},(e,t)=>J.value[t]);r[n]=e,i(o.pageId,t.elementId,{colors:r}),a("edit")},he=e=>{const t=U.value,o=l.value;t&&o&&(c(),i(o.pageId,t.elementId,{dataLabels:{...t.dataLabels,show:e}}),a("edit"))},ge=e=>{const t=U.value,o=l.value;if(!t||!o)return;M.value=e,z.value||(c(),z.value=!0);const n=I.value??t.title,r=e.trim()?T(n)?{...n,text:e}:e:void 0;i(o.pageId,t.elementId,{title:r}),a("edit")},be=e=>{ge(e.target.value)},ye=e=>{e.target.blur()},we=e=>{if(!e)return M.value="",I.value=void 0,void(z.value=!1);I.value=U.value?.title,M.value=N(I.value),z.value=!1,A(()=>{_.value?.focus(),_.value?.select()})},ke=e=>{const t=U.value,o=l.value;if(!t||!o||re.value)return;c();const n=t.legend;i(o.pageId,t.elementId,{legend:"none"===e?!!T(n)&&{...n,show:!1}:{...T(n)?n:{},show:!0,position:e}}),a("edit")},Se=(e,t)=>{var o;o=e.key,w.value!==o&&(c(),w.value=o),((e,t)=>{const o=U.value,n=l.value;if(!o||!n)return;const r=[...H.value],s=r[e.seriesIndex];if(s){if("barFill"===e.type){const a=T(s[e.key])?s[e.key]:{};r[e.seriesIndex]={...s,[e.key]:{...a,fill:t}}}else if("wick"===e.type){const a=T(s.wickStyle)?s.wickStyle:{};r[e.seriesIndex]={...s,wickStyle:{...a,color:t}}}else if("heatmap"===e.type){const a=te(s,e.count);a[e.index]=t,r[e.seriesIndex]={...s,colorScheme:a}}else if("tree"===e.type){const a=s.fill;if(Array.isArray(a)&&Array.isArray(a[0])){const o=Array.from({length:Math.max(e.count,e.index+1)},(o,n)=>{const l=Array.isArray(a[n])?[...a[n]]:[ht(void 0,n)];return l[0]=n===e.index?t:l[0]??ht(void 0,n),l});r[e.seriesIndex]={...s,fill:o}}else{const o=Array.from({length:Math.max(e.count,e.index+1)},(e,t)=>F(a,t,ht(void 0,t)));o[e.index]=t,r[e.seriesIndex]={...s,fill:o}}}else if("sankey"===e.type){const a=s.fill,o=T(a)&&"solid"!==a.type&&"gradient"!==a.type?{...a}:Object.fromEntries(e.nodes.map((e,t)=>[e,oe(s,e,t)]));o[e.node]=t,r[e.seriesIndex]={...s,fill:o}}i(n.pageId,o.elementId,{series:r}),a("edit")}})(e.target,t)},_e=e=>{e||(w.value=null)},Me=()=>{m.value=null,b.value=null,w.value=null,P.value="right"},Ie=async e=>{b.value=null,m.value=e,await A();const t=E.value?.getBoundingClientRect();if(!t)return;const a=t.right+8+260<=window.innerWidth-8,o=t.left-8-260>=8;P.value=a?"right":o?"left":"overlay"},Ce=()=>{g.value=null},Be=e=>{e||Me()};return V(U,()=>{g.value=null,z.value=!1,M.value="",I.value=void 0,Me()}),(e,t)=>(B(),p("div",Cr,[S(qt,{class:"chart-data-popover","hide-caret":"","content-class":"chart-data-popover-content","float-options":D(ii),"onUpdate:open":Be},{trigger:C(()=>[S(Ea,{value:!1,icon:"Alphalab",tooltip:D(f)("floatBar.editData"),"no-active":""},null,8,["tooltip"])]),popover:C(()=>[y("div",{ref_key:"chartDataPanelRef",ref:E,class:"chart-data-panel",onClick:t[0]||(t[0]=Q(()=>{},["stop"]))},[null!==m.value?(B(),p("div",{key:0,class:o(["chart-color-picker",{"on-left":"left"===P.value,"is-overlay":"overlay"===P.value}])},[S(Xl,{"model-value":ve.value,"onUpdate:modelValue":me},null,8,["model-value"])],2)):s("",!0),S(Ir,{data:X.value,colors:Z.value,fields:pe.value,"is-color-by-field":G.value,onChange:fe,onEditEnd:Ce,onSelectColor:Ie,onTableClick:Me},null,8,["data","colors","fields","is-color-by-field"])],512)]),_:1},8,["float-options"]),S(qt,{"hide-caret":"","content-click-closes":!1,tooltip:ie.value?D(f)("floatBar.editChartTitle"):D(f)("floatBar.showChartTitle"),"float-options":D(ii),"onUpdate:open":we},{trigger:C(({popoverVisible:e})=>[S(Ea,{value:ie.value||e,icon:"Text"},null,8,["value"])]),popover:C(()=>[y("div",{class:"chart-title-editor",onClick:t[2]||(t[2]=Q(()=>{},["stop"])),onMousedown:t[3]||(t[3]=Q(()=>{},["stop"])),onPointerdown:t[4]||(t[4]=Q(()=>{},["stop"]))},[y("input",{ref_key:"titleInputRef",ref:_,class:"chart-title-input",value:M.value,placeholder:D(f)("floatBar.chartTitlePlaceholder"),onInput:be,onKeydown:[t[1]||(t[1]=Q(()=>{},["stop"])),h(Q(ye,["prevent"]),["enter"])]},null,40,Br)],32)]),_:1},8,["tooltip","float-options"]),S(Ea,{value:le.value,icon:"chartValue",tooltip:D(f)("floatBar.showChartValues"),"onUpdate:value":he},null,8,["value","tooltip"]),S(Jt,{"active-menu":ue.value,"menu-list":ce.value,icon:"chartLegend",tooltip:D(f)("floatBar.chartLegend"),"float-options":D(ii),"keep-highlight":"none"!==ue.value,disabled:re.value,onClick:ke},null,8,["active-menu","menu-list","tooltip","float-options","keep-highlight","disabled"]),S(ci),ne.value.length?(B(),p(n,{key:0},[(B(!0),p(n,null,W(ne.value,e=>(B(),k(qt,{key:e.key,"hide-caret":"",tooltip:e.tooltip,"float-options":D(ii),"onUpdate:open":_e},{trigger:C(()=>[y("div",zr,[y("span",{class:"chart-color-trigger-swatch",style:v({background:e.color})},null,4)])]),popover:C(()=>[y("div",Er,[S(Xl,{"model-value":e.color,"onUpdate:modelValue":t=>Se(e,t)},null,8,["model-value","onUpdate:modelValue"])])]),_:2},1032,["tooltip","float-options"]))),128)),S(ci)],64)):s("",!0),S(di,{onEdit:t[5]||(t[5]=e=>a("edit"))})]))}}),[["__scopeId","data-v-4b22591b"]]),Tr={class:"float-line"},Lr={class:"icon-pool-panel"},Ar={class:"icon-pool-content"},Fr={class:"pool-container"},$r={class:"color-picker-wrapper"},Dr=le(_({__name:"IconBar",emits:["edit"],setup(e,{emit:t}){const a=t,{currentPage:o,updateElement:n,theme:l}=Ct(),{handleElementId:i,pushUndo:r}=Et(),{t:s}=xe(),u=x(),c=d(()=>{const e=o.value,t=i.value;if(e&&t)return e.elements.find(e=>e.elementId===t)}),v=d(()=>{if("icon"===c.value?.elementType)return tt(l.value,c.value.fill)}),f=d(()=>Xu(s("floatBar.colorFill"),0,Yu(c.value?.fill))),m=d(()=>{const e=v.value;return"solid"===e?.type&&e.color?e.color:"gradient"===e?.type?e.stops[0]?.color??"#000000":"#000000"}),h=d(()=>{if("icon"===c.value?.elementType)return c.value.border}),g=e=>{const t=c.value,l=o.value;t&&l&&"icon"===t.elementType&&(r(),n(l.pageId,t.elementId,{fill:{type:"solid",color:e}}),a("edit"))},b=e=>{const t=c.value,l=o.value;t&&l&&"icon"===t.elementType&&(r(),n(l.pageId,t.elementId,{border:e}),a("edit"))},w=e=>{const t=c.value,l=o.value;u.value?.close(),t&&l&&"icon"===t.elementType&&t.iconName!==e&&(r(),n(l.pageId,t.elementId,{iconName:e}),a("edit"))};return(e,t)=>(B(),p("div",Tr,[S(qt,{ref_key:"replaceIconPopoverRef",ref:u,tooltip:D(s)("floatBar.replaceIcon"),"float-options":D(ii),"content-click-closes":!1},{trigger:C(({popoverVisible:e})=>[S(Ea,{value:e,icon:"Replace"},null,8,["value"])]),popover:C(()=>[y("div",Lr,[y("div",Ar,[y("div",Fr,[S(Bo,{onSelect:w})])])])]),_:1},8,["tooltip","float-options"]),S(ci),S(qt,{tooltip:f.value,"float-options":D(ii)},{trigger:C(()=>[S(Fi,{fill:v.value,"fallback-color":"#000000"},null,8,["fill"])]),popover:C(()=>[y("div",$r,[S(Xl,{"model-value":m.value,"onUpdate:modelValue":g},null,8,["model-value"])])]),_:1},8,["tooltip","float-options"]),S(ji,{border:h.value,type:"inShape","onUpdate:border":b},null,8,["border"]),S(ci),S(Oi,{onEdit:t[0]||(t[0]=e=>a("edit"))}),S(si,{onEdit:t[1]||(t[1]=e=>a("edit"))}),S(di,{onEdit:t[2]||(t[2]=e=>a("edit"))})]))}}),[["__scopeId","data-v-25e895d1"]]),Nr={class:"float-bar-annotation-entry","data-testid":"floatbar-annotation-button"},Rr=le(_({__name:"AnnotationEntry",props:{element:{}},setup(e){const{currentPage:t,currentPageId:a,pageOrder:o}=Ct(),{enterAnnotationMode:n,startAnnotationDraft:l}=ie(),{t:i}=xe();function r(){const e=a.value;if(!e)return;const t=o.value.indexOf(e);return t>=0?`${t+1}`:void 0}return(a,o)=>(B(),p("span",Nr,[S(D(Xt),{type:"icon",icon:"Comment",tooltip:D(i)("annotation.entry"),"tooltip-placement":"bottom",onClick:o[0]||(o[0]=a=>function(e){const a=t.value;a&&(n("element"),l({pageId:a.pageId,pageLabel:r(),elementId:e.elementId,cx:e.bounds[0]+e.bounds[2]/2,cy:e.bounds[1]+e.bounds[3]/2}))}(e.element))},null,8,["tooltip"])]))}}),[["__scopeId","data-v-ee2eed39"]]),Ur={class:"float-bar-tools"},jr=_({__name:"FloatBar",setup(e){const{currentPage:t}=Ct(),{selectedElementIds:a,handleElementId:o}=Et(),{isAnnotationMode:n}=ie(),{functional:l}=fe(),i=x(),{width:r,height:u}=z(i),c=d(()=>a.value),f=d(()=>{if(o.value)return t.value?.elements.find(e=>e.elementId===o.value)}),m=["text","shape","line","image","table","chart","icon"],h=d(()=>f.value?.elementType),g=d(()=>f.value?.shapeName),b=d(()=>l.value.annotation),w=d(()=>!n.value&&1===c.value.length&&!!f.value&&!!h.value&&m.includes(h.value)),_=P("canvasContainerBounding");function M(e,t,a){return Math.max(t,Math.min(e,a))}const I=d(()=>{if(!_)return{left:0,top:0,maxWidth:0};const e=_.left.value,t=_.top.value,a=_.width.value,o=_.height.value,n=Math.max(0,a-32),l=e+16,i=e+a-16-r.value,s=e+(a-r.value)/2,d=t+16,c=t+o-16-u.value;return{left:M(s,l,Math.max(l,i)),top:M(d,d,Math.max(d,c)),maxWidth:n}}),E=d(()=>({left:`${I.value.left}px`,top:`${I.value.top}px`,maxWidth:I.value.maxWidth?`${I.value.maxWidth}px`:"calc(100vw - 32px)"}));function T(e){e.stopPropagation(),e.target.closest('input, textarea, [contenteditable="true"]')||e.preventDefault()}function L(){const e=f.value;e&&Ie("msh_nppt_element_edited",{type:e.elementType,edit_type:"style"},["type","edit_type"])}return(e,t)=>(B(),k(F,{name:"float-bar-slide"},{default:C(()=>[w.value&&f.value?(B(),p("div",{key:0,ref_key:"floatBarRef",ref:i,class:"float-bar",style:v(E.value),onMousedown:T},[S(Xa,{step:200},{default:C(()=>[b.value?(B(),k(Rr,{key:0,element:f.value},null,8,["element"])):s("",!0),b.value?(B(),k(ci,{key:1})):s("",!0),y("div",Ur,["text"===h.value?(B(),k(Bi,{key:0,onEdit:L})):"shape"!==h.value||D(xt)(g.value)?"image"===h.value?(B(),k(qi,{key:2,onEdit:L})):"line"===h.value||"shape"===h.value&&D(xt)(g.value)?(B(),k(tr,{key:3,onEdit:L})):"table"===h.value?(B(),k(xr,{key:4,onEdit:L})):"chart"===h.value?(B(),k(Pr,{key:5,onEdit:L})):"icon"===h.value?(B(),k(Dr,{key:6,onEdit:L})):s("",!0):(B(),k(Vi,{key:1,onEdit:L}))])]),_:1})],36)):s("",!0)]),_:1}))}}),Or=le(jr,[["__scopeId","data-v-58c83d9e"]]),Hr=_({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},visible:{type:Boolean}},setup:e=>(t,a)=>e.visible?(B(),p("div",{key:0,class:"mouse-selection",style:v({top:e.top+"px",left:e.left+"px",width:e.width+"px",height:e.height+"px"})},null,4)):s("",!0)}),Yr=le(Hr,[["__scopeId","data-v-d0bdfee6"]]),Xr=["viewBox"],Kr={class:"position-guides"},Wr=["x1","y1","x2","y2"],Vr={class:"measurement-guides"},Gr=["d"],qr=["d"],Jr={class:"provider-outlines"},Zr=["data-element-id","points"],Qr=le(_({__name:"AlignmentGuides",props:{overlay:{},scale:{},canvasWidth:{},canvasHeight:{},offsetLeft:{},offsetTop:{}},setup(e){const t=e,a=d(()=>!!t.overlay&&!!(t.overlay.positionGuides.length||t.overlay.measurementGuides.length||t.overlay.providerOutlines.length)),l=d(()=>({left:-t.offsetLeft+"px",top:-t.offsetTop+"px",width:`${t.canvasWidth}px`,height:`${t.canvasHeight}px`})),i=e=>t.offsetLeft+e*t.scale,r=e=>t.offsetTop+e*t.scale,u=d(()=>(t.overlay?.positionGuides??[]).map(e=>"x"===e.axis?{...e,x1:i(e.value),y1:0,x2:i(e.value),y2:t.canvasHeight}:{...e,x1:0,y1:r(e.value),x2:t.canvasWidth,y2:r(e.value)}));function c(e){if("x"===e.axis){const t=i(e.start),a=i(e.end),o=r(e.cross),n=Math.min(4,Math.abs(a-t)/2),l=t<=a?1:-1,s=t+l*n,d=a-l*n;return`M ${t} ${o} H ${a} M ${s} ${o-n} L ${t} ${o} L ${s} ${o+n} M ${d} ${o-n} L ${a} ${o} L ${d} ${o+n}`}const t=r(e.start),a=r(e.end),o=i(e.cross),n=Math.min(4,Math.abs(a-t)/2),l=t<=a?1:-1,s=t+l*n,d=a-l*n;return`M ${o} ${t} V ${a} M ${o-n} ${s} L ${o} ${t} L ${o+n} ${s} M ${o-n} ${d} L ${o} ${a} L ${o+n} ${d}`}const f=d(()=>(t.overlay?.measurementGuides??[]).map(e=>({...e,d:c(e)}))),m=d(()=>(t.overlay?.providerOutlines??[]).map(e=>({...e,points:e.points.map(([e,t])=>`${i(e)},${r(t)}`).join(" ")})));return(t,i)=>a.value?(B(),p("svg",{key:0,class:"alignment-guides",style:v(l.value),viewBox:`0 0 ${e.canvasWidth} ${e.canvasHeight}`,"aria-hidden":"true"},[y("g",Kr,[(B(!0),p(n,null,W(u.value,e=>(B(),p("line",{key:e.id,class:o(["position-guide","x"===e.axis?"vertical":"horizontal"]),x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2},null,10,Wr))),128))]),y("g",Vr,[(B(!0),p(n,null,W(f.value,e=>(B(),p("g",{key:e.id,class:o(["measurement-guide",e.kind])},[y("path",{class:"measurement-guide-outline",d:e.d},null,8,Gr),y("path",{class:"measurement-guide-inner",d:e.d},null,8,qr)],2))),128))]),y("g",Jr,[(B(!0),p(n,null,W(m.value,e=>(B(),p("polygon",{key:e.elementId,class:"provider-outline","data-element-id":e.elementId,points:e.points},null,8,Zr))),128))])],12,Xr)):s("",!0)}}),[["__scopeId","data-v-1a17ca3a"]]),es={class:"canvas-sweeping-light"},ts=le({},[["render",Ku],["__scopeId","data-v-b12da33b"]]),as=["data-annotation-id","onMouseenter"],os=["aria-label","onClick"],ns=["onMousedown","onMouseenter"],ls={class:"ppt-annotation-text",type:"button"},is={class:"ppt-annotation-actions"},rs=["aria-label","onClick"],ss=["aria-label","onClick"],ds=["placeholder","onKeydown"],us={class:"ppt-annotation-draft-actions"},cs=["aria-label","disabled"],ps=le(_({__name:"PPTAnnotationLayer",props:{canvasEl:{},viewportEl:{},canvasScale:{},pageSize:{},elements:{}},setup(e,{expose:t}){const a=e,{currentPage:l,currentPageId:i,pageOrder:r}=Ct(),{annotations:c,currentPageAnnotations:m,annotationDraft:g,activeAnnotationId:b,isAnnotationMode:w,isSubmittingAnnotation:k,startAnnotationDraft:_,cancelAnnotationDraft:M,submitAnnotationDraft:I,setActiveAnnotation:E,editAnnotation:P,removeAnnotation:T}=ie(),{t:L}=xe(),{spaceKeyState:$}=Et(),N=x(),R=x(),U=d({get:()=>g.value?.annotation??"",set:e=>{g.value&&(g.value.annotation=e)}});let j;const O=x(20),H=x(null),Y=x(),K=x(!1),G=x(!1),J=z(d(()=>a.canvasEl)),Z=d(()=>O.value>20),ee=d(()=>{const e=i.value;if(!e)return;const t=r.value.indexOf(e);return t>=0?`${t+1}`:void 0}),te=d(()=>{const e=i.value;if(!e)return;const t=r.value.indexOf(e);return t>=0?t:void 0}),ae=d(()=>m.value.flatMap(e=>{const t=(e=>{let t=e.cx,o=e.cy;if((void 0===t||void 0===o)&&e.elementId){const n=a.elements.find(t=>t.elementId===e.elementId);n&&(t=n.bounds[0]+n.bounds[2]/2,o=n.bounds[1]+n.bounds[3]/2)}return void 0===t||void 0===o?null:{x:t,y:o}})(e);return t?[{id:e.id,annotation:e,x:t.x,y:t.y,index:c.value.findIndex(t=>t.id===e.id)+1,isDraft:!1}]:[]})),oe=d(()=>{const e=g.value;if(!e)return ae.value;let t=!1;const a=ae.value.map(a=>e.id&&a.annotation?.id===e.id?(t=!0,{...a,draft:e,x:e.cx,y:e.cy,isDraft:!0}):a);return t||a.push({id:e.id??"__annotation_draft__",draft:e,x:e.cx,y:e.cy,index:c.value.length+1,isDraft:!0}),a}),ne=d(()=>(e=>{const t=a.canvasScale||1,o=[],n=(e,a)=>o.some(o=>{const n=(e-o.displayX)*t,l=(a-o.displayY)*t;return Math.hypot(n,l)<16});return e.forEach(e=>{let a={displayX:e.x,displayY:e.y};for(let l=0;l<=5;l++)for(let i=-l;i<=l;i++)for(let r=-l;r<=l;r++){if(Math.max(Math.abs(i),Math.abs(r))!==l)continue;const s=e.x+16*i/t,d=e.y+16*r/t;if(a={displayX:s,displayY:d},!n(s,d))return void o.push({...e,displayX:s,displayY:d})}o.push({...e,...a})}),o})(oe.value)),le=d(()=>ne.value.filter(e=>!e.isDraft&&!!e.annotation)),re=d(()=>ne.value.find(e=>e.isDraft)),se=d(()=>a.elements.find(e=>e.elementId===Y.value)),de=e=>{J.left.value,J.top.value;const t=a.canvasEl;return{left:`${(t?.offsetLeft??0)+e.x*a.canvasScale}px`,top:`${(t?.offsetTop??0)+e.y*a.canvasScale}px`}},ue=d(()=>{const e=g.value;if(!e)return{};const t=re.value;return de({x:t?.displayX??e.cx,y:t?.displayY??e.cy})}),ce=d(()=>{const e=g.value,t=re.value;return!!e&&pe(t?.displayX??e.cx)}),pe=e=>{const t=a.canvasEl,o=t?.parentElement,n=o?o.scrollLeft+o.clientWidth:a.pageSize[0]*a.canvasScale;return(t?.offsetLeft??0)+e*a.canvasScale+32+10+282>n},ve=d(()=>{const e=se.value;if(!e)return{};J.left.value,J.top.value;const t=a.canvasEl,[o,n,l,i]=e.bounds;return{left:`${(t?.offsetLeft??0)+o*a.canvasScale}px`,top:`${(t?.offsetTop??0)+n*a.canvasScale}px`,width:l*a.canvasScale+"px",height:i*a.canvasScale+"px",transform:`rotate(${e.rotation??0}deg)`}}),fe=e=>{const t=a.viewportEl;if(!t)return null;const o=t.getBoundingClientRect();return{x:(e.clientX-o.left)/a.canvasScale,y:(e.clientY-o.top)/a.canvasScale}},me=async()=>{if(!K.value){K.value=!0;try{if(U.value.trim())return void(await I(U.value));M()}finally{K.value=!1}}},he=async()=>{await me()},ge=()=>{K.value||M()},be=e=>{const t=e.relatedTarget instanceof Node?e.relatedTarget:null;t&&R.value?.contains(t)||me()},ye=()=>{H.value=null,Y.value=void 0},we=()=>{const e=N.value;if(!e)return void(O.value=20);e.style.height="20px";const t=Math.min(Math.max(e.scrollHeight,20),100);O.value=t,e.style.height=`${t}px`,t<100&&(e.scrollTop=0)},ke=async()=>{await A(),we()},Se=()=>{j&&(clearTimeout(j),j=void 0)},_e=e=>{w.value&&(Se(),E(e))},Me=()=>{Se(),j=setTimeout(()=>{E(),j=void 0},80)},Ie=async e=>{Se();const t=g.value;t&&(await me(),g.value===t)||P({...e.annotation,cx:e.x,cy:e.y})};return V(g,e=>{e&&A(()=>{N.value?.focus(),ke()})},{flush:"post"}),V(U,()=>{ke()}),V(i,()=>{g.value&&me()}),X(()=>{Se()}),t({handleCanvasMouseDown:e=>{if(!w.value||0!==e.button)return!1;if($.value)return!1;if(!l.value)return!1;const t=e.target instanceof globalThis.Element?e.target:null;if(t?.closest(".ppt-annotation-draft, .ppt-annotation-marker"))return!1;if(g.value)return e.preventDefault(),e.stopPropagation(),G.value=!0,me(),!0;const a=fe(e);if(!a)return!1;const o=t?.closest("[data-element-id]")?.dataset.elementId;return e.preventDefault(),e.stopPropagation(),_({pageId:l.value.pageId,pageIndex:te.value,pageLabel:ee.value,elementId:o,cx:a.x,cy:a.y}),!0},handleCanvasClick:e=>!!G.value&&(e.preventDefault(),e.stopPropagation(),G.value=!1,!0),handleCanvasMouseMove:e=>{if(!w.value)return H.value=null,void(Y.value=void 0);H.value=fe(e),g.value?Y.value=void 0:Y.value=(e.target instanceof globalThis.Element?e.target:null)?.closest("[data-element-id]")?.dataset.elementId},handleCanvasMouseLeave:()=>{H.value=null,Y.value=void 0}}),(e,t)=>{return B(),p(n,null,[D(w)&&se.value&&!D(g)?(B(),p("div",{key:0,class:"ppt-annotation-element-hover",style:v(ve.value)},null,4)):s("",!0),D(w)&&H.value?(B(),p("div",{key:1,class:"ppt-annotation-cursor",style:v((a=H.value,{...de(a),transform:"translate(-6px, -30px)"}))},null,4)):s("",!0),(B(!0),p(n,null,W(le.value,e=>(B(),p("div",{key:e.annotation.id,class:o(["ppt-annotation-marker",{active:e.annotation.id===D(b),"is-flipped":pe(e.displayX)}]),"data-annotation-id":e.annotation.id,style:v(de({x:e.displayX,y:e.displayY})),onMousedown:t[3]||(t[3]=Q(()=>{},["stop"])),onMousemove:t[4]||(t[4]=Q(()=>{},["stop"])),onMouseenter:t=>_e(e.annotation.id),onMouseleave:Me},[y("button",{class:"ppt-annotation-marker-pin",type:"button","aria-label":D(L)("annotation.marker"),onClick:Q(t=>Ie(e),["stop"])},f(e.index),9,os),S(F,{name:"ppt-annotation-popover-fade"},{default:C(()=>[D(w)&&e.annotation.id===D(b)?(B(),p("div",{key:0,class:"ppt-annotation-popover",onMousedown:Q(t=>Ie(e),["stop","prevent"]),onClick:t[2]||(t[2]=Q(()=>{},["stop"])),onMouseenter:t=>_e(e.annotation.id),onMouseleave:Me},[y("button",ls,f(e.annotation.annotation),1),y("div",is,[y("button",{class:"ppt-annotation-action",type:"button","aria-label":D(L)("annotation.edit"),onMousedown:t[0]||(t[0]=Q(()=>{},["stop"])),onClick:Q(t=>Ie(e),["stop"])},[S(D(ze),{name:"Edit",width:"16",height:"16"})],40,rs),y("button",{class:"ppt-annotation-action is-delete",type:"button","aria-label":D(L)("annotation.delete"),onMousedown:t[1]||(t[1]=Q(()=>{},["stop"])),onClick:Q(t=>(async e=>{await T(e)})(e.annotation.id),["stop"])},[S(D(ze),{name:"Delete",width:"16",height:"16"})],40,ss)])],40,ns)):s("",!0)]),_:2},1024)],46,as))),128)),D(g)?(B(),p("form",{key:2,ref_key:"annotationDraftRef",ref:R,class:o(["ppt-annotation-draft",{"is-flipped":ce.value}]),style:v(ue.value),onMousedown:t[6]||(t[6]=Q(()=>{},["stop"])),onClick:t[7]||(t[7]=Q(()=>{},["stop"])),onMousemove:t[8]||(t[8]=Q(()=>{},["stop"])),onMouseenter:ye,onFocusout:be,onSubmit:Q(he,["prevent"])},[t[9]||(t[9]=y("div",{class:"ppt-annotation-draft-pin"},null,-1)),y("div",{class:o(["ppt-annotation-draft-card",{"is-multiline":Z.value}])},[q(y("textarea",{ref_key:"annotationInputRef",ref:N,"onUpdate:modelValue":t[5]||(t[5]=e=>U.value=e),class:"ppt-annotation-input",rows:"1",placeholder:D(L)("annotation.placeholder"),style:v({height:`${O.value}px`,overflowY:O.value>=100?"auto":"hidden"}),onInput:we,onKeydown:[h(Q(he,["exact","prevent"]),["enter"]),h(Q(ge,["prevent"]),["esc"])]},null,44,ds),[[u,U.value]]),y("div",us,[y("button",{class:"ppt-annotation-send",type:"submit","aria-label":D(L)("annotation.add"),disabled:!U.value.trim()||D(k)||K.value},[S(D(ze),{name:"Send_f",width:"20",height:"20"})],8,cs)])],2)],38)):s("",!0)],64);var a}}}),[["__scopeId","data-v-6a5aec07"]]),vs={e:1,w:-1,ne:1,nw:-1,se:1,sw:-1,n:0,s:0},fs={n:-1,s:1,ne:-1,nw:-1,se:1,sw:1,e:0,w:0},ms=10,hs=e=>Number.parseFloat(e)||0,gs=5,bs=45,xs=["src"],ys=["d","stroke"],ws=.3,ks=le(_({__name:"index",props:{animationSession:{}},emits:["present"],setup(e,{expose:t,emit:a}){const l=a,i=e,r=80,u=32,c=96,f=32,{currentPage:m,currentElements:h,pageSize:g,updateElement:b,colorList:w}=Ct(),{selectedElementIds:_,highlightElementIds:M,handleElementId:I,focusArea:C,canvasScale:E,creatingElement:P,alignmentOverlay:T,spaceKeyState:F,isEditable:$,remoteLoading:R,isRichTextSelecting:U,openThemePanel:Y,isPickingElement:K,completeElementPick:G,cancelElementPick:J}=Et(),{isAnnotationMode:Z,annotationDraft:ee}=ie(),te=d(()=>E.value),ae=d(()=>w.value[0]),oe=x(!1),le=d(()=>({"--canvas-padding-top":`${r}px`,"--canvas-padding-right":`${u}px`,"--canvas-padding-bottom":`${c}px`,"--canvas-padding-left":`${f}px`,"--canvas-scale":`${te.value}`,"--canvas-scaled-radius":12/te.value+"px",cursor:K.value?"crosshair":oe.value?"grabbing":F.value?"grab":void 0})),re=d(()=>h.value),se=d(()=>m.value?.background),de=Mt(()=>i.animationSession),{backgroundStyle:ue,backgroundMaskStyle:ce,backgroundImage:pe,backgroundImageFit:ve,backgroundImageOpacity:fe,isBackgroundImageError:me,isBackgroundImageLoading:he}=He(se),ge=d(()=>{if(I.value)return re.value.find(e=>e.elementId===I.value)}),be=d(()=>re.value.filter(e=>_.value.includes(e.elementId))),{createElementContextMenus:ye}=cu(()=>ge.value),we=d(()=>{if(_.value.length<=1)return null;let e=1/0,t=-1/0,a=1/0,o=-1/0;for(const n of re.value){if(!_.value.includes(n.elementId))continue;const[l,i,r,s]=n.bounds,d=Wu({x:l,y:i,width:r,height:s,rotation:n.rotation});e=Math.min(e,d.minX),t=Math.max(t,d.maxX),a=Math.min(a,d.minY),o=Math.max(o,d.maxY)}return e===1/0?null:{minX:e,maxX:t,minY:a,maxY:o}}),Se=x(),_e=x(),Me=x(),Ce=x();Pt(Me,()=>i.animationSession,()=>re.value,()=>g.value,(e,t)=>{const a=e.querySelector(`[data-element-id="${CSS.escape(t)}"]`)?.firstElementChild;return a instanceof HTMLElement?a:null}),O(Me,"mousedown",e=>{if(!K.value)return;const t=Ke(e.target);if(t)return e.stopPropagation(),e.preventDefault(),void G(t);J()},{capture:!0});const Be=x(!0),ze=z(Se),Pe=z(_e);let Te=null;const Le=d(()=>{const e=Se.value,t=_e.value,a=ze.width.value,o=ze.height.value,n=Pe.width.value,l=Pe.height.value;return{offsetLeft:t?.offsetLeft??Math.max(0,(a-n)/2),offsetTop:t?.offsetTop??Math.max(0,(o-l)/2),width:e?.scrollWidth??a,height:e?.scrollHeight??o}});Ee(),N("canvasBounding",Pe),N("canvasContainerBounding",ze),N("viewportBounding",z(Me)),Xe("editor"),pt();const{paste:Ae,pasteImageFile:Fe}=el();function $e(e,t){$.value&&m.value&&b(m.value.pageId,e,t)}const{mouseSelection:De,onCanvasMousedown:Ne}=function(e){const{viewportRef:t,canvasScale:a,elements:o,disabled:n,onSelect:l,onClear:i}=e,r=x({top:0,left:0,width:0,height:0,visible:!1});function s(e){if(!t.value)return[0,0];const o=t.value.getBoundingClientRect();return[(e.clientX-o.left)/a.value,(e.clientY-o.top)/a.value]}return{mouseSelection:r,onCanvasMousedown:function(e){if(0!==e.button)return;if(n.value)return void i();const t=document.activeElement;t instanceof HTMLElement&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName||t.isContentEditable)&&t.blur(),e.preventDefault();const a=s(e);let d=!1;const u=e=>{const t=s(e),o=Math.min(a[0],t[0]),n=Math.min(a[1],t[1]),l=Math.max(a[0],t[0])-o,i=Math.max(a[1],t[1])-n,u=t[0]-a[0],c=t[1]-a[1];Math.sqrt(u*u+c*c)>5&&(d=!0),l<1||i<1?r.value.visible=!1:r.value={top:n,left:o,width:l,height:i,visible:!0}},c=()=>{if(window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",c),r.value.visible=!1,!d)return void i();const e=[];for(const t of o.value)Qu(r.value,t)&&e.push(t.elementId);l(e,e[0]??null)};window.addEventListener("mousemove",u),window.addEventListener("mouseup",c)}}}({viewportRef:Me,canvasScale:te,elements:re,disabled:d(()=>!$.value||!!P.value||F.value||Z.value),onSelect:(e,t)=>{_.value=e,I.value=t,C.value="editor"},onClear:()=>{_.value=[],I.value=null,C.value="editor"}}),{t:Re}=xe(),Ue=()=>$.value&&m.value?[{id:"canvas.paste",text:Re("contextMenu.paste"),subText:"Ctrl + V",handler:()=>Ae()},{id:"canvas.selectAll",text:Re("contextMenu.selectAll"),subText:"Ctrl + A",handler:()=>{const e=re.value.map(e=>e.elementId);_.value=e,I.value=e[0]??null}},{id:"canvas.changeBackground",text:Re("contextMenu.changeBackground"),handler:()=>Y("background")},{divider:!0},{id:"canvas.startFromCurrent",text:Re("contextMenu.startFromCurrent"),handler:()=>l("present")}]:[];async function je(e){if(!$.value)return;const t=Array.from(e.dataTransfer?.files??[]).find(e=>e.type.startsWith("image/"));t&&await Fe(t)&&Ie("msh_nppt_create_element_success",{type:"image",from:"drop"},["type","from"])}function Oe(e,t,a){const o=Se.value,n=_e.value;if(!o||!n)return;if(Be.value=!1,e===te.value)return;const l=n.getBoundingClientRect();E.value=e,A(()=>{const e=n.getBoundingClientRect(),i=(e.width-l.width)*t,r=(e.height-l.height)*a;o.scrollLeft+=i,o.scrollTop+=r})}function Ye(){const e=Se.value,t=_e.value;if(!e||!t)return;const a=t.clientWidth,o=t.clientHeight,n=e.clientWidth,l=e.clientHeight;e.scrollLeft=Math.max(0,(a-n)/2),e.scrollTop=Math.max(0,(o-l)/2)}const We=ne(e=>{const t=_e.value;if(!t)return;const a=t.getBoundingClientRect(),o=(e.clientX-a.left)/a.width,n=(e.clientY-a.top)/a.height;e.deltaY>0&&te.value<=ws||Oe(e.deltaY>0?Math.max(te.value-.1,ws):Math.min(te.value+.1,4),o,n)},25);function Ve(e){(e.ctrlKey||e.metaKey)&&(e.preventDefault(),We(e))}function Ge(e){Ce.value?.handleCanvasMouseDown(e)||function(e){if(!F.value||0!==e.button)return;e.preventDefault(),e.stopPropagation();const t=Se.value;if(!t)return;oe.value=!0;const a=e.pageX,o=e.pageY,n=t.scrollLeft,l=t.scrollTop,i=e=>{oe.value&&(t.scrollLeft=n+a-e.pageX,t.scrollTop=l+o-e.pageY)},r=()=>{oe.value=!1,Te?.(),Te=null};document.addEventListener("mousemove",i),document.addEventListener("mouseup",r),Te=()=>{document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",r)}}(e)}function qe(e){Z.value&&(e.preventDefault(),e.stopPropagation())}function Je(){Be.value=!0;const e=Se.value;if(!e)return;const t=f+u,a=r+c,o=e.clientWidth-t,n=e.clientHeight-a,[l,i]=g.value;if(o<=0||n<=0||l<=0||i<=0)return;let s;s=n/o>i/l?o/l:n/i,s=Math.min(s,4),E.value=s,A(Ye)}function Ze(){const e=Math.round(100*te.value),t=Math.floor(e/10);Oe(Math.min(10*(t+1),400)/100,.5,.5)}function Qe(){if(te.value<=ws)return;const e=Math.round(100*te.value),t=Math.floor(e/10),a=e%10?0:1;Oe(Math.max(10*(t-a),30)/100,.5,.5)}X(()=>{oe.value=!1,Te?.(),Te=null}),t({zoomIn:Ze,zoomOut:Qe,throttledZoomIn:ne(Ze,1e3/30),throttledZoomOut:ne(Qe,1e3/30),zoomReset:function(){Je()},fitToScreen:Je,setCanvasScale:function(e){Oe(Math.max(ws,Math.min(e,4)),.5,.5)}}),j(()=>{Je()}),V(()=>[g.value[0],g.value[1]],()=>{Be.value&&Je()},{flush:"post"}),L(Se,()=>{Be.value?Je():Ye()});const{onDragStart:et,onDrag:tt,onDragEnd:at}=function(){const{currentPage:e,currentElements:t,pageSize:a,updateElement:o}=Ct(),{handleElementId:n,selectedElementIds:l,canvasScale:i,pushUndo:r,alignmentOverlay:s,isOperating:d}=Et(),u=x(null);function c(){const e=n.value;if(e)return t.value.find(t=>t.elementId===e)}function p(e,t){const[a,o,n,l]=e;return Wu({x:a,y:o,width:n,height:l,rotation:t})}return{onDragStart:function(o,n){if(!e.value)return;const p=i.value;r(),d.value=!0;const v=l.value,[f,m]=a.value,h=bu(t.value,v,[f,m]);if(s.value=null,v.length>1){const e=new Map;for(const a of t.value)v.includes(a.elementId)&&e.set(a.elementId,{bounds:[...a.bounds],rotation:a.rotation});u.value={startX:o/p,startY:n/p,alignmentContext:h,multiInitialBounds:e},Ie("msh_nppt_element_edited",{type:"multiple",edit_type:"drag"},["type","edit_type"])}else{const e=c();if(!e)return;u.value={startX:o/p,startY:n/p,alignmentContext:h,singleInitialBounds:[...e.bounds],singleRotation:e.rotation??0},Ie("msh_nppt_element_edited",{type:e.elementType,edit_type:"drag"},["type","edit_type"])}},onDrag:function(t,a,n=!1){if(!u.value||!e.value)return;const l=i.value;let r=t/l-u.value.startX,d=a/l-u.value.startY;n&&(Math.abs(r)>Math.abs(d)?d=0:Math.abs(r){$.value&&et(e,t)},ft=(e,t,a)=>{$.value&&tt(e,t,a)},mt=()=>{$.value&&at()},{creatingElement:ht,createStart:gt,createEnd:bt,selectionStyle:yt,lineSelectionData:wt,onCreateMouseDown:kt,createTextAtPointer:St}=du(Me,te,{onCreateSuccess:e=>{Ie("msh_nppt_create_element_success",{type:e,from:"action-bar"},["type","from"])}});function _t(e){$.value&&(P.value||e.target===Me.value&&St(e)&&Ie("msh_nppt_create_element_success",{type:"text",from:"dblclick"},["type","from"]))}return(e,t)=>{const a=H("contextmenu");return q((B(),p("div",{ref_key:"scrollContainerRef",ref:Se,class:o(["canvas",{"is-space-dragging":D(F),"is-canvas-dragging":oe.value,"is-annotation-mode":D(Z),"is-annotation-drafting":D(ee)}]),style:v(le.value),onMousedownCapture:Ge,onClickCapture:t[3]||(t[3]=e=>Ce.value?.handleCanvasClick(e)),onDblclickCapture:qe,onContextmenuCapture:qe,onDragoverCapture:qe,onDropCapture:qe,onMousemove:t[4]||(t[4]=e=>Ce.value?.handleCanvasMouseMove(e)),onMouseleave:t[5]||(t[5]=e=>Ce.value?.handleCanvasMouseLeave()),onMousedown:t[6]||(t[6]=(...e)=>D(Ne)&&D(Ne)(...e)),onWheel:Ve,onDragover:t[7]||(t[7]=Q(()=>{},["prevent"])),onDrop:Q(je,["prevent"])},[y("div",{ref_key:"canvasRef",ref:_e,class:"canvas-wrapper",style:v({width:D(g)[0]*te.value+"px",height:D(g)[1]*te.value+"px"})},[y("div",{ref_key:"viewportRef",ref:Me,class:o(["canvas-viewport",{disabled:!D($)}]),style:v({width:`${D(g)[0]}px`,height:`${D(g)[1]}px`,transform:`scale(${te.value})`}),onDblclick:_t},[y("div",{class:o(["slide-background",{"is-loading":D(he),"is-error":D(me)}]),style:v(D(ue))},null,6),D(pe)?(B(),p("img",{key:0,class:"slide-background-image",src:D(pe),crossorigin:"anonymous",style:v({objectFit:D(ve),opacity:D(fe)})},null,12,xs)):s("",!0),D(pe)&&D(ce)?(B(),p("div",{key:1,class:"slide-background-mask",style:v(D(ce))},null,4)):s("",!0),S(ke),(B(!0),p(n,null,W(re.value,e=>(B(),k(ol,{key:`main_canvas_${D(m)?.pageId}_${e.elementId}`,element:e,"is-selected":D(_).includes(e.elementId),hidden:D(de)?.has(e.elementId),highlighted:D(M).includes(e.elementId),onUpdate:t=>$e(e.elementId,t),onSelect:t=>{return a=e.elementId,_.value=[a],I.value=a,void(C.value="editor");var a},onDragStart:vt,onDrag:ft,onDragEnd:mt},null,8,["element","is-selected","hidden","highlighted","onUpdate","onSelect"]))),128)),S(Yr,{top:D(De).top,left:D(De).left,width:D(De).width,height:D(De).height,visible:D(De).visible},null,8,["top","left","width","height","visible"]),D($)&&D(ht)&&"image"!==D(ht).type?(B(),p("div",{key:2,class:"create-overlay",onMousedown:t[0]||(t[0]=(...e)=>D(kt)&&D(kt)(...e))},[D(gt)&&D(bt)?(B(),p(n,{key:0},[D(wt)?(B(),p("svg",{key:0,class:"create-line-selection",style:v({left:`${D(wt).left}px`,top:`${D(wt).top}px`,width:`${D(wt).width}px`,height:`${D(wt).height}px`}),overflow:"visible"},[y("path",{d:D(wt).path,stroke:ae.value,style:v({stroke:ae.value}),fill:"none","stroke-width":"2"},null,12,ys)],4)):(B(),p("div",{key:1,class:"create-selection",style:v(D(yt))},null,4))],64)):s("",!0)],32)):s("",!0)],38),S(Qr,{overlay:D(T),scale:te.value,"canvas-width":Le.value.width,"canvas-height":Le.value.height,"offset-left":Le.value.offsetLeft,"offset-top":Le.value.offsetTop},null,8,["overlay","scale","canvas-width","canvas-height","offset-left","offset-top"]),D($)&&!D(Z)?(B(),p(n,{key:0},[1===D(_).length&&"shape"===ge.value?.elementType&&D(xt)(ge.value.shapeName)?(B(),k(dl,{key:0,element:ge.value,scale:te.value,contextmenus:D(ye),onUpdate:t[1]||(t[1]=e=>$e(ge.value.elementId,e)),onRotateStart:D(it),onRotate:D(rt),onRotateEnd:D(st),onKeypointStart:D(dt),onKeypoint:D(ut),onKeypointEnd:D(ct)},null,8,["element","scale","contextmenus","onRotateStart","onRotate","onRotateEnd","onKeypointStart","onKeypoint","onKeypointEnd"])):1===D(_).length&&"line"===ge.value?.elementType?(B(),k(fl,{key:1,element:ge.value,scale:te.value,contextmenus:D(ye),onUpdate:t[2]||(t[2]=e=>$e(ge.value.elementId,e))},null,8,["element","scale","contextmenus"])):1===D(_).length&&ge.value?(B(),k(ll,{key:2,element:ge.value,scale:te.value,"disable-interaction":D(U),contextmenus:D(ye),onDragStart:D(et),onDrag:D(tt),onDragEnd:D(at),onScaleStart:D(ot),onScale:D(nt),onScaleEnd:D(lt),onRotateStart:D(it),onRotate:D(rt),onRotateEnd:D(st),onKeypointStart:D(dt),onKeypoint:D(ut),onKeypointEnd:D(ct)},null,8,["element","scale","disable-interaction","contextmenus","onDragStart","onDrag","onDragEnd","onScaleStart","onScale","onScaleEnd","onRotateStart","onRotate","onRotateEnd","onKeypointStart","onKeypoint","onKeypointEnd"])):s("",!0),D(_).length>1&&we.value?(B(),k(ml,{key:3,range:we.value,elements:be.value,scale:te.value,onDragStart:D(et),onDrag:D(tt),onDragEnd:D(at),onScaleStart:D(ot),onScale:D(nt),onScaleEnd:D(lt)},null,8,["range","elements","scale","onDragStart","onDrag","onDragEnd","onScaleStart","onScale","onScaleEnd"])):s("",!0)],64)):s("",!0),D(R)?(B(),k(ts,{key:1})):s("",!0),t[8]||(t[8]=y("div",{class:"canvas-borderline"},null,-1))],4),S(ps,{ref_key:"annotationLayerRef",ref:Ce,"canvas-el":_e.value,"viewport-el":Me.value,"canvas-scale":te.value,"page-size":D(g),elements:re.value},null,8,["canvas-el","viewport-el","canvas-scale","page-size","elements"]),D($)?(B(),k(Or,{key:0})):s("",!0)],38)),[[a,Ue]])}}}),[["__scopeId","data-v-24abc95c"]]),Ss={class:"dialog-footer"},_s={class:"dialog-actions"},Ms=le(_({__name:"ThemeColorPickerDialog",props:{modelValue:{},position:{}},emits:["close","apply"],setup(e,{emit:t}){const a=e,o=t,{t:n}=xe(),l=x(a.modelValue);V(()=>a.modelValue,e=>{l.value=e});const i=d(()=>l.value!==a.modelValue),r=()=>{i.value&&o("apply",l.value)};return(t,a)=>(B(),p("div",{class:"theme-color-picker-mask",onMousedown:a[3]||(a[3]=Q(e=>o("close"),["self"]))},[y("div",{class:"theme-color-picker",style:v({left:`${e.position.left}px`,top:`${e.position.top}px`}),onMousedown:a[2]||(a[2]=Q(()=>{},["stop"]))},[S(Xl,{"model-value":l.value,"show-theme-colors":!1,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e)},null,8,["model-value"]),y("div",Ss,[y("div",_s,[S(D(Xt),{type:"secondary",size:"medium",class:"dialog-button",onClick:a[1]||(a[1]=e=>o("close"))},{default:C(()=>[c(f(D(n)("themeEditor.cancel")),1)]),_:1}),S(D(Xt),{type:"primary",size:"medium",class:"dialog-button",disabled:!i.value,onClick:r},{default:C(()=>[c(f(D(n)("themeEditor.apply")),1)]),_:1},8,["disabled"])])])],36)],32))}}),[["__scopeId","data-v-75b020e7"]]),Is=(e,t,a)=>Math.max(t,Math.min(e,a)),Cs=e=>{const t=x({left:0,top:0});return{position:t,updatePosition:a=>{const o=e.margin??12,n=e.gap??0,l=a?.getBoundingClientRect(),i=a?.closest(e.panelSelector??".theme-editor")?.getBoundingClientRect(),r=window.innerWidth-e.width-o,s=o,d=i?i.left-e.width-n:r,u=l?l.top:s,c=Math.max(o,window.innerWidth-e.width-o),p=Math.max(o,window.innerHeight-e.estimatedHeight-o);t.value={left:Is(d,o,c),top:Is(u,o,p)}}}},Bs={class:"current-page-background-editor"},zs={class:"section-title"},Es={class:"segmented-control"},Ps={class:"background-color-value"},Ts=["value"],Ls=["src"],As={key:1,class:"background-image-upload-content"},Fs={class:"background-image-controls"},$s={class:"background-image-opacity"},Ds=["value"],Ns=_({__name:"CurrentPageBackgroundEditor",setup(e){const{t:t}=xe(),{currentPage:a,theme:l,updatePageBackground:i,applyBackgroundToAllPages:r}=Ct(),{pushUndo:u,isEditable:m}=Et(),{uploadImage:h}=de(),{useResolvedImageUrl:g}=We(),b=me(),w=x("color"),_=x(!1),M=x(),I=x(),z=x(),{position:E,updatePosition:P}=Cs({width:258,estimatedHeight:430}),T={...ii,align:"start",offset:4,zIndex:2100},L=d(()=>a.value?.pageId),A=d(()=>a.value?.background),F=d(()=>tt(l.value,A.value)),$=d(()=>{const e=A.value;return"image"===e?.type?e:void 0}),N=d(()=>{const e=F.value;return"solid"===e?.type?e.color:"#ffffff"}),R=d(()=>be(N.value).toHexString().slice(1).toUpperCase()),U=d(()=>Math.round(100*be(N.value).getAlpha())),{src:j}=g(()=>$.value?.src),O=d(()=>$.value?.fit?.mode??"cover"),H=d(()=>Math.round(100*($.value?.opacity??1))),Y=d(()=>[{label:t("themeEditor.backgroundFitFill"),value:"cover"},{label:t("themeEditor.backgroundFitContain"),value:"contain"},{label:t("themeEditor.backgroundFitStretch"),value:"fill"}]),X=d(()=>({objectFit:O.value,opacity:H.value/100})),K=(e,t,a)=>Math.max(t,Math.min(e,a)),W=e=>JSON.parse(JSON.stringify(e)),G=e=>{"solid"!==e?.type?"image"===e?.type&&(z.value=W(e)):I.value=W(e)},q=e=>{w.value="image"===e?.type?"image":"color"};V(L,()=>{I.value=void 0,z.value=void 0,_.value=!1,G(A.value),q(A.value)}),V(A,e=>{G(e),q(e)},{immediate:!0});const J=e=>({type:"solid",color:e.startsWith("$")?e:Cl(e)}),Z=e=>{const t=a.value;t&&m.value&&(u(),i(t.pageId,e))},ee=e=>{m.value&&(w.value="color",P(e.currentTarget),_.value=!0)},te=()=>{_.value=!1},ae=e=>{if(w.value=e,"color"!==e)"image"!==A.value?.type&&z.value&&Z(W(z.value));else{if("solid"===A.value?.type)return;Z(I.value?W(I.value):J(N.value))}},oe=e=>{Z(J(e)),te()},ne=e=>{const t=Number(e.target.value);Number.isNaN(t)||Z(J(((e,t)=>{const a=be(e);return a.setAlpha(K(t,0,100)/100),Cl(a.toRgb())})(N.value,t)))},le=e=>{const t=$.value;t&&Z({...t,...e})},ie=()=>{m.value&&M.value?.click()},re=async e=>{const a=e.target,o=a.files?.[0];if(a.value="",o&&m.value)try{const e=await h(o);if(!m.value)return;Z({type:"image",src:e,fit:{mode:"cover"},opacity:1})}catch(n){Be("[Upload] Failed to upload page background",n),b.error(t("themeEditor.uploadImageFailed"))}},se=e=>{le({fit:{mode:String(e)}})},ue=e=>{const t=Number(e.target.value);Number.isNaN(t)||le({opacity:K(t,0,100)/100})},ce=()=>{if(!a.value||!m.value)return;const e=(e=>"solid"!==e?.type?e:J(e.color))(A.value)??J(N.value);u(),r(e)};return(e,l)=>(B(),p("section",Bs,[y("div",zs,f(D(t)("themeEditor.currentPageBackground")),1),y("div",Es,[y("button",{class:o(["segmented-button",{active:"color"===w.value}]),type:"button",onClick:l[0]||(l[0]=e=>ae("color"))},f(D(t)("themeEditor.backgroundColor")),3),y("button",{class:o(["segmented-button",{active:"image"===w.value}]),type:"button",onClick:l[1]||(l[1]=e=>ae("image"))},f(D(t)("themeEditor.backgroundImage")),3)]),"color"===w.value?(B(),p("button",{key:0,class:"background-color-row",type:"button",onClick:ee},[y("span",{class:"background-color-swatch",style:v({background:N.value})},null,4),y("span",Ps,f(R.value),1),l[6]||(l[6]=y("span",{class:"background-row-divider"},null,-1)),y("input",{class:"background-opacity-input",type:"number",min:"0",max:"100",value:U.value,onClick:l[2]||(l[2]=Q(()=>{},["stop"])),onKeydown:l[3]||(l[3]=Q(()=>{},["stop"])),onChange:ne},null,40,Ts),l[7]||(l[7]=y("span",{class:"background-opacity-postfix"},"%",-1))])):(B(),p(n,{key:1},[y("button",{class:"background-image-uploader",type:"button",onClick:ie},[D(j)?(B(),p("img",{key:0,class:"background-image-fill",src:D(j),crossorigin:"anonymous",style:v(X.value)},null,12,Ls)):(B(),p("span",As,[S(D(ze),{name:"Upload",width:"16",height:"16"}),y("span",null,f(D(t)("themeEditor.uploadImage")),1)]))]),y("div",Fs,[S(Jt,{class:"background-fit-select","menu-list":Y.value,"active-menu":O.value,"float-options":T,onClick:se},null,8,["menu-list","active-menu"]),y("div",$s,[y("input",{class:"background-opacity-input",type:"number",min:"0",max:"100",value:H.value,onClick:l[4]||(l[4]=Q(()=>{},["stop"])),onKeydown:l[5]||(l[5]=Q(()=>{},["stop"])),onChange:ue},null,40,Ds),l[8]||(l[8]=y("span",{class:"background-opacity-postfix"},"%",-1))])])],64)),S(D(Xt),{type:"secondary",size:"medium",block:"",class:"apply-all-button",disabled:!D(a)||!D(m),onClick:ce},{default:C(()=>[c(f(D(t)("themeEditor.applyToAll")),1)]),_:1},8,["disabled"]),y("input",{ref_key:"fileInputRef",ref:M,class:"hidden-input",type:"file",accept:"image/*",onChange:re},null,544),_.value?(B(),k(Ms,{key:2,"model-value":N.value,position:D(E),onApply:oe,onClose:te},null,8,["model-value","position"])):s("",!0)]))}}),Rs=le(Ns,[["__scopeId","data-v-f75e02be"]]),Us={class:"theme-color-section"},js={class:"section-title"},Os={key:0,class:"color-list"},Hs=["aria-label","title","onClick"],Ys={key:1,class:"empty-state"},Xs=le(_({__name:"ThemeColorEditor",props:{colors:{}},emits:["update:colors"],setup(e,{emit:t}){const a=e,l=t,{t:i}=xe(),r=d(()=>Object.entries(a.colors)),u=x(""),c=x(!1),{position:m,updatePosition:h}=Cs({width:258,estimatedHeight:430}),g=d(()=>u.value?a.colors[u.value]:"#000000");V(r,e=>{if(!e.length)return u.value="",void(c.value=!1);u.value&&!a.colors[u.value]&&(u.value=e[0][0])},{immediate:!0});const b=()=>{c.value=!1},w=e=>{u.value&&(l("update:colors",{...a.colors,[u.value]:e}),b())};return(e,t)=>(B(),p("section",Us,[y("div",js,f(D(i)("themeEditor.themeColors")),1),r.value.length?(B(),p("div",Os,[(B(!0),p(n,null,W(r.value,([e,t])=>(B(),p("button",{key:e,class:o(["color-swatch",{active:e===u.value&&c.value}]),type:"button",style:v({background:t}),"aria-label":`${e}: ${t}`,title:`${e}: ${t}`,onClick:t=>((e,t)=>{u.value=e,h(t.currentTarget),c.value=!0})(e,t)},null,14,Hs))),128))])):(B(),p("div",Ys,f(D(i)("themeEditor.emptyThemeColors")),1)),c.value?(B(),k(Ms,{key:2,"model-value":g.value,position:D(m),onApply:w,onClose:b},null,8,["model-value","position"])):s("",!0)]))}}),[["__scopeId","data-v-134d434d"]]),Ks={class:"dialog-fields"},Ws={class:"preview"},Vs={class:"field full"},Gs={class:"theme-menu-control"},qs={key:0,class:"unsupported-theme-font-trigger"},Js={class:"unsupported-theme-font-text"},Zs={key:1,class:"theme-menu-label"},Qs={key:0,class:"font-divider"},ed=["alt","src"],td={class:"field-grid"},ad={class:"field"},od={class:"theme-menu-control"},nd={class:"field"},ld={class:"theme-number-control"},id={class:"field-grid"},rd={class:"field"},sd={class:"theme-menu-control"},dd={class:"field"},ud={class:"theme-number-control"},cd={class:"dialog-footer"},pd={class:"dialog-actions"},vd="divider",fd=le(_({__name:"ThemeTextStyleDialog",props:{textStyle:{},position:{}},emits:["close","apply"],setup(e,{emit:t}){const a=e,o=t,{t:l,locale:i}=xe(),{meta:r}=Ct(),s=e=>At(e.value,i.value),u=d(()=>({font:l("floatBar.font"),fontStyle:l("themeEditor.fontStyle"),fontSize:l("floatBar.fontSize"),lineHeight:l("themeEditor.lineHeight"),letterSpacing:l("themeEditor.letterSpacing"),previewText:l("themeEditor.previewText"),normal:l("themeEditor.normal"),italic:l("floatBar.italic"),times:l("floatBar.times"),cancel:l("themeEditor.cancel"),apply:l("themeEditor.apply")})),m=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],h=d(()=>mt(je(i.value,vd),r.value.customFonts,vd)),g={...ii,offset:4,zIndex:2100},b=x({}),w=e=>{const t=e?{...e}:{fontFamily:"",fontSize:20,lineHeight:1.2};if(void 0!==t.lineHeightPx){const e=t.fontSize??16;t.lineHeight=Number((t.lineHeightPx/e).toFixed(2)),t.lineHeightPx=void 0}return t};V(()=>a.textStyle,e=>{b.value=w(e)},{immediate:!0,deep:!0});const k=d(()=>new Map(Nt.map(e=>[e.value,at(e,i.value)]))),_=d(()=>k.value.get("")??""),M=new Set(["MiSans","Mi Sans","Microsoft YaHei"]);function I(e){return e.trim().replace(/^['"]|['"]$/g,"")}function z(e){return I(e.split(",")[0]??e)}const E=e=>{const t=kt(e);if(!t)return _.value;const a=z(t),o=Nt.find(e=>e.value===a||e.aliasList.includes(a));return("zh-cn"===i.value&&M.has(a)?l("themeEditor.miSans"):void 0)??(o?k.value.get(o.value):void 0)??a},P=d(()=>{const e=z(kt(b.value.fontFamily)??"");if(!e)return{value:"",unsupportedName:""};const t=function(e){const t=I(e);return Nt.find(e=>e.value===t||e.aliasList.includes(t))?.value??""}(e)||ct(e,r.value.customFonts);return t?{value:t,unsupportedName:""}:{value:void 0,unsupportedName:e}}),T=d(()=>P.value.unsupportedName),L=d(()=>T.value?void 0:P.value.value),A=d(()=>E(L.value)||E(b.value.fontFamily)),F=d(()=>T.value?l("floatBar.unsupportedFont"):void 0),$=e=>{const t=String(e);b.value={...b.value,fontFamily:t};const a=Nt.find(e=>e.value===t);a?.fntdataUrl&&vt(a)},N=e=>{b.value={...b.value,fontSize:e}},R=d(()=>[{label:u.value.normal,value:"normal"},{label:u.value.italic,value:"italic"}]),U=d(()=>b.value.fontStyle??"normal"),j=e=>{b.value={...b.value,fontStyle:"italic"===e?"italic":"normal"}},O=d(()=>m.map(e=>({label:`${e.toFixed(1)}${u.value.times}`,value:e}))),H=d(()=>b.value.lineHeight??1.2),Y=e=>{b.value={...b.value,lineHeight:Number(e),lineHeightPx:void 0}},X=e=>{b.value={...b.value,letterSpacing:e}},K=e=>{const t={},a=t;for(const[o,n]of Object.entries(e))"lineHeightPx"!==o&&null!=n&&""!==n&&("number"==typeof n&&Number.isNaN(n)||(a[o]=n));return t},W=d(()=>JSON.stringify(K(b.value))!==JSON.stringify(K(w(a.textStyle)))),G=d(()=>W.value&&!(void 0!==b.value.fontSize&&b.value.fontSize<=0?u.value.fontSize:void 0!==b.value.lineHeight&&b.value.lineHeight<=0&&u.value.lineHeight)),q=d(()=>({fontFamily:kt(b.value.fontFamily)||"inherit",fontSize:`${b.value.fontSize??20}px`,fontStyle:b.value.fontStyle??"normal",lineHeight:b.value.lineHeight??1.2,letterSpacing:void 0!==b.value.letterSpacing?`${b.value.letterSpacing}px`:void 0,color:b.value.color||"var(--Labels-Primary)"})),J=()=>{G.value&&o("apply",K(b.value))};return(t,a)=>(B(),p("div",{class:"style-dialog-mask",onMousedown:a[2]||(a[2]=Q(e=>o("close"),["self"]))},[y("div",{class:"style-dialog",style:v({left:`${e.position.left}px`,top:`${e.position.top}px`}),onMousedown:a[1]||(a[1]=Q(()=>{},["stop"]))},[y("div",Ks,[y("div",Ws,[y("div",{class:"preview-content",style:v(q.value)},f(u.value.previewText),5)]),y("div",Vs,[y("label",null,f(u.value.font),1),y("div",Gs,[S(Jt,{class:"theme-select-menu","menu-list":h.value,"active-menu":L.value,tooltip:F.value,"float-options":g,"max-width":"12em","scroll-into-view":"",onClick:$},{label:C(()=>[T.value?(B(),p("span",qs,[S(D(ze),{class:"unsupported-theme-font-icon",name:"Warning",width:"14",height:"14"}),y("span",Js,f(T.value),1)])):(B(),p("span",Zs,f(A.value),1))]),item:C(({item:e})=>["string"==typeof e?(B(),p("div",Qs)):(B(),p(n,{key:1},[s(e)?(B(),p("img",{key:0,class:"font-menu-item font-menu-item-image",alt:E(e.value)||e.label,src:s(e)},null,8,ed)):(B(),p("div",{key:1,class:"font-menu-item",style:v({fontFamily:e.value||"inherit"})},f(E(e.value)||e.label),5))],64))]),_:1},8,["menu-list","active-menu","tooltip"])])]),y("div",td,[y("div",ad,[y("label",null,f(u.value.fontStyle),1),y("div",od,[S(Jt,{class:"theme-select-menu","menu-list":R.value,"active-menu":U.value,"float-options":g,"scroll-into-view":"",onClick:j},null,8,["menu-list","active-menu"])])]),y("div",nd,[y("label",null,f(u.value.fontSize),1),y("div",ld,[S(xl,{"input-width":"32px",min:1,max:120,step:2,value:b.value.fontSize??D(16),"onUpdate:value":N},null,8,["value"])])])]),y("div",id,[y("div",rd,[y("label",null,f(u.value.lineHeight),1),y("div",sd,[S(Jt,{class:"theme-select-menu","menu-list":O.value,"active-menu":H.value,"float-options":g,"scroll-into-view":"",onClick:Y},null,8,["menu-list","active-menu"])])]),y("div",dd,[y("label",null,f(u.value.letterSpacing),1),y("div",ud,[S(xl,{"input-width":"32px",min:0,max:100,step:1,value:b.value.letterSpacing??0,"onUpdate:value":X},null,8,["value"])])])])]),y("div",cd,[y("div",pd,[S(D(Xt),{type:"secondary",size:"medium",class:"dialog-button",onClick:a[0]||(a[0]=e=>o("close"))},{default:C(()=>[c(f(u.value.cancel),1)]),_:1}),S(D(Xt),{type:"primary",size:"medium",class:"dialog-button",disabled:!G.value,onClick:J},{default:C(()=>[c(f(u.value.apply),1)]),_:1},8,["disabled"])])])],36)],32))}}),[["__scopeId","data-v-0d3d3f21"]]),md={class:"theme-editor"},hd={class:"theme-editor-header"},gd={class:"theme-editor-title-wrap"},bd={class:"theme-editor-title auto-rtl rtl-align"},xd={class:"theme-editor-body auto-rtl"},yd={class:"section"},wd={class:"section-title"},kd={key:0,class:"style-list"},Sd=["onClick"],_d={key:1,class:"empty-state"},Md=le(_({__name:"ThemeEditor",props:{theme:{}},emits:["apply","close"],setup(e,{emit:t}){const a=e,l=t,{t:i}=xe(),{themePanelFocusTarget:r}=Et(),u=d(()=>({colors:{},textStyles:{},...a.theme})),c=d(()=>Object.entries(u.value.textStyles)),v=x(""),m=x(!1),h=x(null),g=x(),b=x(),{position:w,updatePosition:_}=Cs({width:258,estimatedHeight:342});V(c,e=>{(0===e.length||v.value&&!u.value.textStyles[v.value])&&(v.value="")},{immediate:!0}),V(r,async e=>{if("background"!==e)return;await A();const t=b.value?.$el;t instanceof HTMLElement&&t.scrollIntoView({block:"start"}),r.value=null},{immediate:!0});const M=(e,t)=>{v.value=e,((e,t)=>{h.value=e??null,g.value=e?{...u.value.textStyles[e]}:{fontFamily:"",fontSize:20,lineHeight:1.2},_(t),m.value=!0})(e,t.currentTarget)},I=()=>{m.value=!1,v.value="",g.value=void 0},C=e=>{l("apply",{...u.value,...e})},z=e=>{C({colors:e})},E=e=>{const t=h.value;if(!t)return;const a={...u.value.textStyles};a[t]=e,C({textStyles:a}),I()};return(e,t)=>(B(),p("div",md,[y("div",hd,[y("div",gd,[S(D(ze),{name:"Style",width:"20",height:"20"}),y("div",bd,f(D(i)("themeEditor.title")),1)]),y("button",{class:"icon-button",type:"button",onClick:t[0]||(t[0]=e=>l("close"))},[S(D(ze),{name:"Close",width:"20",height:"20"})])]),y("div",xd,[y("section",yd,[y("div",wd,f(D(i)("themeEditor.textStyles")),1),c.value.length?(B(),p("div",kd,[(B(!0),p(n,null,W(c.value,([e,t])=>(B(),p("button",{key:e,class:o(["style-row",{active:e===v.value}]),type:"button",onClick:t=>M(e,t)},[S(hi,{"style-key":e,"text-style":t},null,8,["style-key","text-style"])],10,Sd))),128))])):(B(),p("div",_d,f(D(i)("themeEditor.emptyTextStyles")),1))]),S(Xs,{colors:u.value.colors,"onUpdate:colors":z},null,8,["colors"]),S(Rs,{ref_key:"backgroundSectionRef",ref:b},null,512)]),m.value?(B(),k(fd,{key:0,"text-style":g.value,position:D(w),onApply:E,onClose:I},null,8,["text-style","position"])):s("",!0)]))}}),[["__scopeId","data-v-e470f150"]]),Id={class:"animation-panel"},Cd={class:"animation-panel-header"},Bd={class:"animation-panel-title-wrap"},zd={class:"animation-panel-title auto-rtl rtl-align"},Ed={class:"animation-panel-body auto-rtl"},Pd=["onMouseenter"],Td=["onClick"],Ld={class:"animation-item-order"},Ad={class:"animation-item-info"},Fd={class:"animation-item-title"},$d={class:"animation-item-category"},Dd={class:"animation-item-target"},Nd={key:1,class:"empty-state"},Rd=le(_({__name:"AnimationPanel",emits:["close","preview"],setup(e,{emit:t}){const a=t,{currentPage:l,updatePageAnimations:r}=Ct(),{isEditable:u,pushUndo:v,isPickingElement:m,startElementPick:h,cancelElementPick:g,highlightElementIds:b,selectedElementIds:w}=Et(),{t:_}=xe(),M=d(()=>l.value?.animations??[]),I=d(()=>l.value?.elements??[]),z={entrance:"animationPanel.categoryEntrance",emphasis:"animationPanel.categoryEmphasis",exit:"animationPanel.categoryExit","motion-path":"animationPanel.categoryMotionPath"},E=e=>_(z[e]);d(()=>{const e=[];let t=null;for(const a of Re)a.category!==t&&(t&&e.push("divider"),e.push({label:E(a.category),value:`group:${a.category}`,disabled:!0}),t=a.category),e.push({label:_(`animationPanel.effects.${a.effect}`),value:a.effect});return e}),d(()=>[{label:_("animationPanel.triggerOnClick"),value:"onClick"},{label:_("animationPanel.triggerWithPrevious"),value:"withPrevious"},{label:_("animationPanel.triggerAfterPrevious"),value:"afterPrevious"}]),d(()=>[{label:_("animationPanel.directionUp"),value:"up"},{label:_("animationPanel.directionDown"),value:"down"},{label:_("animationPanel.directionLeft"),value:"left"},{label:_("animationPanel.directionRight"),value:"right"}]),d(()=>[{label:_("animationPanel.easingLinear"),value:"linear"},{label:_("animationPanel.easingEaseIn"),value:"ease-in"},{label:_("animationPanel.easingEaseOut"),value:"ease-out"},{label:_("animationPanel.easingEaseInOut"),value:"ease-in-out"}]);const P=d(()=>({text:_("animationPanel.elementTypes.text"),shape:_("animationPanel.elementTypes.shape"),image:_("animationPanel.elementTypes.image"),icon:_("animationPanel.elementTypes.icon"),table:_("animationPanel.elementTypes.table"),chart:_("animationPanel.elementTypes.chart"),line:_("animationPanel.elementTypes.line")})),T=e=>{const t=I.value,a=t.findIndex(t=>t.elementId===e);if(a<0)return e;const o=t[a].elementType,n=t.slice(0,a+1).filter(e=>e.elementType===o).length;return`${P.value[o]??o} ${n}`},L=e=>_(`animationPanel.effects.${e}`),A=d({get:()=>M.value,set:e=>{const t=l.value?.pageId;t&&u.value&&r(t,e)}}),F=()=>{u.value&&v()},$=({oldIndex:e,newIndex:t})=>{void 0!==e&&void 0!==t&&R.value===e&&(R.value=t)},N=e=>{(e=>{const t=l.value?.pageId;t&&u.value&&(v(),r(t,e))})(M.value.filter((t,a)=>a!==e)),R.value===e&&(R.value=null)},R=x(null);O(window,"keydown",e=>{"Escape"===e.key&&m.value&&(e.stopPropagation(),g())},{capture:!0}),i(()=>{b.value=[],m.value&&g()}),V(()=>l.value?.pageId,()=>{R.value=null,b.value=[],m.value&&g()});const U=d(()=>w.value[0]??"");return x("fade-in"),x("onClick"),d(()=>!!U.value&&u.value),(e,t)=>(B(),p("div",Id,[y("div",Cd,[y("div",Bd,[S(D(ze),{name:"Animation",width:"20",height:"20"}),y("div",zd,f(D(_)("animationPanel.title")),1)]),S(D(Xt),{type:"icon",icon:"Play",tooltip:D(_)("animationPanel.preview"),"tooltip-placement":"bottom","aria-label":D(_)("animationPanel.preview"),onClick:t[0]||(t[0]=e=>a("preview"))},null,8,["tooltip","aria-label"]),S(D(Xt),{type:"icon",icon:"Close",tooltip:D(_)("topBar.close"),"tooltip-placement":"bottom","aria-label":D(_)("topBar.close"),onClick:t[1]||(t[1]=e=>a("close"))},null,8,["tooltip","aria-label"])]),y("div",Ed,[y("section",{class:o(["section",{"with-border":!1}])},[M.value.length?(B(),k(D(K),{key:0,modelValue:A.value,"onUpdate:modelValue":t[4]||(t[4]=e=>A.value=e),class:"animation-list","chosen-class":"dragging","ghost-class":"dragging-holder","force-fallback":!0,animation:200,disabled:!D(u),onStart:F,onEnd:$},{default:C(()=>[(B(!0),p(n,null,W(M.value,(e,a)=>{return B(),p("div",{key:a,class:"animation-item",onMouseenter:t=>{return a=e.elementId,void(b.value=[a]);var a},onMouseleave:t[3]||(t[3]=e=>{b.value=[]})},[y("div",{class:"animation-item-header",onClick:e=>{}},[y("div",Ld,f(a+1),1),y("div",Ad,[y("div",Fd,[y("span",$d,f((n=e.effect,E(Ze(n)))),1),c(" "+f(L(e.effect))+" · "+f((o=e.trigger,_("withPrevious"===o?"animationPanel.triggerWithPrevious":"afterPrevious"===o?"animationPanel.triggerAfterPrevious":"animationPanel.triggerOnClick"))),1)]),y("div",Dd,f(T(e.elementId)),1)]),y("div",{class:"animation-item-actions",onClick:t[2]||(t[2]=Q(()=>{},["stop"]))},[S(D(Xt),{type:"icon",size:"small",icon:"Delete",tooltip:D(_)("animationPanel.delete"),"tooltip-placement":"top-right","aria-label":D(_)("animationPanel.delete"),onClick:e=>N(a)},null,8,["tooltip","aria-label","onClick"])])],8,Td),s("",!0)],40,Pd);var o,n}),128))]),_:1},8,["modelValue","disabled"])):(B(),p("div",Nd,f(D(_)("animationPanel.empty")),1))],2),s("",!0)])]))}}),[["__scopeId","data-v-87fff02f"]]),Ud=_e(()=>{const{currentPage:e,currentElements:t,pageOrder:a,currentPageId:o,moveElement:n}=Ct(),{selectedElementIds:l,selectedSlideIds:i,handleElementId:r,creatingElement:s,focusArea:d,pushUndo:u,isEditable:c}=Et();function p(e){const t=a.value.indexOf(o.value??""),n=a.value[t+e];n&&(o.value=n,i.value=[n],l.value=[],r.value=null)}function v(t,a){if(!c.value)return!1;if(!e.value||0===l.value.length)return!1;u();const o=e.value.pageId;for(const e of l.value)n(o,e,t,a);return!0}function f(e){("up"===e?v(0,-1):"down"===e?v(0,1):v("left"===e?-1:1,0))||("up"===e&&p(-1),"down"===e&&p(1))}function m(){if("editor"!==d.value)return;const e=t.value.map(e=>e.elementId);l.value=e,r.value=e[0]??null}function h(){const e=c.value&&void 0!==s.value,t=l.value.length>0||null!==r.value;return!(!e&&!t||(e&&(s.value=void 0),l.value=[],r.value=null,0))}return au("editor.arrowUp",()=>f("up")),au("editor.arrowDown",()=>f("down")),au("editor.arrowLeft",()=>f("left")),au("editor.arrowRight",()=>f("right")),au("element.selectAll",m),au("editor.clearSelection",h),{handleArrow:f,selectAllElements:m,clearSelection:h}}),Od=[{key:(jd={C:"C",X:"X",V:"V",Z:"Z",Y:"Y",A:"A",G:"G",L:"L",F:"F",D:"D",B:"B",P:"P",O:"O",R:"R",T:"T",S:"S",MINUS:"-",EQUAL:"=",DIGIT_0:"0",DELETE:"DELETE",UP:"ARROWUP",DOWN:"ARROWDOWN",LEFT:"ARROWLEFT",RIGHT:"ARROWRIGHT",ENTER:"ENTER",SPACE:" ",TAB:"TAB",BACKSPACE:"BACKSPACE",ESC:"ESCAPE",PAGEUP:"PAGEUP",PAGEDOWN:"PAGEDOWN",F5:"F5",F12:"F12"}).Z,ctrl:!0,scope:"global",action:"editor.undo",preventDefault:!0},{key:jd.Z,ctrl:!0,shift:!0,scope:"global",action:"editor.redo",preventDefault:!0},{key:jd.Y,ctrl:!0,scope:"global",action:"editor.redo",preventDefault:!0},{key:jd.S,ctrl:!0,scope:"global",action:"editor.save",preventDefault:!0},{key:jd.UP,scope:"global",action:"editor.arrowUp",preventDefault:!0},{key:jd.DOWN,scope:"global",action:"editor.arrowDown",preventDefault:!0},{key:jd.LEFT,scope:"global",action:"editor.arrowLeft",preventDefault:!0},{key:jd.RIGHT,scope:"global",action:"editor.arrowRight",preventDefault:!0},{key:jd.C,ctrl:!0,scope:"editor",action:"element.copy",preventDefault:!0},{key:jd.X,ctrl:!0,scope:"editor",action:"element.cut",preventDefault:!0},{key:jd.A,ctrl:!0,scope:"editor",action:"element.selectAll",preventDefault:!0},{key:jd.DELETE,scope:"editor",action:"element.delete"},{key:jd.BACKSPACE,scope:"editor",action:"element.delete"},{key:jd.UP,scope:"editor",action:"editor.arrowUp",preventDefault:!0},{key:jd.DOWN,scope:"editor",action:"editor.arrowDown",preventDefault:!0},{key:jd.LEFT,scope:"editor",action:"editor.arrowLeft",preventDefault:!0},{key:jd.RIGHT,scope:"editor",action:"editor.arrowRight",preventDefault:!0},{key:jd.ESC,scope:"editor",action:"editor.clearSelection",preventDefault:!0},{key:jd.PAGEUP,scope:"editor",action:"slide.prev"},{key:jd.PAGEDOWN,scope:"editor",action:"slide.next"},{key:jd.C,ctrl:!0,scope:"sidebar",action:"slide.copy",preventDefault:!0},{key:jd.X,ctrl:!0,scope:"sidebar",action:"slide.cut",preventDefault:!0},{key:jd.V,ctrl:!0,scope:"sidebar",action:"slide.paste",preventDefault:!0},{key:jd.A,ctrl:!0,scope:"sidebar",action:"slide.selectAll",preventDefault:!0},{key:jd.DELETE,scope:"sidebar",action:"slide.delete"},{key:jd.BACKSPACE,scope:"sidebar",action:"slide.delete"},{key:jd.UP,scope:"sidebar",action:"slide.prev",preventDefault:!0},{key:jd.DOWN,scope:"sidebar",action:"slide.next",preventDefault:!0},{key:jd.LEFT,scope:"sidebar",action:"slide.prev",preventDefault:!0},{key:jd.RIGHT,scope:"sidebar",action:"slide.next",preventDefault:!0},{key:jd.PAGEUP,scope:"sidebar",action:"slide.prev",preventDefault:!0},{key:jd.PAGEDOWN,scope:"sidebar",action:"slide.next",preventDefault:!0}],Hd={capture:!0,passive:!1},Yd=new Set(["+","=","-","_","0"]),Xd=new Set(["Equal","Minus","Digit0","NumpadAdd","NumpadSubtract","Numpad0"]),Kd={class:"notes-splitter-affordance"},Wd={class:"notes-splitter-tooltip"},Vd=["value","disabled","placeholder"],Gd=le(_({__name:"NotePanel",props:{notes:{}},emits:["update:notes","fit-screen"],setup(e,{emit:t}){const{t:a}=xe(),n=e,l=t,{disableHotkeys:i,isEditable:r,notesHeight:s,isNotesDragging:d,isNotesCollapsed:u,isNotesCollapseTransitioning:c,notesDisplayHeight:m,notesMaxHeight:h,notesDefaultHeight:g,notesDragClickThreshold:w,pushUndo:k}=Et(),_=e=>{i.value=e},M=x();let z=null,E=0;const P=x(n.notes),T=x(!1);V(()=>n.notes,e=>{P.value=e}),L(M,()=>l("fit-screen"));const A=()=>{r.value&&P.value!==n.notes&&(T.value||(k(),T.value=!0),l("update:notes",P.value))},F=e=>{if(!r.value)return;const t=e.target;P.value=t.value,(e=>{const t=e.scrollHeight-e.clientHeight;if(t<=0)return;const a=Math.min(g,h.value),o=M.value?.clientHeight??m.value,n=Math.min(o+t,a);n<=s.value||(s.value=n)})(t),A()},$=()=>{_(!1),A(),T.value=!1},N=e=>{z=e.clientY,E=s.value},R=e=>{const t=null===z?0:Math.abs(e.clientY-z),a=Math.abs(s.value-E);z=null,t>w||a>w||u.value&&(s.value=g)};return I(()=>{A()}),(e,t)=>(B(),p("div",{ref_key:"speakerNotesRef",ref:M,class:o(["speaker-notes",{dragging:D(d),transitioning:D(c),hide:D(u)}]),style:v({height:`${D(m)}px`})},[S(ja,{class:"notes-splitter",dir:"y",size:4,value:D(s),"onUpdate:value":t[1]||(t[1]=e=>b(s)?s.value=e:null),dragging:D(d),"onUpdate:dragging":t[2]||(t[2]=e=>b(d)?d.value=e:null),min:0,max:D(h),calc:e=>-e},{default:C(()=>[y("div",{class:"notes-splitter-handler",onMousedown:N,onClick:R,onDblclick:t[0]||(t[0]=e=>s.value=0)},[y("span",Kd,[y("span",Wd,f(D(a)("notes.show")),1)])],32)]),_:1},8,["value","dragging","max","calc"]),y("textarea",{class:o(["notes-content",{disabled:!D(r)}]),value:P.value,disabled:!D(r),onFocus:t[3]||(t[3]=e=>_(!0)),onInput:F,onBlur:$,placeholder:D(a)("notes.placeholder")},null,42,Vd)],6))}}),[["__scopeId","data-v-3b014573"]]),qd=(e={})=>{const t=a(),{t:o,locale:n}=xe(),l=Yt(),{pageOrder:i,currentPageId:r,exportPPTD:s,setCurrentPage:u}=Ct(),{collapsed:c,notesHeight:p,notesDefaultHeight:v,isEditable:f,sidebarCollapsed:m}=Et(),h=x(null),g=d(()=>!!h.value);let b=null,y=null,w=null,k=null,S=null,_="",M=!1,C=!1,B=!1,z=!1;const E=()=>{const e=r.value;if(!e)return null;const t=i.value.indexOf(e);return-1===t?null:{pageId:e,index:t}},P=e=>{if(y&&"closed"!==y.state&&"terminated"!==y.state)try{y.send(JSON.stringify(e))}catch{}else b?.postMessage(e,window.location.origin)},T=()=>JSON.stringify(s()),L=e=>JSON.parse(e),A=()=>{if(!h.value)return;const e=E();if(!e)return;const t=T();_=t,P({type:"snapshot",source:"editor",sessionId:h.value,pptd:L(t),page:e}),M=!0},F=()=>{k&&(clearTimeout(k),k=null)},$=()=>{S&&(clearTimeout(S),S=null)},D=e=>{h.value&&M&&e!==_&&($(),S=setTimeout(()=>{S=null,(e=>{h.value&&e!==_&&(_=e,P({type:"content-sync",source:"editor",sessionId:h.value,pptd:L(e)}))})(e)},300))},N=(e={})=>{const{notifyPresenter:t=!1,closeWindow:a=!1}=e;if(t&&h.value&&P({type:"close",source:"editor",sessionId:h.value}),F(),$(),y&&(y.removeEventListener("message",J),y.removeEventListener("close",Z),y.removeEventListener("terminate",Z)),w&&(clearInterval(w),w=null),a&&b&&!b.closed&&b.close(),a&&y&&"closed"!==y.state&&"terminated"!==y.state)try{y.terminate()}catch{y.close()}b=null,y=null,h.value=null,_="",M=!1,C=!1,B=!1,z=!1},R=()=>{K(!1,"connect_failed"),N({closeWindow:!0}),O(),l.error(o("presenter.connectFailed"))},U=()=>{b&&!b.closed&&((()=>{if(b&&!b.closed)try{const{left:e,top:t}=Zt();b.resizeTo(420,240),b.moveTo(e,t)}catch{}})(),b.focus())},O=async()=>{try{const t=await ce("toggleFullScreen",!1);if("boolean"!=typeof t)return;c.value=!t,e.fitToScreen?.()}catch{}},H=(e="open_failed")=>{K(!1,e),N({closeWindow:!0}),O(),l.error(o("presenter.openFailed"))},Y=async e=>(await ge(300),!(h.value!==e||!b||b.closed||!(()=>{if(!b||b.closed)return!1;try{const{outerWidth:e,outerHeight:t}=b;return!e||!t||e<=660&&t<=480}catch{return!0}})()||(z=!0,W(),B&&!M&&A(),0))),X=async(t,a=!1)=>{try{const a=await ce("toggleFullScreen",!0);if(h.value!==t)return;"boolean"==typeof a&&(c.value=!1,m.value=!1,e.fitToScreen?.())}catch{}a&&(await ge(200),h.value===t&&U())},K=(e,t)=>{C||(C=!0,Ie("msh_nppt_screening",{type:"window",is_success:e,...t?{error_reason:t}:{}}))},W=()=>{B&&z&&K(!0)},G=e=>{if(h.value&&e.sessionId===h.value&&"presenter"===e.source)switch(e.type){case"presenter-ready":F(),B=!0,W(),z&&!M&&A();break;case"page-change":(e=>{const t=i.value.includes(e.pageId)?e.pageId:i.value[e.index];t&&t!==r.value&&u(t)})(e.page);break;case"connect-failed":R();break;case"close":N()}},q=e=>{e.origin===window.location.origin&&(b&&e.source!==b||G(e.data))},J=e=>{const t=(e=>{if("string"==typeof e)try{return JSON.parse(e)}catch{return null}return"object"==typeof e&&null!==e?e:null})(e.data);t&&G(t)},Z=()=>{N()};return V(r,(e,t)=>{h.value&&e!==t&&(()=>{if(!h.value)return;const e=E();e&&P({type:"page-change",source:"editor",sessionId:h.value,page:e})})()}),V(()=>h.value?T():"",e=>{e&&D(e)},{flush:"post"}),j(()=>{window.addEventListener("message",q)}),I(()=>{window.removeEventListener("message",q),N({notifyPresenter:!0})}),{isPresenterMode:g,handleWindowPresenter:async e=>{if(!f.value)return!1;N({notifyPresenter:!0});const a=Se(8),o=t.resolve({name:"Presenter",query:{sessionId:a,lang:n.value,locale:n.value}}),l=new URL(o.href,window.location.href).href;h.value=a;const i=void 0!==e;if(b=i?e:Qt(l),!b)return H(),!1;if(i){if(await O(),await ge(200),h.value!==a)return!1;if(!b||b.closed)return H(),!1;if(p.value=v,await X(a),await ge(200),h.value!==a)return!1;if(!b||b.closed)return H(),!1}if(i&&!(e=>{if(!b||b.closed)return!1;try{return b.location.href=e,!0}catch{return!1}})(l))return H(),!1;U();const r=await Y(a);return h.value===a&&(r?(B||(k=setTimeout(R,3e3)),w=setInterval(()=>{b?.closed&&N()},500),p.value=v,i?(U(),!0):(await X(a,!0),!0)):(H("popup_downgraded"),!1))},closeWindowPresenter:()=>{N({notifyPresenter:!0,closeWindow:!0})}}},Jd=100,Zd=400,Qd={class:"editor-app"},eu={class:"editor-content"},tu={key:0,class:"feedback-snackbar-wrap"},e("default",le(_({__name:"Editor",setup(e){const{meta:t,originalFSJSON:a,theme:n,pageOrder:l,currentPageId:u,currentPage:c,setCurrentPage:f,updateTheme:m,exportFSJSON:h,updatePageNotes:b,saveVersion:w}=Ct(),{save:_}=pe();Ud();const{setPPTDTitle:M}=ta(),{close:I,toggleFullScreen:z}=ve(),{functional:E}=fe(),{disableHotkeys:P,collapsed:T,pushUndo:L,undo:A,redo:F,rightPanelType:$,diffFSJSON:N,isTextEditing:R,isNotesDragging:U,isNotesCollapsed:H,isNotesCollapseTransitioning:Y,notesDisplayHeight:X,notesCollapsedHandleSpace:K,isEditable:W,isCreate:q,openThemePanel:J,sidebarCollapsed:Q}=Et(),te=x(!1),ae=x(0),oe=x(!1),ne=x(),le=x(),{isAnnotationMode:re}=ie(),se=d(()=>l.value.indexOf(u.value??"")),de=d(()=>c.value?.notes??""),ue=d(()=>E.value.feedback),me=d(()=>({bottom:H.value?`${K}px`:`${X.value+24}px`})),he=d(()=>N.value?.originalFSJSON??a.value),ge=d(()=>N.value?.currentFSJSON??h()),be=async()=>{const e=T.value;await z(e),Ie("msh_nppt_full_screen",{action:e,from:"click"}),le.value?.fitToScreen?.()},xe=()=>{E.value.feedback&&(Ie("msh_nppt_feedback_click",{}),ce("showFeedback"))},ye=()=>{Ie("msh_nppt_close_click",{}),I()};O(window,"blur",()=>{_("blur",{immediate:!0})});const we=e=>{ae.value=e??se.value,te.value=!0},{isPresenterMode:ke,handleWindowPresenter:Se,closeWindowPresenter:_e}=qd({fitToScreen:()=>le.value?.fitToScreen?.()}),Me=async(e,t)=>{W.value&&(f(e.pageId),await Se(t),te.value=!1)},Ce=e=>{W.value&&(L(),m(e))},Be=()=>{N.value=null,$.value="diff"},ze=()=>{J()},Ee=()=>{$.value=null,N.value=null,Te()},Pe=r(null),Te=()=>{Pe.value=null},Le=()=>{const e=c.value?.animations;e?.length&&W.value&&(Te(),Pe.value=G(It(e)))};!function(e,t){let a=0;const{pause:o,resume:n}=g(()=>{const n=e();if(n)return ut(n)?(o(),void t()):void(n.states.includes("started")?a=Date.now():Date.now()-a>=Zd&&bt(n));o()},Jd,{immediate:!1});V(e,e=>{o(),e&&(a=Date.now(),bt(e),n())}),i(o)}(()=>Pe.value,Te),V(u,Te),V(w,Te);const Ae=()=>{oe.value=!1},Fe=e=>{W.value&&u.value&&b(u.value,e)};return ac({onUnhandledEscape:()=>"theme"===$.value||"animation"===$.value?($.value=null,!0):!(null!==$.value||te.value||R.value||T.value||(z(!1).then(()=>{Ie("msh_nppt_full_screen",{action:!1,from:"esc"}),le.value?.fitToScreen?.()}),0))}),au("editor.undo",()=>A()),au("editor.redo",()=>F()),au("editor.save",()=>_("button")),V([q,ue],([e,t])=>{oe.value=e&&t},{immediate:!0}),V(()=>t.value.title,e=>M(e),{immediate:!0}),Z(()=>{P.value=null!==$.value||te.value||R.value||re.value}),ee&&(Q.value=!0),j(()=>{Ie("msh_nppt_frame_show_end",{is_success:!0},!0)}),(e,t)=>(B(),p("div",Qd,[S(wa,{class:"top-bar","is-presenter-mode":D(ke),onShowDiff:Be,onShowThemeEditor:ze,onPresent:t[0]||(t[0]=e=>we(0)),onPresenter:D(Se),onExitPresenter:D(_e),onToggleFullScreen:be,onFeedback:xe,onClose:ye},null,8,["is-presenter-mode","onPresenter","onExitPresenter"]),y("div",eu,[S(Oa,{class:"side-bar",onPresent:we}),y("div",{ref_key:"editorContainerRef",ref:ne,class:"editor-container"},[S(Yn,{class:"editor-bar",onZoomIn:t[1]||(t[1]=e=>le.value?.throttledZoomIn?.()),onZoomOut:t[2]||(t[2]=e=>le.value?.throttledZoomOut?.()),onFitScreen:t[3]||(t[3]=e=>le.value?.fitToScreen?.()),onSetScale:t[4]||(t[4]=e=>le.value?.setCanvasScale?.(e))}),y("div",{class:o(["canvas-workspace",{"notes-collapsed":D(H),"notes-dragging":D(U),"notes-transitioning":D(Y),"is-annotation-mode":D(re)}])},[y("div",{class:"toolbar-wrap",style:v(me.value)},[S(Dn)],4),S(ks,{ref_key:"canvasRef",ref:le,class:"canvas","animation-session":Pe.value,onPresent:t[5]||(t[5]=e=>we())},null,8,["animation-session"]),S(Gd,{notes:de.value,"onUpdate:notes":Fe,onFitScreen:t[6]||(t[6]=e=>le.value?.fitToScreen?.())},null,8,["notes"])],2)],512),S(Kn,null,{theme:C(()=>[S(Md,{theme:D(n),onClose:Ee,onApply:Ce},null,8,["theme"])]),animation:C(()=>[S(Rd,{onClose:Ee,onPreview:Le})]),diff:C(()=>[D(null)?(B(),k(D(null),{key:0,"original-f-s-j-s-o-n":he.value,"current-f-s-j-s-o-n":ge.value,onClose:Ee},null,8,["original-f-s-j-s-o-n","current-f-s-j-s-o-n"])):s("",!0)]),_:1})]),D(q)&&D(E).feedback&&oe.value?(B(),p("div",tu,[S(Zn,{onClose:Ae})])):s("",!0),te.value?(B(),k(ea,{key:1,"start-index":ae.value,"presenter-entry":D(E).present&&!D(ke),onExit:t[7]||(t[7]=e=>te.value=!1),onPresenter:Me},null,8,["start-index","presenter-entry"])):s("",!0)]))}}),[["__scopeId","data-v-ddddc63d"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/ExportDialog-BP5zDZk_.js b/editor/neo-ppt/assets/ExportDialog-BP5zDZk_.js new file mode 100644 index 0000000..d5e3525 --- /dev/null +++ b/editor/neo-ppt/assets/ExportDialog-BP5zDZk_.js @@ -0,0 +1 @@ +import{At as e,B as t,G as n,H as r,J as i,K as a,L as o,Nt as s,Tt as c,U as l,W as u,Y as d,Z as f,bt as p,ct as m,gt as h,j as g,kt as _,n as v,nt as y,ot as b,ut as x,vt as S,xt as C}from"./vue-B11_pI9F.js";import{g as w,h as ee,u as T,v as te,y as E}from"./const-BjfH-jZe.js";import{t as D}from"./_plugin-vue_export-helper-B67ILkmu.js";import{d as O,f as k,m as A,p as j,s as M,t as N,u as P}from"./useMessage-Cpv2N0cC.js";import{L as F,a as I,n as L,v as R}from"./index-jtNAhQeK.js";import{n as z,r as B,t as V}from"./Tabs-BfEIxvgH.js";import{at as ne,it as H,nt as re,ot as U,q as W,rt as G,tt as K}from"./ThumbnailSlide-COLdjDXw.js";import{t as q}from"./kimi.button-DiBbOOiZ.js";import{r as J}from"./dom-CWEl93tC.js";import{t as ie}from"./Loading-DTHKpUX9.js";import{a as Y,c as ae,i as oe,n as se,o as ce,r as le}from"./slideTransition-qR4hDwBa.js";import{r as ue}from"./menuExclusive-DWJqMbvd.js";import{t as de}from"./PopoverMenu-D6aS9gI3.js";import{t as fe}from"./pptdExportSignature-DMnND2uP.js";var pe=[`cx`,`cy`,`r`],me=[`cx`,`cy`,`r`,`stroke-dasharray`,`stroke-dashoffset`,`transform`],X=54,Z=5,he=`#f0f0f0`,ge=`#1890ff`,_e=D(f({__name:`ExportProgress`,props:{progress:{}},setup(e){let t=e,n=r(()=>(X-Z)/2),i=r(()=>X/2),o=r(()=>2*Math.PI*n.value),s=r(()=>o.value*(1-t.progress/100));return(e,t)=>(m(),a(`svg`,{width:X,height:X,class:`svg-progress`},[l(`circle`,{cx:i.value,cy:i.value,r:n.value,stroke:he,"stroke-width":Z,fill:`none`},null,8,pe),l(`circle`,{cx:i.value,cy:i.value,r:n.value,stroke:ge,"stroke-width":Z,fill:`none`,"stroke-dasharray":o.value,"stroke-dashoffset":s.value,"stroke-linecap":`round`,transform:`rotate(-90 ${i.value} ${i.value})`},null,8,me)]))}}),[[`__scopeId`,`data-v-ec2247e5`]]),ve=[`disabled`,`aria-checked`],ye={class:`ppt-switch-button`},be=D(f({__name:`Switch`,props:y({disabled:{type:Boolean},loading:{type:Boolean},size:{default:`medium`}},{value:{type:Boolean,default:!1},valueModifiers:{}}),emits:[`update:value`],setup(t){let i=t,o=h(t,`value`),s=r(()=>!i.disabled&&!i.loading),c=()=>{s.value&&(o.value=!o.value)};return(r,i)=>(m(),a(`button`,{type:`button`,class:e([`ppt-switch`,[t.size,{checked:o.value,disabled:t.disabled,loading:t.loading}]]),disabled:t.disabled,"aria-checked":o.value,role:`switch`,onClick:c},[l(`span`,ye,[t.loading?(m(),u(ie,{key:0,class:`ppt-switch-loading`})):n(``,!0)])],10,ve))}}),[[`__scopeId`,`data-v-631badcb`]]),xe=k(),Se={description:`PowerPoint Presentation`,accept:{"application/vnd.openxmlformats-officedocument.presentationml.presentation":[`.pptx`]}},Ce={description:`ZIP Archive`,accept:{"application/zip":[`.zip`]}},we=typeof window<`u`&&`showSaveFilePicker`in window,Q;async function Te(e,t){let n;try{n=await window.showSaveFilePicker?.({suggestedName:e,...t})}catch(e){if(e?.name===`AbortError`||String(e).includes(`aborted`))return;throw e}return n}var Ee=e=>({fileName:e.name,write:async t=>{let n=await e.createWritable();await n.write(t),await n.close()}});async function De(e,t){let n=await Te(e,t);if(n)return Q=Ee(n),Q}function Oe(){return Q}function ke(){Q=void 0}var Ae=D(f({__name:`IconTooltip`,props:{content:{}},setup(e){return(t,n)=>(m(),u(_(J),{content:e.content},{trigger:p(()=>[d(_(R),{class:`icon-tooltip-icon`,name:`Info`,size:`14`})]),_:1},8,[`content`]))}}),[[`__scopeId`,`data-v-b41c9ea0`]]),je={class:`tab-content between`},Me={class:`download-content`},Ne={key:0,class:`download-title`},Pe={class:`form-item-group`},Fe={class:`form-item`},Ie={class:`radio-group`},Le=[`onClick`],Re={class:`form-item-label`},ze={class:`form-item-label`},Be={class:`slide-transition-menu-trigger`},Ve={key:0,class:`form-item`},He={class:`storage-picker-text`},Ue={class:`form-submit`},We=D(f({__name:`DownloadTab`,props:{hasTitle:{type:Boolean}},emits:[`close`,`progress`],setup(o,{emit:u}){let f=u,{exportPPTX:h,exportImageToZip:g}=P(),{pages:v,pageOrder:y,meta:C}=U(),{exporting:D}=W(),k=N(),{t:A}=F(),M=we&&!T,R=[{label:A(`common.name`),value:`ppt`},{label:A(`exportDialog.image`),value:`image`}],z=c(C.value.mode===O.DESIGN?`image`:`ppt`),B=c(!0),V=c(se),H=c(Oe()?.fileName),G=r(()=>y.value.some(e=>v.value.get(e)?.elements.some(e=>e.elementType===`text`))),K=()=>{let e=C.value.title||`未命名演示文稿`;return z.value===`ppt`?`${e}.pptx`:`${e}.zip`},J=r(()=>[{label:A(Y.none),value:`none`},`divider`,...ae.map(e=>({label:A(Y[e]),value:e})),`divider`,{label:A(Y.random),value:`random`}]),ie=r(()=>A(Y[V.value])),pe=e=>{let t=oe(e);t!==V.value&&(V.value=t,ne(le,t),I(`msh_nppt_screen_effect_switch`,{effect:t,from:`export`}))},me=()=>[z.value===`ppt`?Se:Ce];S(z,()=>{ke(),H.value=void 0});let X=async()=>{if(!(D.value||!M))try{let e=await De(K(),{types:me()});e&&(H.value=e.fileName)}catch(e){L(`选择下载路径失败`,e)}},Z=()=>{let e=Oe();if(e)return(t,n)=>e.write(n);let t=z.value===`ppt`;return(e,n)=>t?j(n,e):(0,xe.saveAs)(n,e)},he=async()=>{if(D.value)return;te&&k.info(A(`exportDialog.wechatTip`)),E&&k.info(A(`exportDialog.safariTip`)),(w||ee)&&k.info(A(`exportDialog.mobileTip`));let e=Date.now(),t=z.value===`ppt`,n=t?`pptx`:`image`,r=!!Oe(),i=A(t?`exportDialog.exportPptxFailed`:`exportDialog.exportImageFailed`);I(`msh_nppt_export_start`,{file_type:n,with_picker:r});try{let i=Z();e=Date.now(),f(`progress`,0),t?await h({embedFonts:G.value?B.value:!1,slideTransition:ce(V.value)},e=>{f(`progress`,e)},i):await g(e=>{f(`progress`,e)},i),I(`msh_nppt_export_end`,{file_type:n,with_picker:r,user_activation:navigator.userActivation?.isActive,is_success:!0,export_duration:Date.now()-e}),T?k.success(A(`exportDialog.downloadStarted`),{duration:10*1e3}):k.success(A(`exportDialog.downloadStartTip`),{duration:10*1e3}),f(`close`)}catch(t){D.value=!1,f(`progress`,0),I(`msh_nppt_export_end`,{file_type:n,with_picker:r,user_activation:navigator.userActivation?.isActive,is_success:!1,error_reason:t?.message??`未知错误`,export_duration:Date.now()-e}),L(`导出失败`,t);let a=t instanceof fe?A(`exportDialog.exportPptxSignFailed`):i;k.error(a,{duration:10*1e3})}};return b(()=>{V.value=oe(re(le))}),(r,c)=>(m(),a(`div`,je,[l(`div`,Me,[o.hasTitle?(m(),a(`div`,Ne,s(_(A)(`exportDialog.downloadTitle`)),1)):n(``,!0),l(`div`,Pe,[l(`div`,Fe,[l(`div`,null,s(_(A)(`exportDialog.outputFormat`)),1),l(`div`,Ie,[(m(),a(t,null,x(R,t=>l(`div`,{key:t.value,class:e([`radio-group-item`,{active:z.value===t.value}]),onClick:e=>z.value=t.value},s(t.label),11,Le)),64))])]),l(`div`,{class:e([`form-item`,{"is-disabled":z.value!==`ppt`||!G.value}])},[l(`div`,Re,[i(s(_(A)(`exportDialog.fontEmbed`))+` `,1),d(Ae,{content:_(A)(`exportDialog.fontEmbedTooltip`)},null,8,[`content`])]),d(be,{value:B.value,"onUpdate:value":c[0]||(c[0]=e=>B.value=e),size:`large`,disabled:z.value!==`ppt`||!G.value},null,8,[`value`,`disabled`])],2),l(`div`,{class:e([`form-item`,{"is-disabled":z.value!==`ppt`}])},[l(`div`,ze,[i(s(_(A)(`exportDialog.slideTransition`))+` `,1),d(Ae,{content:_(A)(`exportDialog.slideTransitionTooltip`)},null,8,[`content`])]),d(de,{class:`slide-transition-menu`,"content-class":`slide-transition-menu-content`,disabled:z.value!==`ppt`,"float-options":{teleport:!0,placement:`bottom`,align:`end`,offset:6,withinWindow:!0,zIndex:300}},{trigger:p(()=>[l(`span`,Be,s(ie.value),1)]),popover:p(()=>[d(ue,{class:`slide-transition-menu-list`,"menu-list":J.value,"active-menu":V.value,onClick:pe},null,8,[`menu-list`,`active-menu`])]),_:1},8,[`disabled`])],2),_(T)?n(``,!0):(m(),a(`div`,Ve,[l(`div`,null,s(_(A)(`exportDialog.storageTo`)),1),d(_(q),{type:`primary`,icon:`Folder`,size:`medium`,class:`storage-picker`,disabled:!_(M)||_(D),title:H.value,onClick:X},{default:p(()=>[l(`span`,He,s(H.value||_(A)(`exportDialog.defaultDownloadPath`)),1)]),_:1},8,[`disabled`,`title`])]))]),l(`div`,Ue,[d(_(q),{type:`primary`,onClick:c[1]||(c[1]=e=>he())},{default:p(()=>[i(s(_(A)(`exportDialog.download`)),1)]),_:1})])])]))}}),[[`__scopeId`,`data-v-40ee0444`]]),Ge=`https://accounts.google.com/gsi/client`,Ke=`https://www.googleapis.com/upload/drive/v3/files`,qe=[`https://www.googleapis.com/auth/drive.file`],Je=`982000733428-dgfit79c4gcoed5bbnddghe7899lf52t.apps.googleusercontent.com`,$=void 0;function Ye(e){return new Promise((t,n)=>{if(document.querySelector(`script[src="${e}"]`)){t();return}let r=document.createElement(`script`);r.src=e,r.async=!0,r.onload=()=>t(),r.onerror=()=>n(Error(`Failed to load script: ${e}`)),document.head.appendChild(r)})}async function Xe(){$=$??Ye(Ge),$.catch(()=>$=void 0),await $}async function Ze(e){return K(`googleSlidesTicket-expiry`)||new Promise((t,n)=>{google.accounts.oauth2.initTokenClient({client_id:e,scope:qe.join(` `),callback:e=>{if(e.error){n(Error(`${e.error}: ${e.error_description??``}`));return}H(`googleSlidesTicket-expiry`,e.access_token),t(e.access_token)},error_callback:e=>{n(Error(e.message||`OAuth token request failed`))}}).requestAccessToken()})}async function Qe(e,t){await Xe();let n=await Ze(Je),r={name:t.title||`Kimi Presentation ${new Date().toISOString()}`,mimeType:`application/vnd.google-apps.presentation`},i=new FormData;i.append(`metadata`,new Blob([JSON.stringify(r)],{type:`application/json`})),i.append(`file`,e);let a=await fetch(`${Ke}?uploadType=multipart&fields=id`,{method:`POST`,headers:{Authorization:`Bearer ${n}`},body:i});if(!a.ok){a.status===401&&G(`googleSlidesTicket-expiry`);let e=await a.text();throw Error(`Google Drive upload failed (${a.status}): ${e}`)}let{id:o}=await a.json();return{fileId:o,url:`https://docs.google.com/presentation/d/${o}/edit`}}var $e={class:`tab-content`},et={class:`center-tips`},tt={class:`form-submit center`},nt=D(f({__name:`GoogleSlidesTab`,emits:[`close`,`progress`],setup(e,{emit:t}){let n=t,{exportPPTXBlob:o}=P(),{exporting:u,exportingToGoogle:f}=W(),{pages:h,pageOrder:g,meta:v}=U(),{t:y}=F(),b=N(),x=c(!0),S=c(!0),C=r(()=>g.value.some(e=>h.value.get(e)?.elements.some(e=>e.elementType===`text`))),w=async()=>{if(f.value||u.value)return;u.value=!0,n(`progress`,0);let e=Date.now();I(`msh_nppt_export_start`,{file_type:`pptx`,target:`googleSlides`});let t=null;try{t=await o({embedFonts:C.value?x.value:!1,slideTransition:S.value},e=>{n(`progress`,e)})}catch(e){b.error(y(e instanceof fe?`exportDialog.exportPptxSignFailed`:`exportDialog.exportPptxFailed`))}if(n(`close`),!t){u.value=!1,I(`msh_nppt_export_end`,{is_success:!1,file_type:`pptx`,target:`googleSlides`,export_duration:0,error_reason:`前置export 失败`});return}f.value=!0;let r=b.loading(y(`exportDialog.exportingToGoogle`));try{let n=await Qe(t,{title:v.value.title||`Kimi Presentation`});n?.url&&window.open(n.url,`_blank`),I(`msh_nppt_export_end`,{is_success:!0,file_type:`pptx`,target:`googleSlides`,export_duration:Date.now()-e})}catch(t){let n=t.message;n!==`Popup window closed`&&b.error(y(`exportDialog.exportToGoogleNetworkError`)),I(`msh_nppt_export_end`,{is_success:!1,file_type:`pptx`,target:`googleSlides`,error_reason:n,export_duration:Date.now()-e})}f.value=!1,u.value=!1,b.close(r)};return(e,t)=>(m(),a(`div`,$e,[d(_(R),{name:`WebsiteUrl`,class:`main-icon`,width:32}),l(`div`,et,s(_(y)(`exportDialog.exportToGoogleTips`)),1),l(`div`,tt,[d(_(q),{type:`primary`,disabled:_(f)||_(u),onClick:w},{default:p(()=>[i(s(_(y)(`exportDialog.exportToGoogle`)),1)]),_:1},8,[`disabled`])])]))}}),[[`__scopeId`,`data-v-a8e4c6a0`]]),rt={class:`export-dialog-loading`},it={class:`export-dialog-loading-text`},at=D(f({__name:`ExportDialog`,emits:[`close`],setup(f,{emit:h}){let y=h,{isOverseas:x}=A(),{exporting:w,isEditable:ee}=W(),{functional:te}=M(),{t:E}=F(),D=N(),O=c(0),k=c(!1),j=r(()=>w.value||O.value>0),P=r(()=>te.value.share),L=r(()=>x.value&&!T),R=(e=!1)=>{j.value&&!e||(k.value=!1)};S(ee,e=>{e||R(!0)});let ne=()=>{R()},H={ignore:[`.slide-transition-menu-content`,`.export-dialog-trigger`]},re=S(O,async e=>{e===99&&(re(),await new Promise(e=>setTimeout(e,10*1e3)),w.value&&k.value&&(R(!0),D.error(E(`exportDialog.pendingTip`)),I(`msh_nppt_export_pending`,{})))}),U=()=>{y(`close`)},G=e=>{I(`msh_nppt_export_tab_click`,{type:e,is_oversea:x.value},`type`)},K=c(`download`),q=r(()=>L.value),J=r(()=>K.value===`download`&&j.value);return S(K,e=>{G(e===`google-slides`?`googleSlides`:`download`)}),S(L,e=>{!e&&K.value===`google-slides`&&(K.value=`download`)}),b(()=>{if(!ee.value){y(`close`);return}k.value=!0,I(`msh_nppt_export_show`,{is_oversea:x.value},!0)}),(r,c)=>(m(),a(t,null,[d(g,{name:`export-mask-fade`,appear:``},{default:p(()=>[k.value&&J.value?(m(),a(`div`,{key:0,class:e([`export-mask`,{exporting:J.value}])},null,2)):n(``,!0)]),_:1}),d(g,{name:`export-dialog-fade`,appear:``,onAfterLeave:U},{default:p(()=>[k.value?C((m(),a(`div`,{key:0,class:e([`export-dialog`,{visible:k.value}])},[C(l(`div`,rt,[d(_e,{progress:O.value},null,8,[`progress`]),l(`div`,it,s(_(E)(`exportDialog.loading`))+` `+s(O.value)+`%`,1)],512),[[o,j.value]]),C(d(B,{current:K.value,"onUpdate:current":c[4]||(c[4]=e=>K.value=e),class:e([`export-tabs auto-rtl`,{"without-tabs":!q.value}])},{default:p(()=>[q.value?(m(),u(V,{key:0,class:`tabs`,"tab-style":`switch`},{default:p(()=>[d(z,{name:`download`,class:`tab`},{default:p(()=>[i(s(_(E)(`exportDialog.tabDownload`)),1)]),_:1}),L.value?(m(),u(z,{key:0,name:`google-slides`,class:`tab`},{default:p(()=>[i(s(_(E)(`exportDialog.tabGoogleSlides`)),1)]),_:1})):n(``,!0)]),_:1})):n(``,!0),d(z,{name:`download`},{default:p(()=>[d(We,{class:`common-height`,"has-title":!P.value,onClose:c[0]||(c[0]=e=>R(!0)),onProgress:c[1]||(c[1]=e=>O.value=e)},null,8,[`has-title`])]),_:1}),L.value?(m(),u(z,{key:1,name:`google-slides`},{default:p(()=>[d(nt,{class:`common-height`,onClose:c[2]||(c[2]=e=>R(!0)),onProgress:c[3]||(c[3]=e=>O.value=e)})]),_:1})):n(``,!0)]),_:1},8,[`current`,`class`]),[[o,!j.value]])],2)),[[_(v),[ne,H]]]):n(``,!0)]),_:1})],64))}}),[[`__scopeId`,`data-v-66035257`]]);export{at as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/ExportDialog-DA6_jEoD.css b/editor/neo-ppt/assets/ExportDialog-DA6_jEoD.css new file mode 100644 index 0000000..946b705 --- /dev/null +++ b/editor/neo-ppt/assets/ExportDialog-DA6_jEoD.css @@ -0,0 +1 @@ +.svg-progress circle[data-v-ec2247e5]{transition:stroke-dashoffset .3s ease-in-out}.ppt-switch.small[data-v-631badcb]{--switch-rail-w:28px;--switch-rail-h:16px}.ppt-switch.medium[data-v-631badcb]{--switch-rail-w:36px;--switch-rail-h:20px}.ppt-switch.large[data-v-631badcb]{--switch-rail-w:44px;--switch-rail-h:24px}.ppt-switch[data-v-631badcb]{box-sizing:border-box;width:var(--switch-rail-w);height:var(--switch-rail-h);background-color:var(--Fills-F3);cursor:pointer;user-select:none;border:none;border-radius:999px;outline:none;align-items:center;margin:0;padding:0;transition:background-color .3s cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative}.ppt-switch[data-v-631badcb]:hover:not(.disabled):not(.loading):not(.checked){background-color:var(--Fills-F3-hover)}.ppt-switch.checked[data-v-631badcb]{background-color:var(--Colors-KMBlue-active)}.ppt-switch.checked[data-v-631badcb]:hover:not(.disabled):not(.loading){background-color:var(--Colors-KMBlue-hover)}.ppt-switch.checked .ppt-switch-button[data-v-631badcb]{transform:translateX(calc(var(--switch-rail-w) - var(--switch-rail-h)))}.ppt-switch.disabled[data-v-631badcb]{cursor:not-allowed;opacity:.5}.ppt-switch.loading[data-v-631badcb]{cursor:default}.ppt-switch-button[data-v-631badcb]{width:calc(var(--switch-rail-h) - 4px);height:calc(var(--switch-rail-h) - 4px);background-color:var(--Always-White,#fff);border-radius:50%;justify-content:center;align-items:center;transition:transform .3s cubic-bezier(.4,0,.2,1);display:inline-flex;position:absolute;top:2px;left:2px;box-shadow:0 2px 4px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06)}.ppt-switch-loading[data-v-631badcb]{width:70%;height:70%}.icon-tooltip-icon[data-v-b41c9ea0]{color:var(--Labels-Tertiary);cursor:pointer;margin:0 2px}.tab-content[data-v-40ee0444]{flex-direction:column;justify-content:center;min-height:152px;margin-top:16px;display:flex}.tab-content.between[data-v-40ee0444]{justify-content:space-between}.download-content[data-v-40ee0444]{flex-direction:column;gap:16px;display:flex}.download-title[data-v-40ee0444]{color:var(--Labels-Primary);font-size:16px;font-weight:500;line-height:24px}.form-item[data-v-40ee0444]{color:var(--Labels-Primary);justify-content:space-between;align-items:center;font-size:14px;display:flex}.form-item-label[data-v-40ee0444]{align-items:center;display:flex}.form-item.is-disabled[data-v-40ee0444]{opacity:.5}.form-item.is-disabled .radio-group-item[data-v-40ee0444]{cursor:not-allowed}.form-item.is-disabled[data-v-40ee0444] .ppt-switch.disabled{opacity:1}.form-item+.form-item[data-v-40ee0444]{margin-top:12px}.storage-picker[data-v-40ee0444]{background:var(--Fills-F1);min-height:36px;color:var(--Labels-Secondary);font:inherit;cursor:pointer;box-sizing:border-box;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.storage-picker[data-v-40ee0444]:hover:not(:disabled){background:var(--Fills-F1-hover)}.storage-picker[data-v-40ee0444]:disabled{cursor:default}.storage-picker .storage-picker-text[data-v-40ee0444]{text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;max-width:180px;display:inline-block;overflow:hidden}.radio-group[data-v-40ee0444]{align-items:center;gap:8px;display:flex}.radio-group-item[data-v-40ee0444]{box-sizing:border-box;background-color:var(--Fills-F1);height:28px;color:var(--Labels-Primary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:4px 12px;font-size:14px;font-weight:400;display:flex}.radio-group-item.active[data-v-40ee0444]{background-color:var(--Others-KMBlue10);color:var(--Colors-KMBlue)}.radio-group+.radio-group[data-v-40ee0444]{margin-top:12px}.slide-transition-menu[data-v-40ee0444]{background-color:var(--Fills-F1);border-radius:8px;width:152px}.slide-transition-menu[data-v-40ee0444]:hover{background-color:var(--Fills-F1-hover)}.slide-transition-menu-trigger[data-v-40ee0444]{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding:0 12px;font-size:14px;line-height:28px;overflow:hidden}.slide-transition-menu-content{overflow:visible!important}.slide-transition-menu-list{min-width:176px}.form-submit[data-v-40ee0444]{--Colors-KMBlue:var(--Labels-Primary);--Colors-KMBlue-hover:var(--Labels-Primary-hover);justify-content:flex-end;align-items:center;gap:8px;display:flex}.tab-content[data-v-a8e4c6a0]{flex-direction:column;justify-content:center;align-items:center;min-height:152px;margin-top:16px;display:flex}.main-icon[data-v-a8e4c6a0]{color:var(--Labels-Tertiary,rgba(0,0,0,.45))}.center-tips[data-v-a8e4c6a0]{text-align:center;color:var(--Labels-Primary);padding:14px 12px;font-size:14px;line-height:20px}.form-submit[data-v-a8e4c6a0]{--Colors-KMBlue:var(--Labels-Primary);--Colors-KMBlue-hover:var(--Labels-Primary-hover);justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;display:flex}.form-submit.center[data-v-a8e4c6a0]{justify-content:center}.export-mask[data-v-66035257]{z-index:var(--zindex-topbar,102);position:fixed;top:0;bottom:0;left:0;right:0}.export-mask.exporting[data-v-66035257]{backdrop-filter:blur(1px)}.export-dialog[data-v-66035257]{top:var(--topbar-height,50px);box-sizing:border-box;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1,rgba(0,0,0,.13));z-index:var(--zindex-topbar,102);border-radius:16px;gap:20px;width:360px;padding:16px;position:absolute;right:0;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.export-dialog-loading[data-v-66035257]{flex-direction:column;justify-content:center;align-items:center;min-height:212px;display:flex}.export-dialog-loading-text[data-v-66035257]{color:var(--Labels-Secondary);padding:12px 0;font-size:14px}.export-tabs .tab[data-v-66035257]{font-size:14px}.export-tabs .tab.actived[data-v-66035257]{color:var(--Labels-Primary)}.export-tabs.without-tabs[data-v-66035257] .tab-content{margin-top:0}.common-height[data-v-66035257]{min-height:204px}.export-mask-fade-enter-active[data-v-66035257],.export-mask-fade-leave-active[data-v-66035257],.export-dialog-fade-enter-active[data-v-66035257],.export-dialog-fade-leave-active[data-v-66035257]{transition:opacity .18s}.export-mask-fade-enter-from[data-v-66035257],.export-mask-fade-leave-to[data-v-66035257],.export-dialog-fade-enter-from[data-v-66035257],.export-dialog-fade-leave-to[data-v-66035257]{opacity:0}.export-dialog-fade-enter-active[data-v-66035257],.export-dialog-fade-leave-active[data-v-66035257]{transition:opacity .18s,transform .18s}.export-dialog-fade-enter-from[data-v-66035257],.export-dialog-fade-leave-to[data-v-66035257]{transform:translateY(-4px)}@keyframes loading-66035257{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/editor/neo-ppt/assets/ExportDialog-legacy-Dnnjx5WA.js b/editor/neo-ppt/assets/ExportDialog-legacy-Dnnjx5WA.js new file mode 100644 index 0000000..0a6667d --- /dev/null +++ b/editor/neo-ppt/assets/ExportDialog-legacy-Dnnjx5WA.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./useMessage-legacy-BwPIj8SG.js","./index-legacy-Ce-qKpT_.js","./Tabs-legacy-CXU8gu0c.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./dom-legacy-D-syBzLK.js","./Loading-legacy-B5EqNNsc.js","./slideTransition-legacy-DlaMB_R6.js","./menuExclusive-legacy-CBHfJWDM.js","./PopoverMenu-legacy-CeHE3aHd.js","./pptdExportSignature-legacy-Dm26KY_f.js"],function(e,t){var a,o,i,r,l,n,s,d,p,c,u,v,g,m,x,f,b,h,w,y,_,k,T,D,P,S,j,F,z,C,B,E,I,L,$,A,M,G,K,N,O,W,q,U,J,X,Z,H,Y,Q,R,V,ee,te,ae,oe,ie,re,le,ne,se,de,pe,ce,ue,ve,ge,me,xe,fe,be,he,we,ye,_e,ke,Te,De,Pe,Se,je,Fe,ze,Ce,Be,Ee,Ie,Le,$e,Ae,Me,Ge,Ke,Ne,Oe,We,qe,Ue,Je,Xe,Ze,He,Ye,Qe;async function Re(e,t){const a=await async function(e,t){let a;try{a=await(window.showSaveFilePicker?.({suggestedName:e,...t}))}catch(o){if("AbortError"===o?.name||String(o).includes("aborted"))return;throw o}return a}(e,t);if(a)return ke=Te(a)}function Ve(){return ke}async function et(){var e;(Ue=Ue??(e=Ne,new Promise((t,a)=>{if(document.querySelector(`script[src="${e}"]`))return void t();const o=document.createElement("script");o.src=e,o.async=!0,o.onload=()=>t(),o.onerror=()=>a(new Error(`Failed to load script: ${e}`)),document.head.appendChild(o)}))).catch(()=>Ue=void 0),await Ue}async function tt(e,t){await et();const a=await async function(e){return R("googleSlidesTicket-expiry")||new Promise((t,a)=>{google.accounts.oauth2.initTokenClient({client_id:e,scope:We.join(" "),callback:e=>{e.error?a(new Error(`${e.error}: ${e.error_description??""}`)):(X("googleSlidesTicket-expiry",e.access_token),t(e.access_token))},error_callback:e=>{a(new Error(e.message||"OAuth token request failed"))}}).requestAccessToken()})}(qe),o={name:t.title||`Kimi Presentation ${(new Date).toISOString()}`,mimeType:"application/vnd.google-apps.presentation"},i=new FormData;i.append("metadata",new Blob([JSON.stringify(o)],{type:"application/json"})),i.append("file",e);const r=await fetch(`${Oe}?uploadType=multipart&fields=id`,{method:"POST",headers:{Authorization:`Bearer ${a}`},body:i});if(!r.ok){401===r.status&&Q("googleSlidesTicket-expiry");const e=await r.text();throw new Error(`Google Drive upload failed (${r.status}): ${e}`)}const{id:l}=await r.json();return{fileId:l,url:`https://docs.google.com/presentation/d/${l}/edit`}}return{setters:[function(e){a=e.At,o=e.B,i=e.G,r=e.H,l=e.J,n=e.K,s=e.L,d=e.Nt,p=e.Tt,c=e.U,u=e.W,v=e.Y,g=e.Z,m=e.bt,x=e.ct,f=e.gt,b=e.j,h=e.kt,w=e.n,y=e.nt,_=e.ot,k=e.ut,T=e.vt,D=e.xt},function(e){P=e.g,S=e.h,j=e.u,F=e.v,z=e.y},function(e){C=e.t},function(e){B=e.d,E=e.f,I=e.m,L=e.p,$=e.s,A=e.t,M=e.u},function(e){G=e.L,K=e.a,N=e.n,O=e.v},function(e){W=e.n,q=e.r,U=e.t},function(e){J=e.at,X=e.it,Z=e.nt,H=e.ot,Y=e.q,Q=e.rt,R=e.tt},function(e){V=e.t},function(e){ee=e.r},function(e){te=e.t},function(e){ae=e.a,oe=e.c,ie=e.i,re=e.n,le=e.o,ne=e.r},function(e){se=e.r},function(e){de=e.t},function(e){pe=e.t}],execute:function(){(ce=document.createElement("style")).textContent=".svg-progress circle[data-v-ec2247e5]{transition:stroke-dashoffset .3s ease-in-out}.ppt-switch.small[data-v-631badcb]{--switch-rail-w:28px;--switch-rail-h:16px}.ppt-switch.medium[data-v-631badcb]{--switch-rail-w:36px;--switch-rail-h:20px}.ppt-switch.large[data-v-631badcb]{--switch-rail-w:44px;--switch-rail-h:24px}.ppt-switch[data-v-631badcb]{box-sizing:border-box;width:var(--switch-rail-w);height:var(--switch-rail-h);background-color:var(--Fills-F3);cursor:pointer;user-select:none;border:none;border-radius:999px;outline:none;align-items:center;margin:0;padding:0;transition:background-color .3s cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative}.ppt-switch[data-v-631badcb]:hover:not(.disabled):not(.loading):not(.checked){background-color:var(--Fills-F3-hover)}.ppt-switch.checked[data-v-631badcb]{background-color:var(--Colors-KMBlue-active)}.ppt-switch.checked[data-v-631badcb]:hover:not(.disabled):not(.loading){background-color:var(--Colors-KMBlue-hover)}.ppt-switch.checked .ppt-switch-button[data-v-631badcb]{transform:translateX(calc(var(--switch-rail-w) - var(--switch-rail-h)))}.ppt-switch.disabled[data-v-631badcb]{cursor:not-allowed;opacity:.5}.ppt-switch.loading[data-v-631badcb]{cursor:default}.ppt-switch-button[data-v-631badcb]{width:calc(var(--switch-rail-h) - 4px);height:calc(var(--switch-rail-h) - 4px);background-color:var(--Always-White,#fff);border-radius:50%;justify-content:center;align-items:center;transition:transform .3s cubic-bezier(.4,0,.2,1);display:inline-flex;position:absolute;top:2px;left:2px;box-shadow:0 2px 4px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06)}.ppt-switch-loading[data-v-631badcb]{width:70%;height:70%}.icon-tooltip-icon[data-v-b41c9ea0]{color:var(--Labels-Tertiary);cursor:pointer;margin:0 2px}.tab-content[data-v-40ee0444]{flex-direction:column;justify-content:center;min-height:152px;margin-top:16px;display:flex}.tab-content.between[data-v-40ee0444]{justify-content:space-between}.download-content[data-v-40ee0444]{flex-direction:column;gap:16px;display:flex}.download-title[data-v-40ee0444]{color:var(--Labels-Primary);font-size:16px;font-weight:500;line-height:24px}.form-item[data-v-40ee0444]{color:var(--Labels-Primary);justify-content:space-between;align-items:center;font-size:14px;display:flex}.form-item-label[data-v-40ee0444]{align-items:center;display:flex}.form-item.is-disabled[data-v-40ee0444]{opacity:.5}.form-item.is-disabled .radio-group-item[data-v-40ee0444]{cursor:not-allowed}.form-item.is-disabled[data-v-40ee0444] .ppt-switch.disabled{opacity:1}.form-item+.form-item[data-v-40ee0444]{margin-top:12px}.storage-picker[data-v-40ee0444]{background:var(--Fills-F1);min-height:36px;color:var(--Labels-Secondary);font:inherit;cursor:pointer;box-sizing:border-box;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.storage-picker[data-v-40ee0444]:hover:not(:disabled){background:var(--Fills-F1-hover)}.storage-picker[data-v-40ee0444]:disabled{cursor:default}.storage-picker .storage-picker-text[data-v-40ee0444]{text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;max-width:180px;display:inline-block;overflow:hidden}.radio-group[data-v-40ee0444]{align-items:center;gap:8px;display:flex}.radio-group-item[data-v-40ee0444]{box-sizing:border-box;background-color:var(--Fills-F1);height:28px;color:var(--Labels-Primary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:4px 12px;font-size:14px;font-weight:400;display:flex}.radio-group-item.active[data-v-40ee0444]{background-color:var(--Others-KMBlue10);color:var(--Colors-KMBlue)}.radio-group+.radio-group[data-v-40ee0444]{margin-top:12px}.slide-transition-menu[data-v-40ee0444]{background-color:var(--Fills-F1);border-radius:8px;width:152px}.slide-transition-menu[data-v-40ee0444]:hover{background-color:var(--Fills-F1-hover)}.slide-transition-menu-trigger[data-v-40ee0444]{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding:0 12px;font-size:14px;line-height:28px;overflow:hidden}.slide-transition-menu-content{overflow:visible!important}.slide-transition-menu-list{min-width:176px}.form-submit[data-v-40ee0444]{--Colors-KMBlue:var(--Labels-Primary);--Colors-KMBlue-hover:var(--Labels-Primary-hover);justify-content:flex-end;align-items:center;gap:8px;display:flex}.tab-content[data-v-a8e4c6a0]{flex-direction:column;justify-content:center;align-items:center;min-height:152px;margin-top:16px;display:flex}.main-icon[data-v-a8e4c6a0]{color:var(--Labels-Tertiary,rgba(0,0,0,.45))}.center-tips[data-v-a8e4c6a0]{text-align:center;color:var(--Labels-Primary);padding:14px 12px;font-size:14px;line-height:20px}.form-submit[data-v-a8e4c6a0]{--Colors-KMBlue:var(--Labels-Primary);--Colors-KMBlue-hover:var(--Labels-Primary-hover);justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;display:flex}.form-submit.center[data-v-a8e4c6a0]{justify-content:center}.export-mask[data-v-66035257]{z-index:var(--zindex-topbar,102);position:fixed;top:0;bottom:0;left:0;right:0}.export-mask.exporting[data-v-66035257]{backdrop-filter:blur(1px)}.export-dialog[data-v-66035257]{top:var(--topbar-height,50px);box-sizing:border-box;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1,rgba(0,0,0,.13));z-index:var(--zindex-topbar,102);border-radius:16px;gap:20px;width:360px;padding:16px;position:absolute;right:0;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.export-dialog-loading[data-v-66035257]{flex-direction:column;justify-content:center;align-items:center;min-height:212px;display:flex}.export-dialog-loading-text[data-v-66035257]{color:var(--Labels-Secondary);padding:12px 0;font-size:14px}.export-tabs .tab[data-v-66035257]{font-size:14px}.export-tabs .tab.actived[data-v-66035257]{color:var(--Labels-Primary)}.export-tabs.without-tabs[data-v-66035257] .tab-content{margin-top:0}.common-height[data-v-66035257]{min-height:204px}.export-mask-fade-enter-active[data-v-66035257],.export-mask-fade-leave-active[data-v-66035257],.export-dialog-fade-enter-active[data-v-66035257],.export-dialog-fade-leave-active[data-v-66035257]{transition:opacity .18s}.export-mask-fade-enter-from[data-v-66035257],.export-mask-fade-leave-to[data-v-66035257],.export-dialog-fade-enter-from[data-v-66035257],.export-dialog-fade-leave-to[data-v-66035257]{opacity:0}.export-dialog-fade-enter-active[data-v-66035257],.export-dialog-fade-leave-active[data-v-66035257]{transition:opacity .18s,transform .18s}.export-dialog-fade-enter-from[data-v-66035257],.export-dialog-fade-leave-to[data-v-66035257]{transform:translateY(-4px)}@keyframes loading-66035257{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n/*$vite$:1*/",document.head.appendChild(ce),ue=["cx","cy","r"],ve=["cx","cy","r","stroke-dasharray","stroke-dashoffset","transform"],ge=C(g({__name:"ExportProgress",props:{progress:{}},setup(e){const t=e,a=r(()=>24.5),o=r(()=>27),i=r(()=>2*Math.PI*a.value),l=r(()=>i.value*(1-t.progress/100));return(e,t)=>(x(),n("svg",{width:54,height:54,class:"svg-progress"},[c("circle",{cx:o.value,cy:o.value,r:a.value,stroke:"#f0f0f0","stroke-width":5,fill:"none"},null,8,ue),c("circle",{cx:o.value,cy:o.value,r:a.value,stroke:"#1890ff","stroke-width":5,fill:"none","stroke-dasharray":i.value,"stroke-dashoffset":l.value,"stroke-linecap":"round",transform:`rotate(-90 ${o.value} ${o.value})`},null,8,ve)]))}}),[["__scopeId","data-v-ec2247e5"]]),me=["disabled","aria-checked"],xe={class:"ppt-switch-button"},fe=g({__name:"Switch",props:y({disabled:{type:Boolean},loading:{type:Boolean},size:{default:"medium"}},{value:{type:Boolean,default:!1},valueModifiers:{}}),emits:["update:value"],setup(e){const t=e,o=f(e,"value"),l=r(()=>!t.disabled&&!t.loading),s=()=>{l.value&&(o.value=!o.value)};return(t,r)=>(x(),n("button",{type:"button",class:a(["ppt-switch",[e.size,{checked:o.value,disabled:e.disabled,loading:e.loading}]]),disabled:e.disabled,"aria-checked":o.value,role:"switch",onClick:s},[c("span",xe,[e.loading?(x(),u(te,{key:0,class:"ppt-switch-loading"})):i("",!0)])],10,me))}}),be=C(fe,[["__scopeId","data-v-631badcb"]]),he=E(),we={description:"PowerPoint Presentation",accept:{"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"]}},ye={description:"ZIP Archive",accept:{"application/zip":[".zip"]}},_e="undefined"!=typeof window&&"showSaveFilePicker"in window,Te=e=>({fileName:e.name,write:async t=>{const a=await e.createWritable();await a.write(t),await a.close()}}),De=C(g({__name:"IconTooltip",props:{content:{}},setup:e=>(t,a)=>(x(),u(h(ee),{content:e.content},{trigger:m(()=>[v(h(O),{class:"icon-tooltip-icon",name:"Info",size:"14"})]),_:1},8,["content"]))}),[["__scopeId","data-v-b41c9ea0"]]),Pe={class:"tab-content between"},Se={class:"download-content"},je={key:0,class:"download-title"},Fe={class:"form-item-group"},ze={class:"form-item"},Ce={class:"radio-group"},Be=["onClick"],Ee={class:"form-item-label"},Ie={class:"form-item-label"},Le={class:"slide-transition-menu-trigger"},$e={key:0,class:"form-item"},Ae={class:"storage-picker-text"},Me={class:"form-submit"},Ge=g({__name:"DownloadTab",props:{hasTitle:{type:Boolean}},emits:["close","progress"],setup(e,{emit:t}){const s=t,{exportPPTX:u,exportImageToZip:g}=M(),{pages:f,pageOrder:b,meta:w}=H(),{exporting:y}=Y(),D=A(),{t:C}=G(),E=_e&&!j,I=[{label:C("common.name"),value:"ppt"},{label:C("exportDialog.image"),value:"image"}],$=p(w.value.mode===B.DESIGN?"image":"ppt"),O=p(!0),W=p(re),q=p(Ve()?.fileName),U=r(()=>b.value.some(e=>f.value.get(e)?.elements.some(e=>"text"===e.elementType))),X=r(()=>[{label:C(ae.none),value:"none"},"divider",...oe.map(e=>({label:C(ae[e]),value:e})),"divider",{label:C(ae.random),value:"random"}]),Q=r(()=>C(ae[W.value])),R=e=>{const t=ie(e);t!==W.value&&(W.value=t,J(ne,t),K("msh_nppt_screen_effect_switch",{effect:t,from:"export"}))};T($,()=>{ke=void 0,q.value=void 0});const ee=async()=>{if(!y.value&&E)try{const e=await Re((()=>{const e=w.value.title||"未命名演示文稿";return"ppt"===$.value?`${e}.pptx`:`${e}.zip`})(),{types:["ppt"===$.value?we:ye]});e&&(q.value=e.fileName)}catch(e){N("选择下载路径失败",e)}},te=async()=>{if(y.value)return;F&&D.info(C("exportDialog.wechatTip")),z&&D.info(C("exportDialog.safariTip")),(P||S)&&D.info(C("exportDialog.mobileTip"));let e=Date.now();const t="ppt"===$.value,a=t?"pptx":"image",o=!!Ve(),i=C(t?"exportDialog.exportPptxFailed":"exportDialog.exportImageFailed");K("msh_nppt_export_start",{file_type:a,with_picker:o});try{const i=(()=>{const e=Ve();if(e)return(t,a)=>e.write(a);const t="ppt"===$.value;return(e,a)=>t?L(a,e):(0,he.saveAs)(a,e)})();e=Date.now(),s("progress",0),t?await u({embedFonts:!!U.value&&O.value,slideTransition:le(W.value)},e=>{s("progress",e)},i):await g(e=>{s("progress",e)},i),K("msh_nppt_export_end",{file_type:a,with_picker:o,user_activation:navigator.userActivation?.isActive,is_success:!0,export_duration:Date.now()-e}),j?D.success(C("exportDialog.downloadStarted"),{duration:1e4}):D.success(C("exportDialog.downloadStartTip"),{duration:1e4}),s("close")}catch(r){y.value=!1,s("progress",0),K("msh_nppt_export_end",{file_type:a,with_picker:o,user_activation:navigator.userActivation?.isActive,is_success:!1,error_reason:r?.message??"未知错误",export_duration:Date.now()-e}),N("导出失败",r);const t=r instanceof pe?C("exportDialog.exportPptxSignFailed"):i;D.error(t,{duration:1e4})}};return _(()=>{W.value=ie(Z(ne))}),(t,r)=>(x(),n("div",Pe,[c("div",Se,[e.hasTitle?(x(),n("div",je,d(h(C)("exportDialog.downloadTitle")),1)):i("",!0),c("div",Fe,[c("div",ze,[c("div",null,d(h(C)("exportDialog.outputFormat")),1),c("div",Ce,[(x(),n(o,null,k(I,e=>c("div",{key:e.value,class:a(["radio-group-item",{active:$.value===e.value}]),onClick:t=>$.value=e.value},d(e.label),11,Be)),64))])]),c("div",{class:a(["form-item",{"is-disabled":"ppt"!==$.value||!U.value}])},[c("div",Ee,[l(d(h(C)("exportDialog.fontEmbed"))+" ",1),v(De,{content:h(C)("exportDialog.fontEmbedTooltip")},null,8,["content"])]),v(be,{value:O.value,"onUpdate:value":r[0]||(r[0]=e=>O.value=e),size:"large",disabled:"ppt"!==$.value||!U.value},null,8,["value","disabled"])],2),c("div",{class:a(["form-item",{"is-disabled":"ppt"!==$.value}])},[c("div",Ie,[l(d(h(C)("exportDialog.slideTransition"))+" ",1),v(De,{content:h(C)("exportDialog.slideTransitionTooltip")},null,8,["content"])]),v(de,{class:"slide-transition-menu","content-class":"slide-transition-menu-content",disabled:"ppt"!==$.value,"float-options":{teleport:!0,placement:"bottom",align:"end",offset:6,withinWindow:!0,zIndex:300}},{trigger:m(()=>[c("span",Le,d(Q.value),1)]),popover:m(()=>[v(se,{class:"slide-transition-menu-list","menu-list":X.value,"active-menu":W.value,onClick:R},null,8,["menu-list","active-menu"])]),_:1},8,["disabled"])],2),h(j)?i("",!0):(x(),n("div",$e,[c("div",null,d(h(C)("exportDialog.storageTo")),1),v(h(V),{type:"primary",icon:"Folder",size:"medium",class:"storage-picker",disabled:!h(E)||h(y),title:q.value,onClick:ee},{default:m(()=>[c("span",Ae,d(q.value||h(C)("exportDialog.defaultDownloadPath")),1)]),_:1},8,["disabled","title"])]))]),c("div",Me,[v(h(V),{type:"primary",onClick:r[1]||(r[1]=e=>te())},{default:m(()=>[l(d(h(C)("exportDialog.download")),1)]),_:1})])])]))}}),Ke=C(Ge,[["__scopeId","data-v-40ee0444"]]),Ne="https://accounts.google.com/gsi/client",Oe="https://www.googleapis.com/upload/drive/v3/files",We=["https://www.googleapis.com/auth/drive.file"],qe="982000733428-dgfit79c4gcoed5bbnddghe7899lf52t.apps.googleusercontent.com",Ue=void 0,Je={class:"tab-content"},Xe={class:"center-tips"},Ze={class:"form-submit center"},He=C(g({__name:"GoogleSlidesTab",emits:["close","progress"],setup(e,{emit:t}){const a=t,{exportPPTXBlob:o}=M(),{exporting:i,exportingToGoogle:s}=Y(),{pages:u,pageOrder:g,meta:f}=H(),{t:b}=G(),w=A(),y=p(!0),_=p(!0),k=r(()=>g.value.some(e=>u.value.get(e)?.elements.some(e=>"text"===e.elementType))),T=async()=>{if(s.value||i.value)return;i.value=!0,a("progress",0);const e=Date.now();K("msh_nppt_export_start",{file_type:"pptx",target:"googleSlides"});let t=null;try{t=await o({embedFonts:!!k.value&&y.value,slideTransition:_.value},e=>{a("progress",e)})}catch(l){w.error(b(l instanceof pe?"exportDialog.exportPptxSignFailed":"exportDialog.exportPptxFailed"))}if(a("close"),!t)return i.value=!1,void K("msh_nppt_export_end",{is_success:!1,file_type:"pptx",target:"googleSlides",export_duration:0,error_reason:"前置export 失败"});s.value=!0;const r=w.loading(b("exportDialog.exportingToGoogle"));try{const a=await tt(t,{title:f.value.title||"Kimi Presentation"});a?.url&&window.open(a.url,"_blank"),K("msh_nppt_export_end",{is_success:!0,file_type:"pptx",target:"googleSlides",export_duration:Date.now()-e})}catch(n){const t=n.message;"Popup window closed"!==t&&w.error(b("exportDialog.exportToGoogleNetworkError")),K("msh_nppt_export_end",{is_success:!1,file_type:"pptx",target:"googleSlides",error_reason:t,export_duration:Date.now()-e})}s.value=!1,i.value=!1,w.close(r)};return(e,t)=>(x(),n("div",Je,[v(h(O),{name:"WebsiteUrl",class:"main-icon",width:32}),c("div",Xe,d(h(b)("exportDialog.exportToGoogleTips")),1),c("div",Ze,[v(h(V),{type:"primary",disabled:h(s)||h(i),onClick:T},{default:m(()=>[l(d(h(b)("exportDialog.exportToGoogle")),1)]),_:1},8,["disabled"])])]))}}),[["__scopeId","data-v-a8e4c6a0"]]),Ye={class:"export-dialog-loading"},Qe={class:"export-dialog-loading-text"},e("default",C(g({__name:"ExportDialog",emits:["close"],setup(e,{emit:t}){const g=t,{isOverseas:f}=I(),{exporting:y,isEditable:k}=Y(),{functional:P}=$(),{t:S}=G(),F=A(),z=p(0),C=p(!1),B=r(()=>y.value||z.value>0),E=r(()=>P.value.share),L=r(()=>f.value&&!j),M=(e=!1)=>{B.value&&!e||(C.value=!1)};T(k,e=>{e||M(!0)});const N=()=>{M()},O={ignore:[".slide-transition-menu-content",".export-dialog-trigger"]},J=T(z,async e=>{99===e&&(J(),await new Promise(e=>setTimeout(e,1e4)),y.value&&C.value&&(M(!0),F.error(S("exportDialog.pendingTip")),K("msh_nppt_export_pending",{})))}),X=()=>{g("close")},Z=e=>{K("msh_nppt_export_tab_click",{type:e,is_oversea:f.value},"type")},H=p("download"),Q=r(()=>L.value),R=r(()=>"download"===H.value&&B.value);return T(H,e=>{Z("google-slides"===e?"googleSlides":"download")}),T(L,e=>{e||"google-slides"!==H.value||(H.value="download")}),_(()=>{k.value?(C.value=!0,K("msh_nppt_export_show",{is_oversea:f.value},!0)):g("close")}),(e,t)=>(x(),n(o,null,[v(b,{name:"export-mask-fade",appear:""},{default:m(()=>[C.value&&R.value?(x(),n("div",{key:0,class:a(["export-mask",{exporting:R.value}])},null,2)):i("",!0)]),_:1}),v(b,{name:"export-dialog-fade",appear:"",onAfterLeave:X},{default:m(()=>[C.value?D((x(),n("div",{key:0,class:a(["export-dialog",{visible:C.value}])},[D(c("div",Ye,[v(ge,{progress:z.value},null,8,["progress"]),c("div",Qe,d(h(S)("exportDialog.loading"))+" "+d(z.value)+"%",1)],512),[[s,B.value]]),D(v(q,{current:H.value,"onUpdate:current":t[4]||(t[4]=e=>H.value=e),class:a(["export-tabs auto-rtl",{"without-tabs":!Q.value}])},{default:m(()=>[Q.value?(x(),u(U,{key:0,class:"tabs","tab-style":"switch"},{default:m(()=>[v(W,{name:"download",class:"tab"},{default:m(()=>[l(d(h(S)("exportDialog.tabDownload")),1)]),_:1}),L.value?(x(),u(W,{key:0,name:"google-slides",class:"tab"},{default:m(()=>[l(d(h(S)("exportDialog.tabGoogleSlides")),1)]),_:1})):i("",!0)]),_:1})):i("",!0),v(W,{name:"download"},{default:m(()=>[v(Ke,{class:"common-height","has-title":!E.value,onClose:t[0]||(t[0]=e=>M(!0)),onProgress:t[1]||(t[1]=e=>z.value=e)},null,8,["has-title"])]),_:1}),L.value?(x(),u(W,{key:1,name:"google-slides"},{default:m(()=>[v(He,{class:"common-height",onClose:t[2]||(t[2]=e=>M(!0)),onProgress:t[3]||(t[3]=e=>z.value=e)})]),_:1})):i("",!0)]),_:1},8,["current","class"]),[[s,!B.value]])],2)),[[h(w),[N,O]]]):i("",!0)]),_:1})],64))}}),[["__scopeId","data-v-66035257"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 b/editor/neo-ppt/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 new file mode 100644 index 0000000..0acaaff Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_AMS-Regular-DMm9YOAa.woff b/editor/neo-ppt/assets/KaTeX_AMS-Regular-DMm9YOAa.woff new file mode 100644 index 0000000..b804d7b Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_AMS-Regular-DMm9YOAa.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_AMS-Regular-DRggAlZN.ttf b/editor/neo-ppt/assets/KaTeX_AMS-Regular-DRggAlZN.ttf new file mode 100644 index 0000000..c6f9a5e Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_AMS-Regular-DRggAlZN.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf b/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf new file mode 100644 index 0000000..9ff4a5e Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff b/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff new file mode 100644 index 0000000..9759710 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 b/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 new file mode 100644 index 0000000..f390922 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff b/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff new file mode 100644 index 0000000..9bdd534 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 b/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 new file mode 100644 index 0000000..75344a1 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf b/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf new file mode 100644 index 0000000..f522294 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf b/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf new file mode 100644 index 0000000..4e98259 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff b/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff new file mode 100644 index 0000000..e7730f6 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 b/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 new file mode 100644 index 0000000..395f28b Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-CB_wures.ttf b/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-CB_wures.ttf new file mode 100644 index 0000000..b8461b2 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-CB_wures.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 b/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 new file mode 100644 index 0000000..735f694 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff b/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff new file mode 100644 index 0000000..acab069 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Bold-Cx986IdX.woff2 b/editor/neo-ppt/assets/KaTeX_Main-Bold-Cx986IdX.woff2 new file mode 100644 index 0000000..ab2ad21 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Bold-Cx986IdX.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Bold-Jm3AIy58.woff b/editor/neo-ppt/assets/KaTeX_Main-Bold-Jm3AIy58.woff new file mode 100644 index 0000000..f38136a Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Bold-Jm3AIy58.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Bold-waoOVXN0.ttf b/editor/neo-ppt/assets/KaTeX_Main-Bold-waoOVXN0.ttf new file mode 100644 index 0000000..4060e62 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Bold-waoOVXN0.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 b/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 new file mode 100644 index 0000000..5931794 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf b/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf new file mode 100644 index 0000000..dc00797 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff b/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff new file mode 100644 index 0000000..67807b0 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Italic-3WenGoN9.ttf b/editor/neo-ppt/assets/KaTeX_Main-Italic-3WenGoN9.ttf new file mode 100644 index 0000000..0e9b0f3 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Italic-3WenGoN9.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Italic-BMLOBm91.woff b/editor/neo-ppt/assets/KaTeX_Main-Italic-BMLOBm91.woff new file mode 100644 index 0000000..6f43b59 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Italic-BMLOBm91.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 b/editor/neo-ppt/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 new file mode 100644 index 0000000..b50920e Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Regular-B22Nviop.woff2 b/editor/neo-ppt/assets/KaTeX_Main-Regular-B22Nviop.woff2 new file mode 100644 index 0000000..eb24a7b Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Regular-B22Nviop.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Regular-Dr94JaBh.woff b/editor/neo-ppt/assets/KaTeX_Main-Regular-Dr94JaBh.woff new file mode 100644 index 0000000..21f5812 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Regular-Dr94JaBh.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Main-Regular-ypZvNtVU.ttf b/editor/neo-ppt/assets/KaTeX_Main-Regular-ypZvNtVU.ttf new file mode 100644 index 0000000..dd45e1e Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Main-Regular-ypZvNtVU.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf b/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf new file mode 100644 index 0000000..728ce7a Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 b/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 new file mode 100644 index 0000000..2965702 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff b/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff new file mode 100644 index 0000000..0ae390d Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Math-Italic-DA0__PXp.woff b/editor/neo-ppt/assets/KaTeX_Math-Italic-DA0__PXp.woff new file mode 100644 index 0000000..eb5159d Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Math-Italic-DA0__PXp.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Math-Italic-flOr_0UB.ttf b/editor/neo-ppt/assets/KaTeX_Math-Italic-flOr_0UB.ttf new file mode 100644 index 0000000..70d559b Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Math-Italic-flOr_0UB.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Math-Italic-t53AETM-.woff2 b/editor/neo-ppt/assets/KaTeX_Math-Italic-t53AETM-.woff2 new file mode 100644 index 0000000..215c143 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Math-Italic-t53AETM-.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf b/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf new file mode 100644 index 0000000..2f65a8a Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 b/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 new file mode 100644 index 0000000..cfaa3bd Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff b/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff new file mode 100644 index 0000000..8d47c02 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 b/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 new file mode 100644 index 0000000..349c06d Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff b/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff new file mode 100644 index 0000000..7e02df9 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf b/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf new file mode 100644 index 0000000..d5850df Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf b/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf new file mode 100644 index 0000000..537279f Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff b/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff new file mode 100644 index 0000000..31b8482 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 b/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 new file mode 100644 index 0000000..a90eea8 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Script-Regular-C5JkGWo-.ttf b/editor/neo-ppt/assets/KaTeX_Script-Regular-C5JkGWo-.ttf new file mode 100644 index 0000000..fd679bf Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Script-Regular-C5JkGWo-.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 b/editor/neo-ppt/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 new file mode 100644 index 0000000..b3048fc Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Script-Regular-D5yQViql.woff b/editor/neo-ppt/assets/KaTeX_Script-Regular-D5yQViql.woff new file mode 100644 index 0000000..0e7da82 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Script-Regular-D5yQViql.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Size1-Regular-C195tn64.woff b/editor/neo-ppt/assets/KaTeX_Size1-Regular-C195tn64.woff new file mode 100644 index 0000000..7f292d9 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size1-Regular-C195tn64.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf b/editor/neo-ppt/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf new file mode 100644 index 0000000..871fd7d Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 b/editor/neo-ppt/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 new file mode 100644 index 0000000..c5a8462 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf b/editor/neo-ppt/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf new file mode 100644 index 0000000..7a212ca Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 b/editor/neo-ppt/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 new file mode 100644 index 0000000..e1bccfe Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Size2-Regular-oD1tc_U0.woff b/editor/neo-ppt/assets/KaTeX_Size2-Regular-oD1tc_U0.woff new file mode 100644 index 0000000..d241d9b Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size2-Regular-oD1tc_U0.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Size3-Regular-CTq5MqoE.woff b/editor/neo-ppt/assets/KaTeX_Size3-Regular-CTq5MqoE.woff new file mode 100644 index 0000000..e6e9b65 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size3-Regular-CTq5MqoE.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf b/editor/neo-ppt/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf new file mode 100644 index 0000000..00bff34 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Size4-Regular-BF-4gkZK.woff b/editor/neo-ppt/assets/KaTeX_Size4-Regular-BF-4gkZK.woff new file mode 100644 index 0000000..e1ec545 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size4-Regular-BF-4gkZK.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Size4-Regular-DWFBv043.ttf b/editor/neo-ppt/assets/KaTeX_Size4-Regular-DWFBv043.ttf new file mode 100644 index 0000000..74f0892 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size4-Regular-DWFBv043.ttf differ diff --git a/editor/neo-ppt/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 b/editor/neo-ppt/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 new file mode 100644 index 0000000..680c130 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff b/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff new file mode 100644 index 0000000..2432419 Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff differ diff --git a/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 b/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 new file mode 100644 index 0000000..771f1af Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 differ diff --git a/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf b/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf new file mode 100644 index 0000000..c83252c Binary files /dev/null and b/editor/neo-ppt/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf differ diff --git a/editor/neo-ppt/assets/Loading-D1HZ5BTY.css b/editor/neo-ppt/assets/Loading-D1HZ5BTY.css new file mode 100644 index 0000000..744dbad --- /dev/null +++ b/editor/neo-ppt/assets/Loading-D1HZ5BTY.css @@ -0,0 +1 @@ +.loading[data-v-cb4a6e17]{aspect-ratio:1;width:16px;height:16px;color:var(--Labels-Primary);border-radius:50%;position:relative}.loading[data-v-cb4a6e17]:after{content:"";background:conic-gradient(from 90deg,transparent 30deg,currentColor 330.922deg,transparent 330.922deg,transparent 360deg);border-radius:50%;width:calc(90% - 2px);height:calc(90% - 2px);animation:1s linear infinite spin-cb4a6e17;position:absolute;top:2px;left:2px;-webkit-mask:radial-gradient(transparent 0,transparent 57%,currentColor 57%,currentColor 80%);mask:radial-gradient(transparent 0,transparent 57%,currentColor 57%,currentColor 80%)}@keyframes spin-cb4a6e17{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/editor/neo-ppt/assets/Loading-DTHKpUX9.js b/editor/neo-ppt/assets/Loading-DTHKpUX9.js new file mode 100644 index 0000000..9074583 --- /dev/null +++ b/editor/neo-ppt/assets/Loading-DTHKpUX9.js @@ -0,0 +1 @@ +import{K as e,ct as t}from"./vue-B11_pI9F.js";import{t as n}from"./_plugin-vue_export-helper-B67ILkmu.js";var r={},i={class:`loading`};function a(n,r){return t(),e(`div`,i)}var o=n(r,[[`render`,a],[`__scopeId`,`data-v-cb4a6e17`]]);export{o as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Loading-legacy-B5EqNNsc.js b/editor/neo-ppt/assets/Loading-legacy-B5EqNNsc.js new file mode 100644 index 0000000..d27da6d --- /dev/null +++ b/editor/neo-ppt/assets/Loading-legacy-B5EqNNsc.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js"],function(e,t){var r,a,n,o,i;function c(e,t){return a(),r("div",i)}return{setters:[function(e){r=e.K,a=e.ct},function(e){n=e.t}],execute:function(){(o=document.createElement("style")).textContent='.loading[data-v-cb4a6e17]{aspect-ratio:1;width:16px;height:16px;color:var(--Labels-Primary);border-radius:50%;position:relative}.loading[data-v-cb4a6e17]:after{content:"";background:conic-gradient(from 90deg,transparent 30deg,currentColor 330.922deg,transparent 330.922deg,transparent 360deg);border-radius:50%;width:calc(90% - 2px);height:calc(90% - 2px);animation:1s linear infinite spin-cb4a6e17;position:absolute;top:2px;left:2px;-webkit-mask:radial-gradient(transparent 0,transparent 57%,currentColor 57%,currentColor 80%);mask:radial-gradient(transparent 0,transparent 57%,currentColor 57%,currentColor 80%)}@keyframes spin-cb4a6e17{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n/*$vite$:1*/',document.head.appendChild(o),i={class:"loading"},e("t",n({},[["render",c],["__scopeId","data-v-cb4a6e17"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Mobile-BgPuwkub.js b/editor/neo-ppt/assets/Mobile-BgPuwkub.js new file mode 100644 index 0000000..868c45a --- /dev/null +++ b/editor/neo-ppt/assets/Mobile-BgPuwkub.js @@ -0,0 +1 @@ +import{At as e,B as t,G as n,H as r,J as i,K as a,Mt as o,Nt as s,Tt as c,U as l,W as u,Y as d,Z as f,_ as p,at as m,bt as h,ct as g,it as _,k as v,kt as y,ot as b,p as x,ut as S,v as C,vt as w,x as T}from"./vue-B11_pI9F.js";import{f as E,l as D,p as O}from"./const-BjfH-jZe.js";import{t as k}from"./_plugin-vue_export-helper-B67ILkmu.js";import{a as ee}from"./kimi-DRwOD7EI.js";import{d as te,o as ne,p as re,u as A}from"./useMessage-Cpv2N0cC.js";import{L as j,V as M,a as N,c as ie,d as ae,f as oe,h as se,l as ce,m as le,n as P,p as F,v as I}from"./index-jtNAhQeK.js";import{K as ue,d as L,ot as R,q as de,t as z}from"./ThumbnailSlide-COLdjDXw.js";import{t as B}from"./kimi.button-DiBbOOiZ.js";import{t as V}from"./Loading-DTHKpUX9.js";import{t as H}from"./usePPTDTitle-senR0KSa.js";var U=e=>e?.replace(/^sandbox:\/\//,``),fe=e=>{let t=U(e);if(!t)return;let n=t.lastIndexOf(`/`);return n>=0?t.substring(0,n+1):void 0},W=M(()=>{let e=v(),{t}=j(),n=ce(ee),{getPPTDData:i,getPPTDIsCreate:a,importFSJSON:o,updateSlidesMetaData:s,setLastModified:l,meta:u,pages:d,pageOrder:f,pageSize:h}=R(),{isCreate:g}=de(),{syncSlidesSummary:_}=ne(),{setBatchGetImages:y,setImageConfig:x}=ue(),{exporting:S,exportPPTXBlob:C}=A(),w=c(!0),k=c(!1),M=c(!1),I=c(0),L=c(0),z=c(0),B=c(0),V=p(`hybrid_has_showed_guide`,!1),H=T(!1,3e3),W=t=>{let n=e.query[t];return(Array.isArray(n)?n[0]:n)??void 0},G=r(()=>W(`chat_id`)??W(`chatId`)),K=r(()=>W(`slide_id`)??W(`slideId`)),pe=r(()=>W(`segment_id`)??W(`segmentId`)),q=r(()=>e.query.share!==void 0),me=r(()=>Math.max(I.value-32,0)),J=r(()=>u.value.title??``),Y=r(()=>J.value||t(`basic.unnamedPresentation`)),he=r(()=>h.value[1]/h.value[0]),ge=r(()=>Math.min(L.value,z.value/he.value)),_e=r(()=>{let e=f.value[B.value];return e?d.value.get(e):void 0}),X=r(()=>!V.value),ve=e=>{I.value=e??window.innerWidth},Z=()=>{L.value=window.innerWidth,z.value=window.innerHeight},ye=async e=>{if(le())try{return await e()}catch(e){P(e);return}},be=async()=>{B.value=0,Z(),M.value=!0,await ye(()=>F(`switchScreen`,{type:`full`}))},xe=async()=>{M.value=!1,await ye(()=>F(`switchScreen`,{type:`inside`}))},Q=e=>{M.value&&xe()},Se=e=>{let t=B.value+e;t<0||t>=f.value.length||(B.value=t)},Ce=e=>{B.value=e},we=e=>{X.value&&(e.stopPropagation(),e.preventDefault(),V.value=!0)},Te=()=>{H.value=!0},Ee=()=>{H.value=!H.value},De=()=>{if(window.webViewId){if(O)return`kimi-ios`;if(D)return`kimi-android`;if(E)return`kimi-harmony`}return`wap`},$=()=>({mode:te.PPTD,ppt_platform:De(),is_mobile:!0}),Oe=async e=>{let t=new window.FormData,{accessToken:n}=await ae(),r={...await ie()};t.append(`slides_file`,e),n&&(r.Authorization=`Bearer ${n}`);let i=await(await fetch(`/apiv2/slides:upload`,{method:`POST`,body:t,headers:r})).json();if(!i.url)throw Error(`upload pptx failed`);return i.url},ke=async()=>{if(S.value)return;let e=Date.now();S.value=!0,N(`msh_nppt_export_start`,{...$(),file_type:`pptx`});try{let t=await C({embedFonts:!0,slideTransition:!0});if(e=Date.now(),le())if(O)await F(`pptFile`,{ppt_tos_url:await Oe(t),title:Y.value});else{let{url:e}=await F(`getSlideUploadUrl`),n=new window.FormData;n.append(`ppt_file`,t,encodeURIComponent(`${Y.value}.pptx`)),await fetch(e,{method:`POST`,body:n})}else re(t,`${Y.value}.pptx`);N(`msh_nppt_export_end`,{...$(),is_success:!0,file_type:`pptx`,export_duration:Date.now()-e})}catch(t){N(`msh_nppt_export_end`,{...$(),is_success:!1,error_reason:t instanceof Error?t.message:`unknown error`,file_type:`pptx`,export_duration:Date.now()-e}),P(t)}finally{S.value=!1}},Ae=async e=>{let t=await n.getSlidesShare({slidesId:e});if(!t.payloadUrl)throw Error(`invalid share`);let r=await fetch(t.payloadUrl);if(!r.ok)throw Error(`failed to fetch share payload: ${r.status}`);return await r.json()};return b(()=>{oe(`closePage`,Q),Z()}),m(()=>{se(`closePage`,Q)}),{isLoading:w,isError:k,isPlaying:M,exporting:S,screenWidth:I,windowWidth:L,windowHeight:z,currentIndex:B,showAction:H,isShare:q,meta:u,pages:d,pageOrder:f,pageSize:h,slideWidth:me,displayTitle:J,playerSlideWidth:ge,currentSlide:_e,showGuide:X,updateScreenWidth:ve,updateWindowSize:Z,enterPlay:be,exitPlay:xe,goStep:Se,goToSlide:Ce,handleGuideClick:we,handleShowAction:Te,toggleAction:Ee,handleExport:ke,loadPPTD:async()=>{if(!K.value){g.value=!1,k.value=!0,w.value=!1;return}let e=K.value,t=Date.now(),n=!1,r=!1,c=e=>{if(!n||r)return;let i=e!==void 0;r=!0,N(`msh_nppt_generate_end`,{...$(),is_success:!i,error_reason:i?e instanceof Error?e.message:String(e):void 0,duration:Date.now()-t})};w.value=!0,k.value=!1;try{if(s({slideId:e,chatId:G.value,messageId:pe.value}),q.value){g.value=!1,o(await Ae(e));return}let t=await(async()=>(n=await a(e),i(e)))();g.value=n;let r=[{path:U(t.pptdPath)??`presentation.pptd`,content:t.content},...Object.entries(t.pagesMap).map(([e,t])=>({path:e,content:t}))];x({basePath:fe(t.pptdPath)}),l(t.lastModifiedTime),o(r),c(),n&&await _()}catch(e){c(e),P(e),k.value=!0}finally{w.value=!1}}}}),G=k(f({__name:`MobileTouchMask`,setup(n){let{t:r}=j(),i=c(),{pages:o,pageOrder:f,pageSize:p,currentIndex:m,showAction:h,showGuide:_,exitPlay:v,goStep:b,goToSlide:x,handleGuideClick:T,handleShowAction:E,toggleAction:D}=W();return C(i,{onSwipeEnd(e,t){_.value||(t===`right`?b(-1):t===`left`&&b(1))}}),w(m,e=>{let t=document.getElementById(`slide-${e}`);t&&t.scrollIntoView({behavior:`instant`,block:`center`})}),(n,c)=>(g(),a(`div`,{ref_key:`playMaskRef`,ref:i,class:`touch-mask`},[l(`div`,{class:e([`touch-mask-guide`,{"touch-mask-guide-show":y(_)}]),onClickCapture:c[3]||(c[3]=(...e)=>y(T)&&y(T)(...e))},[l(`div`,{class:`touch-mask-guide-item`,onClick:c[0]||(c[0]=e=>y(b)(-1))},[l(`p`,null,s(y(r)(`wap.playPrevLine1`)),1),l(`p`,null,s(y(r)(`wap.playPrevLine2`)),1)]),l(`div`,{class:`touch-mask-guide-item`,onClick:c[1]||(c[1]=(...e)=>y(D)&&y(D)(...e))},[l(`p`,null,s(y(r)(`wap.playMenuLine1`)),1),l(`p`,null,s(y(r)(`wap.playMenuLine2`)),1)]),l(`div`,{class:`touch-mask-guide-item`,onClick:c[2]||(c[2]=e=>y(b)(1))},[l(`p`,null,s(y(r)(`wap.playNextLine1`)),1),l(`p`,null,s(y(r)(`wap.playNextLine2`)),1)])],34),l(`div`,{class:e([`player-top-bar`,{"is-show":y(h)}])},[d(y(I),{class:`player-top-bar-icon`,name:`Left_b`,width:`24`,height:`24`,color:`white`,onClick:y(v)},null,8,[`onClick`])],2),l(`div`,{class:e([`player-bottom-bar`,{"is-show":y(h)}]),onTouchmove:c[4]||(c[4]=(...e)=>y(E)&&y(E)(...e)),onClick:c[5]||(c[5]=(...e)=>y(E)&&y(E)(...e))},[(g(!0),a(t,null,S(y(f),(t,n)=>(g(),u(z,{id:`slide-${n}`,key:t,class:e([`player-bottom-bar-slide`,{"is-active":n===y(m)}]),slide:y(o).get(t),"page-width":y(p)[0],"page-height":y(p)[1],style:{width:`100px`},onClick:e=>y(x)(n)},null,8,[`id`,`class`,`slide`,`page-width`,`page-height`,`onClick`]))),128))],34)],512))}}),[[`__scopeId`,`data-v-ee5b5d39`]]),K={class:`hybrid-player`},pe=k(f({__name:`MobilePlayer`,setup(e){let{pageOrder:t,pageSize:r,currentSlide:i,playerSlideWidth:s,updateWindowSize:c,goStep:l}=W();return x(window,`resize`,c),x(window,`keydown`,e=>{t.value.length!==0&&([`ArrowRight`,`ArrowDown`].includes(e.key)?l(1):[`ArrowLeft`,`ArrowUp`].includes(e.key)&&l(-1))}),b(()=>{c()}),(e,t)=>(g(),a(`div`,K,[y(i)?(g(),u(z,{key:0,slide:y(i),"page-width":y(r)[0],"page-height":y(r)[1],style:o({width:`${y(s)}px`})},null,8,[`slide`,`page-width`,`page-height`,`style`])):n(``,!0),d(G)]))}}),[[`__scopeId`,`data-v-2a476c11`]]),q={class:`mobile-loading`},me={class:`mobile-loading-content`},J=k(f({__name:`MobileLoading`,props:{text:{}},setup(e){return(t,n)=>(g(),a(`div`,q,[l(`div`,me,[d(V),l(`span`,null,s(e.text),1)])]))}}),[[`__scopeId`,`data-v-c1193748`]]),Y={key:0,class:`preview-title`},he={key:0,class:`preview-loading`},ge={key:1,class:`preview-error`},_e={key:2,class:`slides-list`},X={key:1,class:`preview-action`},ve=k(f({__name:`MobilePreview`,setup(r){let{t:f}=j(),p=c(),{isLoading:m,isError:v,exporting:C,pages:w,pageOrder:T,pageSize:E,slideWidth:D,displayTitle:O,isShare:k,updateScreenWidth:ee,enterPlay:te,handleExport:ne,loadPPTD:re}=W(),A=()=>{ee(p.value?.clientWidth)};return x(window,`resize`,A),b(async()=>{A(),await re(),await _(),A()}),(r,c)=>(g(),a(`div`,{ref_key:`previewRef`,ref:p,class:`preview-container`},[y(k)?n(``,!0):(g(),a(`div`,Y,s(y(O)),1)),l(`div`,{class:e([`hybrid-preview`,{"is-loading-segment":y(m)}])},[y(m)?(g(),a(`div`,he,[d(V),l(`span`,null,s(y(f)(`wap.loading`)),1)])):y(v)?(g(),a(`div`,ge,s(y(f)(`common.loadFailedRetry`)),1)):(g(),a(`div`,_e,[(g(!0),a(t,null,S(y(T),e=>(g(),u(z,{key:e,class:`slides-list-item`,slide:y(w).get(e),"page-width":y(E)[0],"page-height":y(E)[1],style:o({width:`${y(D)}px`})},null,8,[`slide`,`page-width`,`page-height`,`style`]))),128))]))],2),!y(k)&&!y(m)&&!y(v)?(g(),a(`div`,X,[d(y(B),{type:`secondary`,onClick:y(te)},{default:h(()=>[i(s(y(f)(`wap.play`)),1)]),_:1},8,[`onClick`]),d(y(B),{loading:y(C),onClick:y(ne)},{default:h(()=>[i(s(y(f)(`wap.export`)),1)]),_:1},8,[`loading`,`onClick`])])):n(``,!0),y(C)?(g(),u(J,{key:2,text:y(f)(`wap.exporting`)},null,8,[`text`])):n(``,!0)],512))}}),[[`__scopeId`,`data-v-6f9cecd5`]]),Z=f({__name:`Mobile`,setup(e){L();let{isPlaying:t}=W(),{meta:n}=R(),{setPPTDTitle:r}=H();return w(()=>n.value.title,e=>r(e),{immediate:!0}),(e,n)=>y(t)?(g(),u(pe,{key:0})):(g(),u(ve,{key:1}))}});export{Z as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Mobile-DDsjWa2n.css b/editor/neo-ppt/assets/Mobile-DDsjWa2n.css new file mode 100644 index 0000000..af9b1da --- /dev/null +++ b/editor/neo-ppt/assets/Mobile-DDsjWa2n.css @@ -0,0 +1 @@ +.touch-mask[data-v-ee5b5d39]{flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.touch-mask-guide[data-v-ee5b5d39]{opacity:0;background-color:rgba(0,0,0,.6);display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.touch-mask-guide-show[data-v-ee5b5d39]{opacity:1}.touch-mask-guide-item[data-v-ee5b5d39]{color:#fff;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;font-size:14px;line-height:20px;display:flex}.touch-mask-guide-item p[data-v-ee5b5d39]{margin:0}.touch-mask-guide-item[data-v-ee5b5d39]:after{content:"";background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='70'%20height='70'%20fill='none'%3e%3crect%20width='57'%20height='22'%20fill='url(%23a)'%20fill-opacity='.4'%20rx='11'%20transform='matrix(-1%200%200%201%2070%202)'/%3e%3ccircle%20cx='24.0676'%20cy='13'%20r='10'%20stroke='%23fff'%20stroke-width='2'/%3e%3cpath%20fill='url(%23b)'%20d='M40.8263%2058.4421c4.8765-3.4722%207.1585-10.6812%207.2252-16.3802.0453-3.8765-.887-10.4004-1.4879-14.1763-.2784-1.7488-1.7008-3.0748-3.4612-3.2667-1.947-.2121-3.6549%201.2956-3.6858%203.2539l-.0801%205.071-1.7726-2.4894-11.069-15.5453c-1.1935-1.6761-3.5228-2.0651-5.2027-.8689-1.6799%201.1961-2.0743%203.5246-.8808%205.2007l6.8543%209.6261c-1.1935-1.6761-3.5229-2.0651-5.2027-.869-1.6799%201.1962-2.0743%203.5247-.8808%205.2008l1.496%202.101c-1.1934-1.6761-3.479-3.1069-5.7013-1.5693-2.2224%201.5375-1.5756%204.225-.3821%205.9011l1.9593%202.7517c-1.1934-1.6761-3.1806-2.6456-5.1452-1.2468-1.9645%201.3989-2.1317%203.9025-.9382%205.5785l6.4162%209.0109c1.7467%202.4532%203.8641%203.7821%207.015%204.8997%205.4921%201.948%2010.2999%201.1095%2014.9244-2.1835Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='46.9412'%20x2='9.0529'%20y1='11'%20y2='11'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='27.0224'%20x2='43.8434'%20y1='32.6706'%20y2='56.2938'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e") 50%/100% 100% no-repeat;width:70px;height:70px;margin-top:14px;display:block}.touch-mask-guide-item[data-v-ee5b5d39]:nth-child(2){border-style:solid;border-width:0 1px;border-image-source:url("data:image/svg+xml,%3csvg%20width='2'%20height='371'%20viewBox='0%200%202%20371'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%200H0.5V2.0163H1H1.5V0H1ZM1%206.04891H0.5V10.0815H1H1.5V6.04891H1ZM1%2014.1141H0.5V18.1467H1H1.5V14.1141H1ZM1%2022.1793H0.5V26.212H1H1.5V22.1793H1ZM1%2030.2446H0.5V34.2772H1H1.5V30.2446H1ZM1%2038.3098H0.5V42.3424H1H1.5V38.3098H1ZM1%2046.375H0.5V50.4076H1H1.5V46.375H1ZM1%2054.4402H0.5V58.4728H1H1.5V54.4402H1ZM1%2062.5054H0.5V66.538H1H1.5V62.5054H1ZM1%2070.5706H0.5V74.6033H1H1.5V70.5706H1ZM1%2078.6359H0.5V82.6685H1H1.5V78.6359H1ZM1%2086.7011H0.5V90.7337H1H1.5V86.7011H1ZM1%2094.7663H0.5V98.7989H1H1.5V94.7663H1ZM1%20102.832H0.5V106.864H1H1.5V102.832H1ZM1%20110.897H0.5V114.929H1H1.5V110.897H1ZM1%20118.962H0.5V122.995H1H1.5V118.962H1ZM1%20127.027H0.5V131.06H1H1.5V127.027H1ZM1%20135.092H0.5V139.125H1H1.5V135.092H1ZM1%20143.158H0.5V147.19H1H1.5V143.158H1ZM1%20151.223H0.5V155.255H1H1.5V151.223H1ZM1%20159.288H0.5V163.321H1H1.5V159.288H1ZM1%20167.353H0.5V171.386H1H1.5V167.353H1ZM1%20175.418H0.5V179.451H1H1.5V175.418H1ZM1%20183.484H0.5V187.516H1H1.5V183.484H1ZM1%20191.549H0.5V195.581H1H1.5V191.549H1ZM1%20199.614H0.5V203.647H1H1.5V199.614H1ZM1%20207.679H0.5V211.712H1H1.5V207.679H1ZM1%20215.745H0.5V219.777H1H1.5V215.745H1ZM1%20223.81H0.5V227.842H1H1.5V223.81H1ZM1%20231.875H0.5V235.908H1H1.5V231.875H1ZM1%20239.94H0.5V243.973H1H1.5V239.94H1ZM1%20248.005H0.5V252.038H1H1.5V248.005H1ZM1%20256.071H0.5V260.103H1H1.5V256.071H1ZM1%20264.136H0.5V268.168H1H1.5V264.136H1ZM1%20272.201H0.5V276.234H1H1.5V272.201H1ZM1%20280.266H0.5V284.299H1H1.5V280.266H1ZM1%20288.332H0.5V292.364H1H1.5V288.332H1ZM1%20296.397H0.5V300.429H1H1.5V296.397H1ZM1%20304.462H0.5V308.495H1H1.5V304.462H1ZM1%20312.527H0.5V316.56H1H1.5V312.527H1ZM1%20320.593H0.5V324.625H1H1.5V320.593H1ZM1%20328.658H0.5V332.69H1H1.5V328.658H1ZM1%20336.723H0.5V340.756H1H1.5V336.723H1ZM1%20344.788H0.5V348.821H1H1.5V344.788H1ZM1%20352.854H0.5V356.886H1H1.5V352.854H1ZM1%20360.919H0.5V364.951H1H1.5V360.919H1ZM1%20368.984H0.5V371H1H1.5V368.984H1Z'%20fill='url(%23paint0_linear_0_3)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_3'%20x1='1.5'%20y1='0'%20x2='1.5'%20y2='371'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0'/%3e%3cstop%20offset='0.5'%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");border-image-slice:1}.touch-mask-guide-item[data-v-ee5b5d39]:nth-child(2):after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='70'%20height='70'%20fill='none'%3e%3ccircle%20cx='33'%20cy='22'%20r='21'%20fill='%23fff'%20fill-opacity='.15'/%3e%3ccircle%20cx='33'%20cy='22'%20r='16'%20fill='%23fff'%20fill-opacity='.25'/%3e%3ccircle%20cx='33'%20cy='22'%20r='10'%20stroke='%23fff'%20stroke-width='2'/%3e%3cpath%20fill='url(%23a)'%20d='M42.7037%2069.6973c-5.9863%200-12.0266-4.5487-15.3866-9.1524-2.2854-3.1315-5.31-8.9866-7.0106-12.4111-.7877-1.5859-.3981-3.4911.9246-4.6685%201.463-1.3022%203.7288-1.0646%204.8898.5127l3.0066%204.0843V25.9229c0-2.0576%201.6719-3.7256%203.7341-3.7256%202.0622%200%203.7341%201.668%203.7341%203.7256v11.817c0-2.0575%201.6718-3.7256%203.734-3.7256s3.7341%201.6681%203.7341%203.7256v2.5793c0-2.0576%201.0319-4.5488%203.734-4.5854%202.7022-.0365%203.7341%202.5278%203.7341%204.5854v3.3781c0-2.0576%201.0564-4%203.4681-4s4%201.9424%204%204v11.0618c0%203.0115-.9539%205.3221-2.8724%208.0601-3.344%204.7724-7.7467%206.8781-13.4239%206.8781Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='39'%20x2='39'%20y1='40.6973'%20y2='69.6973'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");margin-top:14px;transform:translateY(-9px)}.touch-mask-guide-item[data-v-ee5b5d39]:nth-child(3):after{transform:scaleX(-1)}.player-top-bar[data-v-ee5b5d39]{background-color:rgba(0,0,0,.4);border-radius:0;width:100vw;height:50px;transition:transform .3s ease-in-out;position:absolute;top:0;left:0;right:0;transform:translateY(-100%)}.player-top-bar.is-show[data-v-ee5b5d39]{transform:translateY(0)}.player-top-bar-icon[data-v-ee5b5d39]{top:10px;left:20px;left:calc(20px + env(safe-area-inset-left));position:absolute}.player-bottom-bar[data-v-ee5b5d39]{height:75px;padding:0 25px;padding-left:calc(25px + env(safe-area-inset-left));background-color:rgba(0,0,0,.4);justify-content:flex-start;align-items:center;gap:8px;transition:transform .3s ease-in-out;display:flex;position:absolute;bottom:0;left:0;right:0;overflow-x:auto;transform:translateY(100%)}.player-bottom-bar.is-show[data-v-ee5b5d39]{transform:translateY(0)}.player-bottom-bar-slide[data-v-ee5b5d39]{border:.5px solid var(--Separators-S1);border-radius:4px;flex-shrink:0}.player-bottom-bar-slide.is-active[data-v-ee5b5d39]{outline:2px solid var(--Colors-KMBlue);outline-offset:2px}.hybrid-player[data-v-2a476c11]{background-color:#000;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.mobile-loading[data-v-c1193748]{z-index:300;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.mobile-loading-content[data-v-c1193748]{box-sizing:border-box;background-color:var(--MaskBg-ToastPC);min-width:82px;min-height:72px;color:var(--Always-White);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:14px;line-height:20px;display:flex}.mobile-loading-content[data-v-c1193748] .loading{color:var(--Always-White)}.preview-container[data-v-6f9cecd5]{background-color:var(--Bg-Primary);flex-direction:column;width:100vw;height:100vh;display:flex;overflow:hidden}.preview-title[data-v-6f9cecd5]{color:var(--Labels-Primary);text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;padding:16px 48px 12px 16px;font-size:16px;font-weight:500;line-height:24px;overflow:hidden}.hybrid-preview[data-v-6f9cecd5]{box-sizing:border-box;flex:1;width:100%;padding:0 16px;overflow:auto}.hybrid-preview.is-loading-segment[data-v-6f9cecd5]{justify-content:center;align-items:center;display:flex}.slides-list[data-v-6f9cecd5]{flex-direction:column;padding-top:16px;padding-bottom:12px;display:flex}.slides-list-item[data-v-6f9cecd5]{border:.5px solid var(--Separators-S1);background-color:var(--Bg-Primary);box-sizing:border-box;border-radius:8px;margin-bottom:12px;overflow:hidden}.preview-loading[data-v-6f9cecd5],.preview-error[data-v-6f9cecd5]{color:var(--Labels-Tertiary);justify-content:center;align-items:center;gap:8px;font-size:14px;line-height:20px;display:flex}.preview-action[data-v-6f9cecd5]{background-color:var(--Bg-Primary);padding:16px 20px;padding-bottom:calc(env(safe-area-inset-bottom) + 16px);flex-shrink:0;justify-content:center;align-items:center;gap:12px;display:flex}.preview-action>button[data-v-6f9cecd5]{flex:1;height:48px;font-size:16px} diff --git a/editor/neo-ppt/assets/Mobile-legacy-CWS2kLEi.js b/editor/neo-ppt/assets/Mobile-legacy-CWS2kLEi.js new file mode 100644 index 0000000..a548653 --- /dev/null +++ b/editor/neo-ppt/assets/Mobile-legacy-CWS2kLEi.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./kimi-legacy-KFfRFtSB.js","./useMessage-legacy-BwPIj8SG.js","./index-legacy-Ce-qKpT_.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./Loading-legacy-B5EqNNsc.js","./usePPTDTitle-legacy-BtadEyXI.js"],function(e,t){var a,i,o,l,n,r,s,d,c,p,u,g,f,h,H,v,w,y,m,x,b,V,k,M,_,Z,S,P,T,C,j,I,z,D,W,A,L,U,G,O,E,B,$,F,Y,R,N,q,K,J,X,Q,ee,te,ae,ie,oe,le,ne,re,se,de,ce,pe,ue,ge,fe,he,He,ve,we;return{setters:[function(e){a=e.At,i=e.B,o=e.G,l=e.H,n=e.J,r=e.K,s=e.Mt,d=e.Nt,c=e.Tt,p=e.U,u=e.W,g=e.Y,f=e.Z,h=e._,H=e.at,v=e.bt,w=e.ct,y=e.it,m=e.k,x=e.kt,b=e.ot,V=e.p,k=e.ut,M=e.v,_=e.vt,Z=e.x},function(e){S=e.f,P=e.l,T=e.p},function(e){C=e.t},function(e){j=e.a},function(e){I=e.d,z=e.o,D=e.p,W=e.u},function(e){A=e.L,L=e.V,U=e.a,G=e.c,O=e.d,E=e.f,B=e.h,$=e.l,F=e.m,Y=e.n,R=e.p,N=e.v},function(e){q=e.K,K=e.d,J=e.ot,X=e.q,Q=e.t},function(e){ee=e.t},function(e){te=e.t},function(e){ae=e.t}],execute:function(){(ie=document.createElement("style")).textContent=".touch-mask[data-v-ee5b5d39]{flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.touch-mask-guide[data-v-ee5b5d39]{opacity:0;background-color:rgba(0,0,0,.6);display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.touch-mask-guide-show[data-v-ee5b5d39]{opacity:1}.touch-mask-guide-item[data-v-ee5b5d39]{color:#fff;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;font-size:14px;line-height:20px;display:flex}.touch-mask-guide-item p[data-v-ee5b5d39]{margin:0}.touch-mask-guide-item[data-v-ee5b5d39]:after{content:\"\";background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='70'%20height='70'%20fill='none'%3e%3crect%20width='57'%20height='22'%20fill='url(%23a)'%20fill-opacity='.4'%20rx='11'%20transform='matrix(-1%200%200%201%2070%202)'/%3e%3ccircle%20cx='24.0676'%20cy='13'%20r='10'%20stroke='%23fff'%20stroke-width='2'/%3e%3cpath%20fill='url(%23b)'%20d='M40.8263%2058.4421c4.8765-3.4722%207.1585-10.6812%207.2252-16.3802.0453-3.8765-.887-10.4004-1.4879-14.1763-.2784-1.7488-1.7008-3.0748-3.4612-3.2667-1.947-.2121-3.6549%201.2956-3.6858%203.2539l-.0801%205.071-1.7726-2.4894-11.069-15.5453c-1.1935-1.6761-3.5228-2.0651-5.2027-.8689-1.6799%201.1961-2.0743%203.5246-.8808%205.2007l6.8543%209.6261c-1.1935-1.6761-3.5229-2.0651-5.2027-.869-1.6799%201.1962-2.0743%203.5247-.8808%205.2008l1.496%202.101c-1.1934-1.6761-3.479-3.1069-5.7013-1.5693-2.2224%201.5375-1.5756%204.225-.3821%205.9011l1.9593%202.7517c-1.1934-1.6761-3.1806-2.6456-5.1452-1.2468-1.9645%201.3989-2.1317%203.9025-.9382%205.5785l6.4162%209.0109c1.7467%202.4532%203.8641%203.7821%207.015%204.8997%205.4921%201.948%2010.2999%201.1095%2014.9244-2.1835Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='46.9412'%20x2='9.0529'%20y1='11'%20y2='11'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='27.0224'%20x2='43.8434'%20y1='32.6706'%20y2='56.2938'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e\") 50%/100% 100% no-repeat;width:70px;height:70px;margin-top:14px;display:block}.touch-mask-guide-item[data-v-ee5b5d39]:nth-child(2){border-style:solid;border-width:0 1px;border-image-source:url(\"data:image/svg+xml,%3csvg%20width='2'%20height='371'%20viewBox='0%200%202%20371'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%200H0.5V2.0163H1H1.5V0H1ZM1%206.04891H0.5V10.0815H1H1.5V6.04891H1ZM1%2014.1141H0.5V18.1467H1H1.5V14.1141H1ZM1%2022.1793H0.5V26.212H1H1.5V22.1793H1ZM1%2030.2446H0.5V34.2772H1H1.5V30.2446H1ZM1%2038.3098H0.5V42.3424H1H1.5V38.3098H1ZM1%2046.375H0.5V50.4076H1H1.5V46.375H1ZM1%2054.4402H0.5V58.4728H1H1.5V54.4402H1ZM1%2062.5054H0.5V66.538H1H1.5V62.5054H1ZM1%2070.5706H0.5V74.6033H1H1.5V70.5706H1ZM1%2078.6359H0.5V82.6685H1H1.5V78.6359H1ZM1%2086.7011H0.5V90.7337H1H1.5V86.7011H1ZM1%2094.7663H0.5V98.7989H1H1.5V94.7663H1ZM1%20102.832H0.5V106.864H1H1.5V102.832H1ZM1%20110.897H0.5V114.929H1H1.5V110.897H1ZM1%20118.962H0.5V122.995H1H1.5V118.962H1ZM1%20127.027H0.5V131.06H1H1.5V127.027H1ZM1%20135.092H0.5V139.125H1H1.5V135.092H1ZM1%20143.158H0.5V147.19H1H1.5V143.158H1ZM1%20151.223H0.5V155.255H1H1.5V151.223H1ZM1%20159.288H0.5V163.321H1H1.5V159.288H1ZM1%20167.353H0.5V171.386H1H1.5V167.353H1ZM1%20175.418H0.5V179.451H1H1.5V175.418H1ZM1%20183.484H0.5V187.516H1H1.5V183.484H1ZM1%20191.549H0.5V195.581H1H1.5V191.549H1ZM1%20199.614H0.5V203.647H1H1.5V199.614H1ZM1%20207.679H0.5V211.712H1H1.5V207.679H1ZM1%20215.745H0.5V219.777H1H1.5V215.745H1ZM1%20223.81H0.5V227.842H1H1.5V223.81H1ZM1%20231.875H0.5V235.908H1H1.5V231.875H1ZM1%20239.94H0.5V243.973H1H1.5V239.94H1ZM1%20248.005H0.5V252.038H1H1.5V248.005H1ZM1%20256.071H0.5V260.103H1H1.5V256.071H1ZM1%20264.136H0.5V268.168H1H1.5V264.136H1ZM1%20272.201H0.5V276.234H1H1.5V272.201H1ZM1%20280.266H0.5V284.299H1H1.5V280.266H1ZM1%20288.332H0.5V292.364H1H1.5V288.332H1ZM1%20296.397H0.5V300.429H1H1.5V296.397H1ZM1%20304.462H0.5V308.495H1H1.5V304.462H1ZM1%20312.527H0.5V316.56H1H1.5V312.527H1ZM1%20320.593H0.5V324.625H1H1.5V320.593H1ZM1%20328.658H0.5V332.69H1H1.5V328.658H1ZM1%20336.723H0.5V340.756H1H1.5V336.723H1ZM1%20344.788H0.5V348.821H1H1.5V344.788H1ZM1%20352.854H0.5V356.886H1H1.5V352.854H1ZM1%20360.919H0.5V364.951H1H1.5V360.919H1ZM1%20368.984H0.5V371H1H1.5V368.984H1Z'%20fill='url(%23paint0_linear_0_3)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_3'%20x1='1.5'%20y1='0'%20x2='1.5'%20y2='371'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0'/%3e%3cstop%20offset='0.5'%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e\");border-image-slice:1}.touch-mask-guide-item[data-v-ee5b5d39]:nth-child(2):after{background-image:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='70'%20height='70'%20fill='none'%3e%3ccircle%20cx='33'%20cy='22'%20r='21'%20fill='%23fff'%20fill-opacity='.15'/%3e%3ccircle%20cx='33'%20cy='22'%20r='16'%20fill='%23fff'%20fill-opacity='.25'/%3e%3ccircle%20cx='33'%20cy='22'%20r='10'%20stroke='%23fff'%20stroke-width='2'/%3e%3cpath%20fill='url(%23a)'%20d='M42.7037%2069.6973c-5.9863%200-12.0266-4.5487-15.3866-9.1524-2.2854-3.1315-5.31-8.9866-7.0106-12.4111-.7877-1.5859-.3981-3.4911.9246-4.6685%201.463-1.3022%203.7288-1.0646%204.8898.5127l3.0066%204.0843V25.9229c0-2.0576%201.6719-3.7256%203.7341-3.7256%202.0622%200%203.7341%201.668%203.7341%203.7256v11.817c0-2.0575%201.6718-3.7256%203.734-3.7256s3.7341%201.6681%203.7341%203.7256v2.5793c0-2.0576%201.0319-4.5488%203.734-4.5854%202.7022-.0365%203.7341%202.5278%203.7341%204.5854v3.3781c0-2.0576%201.0564-4%203.4681-4s4%201.9424%204%204v11.0618c0%203.0115-.9539%205.3221-2.8724%208.0601-3.344%204.7724-7.7467%206.8781-13.4239%206.8781Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='39'%20x2='39'%20y1='40.6973'%20y2='69.6973'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e\");margin-top:14px;transform:translateY(-9px)}.touch-mask-guide-item[data-v-ee5b5d39]:nth-child(3):after{transform:scaleX(-1)}.player-top-bar[data-v-ee5b5d39]{background-color:rgba(0,0,0,.4);border-radius:0;width:100vw;height:50px;transition:transform .3s ease-in-out;position:absolute;top:0;left:0;right:0;transform:translateY(-100%)}.player-top-bar.is-show[data-v-ee5b5d39]{transform:translateY(0)}.player-top-bar-icon[data-v-ee5b5d39]{top:10px;left:20px;left:calc(20px + env(safe-area-inset-left));position:absolute}.player-bottom-bar[data-v-ee5b5d39]{height:75px;padding:0 25px;padding-left:calc(25px + env(safe-area-inset-left));background-color:rgba(0,0,0,.4);justify-content:flex-start;align-items:center;gap:8px;transition:transform .3s ease-in-out;display:flex;position:absolute;bottom:0;left:0;right:0;overflow-x:auto;transform:translateY(100%)}.player-bottom-bar.is-show[data-v-ee5b5d39]{transform:translateY(0)}.player-bottom-bar-slide[data-v-ee5b5d39]{border:.5px solid var(--Separators-S1);border-radius:4px;flex-shrink:0}.player-bottom-bar-slide.is-active[data-v-ee5b5d39]{outline:2px solid var(--Colors-KMBlue);outline-offset:2px}.hybrid-player[data-v-2a476c11]{background-color:#000;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.mobile-loading[data-v-c1193748]{z-index:300;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.mobile-loading-content[data-v-c1193748]{box-sizing:border-box;background-color:var(--MaskBg-ToastPC);min-width:82px;min-height:72px;color:var(--Always-White);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:14px;line-height:20px;display:flex}.mobile-loading-content[data-v-c1193748] .loading{color:var(--Always-White)}.preview-container[data-v-6f9cecd5]{background-color:var(--Bg-Primary);flex-direction:column;width:100vw;height:100vh;display:flex;overflow:hidden}.preview-title[data-v-6f9cecd5]{color:var(--Labels-Primary);text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;padding:16px 48px 12px 16px;font-size:16px;font-weight:500;line-height:24px;overflow:hidden}.hybrid-preview[data-v-6f9cecd5]{box-sizing:border-box;flex:1;width:100%;padding:0 16px;overflow:auto}.hybrid-preview.is-loading-segment[data-v-6f9cecd5]{justify-content:center;align-items:center;display:flex}.slides-list[data-v-6f9cecd5]{flex-direction:column;padding-top:16px;padding-bottom:12px;display:flex}.slides-list-item[data-v-6f9cecd5]{border:.5px solid var(--Separators-S1);background-color:var(--Bg-Primary);box-sizing:border-box;border-radius:8px;margin-bottom:12px;overflow:hidden}.preview-loading[data-v-6f9cecd5],.preview-error[data-v-6f9cecd5]{color:var(--Labels-Tertiary);justify-content:center;align-items:center;gap:8px;font-size:14px;line-height:20px;display:flex}.preview-action[data-v-6f9cecd5]{background-color:var(--Bg-Primary);padding:16px 20px;padding-bottom:calc(env(safe-area-inset-bottom) + 16px);flex-shrink:0;justify-content:center;align-items:center;gap:12px;display:flex}.preview-action>button[data-v-6f9cecd5]{flex:1;height:48px;font-size:16px}\n/*$vite$:1*/",document.head.appendChild(ie),oe=e=>e?.replace(/^sandbox:\/\//,""),le=e=>{const t=oe(e);if(!t)return;const a=t.lastIndexOf("/");return a>=0?t.substring(0,a+1):void 0},ne=L(()=>{const e=m(),{t:t}=A(),a=$(j),{getPPTDData:i,getPPTDIsCreate:o,importFSJSON:n,updateSlidesMetaData:r,setLastModified:s,meta:d,pages:p,pageOrder:u,pageSize:g}=J(),{isCreate:f}=X(),{syncSlidesSummary:v}=z(),{setBatchGetImages:w,setImageConfig:y}=q(),{exporting:x,exportPPTXBlob:V}=W(),k=c(!0),M=c(!1),_=c(!1),C=c(0),L=c(0),N=c(0),K=c(0),Q=h("hybrid_has_showed_guide",!1),ee=Z(!1,3e3),te=t=>{const a=e.query[t];return(Array.isArray(a)?a[0]:a)??void 0},ae=l(()=>te("chat_id")??te("chatId")),ie=l(()=>te("slide_id")??te("slideId")),ne=l(()=>te("segment_id")??te("segmentId")),re=l(()=>void 0!==e.query.share),se=l(()=>Math.max(C.value-32,0)),de=l(()=>d.value.title??""),ce=l(()=>de.value||t("basic.unnamedPresentation")),pe=l(()=>g.value[1]/g.value[0]),ue=l(()=>Math.min(L.value,N.value/pe.value)),ge=l(()=>{const e=u.value[K.value];return e?p.value.get(e):void 0}),fe=l(()=>!Q.value),he=()=>{L.value=window.innerWidth,N.value=window.innerHeight},He=async e=>{if(F())try{return await e()}catch(t){return void Y(t)}},ve=async()=>{_.value=!1,await He(()=>R("switchScreen",{type:"inside"}))},we=e=>{_.value&&ve()},ye=()=>{if(window.webViewId){if(T)return"kimi-ios";if(P)return"kimi-android";if(S)return"kimi-harmony"}return"wap"},me=()=>({mode:I.PPTD,ppt_platform:ye(),is_mobile:!0}),xe=async e=>{const t=new window.FormData,{accessToken:a}=await O(),i={...await G()};t.append("slides_file",e),a&&(i.Authorization=`Bearer ${a}`);const o=await(await fetch("/apiv2/slides:upload",{method:"POST",body:t,headers:i})).json();if(!o.url)throw new Error("upload pptx failed");return o.url};return b(()=>{E("closePage",we),he()}),H(()=>{B("closePage",we)}),{isLoading:k,isError:M,isPlaying:_,exporting:x,screenWidth:C,windowWidth:L,windowHeight:N,currentIndex:K,showAction:ee,isShare:re,meta:d,pages:p,pageOrder:u,pageSize:g,slideWidth:se,displayTitle:de,playerSlideWidth:ue,currentSlide:ge,showGuide:fe,updateScreenWidth:e=>{C.value=e??window.innerWidth},updateWindowSize:he,enterPlay:async()=>{K.value=0,he(),_.value=!0,await He(()=>R("switchScreen",{type:"full"}))},exitPlay:ve,goStep:e=>{const t=K.value+e;t<0||t>=u.value.length||(K.value=t)},goToSlide:e=>{K.value=e},handleGuideClick:e=>{fe.value&&(e.stopPropagation(),e.preventDefault(),Q.value=!0)},handleShowAction:()=>{ee.value=!0},toggleAction:()=>{ee.value=!ee.value},handleExport:async()=>{if(x.value)return;let e=Date.now();x.value=!0,U("msh_nppt_export_start",{...me(),file_type:"pptx"});try{const t=await V({embedFonts:!0,slideTransition:!0});if(e=Date.now(),F())if(T)await R("pptFile",{ppt_tos_url:await xe(t),title:ce.value});else{const{url:e}=await R("getSlideUploadUrl"),a=new window.FormData;a.append("ppt_file",t,encodeURIComponent(`${ce.value}.pptx`)),await fetch(e,{method:"POST",body:a})}else D(t,`${ce.value}.pptx`);U("msh_nppt_export_end",{...me(),is_success:!0,file_type:"pptx",export_duration:Date.now()-e})}catch(t){U("msh_nppt_export_end",{...me(),is_success:!1,error_reason:t instanceof Error?t.message:"unknown error",file_type:"pptx",export_duration:Date.now()-e}),Y(t)}finally{x.value=!1}},loadPPTD:async()=>{if(!ie.value)return f.value=!1,M.value=!0,void(k.value=!1);const e=ie.value,t=Date.now();let l=!1,d=!1;const c=e=>{if(!l||d)return;const a=void 0!==e;d=!0,U("msh_nppt_generate_end",{...me(),is_success:!a,error_reason:a?e instanceof Error?e.message:String(e):void 0,duration:Date.now()-t})};k.value=!0,M.value=!1;try{if(r({slideId:e,chatId:ae.value,messageId:ne.value}),re.value)return f.value=!1,void n(await(async e=>{const t=await a.getSlidesShare({slidesId:e});if(!t.payloadUrl)throw new Error("invalid share");const i=await fetch(t.payloadUrl);if(!i.ok)throw new Error(`failed to fetch share payload: ${i.status}`);return await i.json()})(e));const t=await(async()=>(l=await o(e),i(e)))();f.value=l;const d=[{path:oe(t.pptdPath)??"presentation.pptd",content:t.content},...Object.entries(t.pagesMap).map(([e,t])=>({path:e,content:t}))];y({basePath:le(t.pptdPath)}),s(t.lastModifiedTime),n(d),c(),l&&await v()}catch(p){c(p),Y(p),M.value=!0}finally{k.value=!1}}}}),re=C(f({__name:"MobileTouchMask",setup(e){const{t:t}=A(),o=c(),{pages:l,pageOrder:n,pageSize:s,currentIndex:f,showAction:h,showGuide:H,exitPlay:v,goStep:y,goToSlide:m,handleGuideClick:b,handleShowAction:V,toggleAction:Z}=ne();return M(o,{onSwipeEnd(e,t){H.value||("right"===t?y(-1):"left"===t&&y(1))}}),_(f,e=>{const t=document.getElementById(`slide-${e}`);t&&t.scrollIntoView({behavior:"instant",block:"center"})}),(e,c)=>(w(),r("div",{ref_key:"playMaskRef",ref:o,class:"touch-mask"},[p("div",{class:a(["touch-mask-guide",{"touch-mask-guide-show":x(H)}]),onClickCapture:c[3]||(c[3]=(...e)=>x(b)&&x(b)(...e))},[p("div",{class:"touch-mask-guide-item",onClick:c[0]||(c[0]=e=>x(y)(-1))},[p("p",null,d(x(t)("wap.playPrevLine1")),1),p("p",null,d(x(t)("wap.playPrevLine2")),1)]),p("div",{class:"touch-mask-guide-item",onClick:c[1]||(c[1]=(...e)=>x(Z)&&x(Z)(...e))},[p("p",null,d(x(t)("wap.playMenuLine1")),1),p("p",null,d(x(t)("wap.playMenuLine2")),1)]),p("div",{class:"touch-mask-guide-item",onClick:c[2]||(c[2]=e=>x(y)(1))},[p("p",null,d(x(t)("wap.playNextLine1")),1),p("p",null,d(x(t)("wap.playNextLine2")),1)])],34),p("div",{class:a(["player-top-bar",{"is-show":x(h)}])},[g(x(N),{class:"player-top-bar-icon",name:"Left_b",width:"24",height:"24",color:"white",onClick:x(v)},null,8,["onClick"])],2),p("div",{class:a(["player-bottom-bar",{"is-show":x(h)}]),onTouchmove:c[4]||(c[4]=(...e)=>x(V)&&x(V)(...e)),onClick:c[5]||(c[5]=(...e)=>x(V)&&x(V)(...e))},[(w(!0),r(i,null,k(x(n),(e,t)=>(w(),u(Q,{id:`slide-${t}`,key:e,class:a(["player-bottom-bar-slide",{"is-active":t===x(f)}]),slide:x(l).get(e),"page-width":x(s)[0],"page-height":x(s)[1],style:{width:"100px"},onClick:e=>x(m)(t)},null,8,["id","class","slide","page-width","page-height","onClick"]))),128))],34)],512))}}),[["__scopeId","data-v-ee5b5d39"]]),se={class:"hybrid-player"},de=C(f({__name:"MobilePlayer",setup(e){const{pageOrder:t,pageSize:a,currentSlide:i,playerSlideWidth:l,updateWindowSize:n,goStep:d}=ne();return V(window,"resize",n),V(window,"keydown",e=>{0!==t.value.length&&(["ArrowRight","ArrowDown"].includes(e.key)?d(1):["ArrowLeft","ArrowUp"].includes(e.key)&&d(-1))}),b(()=>{n()}),(e,t)=>(w(),r("div",se,[x(i)?(w(),u(Q,{key:0,slide:x(i),"page-width":x(a)[0],"page-height":x(a)[1],style:s({width:`${x(l)}px`})},null,8,["slide","page-width","page-height","style"])):o("",!0),g(re)]))}}),[["__scopeId","data-v-2a476c11"]]),ce={class:"mobile-loading"},pe={class:"mobile-loading-content"},ue=C(f({__name:"MobileLoading",props:{text:{}},setup:e=>(t,a)=>(w(),r("div",ce,[p("div",pe,[g(te),p("span",null,d(e.text),1)])]))}),[["__scopeId","data-v-c1193748"]]),ge={key:0,class:"preview-title"},fe={key:0,class:"preview-loading"},he={key:1,class:"preview-error"},He={key:2,class:"slides-list"},ve={key:1,class:"preview-action"},we=C(f({__name:"MobilePreview",setup(e){const{t:t}=A(),l=c(),{isLoading:f,isError:h,exporting:H,pages:m,pageOrder:M,pageSize:_,slideWidth:Z,displayTitle:S,isShare:P,updateScreenWidth:T,enterPlay:C,handleExport:j,loadPPTD:I}=ne(),z=()=>{T(l.value?.clientWidth)};return V(window,"resize",z),b(async()=>{z(),await I(),await y(),z()}),(e,c)=>(w(),r("div",{ref_key:"previewRef",ref:l,class:"preview-container"},[x(P)?o("",!0):(w(),r("div",ge,d(x(S)),1)),p("div",{class:a(["hybrid-preview",{"is-loading-segment":x(f)}])},[x(f)?(w(),r("div",fe,[g(te),p("span",null,d(x(t)("wap.loading")),1)])):x(h)?(w(),r("div",he,d(x(t)("common.loadFailedRetry")),1)):(w(),r("div",He,[(w(!0),r(i,null,k(x(M),e=>(w(),u(Q,{key:e,class:"slides-list-item",slide:x(m).get(e),"page-width":x(_)[0],"page-height":x(_)[1],style:s({width:`${x(Z)}px`})},null,8,["slide","page-width","page-height","style"]))),128))]))],2),x(P)||x(f)||x(h)?o("",!0):(w(),r("div",ve,[g(x(ee),{type:"secondary",onClick:x(C)},{default:v(()=>[n(d(x(t)("wap.play")),1)]),_:1},8,["onClick"]),g(x(ee),{loading:x(H),onClick:x(j)},{default:v(()=>[n(d(x(t)("wap.export")),1)]),_:1},8,["loading","onClick"])])),x(H)?(w(),u(ue,{key:2,text:x(t)("wap.exporting")},null,8,["text"])):o("",!0)],512))}}),[["__scopeId","data-v-6f9cecd5"]]),e("default",f({__name:"Mobile",setup(e){K();const{isPlaying:t}=ne(),{meta:a}=J(),{setPPTDTitle:i}=ae();return _(()=>a.value.title,e=>i(e),{immediate:!0}),(e,a)=>x(t)?(w(),u(de,{key:0})):(w(),u(we,{key:1}))}}))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Player-Bww-Hqsc.js b/editor/neo-ppt/assets/Player-Bww-Hqsc.js new file mode 100644 index 0000000..d7f1e83 --- /dev/null +++ b/editor/neo-ppt/assets/Player-Bww-Hqsc.js @@ -0,0 +1 @@ +import{G as e,H as t,K as n,Nt as r,U as i,W as a,Y as o,Z as s,ct as c,kt as l,ot as u,vt as d,z as f}from"./vue-B11_pI9F.js";import{t as p}from"./_plugin-vue_export-helper-B67ILkmu.js";import{r as m,s as h}from"./useMessage-Cpv2N0cC.js";import{I as g,d as _,ot as v,q as y,t as b}from"./ThumbnailSlide-COLdjDXw.js";import{t as x}from"./kimi.button-DiBbOOiZ.js";import{t as S}from"./usePPTDTitle-senR0KSa.js";var C={class:`sdk-player`},w={class:`sdk-player-stage`},T={key:1,class:`sdk-player-controls`},E={class:`page-number`},D=p(s({__name:`Player`,setup(s){let{player:p}=h(),{pages:D,pageOrder:O,pageSize:k,meta:A,currentPageId:j,setCurrentPage:M}=v(),{setEditable:N}=y(),{setPPTDTitle:P}=S();g(`screen`),_(),m();let F=t(()=>j.value??O.value[0]),I=t(()=>{let e=F.value;return e?D.value.get(e):void 0}),L=t(()=>{let e=F.value;return e?O.value.indexOf(e):-1}),R=e=>typeof e==`number`?O.value[Math.max(0,Math.trunc(e)-1)]:e.replace(/\.page$/,``),z=t(()=>O.value.length===0||L.value<0?``:`${L.value+1} / ${O.value.length}`),B=t(()=>L.value>0),V=t(()=>L.value>=0&&L.value{if(!B.value)return;let e=O.value[L.value-1];e&&M(e)},U=()=>{if(!V.value)return;let e=O.value[L.value+1];e&&M(e)};return d(()=>A.value.title,e=>P(e),{immediate:!0}),d(()=>[O.value.join(`|`),p.value.page],()=>{if(p.value.page===void 0||O.value.length===0)return;let e=R(p.value.page);e&&M(e)},{immediate:!0}),u(()=>{N(!1)}),(t,s)=>(c(),n(`div`,C,[i(`div`,w,[I.value?(c(),a(b,{key:0,class:`sdk-player-slide`,slide:I.value,"page-width":l(k)[0],"page-height":l(k)[1]},null,8,[`slide`,`page-width`,`page-height`])):e(``,!0),l(p).controls&&l(O).length?(c(),n(`div`,T,[o(l(x),{type:`icon`,size:`small`,icon:`Left_b`,disabled:!B.value,onClick:f(H,[`stop`])},null,8,[`disabled`]),i(`span`,E,r(z.value),1),o(l(x),{type:`icon`,size:`small`,icon:`Right_b`,disabled:!V.value,onClick:f(U,[`stop`])},null,8,[`disabled`])])):e(``,!0)])]))}}),[[`__scopeId`,`data-v-d393e207`]]);export{D as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Player-CZ5SJTIm.css b/editor/neo-ppt/assets/Player-CZ5SJTIm.css new file mode 100644 index 0000000..60044d9 --- /dev/null +++ b/editor/neo-ppt/assets/Player-CZ5SJTIm.css @@ -0,0 +1 @@ +html,body{background:var(--Bg-Secondary,#f5f5f5);width:100%;height:auto;margin:0;overflow:hidden}#app{background:var(--Bg-Secondary,#f5f5f5);width:100%}.sdk-player[data-v-d393e207]{background:var(--Bg-Secondary,#f5f5f5);width:100vw}.sdk-player-stage[data-v-d393e207]{width:100%;position:relative}.sdk-player-slide[data-v-d393e207]{width:100%}.sdk-player-controls[data-v-d393e207]{z-index:2;backdrop-filter:blur(8px);color:#fff;pointer-events:auto;background:rgba(0,0,0,.4);border-radius:999px;align-items:center;gap:10px;padding:8px 12px;display:inline-flex;position:absolute;bottom:16px;left:50%;right:auto;transform:translate(-50%)}.page-number[data-v-d393e207]{text-align:center;color:#fff;min-width:72px;font-size:12px;line-height:1} diff --git a/editor/neo-ppt/assets/Player-legacy-CbSWmnSv.js b/editor/neo-ppt/assets/Player-legacy-CbSWmnSv.js new file mode 100644 index 0000000..ae7faf4 --- /dev/null +++ b/editor/neo-ppt/assets/Player-legacy-CbSWmnSv.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./useMessage-legacy-BwPIj8SG.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./usePPTDTitle-legacy-BtadEyXI.js"],function(e,a){var t,l,n,i,s,u,d,r,o,c,v,p,g,f,h,y,m,b,k,x,w,_,j,P,z,S,C,T;return{setters:[function(e){t=e.G,l=e.H,n=e.K,i=e.Nt,s=e.U,u=e.W,d=e.Y,r=e.Z,o=e.ct,c=e.kt,v=e.ot,p=e.vt,g=e.z},function(e){f=e.t},function(e){h=e.r,y=e.s},function(e){m=e.I,b=e.d,k=e.ot,x=e.q,w=e.t},function(e){_=e.t},function(e){j=e.t}],execute:function(){(P=document.createElement("style")).textContent="html,body{background:var(--Bg-Secondary,#f5f5f5);width:100%;height:auto;margin:0;overflow:hidden}#app{background:var(--Bg-Secondary,#f5f5f5);width:100%}.sdk-player[data-v-d393e207]{background:var(--Bg-Secondary,#f5f5f5);width:100vw}.sdk-player-stage[data-v-d393e207]{width:100%;position:relative}.sdk-player-slide[data-v-d393e207]{width:100%}.sdk-player-controls[data-v-d393e207]{z-index:2;backdrop-filter:blur(8px);color:#fff;pointer-events:auto;background:rgba(0,0,0,.4);border-radius:999px;align-items:center;gap:10px;padding:8px 12px;display:inline-flex;position:absolute;bottom:16px;left:50%;right:auto;transform:translate(-50%)}.page-number[data-v-d393e207]{text-align:center;color:#fff;min-width:72px;font-size:12px;line-height:1}\n/*$vite$:1*/",document.head.appendChild(P),z={class:"sdk-player"},S={class:"sdk-player-stage"},C={key:1,class:"sdk-player-controls"},T={class:"page-number"},e("default",f(r({__name:"Player",setup(e){const{player:a}=y(),{pages:r,pageOrder:f,pageSize:P,meta:$,currentPageId:B,setCurrentPage:I}=k(),{setEditable:M}=x(),{setPPTDTitle:D}=j();m("screen"),b(),h();const E=l(()=>B.value??f.value[0]),O=l(()=>{const e=E.value;return e?r.value.get(e):void 0}),W=l(()=>{const e=E.value;return e?f.value.indexOf(e):-1}),q=l(()=>0===f.value.length||W.value<0?"":`${W.value+1} / ${f.value.length}`),G=l(()=>W.value>0),H=l(()=>W.value>=0&&W.value{if(!G.value)return;const e=f.value[W.value-1];e&&I(e)},L=()=>{if(!H.value)return;const e=f.value[W.value+1];e&&I(e)};return p(()=>$.value.title,e=>D(e),{immediate:!0}),p(()=>[f.value.join("|"),a.value.page],()=>{if(void 0===a.value.page||0===f.value.length)return;const e="number"==typeof(t=a.value.page)?f.value[Math.max(0,Math.trunc(t)-1)]:t.replace(/\.page$/,"");var t;e&&I(e)},{immediate:!0}),v(()=>{M(!1)}),(e,l)=>(o(),n("div",z,[s("div",S,[O.value?(o(),u(w,{key:0,class:"sdk-player-slide",slide:O.value,"page-width":c(P)[0],"page-height":c(P)[1]},null,8,["slide","page-width","page-height"])):t("",!0),c(a).controls&&c(f).length?(o(),n("div",C,[d(c(_),{type:"icon",size:"small",icon:"Left_b",disabled:!G.value,onClick:g(K,["stop"])},null,8,["disabled"]),s("span",T,i(q.value),1),d(c(_),{type:"icon",size:"small",icon:"Right_b",disabled:!H.value,onClick:g(L,["stop"])},null,8,["disabled"])])):t("",!0)])]))}}),[["__scopeId","data-v-d393e207"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/PopoverMenu-CwiC6AzW.css b/editor/neo-ppt/assets/PopoverMenu-CwiC6AzW.css new file mode 100644 index 0000000..f66744e --- /dev/null +++ b/editor/neo-ppt/assets/PopoverMenu-CwiC6AzW.css @@ -0,0 +1 @@ +.popover-menu[data-v-2856486f]{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;height:28px;display:inline-flex;position:relative}.popover-menu-trigger[data-v-2856486f]{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.popover-menu[data-v-2856486f]:not(.disabled):hover{background-color:var(--Fills-F1)}.popover-menu.disabled[data-v-2856486f]{cursor:not-allowed;opacity:.5}.popover-menu.disabled[data-v-2856486f]:hover{background-color:transparent}.popover-menu-caret[data-v-2856486f]{width:16px;color:var(--Labels-Tertiary)}.popover-menu-content[data-v-2856486f]{top:var(--menu-top-margin,28px);bottom:var(--menu-bottom-margin,auto);background-color:var(--Bg-Tertiary);white-space:nowrap;z-index:1;border-radius:12px;position:absolute;left:50%;overflow:hidden;transform:translate(-50%,20px);box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.popover-menu-content.is-floating[data-v-2856486f]{z-index:auto;position:static;top:auto;bottom:auto;left:auto;transform:none} diff --git a/editor/neo-ppt/assets/PopoverMenu-D6aS9gI3.js b/editor/neo-ppt/assets/PopoverMenu-D6aS9gI3.js new file mode 100644 index 0000000..5fbce80 --- /dev/null +++ b/editor/neo-ppt/assets/PopoverMenu-D6aS9gI3.js @@ -0,0 +1 @@ +import{At as e,G as t,H as n,K as r,Tt as i,U as a,W as o,Y as s,Z as c,bt as l,ct as u,dt as d,kt as f,n as p,vt as m,xt as h,z as g}from"./vue-B11_pI9F.js";import{t as _}from"./_plugin-vue_export-helper-B67ILkmu.js";import{v}from"./index-jtNAhQeK.js";import{r as y}from"./dom-CWEl93tC.js";import{n as b,t as x}from"./menuExclusive-DWJqMbvd.js";var S=_(c({__name:`PopoverMenu`,props:{tooltip:{},tooltipPlacement:{},hideCaret:{type:Boolean},floatOptions:{},disabled:{type:Boolean},contentClass:{},contentClickCloses:{type:Boolean,default:!0}},emits:[`update:open`],setup(c,{expose:_,emit:S}){let C=c,w=S,T=i(!1),E=i(),D=n(()=>C.floatOptions?.teleport??!1),{notifyOpen:O}=x(()=>{T.value=!1}),k=()=>{D.value||(T.value=!1)},A=()=>{C.disabled||(T.value=!T.value)},j=()=>{C.contentClickCloses&&A()};return m(()=>C.disabled,e=>{e&&(T.value=!1)}),m(T,e=>{e&&O(),w(`update:open`,e)}),_({close:()=>{T.value=!1}}),(n,i)=>h((u(),r(`div`,{class:e([`popover-menu`,{disabled:c.disabled}]),onClick:g(A,[`stop`])},[s(f(y),{content:c.tooltip,disabled:!c.tooltip,placement:c.tooltipPlacement},{trigger:l(()=>[a(`div`,{ref_key:`triggerRef`,ref:E,class:`popover-menu-trigger`},[d(n.$slots,`trigger`,{popoverVisible:T.value},void 0,!0),c.hideCaret?t(``,!0):(u(),o(f(v),{key:0,class:`popover-menu-caret`,name:`Down_b`,width:`12`,height:`12`}))],512)]),_:3},8,[`content`,`disabled`,`placement`]),s(b,{open:T.value,"onUpdate:open":i[0]||(i[0]=e=>T.value=e),"trigger-el":E.value,options:c.floatOptions},{default:l(()=>[a(`div`,{class:e([`popover-menu-content auto-rtl`,[{"is-floating":D.value},c.contentClass]]),onClick:g(j,[`stop`])},[d(n.$slots,`popover`,{},void 0,!0)],2)]),_:3},8,[`open`,`trigger-el`,`options`])],2)),[[f(p),k]])}}),[[`__scopeId`,`data-v-2856486f`]]);export{S as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/PopoverMenu-legacy-CeHE3aHd.js b/editor/neo-ppt/assets/PopoverMenu-legacy-CeHE3aHd.js new file mode 100644 index 0000000..7de3aa1 --- /dev/null +++ b/editor/neo-ppt/assets/PopoverMenu-legacy-CeHE3aHd.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./dom-legacy-D-syBzLK.js","./menuExclusive-legacy-CBHfJWDM.js"],function(e,t){var o,n,a,i,r,l,p,s,d,u,c,v,m,f,g,b,x,y,h,C,k,_,w,j;return{setters:[function(e){o=e.At,n=e.G,a=e.H,i=e.K,r=e.Tt,l=e.U,p=e.W,s=e.Y,d=e.Z,u=e.bt,c=e.ct,v=e.dt,m=e.kt,f=e.n,g=e.vt,b=e.xt,x=e.z},function(e){y=e.t},function(e){h=e.v},function(e){C=e.r},function(e){k=e.n,_=e.t}],execute:function(){(w=document.createElement("style")).textContent=".popover-menu[data-v-2856486f]{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;height:28px;display:inline-flex;position:relative}.popover-menu-trigger[data-v-2856486f]{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.popover-menu[data-v-2856486f]:not(.disabled):hover{background-color:var(--Fills-F1)}.popover-menu.disabled[data-v-2856486f]{cursor:not-allowed;opacity:.5}.popover-menu.disabled[data-v-2856486f]:hover{background-color:transparent}.popover-menu-caret[data-v-2856486f]{width:16px;color:var(--Labels-Tertiary)}.popover-menu-content[data-v-2856486f]{top:var(--menu-top-margin,28px);bottom:var(--menu-bottom-margin,auto);background-color:var(--Bg-Tertiary);white-space:nowrap;z-index:1;border-radius:12px;position:absolute;left:50%;overflow:hidden;transform:translate(-50%,20px);box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.popover-menu-content.is-floating[data-v-2856486f]{z-index:auto;position:static;top:auto;bottom:auto;left:auto;transform:none}\n/*$vite$:1*/",document.head.appendChild(w),j=d({__name:"PopoverMenu",props:{tooltip:{},tooltipPlacement:{},hideCaret:{type:Boolean},floatOptions:{},disabled:{type:Boolean},contentClass:{},contentClickCloses:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{expose:t,emit:d}){const y=e,w=d,j=r(!1),B=r(),O=a(()=>y.floatOptions?.teleport??!1),{notifyOpen:$}=_(()=>{j.value=!1}),z=()=>{O.value||(j.value=!1)},E=()=>{y.disabled||(j.value=!j.value)},P=()=>{y.contentClickCloses&&E()};return g(()=>y.disabled,e=>{e&&(j.value=!1)}),g(j,e=>{e&&$(),w("update:open",e)}),t({close:()=>{j.value=!1}}),(t,a)=>b((c(),i("div",{class:o(["popover-menu",{disabled:e.disabled}]),onClick:x(E,["stop"])},[s(m(C),{content:e.tooltip,disabled:!e.tooltip,placement:e.tooltipPlacement},{trigger:u(()=>[l("div",{ref_key:"triggerRef",ref:B,class:"popover-menu-trigger"},[v(t.$slots,"trigger",{popoverVisible:j.value},void 0,!0),e.hideCaret?n("",!0):(c(),p(m(h),{key:0,class:"popover-menu-caret",name:"Down_b",width:"12",height:"12"}))],512)]),_:3},8,["content","disabled","placement"]),s(k,{open:j.value,"onUpdate:open":a[0]||(a[0]=e=>j.value=e),"trigger-el":B.value,options:e.floatOptions},{default:u(()=>[l("div",{class:o(["popover-menu-content auto-rtl",[{"is-floating":O.value},e.contentClass]]),onClick:x(P,["stop"])},[v(t.$slots,"popover",{},void 0,!0)],2)]),_:3},8,["open","trigger-el","options"])],2)),[[m(f),z]])}}),e("t",y(j,[["__scopeId","data-v-2856486f"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Presenter-BPEJLQpU.js b/editor/neo-ppt/assets/Presenter-BPEJLQpU.js new file mode 100644 index 0000000..50e8bfe --- /dev/null +++ b/editor/neo-ppt/assets/Presenter-BPEJLQpU.js @@ -0,0 +1 @@ +import{H as e,J as t,K as n,Nt as r,Tt as i,U as a,W as o,Y as ee,Z as s,at as c,ct as l,k as u,kt as d,ot as f,vt as p}from"./vue-B11_pI9F.js";import{t as m}from"./_plugin-vue_export-helper-B67ILkmu.js";import{B as h,I as te,L as g,v as _}from"./index-jtNAhQeK.js";import{ot as v}from"./ThumbnailSlide-COLdjDXw.js";import{i as y,t as b}from"./Screen-e_2r2R5P.js";import{t as x}from"./usePPTDTitle-senR0KSa.js";var S={key:1,class:`presenter-page`},C={class:`presenter-panel`},w=[`disabled`],T={class:`presenter-start-icon`},E=m(s({__name:`Presenter`,setup(s){let m=u(),{t:E}=g(),{restorePPTD:D,setCurrentPage:O,meta:ne,pageOrder:k}=v(),{setPPTDTitle:re}=x(),A=i(!1),j=i(!1),M=i(!1),N=i(),P=i(0),F=null,I=null,L=e(()=>{let e=m.query.sessionId;return typeof e==`string`?e:``}),R=e(()=>!!L.value&&!!window.opener),z=()=>navigator.presentation?.receiver,B=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{return null}return typeof e==`object`&&e?e:null},V=()=>h(m.query.lang)??h(m.query.locale)??null;(()=>{let e=V();e&&te(e)})(),p(()=>ne.value.title,e=>re(e),{immediate:!0});let H=e=>{if(I){try{I.send(JSON.stringify(e))}catch{}return}window.opener?.postMessage(e,window.location.origin)},U=()=>{F&&(clearTimeout(F),F=null)},W=()=>{L.value&&(window.opener||I)&&H({type:`connect-failed`,source:`presenter`,sessionId:L.value}),window.close()},G=e=>{let t=k.value.includes(e.pageId)?e.pageId:k.value[e.index];if(!t)return;let n=k.value.indexOf(t);N.value=t,P.value=n===-1?0:n,O(t)},K=e=>{let t=N.value,n=P.value;D(e),A.value=!0;let r=Math.min(n,k.value.length-1),i=t&&k.value.includes(t)?t:k.value[r];if(!i){N.value=void 0,P.value=0;return}let a=k.value.indexOf(i);N.value=i,P.value=a===-1?0:a,O(i)},q=e=>{if(!(!L.value||e.sessionId!==L.value)&&e.source===`editor`)switch(e.type){case`snapshot`:U(),D(e.pptd),A.value=!0,G(e.page),M.value&&(j.value=!0);break;case`content-sync`:K(e.pptd);break;case`page-change`:G(e.page);break;case`close`:j.value=!1,window.close();break}},J=e=>{e.origin===window.location.origin&&(window.opener&&e.source!==window.opener||q(e.data))},Y=()=>{window.addEventListener(`message`,J),H({type:`presenter-ready`,source:`presenter`,sessionId:L.value}),F=setTimeout(()=>{A.value||W()},3e3)},X=e=>{let t=B(e.data);t&&q(t)},Z=()=>{window.close()},Q=e=>{I=e,M.value=!0,I.addEventListener(`message`,X),I.addEventListener(`close`,Z),I.addEventListener(`terminate`,Z),H({type:`presenter-ready`,source:`presenter`,sessionId:L.value}),F=setTimeout(()=>{A.value||W()},3e3)},ie=async()=>{let e=z();if(!e)return!1;let t=await e.connectionList,n=t.connections[0];return n?(Q(n),!0):new Promise(e=>{let n=setTimeout(()=>{t.removeEventListener(`connectionavailable`,r),e(!1)},3e3),r=i=>{clearTimeout(n),t.removeEventListener(`connectionavailable`,r),Q(i.connection),e(!0)};t.addEventListener(`connectionavailable`,r)})},ae=async()=>{if(R.value){Y();return}await ie()||W()},oe=async()=>{if(!A.value)return;let e=k.value[0];e&&$({pageId:e,index:0});try{await y()}catch{}j.value=!0},$=e=>{L.value&&(G(e),H({type:`page-change`,source:`presenter`,sessionId:L.value,page:e}))},se=()=>{L.value&&H({type:`close`,source:`presenter`,sessionId:L.value});try{I?.close()}catch{}window.close()},ce=()=>{if(M.value){se();return}j.value=!1};return f(ae),c(()=>{window.removeEventListener(`message`,J),U(),L.value&&H({type:`close`,source:`presenter`,sessionId:L.value}),I&&(I.removeEventListener(`message`,X),I.removeEventListener(`close`,Z),I.removeEventListener(`terminate`,Z),I=null)}),(e,i)=>j.value&&A.value?(l(),o(b,{key:0,"start-index":P.value,"current-page-id":N.value,"auto-fullscreen":!1,onPageChange:$,onExit:ce},null,8,[`start-index`,`current-page-id`])):(l(),n(`div`,S,[a(`div`,C,[a(`button`,{type:`button`,class:`presenter-start-button`,disabled:!A.value,onClick:oe},[a(`span`,T,[ee(d(_),{name:`Play`,height:24})]),t(` `+r(d(E)(`presenter.start`)),1)],8,w)])]))}}),[[`__scopeId`,`data-v-65fc3c19`]]);export{E as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Presenter-DqFMqITV.css b/editor/neo-ppt/assets/Presenter-DqFMqITV.css new file mode 100644 index 0000000..2c63d34 --- /dev/null +++ b/editor/neo-ppt/assets/Presenter-DqFMqITV.css @@ -0,0 +1 @@ +.presenter-page[data-v-65fc3c19]{background:var(--Bg-Secondary);width:100vw;height:100vh;color:var(--Labels-Primary);justify-content:center;align-items:center;display:flex}.presenter-panel[data-v-65fc3c19]{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:100%;height:100%;display:flex}.presenter-start-button[data-v-65fc3c19]{background:var(--Labels-Secondary);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;padding:0 28px;font-size:18px;font-weight:600;line-height:24px;transition:background-color .18s,opacity .18s,transform .18s;display:inline-flex}.presenter-start-button[data-v-65fc3c19]:hover:not(:disabled){background:var(--Labels-Primary)}.presenter-start-button[data-v-65fc3c19]:disabled{opacity:.45;cursor:not-allowed}.presenter-start-icon[data-v-65fc3c19]{justify-content:center;align-items:center;display:flex} diff --git a/editor/neo-ppt/assets/Presenter-legacy-B8Wyep6G.js b/editor/neo-ppt/assets/Presenter-legacy-B8Wyep6G.js new file mode 100644 index 0000000..4d62853 --- /dev/null +++ b/editor/neo-ppt/assets/Presenter-legacy-B8Wyep6G.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./ThumbnailSlide-legacy-CSXTq44l.js","./Screen-legacy-BPLZWaTX.js","./usePPTDTitle-legacy-BtadEyXI.js"],function(e,t){var n,a,r,s,o,i,l,c,u,d,v,p,g,y,f,m,w,h,b,x,L,E,I,P,k,T,j,S,_;return{setters:[function(e){n=e.H,a=e.J,r=e.K,s=e.Nt,o=e.Tt,i=e.U,l=e.W,c=e.Y,u=e.Z,d=e.at,v=e.ct,p=e.k,g=e.kt,y=e.ot,f=e.vt},function(e){m=e.t},function(e){w=e.B,h=e.I,b=e.L,x=e.v},function(e){L=e.ot},function(e){E=e.i,I=e.t},function(e){P=e.t}],execute:function(){(k=document.createElement("style")).textContent=".presenter-page[data-v-65fc3c19]{background:var(--Bg-Secondary);width:100vw;height:100vh;color:var(--Labels-Primary);justify-content:center;align-items:center;display:flex}.presenter-panel[data-v-65fc3c19]{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:100%;height:100%;display:flex}.presenter-start-button[data-v-65fc3c19]{background:var(--Labels-Secondary);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;padding:0 28px;font-size:18px;font-weight:600;line-height:24px;transition:background-color .18s,opacity .18s,transform .18s;display:inline-flex}.presenter-start-button[data-v-65fc3c19]:hover:not(:disabled){background:var(--Labels-Primary)}.presenter-start-button[data-v-65fc3c19]:disabled{opacity:.45;cursor:not-allowed}.presenter-start-icon[data-v-65fc3c19]{justify-content:center;align-items:center;display:flex}\n/*$vite$:1*/",document.head.appendChild(k),T={key:1,class:"presenter-page"},j={class:"presenter-panel"},S=["disabled"],_={class:"presenter-start-icon"},e("default",m(u({__name:"Presenter",setup(e){const t=p(),{t:u}=b(),{restorePPTD:m,setCurrentPage:k,meta:C,pageOrder:O}=L(),{setPPTDTitle:q}=P(),D=o(!1),J=o(!1),N=o(!1),z=o(),B=o(0);let M=null,W=null;const $=n(()=>{const e=t.query.sessionId;return"string"==typeof e?e:""}),H=n(()=>!!$.value&&!!window.opener);(()=>{const e=w(t.query.lang)??w(t.query.locale)??null;e&&h(e)})(),f(()=>C.value.title,e=>q(e),{immediate:!0});const K=e=>{if(W)try{W.send(JSON.stringify(e))}catch{}else window.opener?.postMessage(e,window.location.origin)},U=()=>{M&&(clearTimeout(M),M=null)},V=()=>{$.value&&(window.opener||W)&&K({type:"connect-failed",source:"presenter",sessionId:$.value}),window.close()},Y=e=>{const t=O.value.includes(e.pageId)?e.pageId:O.value[e.index];if(!t)return;const n=O.value.indexOf(t);z.value=t,B.value=-1===n?0:n,k(t)},Z=e=>{if($.value&&e.sessionId===$.value&&"editor"===e.source)switch(e.type){case"snapshot":U(),m(e.pptd),D.value=!0,Y(e.page),N.value&&(J.value=!0);break;case"content-sync":(e=>{const t=z.value,n=B.value;m(e),D.value=!0;const a=Math.min(n,O.value.length-1),r=t&&O.value.includes(t)?t:O.value[a];if(!r)return z.value=void 0,void(B.value=0);const s=O.value.indexOf(r);z.value=r,B.value=-1===s?0:s,k(r)})(e.pptd);break;case"page-change":Y(e.page);break;case"close":J.value=!1,window.close()}},A=e=>{e.origin===window.location.origin&&(window.opener&&e.source!==window.opener||Z(e.data))},F=e=>{const t=(e=>{if("string"==typeof e)try{return JSON.parse(e)}catch{return null}return"object"==typeof e&&null!==e?e:null})(e.data);t&&Z(t)},G=()=>{window.close()},Q=e=>{W=e,N.value=!0,W.addEventListener("message",F),W.addEventListener("close",G),W.addEventListener("terminate",G),K({type:"presenter-ready",source:"presenter",sessionId:$.value}),M=setTimeout(()=>{D.value||V()},3e3)},R=async()=>{const e=navigator.presentation?.receiver;if(!e)return!1;const t=await e.connectionList,n=t.connections[0];return n?(Q(n),!0):new Promise(e=>{const n=setTimeout(()=>{t.removeEventListener("connectionavailable",a),e(!1)},3e3),a=r=>{clearTimeout(n),t.removeEventListener("connectionavailable",a),Q(r.connection),e(!0)};t.addEventListener("connectionavailable",a)})},X=async()=>{if(!D.value)return;const e=O.value[0];e&&ee({pageId:e,index:0});try{await E()}catch{}J.value=!0},ee=e=>{$.value&&(Y(e),K({type:"page-change",source:"presenter",sessionId:$.value,page:e}))},te=()=>{N.value?(()=>{$.value&&K({type:"close",source:"presenter",sessionId:$.value});try{W?.close()}catch{}window.close()})():J.value=!1};return y(async()=>{if(H.value)return window.addEventListener("message",A),K({type:"presenter-ready",source:"presenter",sessionId:$.value}),void(M=setTimeout(()=>{D.value||V()},3e3));await R()||V()}),d(()=>{window.removeEventListener("message",A),U(),$.value&&K({type:"close",source:"presenter",sessionId:$.value}),W&&(W.removeEventListener("message",F),W.removeEventListener("close",G),W.removeEventListener("terminate",G),W=null)}),(e,t)=>J.value&&D.value?(v(),l(I,{key:0,"start-index":B.value,"current-page-id":z.value,"auto-fullscreen":!1,onPageChange:ee,onExit:te},null,8,["start-index","current-page-id"])):(v(),r("div",T,[i("div",j,[i("button",{type:"button",class:"presenter-start-button",disabled:!D.value,onClick:X},[i("span",_,[c(g(x),{name:"Play",height:24})]),a(" "+s(g(u)("presenter.start")),1)],8,S)])]))}}),[["__scopeId","data-v-65fc3c19"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Preview-BAHV0lEy.js b/editor/neo-ppt/assets/Preview-BAHV0lEy.js new file mode 100644 index 0000000..3fe4e8f --- /dev/null +++ b/editor/neo-ppt/assets/Preview-BAHV0lEy.js @@ -0,0 +1 @@ +import{At as e,B as t,H as n,K as r,Mt as i,U as a,W as o,Z as s,ct as c,kt as l,ot as u,ut as d,vt as f}from"./vue-B11_pI9F.js";import{t as p}from"./_plugin-vue_export-helper-B67ILkmu.js";import{r as m,s as h}from"./useMessage-Cpv2N0cC.js";import{d as g,ot as _,q as v,t as y}from"./ThumbnailSlide-COLdjDXw.js";import{t as b}from"./usePPTDTitle-senR0KSa.js";var x={class:`sdk-preview`},S=p(s({__name:`Preview`,setup(s){g(),m();let{pages:p,pageOrder:S,pageSize:C,meta:w,currentPageId:T,setCurrentPage:E}=_(),{setEditable:D}=v(),{setPPTDTitle:O}=b(),{preview:k}=h(),A=n(()=>({"--preview-page-margin":k.value.margin,gridTemplateColumns:`repeat(${k.value.col}, minmax(0, 1fr))`}));function j(e){E(e)}return f(()=>w.value.title,e=>O(e),{immediate:!0}),u(()=>{D(!1)}),(n,s)=>(c(),r(`div`,x,[a(`div`,{class:`sdk-preview-pages`,style:i(A.value)},[(c(!0),r(t,null,d(l(S),(t,n)=>(c(),o(y,{key:t,class:e([`sdk-preview-page`,{current:l(T)===t}]),"data-preview-page-id":t,"data-preview-page-index":n,slide:l(p).get(t),"page-width":l(C)[0],"page-height":l(C)[1],lazy:``,onClick:e=>j(t)},null,8,[`class`,`data-preview-page-id`,`data-preview-page-index`,`slide`,`page-width`,`page-height`,`onClick`]))),128))],4)]))}}),[[`__scopeId`,`data-v-8acb7e59`]]);export{S as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Preview-DIpDCKLk.css b/editor/neo-ppt/assets/Preview-DIpDCKLk.css new file mode 100644 index 0000000..c55cd2a --- /dev/null +++ b/editor/neo-ppt/assets/Preview-DIpDCKLk.css @@ -0,0 +1 @@ +html,body{background:var(--Bg-Secondary,#f5f5f5);height:auto;min-height:100vh;overflow-y:auto}#app{background:var(--Bg-Secondary,#f5f5f5);width:100%;min-height:100vh}.sdk-preview[data-v-8acb7e59]{width:100vw;min-height:100vh;background:var(--Bg-Secondary,#f5f5f5);min-height:100dvh}.sdk-preview-pages[data-v-8acb7e59]{--preview-page-margin:20px;gap:var(--preview-page-margin);width:100vw;min-height:100vh;box-sizing:border-box;min-height:100dvh;padding:var(--preview-page-margin);grid-template-columns:minmax(0,1fr);display:grid}.sdk-preview-page[data-v-8acb7e59]{border:1px solid var(--Always-White,#fff);outline:1px solid var(--Separators-S1,rgba(0,0,0,.13));cursor:pointer;width:100%;min-width:0;scroll-margin:var(--preview-page-margin);background:#fff;border-radius:12px;flex-shrink:0;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)} diff --git a/editor/neo-ppt/assets/Preview-legacy-DFamtDBA.js b/editor/neo-ppt/assets/Preview-legacy-DFamtDBA.js new file mode 100644 index 0000000..18f2928 --- /dev/null +++ b/editor/neo-ppt/assets/Preview-legacy-DFamtDBA.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./useMessage-legacy-BwPIj8SG.js","./ThumbnailSlide-legacy-CSXTq44l.js","./usePPTDTitle-legacy-BtadEyXI.js"],function(e,a){var i,t,r,n,d,g,p,s,l,v,o,c,u,h,m,w,f,b,x,y,k,S,P;return{setters:[function(e){i=e.At,t=e.B,r=e.H,n=e.K,d=e.Mt,g=e.U,p=e.W,s=e.Z,l=e.ct,v=e.kt,o=e.ot,c=e.ut,u=e.vt},function(e){h=e.t},function(e){m=e.r,w=e.s},function(e){f=e.d,b=e.ot,x=e.q,y=e.t},function(e){k=e.t}],execute:function(){(S=document.createElement("style")).textContent="html,body{background:var(--Bg-Secondary,#f5f5f5);height:auto;min-height:100vh;overflow-y:auto}#app{background:var(--Bg-Secondary,#f5f5f5);width:100%;min-height:100vh}.sdk-preview[data-v-8acb7e59]{width:100vw;min-height:100vh;background:var(--Bg-Secondary,#f5f5f5);min-height:100dvh}.sdk-preview-pages[data-v-8acb7e59]{--preview-page-margin:20px;gap:var(--preview-page-margin);width:100vw;min-height:100vh;box-sizing:border-box;min-height:100dvh;padding:var(--preview-page-margin);grid-template-columns:minmax(0,1fr);display:grid}.sdk-preview-page[data-v-8acb7e59]{border:1px solid var(--Always-White,#fff);outline:1px solid var(--Separators-S1,rgba(0,0,0,.13));cursor:pointer;width:100%;min-width:0;scroll-margin:var(--preview-page-margin);background:#fff;border-radius:12px;flex-shrink:0;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}\n/*$vite$:1*/",document.head.appendChild(S),P={class:"sdk-preview"},e("default",h(s({__name:"Preview",setup(e){f(),m();const{pages:a,pageOrder:s,pageSize:h,meta:S,currentPageId:C,setCurrentPage:T}=b(),{setEditable:_}=x(),{setPPTDTitle:j}=k(),{preview:B}=w(),z=r(()=>({"--preview-page-margin":B.value.margin,gridTemplateColumns:`repeat(${B.value.col}, minmax(0, 1fr))`}));return u(()=>S.value.title,e=>j(e),{immediate:!0}),o(()=>{_(!1)}),(e,r)=>(l(),n("div",P,[g("div",{class:"sdk-preview-pages",style:d(z.value)},[(l(!0),n(t,null,c(v(s),(e,t)=>(l(),p(y,{key:e,class:i(["sdk-preview-page",{current:v(C)===e}]),"data-preview-page-id":e,"data-preview-page-index":t,slide:v(a).get(e),"page-width":v(h)[0],"page-height":v(h)[1],lazy:"",onClick:a=>function(e){T(e)}(e)},null,8,["class","data-preview-page-id","data-preview-page-index","slide","page-width","page-height","onClick"]))),128))],4)]))}}),[["__scopeId","data-v-8acb7e59"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Raw-BESBL9gK.js b/editor/neo-ppt/assets/Raw-BESBL9gK.js new file mode 100644 index 0000000..21d91e0 --- /dev/null +++ b/editor/neo-ppt/assets/Raw-BESBL9gK.js @@ -0,0 +1 @@ +import{At as e,B as t,G as n,H as r,K as i,Mt as a,Tt as o,W as s,Z as c,at as l,ct as u,g as d,it as f,k as p,kt as m,ot as h,p as g,ut as _}from"./vue-B11_pI9F.js";import{t as v}from"./_plugin-vue_export-helper-B67ILkmu.js";import{n as y}from"./index-jtNAhQeK.js";import{n as b}from"./yaml-Jsje7sNc.js";import{K as x,gt as S,ot as ee,t as C}from"./ThumbnailSlide-COLdjDXw.js";import{i as w,n as T,r as E,t as D}from"./folderEntryParser-DjmgZytL.js";var O={gif:`image/gif`,jpg:`image/jpeg`,jpeg:`image/jpeg`,png:`image/png`,svg:`image/svg+xml`,webp:`image/webp`},k=`[RawPreview]`,A={info:(...e)=>{console.info(k,...e)},warn:(...e)=>{console.warn(k,...e)},error:(...e)=>{console.error(k,...e)}},j=e=>typeof e==`object`&&!!e&&!Array.isArray(e),M=e=>j(e)?typeof e.path==`string`&&typeof e.content==`string`:!1,te=e=>j(e)?typeof e.path==`string`:!1,N=e=>/\.(png|jpe?g|webp|gif|svg)$/i.test(e),P=e=>/\.pptd$/i.test(e),F=e=>e?.replace(/^sandbox:\/+/,``),I=e=>(F(e)??e).replace(/^\/+/,``),ne=e=>{let t=F(e);if(!t)return;let n=t.lastIndexOf(`/`);return n>=0?t.substring(0,n+1):void 0},L=e=>{let t=e?I(e):``;return t?`${t.replace(/\/+$/,``)}/`:``},R=(e,t=`application/octet-stream`)=>{let n=e.split(`.`).pop()?.toLowerCase();return n?O[n]??t:t},z=e=>Array.isArray(e.files)?e.files.filter(M):[],re=e=>z(e).find(e=>P(e.path)),ie=e=>typeof e.pptdContent==`string`?e.pptdContent:typeof e.pptd==`string`?e.pptd:M(e.pptd)?e.pptd.content:re(e)?.content,ae=e=>typeof e.pptdPath==`string`?e.pptdPath:M(e.pptd)?e.pptd.path:re(e)?.path,oe=e=>{let t=new Map;return e.forEach(e=>{t.set(e.path,e)}),[...t.values()]},se=e=>({path:e.path,content:e.content,mimeType:R(e.path)}),ce=e=>{let t=z(e).filter(e=>N(e.path)).map(se),n=Array.isArray(e.images)?e.images.filter(te):[];return oe([...t,...n])},B=e=>{let t=Array.isArray(e.pages)?e.pages.filter(M):[];return M(e.page)&&t.push(e.page),oe([...t,...z(e)]).filter(e=>!P(e.path)&&!N(e.path))},le=e=>/^\s*(?:<\?xml[\s\S]*?)?]/i.test(e),V=(e,t)=>{try{return new Blob([he(t)],{type:R(e)})}catch(t){A.warn(`invalid image base64`,{path:e,error:t});return}},H=(e,t)=>{let n=R(e);if(n===`image/svg+xml`&&le(t))return new Blob([t],{type:n})},U=e=>{if(!j(e))return;let t=e,n=ie(t),r=B(t);if(!(!n||r.length===0))return{pptdContent:n,pptdPath:ae(t),pages:r,pageIds:Array.isArray(t.pageIds)?t.pageIds.filter(e=>typeof e==`string`):void 0,images:ce(t),imageReplacerMap:j(t.imageReplacerMap)?Object.fromEntries(Object.entries(t.imageReplacerMap).filter(e=>typeof e[1]==`string`)):void 0,lastModifiedTime:t.lastModifiedTime}},W=e=>{if(!j(e))return{dataType:typeof e};let t=e,n=B(t);return{keys:Object.keys(e),hasPptd:typeof t.pptd==`string`||M(t.pptd),hasPptdContent:typeof t.pptdContent==`string`,pptdPath:ae(t),filesCount:Array.isArray(t.files)?t.files.length:0,pagesCount:n.length,imagesCount:ce(t).length,imageReplacerCount:j(t.imageReplacerMap)?Object.keys(t.imageReplacerMap).length:0,pageIds:Array.isArray(t.pageIds)?t.pageIds:void 0}},G=e=>{if(!j(e))return`data is not object`;let t=e;if(!ie(t))return`missing pptdContent or pptd`;if(B(t).length===0)return`missing pages or page`},ue=e=>{let t={};return e.forEach(e=>{!j(e)||typeof e.elementType!=`string`||(t[e.elementType]=(t[e.elementType]??0)+1)}),t},de=e=>{if(e.elementType===`text`)return e.content.text.replace(/<[^>]+>/g,` `).replace(/\s+/g,` `).trim()},fe=e=>{let t=e.elements.filter(e=>e.elementType===`image`).map(e=>e.src).filter(Boolean).slice(0,12),n=e.elements.map(de).filter(e=>!!e).slice(0,6);return{pageId:e.pageId,pagePath:e.pagePath,typeCounts:ue(e.elements),imageSrcs:t,textSamples:n}},pe=e=>Object.entries(e).map(([e,t])=>{try{return fe({...b(t),pageId:e.replace(/\.page$/,``),pagePath:e})}catch(t){return{pagePath:e,error:t}}}),K=e=>/^data:/i.test(e),q=e=>/^blob:/i.test(e),J=e=>/^https?:\/\//i.test(e),me=e=>{let t=e.indexOf(`,`);return t>=0?e.slice(t+1):e},he=e=>{let t=atob(me(e)),n=new Uint8Array(t.length);for(let e=0;e{if(typeof Blob<`u`&&e instanceof Blob)return e;if(e instanceof ArrayBuffer)return new Blob([e],{type:t});if(ArrayBuffer.isView(e)){let n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),r=new Uint8Array(n);return new Blob([r],{type:t})}if(Array.isArray(e))return new Blob([new Uint8Array(e)],{type:t});if(j(e)&&Array.isArray(e.data))return new Blob([new Uint8Array(e.data)],{type:t})},_e=e=>e?{seconds:typeof e.seconds==`string`?BigInt(e.seconds):e.seconds,nanos:e.nanos}:null,Y=e=>{document.documentElement.dataset.rawPreviewStatus=e,A.info(`status`,e),window.dispatchEvent(new CustomEvent(`raw-preview:status`,{detail:{status:e}}))},X=(e,t)=>{e?.type===`image`&&e.src&&t.push(e.src)},ve=e=>{let t=[];for(let n of Object.values(e))try{let e=b(n);X(e.background,t);for(let n of e.elements)n.elementType===`image`&&t.push(n.src),`fill`in n&&X(n.fill,t),n.elementType===`table`&&(typeof n.style!=`string`&&X(n.style?.fill,t),n.rows.forEach(e=>{e.forEach(e=>{X(e?.fill,t)})}))}catch{}return[...new Set(t.filter(Boolean))]},Z=(e,t,n)=>{let r={...t},i=Object.entries(t).map(([e,t])=>[I(e),t]),a=L(n);for(let t of ve(e)){let e=I(t),n=a?I(`${a}${e}`):``,o=i.find(([t])=>t===e||t===n||t.endsWith(`/${e}`));o&&(r[t]=o[1])}return r},Q=(e,t)=>{let n=e.find(e=>e.path.endsWith(`.pptd`))??e[0];if(!n)throw Error(`Invalid fsjson`);return{pptdContent:n.content,pptdPath:t??n.path,pages:e.filter(e=>e!==n&&!N(e.path)).map(e=>({path:e.path,content:e.content})),images:e.filter(e=>e!==n&&N(e.path)).map(se)}},ye=(e={})=>{let{importFSJSON:t,pages:n,setLastModified:r}=ee(),{resolveValidImageUrl:i,setImageConfig:a}=x(),s=o(!0),c=o(!1),u=o(),d=!1,p,m=[],g=()=>{m.forEach(e=>URL.revokeObjectURL(e)),m=[]},_=e=>{let t=URL.createObjectURL(e);return m.push(t),t},v=e=>{let t=e.mimeType||R(e.path),n=e.content??e.data??e.base64;if(e.url&&(J(e.url)||K(e.url)||q(e.url)))return e.url;if(typeof n==`string`){if(J(n)||K(n)||q(n))return n;let t=H(e.path,n)??V(e.path,n);return t?_(t):void 0}if(n){let e=ge(n,t);return e?_(e):void 0}},b=(e,t)=>{g();let n={},r=L(t);for(let t of e.images??[]){let e=v(t);if(!e)continue;let i=I(t.path),a=r&&i.startsWith(r)?i.slice(r.length):i;n[t.path]=e,n[i]=e,n[a]=e}return n},C=e=>{if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>{if(J(t)||K(t)||q(t))return[e,t];let n=H(e,t)??V(e,t);return[e,n?_(n):t]}))},w=async()=>{await f(),await document.fonts?.ready.catch(()=>void 0),await new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(()=>e()))),await new Promise(e=>setTimeout(e,60))},T=async(o,l,f=`message`)=>{let m=U(o);if(!m){A.warn(`ignore loadMessageData`,{reason:G(o),summary:W(o)});return}if(!d){p={rawData:o,extraImageReplacerMap:l,source:f},A.info(`cache message before ready`,{source:f,summary:W(o)});return}s.value=!0,c.value=!1,Y(`loading`);try{let o=F(m.pptdPath)??`presentation.pptd`,c=ne(m.pptdPath),d=Object.fromEntries(m.pages.map(e=>[e.path,e.content]));A.info(`start import`,{source:f,pptdPath:o,basePath:c,pagesCount:m.pages.length,pageIds:m.pageIds,imagesCount:m.images?.length??0,extraImageReplacerCount:l?Object.keys(l).length:0}),A.info(`page yaml elements`,{pages:pe(d)});let p=[{path:o,content:m.pptdContent},...m.pages.map(e=>({path:e.path,content:e.content}))],h={...Z(d,b(m,c),c),...C(l),...C(m.imageReplacerMap)};A.info(`image config`,{imageReplacerCount:Object.keys(h).length,imageReplacerKeys:Object.keys(h).slice(0,20)}),a({basePath:c,imageReplacerMap:Object.keys(h).length?h:void 0}),r(_e(m.lastModifiedTime)),u.value=m.pageIds;let g=ve(d);A.info(`preload images`,{count:g.length}),await Promise.allSettled(g.map(e=>i(e))),A.info(`import fsjson`,{filesCount:p.length}),t(p),A.info(`store elements after import`,{pages:[...n.value.values()].map(fe)}),s.value=!1,await S(),await w(),await e.onLoaded?.(),Y(`loaded`),A.info(`loaded`,{source:f,pagesCount:m.pages.length}),window.dispatchEvent(new CustomEvent(`raw-preview:loaded`,{detail:{source:f}}))}catch(e){A.error(`load failed`,e),y(e),s.value=!1,c.value=!0,Y(`error`),window.dispatchEvent(new CustomEvent(`raw-preview:error`,{detail:{error:e,source:f}}))}},E=e=>T(e),D=(e,t)=>E(Q(e,t)),O=(e,t,n=window.location.origin)=>{window.postMessage(Q(e,t),n)},k=()=>{if(!p)return;let e=p;p=void 0,A.info(`consume cached message`,{source:e.source,summary:W(e.rawData)}),T(e.rawData,e.extraImageReplacerMap,e.source)},j=e=>{if(A.info(`message received`,{origin:e.origin,summary:W(e.data)}),!U(e.data)){A.warn(`message ignored`,{reason:G(e.data)});return}E(e.data)};return typeof window<`u`&&window.addEventListener(`message`,j),h(()=>{d=!0,Y(`idle`),window.rawPreview={fsjsonToMessage:Q,postFSJSON:O,loadFSJSON:D,loadMessage:E},A.info(`api ready`,{hasPendingMessage:!!p}),k()}),l(()=>{d=!1,p=void 0,g(),window.removeEventListener(`message`,j),window.rawPreview?.loadMessage===E&&(window.rawPreview=void 0)}),{isLoading:s,isError:c,messagePageIds:u,loadMessageData:T}},be=e=>/\.(png|jpe?g|webp|gif|svg)$/i.test(e),$=e=>{e.preventDefault(),e.stopPropagation()},xe=e=>{let t=new Map,n=()=>{t.forEach(e=>URL.revokeObjectURL(e)),t=new Map},r=async e=>{n();let r=(await T(e)).filter(e=>be(e.relativePath)),i=await Promise.all(r.map(async e=>{let t=await D(e.file);return[I(e.relativePath),URL.createObjectURL(t)]}));t=new Map(i)},i=async n=>{let i=await E(n);if(i.length===0)throw Error(`目录下未找到 .pptd 文件`);let a=i[0];await r(a.parentDir);let{metaYaml:o,pagesYamlMap:s}=await w(a.file,a.parentDir),c=a.displayPath.replace(/^\.\//,``)||a.file.name,l=[{path:c,content:o},...Object.entries(s).map(([e,t])=>({path:e,content:t}))];await e.loadMessageData(Q(l,c),Z(s,Object.fromEntries(t)),`drop`)},a=$,o=e=>{$(e),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`)},s=$;return l(()=>{n()}),{handleDragEnter:a,handleDragOver:o,handleDragLeave:s,handleDrop:async e=>{$(e);let t=e.dataTransfer?.items;if(!t||t.length===0)return;let n=Array.from(t).map(e=>e.webkitGetAsEntry?.()).filter(e=>!!e).find(e=>e.isDirectory);if(n)try{await i(n)}catch(e){y(e),window.dispatchEvent(new CustomEvent(`raw-preview:error`,{detail:{error:e,source:`drop`}}))}}}},Se={key:0,class:`raw-preview-pages`},Ce=v(c({__name:`Raw`,setup(c){let l=p(),{pages:f,pageOrder:v,pageSize:y}=ee(),b=o(),x=o(typeof window>`u`?0:window.innerWidth),S=()=>{x.value=b.value?.clientWidth??window.innerWidth},{isLoading:w,isError:T,loadMessageData:E}=ye({onLoaded:S}),{handleDragEnter:D,handleDragOver:O,handleDragLeave:k,handleDrop:A}=xe({loadMessageData:E}),j=r(()=>{let e=l.query.pageIds;return Array.isArray(e)?e[0]:e}),M=r(()=>l.query.pageIds!==void 0),te=r(()=>typeof j.value==`string`?j.value.split(`,`).map(e=>e.trim()).filter(Boolean):[]),N=r(()=>M.value?te.value:v.value),P=r(()=>Math.max(x.value,0)),F=r(()=>N.value.flatMap((e,t)=>{let n=f.value.get(e);return n?{key:`${t}:${e}`,pageId:e,slide:n}:[]}));return d(b,S),g(window,`resize`,S),g(window,`dragenter`,D),g(window,`dragover`,O),g(window,`dragleave`,k),g(window,`drop`,A),h(S),(r,o)=>(u(),i(`div`,{ref_key:`previewRef`,ref:b,class:e([`raw-preview`,{"is-loading":m(w),"is-error":m(T)}]),onDragenter:o[0]||(o[0]=(...e)=>m(D)&&m(D)(...e)),onDragover:o[1]||(o[1]=(...e)=>m(O)&&m(O)(...e)),onDragleave:o[2]||(o[2]=(...e)=>m(k)&&m(k)(...e)),onDrop:o[3]||(o[3]=(...e)=>m(A)&&m(A)(...e))},[!m(w)&&!m(T)?(u(),i(`div`,Se,[(u(!0),i(t,null,_(F.value,e=>(u(),s(C,{key:e.key,class:`thumbnail-page raw-preview-page`,"data-page-id":e.pageId,slide:e.slide,"page-width":m(y)[0],"page-height":m(y)[1],style:a({width:`${P.value}px`})},null,8,[`data-page-id`,`slide`,`page-width`,`page-height`,`style`]))),128))])):n(``,!0)],34))}}),[[`__scopeId`,`data-v-2545fa61`]]);export{Ce as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Raw-CWTq5DqG.css b/editor/neo-ppt/assets/Raw-CWTq5DqG.css new file mode 100644 index 0000000..89a35be --- /dev/null +++ b/editor/neo-ppt/assets/Raw-CWTq5DqG.css @@ -0,0 +1 @@ +html,body,#app{background:#fff;width:100%;height:100%;min-height:100vh}.raw-preview[data-v-2545fa61]{width:100vw;min-height:100vh;background:#fff;min-height:100dvh}.raw-preview-pages[data-v-2545fa61]{flex-direction:column;width:100%;display:flex}.raw-preview-page[data-v-2545fa61]{background:#fff;border:0;border-radius:0;flex-shrink:0;margin:0;overflow:hidden} diff --git a/editor/neo-ppt/assets/Raw-legacy-skQdnznt.js b/editor/neo-ppt/assets/Raw-legacy-skQdnznt.js new file mode 100644 index 0000000..feeb044 --- /dev/null +++ b/editor/neo-ppt/assets/Raw-legacy-skQdnznt.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./yaml-legacy-PSsIiII3.js","./ThumbnailSlide-legacy-CSXTq44l.js","./folderEntryParser-legacy-SgEP6AcQ.js"],function(e,t){var a,r,n,i,s,o,p,l,d,g,c,f,u,m,h,w,y,v,b,j,A,P,E,M,O,C,I,D,R,k,x,T,L,B,S,U,$,W,_,F,q,J,K,N,z,G,V,Y,H,Z,Q,X,ee,te,ae,re,ne,ie,se,oe,pe,le,de,ge,ce,fe,ue,me,he,we,ye,ve,be,je,Ae,Pe,Ee,Me;return{setters:[function(e){a=e.At,r=e.B,n=e.G,i=e.H,s=e.K,o=e.Mt,p=e.Tt,l=e.W,d=e.Z,g=e.at,c=e.ct,f=e.g,u=e.it,m=e.k,h=e.kt,w=e.ot,y=e.p,v=e.ut},function(e){b=e.t},function(e){j=e.n},function(e){A=e.n},function(e){P=e.K,E=e.gt,M=e.ot,O=e.t},function(e){C=e.i,I=e.n,D=e.r,R=e.t}],execute:function(){(k=document.createElement("style")).textContent="html,body,#app{background:#fff;width:100%;height:100%;min-height:100vh}.raw-preview[data-v-2545fa61]{width:100vw;min-height:100vh;background:#fff;min-height:100dvh}.raw-preview-pages[data-v-2545fa61]{flex-direction:column;width:100%;display:flex}.raw-preview-page[data-v-2545fa61]{background:#fff;border:0;border-radius:0;flex-shrink:0;margin:0;overflow:hidden}\n/*$vite$:1*/",document.head.appendChild(k),x={gif:"image/gif",jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},T="[RawPreview]",L={info:(...e)=>{console.info(T,...e)},warn:(...e)=>{console.warn(T,...e)},error:(...e)=>{console.error(T,...e)}},B=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),S=e=>!!B(e)&&"string"==typeof e.path&&"string"==typeof e.content,U=e=>!!B(e)&&"string"==typeof e.path,$=e=>/\.(png|jpe?g|webp|gif|svg)$/i.test(e),W=e=>/\.pptd$/i.test(e),_=e=>e?.replace(/^sandbox:\/+/,""),F=e=>(_(e)??e).replace(/^\/+/,""),q=e=>{const t=_(e);if(!t)return;const a=t.lastIndexOf("/");return a>=0?t.substring(0,a+1):void 0},J=e=>{const t=e?F(e):"";return t?`${t.replace(/\/+$/,"")}/`:""},K=(e,t="application/octet-stream")=>{const a=e.split(".").pop()?.toLowerCase();return a?x[a]??t:t},N=e=>Array.isArray(e.files)?e.files.filter(S):[],z=e=>N(e).find(e=>W(e.path)),G=e=>"string"==typeof e.pptdContent?e.pptdContent:"string"==typeof e.pptd?e.pptd:S(e.pptd)?e.pptd.content:z(e)?.content,V=e=>"string"==typeof e.pptdPath?e.pptdPath:S(e.pptd)?e.pptd.path:z(e)?.path,Y=e=>{const t=new Map;return e.forEach(e=>{t.set(e.path,e)}),[...t.values()]},H=e=>({path:e.path,content:e.content,mimeType:K(e.path)}),Z=e=>{const t=N(e).filter(e=>$(e.path)).map(H),a=Array.isArray(e.images)?e.images.filter(U):[];return Y([...t,...a])},Q=e=>{const t=Array.isArray(e.pages)?e.pages.filter(S):[];return S(e.page)&&t.push(e.page),Y([...t,...N(e)]).filter(e=>!W(e.path)&&!$(e.path))},X=e=>/^\s*(?:<\?xml[\s\S]*?)?]/i.test(e),ee=(e,t)=>{try{return new Blob([fe(t)],{type:K(e)})}catch(a){return void L.warn("invalid image base64",{path:e,error:a})}},te=(e,t)=>{const a=K(e);if("image/svg+xml"===a&&X(t))return new Blob([t],{type:a})},ae=e=>{if(!B(e))return;const t=e,a=G(t),r=Q(t);return a&&0!==r.length?{pptdContent:a,pptdPath:V(t),pages:r,pageIds:Array.isArray(t.pageIds)?t.pageIds.filter(e=>"string"==typeof e):void 0,images:Z(t),imageReplacerMap:B(t.imageReplacerMap)?Object.fromEntries(Object.entries(t.imageReplacerMap).filter(e=>"string"==typeof e[1])):void 0,lastModifiedTime:t.lastModifiedTime}:void 0},re=e=>{if(!B(e))return{dataType:typeof e};const t=e,a=Q(t);return{keys:Object.keys(e),hasPptd:"string"==typeof t.pptd||S(t.pptd),hasPptdContent:"string"==typeof t.pptdContent,pptdPath:V(t),filesCount:Array.isArray(t.files)?t.files.length:0,pagesCount:a.length,imagesCount:Z(t).length,imageReplacerCount:B(t.imageReplacerMap)?Object.keys(t.imageReplacerMap).length:0,pageIds:Array.isArray(t.pageIds)?t.pageIds:void 0}},ne=e=>{if(!B(e))return"data is not object";const t=e;return G(t)?0===Q(t).length?"missing pages or page":void 0:"missing pptdContent or pptd"},ie=e=>{const t={};return e.forEach(e=>{B(e)&&"string"==typeof e.elementType&&(t[e.elementType]=(t[e.elementType]??0)+1)}),t},se=e=>{if("text"===e.elementType)return e.content.text.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim()},oe=e=>{const t=e.elements.filter(e=>"image"===e.elementType).map(e=>e.src).filter(Boolean).slice(0,12),a=e.elements.map(se).filter(e=>!!e).slice(0,6);return{pageId:e.pageId,pagePath:e.pagePath,typeCounts:ie(e.elements),imageSrcs:t,textSamples:a}},pe=e=>Object.entries(e).map(([e,t])=>{try{return oe({...A(t),pageId:e.replace(/\.page$/,""),pagePath:e})}catch(a){return{pagePath:e,error:a}}}),le=e=>/^data:/i.test(e),de=e=>/^blob:/i.test(e),ge=e=>/^https?:\/\//i.test(e),ce=e=>{const t=e.indexOf(",");return t>=0?e.slice(t+1):e},fe=e=>{const t=atob(ce(e)),a=new Uint8Array(t.length);for(let r=0;r{if("undefined"!=typeof Blob&&e instanceof Blob)return e;if(e instanceof ArrayBuffer)return new Blob([e],{type:t});if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),r=new Uint8Array(a);return new Blob([r],{type:t})}return Array.isArray(e)?new Blob([new Uint8Array(e)],{type:t}):B(e)&&Array.isArray(e.data)?new Blob([new Uint8Array(e.data)],{type:t}):void 0},me=e=>e?{seconds:"string"==typeof e.seconds?BigInt(e.seconds):e.seconds,nanos:e.nanos}:null,he=e=>{document.documentElement.dataset.rawPreviewStatus=e,L.info("status",e),window.dispatchEvent(new CustomEvent("raw-preview:status",{detail:{status:e}}))},we=(e,t)=>{"image"===e?.type&&e.src&&t.push(e.src)},ye=e=>{const t=[];for(const a of Object.values(e))try{const e=A(a);we(e.background,t);for(const a of e.elements)"image"===a.elementType&&t.push(a.src),"fill"in a&&we(a.fill,t),"table"===a.elementType&&("string"!=typeof a.style&&we(a.style?.fill,t),a.rows.forEach(e=>{e.forEach(e=>{we(e?.fill,t)})}))}catch{}return[...new Set(t.filter(Boolean))]},ve=(e,t,a)=>{const r={...t},n=Object.entries(t).map(([e,t])=>[F(e),t]),i=J(a);for(const s of ye(e)){const e=F(s),t=i?F(`${i}${e}`):"",a=n.find(([a])=>a===e||a===t||a.endsWith(`/${e}`));a&&(r[s]=a[1])}return r},be=(e,t)=>{const a=e.find(e=>e.path.endsWith(".pptd"))??e[0];if(!a)throw new Error("Invalid fsjson");return{pptdContent:a.content,pptdPath:t??a.path,pages:e.filter(e=>e!==a&&!$(e.path)).map(e=>({path:e.path,content:e.content})),images:e.filter(e=>e!==a&&$(e.path)).map(H)}},je=(e={})=>{const{importFSJSON:t,pages:a,setLastModified:r}=M(),{resolveValidImageUrl:n,setImageConfig:i}=P(),s=p(!0),o=p(!1),l=p();let d,c=!1,f=[];const m=()=>{f.forEach(e=>URL.revokeObjectURL(e)),f=[]},h=e=>{const t=URL.createObjectURL(e);return f.push(t),t},y=e=>{const t=e.mimeType||K(e.path),a=e.content??e.data??e.base64;if(e.url&&(ge(e.url)||le(e.url)||de(e.url)))return e.url;if("string"==typeof a){if(ge(a)||le(a)||de(a))return a;const t=te(e.path,a)??ee(e.path,a);return t?h(t):void 0}if(a){const e=ue(a,t);return e?h(e):void 0}},v=(e,t)=>{m();const a={},r=J(t);for(const n of e.images??[]){const e=y(n);if(!e)continue;const t=F(n.path),i=r&&t.startsWith(r)?t.slice(r.length):t;a[n.path]=e,a[t]=e,a[i]=e}return a},b=e=>{if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>{if(ge(t)||le(t)||de(t))return[e,t];const a=te(e,t)??ee(e,t);return[e,a?h(a):t]}))},A=async(p,g,f="message")=>{const m=ae(p);if(m){if(!c)return d={rawData:p,extraImageReplacerMap:g,source:f},void L.info("cache message before ready",{source:f,summary:re(p)});s.value=!0,o.value=!1,he("loading");try{const o=_(m.pptdPath)??"presentation.pptd",p=q(m.pptdPath),d=Object.fromEntries(m.pages.map(e=>[e.path,e.content]));L.info("start import",{source:f,pptdPath:o,basePath:p,pagesCount:m.pages.length,pageIds:m.pageIds,imagesCount:m.images?.length??0,extraImageReplacerCount:g?Object.keys(g).length:0}),L.info("page yaml elements",{pages:pe(d)});const c=[{path:o,content:m.pptdContent},...m.pages.map(e=>({path:e.path,content:e.content}))],h={...ve(d,v(m,p),p),...b(g),...b(m.imageReplacerMap)};L.info("image config",{imageReplacerCount:Object.keys(h).length,imageReplacerKeys:Object.keys(h).slice(0,20)}),i({basePath:p,imageReplacerMap:Object.keys(h).length?h:void 0}),r(me(m.lastModifiedTime)),l.value=m.pageIds;const w=ye(d);L.info("preload images",{count:w.length}),await Promise.allSettled(w.map(e=>n(e))),L.info("import fsjson",{filesCount:c.length}),t(c),L.info("store elements after import",{pages:[...a.value.values()].map(oe)}),s.value=!1,await E(),await(async()=>{await u(),await(document.fonts?.ready.catch(()=>{})),await new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(()=>e()))),await new Promise(e=>setTimeout(e,60))})(),await(e.onLoaded?.()),he("loaded"),L.info("loaded",{source:f,pagesCount:m.pages.length}),window.dispatchEvent(new CustomEvent("raw-preview:loaded",{detail:{source:f}}))}catch(h){L.error("load failed",h),j(h),s.value=!1,o.value=!0,he("error"),window.dispatchEvent(new CustomEvent("raw-preview:error",{detail:{error:h,source:f}}))}}else L.warn("ignore loadMessageData",{reason:ne(p),summary:re(p)})},O=e=>A(e),C=(e,t)=>O(be(e,t)),I=(e,t,a=window.location.origin)=>{window.postMessage(be(e,t),a)},D=e=>{L.info("message received",{origin:e.origin,summary:re(e.data)}),ae(e.data)?O(e.data):L.warn("message ignored",{reason:ne(e.data)})};return"undefined"!=typeof window&&window.addEventListener("message",D),w(()=>{c=!0,he("idle"),window.rawPreview={fsjsonToMessage:be,postFSJSON:I,loadFSJSON:C,loadMessage:O},L.info("api ready",{hasPendingMessage:!!d}),(()=>{if(!d)return;const e=d;d=void 0,L.info("consume cached message",{source:e.source,summary:re(e.rawData)}),A(e.rawData,e.extraImageReplacerMap,e.source)})()}),g(()=>{c=!1,d=void 0,m(),window.removeEventListener("message",D),window.rawPreview?.loadMessage===O&&(window.rawPreview=void 0)}),{isLoading:s,isError:o,messagePageIds:l,loadMessageData:A}},Ae=e=>/\.(png|jpe?g|webp|gif|svg)$/i.test(e),Pe=e=>{e.preventDefault(),e.stopPropagation()},Ee=e=>{let t=new Map;const a=()=>{t.forEach(e=>URL.revokeObjectURL(e)),t=new Map},r=async r=>{const n=await D(r);if(0===n.length)throw new Error("目录下未找到 .pptd 文件");const i=n[0];await(async e=>{a();const r=(await I(e)).filter(e=>Ae(e.relativePath)),n=await Promise.all(r.map(async e=>{const t=await R(e.file);return[F(e.relativePath),URL.createObjectURL(t)]}));t=new Map(n)})(i.parentDir);const{metaYaml:s,pagesYamlMap:o}=await C(i.file,i.parentDir),p=i.displayPath.replace(/^\.\//,"")||i.file.name,l=[{path:p,content:s},...Object.entries(o).map(([e,t])=>({path:e,content:t}))];await e.loadMessageData(be(l,p),ve(o,Object.fromEntries(t)),"drop")},n=Pe,i=Pe;return g(()=>{a()}),{handleDragEnter:n,handleDragOver:e=>{Pe(e),e.dataTransfer&&(e.dataTransfer.dropEffect="copy")},handleDragLeave:i,handleDrop:async e=>{Pe(e);const t=e.dataTransfer?.items;if(!t||0===t.length)return;const a=Array.from(t).map(e=>e.webkitGetAsEntry?.()).filter(e=>!!e).find(e=>e.isDirectory);if(a)try{await r(a)}catch(n){j(n),window.dispatchEvent(new CustomEvent("raw-preview:error",{detail:{error:n,source:"drop"}}))}}}},Me={key:0,class:"raw-preview-pages"},e("default",b(d({__name:"Raw",setup(e){const t=m(),{pages:d,pageOrder:g,pageSize:u}=M(),b=p(),j=p("undefined"==typeof window?0:window.innerWidth),A=()=>{j.value=b.value?.clientWidth??window.innerWidth},{isLoading:P,isError:E,loadMessageData:C}=je({onLoaded:A}),{handleDragEnter:I,handleDragOver:D,handleDragLeave:R,handleDrop:k}=Ee({loadMessageData:C}),x=i(()=>{const e=t.query.pageIds;return Array.isArray(e)?e[0]:e}),T=i(()=>void 0!==t.query.pageIds),L=i(()=>"string"==typeof x.value?x.value.split(",").map(e=>e.trim()).filter(Boolean):[]),B=i(()=>T.value?L.value:g.value),S=i(()=>Math.max(j.value,0)),U=i(()=>B.value.flatMap((e,t)=>{const a=d.value.get(e);return a?{key:`${t}:${e}`,pageId:e,slide:a}:[]}));return f(b,A),y(window,"resize",A),y(window,"dragenter",I),y(window,"dragover",D),y(window,"dragleave",R),y(window,"drop",k),w(A),(e,t)=>(c(),s("div",{ref_key:"previewRef",ref:b,class:a(["raw-preview",{"is-loading":h(P),"is-error":h(E)}]),onDragenter:t[0]||(t[0]=(...e)=>h(I)&&h(I)(...e)),onDragover:t[1]||(t[1]=(...e)=>h(D)&&h(D)(...e)),onDragleave:t[2]||(t[2]=(...e)=>h(R)&&h(R)(...e)),onDrop:t[3]||(t[3]=(...e)=>h(k)&&h(k)(...e))},[h(P)||h(E)?n("",!0):(c(),s("div",Me,[(c(!0),s(r,null,v(U.value,e=>(c(),l(O,{key:e.key,class:"thumbnail-page raw-preview-page","data-page-id":e.pageId,slide:e.slide,"page-width":h(u)[0],"page-height":h(u)[1],style:o({width:`${S.value}px`})},null,8,["data-page-id","slide","page-width","page-height","style"]))),128))]))],34))}}),[["__scopeId","data-v-2545fa61"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Screen-C40EWX4e.css b/editor/neo-ppt/assets/Screen-C40EWX4e.css new file mode 100644 index 0000000..cb5b89a --- /dev/null +++ b/editor/neo-ppt/assets/Screen-C40EWX4e.css @@ -0,0 +1 @@ +.thumbnail-slide-switcher[data-v-8b20498e]{width:100%;height:100%}.slide-container[data-v-8b20498e]{background-color:#1d1d1d;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.slide-wrapper[data-v-8b20498e]{max-width:100vw}.screen[data-v-a6f7cc7b]{z-index:200;background-color:#1d1d1d;width:100vw;height:100vh;position:fixed;top:0;left:0}.screen-controls[data-v-a6f7cc7b]{z-index:10;opacity:0;pointer-events:none;justify-content:space-between;align-items:flex-end;transition:opacity .26s,transform .26s;display:flex;position:fixed;bottom:8px;left:8px;right:16px;transform:translateY(4px)}.screen-controls.is-visible[data-v-a6f7cc7b]{opacity:1;transform:translateY(0)}.screen-controls.is-visible .tools-left[data-v-a6f7cc7b],.screen-controls.is-visible .tools-right[data-v-a6f7cc7b]{pointer-events:auto}.tools-left[data-v-a6f7cc7b]{color:#666;pointer-events:none;gap:8px;font-size:25px;display:flex}.tool-btn[data-v-a6f7cc7b]{color:#666;opacity:.3;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:25px;height:25px;padding:0;transition:opacity .2s;display:inline-flex}.tool-btn[data-v-a6f7cc7b]:hover{opacity:.95}.tools-right[data-v-a6f7cc7b]{pointer-events:none;align-items:center;gap:8px;margin-bottom:4px;display:flex}.presenter-button[data-v-a6f7cc7b]{color:#999;display:inline-flex}.presenter-button[data-v-a6f7cc7b] .button-icon-only.button-small{color:inherit;background:rgba(0,0,0,.28);border-color:rgba(255,255,255,.08);border-radius:4px}.presenter-button[data-v-a6f7cc7b] .button-icon-only.button-small:hover:not([disabled]):not(.button-disabled){color:#ddd;background:rgba(0,0,0,.38);border-color:rgba(255,255,255,.18)}.effect-menu[data-v-a6f7cc7b]{color:#999;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.08);border-radius:4px;height:26px}.effect-menu[data-v-a6f7cc7b]:hover{color:#ddd;background:rgba(0,0,0,.38);border-color:rgba(255,255,255,.18)}.effect-menu-trigger[data-v-a6f7cc7b]{width:136px;padding-left:8px;font-size:12px;line-height:18px}.effect-menu-content{background:rgba(20,20,20,.96)!important;border-radius:6px!important;box-shadow:0 8px 24px rgba(0,0,0,.32)!important}.effect-menu-list{min-width:168px;box-shadow:none!important;background:0 0!important;border-radius:6px!important;padding:4px!important}.effect-menu-list .menu-item{color:#999!important;border-radius:4px!important;height:30px!important}.effect-menu-list .menu-item:hover{color:#ddd!important;background:rgba(255,255,255,.08)!important}.effect-menu-list .menu-item.active{color:#ddd!important;background:rgba(255,255,255,.12)!important}.effect-menu-list .menu-item-text{font-size:12px!important}.page-number[data-v-a6f7cc7b]{color:#666;text-align:center;background:rgba(0,0,0,.28);border-radius:4px;min-width:48px;padding:4px 8px;font-size:13px;line-height:18px} diff --git a/editor/neo-ppt/assets/Screen-e_2r2R5P.js b/editor/neo-ppt/assets/Screen-e_2r2R5P.js new file mode 100644 index 0000000..05363b8 --- /dev/null +++ b/editor/neo-ppt/assets/Screen-e_2r2R5P.js @@ -0,0 +1 @@ +import{At as e,C as t,Et as n,G as r,H as i,K as a,Mt as o,Nt as s,Tt as c,U as l,W as u,Y as d,Z as f,bt as p,ct as m,it as h,kt as g,ot as ee,p as _,vt as v,wt as y,z as b}from"./vue-B11_pI9F.js";import{t as x}from"./_plugin-vue_export-helper-B67ILkmu.js";import{L as te,a as S,v as C}from"./index-jtNAhQeK.js";import{I as ne,a as re,d as ie,et as ae,i as oe,o as se,ot as ce,s as le,t as w}from"./ThumbnailSlide-COLdjDXw.js";import{n as ue,t as T}from"./kimi.button-DiBbOOiZ.js";import{a as E,c as D,i as O,n as de,r as fe,s as k,t as pe}from"./slideTransition-qR4hDwBa.js";import{r as me}from"./menuExclusive-DWJqMbvd.js";import{t as he}from"./PopoverMenu-D6aS9gI3.js";var A=()=>{let e=document.documentElement;return e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen?e.msRequestFullscreen():Promise.resolve()},j=()=>document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?Promise.resolve(document.mozCancelFullScreen()):document.webkitExitFullscreen?Promise.resolve(document.webkitExitFullscreen()):document.msExitFullscreen?Promise.resolve(document.msExitFullscreen()):Promise.resolve(),M=()=>!!(document.fullscreenElement??document.mozFullScreenElement??document.webkitFullscreenElement??document.msFullscreenElement),N=`neo-design-presenter`,P=()=>({left:Math.round(window.screenX+(window.outerWidth-420)/2),top:Math.round(window.screenY+(window.outerHeight-240)/2)}),F=()=>{let{left:e,top:t}=P();return[`popup`,`width=420`,`height=240`,`left=${e}`,`top=${t}`].join(`,`)},I=(e=`about:blank`)=>window.open(e,N,F()),L={class:`slide-container`},R={class:`slide-container`},ge=x(f({__name:`ThumbnailSlideSwitcher`,props:{slide:{},pageWidth:{},pageHeight:{},slideWidth:{},effect:{default:`horizontal-blinds`},chartAnimation:{},interactive:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},getAnimationSession:{type:Function,default:void 0}},emits:[`before-switch`,`after-switch`],setup(e,{emit:t}){let n=e,r=t;function i(e){return e}function a(e){return e===`from`?{enabled:!1}:n.chartAnimation}return(e,t)=>(m(),u(g(k),{class:`thumbnail-slide-switcher`,"switch-key":n.slide.pageId,item:n.slide,effect:n.effect,disabled:n.disabled,onBeforeSwitch:t[0]||(t[0]=e=>r(`before-switch`)),onAfterSwitch:t[1]||(t[1]=e=>r(`after-switch`))},{from:p(({item:e,phase:t})=>[l(`div`,L,[l(`div`,{class:`slide-wrapper`,style:o({width:`${n.slideWidth}px`})},[d(w,{slide:i(e),"page-width":n.pageWidth,"page-height":n.pageHeight,"chart-animation":a(t),interactive:n.interactive,"animation-session":n.getAnimationSession?.(i(e))},null,8,[`slide`,`page-width`,`page-height`,`chart-animation`,`interactive`,`animation-session`])],4)])]),to:p(({item:e,phase:t})=>[l(`div`,R,[l(`div`,{class:`slide-wrapper`,style:o({width:`${n.slideWidth}px`})},[d(w,{slide:i(e),"page-width":n.pageWidth,"page-height":n.pageHeight,"chart-animation":a(t),interactive:n.interactive,"animation-session":n.getAnimationSession?.(i(e))},null,8,[`slide`,`page-width`,`page-height`,`chart-animation`,`interactive`,`animation-session`])],4)])]),_:1},8,[`switch-key`,`item`,`effect`,`disabled`]))}}),[[`__scopeId`,`data-v-8b20498e`]]),_e={class:`tools-left`},ve={key:0,class:`presenter-button`},ye={class:`effect-menu-trigger`},be={class:`page-number`},xe={class:`screen-close-button`},Se=1800,Ce=.75,z=x(f({__name:`Screen`,props:{startIndex:{},currentPageId:{},autoFullscreen:{type:Boolean,default:!0},control:{type:Boolean,default:!0},presenterEntry:{type:Boolean,default:!1}},emits:[`exit`,`page-change`,`presenter`],setup(o,{emit:f}){let x=o,w=f,{pages:k,pageOrder:N,pageSize:P}=ce(),{t:F}=te(),L=ue();ne(`screen`),ie();let R=c(0),z=c(0),B=c(!1),V=c(!1),H=c(!1),U=ae(fe,de,O),W=c(U.value===`random`?je():U.value===`none`?pe:U.value),we=i(()=>[{label:F(E.none),value:`none`},`divider`,...D.map(e=>({label:F(E[e]),value:e})),`divider`,{label:F(E.random),value:`random`}]),Te=i(()=>F(E[U.value])),Ee=i(()=>U.value===`none`),De=i(()=>x.control&&(V.value||H.value)),Oe=i(()=>x.presenterEntry),ke=i(()=>P.value[1]/P.value[0]),Ae=i(()=>Math.min(R.value,z.value/ke.value)),G=c(0),K=!1;x.startIndex>=0&&x.startIndex{U.value!==`none`&&(W.value=U.value===`random`?je():U.value)},{start:Me,stop:Ne}=t(()=>{V.value=!1},Se,{immediate:!1}),Pe=()=>{if(x.control){if(V.value=!0,H.value){Ne();return}Me()}},Fe=e=>{let t=z.value||window.innerHeight;e.clientY{if(e<0||e>=N.value.length||G.value===e)return;q(),G.value=e;let t=N.value[e];t&&w(`page-change`,{pageId:t,index:e})},Le=()=>{let e=N.value[G.value];return e?{pageId:e,index:G.value}:null},J=i(()=>{let e=N.value[G.value];return e?k.value.get(e):void 0}),Re=i(()=>`${G.value+1} / ${N.value.length}`),Y=n(null),X=null,ze=e=>{let t=e?.animations;return t?.length?y(se(t)):null},Z=()=>{let e=Y.value;e&&re(e)},Be=e=>{if(e.pageId===J.value?.pageId)return Y.value??void 0;if(e.pageId===X?.pageId)return X.session};v(()=>J.value?.pageId,(e,t)=>{let n=Y.value;X=t&&n?{pageId:t,session:n}:null,Y.value=ze(e?k.value.get(e):void 0),e&&Ee.value&&h(Z)},{immediate:!0});let Ve=()=>{B.value=!0},He=()=>{B.value=!1,X=null,Z()};_(window,`resize`,()=>{R.value=window.innerWidth,z.value=window.innerHeight}),_(document,`mousemove`,Fe);let Q=()=>{if(B.value)return;let e=Y.value;if(e&&e.states.some(e=>e!==`pending`)){Y.value=y(se(e.animations));return}G.value>0&&Ie(G.value-1)},$=e=>{if(!(e&&e.target.closest(`a`))&&!B.value&&!(Y.value&&le(Y.value))&&!(Y.value&&oe(Y.value))){if(G.value0&&L.info(F(`basic.lastPage`))}},Ue=()=>{M()&&j(),w(`exit`)},We=async()=>{let e=Le();if(!e)return;let t=I();if(K=!0,M())try{await j()}catch{}if(M()){K=!1,t?.close();return}w(`presenter`,e,t),window.setTimeout(()=>{K=!1})};_(document,`keydown`,e=>{let t={ArrowLeft:Q,ArrowUp:Q,ArrowRight:$,ArrowDown:$," ":$,Escape:Ue}[e.key];t&&(e.preventDefault(),t())}),_(document,`fullscreenchange`,()=>{if(!M()){if(K)return;w(`exit`)}});let Ge=e=>{if(!e)return;let t=N.value.indexOf(e);t!==-1&&(G.value!==t&&q(),G.value=t)},Ke=e=>{let t=O(e);t!==U.value&&(U.value=t,q(),S(`msh_nppt_screen_effect_switch`,{effect:t,from:`screen`}))},qe=e=>{if(H.value=e,e){Pe(),Ne();return}Me()};return v(()=>[x.currentPageId,N.value.join(`|`)],([e])=>Ge(e),{immediate:!0}),ee(()=>{R.value=window.innerWidth,z.value=window.innerHeight,h(Z),x.autoFullscreen&&A().then(()=>{S(`msh_nppt_screening`,{type:`fullscreen`,is_success:!0})}).catch(()=>{S(`msh_nppt_screening`,{type:`fullscreen`,is_success:!1,error_reason:`fullscreen_failed`}),L.error(F(`screen.fullscreenFailed`))})}),(t,n)=>(m(),a(`div`,{class:`screen`,onClick:n[4]||(n[4]=e=>$(e))},[J.value?(m(),u(ge,{key:0,slide:J.value,"page-width":g(P)[0],"page-height":g(P)[1],"slide-width":Ae.value,effect:W.value,disabled:Ee.value,"get-animation-session":Be,interactive:``,onBeforeSwitch:Ve,onAfterSwitch:He},null,8,[`slide`,`page-width`,`page-height`,`slide-width`,`effect`,`disabled`])):r(``,!0),o.control&&g(N).length?(m(),a(`div`,{key:1,class:e([`screen-controls`,{"is-visible":De.value}])},[l(`div`,_e,[l(`button`,{type:`button`,class:`tool-btn`,onClick:n[0]||(n[0]=b(e=>Q(),[`stop`]))},[d(g(C),{name:`Left_b`})]),l(`button`,{type:`button`,class:`tool-btn`,onClick:n[1]||(n[1]=b(e=>$(),[`stop`]))},[d(g(C),{name:`Right_b`})])]),l(`div`,{class:`tools-right`,onClick:n[2]||(n[2]=b(()=>{},[`stop`])),onKeydown:n[3]||(n[3]=b(()=>{},[`stop`]))},[Oe.value?(m(),a(`span`,ve,[d(g(T),{type:`icon`,size:`small`,icon:`Local`,tooltip:g(F)(`presenter.mode`),"tooltip-placement":`top`,onClick:b(We,[`stop`])},null,8,[`tooltip`])])):r(``,!0),d(he,{class:`effect-menu`,"content-class":`effect-menu-content`,"float-options":{teleport:!0,placement:`top`,align:`end`,offset:6,withinWindow:!0,zIndex:220},"onUpdate:open":qe},{trigger:p(()=>[l(`span`,ye,s(Te.value),1)]),popover:p(()=>[d(me,{class:`effect-menu-list`,"menu-list":we.value,"active-menu":g(U),onClick:Ke},null,8,[`menu-list`,`active-menu`])]),_:1}),l(`div`,be,s(Re.value),1),l(`div`,xe,[d(g(T),{type:`icon`,icon:`Close`,size:`small`,danger:``,tooltip:g(F)(`topBar.close`),"tooltip-placement":`top-right`,onClick:b(Ue,[`stop`])},null,8,[`tooltip`])])],32)],2)):r(``,!0)]))}}),[[`__scopeId`,`data-v-a6f7cc7b`]]);export{A as i,P as n,I as r,z as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Screen-legacy-BPLZWaTX.js b/editor/neo-ppt/assets/Screen-legacy-BPLZWaTX.js new file mode 100644 index 0000000..c823799 --- /dev/null +++ b/editor/neo-ppt/assets/Screen-legacy-BPLZWaTX.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./slideTransition-legacy-DlaMB_R6.js","./menuExclusive-legacy-CBHfJWDM.js","./PopoverMenu-legacy-CeHE3aHd.js"],function(e,t){var n,a,i,o,l,r,s,c,u,d,p,v,m,f,g,h,b,w,x,y,k,_,F,I,S,z,E,j,C,A,W,H,P,q,B,R,$,M,T,Y,L,U,D,G,K,O,N,X,Z,J,Q,V,ee,te,ne,ae,ie,oe,le,re,se,ce,ue;return{setters:[function(e){n=e.At,a=e.C,i=e.Et,o=e.G,l=e.H,r=e.K,s=e.Mt,c=e.Nt,u=e.Tt,d=e.U,p=e.W,v=e.Y,m=e.Z,f=e.bt,g=e.ct,h=e.it,b=e.kt,w=e.ot,x=e.p,y=e.vt,k=e.wt,_=e.z},function(e){F=e.t},function(e){I=e.L,S=e.a,z=e.v},function(e){E=e.I,j=e.a,C=e.d,A=e.et,W=e.i,H=e.o,P=e.ot,q=e.s,B=e.t},function(e){R=e.n,$=e.t},function(e){M=e.a,T=e.c,Y=e.i,L=e.n,U=e.r,D=e.s,G=e.t},function(e){K=e.r},function(e){O=e.t}],execute:function(){(N=document.createElement("style")).textContent=".thumbnail-slide-switcher[data-v-8b20498e]{width:100%;height:100%}.slide-container[data-v-8b20498e]{background-color:#1d1d1d;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.slide-wrapper[data-v-8b20498e]{max-width:100vw}.screen[data-v-a6f7cc7b]{z-index:200;background-color:#1d1d1d;width:100vw;height:100vh;position:fixed;top:0;left:0}.screen-controls[data-v-a6f7cc7b]{z-index:10;opacity:0;pointer-events:none;justify-content:space-between;align-items:flex-end;transition:opacity .26s,transform .26s;display:flex;position:fixed;bottom:8px;left:8px;right:16px;transform:translateY(4px)}.screen-controls.is-visible[data-v-a6f7cc7b]{opacity:1;transform:translateY(0)}.screen-controls.is-visible .tools-left[data-v-a6f7cc7b],.screen-controls.is-visible .tools-right[data-v-a6f7cc7b]{pointer-events:auto}.tools-left[data-v-a6f7cc7b]{color:#666;pointer-events:none;gap:8px;font-size:25px;display:flex}.tool-btn[data-v-a6f7cc7b]{color:#666;opacity:.3;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:25px;height:25px;padding:0;transition:opacity .2s;display:inline-flex}.tool-btn[data-v-a6f7cc7b]:hover{opacity:.95}.tools-right[data-v-a6f7cc7b]{pointer-events:none;align-items:center;gap:8px;margin-bottom:4px;display:flex}.presenter-button[data-v-a6f7cc7b]{color:#999;display:inline-flex}.presenter-button[data-v-a6f7cc7b] .button-icon-only.button-small{color:inherit;background:rgba(0,0,0,.28);border-color:rgba(255,255,255,.08);border-radius:4px}.presenter-button[data-v-a6f7cc7b] .button-icon-only.button-small:hover:not([disabled]):not(.button-disabled){color:#ddd;background:rgba(0,0,0,.38);border-color:rgba(255,255,255,.18)}.effect-menu[data-v-a6f7cc7b]{color:#999;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.08);border-radius:4px;height:26px}.effect-menu[data-v-a6f7cc7b]:hover{color:#ddd;background:rgba(0,0,0,.38);border-color:rgba(255,255,255,.18)}.effect-menu-trigger[data-v-a6f7cc7b]{width:136px;padding-left:8px;font-size:12px;line-height:18px}.effect-menu-content{background:rgba(20,20,20,.96)!important;border-radius:6px!important;box-shadow:0 8px 24px rgba(0,0,0,.32)!important}.effect-menu-list{min-width:168px;box-shadow:none!important;background:0 0!important;border-radius:6px!important;padding:4px!important}.effect-menu-list .menu-item{color:#999!important;border-radius:4px!important;height:30px!important}.effect-menu-list .menu-item:hover{color:#ddd!important;background:rgba(255,255,255,.08)!important}.effect-menu-list .menu-item.active{color:#ddd!important;background:rgba(255,255,255,.12)!important}.effect-menu-list .menu-item-text{font-size:12px!important}.page-number[data-v-a6f7cc7b]{color:#666;text-align:center;background:rgba(0,0,0,.28);border-radius:4px;min-width:48px;padding:4px 8px;font-size:13px;line-height:18px}\n/*$vite$:1*/",document.head.appendChild(N),e("i",X=()=>{const e=document.documentElement;return e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen?e.msRequestFullscreen():Promise.resolve()}),Z=()=>document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?Promise.resolve(document.mozCancelFullScreen()):document.webkitExitFullscreen?Promise.resolve(document.webkitExitFullscreen()):document.msExitFullscreen?Promise.resolve(document.msExitFullscreen()):Promise.resolve(),J=()=>!!(document.fullscreenElement??document.mozFullScreenElement??document.webkitFullscreenElement??document.msFullscreenElement),e("n",Q=()=>({left:Math.round(window.screenX+(window.outerWidth-420)/2),top:Math.round(window.screenY+(window.outerHeight-240)/2)})),V=()=>{const{left:e,top:t}=Q();return["popup","width=420","height=240",`left=${e}`,`top=${t}`].join(",")},e("r",ee=(e="about:blank")=>window.open(e,"neo-design-presenter",V())),te={class:"slide-container"},ne={class:"slide-container"},ae=m({__name:"ThumbnailSlideSwitcher",props:{slide:{},pageWidth:{},pageHeight:{},slideWidth:{},effect:{default:"horizontal-blinds"},chartAnimation:{},interactive:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},getAnimationSession:{type:Function,default:void 0}},emits:["before-switch","after-switch"],setup(e,{emit:t}){const n=e,a=t;function i(e){return"from"===e?{enabled:!1}:n.chartAnimation}return(e,t)=>(g(),p(b(D),{class:"thumbnail-slide-switcher","switch-key":n.slide.pageId,item:n.slide,effect:n.effect,disabled:n.disabled,onBeforeSwitch:t[0]||(t[0]=e=>a("before-switch")),onAfterSwitch:t[1]||(t[1]=e=>a("after-switch"))},{from:f(({item:e,phase:t})=>[d("div",te,[d("div",{class:"slide-wrapper",style:s({width:`${n.slideWidth}px`})},[v(B,{slide:e,"page-width":n.pageWidth,"page-height":n.pageHeight,"chart-animation":i(t),interactive:n.interactive,"animation-session":n.getAnimationSession?.(e)},null,8,["slide","page-width","page-height","chart-animation","interactive","animation-session"])],4)])]),to:f(({item:e,phase:t})=>[d("div",ne,[d("div",{class:"slide-wrapper",style:s({width:`${n.slideWidth}px`})},[v(B,{slide:e,"page-width":n.pageWidth,"page-height":n.pageHeight,"chart-animation":i(t),interactive:n.interactive,"animation-session":n.getAnimationSession?.(e)},null,8,["slide","page-width","page-height","chart-animation","interactive","animation-session"])],4)])]),_:1},8,["switch-key","item","effect","disabled"]))}}),ie=F(ae,[["__scopeId","data-v-8b20498e"]]),oe={class:"tools-left"},le={key:0,class:"presenter-button"},re={class:"effect-menu-trigger"},se={class:"page-number"},ce={class:"screen-close-button"},ue=m({__name:"Screen",props:{startIndex:{},currentPageId:{},autoFullscreen:{type:Boolean,default:!0},control:{type:Boolean,default:!0},presenterEntry:{type:Boolean,default:!1}},emits:["exit","page-change","presenter"],setup(e,{emit:t}){const s=e,m=t,{pages:F,pageOrder:B,pageSize:D}=P(),{t:N}=I(),Q=R();E("screen"),C();const V=u(0),te=u(0),ne=u(!1),ae=u(!1),ue=u(!1),de=A(U,L,Y),pe=u("random"===de.value?ke():"none"===de.value?G:de.value),ve=l(()=>[{label:N(M.none),value:"none"},"divider",...T.map(e=>({label:N(M[e]),value:e})),"divider",{label:N(M.random),value:"random"}]),me=l(()=>N(M[de.value])),fe=l(()=>"none"===de.value),ge=l(()=>s.control&&(ae.value||ue.value)),he=l(()=>s.presenterEntry),be=l(()=>D.value[1]/D.value[0]),we=l(()=>Math.min(V.value,te.value/be.value)),xe=u(0);let ye=!1;function ke(){return T[Math.floor(Math.random()*T.length)]??"fade"}s.startIndex>=0&&s.startIndex{"none"!==de.value&&(pe.value="random"===de.value?ke():de.value)},{start:Fe,stop:Ie}=a(()=>{ae.value=!1},1800,{immediate:!1}),Se=()=>{s.control&&(ae.value=!0,ue.value?Ie():Fe())},ze=e=>{if(e<0||e>=B.value.length)return;if(xe.value===e)return;_e(),xe.value=e;const t=B.value[e];t&&m("page-change",{pageId:t,index:e})},Ee=l(()=>{const e=B.value[xe.value];return e?F.value.get(e):void 0}),je=l(()=>`${xe.value+1} / ${B.value.length}`),Ce=i(null);let Ae=null;const We=()=>{const e=Ce.value;e&&j(e)},He=e=>e.pageId===Ee.value?.pageId?Ce.value??void 0:e.pageId===Ae?.pageId?Ae.session:void 0;y(()=>Ee.value?.pageId,(e,t)=>{const n=Ce.value;Ae=t&&n?{pageId:t,session:n}:null,Ce.value=(e=>{const t=e?.animations;return t?.length?k(H(t)):null})(e?F.value.get(e):void 0),e&&fe.value&&h(We)},{immediate:!0});const Pe=()=>{ne.value=!0},qe=()=>{ne.value=!1,Ae=null,We()};x(window,"resize",()=>{V.value=window.innerWidth,te.value=window.innerHeight}),x(document,"mousemove",e=>{const t=te.value||window.innerHeight;e.clientY<.75*t||Se()});const Be=()=>{if(ne.value)return;const e=Ce.value;e&&e.states.some(e=>"pending"!==e)?Ce.value=k(H(e.animations)):xe.value>0&&ze(xe.value-1)},Re=e=>{e&&e.target.closest("a")||ne.value||Ce.value&&q(Ce.value)||Ce.value&&W(Ce.value)||(xe.value0&&Q.info(N("basic.lastPage")))},$e=()=>{J()&&Z(),m("exit")},Me=async()=>{const e=(()=>{const e=B.value[xe.value];return e?{pageId:e,index:xe.value}:null})();if(!e)return;const t=ee();if(ye=!0,J())try{await Z()}catch{}if(J())return ye=!1,void t?.close();m("presenter",e,t),window.setTimeout(()=>{ye=!1})};x(document,"keydown",e=>{const t={ArrowLeft:Be,ArrowUp:Be,ArrowRight:Re,ArrowDown:Re," ":Re,Escape:$e}[e.key];t&&(e.preventDefault(),t())}),x(document,"fullscreenchange",()=>{if(!J()){if(ye)return;m("exit")}});const Te=e=>{const t=Y(e);t!==de.value&&(de.value=t,_e(),S("msh_nppt_screen_effect_switch",{effect:t,from:"screen"}))},Ye=e=>{if(ue.value=e,e)return Se(),void Ie();Fe()};return y(()=>[s.currentPageId,B.value.join("|")],([e])=>(e=>{if(!e)return;const t=B.value.indexOf(e);-1!==t&&(xe.value!==t&&_e(),xe.value=t)})(e),{immediate:!0}),w(()=>{V.value=window.innerWidth,te.value=window.innerHeight,h(We),s.autoFullscreen&&X().then(()=>{S("msh_nppt_screening",{type:"fullscreen",is_success:!0})}).catch(()=>{S("msh_nppt_screening",{type:"fullscreen",is_success:!1,error_reason:"fullscreen_failed"}),Q.error(N("screen.fullscreenFailed"))})}),(t,a)=>(g(),r("div",{class:"screen",onClick:a[4]||(a[4]=e=>Re(e))},[Ee.value?(g(),p(ie,{key:0,slide:Ee.value,"page-width":b(D)[0],"page-height":b(D)[1],"slide-width":we.value,effect:pe.value,disabled:fe.value,"get-animation-session":He,interactive:"",onBeforeSwitch:Pe,onAfterSwitch:qe},null,8,["slide","page-width","page-height","slide-width","effect","disabled"])):o("",!0),e.control&&b(B).length?(g(),r("div",{key:1,class:n(["screen-controls",{"is-visible":ge.value}])},[d("div",oe,[d("button",{type:"button",class:"tool-btn",onClick:a[0]||(a[0]=_(e=>Be(),["stop"]))},[v(b(z),{name:"Left_b"})]),d("button",{type:"button",class:"tool-btn",onClick:a[1]||(a[1]=_(e=>Re(),["stop"]))},[v(b(z),{name:"Right_b"})])]),d("div",{class:"tools-right",onClick:a[2]||(a[2]=_(()=>{},["stop"])),onKeydown:a[3]||(a[3]=_(()=>{},["stop"]))},[he.value?(g(),r("span",le,[v(b($),{type:"icon",size:"small",icon:"Local",tooltip:b(N)("presenter.mode"),"tooltip-placement":"top",onClick:_(Me,["stop"])},null,8,["tooltip"])])):o("",!0),v(O,{class:"effect-menu","content-class":"effect-menu-content","float-options":{teleport:!0,placement:"top",align:"end",offset:6,withinWindow:!0,zIndex:220},"onUpdate:open":Ye},{trigger:f(()=>[d("span",re,c(me.value),1)]),popover:f(()=>[v(K,{class:"effect-menu-list","menu-list":ve.value,"active-menu":b(de),onClick:Te},null,8,["menu-list","active-menu"])]),_:1}),d("div",se,c(je.value),1),d("div",ce,[v(b($),{type:"icon",icon:"Close",size:"small",danger:"",tooltip:b(N)("topBar.close"),"tooltip-placement":"top-right",onClick:_($e,["stop"])},null,8,["tooltip"])])],32)],2)):o("",!0)]))}}),e("t",F(ue,[["__scopeId","data-v-a6f7cc7b"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/SelectMenu-CDF5hVie.css b/editor/neo-ppt/assets/SelectMenu-CDF5hVie.css new file mode 100644 index 0000000..259dfdb --- /dev/null +++ b/editor/neo-ppt/assets/SelectMenu-CDF5hVie.css @@ -0,0 +1 @@ +.menu-select[data-v-4c23e34a]{cursor:pointer;user-select:none;border-radius:6px;align-items:center;height:28px;display:inline-flex;position:relative}.menu-select[data-v-4c23e34a]:hover,.menu-select.is-active[data-v-4c23e34a]{background:var(--Fills-F1)}.menu-select.is-active[data-v-4c23e34a]:hover{background:var(--Fills-F1-hover)}.menu-select.is-keep-highlight[data-v-4c23e34a]{background:var(--Fills-F1)}.menu-select.is-keep-highlight[data-v-4c23e34a]:hover,.menu-select.is-keep-highlight.is-active[data-v-4c23e34a]{background:var(--Fills-F1-hover)}.menu-select.is-keep-highlight.is-active[data-v-4c23e34a]:hover{background:var(--Fills-F1-active)}.menu-select.disabled[data-v-4c23e34a]{opacity:.35;cursor:not-allowed}.menu-select.disabled[data-v-4c23e34a]:hover{background:0 0}.menu-select-menu[data-v-4c23e34a]{top:var(--menu-top-margin,28px);bottom:var(--menu-bottom-margin,auto);z-index:1000;white-space:nowrap;min-width:max-content;max-height:172px;position:absolute;left:50%;overflow:auto;transform:translate(-50%,20px)}.menu-select-menu[data-v-4c23e34a]::-webkit-scrollbar-track{margin:8px 0}.menu-select-menu.is-floating[data-v-4c23e34a]{position:static;top:auto;bottom:auto;left:auto;transform:none}.menu-select-title[data-v-4c23e34a]{color:var(--Labels-Primary);align-items:center;padding:4px 6px;font-size:14px;display:flex}.menu-select-title-text.max-width[data-v-4c23e34a]{text-overflow:ellipsis;overflow:hidden}.menu-select-title-icon[data-v-4c23e34a]{margin-right:-10px}.menu-select-title-caret[data-v-4c23e34a]{margin-left:10px} diff --git a/editor/neo-ppt/assets/SelectMenu-J2_ZM6vn.js b/editor/neo-ppt/assets/SelectMenu-J2_ZM6vn.js new file mode 100644 index 0000000..4a8ff15 --- /dev/null +++ b/editor/neo-ppt/assets/SelectMenu-J2_ZM6vn.js @@ -0,0 +1 @@ +import{At as e,H as t,K as n,Mt as r,Nt as i,Tt as a,U as o,W as s,Y as c,Z as l,bt as u,ct as d,dt as f,kt as p,p as m,q as h,vt as g}from"./vue-B11_pI9F.js";import{t as _}from"./_plugin-vue_export-helper-B67ILkmu.js";import{v}from"./index-jtNAhQeK.js";import{r as y}from"./dom-CWEl93tC.js";import{i as b,n as x,r as S,t as C}from"./menuExclusive-DWJqMbvd.js";var w=_(l({__name:`SelectMenu`,props:{menuList:{},activeMenu:{},tooltip:{},maxWidth:{},keepHighlight:{type:Boolean},scrollIntoView:{type:Boolean},icon:{},floatOptions:{},disabled:{type:Boolean}},emits:[`click`],setup(l,{emit:_}){let w=l,T=_,E=a(),D=a(),O=a(!1),{notifyOpen:k}=C(()=>{O.value=!1}),A=e=>{T(`click`,e),O.value=!1};m(document,`click`,e=>{w.floatOptions?.teleport||E.value&&!E.value.contains(e.target)&&(O.value=!1)});let j=t(()=>w.menuList.find(e=>e!==`divider`&&e.value===w.activeMenu));return m(window,`keydown`,e=>{O.value&&e.key===`Escape`&&(O.value=!1)}),g(O,e=>{e&&k()}),(t,a)=>(d(),n(`div`,{ref_key:`menuSelectRef`,ref:E,class:e([`menu-select`,{"is-active":O.value,"is-keep-highlight":l.keepHighlight,disabled:l.disabled}])},[c(p(y),{content:l.tooltip,placement:`top`,disabled:!l.tooltip},{trigger:u(()=>[o(`div`,{ref_key:`menuTriggerRef`,ref:D,class:`menu-select-title`,onClick:a[0]||(a[0]=e=>!l.disabled&&(O.value=!O.value))},[f(t.$slots,`label`,{},()=>[l.icon?(d(),s(p(v),{key:0,class:`menu-select-title-icon`,name:l.icon,width:`20`,height:`20`},null,8,[`name`])):p(b)(j.value)?(d(),s(p(v),{key:1,class:`menu-select-title-icon`,name:j.value.name,width:`20`,height:`20`},null,8,[`name`])):(d(),n(`span`,{key:2,class:e([`menu-select-title-text`,{"max-width":w.maxWidth}]),style:r({maxWidth:w.maxWidth})},i(j.value?.label),7))],!0),c(p(v),{class:`menu-select-title-caret`,name:`Down_b`,width:`12`,height:`12`})],512)]),_:3},8,[`content`,`disabled`]),c(x,{open:O.value,"onUpdate:open":a[1]||(a[1]=e=>O.value=e),"trigger-el":D.value,options:l.floatOptions},{default:u(()=>[c(S,{class:e([`menu-select-menu auto-rtl`,{"is-floating":l.floatOptions?.teleport}]),style:r(l.floatOptions?.matchTriggerWidth?{width:`100%`,boxSizing:`border-box`}:void 0),"menu-list":l.menuList,"active-menu":l.activeMenu,"scroll-into-view":l.scrollIntoView,disabled:l.disabled,onClick:A},h({extra:u(()=>[f(t.$slots,`extra`,{},void 0,!0)]),_:2},[t.$slots.item?{name:`default`,fn:u(({item:e,index:n})=>[f(t.$slots,`item`,{item:e,index:n},void 0,!0)]),key:`0`}:void 0]),1032,[`class`,`style`,`menu-list`,`active-menu`,`scroll-into-view`,`disabled`])]),_:3},8,[`open`,`trigger-el`,`options`])],2))}}),[[`__scopeId`,`data-v-4c23e34a`]]);export{w as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/SelectMenu-legacy-D9yVQIy2.js b/editor/neo-ppt/assets/SelectMenu-legacy-D9yVQIy2.js new file mode 100644 index 0000000..18f3987 --- /dev/null +++ b/editor/neo-ppt/assets/SelectMenu-legacy-D9yVQIy2.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./dom-legacy-D-syBzLK.js","./menuExclusive-legacy-CBHfJWDM.js"],function(e,t){var a,i,l,n,o,s,c,u,r,d,m,v,p,g,h,f,x,b,k,y,w,_,F,O,W,$;return{setters:[function(e){a=e.At,i=e.H,l=e.K,n=e.Mt,o=e.Nt,s=e.Tt,c=e.U,u=e.W,r=e.Y,d=e.Z,m=e.bt,v=e.ct,p=e.dt,g=e.kt,h=e.p,f=e.q,x=e.vt},function(e){b=e.t},function(e){k=e.v},function(e){y=e.r},function(e){w=e.i,_=e.n,F=e.r,O=e.t}],execute:function(){(W=document.createElement("style")).textContent=".menu-select[data-v-4c23e34a]{cursor:pointer;user-select:none;border-radius:6px;align-items:center;height:28px;display:inline-flex;position:relative}.menu-select[data-v-4c23e34a]:hover,.menu-select.is-active[data-v-4c23e34a]{background:var(--Fills-F1)}.menu-select.is-active[data-v-4c23e34a]:hover{background:var(--Fills-F1-hover)}.menu-select.is-keep-highlight[data-v-4c23e34a]{background:var(--Fills-F1)}.menu-select.is-keep-highlight[data-v-4c23e34a]:hover,.menu-select.is-keep-highlight.is-active[data-v-4c23e34a]{background:var(--Fills-F1-hover)}.menu-select.is-keep-highlight.is-active[data-v-4c23e34a]:hover{background:var(--Fills-F1-active)}.menu-select.disabled[data-v-4c23e34a]{opacity:.35;cursor:not-allowed}.menu-select.disabled[data-v-4c23e34a]:hover{background:0 0}.menu-select-menu[data-v-4c23e34a]{top:var(--menu-top-margin,28px);bottom:var(--menu-bottom-margin,auto);z-index:1000;white-space:nowrap;min-width:max-content;max-height:172px;position:absolute;left:50%;overflow:auto;transform:translate(-50%,20px)}.menu-select-menu[data-v-4c23e34a]::-webkit-scrollbar-track{margin:8px 0}.menu-select-menu.is-floating[data-v-4c23e34a]{position:static;top:auto;bottom:auto;left:auto;transform:none}.menu-select-title[data-v-4c23e34a]{color:var(--Labels-Primary);align-items:center;padding:4px 6px;font-size:14px;display:flex}.menu-select-title-text.max-width[data-v-4c23e34a]{text-overflow:ellipsis;overflow:hidden}.menu-select-title-icon[data-v-4c23e34a]{margin-right:-10px}.menu-select-title-caret[data-v-4c23e34a]{margin-left:10px}\n/*$vite$:1*/",document.head.appendChild(W),$=d({__name:"SelectMenu",props:{menuList:{},activeMenu:{},tooltip:{},maxWidth:{},keepHighlight:{type:Boolean},scrollIntoView:{type:Boolean},icon:{},floatOptions:{},disabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const d=e,b=t,W=s(),$=s(),j=s(!1),{notifyOpen:M}=O(()=>{j.value=!1}),C=e=>{b("click",e),j.value=!1};h(document,"click",e=>{d.floatOptions?.teleport||W.value&&!W.value.contains(e.target)&&(j.value=!1)});const E=i(()=>d.menuList.find(e=>"divider"!==e&&e.value===d.activeMenu));return h(window,"keydown",e=>{j.value&&"Escape"===e.key&&(j.value=!1)}),x(j,e=>{e&&M()}),(t,i)=>(v(),l("div",{ref_key:"menuSelectRef",ref:W,class:a(["menu-select",{"is-active":j.value,"is-keep-highlight":e.keepHighlight,disabled:e.disabled}])},[r(g(y),{content:e.tooltip,placement:"top",disabled:!e.tooltip},{trigger:m(()=>[c("div",{ref_key:"menuTriggerRef",ref:$,class:"menu-select-title",onClick:i[0]||(i[0]=t=>!e.disabled&&(j.value=!j.value))},[p(t.$slots,"label",{},()=>[e.icon?(v(),u(g(k),{key:0,class:"menu-select-title-icon",name:e.icon,width:"20",height:"20"},null,8,["name"])):g(w)(E.value)?(v(),u(g(k),{key:1,class:"menu-select-title-icon",name:E.value.name,width:"20",height:"20"},null,8,["name"])):(v(),l("span",{key:2,class:a(["menu-select-title-text",{"max-width":d.maxWidth}]),style:n({maxWidth:d.maxWidth})},o(E.value?.label),7))],!0),r(g(k),{class:"menu-select-title-caret",name:"Down_b",width:"12",height:"12"})],512)]),_:3},8,["content","disabled"]),r(_,{open:j.value,"onUpdate:open":i[1]||(i[1]=e=>j.value=e),"trigger-el":$.value,options:e.floatOptions},{default:m(()=>[r(F,{class:a(["menu-select-menu auto-rtl",{"is-floating":e.floatOptions?.teleport}]),style:n(e.floatOptions?.matchTriggerWidth?{width:"100%",boxSizing:"border-box"}:void 0),"menu-list":e.menuList,"active-menu":e.activeMenu,"scroll-into-view":e.scrollIntoView,disabled:e.disabled,onClick:C},f({extra:m(()=>[p(t.$slots,"extra",{},void 0,!0)]),_:2},[t.$slots.item?{name:"default",fn:m(({item:e,index:a})=>[p(t.$slots,"item",{item:e,index:a},void 0,!0)]),key:"0"}:void 0]),1032,["class","style","menu-list","active-menu","scroll-into-view","disabled"])]),_:3},8,["open","trigger-el","options"])],2))}}),e("t",b($,[["__scopeId","data-v-4c23e34a"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Share-DuY2ogPU.js b/editor/neo-ppt/assets/Share-DuY2ogPU.js new file mode 100644 index 0000000..4922d33 --- /dev/null +++ b/editor/neo-ppt/assets/Share-DuY2ogPU.js @@ -0,0 +1,7 @@ +import{i as e}from"./rolldown-runtime-DWdDZTNf.js";import{At as t,B as n,Et as r,G as i,H as a,I as o,J as s,K as c,Mt as ee,Nt as l,Tt as u,U as d,W as f,Y as p,Z as m,bt as h,ct as g,it as _,j as te,jt as v,k as y,kt as b,mt as x,ot as S,p as ne,rt as C,st as w,ut as T,vt as E,wt as D,xt as re,y as O,z as k}from"./vue-B11_pI9F.js";import{b as A,n as ie,t as j,x as M}from"./const-BjfH-jZe.js";import{t as N}from"./_plugin-vue_export-helper-B67ILkmu.js";import{a as P,s as F}from"./kimi-DRwOD7EI.js";import{h as ae,t as oe}from"./useMessage-Cpv2N0cC.js";import{L as I,a as L,b as R,l as se,n as ce}from"./index-jtNAhQeK.js";import{ot as le,t as ue}from"./ThumbnailSlide-COLdjDXw.js";import{t as z}from"./kimi.button-DiBbOOiZ.js";import{t as B}from"./dayjs.min-BoSdjn8v.js";import{t as de}from"./dom-CWEl93tC.js";import{t as fe}from"./Loading-DTHKpUX9.js";import{t as pe}from"./Screen-e_2r2R5P.js";import{t as me}from"./usePPTDTitle-senR0KSa.js";var V=[`src`],H=[`min`,`max`],U=72,he=N(m({__name:`Lightbox`,props:{src:{},component:{},componentProps:{},aspectRatio:{},padding:{default:48},minScale:{default:.5},maxScale:{default:5}},emits:[`close`,`navigate`],setup(e,{emit:n}){let s=e,l=n,p=r(!1),m=u(1),{width:_,height:y}=O(),b=u(),w=a(()=>s.aspectRatio??b.value),T=a(()=>{let e=Math.max(_.value-s.padding*2,0),t=Math.max(y.value-s.padding*2-U,0),n=w.value;if(!n)return{width:e,height:t};let r=Math.min(e,t*n);return{width:r,height:r/n}}),E=u(),D=a(()=>({x:_.value/2,y:(y.value-U)/2})),A=a(()=>E.value??D.value),ie=a(()=>({width:`${T.value.width}px`,height:`${T.value.height}px`,left:`${A.value.x-T.value.width/2}px`,top:`${A.value.y-T.value.height/2}px`,transform:`scale(${m.value})`})),j=(e,t)=>{let n=Math.min(Math.max(e,s.minScale),s.maxScale);if(n===m.value)return;let r=n/m.value;E.value={x:t.x-(t.x-A.value.x)*r,y:t.y-(t.y-A.value.y)*r},m.value=n},M=e=>{let t=(e.ctrlKey?1.01:1.0015)**-e.deltaY;j(m.value*t,{x:e.clientX,y:e.clientY})},N=a({get:()=>m.value,set:e=>j(e,D.value)}),P=u(!1),F=null,ae=e=>{e.button===0&&(P.value=!0,F={x:e.clientX,y:e.clientY,center:A.value},e.currentTarget.setPointerCapture(e.pointerId))},oe=e=>{F&&(E.value={x:F.center.x+e.clientX-F.x,y:F.center.y+e.clientY-F.y})},I=()=>{F=null,P.value=!1},L=e=>{let t=e.target;t.naturalWidth&&t.naturalHeight&&(b.value=t.naturalWidth/t.naturalHeight)},R=()=>{p.value=!1,setTimeout(()=>l(`close`),225)};return ne(document,`keydown`,e=>{e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),R()):e.key===`ArrowLeft`||e.key===`ArrowUp`?(e.preventDefault(),e.stopPropagation(),l(`navigate`,-1)):(e.key===`ArrowRight`||e.key===`ArrowDown`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),l(`navigate`,1))},!0),S(()=>{p.value=!0}),(n,r)=>(g(),f(te,{name:`fade`},{default:h(()=>[p.value?(g(),c(`div`,{key:0,class:`lightbox-mask`,onWheel:k(M,[`prevent`]),onClick:k(R,[`self`])},[d(`div`,{class:t([`lightbox-stage`,{dragging:P.value}]),style:ee(ie.value),onPointerdown:ae,onPointermove:oe,onPointerup:I,onPointercancel:I},[e.src?(g(),c(`img`,{key:0,class:t([`lightbox-image`,{ready:w.value}]),src:e.src,draggable:`false`,onLoad:L},null,42,V)):e.component?(g(),f(x(e.component),v(C({key:1},e.componentProps)),null,16)):i(``,!0)],38),d(`div`,{class:`lightbox-toolbar`,onClick:r[1]||(r[1]=k(()=>{},[`stop`]))},[re(d(`input`,{"onUpdate:modelValue":r[0]||(r[0]=e=>N.value=e),class:`lightbox-slider`,type:`range`,min:e.minScale,max:e.maxScale,step:`0.01`},null,8,H),[[o,N.value,void 0,{number:!0}]])])],32)):i(``,!0)]),_:1}))}}),[[`__scopeId`,`data-v-1f51c9f5`]]),ge=(e={})=>{let{showModal:t}=R(e);return{showLightbox:async e=>await t({component:he,props:e,immediate:!0})}},_e=e(B(),1),ve=e=>{let{pageOrder:t,slideIndex:n,onFullscreen:r}=e,i=i=>{if(t.value.length===0)return;let a=i.key;a===`ArrowDown`||a===`ArrowRight`||a===` `?(n.value0&&(n.value--,e.scrollTo?.()),i.preventDefault()):a===`F5`&&(i.preventDefault(),r?.())};S(()=>{document.addEventListener(`keydown`,i)}),w(()=>{document.removeEventListener(`keydown`,i)})},ye=e=>{let{pageOrder:t,slideIndex:n}=e,r=u(!1),i=u(!0),a=()=>{if(t.value.length===0)return;let e=document.querySelectorAll(`[data-slide-index]`),r=window.scrollY+window.innerHeight/2,i=n.value,a=1/0;e.forEach(e=>{let t=e.getBoundingClientRect(),n=window.scrollY+t.top+t.height/2,o=Math.abs(n-r),s=Number(e.getAttribute(`data-slide-index`));o{i.value&&(r.value=!0,clearTimeout(o),o=setTimeout(()=>{a(),r.value=!1},120))};return S(()=>{window.addEventListener(`scroll`,s)}),w(()=>{window.removeEventListener(`scroll`,s),clearTimeout(o)}),{enableSync:i,isUserScrolling:r}},be=` + + +`,xe=` + + +`,Se={key:0,class:`top-bar`},Ce={class:`top-bar-left`},we=[`href`],Te=[`innerHTML`],Ee={class:`slides-home-name`},De=[`innerHTML`],Oe={key:0,class:`top-bar-title`},ke={class:`top-bar-desc`},Ae=[`href`],je=[`href`],Me=[`href`],Ne=[`href`],Pe={key:1,class:`info-content`},Fe={key:1,class:`invalid-content`},Ie=[`href`],W=N(m({__name:`Share`,setup(e){let{t:r}=I(),o=oe(),{showLightbox:m}=ge(),{importFSJSON:te,meta:v,pages:x,pageOrder:C,pageSize:w}=le(),{setPPTDTitle:re}=me(),O=u(!0),k=u(!0),N=u(!1),R=se(P),B=y(),V=(e=>e===`https://slides.kimi.link`?j:e===`https://slides.kimi.page`?ie:e)(location.origin),H=u(F.PPTD),U=a(()=>H.value===F.PPTD),he=a(()=>U.value?`PPT`:`ImageCreate`),W=a(()=>typeof B.params.id==`string`?B.params.id:void 0),Le=a(()=>H.value===F.DESIGN?`Design`:r(`common.nameEN`)),Re=a(()=>H.value===F.DESIGN?r(`share.createDesign`):r(`share.create`)),G=a(()=>{let e=H.value===F.DESIGN?`design`:`slides`;return A?`${V}/${e}`:`${location.origin}/${e}`}),ze=a(()=>B.query.raw!==void 0),Be=a(()=>`${V}/report?reportUrl=${encodeURIComponent(location.href)}`),K=u(``),Ve=a(()=>K.value?`${r(`share.updateTime`)}${K.value}`:``),He=a(()=>w.value[1]/w.value[0]),q=u(0),{enableSync:J}=ye({pageOrder:C,slideIndex:q}),Y=u({}),Ue=u(null),We=e=>{let t=C.value[e];t&&(Ue.value=t,Y.value={...Y.value,[t]:(Y.value[t]??0)+1})},Ge=(e,t)=>({enabled:Ue.value===e&&q.value===t,replayKey:Y.value[e]??0}),Ke=()=>{L(`msh_nppt_share_visit_screening`,{share_id:W.value}),N.value=!0},qe=e=>{e.stopPropagation(),Ke()},X=async()=>{J.value=!1,de(document.querySelector(`[data-slide-index="${q.value}"]`)??void 0,{pos:U.value?`center`:`start`}),await new Promise(e=>setTimeout(e,100)),J.value=!0},Je=e=>{let t=C.value[e],n=t?x.value.get(t):void 0;if(!n)return;let r=D({slide:n,pageWidth:w.value[0],pageHeight:w.value[1]});m({component:ue,componentProps:r,aspectRatio:w.value[0]/w.value[1],onNavigate:e=>{let t=q.value+e,n=C.value[t],i=n?x.value.get(n):void 0;i&&(q.value=t,r.slide=i,X())}})},Ye=e=>{q.value=e,X(),H.value===F.DESIGN&&Je(e)};ve({pageOrder:C,slideIndex:q,onFullscreen:Ke,scrollTo:X});let Z=0,Q=()=>{!U.value||Z||M||(Z=requestAnimationFrame(()=>{Z=0;let e=document.querySelectorAll(`.slide`),t=window.innerHeight/2,n=window.innerHeight*.2,r=window.innerHeight*.5;e.forEach(e=>{let i=e.getBoundingClientRect(),a=i.top+i.height/2,o=Math.abs(a-t),s=1-Math.min(Math.max((o-n)/(r-n),0),1)*.01;e.style.scale=`${s}`})}))},Xe=async()=>{if(!W.value){k.value=!1,O.value=!1;return}if(!A){o.error(r(`share.linkError`)),k.value=!1,O.value=!1;return}try{let e=await R.getSlidesShare({shareId:W.value});if(!e.payloadUrl)throw Error(`invalid share`);let t=await fetch(e.payloadUrl);if(!t.ok)throw Error(`failed to fetch share payload: ${t.status}`);te(await t.json()),H.value=e.type,e.shareTime&&(K.value=(0,_e.default)(ae(e.shareTime)).format(`YYYY-MM-DD HH:mm`))}catch(e){ce(e),k.value=!1}finally{O.value=!1,await _(),Q()}},$=e=>{L(`msh_nppt_share_visit_home`,{share_id:W.value,from:e})};return E(()=>v.value.title,e=>re(e),{immediate:!0}),E(q,We),ne(`scroll`,Q),S(async()=>{L(`msh_nppt_share_visit_pv`,{share_id:W.value}),await Xe(),X()}),(e,a)=>N.value?(g(),f(pe,{key:0,"start-index":q.value,onExit:a[0]||(a[0]=e=>N.value=!1)},null,8,[`start-index`])):(g(),c(`div`,{key:1,class:t([`share-page`,{raw:ze.value,pptd:U.value}])},[ze.value?i(``,!0):(g(),c(`div`,Se,[d(`div`,Ce,[d(`a`,{class:`slides-home`,href:G.value,onClick:a[1]||(a[1]=e=>$(`home`))},[a[5]||(a[5]=d(`img`,{class:`logo`,src:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAAAjBAMAAAB7pgmwAAAAMFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABaPxwLAAAAEHRSTlPlAB1WqslzOY8O14ErumVHuHNhDQAAAfJJREFUOMt91c1OU1EQwPG/tFihUhgkQGm1NKZxZWITNybGyBtcXbugie5hdWPiQpbubOJKY1LeABIfQBdGwwreoLwBvAFnziygZ87lpB/TOfPL3PTOaQmrL7a+AU2RHsyHT6/RdWZb2+i6K7IKbN9A7VPgQOTBTbRgexdV6CdwTxK0bHufK9BqoY1S1DR0WoEGsWQG/YIlu3LgvUfWaDSLXgFjTW0A/zNoYO1n0EtgX1MdWNz0yBolaDjBcmtQzyBrlKLw3NHUCrQ8skYO7cKhpvag4ZE1cigU39fUFO441J1oI4++Qkss3nHoBKiJR2s2IzKB4xTFRsMM6ljY1a8+RdYog3q6GzOME/TYGmVQ2zY2dZwSFEd4lENSwLHIQ2gmyNZSP4eO4jEMVctZxLscegYL8QjO5VD+PmmPhmi/Nx7V43kbe7QV0jE88Gg41de3DmllXUQrHKpJtyCUXjr0CBbjEfzj0FDkKYRkimwW1lUmyIbhSKMvKdKpO9cj6NC5lq5rNN9Pkc73FrQcstv6V8P6iwRN4fA3NPLIDi8kaA/mFFYg+ZFD36Gml1iFZNch+x0qYFSJNgqPOsS1X4lk4FHP0LgayQeH2jabcguS55ME2f9FM0FlWV6bkAyPsvwUon9lqWP/pAzro+7YW/i0cgXm+ovFEUe3UwAAAABJRU5ErkJggg==`,alt:`Kimi`},null,-1)),d(`span`,{class:`slides-home-icon`,"aria-hidden":`true`,innerHTML:b(be)},null,8,Te),d(`span`,Ee,l(Le.value),1),d(`span`,{class:`slides-home-icon`,"aria-hidden":`true`,innerHTML:b(xe)},null,8,De)],8,we),k.value?(g(),c(`div`,Oe,l(b(v).title),1)):i(``,!0)]),!O.value&&k.value?(g(),c(`div`,{key:0,class:t([`top-bar-right`,{small:b(M)}])},[d(`div`,ke,l(Ve.value),1),b(M)?(g(),c(n,{key:0},[d(`a`,{href:Be.value,target:`_blank`,rel:`noopener noreferrer`},[p(b(z),{type:`icon`,icon:`Message`})],8,Ae),p(b(z),{class:`btn-play`,type:`icon`,icon:`Play`,onClick:qe}),d(`a`,{href:G.value,target:`_blank`,onClick:a[2]||(a[2]=e=>$(`create`))},[p(b(z),{icon:`PPT`,type:`primary`},{default:h(()=>[s(l(Le.value),1)]),_:1})],8,je)],64)):(g(),c(n,{key:1},[d(`a`,{href:Be.value,target:`_blank`,rel:`noopener noreferrer`},[p(b(z),{type:`icon`,icon:`Message`,tooltip:b(r)(`share.report`),"tooltip-placement":`bottom`},null,8,[`tooltip`])],8,Me),p(b(z),{class:`btn-play`,type:`secondary`,icon:`Play`,onClick:qe},{default:h(()=>[s(l(b(r)(`basic.screen`)),1)]),_:1}),d(`a`,{href:G.value,target:`_blank`,onClick:a[3]||(a[3]=e=>$(`create`))},[p(b(z),{icon:he.value,type:`primary`},{default:h(()=>[s(l(Re.value),1)]),_:1},8,[`icon`])],8,Ne)],64))],2)):i(``,!0)])),O.value||!k.value?(g(),c(`div`,Pe,[O.value?(g(),f(fe,{key:0,class:`loading-icon`})):k.value?i(``,!0):(g(),c(`div`,Fe,[a[6]||(a[6]=d(`img`,{src:`./invalid-K3otyC6h.png`},null,-1)),d(`div`,null,l(b(r)(`share.linkInvalid`)),1),d(`a`,{href:G.value,onClick:a[4]||(a[4]=e=>$(`invalid`))},[p(b(z),{type:`primary`,icon:`PPT`},{default:h(()=>[s(l(Re.value),1)]),_:1})],8,Ie)]))])):(g(),c(`div`,{key:2,class:`slides`,style:ee({"--pageWidth":`${b(w)[0]}px`,"--viewportRatio":He.value})},[(g(!0),c(n,null,T(b(C),(e,r)=>(g(),c(n,{key:e},[b(x).get(e)?(g(),f(ue,{key:0,class:t([`slide`,{current:U.value&&q.value===r}]),"data-slide-index":r,slide:b(x).get(e),"page-width":b(w)[0],"page-height":b(w)[1],"chart-animation":Ge(e,r),"interactive-element-types":[`chart`],onClick:e=>Ye(r)},null,8,[`class`,`data-slide-index`,`slide`,`page-width`,`page-height`,`chart-animation`,`onClick`])):i(``,!0)],64))),128))],4))],2))}}),[[`__scopeId`,`data-v-e7603675`]]);export{W as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Share-legacy-d-Bdk4fN.js b/editor/neo-ppt/assets/Share-legacy-d-Bdk4fN.js new file mode 100644 index 0000000..4769df4 --- /dev/null +++ b/editor/neo-ppt/assets/Share-legacy-d-Bdk4fN.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js","./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./kimi-legacy-KFfRFtSB.js","./useMessage-legacy-BwPIj8SG.js","./index-legacy-Ce-qKpT_.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./dayjs.min-legacy-Ca-t_sOd.js","./dom-legacy-D-syBzLK.js","./Loading-legacy-B5EqNNsc.js","./Screen-legacy-BPLZWaTX.js","./usePPTDTitle-legacy-BtadEyXI.js"],function(e,a){var t,i,l,n,o,r,s,d,c,p,v,u,h,g,m,f,x,b,w,y,A,k,P,L,S,T,C,E,M,_,j,H,D,B,Y,N,U,F,I,z,R,O,K,W,Q,G,$,V,Z,q,J,X,ee,ae,te,ie,le,ne,oe,re,se,de,ce,pe,ve,ue,he,ge,me,fe,xe,be,we,ye,Ae,ke,Pe,Le,Se;return{setters:[function(e){t=e.i},function(e){i=e.At,l=e.B,n=e.Et,o=e.G,r=e.H,s=e.I,d=e.J,c=e.K,p=e.Mt,v=e.Nt,u=e.Tt,h=e.U,g=e.W,m=e.Y,f=e.Z,x=e.bt,b=e.ct,w=e.it,y=e.j,A=e.jt,k=e.k,P=e.kt,L=e.mt,S=e.ot,T=e.p,C=e.rt,E=e.st,M=e.ut,_=e.vt,j=e.wt,H=e.xt,D=e.y,B=e.z},function(e){e.a,Y=e.b,e.i,N=e.n,U=e.t,F=e.x},function(e){I=e.t},function(e){z=e.a,R=e.s},function(e){O=e.h,K=e.t},function(e){W=e.L,Q=e.a,G=e.b,$=e.l,V=e.n},function(e){Z=e.ot,q=e.t},function(e){J=e.t},function(e){X=e.t},function(e){ee=e.t},function(e){ae=e.t},function(e){te=e.t},function(e){ie=e.t}],execute:function(){(le=document.createElement("style")).textContent=".lightbox-mask[data-v-1f51c9f5]{backdrop-filter:blur(2px);z-index:1000;background:rgba(0,0,0,.75);width:100vw;height:100vh;position:fixed;top:0;left:0;overflow:hidden}.lightbox-stage[data-v-1f51c9f5]{cursor:grab;touch-action:none;user-select:none;position:absolute}.lightbox-stage.dragging[data-v-1f51c9f5]{cursor:grabbing}.lightbox-image[data-v-1f51c9f5]{visibility:hidden;pointer-events:none;width:100%;height:100%;display:block}.lightbox-image.ready[data-v-1f51c9f5]{visibility:visible}.lightbox-toolbar[data-v-1f51c9f5]{backdrop-filter:blur(10px);background:rgba(255,255,255,.12);border-radius:12px;align-items:center;padding:12px 16px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.lightbox-slider[data-v-1f51c9f5]{-webkit-appearance:none;appearance:none;background:rgba(255,255,255,.3);border-radius:2px;outline:none;width:200px;height:4px}.lightbox-slider[data-v-1f51c9f5]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;cursor:pointer;background:#fff;border-radius:50%;width:14px;height:14px}.lightbox-slider[data-v-1f51c9f5]::-moz-range-thumb{cursor:pointer;background:#fff;border:none;border-radius:50%;width:14px;height:14px}.fade-enter-active[data-v-1f51c9f5],.fade-leave-active[data-v-1f51c9f5]{transition:opacity .225s cubic-bezier(.4,0,.2,1)}.fade-enter-from[data-v-1f51c9f5],.fade-leave-to[data-v-1f51c9f5]{opacity:0}html,body{background:var(--Bg-Secondary,#f5f5f5);height:auto;min-height:100vh;overflow-y:auto}::-webkit-scrollbar{width:0}.share-page[data-v-e7603675]{box-sizing:border-box;--top-bar-height:52px;width:100vw;min-height:100vh;padding-bottom:30px}.share-page.raw[data-v-e7603675]{--top-bar-height:0px}.top-bar[data-v-e7603675]{width:100vw;height:var(--top-bar-height,52px);box-sizing:border-box;background:var(--Bg-Primary-90,rgba(255,255,255,.898));backdrop-filter:blur(10px);user-select:none;z-index:99;white-space:nowrap;justify-content:space-between;align-items:center;padding:0 12px;display:flex;position:fixed}.top-bar-title[data-v-e7603675]{max-width:50vw;color:var(--Labels-Primary);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}@media (max-width:800px){.top-bar-title[data-v-e7603675]{max-width:35vw}}.top-bar-right[data-v-e7603675],.top-bar-left[data-v-e7603675]{align-items:center;gap:16px;display:flex}.top-bar-right.small[data-v-e7603675],.top-bar-left.small[data-v-e7603675]{gap:10px}.top-bar .top-bar-desc[data-v-e7603675]{color:var(--Labels-Tertiary,rgba(0,0,0,.45));max-width:200px;font-size:14px}@media (max-width:800px){.top-bar .top-bar-desc[data-v-e7603675]{right:12px;top:calc(var(--top-bar-height) + 8px);opacity:.6;position:fixed}}.top-bar .slides-home[data-v-e7603675]{color:var(--Colors-KMBlue,#1783ff);cursor:pointer;flex-direction:row;align-items:center;font-size:18px;font-weight:700;text-decoration:none;display:flex}.top-bar .slides-home>span[data-v-e7603675]{display:inline-block}.top-bar .slides-home .slides-home-name[data-v-e7603675]{opacity:0;max-width:0;animation:.7s cubic-bezier(.65,.2,.55,1.18) .2s forwards share-home-name-expand-e7603675;overflow:hidden}.top-bar .slides-home .logo[data-v-e7603675]{width:51px;margin-right:4px}.top-bar .slides-home-name[data-v-e7603675]{display:inline-block;overflow:hidden}.top-bar .slides-home-icon[data-v-e7603675]{flex-shrink:0;margin:0 2px;line-height:0;display:inline-block}.top-bar .slides-home-icon[data-v-e7603675] svg{display:block}@keyframes share-home-name-expand-e7603675{0%{opacity:0;max-width:0;transform:translateY(40%)}50%{opacity:0;max-width:200px;transform:translateY(40%)}to{opacity:1;max-width:200px;transform:translate(0)}}.info-content[data-v-e7603675]{flex-direction:column;justify-content:center;align-items:center;height:100vh;display:flex}.slides[data-v-e7603675]{box-sizing:border-box;width:100vw;min-height:100vh;padding:var(--top-bar-height) 0 0;flex-direction:column;align-items:center;gap:48px;display:flex}@media (max-width:800px){.slides[data-v-e7603675]{gap:24px}}.slides .slide[data-v-e7603675]{width:var(--pageWidth);border:1px solid var(--Always-White,#fff);outline:1px solid var(--Separators-S1,rgba(0,0,0,.13));transform-origin:50%;cursor:pointer;border-radius:12px;max-width:90vw;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.share-page.pptd .slides[data-v-e7603675]{padding:max(var(--top-bar-height), (100vh + var(--top-bar-height) - 80vw * var(--viewportRatio,.5625)) / 2) 0}@media (max-width:800px){.share-page.pptd .slides[data-v-e7603675]{padding:calc(var(--top-bar-height) + 20px) 0}}.share-page.pptd .slides .slide[data-v-e7603675]{width:80vw;max-width:calc(80vh / var(--viewportRatio,.5625))}@media (max-width:800px){.share-page.pptd .slides .slide[data-v-e7603675]{width:calc(100vw - var(--slide-page-padding,16px) * 2)}}.invalid-content[data-v-e7603675]{color:var(--Labels-Secondary,rgba(0,0,0,.6));flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:14px;line-height:20px;display:flex}.invalid-content img[data-v-e7603675]{width:101px}\n/*$vite$:1*/",document.head.appendChild(le),ne=["src"],oe=["min","max"],re=I(f({__name:"Lightbox",props:{src:{},component:{},componentProps:{},aspectRatio:{},padding:{default:48},minScale:{default:.5},maxScale:{default:5}},emits:["close","navigate"],setup(e,{emit:a}){const t=e,l=a,d=n(!1),v=u(1),{width:m,height:f}=D(),w=u(),k=r(()=>t.aspectRatio??w.value),P=r(()=>{const e=Math.max(m.value-2*t.padding,0),a=Math.max(f.value-2*t.padding-72,0),i=k.value;if(!i)return{width:e,height:a};const l=Math.min(e,a*i);return{width:l,height:l/i}}),E=u(),M=r(()=>({x:m.value/2,y:(f.value-72)/2})),_=r(()=>E.value??M.value),j=r(()=>({width:`${P.value.width}px`,height:`${P.value.height}px`,left:_.value.x-P.value.width/2+"px",top:_.value.y-P.value.height/2+"px",transform:`scale(${v.value})`})),Y=(e,a)=>{const i=Math.min(Math.max(e,t.minScale),t.maxScale);if(i===v.value)return;const l=i/v.value;E.value={x:a.x-(a.x-_.value.x)*l,y:a.y-(a.y-_.value.y)*l},v.value=i},N=e=>{const a=e.ctrlKey?1.01:1.0015,t=Math.pow(a,-e.deltaY);Y(v.value*t,{x:e.clientX,y:e.clientY})},U=r({get:()=>v.value,set:e=>Y(e,M.value)}),F=u(!1);let I=null;const z=e=>{0===e.button&&(F.value=!0,I={x:e.clientX,y:e.clientY,center:_.value},e.currentTarget.setPointerCapture(e.pointerId))},R=e=>{I&&(E.value={x:I.center.x+e.clientX-I.x,y:I.center.y+e.clientY-I.y})},O=()=>{I=null,F.value=!1},K=e=>{const a=e.target;a.naturalWidth&&a.naturalHeight&&(w.value=a.naturalWidth/a.naturalHeight)},W=()=>{d.value=!1,setTimeout(()=>l("close"),225)};return T(document,"keydown",e=>{"Escape"===e.key?(e.preventDefault(),e.stopPropagation(),W()):"ArrowLeft"===e.key||"ArrowUp"===e.key?(e.preventDefault(),e.stopPropagation(),l("navigate",-1)):"ArrowRight"!==e.key&&"ArrowDown"!==e.key&&" "!==e.key||(e.preventDefault(),e.stopPropagation(),l("navigate",1))},!0),S(()=>{d.value=!0}),(a,t)=>(b(),g(y,{name:"fade"},{default:x(()=>[d.value?(b(),c("div",{key:0,class:"lightbox-mask",onWheel:B(N,["prevent"]),onClick:B(W,["self"])},[h("div",{class:i(["lightbox-stage",{dragging:F.value}]),style:p(j.value),onPointerdown:z,onPointermove:R,onPointerup:O,onPointercancel:O},[e.src?(b(),c("img",{key:0,class:i(["lightbox-image",{ready:k.value}]),src:e.src,draggable:"false",onLoad:K},null,42,ne)):e.component?(b(),g(L(e.component),A(C({key:1},e.componentProps)),null,16)):o("",!0)],38),h("div",{class:"lightbox-toolbar",onClick:t[1]||(t[1]=B(()=>{},["stop"]))},[H(h("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>U.value=e),class:"lightbox-slider",type:"range",min:e.minScale,max:e.maxScale,step:"0.01"},null,8,oe),[[s,U.value,void 0,{number:!0}]])])],32)):o("",!0)]),_:1}))}}),[["__scopeId","data-v-1f51c9f5"]]),se=(e={})=>{const{showModal:a}=G(e);return{showLightbox:async e=>await a({component:re,props:e,immediate:!0})}},de=t(X(),1),ce=e=>{const{pageOrder:a,slideIndex:t,onFullscreen:i}=e,l=l=>{if(0===a.value.length)return;const n=l.key;"ArrowDown"===n||"ArrowRight"===n||" "===n?(t.value0&&(t.value--,e.scrollTo?.()),l.preventDefault()):"F5"===n&&(l.preventDefault(),i?.())};S(()=>{document.addEventListener("keydown",l)}),E(()=>{document.removeEventListener("keydown",l)})},pe=e=>{const{pageOrder:a,slideIndex:t}=e,i=u(!1),l=u(!0);let n;const o=()=>{l.value&&(i.value=!0,clearTimeout(n),n=setTimeout(()=>{(()=>{if(0===a.value.length)return;const e=document.querySelectorAll("[data-slide-index]"),i=window.scrollY+window.innerHeight/2;let l=t.value,n=1/0;e.forEach(e=>{const a=e.getBoundingClientRect(),t=window.scrollY+a.top+a.height/2,o=Math.abs(t-i),r=Number(e.getAttribute("data-slide-index"));o{window.addEventListener("scroll",o)}),E(()=>{window.removeEventListener("scroll",o),clearTimeout(n)}),{enableSync:l,isUserScrolling:i}},ve={key:0,class:"top-bar"},ue={class:"top-bar-left"},he=["href"],ge=["innerHTML"],me={class:"slides-home-name"},fe=["innerHTML"],xe={key:0,class:"top-bar-title"},be={class:"top-bar-desc"},we=["href"],ye=["href"],Ae=["href"],ke=["href"],Pe={key:1,class:"info-content"},Le={key:1,class:"invalid-content"},Se=["href"],e("default",I(f({__name:"Share",setup(e){const{t:a}=W(),t=K(),{showLightbox:n}=se(),{importFSJSON:s,meta:f,pages:y,pageOrder:A,pageSize:L}=Z(),{setPPTDTitle:C}=ie(),E=u(!0),H=u(!0),D=u(!1),B=$(z),I=k(),G="https://slides.kimi.link"===(X=location.origin)?U:"https://slides.kimi.page"===X?N:X;var X;const le=u(R.PPTD),ne=r(()=>le.value===R.PPTD),oe=r(()=>ne.value?"PPT":"ImageCreate"),re=r(()=>"string"==typeof I.params.id?I.params.id:void 0),Te=r(()=>le.value===R.DESIGN?"Design":a("common.nameEN")),Ce=r(()=>le.value===R.DESIGN?a("share.createDesign"):a("share.create")),Ee=r(()=>{const e=le.value===R.DESIGN?"design":"slides";return Y?`${G}/${e}`:`${location.origin}/${e}`}),Me=r(()=>void 0!==I.query.raw),_e=r(()=>`${G}/report?reportUrl=${encodeURIComponent(location.href)}`),je=u(""),He=r(()=>je.value?`${a("share.updateTime")}${je.value}`:""),De=r(()=>L.value[1]/L.value[0]),Be=u(0),{enableSync:Ye}=pe({pageOrder:A,slideIndex:Be}),Ne=u({}),Ue=u(null),Fe=(e,a)=>({enabled:Ue.value===e&&Be.value===a,replayKey:Ne.value[e]??0}),Ie=()=>{Q("msh_nppt_share_visit_screening",{share_id:re.value}),D.value=!0},ze=e=>{e.stopPropagation(),Ie()},Re=async()=>{Ye.value=!1,ee(document.querySelector(`[data-slide-index="${Be.value}"]`)??void 0,{pos:ne.value?"center":"start"}),await new Promise(e=>setTimeout(e,100)),Ye.value=!0},Oe=e=>{Be.value=e,Re(),le.value===R.DESIGN&&(e=>{const a=A.value[e],t=a?y.value.get(a):void 0;if(!t)return;const i=j({slide:t,pageWidth:L.value[0],pageHeight:L.value[1]});n({component:q,componentProps:i,aspectRatio:L.value[0]/L.value[1],onNavigate:e=>{const a=Be.value+e,t=A.value[a],l=t?y.value.get(t):void 0;l&&(Be.value=a,i.slide=l,Re())}})})(e)};ce({pageOrder:A,slideIndex:Be,onFullscreen:Ie,scrollTo:Re});let Ke=0;const We=()=>{!ne.value||Ke||F||(Ke=requestAnimationFrame(()=>{Ke=0;const e=document.querySelectorAll(".slide"),a=window.innerHeight/2,t=.2*window.innerHeight,i=.5*window.innerHeight;e.forEach(e=>{const l=e.getBoundingClientRect(),n=l.top+l.height/2,o=Math.abs(n-a),r=1-.01*Math.min(Math.max((o-t)/(i-t),0),1);e.style.scale=`${r}`})}))},Qe=e=>{Q("msh_nppt_share_visit_home",{share_id:re.value,from:e})};return _(()=>f.value.title,e=>C(e),{immediate:!0}),_(Be,e=>{const a=A.value[e];a&&(Ue.value=a,Ne.value={...Ne.value,[a]:(Ne.value[a]??0)+1})}),T("scroll",We),S(async()=>{Q("msh_nppt_share_visit_pv",{share_id:re.value}),await(async()=>{if(!re.value)return H.value=!1,void(E.value=!1);if(!Y)return t.error(a("share.linkError")),H.value=!1,void(E.value=!1);try{const e=await B.getSlidesShare({shareId:re.value});if(!e.payloadUrl)throw new Error("invalid share");const a=await fetch(e.payloadUrl);if(!a.ok)throw new Error(`failed to fetch share payload: ${a.status}`);s(await a.json()),le.value=e.type,e.shareTime&&(je.value=(0,de.default)(O(e.shareTime)).format("YYYY-MM-DD HH:mm"))}catch(e){V(e),H.value=!1}finally{E.value=!1,await w(),We()}})(),Re()}),(e,t)=>D.value?(b(),g(te,{key:0,"start-index":Be.value,onExit:t[0]||(t[0]=e=>D.value=!1)},null,8,["start-index"])):(b(),c("div",{key:1,class:i(["share-page",{raw:Me.value,pptd:ne.value}])},[Me.value?o("",!0):(b(),c("div",ve,[h("div",ue,[h("a",{class:"slides-home",href:Ee.value,onClick:t[1]||(t[1]=e=>Qe("home"))},[t[5]||(t[5]=h("img",{class:"logo",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAAAjBAMAAAB7pgmwAAAAMFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABaPxwLAAAAEHRSTlPlAB1WqslzOY8O14ErumVHuHNhDQAAAfJJREFUOMt91c1OU1EQwPG/tFihUhgkQGm1NKZxZWITNybGyBtcXbugie5hdWPiQpbubOJKY1LeABIfQBdGwwreoLwBvAFnziygZ87lpB/TOfPL3PTOaQmrL7a+AU2RHsyHT6/RdWZb2+i6K7IKbN9A7VPgQOTBTbRgexdV6CdwTxK0bHufK9BqoY1S1DR0WoEGsWQG/YIlu3LgvUfWaDSLXgFjTW0A/zNoYO1n0EtgX1MdWNz0yBolaDjBcmtQzyBrlKLw3NHUCrQ8skYO7cKhpvag4ZE1cigU39fUFO441J1oI4++Qkss3nHoBKiJR2s2IzKB4xTFRsMM6ljY1a8+RdYog3q6GzOME/TYGmVQ2zY2dZwSFEd4lENSwLHIQ2gmyNZSP4eO4jEMVctZxLscegYL8QjO5VD+PmmPhmi/Nx7V43kbe7QV0jE88Gg41de3DmllXUQrHKpJtyCUXjr0CBbjEfzj0FDkKYRkimwW1lUmyIbhSKMvKdKpO9cj6NC5lq5rNN9Pkc73FrQcstv6V8P6iwRN4fA3NPLIDi8kaA/mFFYg+ZFD36Gml1iFZNch+x0qYFSJNgqPOsS1X4lk4FHP0LgayQeH2jabcguS55ME2f9FM0FlWV6bkAyPsvwUon9lqWP/pAzro+7YW/i0cgXm+ovFEUe3UwAAAABJRU5ErkJggg==",alt:"Kimi"},null,-1)),h("span",{class:"slides-home-icon","aria-hidden":"true",innerHTML:P('\n\n\n')},null,8,ge),h("span",me,v(Te.value),1),h("span",{class:"slides-home-icon","aria-hidden":"true",innerHTML:P('\n\n\n')},null,8,fe)],8,he),H.value?(b(),c("div",xe,v(P(f).title),1)):o("",!0)]),!E.value&&H.value?(b(),c("div",{key:0,class:i(["top-bar-right",{small:P(F)}])},[h("div",be,v(He.value),1),P(F)?(b(),c(l,{key:0},[h("a",{href:_e.value,target:"_blank",rel:"noopener noreferrer"},[m(P(J),{type:"icon",icon:"Message"})],8,we),m(P(J),{class:"btn-play",type:"icon",icon:"Play",onClick:ze}),h("a",{href:Ee.value,target:"_blank",onClick:t[2]||(t[2]=e=>Qe("create"))},[m(P(J),{icon:"PPT",type:"primary"},{default:x(()=>[d(v(Te.value),1)]),_:1})],8,ye)],64)):(b(),c(l,{key:1},[h("a",{href:_e.value,target:"_blank",rel:"noopener noreferrer"},[m(P(J),{type:"icon",icon:"Message",tooltip:P(a)("share.report"),"tooltip-placement":"bottom"},null,8,["tooltip"])],8,Ae),m(P(J),{class:"btn-play",type:"secondary",icon:"Play",onClick:ze},{default:x(()=>[d(v(P(a)("basic.screen")),1)]),_:1}),h("a",{href:Ee.value,target:"_blank",onClick:t[3]||(t[3]=e=>Qe("create"))},[m(P(J),{icon:oe.value,type:"primary"},{default:x(()=>[d(v(Ce.value),1)]),_:1},8,["icon"])],8,ke)],64))],2)):o("",!0)])),E.value||!H.value?(b(),c("div",Pe,[E.value?(b(),g(ae,{key:0,class:"loading-icon"})):H.value?o("",!0):(b(),c("div",Le,[t[6]||(t[6]=h("img",{src:"./invalid-K3otyC6h.png"},null,-1)),h("div",null,v(P(a)("share.linkInvalid")),1),h("a",{href:Ee.value,onClick:t[4]||(t[4]=e=>Qe("invalid"))},[m(P(J),{type:"primary",icon:"PPT"},{default:x(()=>[d(v(Ce.value),1)]),_:1})],8,Se)]))])):(b(),c("div",{key:2,class:"slides",style:p({"--pageWidth":`${P(L)[0]}px`,"--viewportRatio":De.value})},[(b(!0),c(l,null,M(P(A),(e,a)=>(b(),c(l,{key:e},[P(y).get(e)?(b(),g(q,{key:0,class:i(["slide",{current:ne.value&&Be.value===a}]),"data-slide-index":a,slide:P(y).get(e),"page-width":P(L)[0],"page-height":P(L)[1],"chart-animation":Fe(e,a),"interactive-element-types":["chart"],onClick:e=>Oe(a)},null,8,["class","data-slide-index","slide","page-width","page-height","chart-animation","onClick"])):o("",!0)],64))),128))],4))],2))}}),[["__scopeId","data-v-e7603675"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Share-n_N54u8j.css b/editor/neo-ppt/assets/Share-n_N54u8j.css new file mode 100644 index 0000000..6a4c8c9 --- /dev/null +++ b/editor/neo-ppt/assets/Share-n_N54u8j.css @@ -0,0 +1 @@ +.lightbox-mask[data-v-1f51c9f5]{backdrop-filter:blur(2px);z-index:1000;background:rgba(0,0,0,.75);width:100vw;height:100vh;position:fixed;top:0;left:0;overflow:hidden}.lightbox-stage[data-v-1f51c9f5]{cursor:grab;touch-action:none;user-select:none;position:absolute}.lightbox-stage.dragging[data-v-1f51c9f5]{cursor:grabbing}.lightbox-image[data-v-1f51c9f5]{visibility:hidden;pointer-events:none;width:100%;height:100%;display:block}.lightbox-image.ready[data-v-1f51c9f5]{visibility:visible}.lightbox-toolbar[data-v-1f51c9f5]{backdrop-filter:blur(10px);background:rgba(255,255,255,.12);border-radius:12px;align-items:center;padding:12px 16px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.lightbox-slider[data-v-1f51c9f5]{-webkit-appearance:none;appearance:none;background:rgba(255,255,255,.3);border-radius:2px;outline:none;width:200px;height:4px}.lightbox-slider[data-v-1f51c9f5]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;cursor:pointer;background:#fff;border-radius:50%;width:14px;height:14px}.lightbox-slider[data-v-1f51c9f5]::-moz-range-thumb{cursor:pointer;background:#fff;border:none;border-radius:50%;width:14px;height:14px}.fade-enter-active[data-v-1f51c9f5],.fade-leave-active[data-v-1f51c9f5]{transition:opacity .225s cubic-bezier(.4,0,.2,1)}.fade-enter-from[data-v-1f51c9f5],.fade-leave-to[data-v-1f51c9f5]{opacity:0}html,body{background:var(--Bg-Secondary,#f5f5f5);height:auto;min-height:100vh;overflow-y:auto}::-webkit-scrollbar{width:0}.share-page[data-v-e7603675]{box-sizing:border-box;--top-bar-height:52px;width:100vw;min-height:100vh;padding-bottom:30px}.share-page.raw[data-v-e7603675]{--top-bar-height:0px}.top-bar[data-v-e7603675]{width:100vw;height:var(--top-bar-height,52px);box-sizing:border-box;background:var(--Bg-Primary-90,rgba(255,255,255,.898));backdrop-filter:blur(10px);user-select:none;z-index:99;white-space:nowrap;justify-content:space-between;align-items:center;padding:0 12px;display:flex;position:fixed}.top-bar-title[data-v-e7603675]{max-width:50vw;color:var(--Labels-Primary);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}@media (max-width:800px){.top-bar-title[data-v-e7603675]{max-width:35vw}}.top-bar-right[data-v-e7603675],.top-bar-left[data-v-e7603675]{align-items:center;gap:16px;display:flex}.top-bar-right.small[data-v-e7603675],.top-bar-left.small[data-v-e7603675]{gap:10px}.top-bar .top-bar-desc[data-v-e7603675]{color:var(--Labels-Tertiary,rgba(0,0,0,.45));max-width:200px;font-size:14px}@media (max-width:800px){.top-bar .top-bar-desc[data-v-e7603675]{right:12px;top:calc(var(--top-bar-height) + 8px);opacity:.6;position:fixed}}.top-bar .slides-home[data-v-e7603675]{color:var(--Colors-KMBlue,#1783ff);cursor:pointer;flex-direction:row;align-items:center;font-size:18px;font-weight:700;text-decoration:none;display:flex}.top-bar .slides-home>span[data-v-e7603675]{display:inline-block}.top-bar .slides-home .slides-home-name[data-v-e7603675]{opacity:0;max-width:0;animation:.7s cubic-bezier(.65,.2,.55,1.18) .2s forwards share-home-name-expand-e7603675;overflow:hidden}.top-bar .slides-home .logo[data-v-e7603675]{width:51px;margin-right:4px}.top-bar .slides-home-name[data-v-e7603675]{display:inline-block;overflow:hidden}.top-bar .slides-home-icon[data-v-e7603675]{flex-shrink:0;margin:0 2px;line-height:0;display:inline-block}.top-bar .slides-home-icon[data-v-e7603675] svg{display:block}@keyframes share-home-name-expand-e7603675{0%{opacity:0;max-width:0;transform:translateY(40%)}50%{opacity:0;max-width:200px;transform:translateY(40%)}to{opacity:1;max-width:200px;transform:translate(0)}}.info-content[data-v-e7603675]{flex-direction:column;justify-content:center;align-items:center;height:100vh;display:flex}.slides[data-v-e7603675]{box-sizing:border-box;width:100vw;min-height:100vh;padding:var(--top-bar-height) 0 0;flex-direction:column;align-items:center;gap:48px;display:flex}@media (max-width:800px){.slides[data-v-e7603675]{gap:24px}}.slides .slide[data-v-e7603675]{width:var(--pageWidth);border:1px solid var(--Always-White,#fff);outline:1px solid var(--Separators-S1,rgba(0,0,0,.13));transform-origin:50%;cursor:pointer;border-radius:12px;max-width:90vw;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.share-page.pptd .slides[data-v-e7603675]{padding:max(var(--top-bar-height), (100vh + var(--top-bar-height) - 80vw * var(--viewportRatio,.5625)) / 2) 0}@media (max-width:800px){.share-page.pptd .slides[data-v-e7603675]{padding:calc(var(--top-bar-height) + 20px) 0}}.share-page.pptd .slides .slide[data-v-e7603675]{width:80vw;max-width:calc(80vh / var(--viewportRatio,.5625))}@media (max-width:800px){.share-page.pptd .slides .slide[data-v-e7603675]{width:calc(100vw - var(--slide-page-padding,16px) * 2)}}.invalid-content[data-v-e7603675]{color:var(--Labels-Secondary,rgba(0,0,0,.6));flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:14px;line-height:20px;display:flex}.invalid-content img[data-v-e7603675]{width:101px} diff --git a/editor/neo-ppt/assets/ShareDialog--KVtNONw.js b/editor/neo-ppt/assets/ShareDialog--KVtNONw.js new file mode 100644 index 0000000..2dbc7cb --- /dev/null +++ b/editor/neo-ppt/assets/ShareDialog--KVtNONw.js @@ -0,0 +1 @@ +import{i as e}from"./rolldown-runtime-DWdDZTNf.js";import{At as t,B as n,G as r,H as i,J as a,K as o,Nt as s,Tt as c,U as l,W as u,Y as d,Z as f,a as p,bt as m,ct as h,j as g,kt as _,n as v,ot as y,xt as b}from"./vue-B11_pI9F.js";import{a as x,i as S}from"./const-BjfH-jZe.js";import{t as C}from"./_plugin-vue_export-helper-B67ILkmu.js";import{a as w,t as T}from"./kimi-DRwOD7EI.js";import{c as E,h as D,m as O,n as ee,t as k}from"./useMessage-Cpv2N0cC.js";import{L as A,M as j,N as te,V as M,a as N,c as P,d as F,g as I,l as L,n as R,v as z}from"./index-jtNAhQeK.js";import{Ft as B,K as V,ot as H}from"./ThumbnailSlide-COLdjDXw.js";import{t as U}from"./kimi.button-DiBbOOiZ.js";import{t as W}from"./dayjs.min-BoSdjn8v.js";import{t as G}from"./Loading-DTHKpUX9.js";import{t as K}from"./SelectMenu-J2_ZM6vn.js";j(5);var q=()=>({upload:async e=>{let t=new FormData,{accessToken:n}=await F(),r={"x-msh-platform":`web`,"R-Timezone":Intl.DateTimeFormat().resolvedOptions().timeZone};n&&(r.Authorization=`Bearer ${n}`),Object.assign(r,await P()),t.append(`file`,e,`screenshot-${Date.now()}.png`);let i=await fetch(`/apiv2-files/file/upload`,{method:`POST`,body:t,headers:r}),a=await i.text();if(!i.ok)throw Error(`kimi fs upload failed: ${i.status} ${a}`);return I(T,a,{ignoreUnknownFields:!0})}}),J=async(e,t)=>{e?.type!==`image`||!e.src||(e.src=await t(e.src))},Y=async(e,t)=>{!e||typeof e!=`object`||Array.isArray(e)||await J(e.fill,t)},X=async(e,t)=>{let n=[];if(e.elementType===`image`&&n.push(t(e.src).then(t=>{e.src=t})),`fill`in e&&n.push(J(e.fill,t)),e.elementType===`table`){n.push(Y(e.style,t));for(let r of e.rows)for(let e of r)n.push(J(e.fill,t))}await Promise.all(n)},Z=async(e,t)=>{let n=[];n.push(J(e.background,t));for(let r of e.elements)n.push(X(r,t));await Promise.all(n)},ne=async(e,t)=>{let n=[];for(let r of Object.values(e.theme?.tableStyles??{}))n.push(Y(r,t));for(let r of e.pages)n.push(Z(r,t));await Promise.all(n)},Q=M(()=>{let{meta:e,exportPPTD:t,originalFSJSON:n}=H(),r=i(()=>e.value.slideId),{isImageNeedResolve:a,resolveImageUrl:o}=V(),s=L(w),l=c(!1),{upload:u}=q(),d=async e=>{if(!a(e))return e;let t=await o(e);if(!t)throw Error(`image resolve failed: ${e}`);return t},f=async()=>{let e=JSON.parse(JSON.stringify(t()));await ne(e,d);let r=B(e,n.value??void 0);return JSON.stringify(r,null,2)},m=async()=>{let e=await f();return(await u(new Blob([e],{type:`application/json`}))).file?.id},{data:h,isLoading:g,isFetched:_,refetch:v}=p({queryKey:i(()=>[`getShare`,r.value]),enabled:i(()=>!!r.value),queryFn:async()=>await s.getShare({slidesId:r.value})});return{shareInfo:h,isShareDataLoading:g,isShareLoading:l,refreshShare:v,shareSlides:async()=>{if(!(!_.value||l.value)){l.value=!0;try{if(!r.value)throw Error(`slide id required`);let e=await m(),t=await s.shareSlides({slidesId:r.value,payloadFileId:e});return await v(),t}finally{l.value=!1}}},updateShare:async(e,t)=>{if(!(!_.value||l.value)){if(!r.value)return null;l.value=!0;try{await s.updateShare({slidesId:r.value,shareId:e,isPublic:t}),await v()}finally{l.value=!1}}},createShareSnapshot:f}}),re=e(W(),1),ie={key:0,class:`share-title`},ae={class:`center-tips`},$={class:`form-submit center`},oe={class:`center-tips`},se={class:`form-submit center`},ce={class:`share-info`},le={class:`line`},ue={class:`line input-like`},de=[`href`],fe={key:1,class:`share-link`},pe=C(f({__name:`ShareContent`,setup(e){let{t:c}=A(),f=k(),{shareInfo:p,isShareLoading:g,shareSlides:v,updateShare:y,isShareDataLoading:b}=Q(),{showConfirm:C}=E(),w=(e=>e===`https://www.kimi.com`?S:e===`https://www.kimi.ai`?x:e)(location.origin),T=i(()=>!!p.value?.shareId),O=i(()=>!!p.value?.isBanned),j=i(()=>`${w}/neo-ppt/share/${p.value?.shareId}`),M=i(()=>{let e=p.value?.shareTime;return e?(0,re.default)(D(e)).format(`YYYY-MM-DD HH:mm`):``}),P=i(()=>[{label:c(`share.public`),value:`public`},{label:c(`share.private`),value:`private`}]),F=i(()=>p.value?.isPublic?`public`:`private`),I=e=>e instanceof Error?e.message:String(e),L=()=>{ee(`showFeedback`,{additionParams:{shareReport:1}})},B=async()=>{let e=Date.now();try{await v(),N(`msh_nppt_share_create`,{type:`create`,shareId:p.value?.shareId,duration:Date.now()-e,is_success:!0})}catch(t){N(`msh_nppt_share_create`,{type:`create`,duration:Date.now()-e,is_success:!1,error_reason:I(t)}),R(t),f.error(c(`share.createLinkFailed`))}},V=async e=>{if(!p.value?.shareId)return;let t=e===`public`;if(!(!t&&!await C({title:c(`share.setPrivateTitle`),content:c(`share.setPrivateDesc`),confirmText:c(`share.setPrivateConfirm`),cancelText:c(`common.cancel`),remindKey:`set_share_private`}))){N(`msh_nppt_share_state_change`,{state:t?`public`:`private`});try{await y(p.value.shareId,t),t||f.info(c(`share.setPrivateSuccess`))}catch(e){R(e),f.error(c(`share.updateShareFailed`))}}},H=async()=>{if(g.value||!await C({title:c(`share.updateLinkTitle`),content:c(`share.updateLinkDesc`),confirmText:c(`share.updateLinkConfirm`),cancelText:c(`common.cancel`),remindKey:`update_share`}))return;let e=Date.now();try{await v(),N(`msh_nppt_share_create`,{type:`update`,shareId:p.value?.shareId,duration:Date.now()-e,is_success:!0}),f.success(c(`share.updateLinkSuccess`))}catch(t){N(`msh_nppt_share_create`,{type:`update`,shareId:p.value?.shareId,duration:Date.now()-e,is_success:!1,error_reason:I(t)}),R(t),f.error(c(`share.createLinkFailed`))}},W=async()=>{if(j.value){N(`msh_nppt_share_preview`,{type:`copy`});try{await te(j.value),f.success(c(`share.copySuccess`))}catch{f.error(c(`share.copyFailed`))}}};return(e,i)=>(h(),o(`div`,{class:t([`tab-content`,{between:T.value&&!O.value}])},[T.value?(h(),o(`div`,ie,s(_(c)(`basic.share`)),1)):r(``,!0),_(b)?(h(),u(G,{key:1})):O.value?(h(),o(n,{key:2},[d(_(z),{class:`main-icon`,name:`Warning`,width:32}),l(`div`,ae,s(_(c)(`share.bannedTips`)),1),l(`div`,$,[d(_(U),{type:`primary`,onClick:L},{default:m(()=>[a(s(_(c)(`share.goFeedback`)),1)]),_:1})])],64)):T.value?(h(),o(n,{key:4},[l(`div`,ce,[l(`div`,le,[l(`div`,null,s(_(c)(`share.updateTime`))+s(M.value),1),d(K,{class:t([`public-menu`,{disabled:_(g)}]),"menu-list":P.value,"active-menu":F.value,onClick:V},null,8,[`class`,`menu-list`,`active-menu`])]),l(`div`,ue,[l(`div`,{class:t([`link`,{disabled:!_(p)?.isPublic}])},s(j.value),3),_(p)?.isPublic?(h(),o(`a`,{key:0,class:`share-link`,href:j.value,target:`_blank`,onClick:i[0]||(i[0]=e=>_(N)(`msh_nppt_share_preview`,{type:`goto`}))},[a(s(_(c)(`share.viewLink`))+` `,1),d(_(z),{class:`link-arrow`,name:`UpperRight`,width:16})],8,de)):(h(),o(`span`,fe,s(_(c)(`share.notPublic`)),1))])]),l(`div`,{class:t([`button-box`,{hidden:!_(p)?.isPublic}])},[d(_(U),{type:`secondary`,loading:_(g),icon:`Refresh_b`,onClick:H},{default:m(()=>[a(s(_(c)(`share.updateLinkBtn`)),1)]),_:1},8,[`loading`]),d(_(U),{type:`primary`,icon:`Copy`,onClick:W},{default:m(()=>[a(s(_(c)(`share.copyLinkBtn`)),1)]),_:1})],2)],64)):(h(),o(n,{key:3},[d(_(z),{class:`main-icon`,name:`Link`,width:32}),l(`div`,oe,[a(s(_(c)(`share.createLink`)),1),i[1]||(i[1]=l(`br`,null,null,-1)),a(` `+s(_(c)(`share.createLinkDesc`)),1)]),l(`div`,se,[d(_(U),{type:`primary`,loading:_(g),onClick:B},{default:m(()=>[a(s(_(c)(`share.createLinkBtn`)),1)]),_:1},8,[`loading`])])],64))],2))}}),[[`__scopeId`,`data-v-d65ed9b3`]]),me={key:0,class:`share-dialog`},he=C(f({__name:`ShareDialog`,emits:[`close`],setup(e,{emit:n}){let a=n,{isOverseas:s}=O(),{shareInfo:l}=Q(),{t:f}=A(),p=c(!1),x=i(()=>!!l.value?.shareId),S=()=>{p.value=!1},C=()=>{S()},w={ignore:[`.share-dialog-trigger`,`.modal-mask`]},T=()=>{a(`close`)};return y(()=>{p.value=!0,N(`msh_nppt_export_show`,{is_oversea:s.value},!0)}),(e,n)=>(h(),u(g,{name:`share-dialog-fade`,appear:``,onAfterLeave:T},{default:m(()=>[p.value?b((h(),o(`div`,me,[d(pe,{class:t([`share-height`,{"share-height-with-title":x.value}])},null,8,[`class`])])),[[_(v),[C,w]]]):r(``,!0)]),_:1}))}}),[[`__scopeId`,`data-v-49a824d3`]]);export{he as default}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/ShareDialog-DVn4NR8K.css b/editor/neo-ppt/assets/ShareDialog-DVn4NR8K.css new file mode 100644 index 0000000..d6af463 --- /dev/null +++ b/editor/neo-ppt/assets/ShareDialog-DVn4NR8K.css @@ -0,0 +1 @@ +.tab-content[data-v-d65ed9b3]{flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:152px;margin-top:16px;display:flex}.tab-content.between[data-v-d65ed9b3]{justify-content:space-between}.share-title[data-v-d65ed9b3]{color:var(--Labels-Primary,rgba(0,0,0,.9));width:100%;font-size:16px;font-weight:500;line-height:24px}.main-icon[data-v-d65ed9b3]{color:var(--Labels-Tertiary,rgba(0,0,0,.45))}.center-tips[data-v-d65ed9b3]{text-align:center;color:var(--Labels-Primary);font-size:14px;line-height:20px}.form-submit[data-v-d65ed9b3]{justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;display:flex}.form-submit.center[data-v-d65ed9b3]{justify-content:center}.public-menu[data-v-d65ed9b3]{--menu-top-margin:14px}.public-menu.disabled[data-v-d65ed9b3]{pointer-events:none;opacity:.8}.share-info[data-v-d65ed9b3]{flex-direction:column;gap:8px;width:100%;display:flex}.line[data-v-d65ed9b3]{box-sizing:border-box;white-space:nowrap;color:var(--Labels-Secondary,rgba(0,0,0,.6));flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;line-height:20px;display:flex}.line.input-like[data-v-d65ed9b3]{opacity:1;background:var(--Fills-F1,rgba(0,0,0,.03));border-radius:12px;gap:12px;height:44px;padding:12px}.line .link[data-v-d65ed9b3]{text-overflow:ellipsis;overflow:hidden}.line .link.disabled[data-v-d65ed9b3]{opacity:.6}.line .share-link[data-v-d65ed9b3]{color:var(--Labels-Secondary,rgba(0,0,0,.6));transition:color .3s}.line .share-link .link-arrow[data-v-d65ed9b3]{vertical-align:text-bottom}.line a.share-link[data-v-d65ed9b3]:hover{cursor:pointer;color:var(--Colors-KMBlue-hover)}.button-box[data-v-d65ed9b3]{justify-content:flex-end;gap:8px;width:100%;margin-top:20px;display:flex}.button-box.hidden[data-v-d65ed9b3]{pointer-events:none;visibility:hidden}.share-height[data-v-49a824d3]{min-height:160px;margin-top:0!important}.share-height.share-height-with-title[data-v-49a824d3]{margin-top:12px}.share-dialog[data-v-49a824d3]{top:var(--topbar-height,50px);box-sizing:border-box;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1,rgba(0,0,0,.13));z-index:var(--zindex-topbar,102);border-radius:16px;gap:20px;width:360px;padding:16px;position:absolute;right:0;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.share-dialog-fade-enter-active[data-v-49a824d3],.share-dialog-fade-leave-active[data-v-49a824d3]{transition:opacity .18s,transform .18s}.share-dialog-fade-enter-from[data-v-49a824d3],.share-dialog-fade-leave-to[data-v-49a824d3]{opacity:0;transform:translateY(-4px)} diff --git a/editor/neo-ppt/assets/ShareDialog-legacy-BHF4USC-.js b/editor/neo-ppt/assets/ShareDialog-legacy-BHF4USC-.js new file mode 100644 index 0000000..0e6ac5f --- /dev/null +++ b/editor/neo-ppt/assets/ShareDialog-legacy-BHF4USC-.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js","./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./kimi-legacy-KFfRFtSB.js","./useMessage-legacy-BwPIj8SG.js","./index-legacy-Ce-qKpT_.js","./ThumbnailSlide-legacy-CSXTq44l.js","./kimi.button-legacy-Dfu-bBlw.js","./dayjs.min-legacy-Ca-t_sOd.js","./Loading-legacy-B5EqNNsc.js","./SelectMenu-legacy-D9yVQIy2.js"],function(e,a){var t,i,s,r,n,l,o,d,c,u,h,p,v,f,m,g,y,b,w,x,k,_,S,L,I,j,P,T,D,F,C,z,B,O,$,N,K,M,Y,A,E,J,R,U,q,H,W,Z,G,V,Q,X,ee,ae,te,ie,se,re,ne,le,oe,de,ce,ue,he,pe,ve,fe,me,ge;return{setters:[function(e){t=e.i},function(e){i=e.At,s=e.B,r=e.G,n=e.H,l=e.J,o=e.K,d=e.Nt,c=e.Tt,u=e.U,h=e.W,p=e.Y,v=e.Z,f=e.a,m=e.bt,g=e.ct,y=e.j,b=e.kt,w=e.n,x=e.ot,k=e.xt},function(e){_=e.a,S=e.i,e.n,e.t},function(e){L=e.t},function(e){I=e.a,j=e.t},function(e){P=e.c,T=e.h,D=e.m,F=e.n,C=e.t},function(e){z=e.L,B=e.M,O=e.N,$=e.V,N=e.a,K=e.c,M=e.d,Y=e.g,A=e.l,E=e.n,J=e.v},function(e){R=e.Ft,U=e.K,q=e.ot},function(e){H=e.t},function(e){W=e.t},function(e){Z=e.t},function(e){G=e.t}],execute:function(){(V=document.createElement("style")).textContent=".tab-content[data-v-d65ed9b3]{flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:152px;margin-top:16px;display:flex}.tab-content.between[data-v-d65ed9b3]{justify-content:space-between}.share-title[data-v-d65ed9b3]{color:var(--Labels-Primary,rgba(0,0,0,.9));width:100%;font-size:16px;font-weight:500;line-height:24px}.main-icon[data-v-d65ed9b3]{color:var(--Labels-Tertiary,rgba(0,0,0,.45))}.center-tips[data-v-d65ed9b3]{text-align:center;color:var(--Labels-Primary);font-size:14px;line-height:20px}.form-submit[data-v-d65ed9b3]{justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;display:flex}.form-submit.center[data-v-d65ed9b3]{justify-content:center}.public-menu[data-v-d65ed9b3]{--menu-top-margin:14px}.public-menu.disabled[data-v-d65ed9b3]{pointer-events:none;opacity:.8}.share-info[data-v-d65ed9b3]{flex-direction:column;gap:8px;width:100%;display:flex}.line[data-v-d65ed9b3]{box-sizing:border-box;white-space:nowrap;color:var(--Labels-Secondary,rgba(0,0,0,.6));flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;line-height:20px;display:flex}.line.input-like[data-v-d65ed9b3]{opacity:1;background:var(--Fills-F1,rgba(0,0,0,.03));border-radius:12px;gap:12px;height:44px;padding:12px}.line .link[data-v-d65ed9b3]{text-overflow:ellipsis;overflow:hidden}.line .link.disabled[data-v-d65ed9b3]{opacity:.6}.line .share-link[data-v-d65ed9b3]{color:var(--Labels-Secondary,rgba(0,0,0,.6));transition:color .3s}.line .share-link .link-arrow[data-v-d65ed9b3]{vertical-align:text-bottom}.line a.share-link[data-v-d65ed9b3]:hover{cursor:pointer;color:var(--Colors-KMBlue-hover)}.button-box[data-v-d65ed9b3]{justify-content:flex-end;gap:8px;width:100%;margin-top:20px;display:flex}.button-box.hidden[data-v-d65ed9b3]{pointer-events:none;visibility:hidden}.share-height[data-v-49a824d3]{min-height:160px;margin-top:0!important}.share-height.share-height-with-title[data-v-49a824d3]{margin-top:12px}.share-dialog[data-v-49a824d3]{top:var(--topbar-height,50px);box-sizing:border-box;background:var(--Bg-Primary);border:.5px solid var(--Separators-S1,rgba(0,0,0,.13));z-index:var(--zindex-topbar,102);border-radius:16px;gap:20px;width:360px;padding:16px;position:absolute;right:0;overflow:hidden;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.share-dialog-fade-enter-active[data-v-49a824d3],.share-dialog-fade-leave-active[data-v-49a824d3]{transition:opacity .18s,transform .18s}.share-dialog-fade-enter-from[data-v-49a824d3],.share-dialog-fade-leave-to[data-v-49a824d3]{opacity:0;transform:translateY(-4px)}\n/*$vite$:1*/",document.head.appendChild(V),B(5),Q=()=>({upload:async e=>{const a=new FormData,{accessToken:t}=await M(),i={"x-msh-platform":"web","R-Timezone":Intl.DateTimeFormat().resolvedOptions().timeZone};t&&(i.Authorization=`Bearer ${t}`),Object.assign(i,await K()),a.append("file",e,`screenshot-${Date.now()}.png`);const s=await fetch("/apiv2-files/file/upload",{method:"POST",body:a,headers:i}),r=await s.text();if(!s.ok)throw new Error(`kimi fs upload failed: ${s.status} ${r}`);return Y(j,r,{ignoreUnknownFields:!0})}}),X=async(e,a)=>{"image"===e?.type&&e.src&&(e.src=await a(e.src))},ee=async(e,a)=>{e&&"object"==typeof e&&!Array.isArray(e)&&await X(e.fill,a)},ae=async(e,a)=>{const t=[];if("image"===e.elementType&&t.push(a(e.src).then(a=>{e.src=a})),"fill"in e&&t.push(X(e.fill,a)),"table"===e.elementType){t.push(ee(e.style,a));for(const i of e.rows)for(const e of i)t.push(X(e.fill,a))}await Promise.all(t)},te=async(e,a)=>{const t=[];t.push(X(e.background,a));for(const i of e.elements)t.push(ae(i,a));await Promise.all(t)},ie=async(e,a)=>{const t=[];for(const i of Object.values(e.theme?.tableStyles??{}))t.push(ee(i,a));for(const i of e.pages)t.push(te(i,a));await Promise.all(t)},se=$(()=>{const{meta:e,exportPPTD:a,originalFSJSON:t}=q(),i=n(()=>e.value.slideId),{isImageNeedResolve:s,resolveImageUrl:r}=U(),l=A(I),o=c(!1),{upload:d}=Q(),u=async e=>{if(!s(e))return e;const a=await r(e);if(!a)throw new Error(`image resolve failed: ${e}`);return a},h=async()=>{const e=JSON.parse(JSON.stringify(a()));await ie(e,u);const i=R(e,t.value??void 0);return JSON.stringify(i,null,2)},{data:p,isLoading:v,isFetched:m,refetch:g}=f({queryKey:n(()=>["getShare",i.value]),enabled:n(()=>!!i.value),queryFn:async()=>await l.getShare({slidesId:i.value})});return{shareInfo:p,isShareDataLoading:v,isShareLoading:o,refreshShare:g,shareSlides:async()=>{if(m.value&&!o.value){o.value=!0;try{if(!i.value)throw new Error("slide id required");const e=await(async()=>{const e=await h();return(await d(new Blob([e],{type:"application/json"}))).file?.id})(),a=await l.shareSlides({slidesId:i.value,payloadFileId:e});return await g(),a}finally{o.value=!1}}},updateShare:async(e,a)=>{if(m.value&&!o.value){if(!i.value)return null;o.value=!0;try{await l.updateShare({slidesId:i.value,shareId:e,isPublic:a}),await g()}finally{o.value=!1}}},createShareSnapshot:h}}),re=t(W(),1),ne={key:0,class:"share-title"},le={class:"center-tips"},oe={class:"form-submit center"},de={class:"center-tips"},ce={class:"form-submit center"},ue={class:"share-info"},he={class:"line"},pe={class:"line input-like"},ve=["href"],fe={key:1,class:"share-link"},me=L(v({__name:"ShareContent",setup(e){const{t:a}=z(),t=C(),{shareInfo:c,isShareLoading:v,shareSlides:f,updateShare:y,isShareDataLoading:w}=se(),{showConfirm:x}=P(),k="https://www.kimi.com"===(L=location.origin)?S:"https://www.kimi.ai"===L?_:L;var L;const I=n(()=>!!c.value?.shareId),j=n(()=>!!c.value?.isBanned),D=n(()=>`${k}/neo-ppt/share/${c.value?.shareId}`),B=n(()=>{const e=c.value?.shareTime;return e?(0,re.default)(T(e)).format("YYYY-MM-DD HH:mm"):""}),$=n(()=>[{label:a("share.public"),value:"public"},{label:a("share.private"),value:"private"}]),K=n(()=>c.value?.isPublic?"public":"private"),M=e=>e instanceof Error?e.message:String(e),Y=()=>{F("showFeedback",{additionParams:{shareReport:1}})},A=async()=>{const e=Date.now();try{await f(),N("msh_nppt_share_create",{type:"create",shareId:c.value?.shareId,duration:Date.now()-e,is_success:!0})}catch(i){N("msh_nppt_share_create",{type:"create",duration:Date.now()-e,is_success:!1,error_reason:M(i)}),E(i),t.error(a("share.createLinkFailed"))}},R=async e=>{if(!c.value?.shareId)return;const i="public"===e;if(i||await x({title:a("share.setPrivateTitle"),content:a("share.setPrivateDesc"),confirmText:a("share.setPrivateConfirm"),cancelText:a("common.cancel"),remindKey:"set_share_private"})){N("msh_nppt_share_state_change",{state:i?"public":"private"});try{await y(c.value.shareId,i),i||t.info(a("share.setPrivateSuccess"))}catch(s){E(s),t.error(a("share.updateShareFailed"))}}},U=async()=>{if(v.value)return;if(!(await x({title:a("share.updateLinkTitle"),content:a("share.updateLinkDesc"),confirmText:a("share.updateLinkConfirm"),cancelText:a("common.cancel"),remindKey:"update_share"})))return;const e=Date.now();try{await f(),N("msh_nppt_share_create",{type:"update",shareId:c.value?.shareId,duration:Date.now()-e,is_success:!0}),t.success(a("share.updateLinkSuccess"))}catch(i){N("msh_nppt_share_create",{type:"update",shareId:c.value?.shareId,duration:Date.now()-e,is_success:!1,error_reason:M(i)}),E(i),t.error(a("share.createLinkFailed"))}},q=async()=>{if(D.value){N("msh_nppt_share_preview",{type:"copy"});try{await O(D.value),t.success(a("share.copySuccess"))}catch{t.error(a("share.copyFailed"))}}};return(e,t)=>(g(),o("div",{class:i(["tab-content",{between:I.value&&!j.value}])},[I.value?(g(),o("div",ne,d(b(a)("basic.share")),1)):r("",!0),b(w)?(g(),h(Z,{key:1})):j.value?(g(),o(s,{key:2},[p(b(J),{class:"main-icon",name:"Warning",width:32}),u("div",le,d(b(a)("share.bannedTips")),1),u("div",oe,[p(b(H),{type:"primary",onClick:Y},{default:m(()=>[l(d(b(a)("share.goFeedback")),1)]),_:1})])],64)):I.value?(g(),o(s,{key:4},[u("div",ue,[u("div",he,[u("div",null,d(b(a)("share.updateTime"))+d(B.value),1),p(G,{class:i(["public-menu",{disabled:b(v)}]),"menu-list":$.value,"active-menu":K.value,onClick:R},null,8,["class","menu-list","active-menu"])]),u("div",pe,[u("div",{class:i(["link",{disabled:!b(c)?.isPublic}])},d(D.value),3),b(c)?.isPublic?(g(),o("a",{key:0,class:"share-link",href:D.value,target:"_blank",onClick:t[0]||(t[0]=e=>b(N)("msh_nppt_share_preview",{type:"goto"}))},[l(d(b(a)("share.viewLink"))+" ",1),p(b(J),{class:"link-arrow",name:"UpperRight",width:16})],8,ve)):(g(),o("span",fe,d(b(a)("share.notPublic")),1))])]),u("div",{class:i(["button-box",{hidden:!b(c)?.isPublic}])},[p(b(H),{type:"secondary",loading:b(v),icon:"Refresh_b",onClick:U},{default:m(()=>[l(d(b(a)("share.updateLinkBtn")),1)]),_:1},8,["loading"]),p(b(H),{type:"primary",icon:"Copy",onClick:q},{default:m(()=>[l(d(b(a)("share.copyLinkBtn")),1)]),_:1})],2)],64)):(g(),o(s,{key:3},[p(b(J),{class:"main-icon",name:"Link",width:32}),u("div",de,[l(d(b(a)("share.createLink")),1),t[1]||(t[1]=u("br",null,null,-1)),l(" "+d(b(a)("share.createLinkDesc")),1)]),u("div",ce,[p(b(H),{type:"primary",loading:b(v),onClick:A},{default:m(()=>[l(d(b(a)("share.createLinkBtn")),1)]),_:1},8,["loading"])])],64))],2))}}),[["__scopeId","data-v-d65ed9b3"]]),ge={key:0,class:"share-dialog"},e("default",L(v({__name:"ShareDialog",emits:["close"],setup(e,{emit:a}){const t=a,{isOverseas:s}=D(),{shareInfo:l}=se(),{t:d}=z(),u=c(!1),v=n(()=>!!l.value?.shareId),f=()=>{u.value=!1},_={ignore:[".share-dialog-trigger",".modal-mask"]},S=()=>{t("close")};return x(()=>{u.value=!0,N("msh_nppt_export_show",{is_oversea:s.value},!0)}),(e,a)=>(g(),h(y,{name:"share-dialog-fade",appear:"",onAfterLeave:S},{default:m(()=>[u.value?k((g(),o("div",ge,[p(me,{class:i(["share-height",{"share-height-with-title":v.value}])},null,8,["class"])])),[[b(w),[f,_]]]):r("",!0)]),_:1}))}}),[["__scopeId","data-v-49a824d3"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/Tabs-3y3wUkna.css b/editor/neo-ppt/assets/Tabs-3y3wUkna.css new file mode 100644 index 0000000..d206cb3 --- /dev/null +++ b/editor/neo-ppt/assets/Tabs-3y3wUkna.css @@ -0,0 +1 @@ +.tab-pane[data-v-afaa716d]{z-index:1;position:relative}.tabs[data-v-c15626a7]{flex-direction:row;align-items:center;display:flex}.tabs.tabs-switch[data-v-c15626a7]{border-radius:var(--tabs-switch-radius,10px);padding:var(--tabs-switch-padding,4px);background:var(--tabs-switch-bg,var(--Fills-F2));justify-content:center;gap:0;position:relative}.tabs.tabs-switch[data-v-c15626a7] .tab-pane{height:var(--tabs-switch-pane-height,32px);cursor:pointer;user-select:none;color:var(--tabs-switch-pane-color,var(--Labels-Tertiary));flex:1;justify-content:center;align-items:center;display:flex}.tabs.tabs-switch[data-v-c15626a7] .tab-pane:not(.actived):not(.disabled):hover{color:var(--tabs-switch-pane-hover-color,var(--Labels-Primary))}.tabs.tabs-switch[data-v-c15626a7] .tab-pane.actived{color:var(--tabs-switch-pane-active-color,var(--Labels-Primary))}.tabs.tabs-switch[data-v-c15626a7] .tab-pane.disabled{cursor:not-allowed}.tabs.tabs-switch[data-v-c15626a7]:before{content:"";top:var(--tabs-switch-top,50%);left:var(--tabs-switch-left,50%);width:var(--tabs-switch-width,0);height:var(--tabs-switch-height,0);border-radius:var(--tabs-switch-indicator-radius,8px);background:var(--tabs-switch-indicator-bg,var(--Bg-Primary));transition:top .2s cubic-bezier(.13,.13,0,.98),left .2s cubic-bezier(.13,.13,0,.98),width .2s cubic-bezier(.13,.13,0,.98),height .2s cubic-bezier(.13,.13,0,.98);position:absolute} diff --git a/editor/neo-ppt/assets/Tabs-BfEIxvgH.js b/editor/neo-ppt/assets/Tabs-BfEIxvgH.js new file mode 100644 index 0000000..4f4dcf7 --- /dev/null +++ b/editor/neo-ppt/assets/Tabs-BfEIxvgH.js @@ -0,0 +1 @@ +import{At as e,B as t,G as n,H as r,K as i,L as a,Mt as o,Tt as s,Z as c,at as l,b as u,ct as d,dt as f,g as p,kt as m,ot as h,vt as g,xt as _}from"./vue-B11_pI9F.js";import{t as v}from"./_plugin-vue_export-helper-B67ILkmu.js";var[y,b]=u(()=>{let e=s(),t=s([]);return{currentTab:e,tabs:t,setCurrentTab:n=>{e.value=t.value.find(e=>e.name===n)??t.value[0]},registerTab:e=>{t.value.find(t=>t.name===e)||t.value.push({name:e,index:t.value.length})},unregisterTab:e=>{t.value=t.value.filter(t=>t.name!==e)}}}),[x,S]=u(()=>!0),C={class:`tab-list`},w=c({__name:`TabList`,props:{current:{}},emits:[`update:current`],setup(e,{emit:t}){let n=e,r=t,{currentTab:a,setCurrentTab:o}=y();return g(()=>a.value,()=>{r(`update:current`,a.value?.name)}),h(()=>{o(n.current)}),(e,t)=>(d(),i(`div`,C,[f(e.$slots,`default`)]))}}),T=[`data-tab-name`],E=v(c({__name:`TabPane`,props:{name:{},disabled:{type:Boolean},keepAlive:{type:Boolean}},setup(o){let s=o,c=S(),u=b(),p=r(()=>u?.currentTab?.value),m=r(()=>p.value?.name===s.name),h=r(()=>c||m.value);u?.registerTab(s.name);function g(){c&&(s.disabled||u?.setCurrentTab(s.name))}return l(()=>{c&&u?.unregisterTab(s.name)}),(r,o)=>_((d(),i(`div`,{class:e([`tab-pane`,{actived:m.value,disabled:s.disabled,hidden:!h.value}]),"data-tab-name":s.name,onClick:g},[s.keepAlive?f(r.$slots,`default`,{key:0},void 0,!0):(d(),i(t,{key:1},[h.value?f(r.$slots,`default`,{key:0},void 0,!0):n(``,!0)],64))],10,T)),[[a,h.value]])}}),[[`__scopeId`,`data-v-afaa716d`]]);function D(e,t){let n=b(),r=s({});function i(){let e=t.value?.querySelector(`[data-tab-name="${n?.currentTab?.value?.name}"]`);if(!e)return{};let r=e.clientWidth,i=e.clientHeight;return{"--switch-left":`${e.offsetLeft}%`,"--switch-width":`${r}%`,"--tabs-width":`${t.value.clientWidth}%`,"--tabs-switch-width":`${r/t.value.clientWidth*100}%`,"--tabs-switch-height":`${i/t.value.clientHeight*100}%`,"--tabs-switch-left":`calc(${(e.offsetLeft-4)/t.value.clientWidth*100}% + 4px)`,"--tabs-switch-top":`calc(${(e.offsetTop-4)/t.value.clientHeight*100}% + 4px)`}}return e===`switch`&&(g(()=>[n?.currentTab?.value,n?.tabs.value],()=>{r.value=i()},{immediate:!0}),p(t,()=>{r.value=i()})),{switchSelectedStyle:r}}var O=v(c({__name:`Tabs`,props:{tabStyle:{default:`switch`}},setup(t){let n=t,r=s();x();let{switchSelectedStyle:a}=D(n.tabStyle,r);return(t,s)=>(d(),i(`div`,{class:e([`tabs`,{"tabs-switch":n.tabStyle===`switch`}]),ref_key:`$tabs`,ref:r,style:o(m(a))},[f(t.$slots,`default`,{},void 0,!0)],6))}}),[[`__scopeId`,`data-v-c15626a7`]]);export{E as n,w as r,O as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/Tabs-legacy-CXU8gu0c.js b/editor/neo-ppt/assets/Tabs-legacy-CXU8gu0c.js new file mode 100644 index 0000000..4270873 --- /dev/null +++ b/editor/neo-ppt/assets/Tabs-legacy-CXU8gu0c.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js"],function(t,e){var a,s,i,r,n,c,l,u,b,d,o,v,h,p,f,w,m,g,y,T,x,$,_,k,S,L,C;return{setters:[function(t){a=t.At,s=t.B,i=t.G,r=t.H,n=t.K,c=t.L,l=t.Mt,u=t.Tt,b=t.Z,d=t.at,o=t.b,v=t.ct,h=t.dt,p=t.g,f=t.kt,w=t.ot,m=t.vt,g=t.xt},function(t){y=t.t}],execute:function(){(T=document.createElement("style")).textContent='.tab-pane[data-v-afaa716d]{z-index:1;position:relative}.tabs[data-v-c15626a7]{flex-direction:row;align-items:center;display:flex}.tabs.tabs-switch[data-v-c15626a7]{border-radius:var(--tabs-switch-radius,10px);padding:var(--tabs-switch-padding,4px);background:var(--tabs-switch-bg,var(--Fills-F2));justify-content:center;gap:0;position:relative}.tabs.tabs-switch[data-v-c15626a7] .tab-pane{height:var(--tabs-switch-pane-height,32px);cursor:pointer;user-select:none;color:var(--tabs-switch-pane-color,var(--Labels-Tertiary));flex:1;justify-content:center;align-items:center;display:flex}.tabs.tabs-switch[data-v-c15626a7] .tab-pane:not(.actived):not(.disabled):hover{color:var(--tabs-switch-pane-hover-color,var(--Labels-Primary))}.tabs.tabs-switch[data-v-c15626a7] .tab-pane.actived{color:var(--tabs-switch-pane-active-color,var(--Labels-Primary))}.tabs.tabs-switch[data-v-c15626a7] .tab-pane.disabled{cursor:not-allowed}.tabs.tabs-switch[data-v-c15626a7]:before{content:"";top:var(--tabs-switch-top,50%);left:var(--tabs-switch-left,50%);width:var(--tabs-switch-width,0);height:var(--tabs-switch-height,0);border-radius:var(--tabs-switch-indicator-radius,8px);background:var(--tabs-switch-indicator-bg,var(--Bg-Primary));transition:top .2s cubic-bezier(.13,.13,0,.98),left .2s cubic-bezier(.13,.13,0,.98),width .2s cubic-bezier(.13,.13,0,.98),height .2s cubic-bezier(.13,.13,0,.98);position:absolute}\n/*$vite$:1*/',document.head.appendChild(T),[x,$]=o(()=>{const t=u(),e=u([]);return{currentTab:t,tabs:e,setCurrentTab:a=>{t.value=e.value.find(t=>t.name===a)??e.value[0]},registerTab:t=>{e.value.find(e=>e.name===t)||e.value.push({name:t,index:e.value.length})},unregisterTab:t=>{e.value=e.value.filter(e=>e.name!==t)}}}),[_,k]=o(()=>!0),S={class:"tab-list"},t("r",b({__name:"TabList",props:{current:{}},emits:["update:current"],setup(t,{emit:e}){const a=t,s=e,{currentTab:i,setCurrentTab:r}=x();return m(()=>i.value,()=>{s("update:current",i.value?.name)}),w(()=>{r(a.current)}),(t,e)=>(v(),n("div",S,[h(t.$slots,"default")]))}})),L=["data-tab-name"],C=b({__name:"TabPane",props:{name:{},disabled:{type:Boolean},keepAlive:{type:Boolean}},setup(t){const e=t,l=k(),u=$(),b=r(()=>u?.currentTab?.value),o=r(()=>b.value?.name===e.name),p=r(()=>l||o.value);function f(){l&&(e.disabled||u?.setCurrentTab(e.name))}return u?.registerTab(e.name),d(()=>{l&&u?.unregisterTab(e.name)}),(t,r)=>g((v(),n("div",{class:a(["tab-pane",{actived:o.value,disabled:e.disabled,hidden:!p.value}]),"data-tab-name":e.name,onClick:f},[e.keepAlive?h(t.$slots,"default",{key:0},void 0,!0):(v(),n(s,{key:1},[p.value?h(t.$slots,"default",{key:0},void 0,!0):i("",!0)],64))],10,L)),[[c,p.value]])}}),t("n",y(C,[["__scopeId","data-v-afaa716d"]])),t("t",y(b({__name:"Tabs",props:{tabStyle:{default:"switch"}},setup(t){const e=t,s=u();_();const{switchSelectedStyle:i}=function(t,e){const a=$(),s=u({});function i(){const t=e.value?.querySelector(`[data-tab-name="${a?.currentTab?.value?.name}"]`);if(!t)return{};const s=t.clientWidth,i=t.clientHeight;return{"--switch-left":`${t.offsetLeft}%`,"--switch-width":`${s}%`,"--tabs-width":`${e.value.clientWidth}%`,"--tabs-switch-width":s/e.value.clientWidth*100+"%","--tabs-switch-height":i/e.value.clientHeight*100+"%","--tabs-switch-left":`calc(${(t.offsetLeft-4)/e.value.clientWidth*100}% + 4px)`,"--tabs-switch-top":`calc(${(t.offsetTop-4)/e.value.clientHeight*100}% + 4px)`}}return"switch"===t&&(m(()=>[a?.currentTab?.value,a?.tabs.value],()=>{s.value=i()},{immediate:!0}),p(e,()=>{s.value=i()})),{switchSelectedStyle:s}}(e.tabStyle,s);return(t,r)=>(v(),n("div",{class:a(["tabs",{"tabs-switch":"switch"===e.tabStyle}]),ref_key:"$tabs",ref:s,style:l(f(i))},[h(t.$slots,"default",{},void 0,!0)],6))}}),[["__scopeId","data-v-c15626a7"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/ThumbnailSlide-CNt7vrDr.css b/editor/neo-ppt/assets/ThumbnailSlide-CNt7vrDr.css new file mode 100644 index 0000000..9023901 --- /dev/null +++ b/editor/neo-ppt/assets/ThumbnailSlide-CNt7vrDr.css @@ -0,0 +1 @@ +.prosemirror-editor[data-v-87eddf05],.prosemirror-editor[data-v-87eddf05]:focus{width:100%;height:100%;box-shadow:none!important;outline:none!important}.prosemirror-editor[data-v-87eddf05]:focus-visible{width:100%;height:100%;box-shadow:none!important;outline:none!important}.prosemirror-editor[data-v-87eddf05] p{outline:none;margin:0}.prosemirror-editor[data-v-87eddf05] ul,.prosemirror-editor[data-v-87eddf05] ol{margin:0;padding-left:1.5em}:is(.prosemirror-editor[data-v-87eddf05] ul,.prosemirror-editor[data-v-87eddf05] ol) li{list-style-position:outside}.prosemirror-editor[data-text-align=center][data-v-87eddf05] ul,.prosemirror-editor[data-text-align=center][data-v-87eddf05] ol{padding-left:0}:is(.prosemirror-editor[data-text-align=center][data-v-87eddf05] ul,.prosemirror-editor[data-text-align=center][data-v-87eddf05] ol) li{list-style-position:inside}:is(.prosemirror-editor[data-text-align=center][data-v-87eddf05] ul,.prosemirror-editor[data-text-align=center][data-v-87eddf05] ol) li>p:first-child{display:inline}.prosemirror-editor[data-v-87eddf05] [style*="position: absolute"],.prosemirror-editor[data-v-87eddf05] [style*=position\:absolute]{white-space:normal!important;position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}.prosemirror-editor[data-v-87eddf05] li[data-empty-list-item=true]{list-style-type:none!important}.prosemirror-editor[data-v-87eddf05] p[data-empty-spacer=true]{min-height:0;font-size:0!important}.prosemirror-editor[data-v-87eddf05] p[data-empty-spacer=true] *{font-size:0!important;line-height:inherit!important}.prosemirror-editor[data-v-87eddf05] blockquote{border-left:3px solid var(--Separators-S1,#ddd);margin:0;padding-left:1em}.prosemirror-editor[data-v-87eddf05] a{color:inherit;cursor:pointer;text-decoration:underline}.prosemirror-editor[data-v-87eddf05] .ProseMirror{justify-content:var(--pm-align);flex-direction:column;width:100%;height:100%;display:flex}.prosemirror-editor[data-v-87eddf05] .ProseMirror-focused{outline:none!important}.prosemirror-editor[data-v-87eddf05] .latex-inline{cursor:pointer;user-select:text;text-decoration:inherit;border-radius:4px;padding:2px 4px;font-family:KaTeX_Main,Times New Roman,serif;line-height:1.2;display:inline-block}.prosemirror-editor[data-v-87eddf05] .latex-inline:has(.mfrac){padding:.8em 4px}.prosemirror-editor[data-v-87eddf05] .latex-inline:hover{background-color:var(--Fills-F1)}.prosemirror-editor[data-v-87eddf05] .latex-inline .katex{text-indent:0;text-rendering:auto;user-select:none;font-size:1em;line-height:1.2}.prosemirror-editor[data-v-87eddf05] .latex-inline .katex{text-decoration:inherit;font-weight:inherit;font-style:inherit;font-size:inherit}.prosemirror-editor[data-v-87eddf05] .latex-inline .katex>math{text-decoration:inherit;font-weight:inherit;font-style:inherit;font-size:inherit}.prosemirror-editor[data-v-87eddf05] .ProseMirror-focused .latex-inline.ProseMirror-selectednode{background-color:rgba(23,131,255,.125)}.pptd-text[data-v-0dcafa92]{box-sizing:border-box;outline:none}.text-content[data-v-0dcafa92]{outline:none;position:relative}.text-content[data-v-0dcafa92] .prosemirror-editor{height:auto}.text-content[data-v-0dcafa92] [style*="position: absolute"],.text-content[data-v-0dcafa92] [style*=position\:absolute]{white-space:normal!important;position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}.text-content[data-v-0dcafa92] li[data-empty-list-item=true]{list-style-type:none!important}.text-content[data-v-0dcafa92] p[data-empty-spacer=true]{min-height:0;font-size:0!important}.text-content[data-v-0dcafa92] p[data-empty-spacer=true] *{font-size:0!important;line-height:inherit!important}.text-static[data-v-0dcafa92]{--default-margin-top:0px;width:100%;line-height:inherit}.text-static.is-gradient[data-v-0dcafa92]{color:transparent;background-image:var(--backgroundImage);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.text-static[data-v-0dcafa92] p{margin:0;margin-top:var(--default-margin-top);line-height:inherit;outline:none}.text-static.is-nowrap[data-v-0dcafa92] p{height:1lh}.text-static[data-v-0dcafa92] ul,.text-static[data-v-0dcafa92] ol{margin:0;padding-left:1.5em}.text-static[data-text-align=center][data-v-0dcafa92] ul,.text-static[data-text-align=center][data-v-0dcafa92] ol{padding-left:0}:is(.text-static[data-text-align=center][data-v-0dcafa92] ul,.text-static[data-text-align=center][data-v-0dcafa92] ol) li{list-style-position:inside}:is(.text-static[data-text-align=center][data-v-0dcafa92] ul,.text-static[data-text-align=center][data-v-0dcafa92] ol) li>p:first-child{display:inline}.text-static[data-v-0dcafa92] blockquote{border-left:3px solid var(--Separators-S1,#ddd);margin:0;padding-left:1em}.text-static[data-v-0dcafa92] sub,.text-static[data-v-0dcafa92] sup{vertical-align:baseline;font-size:.75em;line-height:0;position:relative}.text-static[data-v-0dcafa92] sub{bottom:-.25em}.text-static[data-v-0dcafa92] sup{top:-.35em}.text-static[data-v-0dcafa92] a{color:inherit;text-decoration:underline}.text-static[data-v-0dcafa92] .latex-inline{text-decoration:inherit;border-radius:4px;padding:2px 4px;font-family:KaTeX_Main,Times New Roman,serif;line-height:1.2;display:inline-block}.text-static[data-v-0dcafa92] .latex-inline:has(.mfrac){padding:.8em 4px}.text-static[data-v-0dcafa92] .latex-inline .katex{text-indent:0;text-rendering:auto;user-select:none;text-decoration:inherit;font-size:1em;line-height:1.2;font-weight:inherit;font-style:inherit}.pptd-shape[data-v-684ec2ce]{box-sizing:border-box;pointer-events:none}.pptd-shape svg[data-v-684ec2ce]{display:block}.pptd-shape path[data-v-684ec2ce]{pointer-events:visiblePainted}.pptd-shape .line-hit-area[data-v-684ec2ce]{pointer-events:stroke}.pptd-line[data-v-b619bf31]{box-sizing:border-box;pointer-events:none}.pptd-line svg[data-v-b619bf31]{display:block}.pptd-line path[data-v-b619bf31]{pointer-events:visibleStroke}.pptd-line .line-hit-area[data-v-b619bf31]{pointer-events:stroke}.pptd-image[data-v-21122ecf]{box-sizing:border-box}.pptd-image svg[data-v-21122ecf]{display:block}.pptd-image__placeholder[data-v-21122ecf]{color:#aeb4bd;background:#f7f8fa;place-items:center;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.pptd-image__placeholder--loading[data-v-21122ecf]:after{content:"";border:2px solid rgba(0,0,0,.16);border-top-color:rgba(0,0,0,.48);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite pptd-image-loading-21122ecf}.pptd-image__placeholder--error[data-v-21122ecf]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}.pptd-image__placeholder-icon[data-v-21122ecf]{width:min(42px,42%);height:min(42px,42%)}@keyframes pptd-image-loading-21122ecf{to{transform:rotate(360deg)}}.pptd-table-cell[data-v-c248007e]{vertical-align:middle;box-sizing:border-box;padding:0;line-height:1.12;position:relative;overflow:hidden}.pptd-table-cell.selected[data-v-c248007e]:after{content:"";pointer-events:none;background-color:rgba(102,102,102,.3);width:100%;height:100%;position:absolute;top:0;left:0}.pptd-table-cell-content[data-v-c248007e]{inset:var(--cell-padding-y,3.6px) 7.2px;cursor:text;display:flex;position:absolute;overflow:hidden}.pptd-table-cell-content[data-v-c248007e] [style*="position: absolute"],.pptd-table-cell-content[data-v-c248007e] [style*=position\:absolute]{white-space:normal!important;position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}.pptd-table-cell-content[data-v-c248007e] li[data-empty-list-item=true]{list-style-type:none!important}.pptd-table-cell-content[data-v-c248007e] p[data-empty-spacer=true]{min-height:0;font-size:0!important}.pptd-table-cell-content[data-v-c248007e] p[data-empty-spacer=true] *{font-size:0!important;line-height:inherit!important}.pptd-table-cell-static[data-v-c248007e]{width:100%;min-width:0;height:100%;display:flex;overflow:hidden}.pptd-table-cell-static-inner[data-v-c248007e]{justify-content:inherit;flex-direction:column;flex:none;width:100%;height:100%;display:flex;overflow:visible}.pptd-table-cell-static-inner[data-v-c248007e] ul{margin:0;padding-left:1.5em}.pptd-table-cell-static-inner[data-v-c248007e] ol{margin:0;padding-left:1.5em}.pptd-table-cell-static-inner[data-v-c248007e] p:empty:after{content:" "}.pptd-table-cell-static-inner[data-v-c248007e] .latex-inline{text-decoration:inherit;border-radius:4px;padding:2px 4px;font-family:KaTeX_Main,Times New Roman,serif;line-height:1.2;display:inline-block}.pptd-table-cell-static-inner[data-v-c248007e] .latex-inline:has(.mfrac){padding:.25em 4px}.pptd-table-cell-static-inner[data-v-c248007e] .latex-inline .katex{text-indent:0;text-rendering:auto;user-select:none;text-decoration:inherit;font-size:1em;line-height:1.2;font-weight:inherit;font-style:inherit}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ul{padding-left:0}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ul li{list-style-position:inside}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ul li>p:first-child{display:inline}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ol{padding-left:0}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ol li{list-style-position:inside}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ol li>p:first-child{display:inline}.pptd-table-cell-content[data-v-c248007e] p{margin:0;margin-top:var(--cell-margin-top,0px);line-height:inherit}.pptd-table-cell-content[data-v-c248007e] .ProseMirror{height:auto;max-height:100%;white-space:inherit;word-break:inherit;display:block;overflow:hidden}.pptd-table-cell-content[data-v-c248007e] .prosemirror-editor{min-width:0;overflow:hidden}.pptd-table[data-v-aa0f483e]{box-sizing:border-box;overflow:visible}.pptd-table.dragging .pptd-table-cell[data-v-aa0f483e],.pptd-table:not(.editing) .pptd-table-cell[data-v-aa0f483e]{pointer-events:none}.pptd-table-grid[data-v-aa0f483e]{border-collapse:collapse;table-layout:fixed;word-wrap:break-word;width:100%;height:100%}.table-resize-handlers[data-v-aa0f483e]{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;top:0;left:0}.drag-line-col[data-v-aa0f483e]{cursor:col-resize;pointer-events:auto;opacity:0;background-color:transparent;width:4px;margin-left:-2px;transition:opacity .15s;position:absolute;top:0;bottom:0}.drag-line-row[data-v-aa0f483e]{cursor:row-resize;pointer-events:auto;opacity:0;background-color:transparent;height:4px;margin-top:-2px;transition:opacity .15s;position:absolute;left:0;right:0}.drag-line-col[data-v-aa0f483e]:hover,.drag-line-col.dragging[data-v-aa0f483e],.drag-line-row[data-v-aa0f483e]:hover,.drag-line-row.dragging[data-v-aa0f483e]{opacity:.7;background-color:var(--Colors-KMBlue,#666)}.pptd-table.dragging .drag-line-col[data-v-aa0f483e]:not(.dragging),.pptd-table.dragging .drag-line-row[data-v-aa0f483e]:not(.dragging){opacity:0}.pptd-chart[data-v-96b529a8]{box-sizing:border-box;position:absolute}.pptd-chart__background[data-v-96b529a8],.pptd-chart__canvas[data-v-96b529a8],.pptd-chart__border[data-v-96b529a8]{position:absolute;top:0;bottom:0;left:0;right:0}.pptd-chart__background[data-v-96b529a8]{z-index:0;pointer-events:none}.pptd-chart__canvas[data-v-96b529a8]{z-index:1}.pptd-chart__border[data-v-96b529a8]{z-index:2;box-sizing:border-box;pointer-events:none}.pptd-icon[data-v-0b3c6d6e]{box-sizing:border-box;pointer-events:none}.pptd-icon svg[data-v-0b3c6d6e]{pointer-events:all;display:block}.pptd-icon .pptd-icon__local-svg[data-v-0b3c6d6e]{pointer-events:all}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [fill=currentColor]{fill:var(--icon-fill)}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [fill=currentcolor]{fill:var(--icon-fill)}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [stroke=currentColor]{stroke:var(--icon-fill)}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [stroke=currentcolor]{stroke:var(--icon-fill)}.thumbnail-slide[data-v-6a8dfeb3]{width:100%;position:relative;overflow:hidden}.slide-wrapper[data-v-6a8dfeb3]{transform-origin:0 0;position:relative}.background[data-v-6a8dfeb3],.background-image[data-v-6a8dfeb3],.background-mask[data-v-6a8dfeb3]{width:100%;height:100%;position:absolute;top:0;left:0}.background-image[data-v-6a8dfeb3],.background-mask[data-v-6a8dfeb3]{pointer-events:none;display:block}.background.is-loading[data-v-6a8dfeb3]:after{content:"";border:2px solid rgba(0,0,0,.16);border-top-color:rgba(0,0,0,.48);border-radius:50%;width:18px;height:18px;margin:-9px 0 0 -9px;animation:.8s linear infinite thumbnail-background-loading-6a8dfeb3;position:absolute;top:50%;left:50%}.background.is-error[data-v-6a8dfeb3]:after{content:"";background:radial-gradient(circle at 74% 26%,#aeb4bd 0,#aeb4bd 3px,transparent 4px),linear-gradient(135deg,transparent 54%,#aeb4bd 55%,#aeb4bd 59%,transparent 60%),linear-gradient(45deg,transparent 48%,#aeb4bd 49%,#aeb4bd 53%,transparent 54%);border:2px solid #aeb4bd;border-radius:4px;width:42px;height:34px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes thumbnail-background-loading-6a8dfeb3{to{transform:rotate(360deg)}}.thumbnail-element[data-v-6a8dfeb3]{pointer-events:none}.thumbnail-element.animation-hidden[data-v-6a8dfeb3]{visibility:hidden}.thumbnail-element.interactive[data-v-6a8dfeb3]{pointer-events:auto} diff --git a/editor/neo-ppt/assets/ThumbnailSlide-COLdjDXw.js b/editor/neo-ppt/assets/ThumbnailSlide-COLdjDXw.js new file mode 100644 index 0000000..8c5fcd3 --- /dev/null +++ b/editor/neo-ppt/assets/ThumbnailSlide-COLdjDXw.js @@ -0,0 +1,16 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/echartsCore-DWDeKkr8.js","assets/echarts-B_3wWCq7.js","assets/rolldown-runtime-DWdDZTNf.js"])))=>i.map(i=>d[i]); +import{n as e}from"./rolldown-runtime-DWdDZTNf.js";import{At as t,B as n,Ct as r,Dt as i,Et as a,G as o,H as s,K as c,Mt as l,Ot as u,Tt as d,U as f,W as p,Y as m,Z as h,_ as g,_t as _,b as v,ct as y,et as b,g as x,it as S,kt as C,lt as w,m as T,mt as E,ot as ee,pt as D,st as O,ut as k,vt as A,xt as te}from"./vue-B11_pI9F.js";import{c as ne,x as re}from"./const-BjfH-jZe.js";import{t as ie}from"./preload-helper-NECkhNH4.js";import{o as j,r as M}from"./common-utils-G6HD4Ji1.js";import{t as N}from"./_plugin-vue_export-helper-B67ILkmu.js";import{a as ae,n as P,o as oe}from"./kimi-DRwOD7EI.js";import{C as se,D as ce,E as le,L as ue,S as de,T as fe,V as pe,a as me,i as he,j as ge,l as _e,n as ve,o as ye,w as F,y as be}from"./index-jtNAhQeK.js";import{a as I,i as L,n as xe,r as Se,t as Ce}from"./yaml-8mzYdWcr.js";import{n as we,t as Te}from"./yaml-Jsje7sNc.js";import{t as Ee}from"./dexie-HNSdyusO.js";import{C as De,E as Oe,S as ke,T as Ae,_ as je,a as Me,b as Ne,c as Pe,d as Fe,f as Ie,g as Le,h as Re,i as ze,l as Be,m as Ve,n as He,o as Ue,p as We,r as Ge,s as Ke,t as qe,u as Je,v as Ye,w as Xe,x as Ze,y as Qe}from"./prosemirror-KiX6ZXa-.js";import{t as $e}from"./katex-BotMgawn.js";import{t as et}from"./shapePreset-CxGn1Ud3.js";import{n as tt}from"./faIcons-u_2ozSt4.js";var nt={indent:4,lineWidth:-1,noRefs:!0,quotingType:`"`,forceQuotes:!1}.indent??2,rt=new Set([`bounds`,`size`,`arrow`,`adjustments`]);function it(e){if(e.length===0)throw Error(`fs.json 不能为空`);let t=e[0],n=e.slice(1),r=Te(t.content),i=new Map(n.map(e=>[e.path,e.content])),a=r.pages.map(e=>{let t=i.get(e);if(!t)throw Error(`找不到页面文件: ${e}`);return{...we(t),pageId:e.replace(/\.page$/,``),pagePath:e}});return{...r.version===`v2`?{version:`v2`}:{},title:r.title,customFonts:r.customFonts,theme:r.theme,size:r.size,pages:a,pptdFileName:t.path}}function at(e){return e instanceof L?String(e.value):void 0}function ot(e){return e instanceof L||e instanceof Se||e instanceof xe?e.range??null:null}function st(e){let t=e.split(` +`).map(e=>e.match(/^( +)(?=\S)/)?.[1].length??0).filter(e=>e>0);return t.length?Math.min(...t):nt}function ct(e,t){return t-(e.lastIndexOf(` +`,t-1)+1)}function lt(e,t){if(t===0||e.trim()===``)return e;if(t>0)return`${` `.repeat(t)}${e}`;let n=-t,r=0;for(;r0&&e[r]===` `;)r++,n--;return e.slice(r)}function ut(e,t,n){let r=e.slice(t[0],t[2]);r.endsWith(` +`)&&(r=r.slice(0,-1));let i=r.split(` +`),a=ct(e,t[0]),o=n+2-a;i[0]=`${` `.repeat(n)}- `+i[0];for(let e=1;e{pt(e,t.items[n])}))}function mt(e,t){if(e instanceof Se)for(let t of e.items){let e=t.key instanceof L&&typeof t.key.value==`string`?t.key.value:void 0;mt(t.value,e)}else if(e instanceof xe){t&&rt.has(t)&&(e.flow=!0);for(let t of e.items)mt(t)}}function ht(e,t=nt,n){let r=new Ce.Document(e);if(mt(r.contents),n){let e=Ce.parseDocument(n);pt(r.contents,e.contents)}return r.toString({indent:t,lineWidth:0,flowCollectionPadding:!1})}function gt(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}function _t(e){if(!e)return{};let t=I.load(e);return t&&typeof t==`object`&&!Array.isArray(t)?t:{}}function vt(e,t){let n=ht(e,t).trimEnd().split(` +`),r=` `.repeat(t);n[0]=`${r}- `+n[0];for(let e=1;e[e.elementId,e])),o=new Map;for(let n of t.items){if(!(n instanceof Se))continue;let t=n.get(`elementId`);if(typeof t!=`string`)continue;let r=ot(n);r&&o.set(t,ut(e,r,i))}let s=[];for(let e of n){let t=e.elementId;if(typeof t!=`string`){s.push(vt(e,i));continue}let n=a.get(t),r=o.get(t);n&&r&&M(e,n)?s.push(r):s.push(vt(e,i))}return s.length===0?`elements: [] +`:`elements: +`+s.join(` +`)+` +`}function bt(e,t,n,r,i){let a=t.contents,o=[],s=new Set;for(let t of a.items){let a=at(t.key);if(!a)continue;s.add(a);let c=ot(t.key),l=ot(t.value);if(!c||!l){let e=ht({[a]:n[a]},i).trimEnd();o.push(e+` +`);continue}if(a===`elements`){let a=t.value,s=n.elements??[],c=r.elements??[];o.push(yt(e,a,s,c,i));continue}if(M(n[a],r[a])){o.push(e.slice(c[0],l[2]));continue}let u=ht({[a]:n[a]},i).trimEnd();o.push(u+` +`)}for(let e of Object.keys(n))if(!s.has(e)){let t=ht({[e]:n[e]},i).trimEnd();o.push(t+` +`)}return o.join(``)}function xt(e,t){let n=Ce.parseDocument(e),r=n.toJSON(),i=st(e);return M(t,r)?e:bt(e,n,t,r,i)}function St(e,t){let{pageId:n,pagePath:r,...i}=e;return t?xt(t,i):ht(i)}function Ct(e,t){return xt(e,t)}function wt(e,t){let n=e,r=t.version===`v2`||n.version===`v2`;return gt({version:r?`v2`:void 0,title:e.title,customFonts:r?n.customFonts??t.customFonts:void 0,theme:e.theme,size:e.size,pages:e.pages.map(e=>e.pagePath??`${e.pageId}.page`)})}function Tt(e){let{pageId:t,pagePath:n,...r}=e;return r}function Et(e,t){return t?M(e,_t(t))?t:ht(e,st(t),t):ht(e,2)}function Dt(e,t){let n=new Map(t?.map(e=>[e.path,e.content])??[]),r=e.pptdFileName??`presentation.pptd`,i=n.get(r),a=wt(e,_t(i)),o=i?Ct(i,a):ht(a),s=e.pages.map(e=>{let t=e.pagePath??`${e.pageId}.page`;return{path:t,content:St(e,n.get(t))}});return[{path:r,content:o},...s]}function Ot(e,t){let n=new Map(t?.map(e=>[e.path,e.content])??[]),r=e.pptdFileName??`presentation.pptd`,i=n.get(r),a=Et(wt(e,_t(i)),i),o=e.pages.map(e=>{let t=e.pagePath??`${e.pageId}.page`,r=n.get(t);return{path:t,content:Et(Tt(e),r)}});return[{path:r,content:a},...o]}var kt=[960,540],At={indent:4,lineWidth:-1,noRefs:!0,quotingType:`"`,forceQuotes:!1};function R(e,t,n,r){let i={path:t,message:n,value:r};e.warnings.push(i),he(`[PPTD v2 converter]`,i)}function z(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function jt(e){return typeof e==`string`}function Mt(e){return typeof e==`number`&&Number.isFinite(e)}function Nt(e){return typeof e==`boolean`}function Pt(e){return jt(e)||Mt(e)||Nt(e)}function B(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}function Ft(e){return!e||Object.keys(e).length===0}function It(e,t){if(!e)return;let n=Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n,e)]).filter(([,e])=>e!==void 0));return Object.keys(n).length?n:void 0}function Lt(e,t,n,r){let i=t[n];if(i!==void 0){if(jt(i))return i;R(e,r,`Expected string,已丢弃`,i)}}function Rt(e,t,n,r){let i=t[n];if(i!==void 0){if(Mt(i))return i;R(e,r,`Expected number,已丢弃`,i)}}function zt(e,t,n,r){let i=t[n];if(i!==void 0){if(Nt(i))return i;R(e,r,`Expected boolean,已丢弃`,i)}}function Bt(e,t,n){if(!Array.isArray(t)){R(e,n,`Expected number array,已丢弃`,t);return}let r=t.filter((t,r)=>Mt(t)?!0:(R(e,`${n}[${r}]`,`Expected number,已丢弃`,t),!1));return r.length?r:void 0}function Vt(e,t,n,r){if(!Array.isArray(t)||t.length!==r){R(e,n,`Expected tuple with ${r} items,已丢弃`,t);return}let i=[];for(let r=0;rYt(e,t,`${n}[${r}]`,!0)):Yt(e,t,n,!0)}function Zt(e,t,n){return typeof e!=`object`||!e?e:B({style:e.style,color:e.color,width:e.width,arrow:e.arrow===!0?`end`:void 0})}function Qt(e,t,n){if(!e)return;let r;return r=typeof e.label==`object`&&e.label!==null?B({...e.label,numberFormat:e.numberFormat}):e.numberFormat&&e.label!==!1?{numberFormat:e.numberFormat}:e.label,B({show:e.show,min:e.min,max:e.max,title:e.title,label:r,axisLine:Zt(e.axisLine,t,`${n}.axisLine`),gridLine:Zt(e.gridLine,t,`${n}.gridLine`)})}function $t(e){if(e)return B({show:e.show,content:e.content===`name`?`category`:e.content,color:e.color,numberFormat:e.numberFormat,fontSize:e.fontSize})}function en(e,t,n){return e===!1||e===void 0?e:B({shape:e.shape===`square`?`rect`:e.shape,fill:tn(e.fill,t,`${n}.fill`),border:Yt(e.border,t,`${n}.border`)??void 0,size:e.size})}function tn(e,t,n){if(e)return e.type===`solid`?e.color:{...e}}function nn(e,t,n){if(!e)return;let r=B({fontSize:e.fontSize,fontFamily:e.fontFamily,fill:qt(e.fill,t,`${n}.fill`),border:Xt(e.border,t,`${n}.border`)}),i=B({fill:Jt(e.headerFill,t,`${n}.headerFill`),color:e.headerColor,bold:e.headerBold,border:Xt(e.headerBorder,t,`${n}.headerBorder`)}),a=e.bodyFill?.map((r,i)=>B({fill:Jt(r,t,`${n}.bodyFill[${i}]`),color:e.bodyColor,border:Xt(e.bodyBorder,t,`${n}.bodyBorder`)})),o=!e.bodyFill&&(e.bodyColor||e.bodyBorder),s=B({border:Xt(e.lastRowBorder,t,`${n}.lastRowBorder`)}),c=B({fill:Jt(e.firstColumnFill,t,`${n}.firstColumnFill`),color:e.firstColumnColor,bold:e.firstColumnBold});return B({cellStyle:Ft(r)?void 0:r,firstRowStyle:Ft(i)?void 0:i,lastRowStyle:Ft(s)?void 0:s,firstColumnStyle:Ft(c)?void 0:c,bodyStyles:a??(o?[B({color:e.bodyColor,border:Xt(e.bodyBorder,t,`${n}.bodyBorder`)})]:void 0)})}function rn(e,t,n){if(e)return B({colors:e.colors??{},textStyles:It(e.textStyles,(e,r)=>Wt(e,t,`${n}.textStyles.${r}`))??{},tableStyles:It(e.tableStyles,(e,r)=>nn(e,t,`${n}.tableStyles.${r}`))})}function an(e,t,n){return!e||e===`none`?null:e===`triangle`?(R(t,n,`v2 Line 不支持 triangle arrow,已降级为 arrow`,e),`arrow`):e}function on(e,t,n){let[,,r,i]=e.bounds,a=[Math.max(Math.abs(r),1),Math.max(Math.abs(i),1)],o=`0,0 ${Math.max(r,0)},${Math.max(i,0)}`;return B({elementId:e.elementId,elementType:`line`,bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,viewBox:a,points:o,arrow:e.arrow?[an(e.arrow[0],t,`${n}.arrow[0]`),an(e.arrow[1],t,`${n}.arrow[1]`)]:void 0,border:Yt(e.border,t,`${n}.border`)??void 0,shadow:e.shadow})}function sn(e){return e?.type===`image`?e.mask:void 0}function cn(e,t,n,r){if(t)return R(n,`${r}.mask`,`v2 ImageFill.mask 已转换为同尺寸覆盖 Shape`,t),B({elementId:e.overlayElementId??`${e.elementId}-image-mask`,elementType:`shape`,bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,shapeName:e.shapeName??(e.path?`custom`:`rect`),adjustments:e.adjustments,viewBox:e.viewBox,path:e.path,fill:qt(t,n,`${r}.mask`)})}function ln(e,t,n){if(e.shapeName===`straightConnector1`)return on(e,t,n);e.arrow&&R(t,`${n}.arrow`,`v2 Shape 不支持 arrow,非 straightConnector1 连接器已保留为 Shape 并丢弃 arrow`,e.arrow),e.shapeName?.includes(`Connector`)&&R(t,`${n}.shapeName`,`v2 Line 无法精确表达 bent/curved connector,已保留为 Shape`,e.shapeName),e.path&&!e.viewBox&&R(t,`${n}.path`,`自定义 path 缺少 viewBox,v2 渲染可能不一致`,e.path);let r=e.shapeName??(e.path?`custom`:`rect`);return e.shapeName||R(t,`${n}.shapeName`,`v1 Shape 缺少 shapeName,已按 v2 必填字段补默认值`,r),B({elementId:e.elementId,elementType:`shape`,bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,shapeName:r,adjustments:e.adjustments,viewBox:e.viewBox,path:e.path,fill:qt(e.fill,t,`${n}.fill`,{ignoreImageMask:!0}),border:Yt(e.border,t,`${n}.border`)??void 0,shadow:e.shadow})}function un(e,t,n){if(e.shapeName!==`straightConnector1`)return cn({elementId:e.elementId,bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,shapeName:e.shapeName,adjustments:e.adjustments,viewBox:e.viewBox,path:e.path},sn(e.fill),t,`${n}.fill`)}function dn(e,t,n){let r=e;return B({elementId:e.elementId,elementType:`image`,bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,src:e.src,cropShape:e.shapeName?B({shapeName:e.shapeName,adjustments:e.adjustments,viewBox:r.viewBox,path:r.path}):void 0,fit:e.fit,crop:e.crop,border:Yt(e.border,t,`${n}.border`)??void 0,shadow:e.shadow})}function fn(e,t,n){if(Pt(e))return R(t,n,`Cell scalar converted to text content`,e),{text:String(e)};if(!z(e)){R(t,n,`Expected cell object,已丢弃`,e);return}return B({...e.content?Kt(e.content,t,`${n}.content`):void 0,fill:qt(e.fill,t,`${n}.fill`),border:Xt(e.border,t,`${n}.border`),rowSpan:Rt(t,e,`rowSpan`,`${n}.rowSpan`),colSpan:Rt(t,e,`colSpan`,`${n}.colSpan`)})}function pn(e,t){return t?{...e,cellStyle:B({...e?.cellStyle,border:t})}:e}function mn(e,t,n){let r=Array.isArray(e.rows)?e.rows:Array.isArray(e.data)?e.data:[],i=Array.isArray(e.rows)?`${n}.rows`:`${n}.data`;return Array.isArray(e.rows)||R(t,`${n}.rows`,Array.isArray(e.data)?`Table data converted to rows`:`Table rows fallback to []`,e),r.map((e,n)=>{if(!Array.isArray(e)){R(t,`${i}[${n}]`,`Expected cell row array,已丢弃`,e);return}return e.map((e,r)=>fn(e,t,`${i}[${n}][${r}]`)).filter(e=>!!e)}).filter(e=>!!e)}function hn(e,t,n){let r=typeof e.style==`string`?e.style:nn(e.style,t,`${n}.style`),i=Xt(e.border,t,`${n}.border`);return i&&(typeof r==`string`?R(t,`${n}.border`,`v2 Table 没有表格级 border,且无法合并到 theme style 引用,已丢弃`,e.border):r=pn(r,i)),B({elementId:e.elementId,elementType:`table`,bounds:e.bounds,columnWidths:Bt(t,e.columnWidths,`${n}.columnWidths`)??[],rowHeights:Bt(t,e.rowHeights,`${n}.rowHeights`)??[],rows:mn(e,t,n),style:r,shadow:e.shadow})}function gn(e,t,n){return e==null?null:typeof e==`number`||typeof e==`string`||typeof e==`boolean`?e:(R(t,n,`v2 ChartData 只支持 number/string/boolean/null,已转为 null`,e),null)}function _n(e,t,n){let r=[],i=new Set;for(let t of e)for(let e of Object.keys(t))i.has(e)||(i.add(e),r.push(e));return{cols:r,rows:e.map((e,i)=>r.map(r=>gn(e[r],t,`${n}.data[${i}].${r}`)))}}function vn(e,t,n){return jt(e.y)?[e.y]:Array.isArray(e.y)?e.y.filter((e,r)=>jt(e)?!0:(R(t,`${n}[${r}]`,`Expected chart y field string,已丢弃`,e),!1)):(R(t,n,`Chart y requires string or string array,已丢弃`,e.y),[])}function yn(e,t){return{...e.seriesStyle?.[`*`],...e.seriesStyle?.[t]}}function bn(e,t,n){if(e!==void 0){if(jt(e))return e;if(z(e)){let r=Object.entries(e);if(r.length===1){let[i,a]=r[0];if(Pt(a))return R(t,n,`Chart name restored from YAML object`,e),`${i}: ${a}`}}R(t,n,`Expected chart name string,已丢弃`,e)}}function xn(e,t,n,r,i){return bn(t?.name,r,`${i}.seriesStyle.name`)??bn(e.names?.[n],r,i)}function Sn(e,t,n,r,i){return tn(t?.fill,r,`${i}.seriesStyle.fill`)??e.colors?.[n]}function Cn(e){if(e?.stacked===!0)return`value`;if(e?.stacked===`100%`)return`percent`}function wn(e,t,n,r,i,a){e.smooth=t?.smooth,e.lineStyle=t?.line,e.width=t?.width,e.marker=en(t?.marker,i,`${a}.marker`),e.nullHandling=r?.nullHandling,e.lineColor=n}function Tn(e,t,n,r,i,a){let o=yn(e,t),s=Sn(e,o,n,i,a),c=B({type:r,encode:e.options?.direction===`horizontal`&&r===`bar`?{x:t,y:e.x}:{x:e.x,y:t},name:xn(e,o,n,i,`${a}.name`),yAxisIndex:o?.axis===`secondary`?1:void 0,border:Yt(o?.border,i,`${a}.border`)??void 0,dataLabels:$t(o?.dataLabels)});return r===`bar`?(c.fill=s,c.stack=Cn(e.options)):r===`area`?(wn(c,o,s,e.options,i,a),c.areaColor=s,c.stack=Cn(e.options)):r===`line`?wn(c,o,s,e.options,i,a):(c.fill=s,c.marker=en(o?.marker,i,`${a}.marker`)),B(c)}function En(e,t,n,r,i){let a=yn(e,t),o=Sn(e,a,n,r,i),s=e.size??t;return e.size||R(r,`${i}.size`,`v1 bubble 未配置 size 字段,已临时使用 y 字段作为 size`,t),B({type:`bubble`,encode:{x:e.x,y:t,size:s},name:xn(e,a,n,r,`${i}.name`),yAxisIndex:a?.axis===`secondary`?1:void 0,fill:o,border:Yt(a?.border,r,`${i}.border`)??void 0,dataLabels:$t(a?.dataLabels)})}function Dn(e,t,n,r){let i=yn(e,t),a=e.colors?.length?e.colors:tn(i?.fill,n,`${r}.fill`);return B({type:`pie`,encode:{category:e.x,value:t},innerRadius:e.options?.innerRadius,startAngle:e.options?.startAngle,fill:a,border:Yt(i?.border,n,`${r}.border`)??void 0,dataLabels:$t(i?.dataLabels)})}function On(e,t,n,r,i){let a=yn(e,t),o=Sn(e,a,n,r,i),s=B({type:`radar`,encode:{category:e.x,y:t},name:xn(e,a,n,r,`${i}.name`),areaColor:o,dataLabels:$t(a?.dataLabels)});return wn(s,a,o,e.options,r,i),B(s)}function kn(e,t,n){let r=vn(e,t,`${n}.y`);return r.length===0?[]:(e.options?.direction===`horizontal`&&e.type!==`bar`&&R(t,`${n}.options.direction`,`v2 仅对 bar 做 horizontal encode 转换,其他图表方向可能不一致`,e.type),e.type===`pie`?(r.length>1&&R(t,`${n}.y`,`v2 pie 单个 series 只使用第一个 y 字段`,r),[Dn(e,r[0],t,`${n}.series[0]`)]):r.map((r,i)=>{let a=yn(e,r),o=e.type===`combo`?a?.type??`bar`:e.type,s=`${n}.series[${i}]`;return o===`bubble`?En(e,r,i,t,s):o===`radar`?On(e,r,i,t,s):o===`pie`?Dn(e,r,t,s):Tn(e,r,i,o,t,s)}))}function An(e,t,n){return Array.isArray(e.data)?e.data.filter((e,r)=>z(e)?!0:(R(t,`${n}.data[${r}]`,`Expected chart data row object,已丢弃`,e),!1)):(R(t,`${n}.data`,`Chart data fallback to []`,e.data),[])}function jn(e,t,n){let r=Qt(e.xAxis,t,`${n}.xAxis`),i=Qt(e.yAxis,t,`${n}.yAxis`),a=Qt(e.secondaryAxis,t,`${n}.secondaryAxis`),o=e.options?.direction===`horizontal`;return a&&R(t,`${n}.secondaryAxis`,`secondaryAxis 已转换为 yAxis[1],渲染一致性需要后续接入 v2 chart 后验收`,e.secondaryAxis),B({elementId:e.elementId,elementType:`chart`,bounds:e.bounds,data:_n(An(e,t,n),t,`${n}.data`),series:kn(e,t,n),xAxis:o?{...r,type:`value`}:r,yAxis:a?[{...i,type:o?`category`:void 0},a]:o?{...i,type:`category`}:i,barWidth:e.options?.barWidth,title:e.title,legend:e.legend,dataLabels:$t(e.dataLabels),fontFamily:e.options?.fontFamily,fill:qt(e.fill,t,`${n}.fill`),border:Yt(e.border,t,`${n}.border`)??void 0})}function Mn(e,t,n){if(!z(e)){R(t,n,`Expected element object,已丢弃`,e);return}if(!jt(e.elementId)){R(t,`${n}.elementId`,`Element requires elementId,已丢弃`,e.elementId);return}let r=Vt(t,e.bounds,`${n}.bounds`,4);if(r)return{...e,elementId:e.elementId,bounds:r}}function Nn(e,t,n){let r=`elements[${n}](${z(e)&&jt(e.elementId)?e.elementId:n})`,i=Mn(e,t,r);if(!i)return[];if(i.elementType===`text`){let e=Gt(i.content,t,`${r}.content`);return e?[B({elementId:i.elementId,elementType:`text`,bounds:i.bounds,rotation:Rt(t,i,`rotation`,`${r}.rotation`),opacity:Rt(t,i,`opacity`,`${r}.opacity`),flip:i.flip,content:e})]:[]}return i.elementType===`shape`?[ln(i,t,r),un(i,t,r)].filter(Boolean):i.elementType===`image`?[dn(i,t,r)]:i.elementType===`icon`?jt(i.iconName)?[B({elementId:i.elementId,elementType:`icon`,bounds:i.bounds,rotation:Rt(t,i,`rotation`,`${r}.rotation`),opacity:Rt(t,i,`opacity`,`${r}.opacity`),flip:i.flip,iconName:i.iconName,fill:qt(i.fill,t,`${r}.fill`),border:Yt(i.border,t,`${r}.border`)??void 0,shadow:i.shadow})]:(R(t,`${r}.iconName`,`Icon element requires iconName,已丢弃`,i.iconName),[]):i.elementType===`table`?[hn(i,t,r)]:i.elementType===`chart`?[jn(i,t,r)]:(R(t,`${r}.elementType`,`Expected element object with valid elementType,已丢弃`,i.elementType),[])}function Pn(e,t,n,r){return cn({elementId:`background`,overlayElementId:`background-image-mask`,bounds:[0,0,t[0],t[1]],shapeName:`rect`},sn(e),n,r)}function Fn(e,t,n=`presentation`){return z(e)?B({version:`v2`,title:Lt(t,e,`title`,`${n}.title`),size:Vt(t,e.size,`${n}.size`,2)??kt,theme:rn(e.theme,t,`${n}.theme`),pages:Array.isArray(e.pages)?e.pages.filter((e,r)=>jt(e)?!0:(R(t,`${n}.pages[${r}]`,`Expected page path string,已丢弃`,e),!1)):[]}):(R(t,n,`Expected PPTD meta object,已使用默认 v2 meta`,e),{version:`v2`,size:kt,pages:[]})}function In(e,t,n=`page`,r={}){if(!z(e))return R(t,n,`Expected page object,已使用空页面`,e),{elements:[]};let i=r.pageSize??kt,a=e.background,o=Pn(a,i,t,`${n}.background`);o&&!r.pageSize&&R(t,`${n}.background.mask`,`单页转换缺少 presentation.size,已使用默认 960x540 生成背景 mask 覆盖 Shape`,a);let s=Array.isArray(e.elements)?e.elements:[];return Array.isArray(e.elements)||R(t,`${n}.elements`,`Expected elements array,已使用空数组`,e.elements),B({pageType:Ut(e.pageType),background:qt(a,t,`${n}.background`,{ignoreImageMask:!0}),notes:Lt(t,e,`notes`,`${n}.notes`),elements:[...o?[o]:[],...s.flatMap((e,n)=>Nn(e,t,n))]})}function Ln(e){return I.dump(e,At)}function Rn(e){return I.load(e)}function zn(e){if(!Array.isArray(e)||e.length<2)return;let[t,n]=e;if(!(typeof t!=`number`||typeof n!=`number`))return[t,n]}function Bn(e){let t=e.find(e=>e.path.endsWith(`.pptd`));if(!t)return;let n=Rn(t.content);if(z(n))return zn(n.size)}function Vn(e){return Array.isArray(e.pages)&&Array.isArray(e.size)}function Hn(e){let t=Array.isArray(e.elements)?e.elements:[],n=0,r=0;for(let e of t)if(z(e)){if(e.elementType===`line`&&r++,e.elementType===`chart`){let t=e.data;Array.isArray(e.series)&&z(t)&&Array.isArray(t.cols)&&Array.isArray(t.rows)&&r++,e.type&&e.x&&e.y&&n++}if(e.elementType===`text`&&z(e.content)&&(e.content.fontStyle&&n++,(e.content.bold!==void 0||e.content.italic!==void 0||e.content.backgroundColor)&&r++),e.elementType===`image`&&e.cropShape&&r++,e.elementType===`shape`&&e.arrow&&n++,e.elementType===`table`&&Array.isArray(e.rows)){for(let t of e.rows)if(Array.isArray(t))for(let e of t)z(e)&&(e.content&&n++,(e.text!==void 0||e.textStyle!==void 0)&&r++)}}return n>r?`v1`:r>n?`v2`:`unknown`}function Un(e){return z(e)?e.version===`v2`?`v2`:Vn(e)?`v1`:Array.isArray(e.elements)?Hn(e):`unknown`:`unknown`}function Wn(e){try{return Un(Rn(e))}catch{return`unknown`}}function Gn(e){let t=Wn(e.content);return t===`unknown`?e.path.endsWith(`.pptd`)?`v1`:`unknown`:t}function Kn(e){let t={warnings:[]};return{data:Fn(e,t),warnings:t.warnings}}function qn(e){let t={warnings:[]};return{data:In(e,t),warnings:t.warnings}}function Jn(e,t,n,r={}){if(Wn(t)===`v2`)return t;let i=Rn(t);return e.endsWith(`.pptd`)?Ln(Fn(i,n,e)):e.endsWith(`.page`)?Ln(In(i,n,e,r)):t}function Yn(e,t){let n={warnings:[]};return{data:Jn(e,t,n),warnings:n.warnings}}function Xn(e){let t={warnings:[]},n=Bn(e);return{data:e.map(e=>({...e,content:Jn(e.path,e.content,t,{pageSize:n})})),warnings:t.warnings}}var Zn=[`text`,`shape`,`line`,`image`,`icon`,`table`,`chart`],Qn=[`solid`,`gradient`,`image`],$n=[`linear`,`radial`],er=[`fill`,`contain`,`cover`],tr=[`solid`,`dash`,`dot`],nr=[`left`,`center`,`right`,`justify`,`distributed`],rr=[`top`,`middle`,`bottom`],ir=[`horizontal`,`vertical`],ar=[`sharp`,`round`,`smooth`],or=[`arrow`,`stealth`,`diamond`,`oval`],sr=[`category`,`value`],cr=[!0,!1,`start`,`end`,`both`],lr=[`top`,`bottom`,`left`,`right`],ur=[`value`,`percentage`,`category`],dr=[`circle`,`rect`,`diamond`,`triangle`],fr=[`zero`,`gap`,`connect`],pr=[`value`,`percent`],mr=[`value`,`percent`,`stream`],hr=[`linear`,`sqrt`,`log`],gr=[`linear`,`diverging`],_r=[`left`,`right`,`justify`],vr=[`bar`,`line`,`area`,`scatter`,`bubble`,`candlestick`,`pie`,`radar`,`waterfall`,`heatmap`,`treemap`,`sunburst`,`sankey`],yr=[960,540],V=e=>typeof e==`object`&&!!e&&!Array.isArray(e),H=e=>typeof e==`string`,br=e=>typeof e==`number`&&Number.isFinite(e),xr=e=>typeof e==`boolean`,Sr=e=>e===null||H(e)||br(e)||xr(e),U=(e,t)=>t.includes(e),W=e=>Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0)),G=(e,t,n,r,i)=>{e.issues.push({path:t,message:n,action:r,value:i})},K=(e,t,n,r)=>{let i=t[n];if(i!==void 0){if(H(i))return i;G(e,r,`Expected string`,`remove`,i)}},q=(e,t,n,r)=>{let i=t[n];if(i!==void 0){if(br(i))return i;G(e,r,`Expected number`,`remove`,i)}},Cr=(e,t,n,r)=>{let i=t[n];if(i!==void 0){if(xr(i))return i;G(e,r,`Expected boolean`,`remove`,i)}},wr=(e,t,n,r,i)=>{if(!Array.isArray(t)||t.length!==r){G(e,n,`Expected tuple with ${r} items`,`remove`,t);return}let a=[];for(let e=0;ewr(e,t,n,r,(t,n)=>{if(br(t))return t;G(e,n,`Expected number`,`remove`,t)}),Er=(e,t,n,r)=>wr(e,t,n,r,(t,n)=>{if(xr(t))return t;G(e,n,`Expected boolean`,`remove`,t)}),Dr=(e,t,n,r=!1)=>{if(t===void 0&&r)return;if(!Array.isArray(t)){G(e,n,`Expected string array`,`remove`,t);return}let i=t.filter((t,r)=>H(t)?!0:(G(e,`${n}[${r}]`,`Expected string`,`remove`,t),!1));return i.length>0||!r?i:void 0},Or=(e,t,n)=>{if(!Array.isArray(t)){G(e,n,`Expected number array`,`remove`,t);return}return t.filter((t,r)=>br(t)?!0:(G(e,`${n}[${r}]`,`Expected number`,`remove`,t),!1))},kr=(e,t,n)=>Dr(e,t,n,!0),Ar=(e,t,n)=>{if(H(t))return t;if(!V(t)){G(e,n,`Expected fontFamily string or object`,`remove`,t);return}if(!H(t.latin)||!H(t.ea)){G(e,n,`FontFamily object requires latin and ea`,`remove`,t);return}return{latin:t.latin,ea:t.ea}},jr=(e,t,n)=>W({color:K(e,t,`color`,`${n}.color`),fontSize:q(e,t,`fontSize`,`${n}.fontSize`),fontFamily:t.fontFamily===void 0?void 0:Ar(e,t.fontFamily,`${n}.fontFamily`),bold:Cr(e,t,`bold`,`${n}.bold`),italic:Cr(e,t,`italic`,`${n}.italic`),backgroundColor:K(e,t,`backgroundColor`,`${n}.backgroundColor`),lineHeight:q(e,t,`lineHeight`,`${n}.lineHeight`),lineHeightPx:q(e,t,`lineHeightPx`,`${n}.lineHeightPx`),letterSpacing:q(e,t,`letterSpacing`,`${n}.letterSpacing`),marginTop:q(e,t,`marginTop`,`${n}.marginTop`)}),Mr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected text style object`,`remove`,t);return}return jr(e,t,n)},Nr=(e,t,n)=>wr(e,t,n,2,(t,n,r)=>{if(r===0&&U(t,nr)||r===1&&U(t,rr))return t;G(e,n,`Invalid alignment`,`remove`,t)}),Pr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected border object`,`remove`,t);return}let r;return t.style!==void 0&&(U(t.style,tr)?r=t.style:G(e,`${n}.style`,`Invalid border style`,`remove`,t.style)),W({style:r,width:q(e,t,`width`,`${n}.width`),color:K(e,t,`color`,`${n}.color`)})},Fr=(e,t,n)=>{if(t===null)return null;if(Array.isArray(t)){if(t.length!==2&&t.length!==4){G(e,n,`Expected border tuple with 2 or 4 items`,`remove`,t);return}let r=t.map((t,r)=>t===null?null:Pr(e,t,`${n}[${r}]`));return r.every(e=>e!==void 0)?r:void 0}return Pr(e,t,n)},Ir=(e,t,n)=>{if(!V(t)||!br(t.blur)||!H(t.color)){G(e,n,`Shadow requires blur and color`,`remove`,t);return}let r=t.offset===void 0?void 0:Tr(e,t.offset,`${n}.offset`,2);return{blur:t.blur,color:t.color,...r?{offset:r}:{}}},Lr=(e,t,n)=>{if(!V(t)||!U(t.mode,er)){G(e,n,`Image fit requires valid mode`,`remove`,t);return}return{mode:t.mode}},Rr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected crop object`,`remove`,t);return}return W({left:q(e,t,`left`,`${n}.left`),top:q(e,t,`top`,`${n}.top`),right:q(e,t,`right`,`${n}.right`),bottom:q(e,t,`bottom`,`${n}.bottom`)})},zr=(e,t,n)=>{if(t.type!==`gradient`||!U(t.gradientType,$n)||!Array.isArray(t.stops)){G(e,n,`Gradient fill requires gradientType and stops`,`remove`,t);return}let r=t.stops.map((t,r)=>{if(!V(t)||!br(t.position)||!H(t.color)){G(e,`${n}.stops[${r}]`,`Gradient stop requires position and color`,`remove`,t);return}return{position:t.position,color:t.color}}).filter(e=>!!e);if(r.length<2){G(e,`${n}.stops`,`Gradient fill requires at least 2 stops`,`remove`,t.stops);return}return W({type:`gradient`,gradientType:t.gradientType,stops:r,angle:q(e,t,`angle`,`${n}.angle`)})},Br=(e,t,n)=>{if(!V(t)||!U(t.type,Qn)){G(e,n,`Expected fill object with valid type`,`remove`,t);return}if(t.type===`solid`){if(!H(t.color)){G(e,`${n}.color`,`Solid fill requires color`,`remove`,t.color);return}return{type:`solid`,color:t.color}}if(t.type===`gradient`)return zr(e,t,n);if(!H(t.src)){G(e,`${n}.src`,`Image fill requires src`,`remove`,t.src);return}return W({type:`image`,src:t.src,fit:t.fit===void 0?void 0:Lr(e,t.fit,`${n}.fit`),crop:t.crop===void 0?void 0:Rr(e,t.crop,`${n}.crop`),opacity:q(e,t,`opacity`,`${n}.opacity`)})},Vr=(e,t,n)=>{if(H(t))return t;if(V(t)&&t.type===`gradient`)return zr(e,t,n);G(e,n,`Expected color string or gradient fill`,`remove`,t)},Hr=(e,t,n)=>{if(H(t)||V(t)&&t.type===`gradient`)return Vr(e,t,n);if(Array.isArray(t)){let r=t.map((t,r)=>Hr(e,t,`${n}[${r}]`)).filter(e=>e!==void 0);return r.length>0?r:void 0}if(V(t)){let r={};return Object.entries(t).forEach(([t,i])=>{let a=Vr(e,i,`${n}.${t}`);a!==void 0&&(r[t]=a)}),Object.keys(r).length>0?r:void 0}G(e,n,`Expected chart fill value`,`remove`,t)},Ur=(e,t,n)=>{if(!V(t)||!H(t.shapeName)){G(e,n,`ShapeDef requires shapeName`,`remove`,t);return}if(t.shapeName===`custom`&&!H(t.path)){G(e,n,`Custom ShapeDef requires path`,`remove`,t);return}return W({shapeName:t.shapeName,adjustments:t.adjustments===void 0?void 0:Or(e,t.adjustments,`${n}.adjustments`),viewBox:t.viewBox===void 0?void 0:Tr(e,t.viewBox,`${n}.viewBox`,2),path:K(e,t,`path`,`${n}.path`)})},Wr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected cell style object`,`remove`,t);return}return W({...jr(e,t,n),fill:t.fill===void 0?void 0:Br(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Fr(e,t.border,`${n}.border`),align:t.align===void 0?void 0:Nr(e,t.align,`${n}.align`)})},Gr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected table style object`,`remove`,t);return}let r=Array.isArray(t.bodyStyles)?t.bodyStyles.map((t,r)=>Wr(e,t,`${n}.bodyStyles[${r}]`)).filter(e=>!!e):void 0;return t.bodyStyles!==void 0&&!Array.isArray(t.bodyStyles)&&G(e,`${n}.bodyStyles`,`Expected bodyStyles array`,`remove`,t.bodyStyles),W({cellStyle:t.cellStyle===void 0?void 0:Wr(e,t.cellStyle,`${n}.cellStyle`),firstRowStyle:t.firstRowStyle===void 0?void 0:Wr(e,t.firstRowStyle,`${n}.firstRowStyle`),lastRowStyle:t.lastRowStyle===void 0?void 0:Wr(e,t.lastRowStyle,`${n}.lastRowStyle`),firstColumnStyle:t.firstColumnStyle===void 0?void 0:Wr(e,t.firstColumnStyle,`${n}.firstColumnStyle`),lastColumnStyle:t.lastColumnStyle===void 0?void 0:Wr(e,t.lastColumnStyle,`${n}.lastColumnStyle`),bodyStyles:r&&r.length>0?r:void 0,rowOverColumn:Cr(e,t,`rowOverColumn`,`${n}.rowOverColumn`)})},Kr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected theme object`,`remove`,t);return}let r={};V(t.colors)?Object.entries(t.colors).forEach(([t,i])=>{H(i)?r[t]=i:G(e,`${n}.colors.${t}`,`Expected color string`,`remove`,i)}):t.colors!==void 0&&G(e,`${n}.colors`,`Expected colors object`,`remove`,t.colors);let i={};V(t.textStyles)?Object.entries(t.textStyles).forEach(([t,r])=>{let a=Mr(e,r,`${n}.textStyles.${t}`);a&&(i[t]=a)}):t.textStyles!==void 0&&G(e,`${n}.textStyles`,`Expected textStyles object`,`remove`,t.textStyles);let a={};return V(t.tableStyles)?Object.entries(t.tableStyles).forEach(([t,r])=>{let i=Gr(e,r,`${n}.tableStyles.${t}`);i&&(a[t]=i)}):t.tableStyles!==void 0&&G(e,`${n}.tableStyles`,`Expected tableStyles object`,`remove`,t.tableStyles),W({colors:Object.keys(r).length>0?r:void 0,textStyles:Object.keys(i).length>0?i:void 0,tableStyles:Object.keys(a).length>0?a:void 0})},qr=(e,t,n)=>{if(t===void 0)return;if(!Array.isArray(t)){G(e,n,`Expected customFonts array`,`remove`,t);return}let r=t.map((t,r)=>{if(!V(t)||!H(t.family)||!H(t.src)){G(e,`${n}[${r}]`,`CustomFont requires family and src`,`remove`,t);return}return{family:t.family,src:t.src}}).filter(e=>!!e);return r.length>0?r:void 0},Jr=(e,t,n)=>{let r=H(t.elementId)?t.elementId:void 0,i=Tr(e,t.bounds,`${n}.bounds`,4);if(r||G(e,`${n}.elementId`,`Element requires elementId`,`remove`,t.elementId),i)return W({elementId:r,bounds:i,rotation:q(e,t,`rotation`,`${n}.rotation`),opacity:q(e,t,`opacity`,`${n}.opacity`),flip:t.flip===void 0?void 0:Er(e,t.flip,`${n}.flip`,2)})},Yr=(e,t,n)=>{if(!V(t)){G(e,n,`Text content requires text`,`remove`,t);return}if(!H(t.text)){G(e,`${n}.text`,`Text content requires text string`,`remove`,t.text);return}let r;return t.textDirection!==void 0&&(U(t.textDirection,ir)?r=t.textDirection:G(e,`${n}.textDirection`,`Invalid textDirection`,`remove`,t.textDirection)),W({text:t.text,style:K(e,t,`style`,`${n}.style`),...jr(e,t,n),textDirection:r,wrap:Cr(e,t,`wrap`,`${n}.wrap`),align:t.align===void 0?void 0:Nr(e,t.align,`${n}.align`),gradient:t.gradient===void 0?void 0:zr(e,t.gradient,`${n}.gradient`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)})},Xr=(e,t,n)=>{if(!V(t)){G(e,n,`Expected cell object`,`remove`,t);return}return W({text:K(e,t,`text`,`${n}.text`),textStyle:K(e,t,`textStyle`,`${n}.textStyle`),...jr(e,t,n),fill:t.fill===void 0?void 0:Br(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Fr(e,t.border,`${n}.border`),align:t.align===void 0?void 0:Nr(e,t.align,`${n}.align`),rowSpan:q(e,t,`rowSpan`,`${n}.rowSpan`),colSpan:q(e,t,`colSpan`,`${n}.colSpan`)})},Zr=e=>e.reduce((e,t)=>Math.max(e,t.reduce((e,t)=>e+(br(t.colSpan)&&t.colSpan>1?t.colSpan:1),0)),0),Qr=e=>{let t=Math.max(0,Math.ceil(e));return t>0?Array.from({length:t},()=>1/t):[]},$r=(e,t,n,r,i)=>{let a=t===void 0?void 0:Or(e,t,n);return a&&a.length>0?a:(G(e,n,`${i} fallback to equal rates`,`fallback`,t),Qr(r))},ei=(e,t,n)=>{if(!Array.isArray(t.rows)){G(e,`${n}.rows`,`Table requires rows array`,`remove`,t.rows);return}return t.rows.map((t,r)=>{if(!Array.isArray(t)){G(e,`${n}.rows[${r}]`,`Expected cell row array`,`remove`,t);return}return t.map((t,i)=>Xr(e,t,`${n}.rows[${r}][${i}]`)).filter(e=>!!e)}).filter(e=>!!e)},ti=(e,t,n,r=!1)=>{if(!V(t)){G(e,n,`Expected line style object`,`remove`,t);return}let i;t.style!==void 0&&(U(t.style,tr)?i=t.style:G(e,`${n}.style`,`Invalid line style`,`remove`,t.style));let a;return r&&t.arrow!==void 0&&(U(t.arrow,cr)?a=t.arrow:G(e,`${n}.arrow`,`Invalid axis arrow`,`remove`,t.arrow)),W({style:i,color:K(e,t,`color`,`${n}.color`),width:q(e,t,`width`,`${n}.width`),arrow:a})},ni=(e,t,n)=>{if(H(t))return t;if(!V(t)||!H(t.text)){G(e,n,`Title requires string or object with text`,`remove`,t);return}return W({text:t.text,color:K(e,t,`color`,`${n}.color`),fontSize:q(e,t,`fontSize`,`${n}.fontSize`),fontFamily:t.fontFamily===void 0?void 0:Ar(e,t.fontFamily,`${n}.fontFamily`)})},ri=(e,t,n)=>{if(xr(t))return t;if(!V(t)){G(e,n,`Legend requires boolean or object`,`remove`,t);return}let r;return t.position!==void 0&&(U(t.position,lr)?r=t.position:G(e,`${n}.position`,`Invalid legend position`,`remove`,t.position)),W({show:Cr(e,t,`show`,`${n}.show`),position:r,color:K(e,t,`color`,`${n}.color`),fontSize:q(e,t,`fontSize`,`${n}.fontSize`),fontFamily:t.fontFamily===void 0?void 0:Ar(e,t.fontFamily,`${n}.fontFamily`)})},ii=(e,t,n)=>{if(!V(t)){G(e,n,`Expected dataLabels object`,`remove`,t);return}let r;return t.content!==void 0&&(U(t.content,ur)?r=t.content:G(e,`${n}.content`,`Invalid data label content`,`remove`,t.content)),W({show:Cr(e,t,`show`,`${n}.show`),content:r,color:K(e,t,`color`,`${n}.color`),numberFormat:K(e,t,`numberFormat`,`${n}.numberFormat`),fontSize:q(e,t,`fontSize`,`${n}.fontSize`),fontFamily:t.fontFamily===void 0?void 0:Ar(e,t.fontFamily,`${n}.fontFamily`)})},ai=(e,t,n)=>{if(!V(t)){G(e,n,`Expected axis label object`,`remove`,t);return}return W({color:K(e,t,`color`,`${n}.color`),fontSize:q(e,t,`fontSize`,`${n}.fontSize`),fontFamily:t.fontFamily===void 0?void 0:Ar(e,t.fontFamily,`${n}.fontFamily`),numberFormat:K(e,t,`numberFormat`,`${n}.numberFormat`)})},oi=(e,t,n)=>{if(!V(t)){G(e,n,`Expected axis object`,`remove`,t);return}let r;return t.type!==void 0&&(U(t.type,sr)?r=t.type:G(e,`${n}.type`,`Invalid axis type`,`remove`,t.type)),W({show:Cr(e,t,`show`,`${n}.show`),type:r,min:q(e,t,`min`,`${n}.min`),max:q(e,t,`max`,`${n}.max`),reverse:Cr(e,t,`reverse`,`${n}.reverse`),title:t.title===void 0?void 0:ni(e,t.title,`${n}.title`),label:t.label===void 0?void 0:xr(t.label)?t.label:ai(e,t.label,`${n}.label`),axisLine:t.axisLine===void 0?void 0:xr(t.axisLine)?t.axisLine:ti(e,t.axisLine,`${n}.axisLine`,!0),gridLine:t.gridLine===void 0?void 0:xr(t.gridLine)?t.gridLine:ti(e,t.gridLine,`${n}.gridLine`)})},si=(e,t,n)=>{if(Array.isArray(t)){let r=t.map((t,r)=>oi(e,t,`${n}[${r}]`)).filter(e=>!!e);return r.length>0?r:void 0}return oi(e,t,n)},ci=(e,t,n)=>{if(!V(t)){G(e,n,`Expected spokeAxis object`,`remove`,t);return}return W({show:Cr(e,t,`show`,`${n}.show`),min:q(e,t,`min`,`${n}.min`),max:q(e,t,`max`,`${n}.max`),label:t.label===void 0?void 0:xr(t.label)?t.label:ai(e,t.label,`${n}.label`),axisLine:t.axisLine===void 0?void 0:ti(e,t.axisLine,`${n}.axisLine`),gridLine:t.gridLine===void 0?void 0:ti(e,t.gridLine,`${n}.gridLine`)})},li=(e,t,n)=>{if(t===void 0)return;if(t===!1)return!1;if(!V(t)){G(e,n,`Expected marker object or false`,`remove`,t);return}let r;return t.shape!==void 0&&(U(t.shape,dr)?r=t.shape:G(e,`${n}.shape`,`Invalid marker shape`,`remove`,t.shape)),W({shape:r,fill:t.fill===void 0?void 0:Vr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),size:q(e,t,`size`,`${n}.size`)})},ui=(e,t,n)=>{if(!V(t)||!H(t.col)||!H(t.value)&&!br(t.value)){G(e,n,`dataFilter requires col and value`,`remove`,t);return}return{col:t.col,value:t.value}},di=(e,t,n,r,i=[])=>{if(!V(t)){G(e,n,`Expected encode object`,`remove`,t);return}let a={};for(let i of r){if(!H(t[i])){G(e,`${n}.${i}`,`Encode field requires string`,`remove`,t[i]);return}a[i]=t[i]}for(let r of i)t[r]!==void 0&&(H(t[r])?a[r]=t[r]:G(e,`${n}.${r}`,`Encode field requires string`,`remove`,t[r]));return a},fi=(e,t,n,r,i,a=[])=>{if(!r)return di(e,t.encode,`${n}.encode`,i,a)??null},pi=(e,t,n)=>W({smooth:Cr(e,t,`smooth`,`${n}.smooth`),lineStyle:t.lineStyle===void 0?void 0:U(t.lineStyle,tr)?t.lineStyle:void 0,width:q(e,t,`width`,`${n}.width`),marker:li(e,t.marker,`${n}.marker`),nullHandling:t.nullHandling===void 0?void 0:U(t.nullHandling,fr)?t.nullHandling:void 0,lineColor:t.lineColor===void 0?void 0:Vr(e,t.lineColor,`${n}.lineColor`)}),mi=(e,t,n)=>{if(!V(t)){G(e,n,`Expected bars style object`,`remove`,t);return}return W({fill:t.fill===void 0?void 0:Vr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`)})},hi=(e,t,n)=>{if(!V(t)){G(e,n,`Expected colorScale object`,`remove`,t);return}let r;return t.type!==void 0&&(U(t.type,gr)?r=t.type:G(e,`${n}.type`,`Invalid colorScale type`,`remove`,t.type)),W({type:r,domain:t.domain===void 0?void 0:Tr(e,t.domain,`${n}.domain`,2)})},gi=(e,t,n,r=!1)=>{if(!V(t)||!r&&!U(t.type,vr)){G(e,n,`Expected chart series object with valid type`,`remove`,t);return}let i=t.type,a=W({name:K(e,t,`name`,`${n}.name`),xAxisIndex:q(e,t,`xAxisIndex`,`${n}.xAxisIndex`),yAxisIndex:q(e,t,`yAxisIndex`,`${n}.yAxisIndex`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`)});if(i===`bar`){let i=fi(e,t,n,r,[`x`,`y`]);if(i===null)return;let o=t.stack===void 0?void 0:U(t.stack,pr)?t.stack:void 0;return W({type:r?void 0:`bar`,encode:i,...a,stack:o,symbol:t.symbol===void 0?void 0:Ur(e,t.symbol,`${n}.symbol`),fill:t.fill===void 0?void 0:Vr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`)})}if(i===`line`){let i=fi(e,t,n,r,[`x`,`y`]);return i===null?void 0:W({type:r?void 0:`line`,encode:i,...a,...pi(e,t,n)})}if(i===`area`){let i=fi(e,t,n,r,[`x`,`y`]);if(i===null)return;let o=t.stack===void 0?void 0:U(t.stack,mr)?t.stack:void 0;return W({type:r?void 0:`area`,encode:i,...a,...pi(e,t,n),stack:o,areaColor:t.areaColor===void 0?void 0:Vr(e,t.areaColor,`${n}.areaColor`)})}if(i===`scatter`){let i=fi(e,t,n,r,[`x`,`y`]);return i===null?void 0:W({type:r?void 0:`scatter`,encode:i,...a,dataFilter:t.dataFilter===void 0?void 0:ui(e,t.dataFilter,`${n}.dataFilter`),marker:t.marker===void 0?void 0:li(e,t.marker,`${n}.marker`),fill:t.fill===void 0?void 0:Vr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`)})}if(i===`bubble`){let i=fi(e,t,n,r,[`x`,`y`,`size`]);if(i===null)return;let o;return t.sizeScale!==void 0&&(U(t.sizeScale,hr)?o=t.sizeScale:G(e,`${n}.sizeScale`,`Invalid sizeScale`,`remove`,t.sizeScale)),W({type:r?void 0:`bubble`,encode:i,...a,dataFilter:t.dataFilter===void 0?void 0:ui(e,t.dataFilter,`${n}.dataFilter`),sizeScale:o,sizeRange:t.sizeRange===void 0?void 0:Tr(e,t.sizeRange,`${n}.sizeRange`,2),fill:t.fill===void 0?void 0:Vr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`)})}if(i===`candlestick`){let i=fi(e,t,n,r,[`x`,`high`,`low`,`close`],[`open`]);return i===null?void 0:W({type:r?void 0:`candlestick`,encode:i,xAxisIndex:q(e,t,`xAxisIndex`,`${n}.xAxisIndex`),yAxisIndex:q(e,t,`yAxisIndex`,`${n}.yAxisIndex`),upBars:t.upBars===void 0?void 0:mi(e,t.upBars,`${n}.upBars`),downBars:t.downBars===void 0?void 0:mi(e,t.downBars,`${n}.downBars`),wickStyle:t.wickStyle===void 0?void 0:Pr(e,t.wickStyle,`${n}.wickStyle`)})}if(i===`pie`){let i=fi(e,t,n,r,[`category`,`value`]);return i===null?void 0:W({type:r?void 0:`pie`,encode:i,innerRadius:q(e,t,`innerRadius`,`${n}.innerRadius`),startAngle:q(e,t,`startAngle`,`${n}.startAngle`),fill:t.fill===void 0?void 0:Hr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`)})}if(i===`radar`){let i=fi(e,t,n,r,[`category`,`y`]);return i===null?void 0:W({type:r?void 0:`radar`,encode:i,...a,...pi(e,t,n),areaColor:t.areaColor===void 0?void 0:Vr(e,t.areaColor,`${n}.areaColor`)})}if(i===`waterfall`){let i=fi(e,t,n,r,[`x`,`y`],[`isTotal`]);return i===null?void 0:W({type:r?void 0:`waterfall`,encode:i,totalBars:t.totalBars===void 0?void 0:mi(e,t.totalBars,`${n}.totalBars`),increaseBars:t.increaseBars===void 0?void 0:mi(e,t.increaseBars,`${n}.increaseBars`),decreaseBars:t.decreaseBars===void 0?void 0:mi(e,t.decreaseBars,`${n}.decreaseBars`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`)})}if(i===`heatmap`){let i=fi(e,t,n,r,[`x`,`y`,`value`]);return i===null?void 0:W({type:r?void 0:`heatmap`,encode:i,colorScheme:t.colorScheme===void 0?void 0:kr(e,t.colorScheme,`${n}.colorScheme`),colorScale:t.colorScale===void 0?void 0:hi(e,t.colorScale,`${n}.colorScale`),colorbar:t.colorbar===void 0?void 0:xr(t.colorbar)?t.colorbar:ri(e,t.colorbar,`${n}.colorbar`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`)})}if(i===`treemap`||i===`sunburst`){let a=fi(e,t,n,r,[`category`,`value`],[`parent`]);return a===null?void 0:W({type:r?void 0:i,encode:a,levels:q(e,t,`levels`,`${n}.levels`),fill:t.fill===void 0?void 0:Hr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`)})}let o=fi(e,t,n,r,[`source`,`target`,`flow`]);if(o===null)return;let s;return t.nodeAlign!==void 0&&(U(t.nodeAlign,_r)?s=t.nodeAlign:G(e,`${n}.nodeAlign`,`Invalid nodeAlign`,`remove`,t.nodeAlign)),W({type:r?void 0:`sankey`,encode:o,nodeAlign:s,fill:t.fill===void 0?void 0:Hr(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`)})},_i=(e,t,n)=>{if(!V(t)){G(e,n,`Expected seriesDefaults object`,`remove`,t);return}let r={};return[`bar`,`line`,`area`,`scatter`,`bubble`,`candlestick`,`radar`].forEach(i=>{let a=t[i];if(a===void 0)return;if(!V(a)){G(e,`${n}.${i}`,`Expected series default object`,`remove`,a);return}let o=gi(e,{...a,type:i},`${n}.${i}`,!0);o&&(r[i]=o)}),Object.keys(r).length>0?r:void 0},vi=(e,t,n)=>{if(!V(t)){G(e,n,`Expected chart data object`,`remove`,t);return}let r=Dr(e,t.cols,`${n}.cols`);if(r){if(!Array.isArray(t.rows)){G(e,`${n}.rows`,`Expected chart rows array`,`remove`,t.rows);return}return{cols:r,rows:t.rows.map((t,r)=>{if(!Array.isArray(t)){G(e,`${n}.rows[${r}]`,`Expected chart row array`,`remove`,t);return}return t.map((t,i)=>Sr(t)?t:(G(e,`${n}.rows[${r}][${i}]`,`Chart cell converted to null`,`replace`,t),null))}).filter(e=>!!e)}}},yi=(e,t,n)=>{if(!V(t)||!U(t.elementType,Zn)){G(e,n,`Expected element object with valid elementType`,`remove`,t);return}let r=Jr(e,t,n);if(!r||!r.elementId)return;if(t.elementType===`text`){let i=Yr(e,t.content,`${n}.content`);return i?{...r,elementType:`text`,content:i}:void 0}if(t.elementType===`shape`){if(!H(t.shapeName)){G(e,`${n}.shapeName`,`Shape element requires shapeName`,`remove`,t.shapeName);return}if(t.shapeName===`custom`&&!H(t.path)){G(e,n,`Custom shape requires path`,`remove`,t);return}return W({...r,elementType:`shape`,shapeName:t.shapeName,adjustments:t.adjustments===void 0?void 0:Or(e,t.adjustments,`${n}.adjustments`),viewBox:t.viewBox===void 0?void 0:Tr(e,t.viewBox,`${n}.viewBox`,2),path:K(e,t,`path`,`${n}.path`),fill:t.fill===void 0?void 0:Br(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)})}if(t.elementType===`line`){let i=Tr(e,t.viewBox,`${n}.viewBox`,2),a=K(e,t,`points`,`${n}.points`);if(!i||!a)return;let o;t.curve!==void 0&&(U(t.curve,ar)?o=t.curve:G(e,`${n}.curve`,`Invalid line curve`,`remove`,t.curve));let s=t.arrow===void 0?void 0:wr(e,t.arrow,`${n}.arrow`,2,(t,n)=>{if(t===null||U(t,or))return t;G(e,n,`Invalid arrow type`,`remove`,t)});return W({...r,elementType:`line`,viewBox:i,points:a,curve:o,arrow:s,border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)})}if(t.elementType===`image`){if(!H(t.src)){G(e,`${n}.src`,`Image element requires src`,`remove`,t.src);return}return W({...r,elementType:`image`,src:t.src,cropShape:t.cropShape===void 0?void 0:Ur(e,t.cropShape,`${n}.cropShape`),fit:t.fit===void 0?void 0:Lr(e,t.fit,`${n}.fit`),crop:t.crop===void 0?void 0:Rr(e,t.crop,`${n}.crop`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)})}if(t.elementType===`icon`){if(!H(t.iconName)){G(e,`${n}.iconName`,`Icon element requires iconName`,`remove`,t.iconName);return}return W({...r,elementType:`icon`,iconName:t.iconName,fill:t.fill===void 0?void 0:Br(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)})}if(t.elementType===`table`){let i=ei(e,t,n);return i?W({...r,elementType:`table`,columnWidths:$r(e,t.columnWidths,`${n}.columnWidths`,Zr(i),`columnWidths`),rowHeights:$r(e,t.rowHeights,`${n}.rowHeights`,i.length,`rowHeights`),rows:i,style:t.style===void 0?void 0:H(t.style)?t.style:Gr(e,t.style,`${n}.style`),fill:t.fill===void 0?void 0:Br(e,t.fill,`${n}.fill`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)}):void 0}let i=vi(e,t.data,`${n}.data`),a=Array.isArray(t.series)?t.series.map((t,r)=>gi(e,t,`${n}.series[${r}]`)).filter(e=>!!e):void 0;if(!i||!a||a.length===0){G(e,n,`Chart requires data and series`,`remove`,t);return}return W({...r,elementType:`chart`,data:i,series:a,seriesDefaults:t.seriesDefaults===void 0?void 0:_i(e,t.seriesDefaults,`${n}.seriesDefaults`),xAxis:t.xAxis===void 0?void 0:si(e,t.xAxis,`${n}.xAxis`),yAxis:t.yAxis===void 0?void 0:si(e,t.yAxis,`${n}.yAxis`),barWidth:q(e,t,`barWidth`,`${n}.barWidth`),barGap:q(e,t,`barGap`,`${n}.barGap`),categoryGap:q(e,t,`categoryGap`,`${n}.categoryGap`),spokeAxis:t.spokeAxis===void 0?void 0:ci(e,t.spokeAxis,`${n}.spokeAxis`),title:t.title===void 0?void 0:ni(e,t.title,`${n}.title`),legend:t.legend===void 0?void 0:ri(e,t.legend,`${n}.legend`),dataLabels:t.dataLabels===void 0?void 0:ii(e,t.dataLabels,`${n}.dataLabels`),fontFamily:t.fontFamily===void 0?void 0:Ar(e,t.fontFamily,`${n}.fontFamily`),fill:t.fill===void 0?void 0:Br(e,t.fill,`${n}.fill`),border:t.border===void 0?void 0:Pr(e,t.border,`${n}.border`),shadow:t.shadow===void 0?void 0:Ir(e,t.shadow,`${n}.shadow`)})},bi=[`onClick`,`withPrevious`,`afterPrevious`],xi=[`up`,`down`,`left`,`right`],Si=[`linear`,`ease-in`,`ease-out`,`ease-in-out`],Ci=[`appear`,`fade-in`,`fly-in`,`zoom-in`,`wipe-in`,`float-in`,`peek-in`,`rise-in`,`pulse`,`grow-shrink`,`spin`,`teeter`,`fill-color`,`transparency`,`color-pulse`,`disappear`,`fade-out`,`fly-out`,`zoom-out`,`wipe-out`,`float-out`,`motion-path`],wi=(e,t,n)=>{if(!V(t)){G(e,n,`Expected animation object`,`remove`,t);return}if(!H(t.elementId)){G(e,`${n}.elementId`,`Expected string`,`remove`,t.elementId);return}if(!U(t.effect,Ci)){G(e,`${n}.effect`,`Unknown animation effect`,`remove`,t.effect);return}let r=t.trigger===void 0?void 0:t.trigger;r!==void 0&&!U(r,bi)&&G(e,`${n}.trigger`,`Unknown animation trigger`,`remove`,r);let i=t.direction===void 0?void 0:t.direction;i!==void 0&&!U(i,xi)&&G(e,`${n}.direction`,`Unknown animation direction`,`remove`,i);let a=t.easing===void 0?void 0:t.easing;return a!==void 0&&!U(a,Si)&&G(e,`${n}.easing`,`Unknown animation easing`,`remove`,a),W({elementId:t.elementId,effect:t.effect,trigger:r!==void 0&&U(r,bi)?r:void 0,direction:i!==void 0&&U(i,xi)?i:void 0,easing:a!==void 0&&U(a,Si)?a:void 0,durationMs:q(e,t,`durationMs`,`${n}.durationMs`),delayMs:q(e,t,`delayMs`,`${n}.delayMs`),repeat:q(e,t,`repeat`,`${n}.repeat`),path:t.effect===`motion-path`?K(e,t,`path`,`${n}.path`):void 0,color:t.effect===`fill-color`||t.effect===`color-pulse`?K(e,t,`color`,`${n}.color`):void 0,amount:t.effect===`transparency`?q(e,t,`amount`,`${n}.amount`):void 0})},Ti=(e,t,n)=>{if(t===void 0)return;if(!Array.isArray(t)){G(e,n,`Expected animations array`,`remove`,t);return}let r=t.map((t,r)=>wi(e,t,`${n}[${r}]`)).filter(e=>!!e);return r.length>0?r:void 0},Ei=(e,t,n)=>{if(!V(t)){G(e,n,`Expected page object`,`drop-page`,t);return}let r=Array.isArray(t.elements)?t.elements.map((t,r)=>yi(e,t,`${n}.elements[${r}]`)).filter(e=>!!e):[];return Array.isArray(t.elements)||G(e,`${n}.elements`,`Expected elements array, fallback to []`,`fallback`,t.elements),W({pageType:K(e,t,`pageType`,`${n}.pageType`),background:t.background===void 0?void 0:Br(e,t.background,`${n}.background`),notes:K(e,t,`notes`,`${n}.notes`),elements:r,animations:Ti(e,t.animations,`${n}.animations`)})},Di=(e,t)=>{if(!V(t))return G(e,`presentation.pptd`,`Expected PPTD v2 meta object`,`fallback`,t),{version:`v2`,size:yr,pages:[]};t.version!==`v2`&&G(e,`presentation.pptd.version`,`PPTD v2 meta requires version: v2`,`replace`,t.version);let n=Tr(e,t.size,`presentation.pptd.size`,2);return n||G(e,`presentation.pptd.size`,`Invalid size, fallback to default`,`fallback`,t.size),W({version:`v2`,title:K(e,t,`title`,`presentation.pptd.title`),customFonts:qr(e,t.customFonts,`presentation.pptd.customFonts`),size:n??yr,theme:t.theme===void 0?void 0:Kr(e,t.theme,`presentation.pptd.theme`),pages:Dr(e,t.pages,`presentation.pptd.pages`)??[]})},Oi=e=>{ve(`PPTD v2 checker found invalid data`,e)},ki=(e={})=>{let t=e.enabled!==!1,n={issues:[]};return{meta(e){return t?Di(n,e):e},page(e,r){return t?Ei(n,e,r):e},add:(e,r,i,a)=>{t&&G(n,e,r,i,a)},flush(){return n.issues.length>0&&(e.onIssue??Oi)(n.issues),n.issues}}},Ai={indent:4},ji=new Set([`bounds`,`size`,`arrow`,`adjustments`]);function Mi(e){return e.endsWith(`.pptd`)||e.endsWith(`.page`)}function Ni(e){return I.load(e)}function Pi(e,t){if(e instanceof Se)for(let t of e.items){let e=t.key instanceof L&&typeof t.key.value==`string`?t.key.value:void 0;Pi(t.value,e)}else if(e instanceof xe){t&&ji.has(t)&&(e.flow=!0);for(let t of e.items)Pi(t)}}function Fi(e){let t=new Ce.Document(e);return Pi(t.contents),t.toString({indent:Ai.indent,lineWidth:0,flowCollectionPadding:!1})}function Ii(e){return ki({enabled:e.checkerEnabled,onIssue:e.onIssue})}function Li(e,t){return!Mi(e)||t===`v2`?!1:t===`v1`||e.endsWith(`.pptd`)}function Ri(e,t){if(!Li(e.path,t))return{content:e.content,converted:!1,warnings:[]};let n=Yn(e.path,e.content);return{content:n.data,converted:!0,warnings:n.warnings}}function zi(e,t,n){if(e.endsWith(`.pptd`)){let e=Ni(t),r=n.meta(e);return M(r,e)?t:Fi(r)}if(e.endsWith(`.page`)){let r=Ni(t),i=n.page(r,e);if(!i)throw Error(`Invalid PPTD page: ${e}`);return M(i,r)?t:Fi(i)}return t}function Bi(e,t,n){let r=n??Gn(e),i=Ri(e,r);return{data:zi(e.path,i.content,t),sourceVersion:r,converted:i.converted,warnings:i.warnings}}function Vi(e,t,n={}){let r=Ii(n),i=Bi({path:e,content:t},r),a=r.flush();return{...i,issues:a}}function Hi(e,t={}){let n=Ii(t),r=e.find(e=>e.path.endsWith(`.pptd`))??e[0],i=r?Gn(r):`unknown`,a=i===`v1`?Xn(e):void 0,o=a?.data??e,s=[...a?.warnings??[]],c=!!a,l=o.map(e=>{let t=Bi(e,n,a?`v2`:void 0);return s.push(...t.warnings),c||(c=t.converted),{...e,content:t.data}}),u=n.flush();return{data:l,sourceVersion:i,converted:c,warnings:s,issues:u}}var Ui=[`#1783FF`,`#68B8A8`,`#C9A86A`,`#8C84C9`,`#8D98A8`,`#5F9CF5`,`#7BB6D9`,`#B28A9E`,`#333333`,`#dddddd`],Wi=e=>{let t=[...Ui];return e?.slice(0,Ui.length).forEach((e,n)=>{e&&(t[n]=e)}),t};function Gi(e){let t=(typeof e.points==`string`?e.points.trim().split(/\s+/).filter(Boolean):[]).map((e,t)=>{let[n=`0`,r=`0`]=e.split(`,`);return`${t===0?`M`:`L`}${n},${r}`}).join(` `),n=Array.isArray(e.viewBox)?e.viewBox:[e.bounds?.[2]??0,e.bounds?.[3]??0];return{...e,elementType:`shape`,shapeName:`custom`,path:t?`${n[0]},${n[1]};${t}`:void 0,viewBox:n}}var Ki=Object.entries({entrance:[`appear`,`fade-in`,`fly-in`,`zoom-in`,`wipe-in`,`float-in`,`peek-in`,`rise-in`],emphasis:[`pulse`,`grow-shrink`,`spin`,`teeter`,`fill-color`,`transparency`,`color-pulse`],exit:[`disappear`,`fade-out`,`fly-out`,`zoom-out`,`wipe-out`,`float-out`],"motion-path":[`motion-path`]}).flatMap(([e,t])=>t.map(t=>({category:e,effect:t}))),qi=e=>Ki.find(t=>t.effect===e)?.category??`entrance`;function Ji(e,t){if(!e?.some(e=>e.elementId===t))return e;let n=e.filter(e=>e.elementId!==t);return n.length?n:void 0}var Yi=1;function Xi(e){return Object.is(e,-0)?0:e}function Zi(e){return Xi(Number(e.toFixed(Yi)))}function Qi(e){return e.map(Zi)}function $i(e){return e.map(e=>Xi(Math.round(e)))}var ea=e({default:()=>ta}),ta=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAXESURBVHic7d1biFVVHMfxr46Ok2k5WZON5YzVZIEiQheTMNMoyNCUfLDnLtCFiMAiDIIIfOihfCjqpbKXLg+adnkwdZDIkDILCilzLoU1mreZpsaxtJf/gT+rfc5e58w+c86efh/YsPfstf9nzWHOf9Zae+11QERERERERERERERERERERERERERERESknoyrdQVEilgIXAc0A8eAt2pdIam9CbWugGRiFnArsAC4CphjW8ERoA84CHwF7Ac6gcEa1jnNcmC97b+qhCUyNqwB+oFzZW57gHm1rnwJz7u6vlLrykh9UAsr3+4A3nPHw8BW4DAwYB/2gslAC7ASmGpdrreBZdblEhGpqg9dK+QNoDXimunAFnfdw6NQz0qohSUyhswMungdZVx7i7tuVxXrOBJKWPIf42tdAanYtcHxz2Vc+43bXwJcnFGdRKpKY1j5dUlw/HcZ1w7YXcIldtwK/F6ifKvdibwUaLJ/dOeAIeAo0Av8EoyZlTLJpixcBkyx6TX9QBfwQxlxCsZb/dqsy9toPx8CTlr9u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EW4B1LZAMu5mSb77TWXftmkdVPt9vPrwAesGt328KBw/bPc6olx5XAZ/aNQMXssa5ri63GMGiP6Qy6L9xYbInvAzu3tkQ8ERkFHZEL2IVbtyW7Yprtiy3Kibk55YswlroVRYttx2xNLb8kTLHVGtZE1KnPEvpT7mfLRvieS42ohZV/PwJ32STKRdYFmh904wZsYL3HFrfbB+xMeezmhE132ATcbjELyyS3WOvmqMX8zsbCdqQ817jTWj13W9KYbVuPJdDdwMfW3VsV8bu/b2Nxq+z377DB/26r015rHXZZt1VERERERERERERERERERERERERERERERERERERERERk5P4FjrqSWt+NZS8AAAAASUVORK5CYII=`,na=e({default:()=>ra}),ra=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAXESURBVHic7d1biFVVHMfxr46Ok2k5WZON5YzVZIEiQheTMNMoyNCUfLDnLtCFiMAiDIIIfOihfCjqpbKXLg+adnkwdZDIkDILCilzLoU1mreZpsaxtJf/gT+rfc5e58w+c86efh/YsPfstf9nzWHOf9Zae+11QERERERERERERERERERERERERERERESknoyrdQVEilgIXAc0A8eAt2pdIam9CbWugGRiFnArsAC4CphjW8ERoA84CHwF7Ac6gcEa1jnNcmC97b+qhCUyNqwB+oFzZW57gHm1rnwJz7u6vlLrykh9UAsr3+4A3nPHw8BW4DAwYB/2gslAC7ASmGpdrreBZdblEhGpqg9dK+QNoDXimunAFnfdw6NQz0qohSUyhswMungdZVx7i7tuVxXrOBJKWPIf42tdAanYtcHxz2Vc+43bXwJcnFGdRKpKY1j5dUlw/HcZ1w7YXcIldtwK/F6ifKvdibwUaLJ/dOeAIeAo0Av8EoyZlTLJpixcBkyx6TX9QBfwQxlxCsZb/dqsy9toPx8CTlr9uiqIKyIZeSjoEpY7p+4F4CXgQUscSZYCn0TedewEVqS8ZpO9XneJOO8C7WV0CW8APo2o30dWVkRq4An3YeyvQvybi3zwj7kt6fzyEjFfTC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VbtyW7Yprtiy3Kibk55YswlroVRYttx2xNLb8kTLHVGtZE1KnPEvpT7mfLRvieS42ohZV/PwJ32STKRdYFmh904wZsYL3HFrfbB+xMeezmhE132ATcbjELyyS3WOvmqMX8zsbCdqQ817jTWj13W9KYbVuPJdDdwMfW3VsV8bu/b2Nxq+z377DB/26r015rHXZZt1VERERERERERERERERERERERERERERERERERERERERk5P4FjrqSWt+NZS8AAAAASUVORK5CYII=`,ia=e({default:()=>aa}),aa=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAwUSURBVHic7Z17sFdVFcc/l4vgBXmI4FskFfMq8jITuWIR1kAaypSKSKBZYaMNPhMzzKnUsUlNJt+NyuQoaZmlDppo+YC0jNToSpj5QC3TK4maguKvP/zuZs3unP07P+7vwb2sz8yZc+7Ze5/fOvu399prr73274LjOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jdJoOoAR8q2D+ScpfAkbUWLYs+pnPn1bF504Afg9cp8+oF5foXX5bx890PmQ7YDZwA7AUeBl4GLgUmAJs0WgBnf/HFdaHXGee++kqPrccjVJYg4GhwA456U1KH1pnBV4vPgusMt951nEjsHWjBd3U6dFoATZTHtN5NfB0g2WpB3OB54EFOel9lP48MLnOstWaCcBdwHBgEdAmxb01sDdwrvIdC1wo5e3k0LPRAmymXCkrpwN4pdHCODWjGfimrn8KHAesM+n/Br4LvCXrd47axhMNkneTxy2sxlAC2l1ZdXt2MRbj9ZGysiwE1ut6bJ1k65J0BwurCTgAOAIYBewDPCeH5q+AR8qU3weYAXxSDawduFfm+9qcMt+VH+4R4CBgQ06+HsBDwHjgFOAy3Z8G3KbrrYC3M8puA0wHPgGMlpP2d8CtwHIjw4VmFK81wyX7ONV1B/BHYLGO90zeScDRuh6t81jgmoznNpvrEyK/3gJgRZS/Rc8/TNOqocBfg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TN3O6YmFsXdeltK0hiGBvVptma+NxtGt9rpasy6mwkJK2L0KLNuxeLgV0g5a7o7xwRDk1kHWNVprGAR/WBugmEyldbCxNpRRWbyNXQT6ci3WNmWa/3iazzaeWCgu90E3B/d4no3OjwhEWBUqmoHCdSspfLoVlo+B3KrRhnAYY4/WOWeNejq+u1C0nSQFkBTgW1AGyNkV30haftHr2K0wi6yUdmhJ82Wo+UWNHduVSWMg3dmeGLE+pQ8fJcp6+1JB2fouUbrHbLSq5+XlsxmdMFmqafE2dKCw08pidM1i3KWXDcjnlL5fC6i4DF7dtLpSrGJ90m6mFg/Z57aC/XS/YeRotDFJg3D/0NYEmja5ez6jviOpap2C2MWa1bJumiqtzBmU+om07lymSvhH4q/ZTrTQO05aMekrlJX3GY4mmriO0V/A5+fCa5K/6V8L50bfFx+slGKbR6W4F/G0G/mACEOuFDXqhL9Z9P0X3faNGirtUrp7a/YrCblbono9WiE20Yv2EZGjSyDktuLne5D8ol8xyzYpGy287UFu7HtMq/e+B/1SpTY7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jlM7/ABbjIJshTW5mAAAAAElFTkSuQmCC`,Ra=e({default:()=>za}),za=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAqYSURBVHic7Z1/kJVVGce/d9d1+eEKK9EupiDQurMSlq2UCf4K0RETg8yBhAVLxPgxBY61lEwNWES1GBD4qxQYJwynLS1tMmMY+oFhNZqJOuVIRlY2pCxZ7qTe/vmemWfeOee857z3vvfuj+cz885973ue8+Pe3fe5z3nOc54XUBRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFUZS+RG21B6AofYhaAMUI+VEATgBQB6A3x3EpRBXWwKUDwEkADlV7IP2EYQB+BeCdAHoA/DWgzh4Am6jkflaBMQ56jqv2AAYYMwHU59zHHwH8IUVmFoAdPP8mgA0ADidkZgD4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M4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4ReV/2nr95RnDobEAAAAASUVORK5CYII=`,Wa=e({default:()=>Ga}),Ga=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAKFSURBVHic7dw9jtNAFADgB6Kn3BYhOvYERHRoRUUJRTgC7A1AnCHQpF8kLgElBe2KEgTUFOwJoFhbMpbtJM7YYyffJ1nZKP554/HPzJvRRgAAAAAAAAAAAAAAAAAAAAAAQC9/eyzL3EETq4Hq67Rh+9MByzGW3OXat75mcZ/eHPuAAH3dynDMNxHxqeW3FxHxdNxw2EB9zUuq+jraet+lGVlv1q5GjJNrQ9dX7q7TUHKVK1V9zeI+1SUEZmOOD6xd3hJdb4BUSeWp7WdM64hYVJZ1wzr1cl02rHOZsb5SXT99y7WvG7XlfcM65fFfDnD8UeXIYXE4vuYOgONyCA+sk4h4WPy9aFnnqmP71xHxseW384h41vJbecyTLfZT+jXgflJ5VXw+Ls7nvUqMbX52xLSOiA+V73caWgHLiPhR+d5UX/X9NCnr60kR97eIuNiwTd/rJ1W5UltExKMN65TX2BjxzE7qZF5X12DMeFJ106ba3ZvjPKwxrp82UxlMWPasr9T36SAOoYXFML7E9dB2l7OIeBARd4vPK93EbO5HxO2iLtq8i4jftVYfNdu+pcd6uveJJ0cyOFWLZkhjTmvY5fzsUl+pWge5W1jbnJ+ueFLfp4OY4yghcKRydAlzJ5Xrtomn1JSkPC+WLqtiSPmiWN42bJNqP/uq53KetwyVj2WXeFaHMHS/o7bc277XxtTu04hMD6zvEfE5w3HbTC0emIJJ3hfHmHRPNWy/aZuq+pSFakst1X5SKYf2yykCXednqvHw/3SNNn9aJrwetdSJulRJ06n8O46pJjunNq1B0r1Zn+unqezZE+rbkHQHAAAAAAAAAAAAAAAAAAAAAAAAAAAAMvgHa0cxks/C3NQAAAAASUVORK5CYII=`,Ka=e({default:()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URSkbnTlLnLd2p1UURak4xlNZrQyMilcURVEURVEURVEURVEURVEURVEURVEURVEURVEURVGU9PwPx9HbjaXPozAAAAAASUVORK5CYII=`,no=e({default:()=>ro}),ro=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAQlSURBVHic7dxZaFxVGMDxf5NWo0kaihAal1pcIi4PpmKooFaqPihYCK6ggg+K2AfRImihClarPliouKCC4oMgolRBRVHRopT2wQ2tWiu2sWikigquNNbWl69wuNx7Z8nMZGb8/2DImXuWeybJfJx7zrkXJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJElSG7oKOFDyurCkbm9BnSdb2H9J/yOHAIPArUnAmQSOiuPzKtQfBIaADcBTwALg8Bb1XarJ3NnugGZsOl7fJMcmge+rrP97/NwJzAd+bUIfpYbome0OSFK1DFiSOoYBS1LHMGCpkp8zK4h7k4n8k4C1wBvAFPAOsAZYlNPOyTmrkY9H3hzgHOARYHPMwb0E3BiLAkV6ot5a4LWYx5sCNgEPxgppbxN+J5JmaEUSCDbVUf/mCDZZizNtb47jVwLPAMuBUWAZ8G6U2Q4cm2nn0GjrjqStuyL4rYugMx5B8NIkUL4QdbP6gIejzEpgYZRbACwFXkmCYl8dvw9JTdSsgEUEmrTt5cC9OaOX85Jy91TRzzXAbcBlOeXSbRorcvLT/Wf9OfnpiG5lhc+uDuEloWo1H7gBuB/4N5P3WZKeiEu9MktiZPRiTt7HSfqsnPyRJL04J/8r4IdIX+//endwH5ZqNQY8BPyZk5fu4ToVGEj2eeWZAE4vyPslSecFpFeBs6P9qZz8/cC3EdjGgCOAn0r6og5gwFI9thQc3w/8CAzH+74KAevLzKgsNZ2k8ybev465rmr1G7A6nwFL9dhVkvd3De28H0EuT3q87NJyHnBGXF6OAicAR8al5khJPXUgr+tVqw+BfxrU1p4Z1j8feCtGfJfECuaqWLFcBGxtUD/VJhxhdY90Aryev+vBJ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uwoojyFZV0kZTVjSGO8TFjVilr26W3HNkrY5KJk5zuQerEfTFaUhRjFO07L+UC9umHNUPH3+j4jrLgCqwsT69Oc7pHYT4sY59ggky6jRHthIsIrMvVpzxMP0X5NiU44U/Uca9xlvXWPIc6y+pkPt6UoOkkCaySophlZainMVGO6NM8xvo28AuE1pvSkrL4tdISR+PII7CMglg/rOKcoVydOnUV2F7BfY+K0UC2qtC2OSFrPribD3GWTQZ+KD9YMOZC9Xk/J0MfdJeyMvt3KxO9a8y43moqeK6EVSXLVlbL9N0pDbJV0VfTaDoZJrCKcZC0k8fUL72Sz7XrqXKQOJNptZ4YHVeM2z303iBtIOjaUFJEq1ZRyqTH1add+Fvkv2uK8audrCTW56RpVqP3+VpF5O7V97ZOJTK+Zqrxf4AVPxejTSH2zdIwogiWT1b73HcSqvhLuonUKw8KOcmviGitskEP6YwjuFCDhypMU25RoF2N1udwJvwgjd2pQuPdEjgvpTyg4WoV/LoaZpMe77VdYf5Kap9RvCpf4mcU3VtkLYsNIxsl+UnachQVP6vcnTyRpanaxwqZY3ckmGthapX0eJEzF5+HZYQZUrAAOMtDKML43ozNh2UYEdQrXyipP3qThEuPDE9xiaOvnuQyUDlTeervSnK4d5Q/aJEiitVkbkQqgw8l4GvWkcEwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMA/gsmFYaohW5QzAAAAABJRU5ErkJggg==`,yo=e({default:()=>bo}),bo=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAoaSURBVHic7Zx7kJZVHcc/764LLOtycbkELLSsIC2XBGFDbhmoZTGoNGmkXJyUzLDUUsoKsEE0qRAhlUpNu4EyolaWXUWTiYjImDS6WNgFZ8doSqYLNPX2B98z85un53nfZ9/LPuzO7zOz87zPec95zu+c55zf+f1+57wLjuM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4ju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T9NcKtXmGWpuNoK1tYSw28DgwVhqZAuYsrGEJlIDBequFLtU9Itp5z5GtF9zx6OUjN4u560psFzIl7RbvwykHy2klfn95S+VXyYS/wcsKrHnVJZypkTkMFoA/HBMtKnACV5vloUMCUQaQ+WC0VxAX9OWQP/u6aCFvptdW0dMFHC8c4BbTWkoTcV9FNpjGcyI27q6KYe+egE7JIc6RQKysfNlGP1CfwHwLid7gf/XULgM5gTsB+ADnPT/5GfRA8AfacocTWinL6N3ZzP2bzSAX9D38yI1pD8DeJs+o3foD/pD4NpG7oP1O+7H9XbGttMy3OQ3vU7tzI7zPi5FAu/TbeZcFQX1u67OvuxzlKx5lCkJSfe4FNXsi10p8BGXmyWEaCd9+IMUafZxrxQN1OBCC5YLTLZ9pozfARxELS2vzfUKbj8u/S6hEKJLY/2FWX9YRAghOpUoK769KwiEEKLD6cclV/dUuiNCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIITqJ/wD1AXXa9XDlxgAAAABJRU5ErkJggg==`,qo=`zh-cn`,J=`en-us`,Jo=new Set([`zh`,`ja`,`ko`]),Yo=e=>{let[t]=e.toLowerCase().replace(/_/g,`-`).split(`-`);return Jo.has(t)},Y=`./neo-ppt/`,Xo=[{label:`默认字体`,enLabel:`Default`,value:``,aliasList:[],locale:[qo,J]},{label:`Liter`,enLabel:`Liter`,value:`Liter`,aliasList:[`Liter`],fntdataUrl:`${Y}fonts/fnt/Liter.fntdata`,locale:[J]},{label:`Hedvig Letters Sans`,enLabel:`Hedvig Letters Sans`,value:`HedvigLettersSans`,aliasList:[`Hedvig Letters Sans`,`HedvigLettersSans`],fntdataUrl:`${Y}fonts/fnt/HedvigLettersSans.fntdata`,locale:[J]},{label:`Oranienbaum`,enLabel:`Oranienbaum`,value:`Oranienbaum`,aliasList:[`Oranienbaum`],fntdataUrl:`${Y}fonts/fnt/Oranienbaum.fntdata`,locale:[J]},{label:`Quattrocento Sans`,enLabel:`Quattrocento Sans`,value:`QuattrocentoSans`,aliasList:[`Quattrocento Sans`,`QuattrocentoSans`],fntdataUrl:`${Y}fonts/fnt/QuattrocentoSans.fntdata`,locale:[J]},{label:`Sorts Mill Goudy`,enLabel:`Sorts Mill Goudy`,value:`SortsMillGoudy`,aliasList:[`Sorts Mill Goudy`,`SortsMillGoudy`],fntdataUrl:`${Y}fonts/fnt/SortsMillGoudy.fntdata`,locale:[J]},{label:`Unna`,enLabel:`Unna`,value:`Unna`,aliasList:[`Unna`],fntdataUrl:`${Y}fonts/fnt/Unna.fntdata`,locale:[J]},{label:`Luckiest Guy`,enLabel:`Luckiest Guy`,value:`LuckiestGuy`,aliasList:[`Luckiest Guy`,`LuckiestGuy`],fntdataUrl:`${Y}fonts/fnt/LuckiestGuy.fntdata`,locale:[J]},{label:`Coda`,enLabel:`Coda`,value:`Coda`,aliasList:[`Coda`],fntdataUrl:`${Y}fonts/fnt/Coda.fntdata`,locale:[J]},{label:`Jersey 15`,enLabel:`Jersey 15`,value:`Jersey15`,aliasList:[`Jersey 15`],fntdataUrl:`${Y}fonts/fnt/Jersey15.fntdata`,locale:[J]},{label:`Press Start 2P`,enLabel:`Press Start 2P`,value:`PressStart2P`,aliasList:[`Press Start 2P`,`PressStart2P`],fntdataUrl:`${Y}fonts/fnt/PressStart2P.fntdata`,locale:[J]},{label:`Jersey 20 Charted`,enLabel:`Jersey 20 Charted`,value:`Jersey20Charted`,aliasList:[`Jersey 20 Charted`,`Jersey20Charted`],fntdataUrl:`${Y}fonts/fnt/Jersey20Charted.fntdata`,locale:[J]},{label:`Mi Sans`,enLabel:`Mi Sans`,embedLabel:`MiSans`,value:`MiSans`,aliasList:[`MiSans LC`,`等线`,`MiSans`],fntdataUrl:`${Y}fonts/fnt/MiSans.fntdata`,locale:[qo,J]},{label:`思源黑体`,enLabel:`Source Han Sans`,embedLabel:`Noto Sans SC`,value:`Noto Sans SC`,aliasList:[`思源黑体`,`SourceHanSans`,`Noto Sans`,`Noto Sans SC`,`黑体`,`SimHei`],fntdataUrl:`${Y}fonts/fnt/Noto Sans SC.fntdata`,locale:[qo,J]},{label:`思源宋体`,enLabel:`Source Han Serif`,value:`思源宋体`,aliasList:[`思源宋体`,`SourceHanSerif`,`siyuanSongti`,`宋体`,`SimSun`],fntdataUrl:`${Y}fonts/fnt/思源宋体.fntdata`,locale:[qo,J]},{label:`阿里妈妈刀隶体`,enLabel:`Alimama Dao Li`,value:`阿里妈妈刀隶体`,aliasList:[`阿里妈妈刀隶`,`alimamadaoliti`],fntdataUrl:`${Y}fonts/fnt/阿里妈妈刀隶体.fntdata`,locale:[qo,J]},{label:`站酷文艺体`,enLabel:`Zhanku Wen Yi`,value:`站酷文艺体`,aliasList:[`站酷文艺`,`zhankuwenyiti`],fntdataUrl:`${Y}fonts/fnt/站酷文艺体.fntdata`,locale:[qo,J]},{label:`站酷庆科黄油体`,enLabel:`ZCOOL QingKe HuangYou`,embedLabel:`ZCOOL QingKe HuangYou`,value:`站酷庆科黄油体`,aliasList:[`站酷庆科黄油`,`ZCOOL QingKe HuangYou`,`ZCOOLQingKeHuangYou`,`zhankuQingkeHuangyou`],fntdataUrl:`${Y}fonts/fnt/站酷庆科黄油体.fntdata`,locale:[qo,J]},{label:`飞波正点体`,enLabel:`Feibo Zhengdian`,value:`飞波正点体`,aliasList:[`飞波正点`,`feibozhengdianti`],fntdataUrl:`${Y}fonts/fnt/飞波正点体.fntdata`,locale:[qo,J]},{label:`程荣光刻楷`,enLabel:`Cheng Rong Guang Ke Kai`,value:`程荣光刻楷`,aliasList:[`程荣光刻楷`,`chengrengguangkekai`,`楷体`,`KaiTi`],fntdataUrl:`${Y}fonts/fnt/程荣光刻楷.fntdata`,locale:[qo,J]},{label:`得意黑`,enLabel:`Smiley Sans`,value:`得意黑`,aliasList:[`得意黑`,`Smiley Sans`,`deyihei`],fntdataUrl:`${Y}fonts/fnt/得意黑.fntdata`,locale:[qo,J]},{label:`精品点阵体`,enLabel:`Fusion Pixel`,embedLabel:`BoutiqueBitmap9x9 1.6 R`,value:`精品点阵体`,aliasList:[`精品点阵体9×9 1.6`,`Fusion Pixel 9x9`,`jingpindianzhenTi`],fntdataUrl:`${Y}fonts/fnt/精品点阵体.fntdata`,locale:[qo,J]},{label:`Long Cang`,enLabel:`Long Cang`,value:`Long Cang`,aliasList:[`Long Cang`,`LongCang`,`龙藏体`],fntdataUrl:`${Y}fonts/fnt/Long Cang.fntdata`,locale:[qo,J]},{label:`鹜霞文楷`,enLabel:`LXGW Bright`,embedLabel:`LXGW Bright`,value:`LXGW Bright`,aliasList:[`LXGW Bright`,`LXGWBright`,`霞鹜文楷`,`仿宋`,`FangSong`],fntdataUrl:`${Y}fonts/fnt/LXGW Bright.fntdata`,locale:[qo,J]},{label:`站酷快乐体`,enLabel:`ZCOOL KuaiLe`,embedLabel:`ZCOOL KuaiLe`,value:`ZCOOL KuaiLe`,aliasList:[`ZCOOL KuaiLe`,`ZCOOLKuaiLe`,`站酷快乐体`],fntdataUrl:`${Y}fonts/fnt/ZCOOL KuaiLe.fntdata`,locale:[qo,J]}],Zo=(e,t)=>t===`zh-cn`?e.label:e.enLabel,Qo=(e,t)=>{let n=Xo.find(e=>e.value===``),r=Xo.filter(e=>e.value&&e.locale.length===1&&e.locale[0]===J);return Yo(e)?[n,t,...Xo.filter(e=>e.value&&e.locale.includes(`zh-cn`)),t,...r]:[n,t,...r]};function $o(e){return!!e&&e.startsWith(`$`)}function X(e,t){if(!t||!t.startsWith(`$`))return t;let n=t.slice(1);return e?.colors[n]??t}function es(e,t){if(!t||!t.startsWith(`$`))return;let n=t.slice(1);return e?.textStyles[n]}function ts(e,t){if(!t||!t.startsWith(`$`))return;let n=t.slice(1);return e?.tableStyles?.[n]}function ns(e,t){if(t)return t.type===`solid`?{...t,color:X(e,t.color)??t.color}:t.type===`gradient`?{...t,stops:t.stops.map(t=>({...t,color:X(e,t.color)??t.color}))}:t.type===`image`&&t.mask?{...t,mask:ns(e,t.mask)}:t}function rs(e,t){if(t)return{...t,color:X(e,t.color)??t.color}}function is(e,t){if(t)return Array.isArray(t)?t.map(t=>t&&rs(e,t)):rs(e,t)}function as(e,t){let n=t,r=es(e,t.style),i=r;return{...r,...t,text:os(e,t.text),color:X(e,t.color??r?.color),fontSize:t.fontSize??r?.fontSize,fontFamily:t.fontFamily??r?.fontFamily,fontStyle:t.fontStyle??r?.fontStyle,bold:t.bold??r?.bold,italic:t.italic??r?.italic,lineHeight:t.lineHeight??r?.lineHeight,lineHeightPx:t.lineHeightPx??r?.lineHeightPx,letterSpacing:t.letterSpacing??r?.letterSpacing,marginTop:t.marginTop??r?.marginTop,backgroundColor:X(e,n.backgroundColor??i?.backgroundColor),gradient:t.gradient?ns(e,t.gradient):void 0,shadow:t.shadow?{...t.shadow,color:X(e,t.shadow.color)??t.shadow.color}:void 0}}function os(e,t){let n=typeof t==`string`?t:String(t??``);if(!e||!n||!n.includes(`$`))return n;let r=new DOMParser().parseFromString(n,`text/html`),i=!1,a=r.createTreeWalker(r.body,NodeFilter.SHOW_ELEMENT);for(;a.nextNode();){let t=a.currentNode,n=t.getAttribute(`style`);if(!n)continue;let r=n.replace(/([-\w]+):\s*([^;]+)/g,(t,n,r)=>{let i=r.trim();if(!i.startsWith(`$`))return t;let a=X(e,i);return a&&a!==i?`${n}: ${a}`:t});r!==n&&(t.setAttribute(`style`,r),i=!0)}return i?r.body.innerHTML:n}function ss(e,t){if(!$o(t.style))return t;let n=es(e,t.style),{style:r,...i}=t;return{...n,...i,color:X(e,t.color??n?.color),fontSize:t.fontSize??n?.fontSize,fontFamily:t.fontFamily??n?.fontFamily,fontStyle:t.fontStyle??n?.fontStyle,bold:t.bold??n?.bold,italic:t.italic??n?.italic,backgroundColor:X(e,t.backgroundColor??n?.backgroundColor),lineHeight:t.lineHeight??n?.lineHeight,lineHeightPx:t.lineHeightPx??n?.lineHeightPx,letterSpacing:t.letterSpacing??n?.letterSpacing,marginTop:t.marginTop??n?.marginTop,shadow:t.shadow?{...t.shadow,color:X(e,t.shadow.color)??t.shadow.color}:void 0}}function cs(e,t){return t&&{...t,label:t.label&&typeof t.label==`object`?{...t.label,color:X(e,t.label.color)}:t.label,axisLine:t.axisLine&&typeof t.axisLine==`object`?{...t.axisLine,color:X(e,t.axisLine.color)}:t.axisLine,gridLine:t.gridLine&&typeof t.gridLine==`object`?{...t.gridLine,color:X(e,t.gridLine.color)}:t.gridLine,title:typeof t.title==`object`&&t.title?{...t.title,color:X(e,t.title.color)}:t.title}}function ls(e,t){return Array.isArray(t)?t.map(t=>cs(e,t)):cs(e,t)}function us(e,t){if(typeof t==`string`)return X(e,t)??t;if(Array.isArray(t))return t.map(t=>us(e,t));if(!t||typeof t!=`object`)return t;let n=t;return n.type===`solid`||n.type===`gradient`||n.type===`image`?ns(e,t):Object.fromEntries(Object.entries(n).map(([t,n])=>[t,us(e,n)]))}function ds(e,t){return!t||typeof t!=`object`?t:{...t,color:X(e,t.color)??t.color}}function fs(e,t){if(!t||typeof t!=`object`||Array.isArray(t))return t;let n={...t};for(let t of[`fill`,`lineColor`,`areaColor`,`colorScheme`])t in n&&(n[t]=us(e,n[t]));for(let t of[`border`,`wickStyle`])t in n&&(n[t]=rs(e,n[t]));for(let t of[`dataLabels`,`colorbar`])t in n&&(n[t]=ds(e,n[t]));for(let t of[`marker`,`upBars`,`downBars`,`totalBars`,`increaseBars`,`decreaseBars`]){let r=n[t];if(!r||typeof r!=`object`||Array.isArray(r))continue;let i=r,a={...i};`fill`in i&&(a.fill=us(e,i.fill)),`border`in i&&(a.border=rs(e,i.border)),n[t]=a}return n}function ps(e,t){return!t||typeof t!=`object`||Array.isArray(t)?t:Object.fromEntries(Object.entries(t).map(([t,n])=>[t,fs(e,n)]))}function ms(e,t){return{...t,fill:t.fill?ns(e,t.fill):void 0,border:t.border?rs(e,t.border):void 0,shadow:t.shadow?{...t.shadow,color:X(e,t.shadow.color)??t.shadow.color}:void 0}}function hs(e,t){switch(t.elementType){case`text`:return{...t,content:as(e,t.content)};case`shape`:case`image`:case`icon`:return ms(e,t);case`table`:{let n=typeof t.style==`string`?ts(e,t.style):void 0;return{...t,border:t.border?is(e,t.border):void 0,shadow:t.shadow?{...t.shadow,color:X(e,t.shadow.color)??t.shadow.color}:void 0,style:n??t.style,rows:t.rows.map(t=>t.map(t=>({...t,content:t.content?as(e,t.content):void 0,fill:t.fill?ns(e,t.fill):void 0,border:t.border?is(e,t.border):void 0})))}}case`chart`:{let n=t,r=n;return{...ms(e,n),colors:r.colors?.map(t=>X(e,t)??t),series:Array.isArray(n.series)?n.series.map(t=>fs(e,t)):n.series,seriesDefaults:ps(e,n.seriesDefaults),seriesStyle:r.seriesStyle?Object.fromEntries(Object.entries(r.seriesStyle).map(([t,n])=>[t,{...n,fill:n.fill?ns(e,n.fill):void 0,border:n.border?rs(e,n.border):void 0,marker:n.marker&&typeof n.marker==`object`?{...n.marker,fill:n.marker.fill?ns(e,n.marker.fill):void 0,border:n.marker.border?rs(e,n.marker.border):void 0}:n.marker}])):void 0,xAxis:ls(e,n.xAxis),yAxis:ls(e,n.yAxis),secondaryAxis:cs(e,r.secondaryAxis),title:typeof n.title==`object`&&n.title?{...n.title,color:X(e,n.title.color)}:n.title,legend:n.legend&&typeof n.legend==`object`?{...n.legend,color:X(e,n.legend.color)}:n.legend,dataLabels:n.dataLabels?{...n.dataLabels,color:X(e,n.dataLabels.color)}:n.dataLabels}}default:return t}}function gs(e){return e?Array.isArray(e)?e.length===2?[e[0],e[1],e[0],e[1]]:[e[0]??null,e[1]??null,e[2]??null,e[3]??null]:[e,e,e,e]:[null,null,null,null]}function _s(e,t){if(t)return gs(t).map(t=>t?rs(e,t):null)}function vs(e,t){if(!t||typeof t!=`object`||Array.isArray(t))return;let n=t,r=es(e,n.style),i=r,a={...r,...n,color:X(e,n.color??i?.color),backgroundColor:X(e,n.backgroundColor??i?.backgroundColor),bold:n.bold??i?.bold,italic:n.italic??i?.italic,fill:n.fill?ns(e,n.fill):void 0,border:n.border?_s(e,n.border):void 0};return Object.fromEntries(Object.entries(a).filter(([,e])=>e!==void 0))}function ys(e,t){if(!t)return;let n=typeof t==`string`?ts(e,t):t;if(n)return{fontSize:n.fontSize,fontFamily:n.fontFamily,fill:n.fill?ns(e,n.fill):void 0,headerFill:X(e,n.headerFill),headerColor:X(e,n.headerColor),headerBold:n.headerBold,bodyFill:n.bodyFill?.map(t=>X(e,t)??t),bodyColor:X(e,n.bodyColor),firstColumnFill:X(e,n.firstColumnFill),firstColumnColor:X(e,n.firstColumnColor),firstColumnBold:n.firstColumnBold,border:_s(e,n.border),headerBorder:_s(e,n.headerBorder),bodyBorder:_s(e,n.bodyBorder),lastRowBorder:_s(e,n.lastRowBorder),cellStyle:vs(e,n.cellStyle),firstRowStyle:vs(e,n.firstRowStyle),lastRowStyle:vs(e,n.lastRowStyle),firstColumnStyle:vs(e,n.firstColumnStyle),lastColumnStyle:vs(e,n.lastColumnStyle),bodyStyles:Array.isArray(n.bodyStyles)?n.bodyStyles.map(t=>vs(e,t)).filter(e=>!!e):void 0,rowOverColumn:typeof n.rowOverColumn==`boolean`?n.rowOverColumn:!0}}var bs=Object.assign({"../assets/font-preview/Coda_enLabel.png":ea,"../assets/font-preview/Coda_label.png":na,"../assets/font-preview/HedvigLettersSans_enLabel.png":ia,"../assets/font-preview/HedvigLettersSans_label.png":oa,"../assets/font-preview/Jersey15_enLabel.png":ca,"../assets/font-preview/Jersey15_label.png":ua,"../assets/font-preview/Jersey20Charted_enLabel.png":fa,"../assets/font-preview/Jersey20Charted_label.png":ma,"../assets/font-preview/LXGW Bright_enLabel.png":ga,"../assets/font-preview/LXGW Bright_label.png":va,"../assets/font-preview/Liter_enLabel.png":ba,"../assets/font-preview/Liter_label.png":Sa,"../assets/font-preview/Long Cang_enLabel.png":wa,"../assets/font-preview/Long Cang_label.png":Ea,"../assets/font-preview/LuckiestGuy_enLabel.png":Oa,"../assets/font-preview/LuckiestGuy_label.png":Aa,"../assets/font-preview/MiSans_enLabel.png":Ma,"../assets/font-preview/MiSans_label.png":Pa,"../assets/font-preview/Noto Sans SC_enLabel.png":Ia,"../assets/font-preview/Noto Sans SC_label.png":Ra,"../assets/font-preview/Oranienbaum_enLabel.png":Ba,"../assets/font-preview/Oranienbaum_label.png":Ha,"../assets/font-preview/PressStart2P_enLabel.png":Wa,"../assets/font-preview/PressStart2P_label.png":Ka,"../assets/font-preview/QuattrocentoSans_enLabel.png":Ja,"../assets/font-preview/QuattrocentoSans_label.png":Xa,"../assets/font-preview/SortsMillGoudy_enLabel.png":Qa,"../assets/font-preview/SortsMillGoudy_label.png":eo,"../assets/font-preview/Unna_enLabel.png":no,"../assets/font-preview/Unna_label.png":io,"../assets/font-preview/ZCOOL KuaiLe_enLabel.png":oo,"../assets/font-preview/ZCOOL KuaiLe_label.png":co,"../assets/font-preview/得意黑_enLabel.png":uo,"../assets/font-preview/得意黑_label.png":po,"../assets/font-preview/思源宋体_enLabel.png":ho,"../assets/font-preview/思源宋体_label.png":_o,"../assets/font-preview/程荣光刻楷_enLabel.png":yo,"../assets/font-preview/程荣光刻楷_label.png":xo,"../assets/font-preview/站酷庆科黄油体_enLabel.png":Co,"../assets/font-preview/站酷庆科黄油体_label.png":To,"../assets/font-preview/站酷文艺体_enLabel.png":Do,"../assets/font-preview/站酷文艺体_label.png":ko,"../assets/font-preview/精品点阵体_enLabel.png":jo,"../assets/font-preview/精品点阵体_label.png":No,"../assets/font-preview/阿里妈妈刀隶体_enLabel.png":Fo,"../assets/font-preview/阿里妈妈刀隶体_label.png":Lo,"../assets/font-preview/霞鹜新致宋_enLabel.png":zo,"../assets/font-preview/霞鹜新致宋_label.png":Vo,"../assets/font-preview/飞波正点体_enLabel.png":Uo,"../assets/font-preview/飞波正点体_label.png":Go}),xs={};for(let e in bs){let t=e.replace(`../assets/font-preview/`,``).replace(`.png`,``);xs[t]=bs[e].default}function Ss(e,t){return xs[`${e}_${t===`zh-cn`?`label`:`enLabel`}`]}var Cs=new Set,ws=new Map,Ts=20*1e3;function Es(e){if(!e)return;if(typeof e==`string`)return e;if(typeof e!=`object`)return;let t=e;return[t.latin,t.ea].filter(Boolean).join(`, `)}var Ds=/[\u2e80-\u2eff\u3000-\u30ff\u3400-\u4dbf\u4e00-\u9fff\uf900-\ufaff\ufe30-\ufe4f\uff00-\uffef]/;function Os(e){return Ds.test(e)}function ks(e){return(e??``).trim().replace(/^['"]|['"]$/g,``)}function As(e,t){if(!e)return``;let n=Os(t);if(typeof e==`object`){let t=n?e.ea:e.latin,r=n?e.latin:e.ea;return ks(t)||ks(r)}let r=e.split(`,`).map(e=>ks(e)).filter(Boolean);return r.length?n&&r[1]||r[0]:``}function js(e,t,n){return!e||typeof e==`string`?t:Os(n)?{...e,ea:t}:{...e,latin:t}}function Ms(e,t){return Promise.race([e,new Promise((e,n)=>setTimeout(()=>n(Error(`timeout`)),t))])}async function Ns(e,t=!1,n){if(typeof e==`string`&&(e=Xo.find(t=>t.value===e)),!e)return;let r=e.fntdataUrl,i=e.fntdataUrl;if(!r||!i)return Promise.reject(Error(`invalid font`));if(ws.has(r)){let e=ws.get(r);if(!t||e.status===`fulfilled`||e.status===`pending`)return e.loader;ws.delete(r)}let a=Ms(fetch(i).then(async e=>{if(!n)return e.blob();let t=Number(e.headers?.get?.(`content-length`)??0)||0;if(!e.body)return n(0),e.blob();let r=e.body.getReader(),i=[],a=0;for(;;){let{done:e,value:o}=await r.read();if(e)break;i.push(o),a+=o.length,t>0&&n(Math.min(a/t,1))}return new Blob(i)}),Ts),o={loader:a,status:`pending`};return ws.set(r,o),a.then(()=>{o.status=`fulfilled`},()=>{o.status=`rejected`}),a}function Ps(e){let t=[],n=/font-family:\s*['"]?([^'";]+)['"]?/gi,r;for(;(r=n.exec(e))!==null;)t.push(r[1].trim());return t}function Fs(e){return Xo.find(t=>t.value===e||t.embedLabel===e||t.aliasList.includes(e))}var Is=`MiSans`;function Ls(e,t){let n=Es(e);if(n)for(let e of n.split(`,`)){let n=Fs(e.trim().replace(/^['"]|['"]$/g,``));n&&t.add(n)}}function Rs(e,t,n){if(e){if(e.style){let r=es(n,e.style);r?.fontFamily&&Ls(r.fontFamily,t)}if(e.fontFamily&&Ls(e.fontFamily,t),e.text)for(let n of Ps(e.text)){let e=Fs(n);e&&t.add(e)}}}function zs(e){let t=e.trim().replace(/^['"]|['"]$/g,``),n=Fs(t);return n?n.embedLabel??n.label:t}function Bs(e){return e&&(typeof e==`string`?e.split(`,`).map(e=>zs(e)).join(`, `):typeof e==`object`?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,typeof t==`string`?zs(t):t])):e)}function Vs(e){return e.replace(/font-family:\s*['"]?([^'";]+)['"]?/gi,(e,t)=>{let n=t.split(`,`).map(e=>zs(e)).join(`,`);return e.replace(t,n)})}function Hs(e,t){if(!e)return e;let n=es(t,e.style)?.fontFamily,r=e.fontFamily||n?Bs(e.fontFamily):Is;return{...e,fontFamily:r,text:e.text?Vs(e.text):e.text}}function Us(e){let t=e.theme?{...e.theme,textStyles:e.theme.textStyles?Object.fromEntries(Object.entries(e.theme.textStyles).map(([e,t])=>[e,{...t,fontFamily:Bs(t.fontFamily)}])):e.theme.textStyles}:e.theme;return{...e,theme:t,pages:e.pages.map(t=>({...t,elements:t.elements.map(t=>t.elementType===`text`?{...t,content:Hs(t.content,e.theme)}:t.elementType===`table`?{...t,rows:t.rows.map(t=>t.map(t=>({...t,content:Hs(t.content,e.theme)})))}:t.elementType===`chart`?{...t,fontFamily:t.fontFamily?Bs(t.fontFamily):Is}:t)}))}}function Ws(e,t,n){switch(e.elementType){case`text`:Rs(e.content,t,n);break;case`table`:for(let r of e.rows)for(let e of r)Rs(e.content,t,n);break;case`chart`:{let n=e.options,r=typeof e.fontFamily==`string`?e.fontFamily:n?.fontFamily,i=r?Fs(r):void 0;i&&t.add(i)}break}}function Gs(){let e=new Set,t=async(t={})=>{let{force:n=!1,onError:r,onProgress:i}=t,a=[],o=e.size,s=0;for(let t of e){let e=Ns(t,n,e=>i?.({done:s,total:o,fraction:e})).then(e=>({typeface:t.embedLabel??t.label,fontBlob:e}));e.catch(e=>{r?.(t,e)}),a.push(e.finally(()=>i?.({done:++s,total:o,fraction:0})))}return(await Promise.allSettled(a)).filter(e=>e.status===`fulfilled`).map(e=>e.value)};return{scan:(n,r=!1)=>{let i=n.theme;for(let t of n.pages)for(let n of t.elements)Ws(n,e,i);if(r)return t()},loadFonts:t}}function Ks(e){try{let t=new URL(e);return t.host===`fonts.googleapis.com`&&t.searchParams.has(`family`)}catch{return!1}}function qs(e){return/[?&]display=/.test(e)?e:`${e}${e.includes(`?`)?`&`:`?`}display=swap`}var Js=new Set,Ys=null;async function Xs(e,t){let n=document.createElement(`link`);n.rel=`stylesheet`,n.href=qs(t),document.head.appendChild(n),await new Promise((t,r)=>{n.addEventListener(`load`,()=>t()),n.addEventListener(`error`,()=>r(Error(`Failed to load custom font: ${e}`)))}),await document.fonts?.load(`16px "${e}"`),Js.add(t),Cs.add(e)}function Zs(e){if(!e?.length)return Promise.resolve();let t=e.map(async({family:e,src:t})=>{if(!(!e||!t||Js.has(t)))try{Ks(t)&&await Xs(e,t)}catch(t){console.warn(`[font] load custom font failed: ${e}`,t)}}),n=Promise.all(t).then(()=>void 0);return Ys=Ys?Promise.all([Ys,n]).then(()=>void 0):n,n}function Qs(){return Ys??Promise.resolve()}function $s(e,t){return!e||!t?.length?``:t.find(t=>t.family===e&&Ks(t.src))?.family??``}function ec(e,t,n){if(!t?.length)return e;let r=new Set,i=[];for(let{family:n,src:a}of t)!n||r.has(n)||!Ks(a)||e.some(e=>typeof e==`object`&&!!e&&(e.value===n||e.aliasList?.includes(n)))||(r.add(n),i.push({label:n,enLabel:n,value:n,aliasList:[n],locale:[]}));return i.length?[...i,n,...e]:e}var tc=e=>e.replace(/\.page$/,``);function nc(e){let t={...e};return t.bounds&&(t.bounds=Qi(t.bounds)),t.adjustments&&(t.adjustments=$i(t.adjustments)),t.cropShape?.adjustments&&(t.cropShape={...t.cropShape,adjustments:$i(t.cropShape.adjustments)}),t}function rc(e){let t=e.version!==`v2`;return e.pages.map(e=>({...e,elements:e.elements.map(e=>t&&e.elementType===`line`?Gi(e):e)}))}var ic=pe(()=>{let e=_e(ae),t=d({version:`v2`,size:[1280,720]}),n=d(new Map),r=d([]),i=d(null),a=d(null),o=d(0),c=d(null),l=()=>{o.value++},u=e=>{c.value=e?{seconds:e.seconds,nanos:e.nanos}:null},f=s(()=>i.value?n.value.get(i.value):void 0),p=s(()=>n.value.get(i.value??``)?.elements??[]),m=s(()=>t.value.theme),h=s(()=>t.value.size),g=s(()=>Wi(Object.values(t.value.theme?.colors??{}))),_=(e,t,r)=>{let i=n.value.get(e);if(!i)return;let a=i.elements.findIndex(e=>e.elementId===t);a!==-1&&(Object.assign(i.elements[a],nc(r)),l())},v=(e,t,r,i)=>{let a=n.value.get(e);if(!a)return;let o=a.elements.findIndex(e=>e.elementId===t);if(o===-1)return;let s=a.elements[o];a.elements[o]=Object.assign({},s,{bounds:Qi([s.bounds[0]+r,s.bounds[1]+i,s.bounds[2],s.bounds[3]])}),a.elements=[...a.elements],n.value=new Map(n.value),l()},y=(e,t,r)=>{let i=n.value.get(e);if(!i)return;let a=i.elements.findIndex(e=>e.elementId===t);a!==-1&&(i.elements[a]=Object.assign({},i.elements[a],{bounds:Qi(r)}),i.elements=[...i.elements],n.value=new Map(n.value),l())},b=(e,t,r)=>{let i=n.value.get(e);if(!i)return;let a=i.elements.findIndex(e=>e.elementId===t);a!==-1&&(i.elements[a]=Object.assign({},i.elements[a],{rotation:r}),i.elements=[...i.elements],n.value=new Map(n.value),l())},x=(e,t)=>{let r=n.value.get(e);r&&(r.elements=[...r.elements,nc(t)],n.value=new Map(n.value),l())},S=(e,t)=>{let r=n.value.get(e);if(!r)return;let i=r.elements.find(e=>e.elementId===t);if(!i)return;r.elements=r.elements.filter(e=>e.elementId!==t);let a=Ji(r.animations,t);a!==r.animations&&(a?r.animations=a:delete r.animations),n.value=new Map(n.value),l(),me(`msh_nppt_element_edited`,{type:i.elementType,edit_type:`delete`},[`type`,`edit_type`])},C=(e,t,r)=>{let i=n.value.get(e);if(!i)return;let a=i.elements.findIndex(e=>e.elementId===t);if(a===-1)return;let o=[...i.elements],[s]=o.splice(a,1);switch(r){case`up`:o.splice(Math.min(a+1,o.length),0,s);break;case`down`:o.splice(Math.max(a-1,0),0,s);break;case`top`:o.push(s);break;case`bottom`:o.unshift(s);break}i.elements=o,n.value=new Map(n.value),l()},w=()=>`pages/p-${fe(6)}`,T=(e=`content`)=>{let t=w(),a={pageId:t,pageType:e,elements:[]};n.value.set(t,a);let o=i.value?r.value.indexOf(i.value):-1,s=o>=0?o+1:r.value.length;return r.value.splice(s,0,t),i.value=t,l(),t},E=e=>{n.value.delete(e);let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1),i.value===e&&(i.value=r.value[Math.min(t,r.value.length-1)]??null),l()},ee=(e,t)=>{let[n]=r.value.splice(e,1);r.value.splice(t,0,n),l()},D=e=>{if(typeof e==`string`){let t=tc(e);if(!n.value.has(t))return;i.value=t}else if(typeof e==`number`){let t=r.value[e];if(!t)return;i.value=t}},O=e=>{Zs(e.customFonts)},k=e=>{let a=rc(e);t.value={...t.value,version:`v2`,title:e.title,customFonts:e.customFonts,theme:e.theme,size:e.size,pptdFileName:e.pptdFileName},n.value=new Map(a.map(e=>[e.pageId,e])),r.value=a.map(e=>e.pageId),i.value=a[0]?.pageId??null,O(e)},A=e=>{let n=e.slideId!==void 0&&e.slideId!==t.value.slideId;t.value={...t.value,slideId:e.slideId,chatId:e.chatId,messageId:e.messageId,actualAgentId:e.actualAgentId},ye({slide_id:e.slideId,msh_conversation_id:e.chatId,msh_message_id:e.messageId,actual_agent:e.actualAgentId,membership_plan:e.membership_plan,ppt_platform:e.pptPlatform??ne()}),n&&u(null)},te=e=>{t.value={...t.value,title:e},l()},re=()=>({...t.value,pages:r.value.map(e=>n.value.get(e)).filter(Boolean)});return{meta:t,pages:n,pageOrder:r,currentPageId:i,currentPage:f,currentElements:p,saveVersion:o,lastModified:c,theme:m,pageSize:h,colorList:g,markDirty:l,setLastModified:u,updateElement:_,moveElement:v,resizeElement:y,rotateElement:b,addElement:x,removeElement:S,reorderElement:C,createPageId:w,addPage:T,removePage:E,movePage:ee,setCurrentPage:D,updateTitle:te,updateTheme:e=>{t.value={...t.value,theme:e},l()},deleteTheme:()=>{t.value={...t.value,theme:void 0},l()},setThemeColor:(e,n)=>{t.value={...t.value,theme:{...t.value.theme,colors:{...t.value.theme?.colors,[e]:n}}},l()},removeThemeColor:e=>{let n={...t.value.theme?.colors};delete n[e],t.value={...t.value,theme:{...t.value.theme,colors:n}},l()},setThemeTextStyle:(e,n)=>{t.value={...t.value,theme:{...t.value.theme,textStyles:{...t.value.theme?.textStyles,[e]:n}}},l()},removeThemeTextStyle:e=>{let n={...t.value.theme?.textStyles};delete n[e],t.value={...t.value,theme:{...t.value.theme,textStyles:n}},l()},importPPTD:k,exportPPTD:re,restorePPTD:e=>{let a=rc(e);t.value={...t.value,version:`v2`,title:e.title,customFonts:e.customFonts,theme:e.theme,size:e.size,pptdFileName:e.pptdFileName},n.value=new Map(a.map(e=>[e.pageId,e])),r.value=a.map(e=>e.pageId),r.value.includes(i.value??``)||(i.value=a[0]?.pageId??null),O(e)},importFSJSON:e=>{let t=Hi(e);a.value=JSON.parse(JSON.stringify(t.data)),k(it(t.data))},exportFSJSON:()=>Ot(re(),a.value??void 0),getPPTDData:async t=>{let n=await e.getPPTDDetail({slidesId:t}),r={};return n.pages.forEach(e=>{r[e.path]=e.content}),{content:n.pptdContent,pagesMap:r,lastModifiedTime:n.lastModifiedTime,pptdPath:n.pptdPath}},getPPTDIsCreate:async t=>{let{slides:n}=await e.getSlides({id:t});return n?.status!==oe.COMPLETED},originalFSJSON:a,initFromPPTDYAML:e=>{let a=Vi(t.value.pptdFileName??`presentation.pptd`,e).data,o=Te(a);if(!o)throw Error(`Invalid metaPPTD`);return t.value={version:`v2`,title:o.title,customFonts:o.customFonts,theme:o.theme,size:o.size,pptdFileName:void 0},n.value=new Map,r.value=[],o.pages.forEach(e=>{let t=tc(e),i={pageId:t,pageType:`content`,elements:[],pagePath:e};n.value.set(t,i),r.value.push(t)}),i.value=r.value[0]??null,O(o),{metaData:o,pageOrder:o.pages}},updatePagesFromYAML:e=>{for(let[t,i]of Object.entries(e))if(i)try{let e=Vi(t,i).data,a=we(e),o=tc(t);n.value.get(o)?n.value.set(o,{...a,pageId:o,pagePath:t}):(n.value.set(o,{...a,pageId:o,pagePath:t}),r.value.includes(o)||r.value.push(o))}catch{}n.value=new Map(n.value)},updatePageNotes:(e,t)=>{let r=n.value.get(e);r&&r.notes!==t&&(r.notes=t,n.value=new Map(n.value),l())},updatePageBackground:(e,t)=>{let r=n.value.get(e);r&&(r.background=t,n.value=new Map(n.value),l())},updatePageAnimations:(e,t)=>{let r=n.value.get(e);r&&(t?.length?r.animations=t:delete r.animations,n.value=new Map(n.value),l())},applyBackgroundToAllPages:e=>{for(let t of n.value.values())t.background=e?JSON.parse(JSON.stringify(e)):void 0;n.value=new Map(n.value),l()},updateSlidesMetaData:A}}),ac=`kimi-ppt`,oc=(e,t,n)=>{if(e.startsWith(`test.`))return d(t);let r=g(`${ac}-${e}`,t);return n&&(r.value=n(r.value)),r},sc=e=>localStorage.getItem(`${ac}-${e}`),cc=(e,t)=>{localStorage.setItem(`${ac}-${e}`,t)},lc=e=>{localStorage.removeItem(`${ac}-${e}`)},uc=e=>localStorage.getItem(`${ac}-${e}`),dc=(e,t)=>{localStorage.setItem(`${ac}-${e}`,t)},fc=3e3,pc=`neo-design-pptd-cache`,mc=3,hc=`\0`,gc=class extends Ee{constructor(){super(pc),j(this,`slides`,void 0),j(this,`snapshots`,void 0),j(this,`versions`,void 0),j(this,`images`,void 0),this.version(mc).stores({slides:`slideId`,snapshots:`++id, slideId, [slideId+stack]`,versions:`++id, slideId, kind, createdAt`,images:`key, slideId`}),this.slides=this.table(`slides`),this.snapshots=this.table(`snapshots`),this.versions=this.table(`versions`),this.images=this.table(`images`)}},_c,vc=()=>typeof indexedDB<`u`,yc=()=>{if(vc())try{return _c||(_c=new gc),_c}catch{_c=void 0;return}},bc=(e,t)=>`${e}${hc}${t}`,xc=e=>{let t=0;for(let n=0;n>>0}`},Sc=(e,t)=>{me(`msh_nppt_version_add`,{slide_id:e,version_text:t.versionText,version_hash:t.versionHash})},Cc=async e=>{let t;try{return await Promise.race([e(),new Promise((e,n)=>{t=setTimeout(()=>n(Error(`PPTD cache DB timeout`)),fc)})])}finally{t&&clearTimeout(t)}},wc=async(e,t)=>{let n=yc();return n?n.snapshots.where(`[slideId+stack]`).equals([e,t]).sortBy(`id`):[]},Tc=async()=>{let e=yc();return e?e.slides.toArray():[]},Ec=async e=>{let t=yc();t&&await t.transaction(`rw`,t.slides,t.snapshots,t.versions,t.images,async()=>{await t.snapshots.where(`slideId`).equals(e).delete(),await t.versions.where(`slideId`).equals(e).delete(),await t.images.where(`slideId`).equals(e).delete(),await t.slides.delete(e)})},Dc=async()=>{let e=(await Tc()).toSorted((e,t)=>t.updatedAt-e.updatedAt).slice(10);await Promise.all(e.map(e=>Ec(e.slideId)))},Oc=async e=>{let t=yc();t&&(await t.slides.put({slideId:e,updatedAt:Date.now()}),await Dc())},kc=async(e,t)=>{let n=await wc(e,t);if(n.length<=50)return;let r=n.slice(0,n.length-50).map(e=>e.id).filter(e=>e!==void 0);await yc()?.snapshots.bulkDelete(r)},Ac=async(e,t)=>(await e.versions.where(`slideId`).equals(t).sortBy(`id`)).at(-1),jc=async(e,t,n)=>!!await e.versions.where(`slideId`).equals(t).and(e=>e.kind===n).first(),Mc=async(e,t,n,r)=>{if(r.uniqueKind&&await jc(e,t,r.kind))return;let i=xc(n);if(r.diffLatest){let r=await Ac(e,t);if(r?.contentHash===i&&r.content===n)return}let a=Date.now();return await e.versions.add({slideId:t,kind:r.kind,reason:r.reason,content:n,contentHash:i,createdAt:a,updatedAt:a}),{versionText:`V${await e.versions.where(`slideId`).equals(t).count()}`,versionHash:i}},Nc=async e=>Cc(async()=>{await Oc(e);let t=yc();if(!t)return{undoLength:0,redoLength:0};let[n,r]=await Promise.all([t.snapshots.where(`[slideId+stack]`).equals([e,`undo`]).count(),t.snapshots.where(`[slideId+stack]`).equals([e,`redo`]).count()]);return{undoLength:n,redoLength:r}}),Pc=async(e,t,n)=>Cc(async()=>{await Oc(e);let r=yc();if(!r)return Nc(e);let i;return await r.transaction(`rw`,r.snapshots,r.versions,async()=>{let a=Date.now();await r.snapshots.where(`[slideId+stack]`).equals([e,`redo`]).delete(),await r.snapshots.add({slideId:e,stack:`undo`,content:t,createdAt:a,updatedAt:a}),n&&(i=await Mc(r,e,t,n))}),i&&Sc(e,i),await kc(e,`undo`),Nc(e)}),Fc=async(e,t,n)=>Cc(async()=>{await Oc(e);let r=yc();if(!r)return!1;let i=await r.transaction(`rw`,r.versions,async()=>Mc(r,e,t,n));return i&&Sc(e,i),!!i}),Ic=async(e,t,n)=>Cc(async()=>{await Oc(e);let r=yc();if(!r)return Nc(e);let i=Date.now();return await r.snapshots.add({slideId:e,stack:t,content:n,createdAt:i,updatedAt:i}),await kc(e,t),Nc(e)}),Lc=async(e,t)=>Cc(async()=>{await Oc(e);let n=(await wc(e,t)).at(-1);if(n?.id!==void 0)return await yc()?.snapshots.delete(n.id),n.content}),Rc=async e=>Cc(async()=>{let t=yc();return t?(await t.versions.where(`slideId`).equals(e).sortBy(`id`)).map(({content:e,...t})=>({...t,size:e.length})):[]}),zc=async(e,t=`undo`)=>Cc(async()=>{let n=(await wc(e,t)).at(-1);if(n)return xc(n.content)}),Bc=async(e,t)=>Cc(async()=>{let n=yc();if(!n)return;let r=await n.versions.get(t);if(r?.slideId===e)return r}),Vc=async(e,t)=>Cc(async()=>{await Oc(e);let n=yc();if(n)return(await n.images.get(bc(e,t)))?.url}),Hc=async(e,t,n)=>Cc(async()=>{await Oc(e);let r=yc();r&&await r.images.put({key:bc(e,t),slideId:e,path:t,url:n,updatedAt:Date.now()})}),Uc=async(e,t)=>Cc(async()=>{let n=yc();n&&await n.images.delete(bc(e,t))}),Wc=async()=>Cc(async()=>{let e=yc();e&&await e.images.clear()});function Gc(){let e=d(null);return{isPicking:s(()=>e.value!==null),start:t=>{e.value=t},cancel:()=>{e.value=null},complete:t=>{let n=e.value;e.value=null,n?.(t)}}}function Kc(e){return e instanceof HTMLElement&&e.closest(`[data-element-id]`)?.getAttribute(`data-element-id`)||null}var qc=58,Jc=.5,Yc=36,Xc=130,Zc=3,Qc=260,$c=192,el=220,tl=e=>JSON.parse(JSON.stringify(e)),nl=e=>typeof e==`object`&&!!e&&!Array.isArray(e),rl=e=>{let t=e?.find(e=>e.path.endsWith(`.pptd`))??e?.[0];if(t)try{let e=I.load(t.content);return nl(e)?Object.prototype.hasOwnProperty.call(e,`version`)?`v2`:`v1`:void 0}catch{return}},il={hasSelection:!1,bold:!1,em:!1,underline:!1,strikethrough:!1,subscript:!1,superscript:!1,forecolor:``,backcolor:``,fontname:``,fontsize:``},al=(e,t,n,r)=>Number.isFinite(e)?Math.max(t,Math.min(e,n)):r,ol=pe(()=>{let{exportPPTD:e,restorePPTD:t,markDirty:n,meta:r,currentPageId:i}=ic(),o=oc(`editor.sidebarWidth`,$c,e=>al(e,192,400,$c)),c=oc(`editor.sidebarCollapsed`,re),l=oc(`editor.rightPanelWidth`,el,e=>al(e,220,700,el)),u=d(null),f=d(null),p=d(null),m=d(0),h=d(!1),g=s(()=>m.valueg.value?0:m.valuedocument.documentElement.clientHeight/2),b=d(!0),x=null;A(g,()=>{h.value&&(x&&clearTimeout(x),_.value=!0,x=setTimeout(()=>{_.value=!1,x=null},Qc))});let S=d([]),C=d([]),w=d(null),T=d([]),E=d(!1),ee=d(1),D=d(),O=d(!1),k=d(null),te=d(!1),ne=d(!1),ie=d(!1),j=d([]),M=d(null),N=d({...il}),ae=d(null),P=a(null),oe=()=>{S.value=[],C.value=[],w.value=null,E.value=!1,ne.value=!1,ie.value=!1,j.value=[],M.value=null,N.value={...il},ae.value=null,P.value=null};A(i,(e,t)=>{e!==t&&oe()}),A(w,()=>{E.value=!1});let se=d(!1),ce=d(!1),le=d(!1),ue=d(!0),de=d(!1),fe=d(null),pe=s(()=>!ue.value),he=s(()=>ue.value&&!de.value),ge=d(!1),_e=d(),ye=d(null),F=d([]),be=d([]),I=d(0),L=d(0),xe=d(!1),Se=s(()=>!xe.value&&I.value>0),Ce=s(()=>!xe.value&&L.value>0),we=Promise.resolve(),Te=vc(),Ee=0,De=()=>r.value.slideId,Oe=({undoLength:e,redoLength:t})=>{I.value=e,L.value=t,F.value=F.value.slice(-Math.min(e,10)),be.value=be.value.slice(-Math.min(t,10))},ke=(e,t)=>{e.value.push(t),e.value.length>10&&e.value.shift()},Ae=e=>{if(!e)return!1;try{return t(JSON.parse(e)),n(),!0}catch(e){return ve(`[Snapshot] Failed to restore snapshot`,e),!1}},je=e=>{me(`msh_nppt_snapshot_handler`,{action:e},`action`)},Me=()=>(Ee++,Ee),Ne=(e,t)=>e===Ee&&De()===t,Pe=e=>{Te=!1,I.value=F.value.length,L.value=be.value.length,ve(`[Snapshot] IndexedDB is unavailable`,e)},Fe=e=>{we=we.then(e).catch(Pe)},Ie=e=>{let t=Me();Fe(async()=>{let n=await Nc(e);Ne(t,e)&&Oe(n)})},Le=t=>{let n=JSON.stringify(e()),r=De();if(!r||!Te){ke(F,n),be.value=[],I.value=F.value.length,L.value=0;return}ke(F,n),be.value=[],I.value=Math.min(I.value+1,50),L.value=0;let i=Me();Fe(async()=>{let e=await Pc(r,n,t?.version);Ne(i,r)&&Oe(e)})},Re=()=>{if(!he.value||!Se.value)return;let t=JSON.stringify(e()),n=De();if(!n||!Te){let e=F.value.pop();ke(be,t),I.value=F.value.length,L.value=be.value.length,Ae(e)&&je(`undo`);return}let r=F.value.pop();ke(be,t),I.value=Math.max(I.value-1,0),L.value=Math.min(L.value+1,50),xe.value=!0,r&&Ae(r)&&je(`undo`);let i=Me();Fe(async()=>{try{let e=await Lc(n,`undo`),a=r??e;if(!a){let e=await Nc(n);Ne(i,n)&&Oe(e);return}let o=await Ic(n,`redo`,t);if(!Ne(i,n))return;r||Ae(a)&&je(`undo`),Oe(o)}finally{Ne(i,n)&&(xe.value=!1)}})},ze=()=>{if(!he.value||!Ce.value)return;let t=JSON.stringify(e()),n=De();if(!n||!Te){let e=be.value.pop();ke(F,t),I.value=F.value.length,L.value=be.value.length,Ae(e)&&je(`redo`);return}let r=be.value.pop();ke(F,t),L.value=Math.max(L.value-1,0),I.value=Math.min(I.value+1,50),xe.value=!0,r&&Ae(r)&&je(`redo`);let i=Me();Fe(async()=>{try{let e=await Lc(n,`redo`),a=r??e;if(!a){let e=await Nc(n);Ne(i,n)&&Oe(e);return}let o=await Ic(n,`undo`,t);if(!Ne(i,n))return;r||Ae(a)&&je(`redo`),Oe(o)}finally{Ne(i,n)&&(xe.value=!1)}})};A(()=>r.value.slideId,e=>{F.value=[],be.value=[],I.value=0,L.value=0,xe.value=!1,Te=vc(),!(!e||!Te)&&Ie(e)},{immediate:!0});let Be=()=>{D.value=void 0,ne.value=!1,ie.value=!1,E.value=!1,se.value=!1,P.value=null,p.value=null,Ye.cancel(),(u.value===`theme`||u.value===`animation`)&&(u.value=null)},Ve=e=>{ue.value=e},He=e=>{fe.value=e,de.value=e!==null},Ue=(e,t)=>{_e.value=e,ye.value=t?tl(t):null},We=e=>{Ue(rl(e),e)};A(he,e=>{e||Be()});let Ge=(e=null)=>{he.value&&(u.value=`theme`,p.value=e)},Ke=()=>{if(he.value){if(u.value===`theme`){u.value=null,p.value=null;return}Ge()}},qe=()=>{he.value&&(u.value=`animation`)},Je=()=>{if(he.value){if(u.value===`animation`){u.value=null;return}qe()}},Ye=Gc();return{sidebarWidth:o,sidebarCollapsed:c,collapsed:b,rightPanelWidth:l,rightPanelType:u,diffFSJSON:f,themePanelFocusTarget:p,notesHeight:m,isNotesDragging:h,isNotesCollapsed:g,isNotesCollapseTransitioning:_,notesDisplayHeight:v,notesMaxHeight:y,notesCollapsedHandleSpace:Yc,notesDefaultHeight:Xc,notesDragClickThreshold:Zc,selectedElementIds:S,highlightElementIds:C,handleElementId:w,selectedSlideIds:T,lineEditMode:E,canvasScale:ee,creatingElement:D,spaceKeyState:O,focusArea:k,disableHotkeys:te,isTextEditing:ne,isRichTextSelecting:ie,selectedTableCells:j,activeTableCellKey:M,richTextAttrs:N,selectedLatex:ae,alignmentOverlay:P,isOperating:se,exporting:ce,exportingToGoogle:le,remoteEditable:ue,remoteLoading:pe,isEditable:he,isHistoryPreview:de,historyPreviewVersionId:fe,isCreate:ge,sourcePPTDVersion:_e,sourcePPTDFSJSON:ye,undoStack:F,redoStack:be,canUndo:Se,canRedo:Ce,pushUndo:Le,undo:Re,redo:ze,setEditable:Ve,setHistoryPreview:He,setSourcePPTD:Ue,setSourcePPTDFSJSON:We,openThemePanel:Ge,toggleThemePanel:Ke,openAnimationPanel:qe,toggleAnimationPanel:Je,isPickingElement:Ye.isPicking,startElementPick:Ye.start,cancelElementPick:Ye.cancel,completeElementPick:Ye.complete}}),sl=500,cl=`\0`,ll=d(0),ul=d(0),dl={},fl=new Map,pl=new Map,ml=0,hl=[],gl,_l=({chatId:e,filePath:t,okcService:n})=>e?n.batchGetOutputImages({filePath:t,chatId:e}).then(({publicUrl:e})=>e):Promise.resolve([]),vl=_l,yl=e=>/^https?:\/\//i.test(e),bl=e=>/^data:image\//i.test(e),xl=(e,t)=>{if(e.startsWith(`/`))return e;let n=(t?`${t.replace(/\/$/,``)}/${e}`:e).split(`/`),r=[];for(let e of n)e===`.`||e===``||(e===`..`?r.pop():r.push(e));return`/${r.join(`/`)}`},Sl=(e,t,n)=>`${e??``}${cl}${t??``}${cl}${n}`,Cl=e=>JSON.parse(JSON.stringify(e)),wl=e=>JSON.parse(JSON.stringify(e)),Tl=e=>e?.type===`image`&&e.src?[e.src]:[],El=(e,t)=>Tl((typeof e==`string`?ts(t,e):e)?.fill),Dl=(e,t)=>{let n=[];return e.elementType===`image`&&e.src&&n.push(e.src),`fill`in e&&n.push(...Tl(e.fill)),e.elementType===`table`&&(n.push(...El(e.style,t)),e.rows.forEach(e=>{e.forEach(e=>{n.push(...Tl(e?.fill))})})),n},Ol=(e,t)=>{let n=e.elements.flatMap(e=>Dl(e,t));return e.background?.type===`image`&&e.background.src&&n.push(e.background.src),n},kl=e=>{let t=[...new Set(e.filter(Boolean))];return Promise.allSettled(t.map(e=>ge(e)))},Al=()=>{gl=void 0;let e=hl;hl=[];let t=new Map;e.forEach(e=>{let n=e.chatId??``,r=t.get(n)??[];r.push(e),t.set(n,r)}),t.forEach(e=>{let t=e[0].okcService,n=e[0].chatId;vl({filePath:e.map(e=>e.filePath),chatId:n,okcService:t}).then(t=>{t?.includes(``)&&me(`msh_nppt_pptd_badcase`,{badcase_info:`image path lost`,detail:e.filter((e,n)=>t[n]===``).map(e=>e.filePath).join(`;;`)},[`badcase_info`,`detail`]),e.forEach((e,n)=>{let r=t?.[n];r&&e.cacheVersion===ml&&fl.set(e.cacheKey,r),r&&e.slideId&&Hc(e.slideId,e.filePath,r).catch(()=>void 0),e.resolve(r)})}).catch(t=>{e.forEach(e=>e.reject(t))})})},jl=e=>{hl.push(e),gl||(gl=setTimeout(Al,sl))},Ml=e=>e?typeof e==`function`?e():e:`idle`,Nl=e=>{dl.basePath=e?.basePath,dl.imageReplacerMap=e?.imageReplacerMap?{...e.imageReplacerMap}:void 0,ll.value++},Pl=e=>{vl=e??_l,ml++,ll.value++,fl.clear(),pl.clear()};function Fl(){let e=_e(P),{meta:t}=ic(),n=s(()=>`${t.value.slideId??``}:${t.value.chatId??``}:${ll.value}:${ul.value}`),r=e=>!!e&&!yl(e)&&!bl(e),i=n=>{if(!n)return Promise.resolve(void 0);if(!r(n))return Promise.resolve(n);let i=dl.imageReplacerMap?.[n];if(i)return Promise.resolve(i);let a=t.value.chatId,o=t.value.slideId,s=xl(n,dl.basePath),c=Sl(o,a,s),l=fl.get(c);if(l)return Promise.resolve(l);let u=pl.get(c);if(u)return u;let d=ml,f=(async()=>{if(o){let e=await Vc(o,s).catch(()=>void 0);if(e)return fl.set(c,e),e}return new Promise((t,n)=>{jl({cacheKey:c,cacheVersion:d,chatId:a,filePath:s,okcService:e,slideId:o,resolve:t,reject:n})})})().finally(()=>{pl.get(c)===f&&pl.delete(c)});return pl.set(c,f),f},a=e=>i(e).catch(()=>void 0),o=(e,t={})=>{let r=d(),i=d(`idle`),o=s(()=>i.value===`loading`),l=s(()=>i.value===`error`);return A(()=>[e(),n.value],async([e],n,o)=>{let s=!1;if(o(()=>{s=!0}),r.value=void 0,!e){i.value=Ml(t.emptyStatus);return}i.value=`loading`;let l=t.validate?await c(e):await a(e);s||(l?(r.value=l,i.value=`loaded`):i.value=`error`)},{immediate:!0}),{src:r,status:i,isLoading:o,isError:l}},c=async e=>{let t=await a(e);if(t)return await ge(t)?t:void 0},l=e=>Ol(e,t.value.theme),u=(e,t)=>{e?.type===`image`&&t.push(c(e.src).then(t=>{e.type===`image`&&t&&(e.src=t)}))},f=(e,n)=>{if(!e.style)return;let r;if(typeof e.style==`string`){let n=ts(t.value.theme,e.style);if(!n)return;r=wl(n),e.style=r}else r=e.style;u(r.fill,n)},p=(e,t)=>{if(e.elementType===`image`){t.push(c(e.src).then(t=>{t&&(e.src=t)}));return}`fill`in e&&u(e.fill,t),e.elementType===`table`&&(f(e,t),e.rows.forEach(e=>{e.forEach(e=>{u(e?.fill,t)})}))};return{clearImageCache:e=>{ml++,ul.value++;let n=t.value.slideId;if(!e){fl.clear(),pl.clear(),Wc().catch(()=>void 0);return}let r=xl(e,dl.basePath),i=`${cl}${r}`;n&&Uc(n,r).catch(()=>void 0);for(let e of fl.keys())e.endsWith(i)&&fl.delete(e);for(let e of pl.keys())e.endsWith(i)&&pl.delete(e)},collectSlideImageUrls:l,getImageUrl:i,imageVersion:n,isImageNeedResolve:r,preloadImageUrls:kl,resolveImageUrl:a,resolveSlideImageUrls:async e=>{let t=Cl(e),n=[];for(let e of t.elements)p(e,n);return t.background?.type===`image`&&n.push(c(t.background.src).then(e=>{t.background?.type===`image`&&e&&(t.background.src=e)})),await Promise.all(n),t},resolveValidImageUrl:c,setBatchGetImages:Pl,setImageConfig:Nl,useResolvedImageUrl:o}}function Il(e){if(e.type===`solid`)return{backgroundColor:e.color};let t=e.stops.map(e=>`${e.color} ${e.position*100}%`).join(`, `);return e.gradientType===`radial`?{background:`radial-gradient(circle, ${t})`}:{background:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}function Ll(e){let{theme:t}=ic(),{useResolvedImageUrl:n}=Fl(),r=s(()=>ns(t.value,e.value)),{src:i,isLoading:a,isError:o}=n(()=>{let e=r.value;return e?.type===`image`?e.src:void 0},{validate:!0,emptyStatus:()=>r.value?.type===`image`?`error`:`idle`}),c=s(()=>i.value),l=s(()=>{let e=r.value;return e?.type===`image`?e.fit?.mode??`cover`:`cover`}),u=s(()=>{let e=r.value;return e?.type===`image`?e.opacity??1:1});return{backgroundStyle:s(()=>{let e=r.value;return e?e.type===`solid`||e.type===`gradient`?Il(e):(e.type,{backgroundColor:`#ffffff`}):{backgroundColor:`#ffffff`}}),backgroundMaskStyle:s(()=>{let e=r.value;if(!(e?.type!==`image`||!e.mask))return Il(e.mask)}),backgroundImage:c,backgroundImageFit:l,backgroundImageOpacity:u,isBackgroundImageError:o,isBackgroundImageLoading:a}}function Rl(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}var zl={RICH_TEXT_COMMAND:`RICH_TEXT_COMMAND`,SYNC_RICH_TEXT_ATTRS_TO_STORE:`SYNC_RICH_TEXT_ATTRS_TO_STORE`,OPEN_CHART_DATA_EDITOR:`OPEN_CHART_DATA_EDITOR`,OPEN_LATEX_EDITOR:`OPEN_LATEX_EDITOR`,INSERT_LATEX:`INSERT_LATEX`,SELECT_LATEX:`SELECT_LATEX`},Bl=Rl(),Vl=e=>Ue(/^\s*>\s$/,e),Hl=e=>Ue(/^(\d+)\.\s$/,e,e=>({order:+e[1]}),(e,t)=>t.childCount+t.attrs.order===+e[1]),Ul=e=>Ue(/^\s*([-+*])\s$/,e),Wl=()=>new qe(/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/,(e,t,n,r)=>{let{schema:i}=e,a=i.marks.code;if(!a)return null;let o=e.tr.insertText(`${t[2]} `,n,r),s=a.create();return o.addMark(n,n+t[2].length,s)}),Gl=e=>new qe(/\\\((.+?)\\\)/,(t,n,r,i)=>{let a=n[1].trim();if(!a||$e.renderToString(a,{throwOnError:!1,displayMode:!1,output:`html`}).includes(`katex-error`))return null;let o=e.create({tex:a});return t.tr.replaceWith(r,i,o)}),Kl=e=>{let t=[...Me,He,Ge];return e.nodes.blockquote&&t.push(Vl(e.nodes.blockquote)),e.nodes.ordered_list&&t.push(Hl(e.nodes.ordered_list)),e.nodes.bullet_list&&t.push(Ul(e.nodes.bullet_list)),e.marks.code&&t.push(Wl()),e.nodes.math&&t.push(Gl(e.nodes.math)),ze({rules:t})},ql=new ke({appendTransaction(e,t,n){let r=n.tr,i=!1;for(let a of e){if(!a.docChanged)continue;let e=a.steps;for(let a of e){let e=a;if(e.from!==void 0&&e.to!==void 0){let a=e.from,o=e.to,s=n.doc.content.size;if(a<=1&&o>=s-1){let e=t.storedMarks||[];e.length>0&&n.doc.nodesBetween(a,r.mapping.map(o),(t,n)=>{if(t.isText&&t.marks.length===0)for(let a of e)r.addMark(n,n+t.nodeSize,a),i=!0;return!0})}}}}return i?r:null}});function Jl(e){let t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=[];for(;t.nextNode();)n.push(t.currentNode);let r=/\\\((.+?)\\\)/g;for(let e of n){let t=e.textContent||``;if(r.lastIndex=0,!r.test(t))continue;r.lastIndex=0;let n=document.createDocumentFragment(),i=0,a;for(;(a=r.exec(t))!==null;){a.index>i&&n.appendChild(document.createTextNode(t.slice(i,a.index)));let e=document.createElement(`span`);e.setAttribute(`data-math-node`,`true`),e.setAttribute(`data-tex`,a[1].trim()),n.appendChild(e),i=a.index+a[0].length}it instanceof HTMLElement?t!==e&&t.matches(`p, li`)?NodeFilter.FILTER_REJECT:t!==e&&t.style.fontSize?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP:NodeFilter.FILTER_SKIP});for(;n.nextNode();){let e=$l(n.currentNode.style.fontSize);e!==void 0&&e>t&&(t=e)}return t||void 0}function tu(e){let t=e.cloneNode(!0);return t.querySelectorAll(`ul, ol`).forEach(e=>e.remove()),!t.textContent?.replace(/\u00a0/g,``).trim()}function nu(e){return e.tagName.toLowerCase()===`p`&&tu(e)&&$l(e.style.lineHeight)!==void 0}function ru(e){let t=!1;return e.querySelectorAll(`p`).forEach(e=>{nu(e)&&(e.setAttribute(`data-empty-spacer`,`true`),t=!0)}),t}function iu(e){e.querySelectorAll(`li`).forEach(e=>{tu(e)&&(e.setAttribute(`data-empty-list-item`,`true`),e.style.listStyleType=`none`)})}function au(e){e.querySelectorAll(`[style]`).forEach(e=>{e.style.position===`absolute`&&(e.style.removeProperty(`position`),e.style.removeProperty(`left`),e.style.removeProperty(`top`),e.style.removeProperty(`right`),e.style.removeProperty(`bottom`),e.style.removeProperty(`white-space`),e.getAttribute(`style`)||e.removeAttribute(`style`))})}function ou(e){e.querySelectorAll(`p, li`).forEach(e=>{e.style.removeProperty(`text-align`),e.getAttribute(`style`)||e.removeAttribute(`style`)})}function su(e){e.querySelectorAll(`p, li`).forEach(e=>{e.style.removeProperty(`text-indent`),e.removeAttribute(`data-indent`),e.getAttribute(`style`)||e.removeAttribute(`style`)})}function cu(e){e.querySelectorAll(`p, li`).forEach(e=>{e.style.removeProperty(`line-height`),e.removeAttribute(`data-empty-spacer`),e.getAttribute(`style`)||e.removeAttribute(`style`)})}function lu(e){e.querySelectorAll(`p, li`).forEach(e=>{if(e.style.fontSize)return;let t=eu(e);t!==void 0&&(e.style.fontSize=`${t}px`)})}function uu(e){if(!e||typeof document>`u`)return e;let t=document.createElement(`div`);return t.innerHTML=e,ru(t),iu(t),au(t),ou(t),su(t),t.innerHTML}function du(e){if(!e||typeof document>`u`)return e;let t=document.createElement(`div`);return t.innerHTML=e,cu(t),t.innerHTML}var Z=new Oe({nodes:{doc:{content:`block+`},paragraph:{content:`inline*`,group:`block`,attrs:{textAlign:{default:null},marginTop:{default:null},marginLeft:{default:null},marginRight:{default:null},lineHeight:{default:null},emptySpacer:{default:!1}},parseDOM:[{tag:`p`,getAttrs:e=>{let t=e;return Jl(t),{textAlign:t.style.textAlign||null,marginTop:t.style.marginTop||null,marginLeft:t.style.marginLeft||null,marginRight:t.style.marginRight||null,lineHeight:t.style.lineHeight||null,emptySpacer:t.dataset.emptySpacer===`true`||nu(t)}}}],toDOM:e=>{let{textAlign:t,marginTop:n,marginLeft:r,marginRight:i,lineHeight:a,emptySpacer:o}=e.attrs,s=[];t&&s.push(`text-align: ${t}`),n&&s.push(`margin-top: ${n}`),r&&s.push(`margin-left: ${r}`),i&&s.push(`margin-right: ${i}`),a&&s.push(`line-height: ${a}`);let c={};return s.length&&(c.style=s.join(`; `)),o&&(c[`data-empty-spacer`]=`true`),[`p`,c,0]}},text:{group:`inline`},blockquote:{content:`block+`,group:`block`,parseDOM:[{tag:`blockquote`}],toDOM:()=>[`blockquote`,0]},ordered_list:{content:`list_item+`,group:`block`,attrs:{start:{default:1},listStyleType:{default:`decimal`}},parseDOM:[{tag:`ol`,getAttrs:e=>{let t=e;return{start:t.hasAttribute(`start`)?parseInt(t.getAttribute(`start`)||`1`,10):1,listStyleType:t.style.listStyleType||`decimal`}}}],toDOM:e=>{let t={};return e.attrs.start!==1&&(t.start=String(e.attrs.start)),e.attrs.listStyleType!==`decimal`&&(t.style=`list-style-type: ${e.attrs.listStyleType}`),[`ol`,t,0]}},bullet_list:{content:`list_item+`,group:`block`,attrs:{listStyleType:{default:`disc`}},parseDOM:[{tag:`ul`,getAttrs:e=>({listStyleType:e.style.listStyleType||`disc`})}],toDOM:e=>{let t={};return e.attrs.listStyleType!==`disc`&&(t.style=`list-style-type: ${e.attrs.listStyleType}`),[`ul`,t,0]}},list_item:{content:`paragraph block*`,attrs:{style:{default:null},empty:{default:!1}},parseDOM:[{tag:`li`,getAttrs:e=>{let t=e;return{style:Zl(t)||null,empty:tu(t)}}}],toDOM:e=>{let t={},n=e.attrs.style;return n&&(t.style=n),e.attrs.empty&&(t[`data-empty-list-item`]=`true`,t.style=Ql(t.style,`list-style-type: none`)),[`li`,t,0]}},math:{inline:!0,group:`inline`,atom:!0,attrs:{tex:{default:``}},parseDOM:[{tag:`span`,getAttrs:e=>{let t=e;if(t.hasAttribute(`data-math-node`)){let e=t.getAttribute(`data-tex`)||``;if(e)return{tex:e}}return!1}},{tag:`span[data-math]`,getAttrs:e=>({tex:e.getAttribute(`data-math`)||``})}],toDOM:e=>[`span`,{"data-math-node":`true`,"data-tex":e.attrs.tex,class:`latex-inline`}]}},marks:{styled:{attrs:{style:{default:``}},parseDOM:[{tag:`span`,getAttrs:e=>{let t=e;if(t.hasAttribute(`data-math-node`))return!1;let n=Yl(t);return n?{style:n}:!1}}],toDOM:e=>[`span`,{style:e.attrs.style},0]},fontsize:{attrs:{fontsize:{}},inline:!0,group:`inline`,parseDOM:[{style:`font-size`,getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{let{fontsize:t}=e.attrs,n=``;return t&&(n+=`font-size: ${t};`),[`span`,{style:n},0]}},bold:{parseDOM:[{tag:`strong`},{tag:`b`},{style:`font-weight=bold`}],toDOM:()=>[`strong`,0]},italic:{parseDOM:[{tag:`em`},{tag:`i`},{style:`font-style=italic`}],toDOM:()=>[`em`,0]},underline:{parseDOM:[{tag:`u`},{style:`text-decoration=underline`}],toDOM:()=>[`u`,0]},strikethrough:{parseDOM:[{tag:`s`},{tag:`strike`},{style:`text-decoration=line-through`}],toDOM:()=>[`s`,0]},subscript:{parseDOM:[{tag:`sub`}],toDOM:()=>[`sub`,0]},superscript:{parseDOM:[{tag:`sup`}],toDOM:()=>[`sup`,0]},forecolor:{attrs:{color:{}},parseDOM:[{style:`color`,getAttrs:e=>e?{color:e}:{}}],toDOM:e=>[`span`,{style:`color: ${e.attrs.color}`},0]},backcolor:{attrs:{color:{}},parseDOM:[{style:`background-color`,getAttrs:e=>e?{color:e}:{}}],toDOM:e=>[`span`,{style:`background-color: ${e.attrs.color}`},0]},fontname:{attrs:{fontname:{}},parseDOM:[{style:`font-family`,getAttrs:e=>e?{fontname:e}:{}}],toDOM:e=>[`span`,{style:`font-family: ${e.attrs.fontname}`},0]},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:`a[href]`,getAttrs:e=>{let t=e;return{href:t.getAttribute(`href`),title:t.getAttribute(`title`)}}}],toDOM:e=>[`a`,{href:e.attrs.href,title:e.attrs.title,target:`_blank`},0]}}}),fu={bold:Z.marks.bold,em:Z.marks.italic,italic:Z.marks.italic,underline:Z.marks.underline,strikethrough:Z.marks.strikethrough,subscript:Z.marks.subscript,superscript:Z.marks.superscript,forecolor:Z.marks.forecolor,backcolor:Z.marks.backcolor,fontname:Z.marks.fontname,fontsize:Z.marks.fontsize,link:Z.marks.link};function pu(e){let t=document.createElement(`div`);return t.innerHTML=e,Jl(t),ru(t),Xe.fromSchema(Z).parse(t,{preserveWhitespace:!0})}function mu(e){let t=Ae.fromSchema(Z),n=document.createElement(`div`);return n.appendChild(t.serializeFragment(e.content)),n.innerHTML}var hu=/\\\(.+?\\\)/;function gu(e){try{return $e.renderToString(e,{throwOnError:!1,strict:!1,displayMode:!1,output:`html`})}catch{return``}}function _u(e){return e.includes(`data-math-node`)||e.includes(`data-math=`)||hu.test(e)}function vu(e){return/]/i.test(e)}function yu(e){return/position\s*:\s*absolute/i.test(e)}function bu(e){return/]*style\s*=\s*["'][^"']*font-size\s*:/i.test(e)}function xu(e){return/<(?:p|li)\b[^>]*(?:data-indent=|style\s*=\s*["'][^"']*text-indent\s*:)/i.test(e)}function Su(e){return/]*style\s*=\s*["'][^"']*line-height\s*:\s*[-\d.]+px/i.test(e)}function Cu(e){return/^\s+<(?:p|div|ul|ol|li|blockquote)\b/i.test(e)||/<\/(?:p|div|ul|ol|li|blockquote)>\s+(?:<(?:p|div|ul|ol|li|blockquote)\b|$)/i.test(e)}var wu=new Set([`P`,`DIV`,`UL`,`OL`,`LI`,`BLOCKQUOTE`]);function Tu(e,t){let n=e[t];for(;n?.nodeType===Node.TEXT_NODE&&!n.textContent?.trim();)n=n[t];return n}function Eu(e){let t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=[];for(;t.nextNode();){let e=t.currentNode;if(e.textContent?.trim())continue;let r=Tu(e,`previousSibling`),i=Tu(e,`nextSibling`);(r instanceof HTMLElement&&wu.has(r.tagName)||i instanceof HTMLElement&&wu.has(i.tagName))&&n.push(e)}n.forEach(e=>e.remove())}function Du(e,t={}){if(!e||typeof document>`u`)return e;let n=_u(e),r=vu(e),i=yu(e),a=xu(e),o=Su(e),s=t.inferBlockFontSize===!0&&bu(e),c=Cu(e);if(!n&&!r&&!i&&!a&&!o&&!s&&!c)return e;try{let t=document.createElement(`div`);if(n){let n=pu(e),r=Ae.fromSchema(Z);t.appendChild(r.serializeFragment(n.content)),t.querySelectorAll(`.latex-inline[data-tex]`).forEach(e=>{e.innerHTML=gu(e.getAttribute(`data-tex`)||``)})}else t.innerHTML=e;return r&&iu(t),o&&ru(t),i&&au(t),a&&su(t),s&&lu(t),c&&Eu(t),t.innerHTML}catch{return e}}var Ou=1.2;function ku(e,t){return e==null?t:e*Ou}function Au(e,t,n){if(t!=null)return`${t}px`;let r=ku(e,n);return r===void 0?void 0:String(r)}function ju(e,t,n,r){if(n!=null)return n;if(e===void 0)return;let i=ku(t,r);return i===void 0?void 0:e*i}var Mu=1.2,Nu=[`data-text-align`],Pu=`externalSync`,Fu=N(h({__name:`ProsemirrorEditor`,props:{html:{},lineHeight:{},lineHeightPx:{},marginTop:{},gradient:{},fontSize:{},fontFamily:{},color:{},wrapperStyle:{},elementId:{},syncFocusedHtml:{type:Boolean}},emits:[`change`,`mousedown`,`blur`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=d(),o=null,s=!1,u=!1,f=null,{richTextAttrs:p,isTextEditing:m,isRichTextSelecting:h,selectedLatex:g}=ol(),_=new Set([`bold`,`em`,`italic`,`underline`,`strikethrough`,`subscript`,`superscript`]),v={fontsize:[`font-size`],fontname:[`font-family`],forecolor:[`color`],backcolor:[`background-color`]},b=()=>{h.value=!1,window.removeEventListener(`mouseup`,b,!0),window.removeEventListener(`blur`,b,!0),f=null},x=e=>{if(i(`mousedown`,e),e.button!==0)return;let t=e.target;(t instanceof Element?t:t instanceof Node?t.parentElement:null)?.closest(`.ProseMirror`)&&(f?.(),h.value=!0,f=b,window.addEventListener(`mouseup`,b,!0),window.addEventListener(`blur`,b,!0))};function C(e,t,n){let{from:r,to:i,empty:a}=e.selection;if(a)return(e.storedMarks??e.selection.$from.marks()).find(e=>e.type===t)?.attrs[n];let o,s=!1,c=!1;return e.doc.nodesBetween(r,i,e=>{if(e.isText){let r=e.marks.find(e=>e.type===t);r?(s=!0,o===void 0?o=r.attrs[n]:o!==r.attrs[n]&&(c=!0)):c=!0}return!0}),s&&!c?o:void 0}function w(e,t){let{from:n,to:r,empty:i}=e.selection;if(i)return(e.storedMarks??e.selection.$from.marks()).some(e=>e.type===t);let a=!1,o=!1;return e.doc.nodesBetween(n,r,e=>(e.isText&&(e.marks.some(e=>e.type===t)?a=!0:o=!0),!0)),a&&!o}function T(e){let t=w(e,Z.marks.bold),n=w(e,Z.marks.italic),r=w(e,Z.marks.underline),i=w(e,Z.marks.strikethrough),a=w(e,Z.marks.subscript),o=w(e,Z.marks.superscript),s=C(e,Z.marks.forecolor,`color`)||``,c=C(e,Z.marks.backcolor,`color`)||``,l=C(e,Z.marks.fontname,`fontname`)||``,u=C(e,Z.marks.fontsize,`fontsize`)||``;S(()=>{p.value={hasSelection:!e.selection.empty,bold:t,em:n,underline:r,strikethrough:i,subscript:a,superscript:o,forecolor:s,backcolor:c,fontname:l,fontsize:u}})}function E(){return s||!!o?.composing}function D(e){i(`change`,e)}function k(){!o||!u||(u=!1,D(mu(o.state.doc)),T(o.state))}function te(){return new ke({state:{init(){return null},apply(e,t,n,r){return(!e.selection.eq(n.selection)||e.docChanged)&&!E()&&T(r),t}}})}function ne(e){return new ke({props:{decorations(t){let n=[],i=new WeakMap,a=r.lineHeightPx??(e.hasAttribute(`data-line-height-px`)?Number(e.getAttribute(`data-line-height-px`)):void 0),o=r.lineHeight??(e.hasAttribute(`data-line-height`)?Number(e.getAttribute(`data-line-height`)):void 0),s=e.style.getPropertyValue(`--backgroundImage`),c=e=>(i.has(e)||i.set(e,r.fontSize===void 0?N(e):void 0),i.get(e));return t.doc.descendants((i,l)=>{if(i.isText){let r=t.doc.resolve(l).parent,u=r.type.name===`paragraph`?r.attrs.lineHeight??null:null,d=r.type.name===`paragraph`?c(r):void 0,f=s?[`display: inline-block; background-clip: text;`,`background-image: var(--backgroundImage);`,`-webkit-background-clip: text;`,`-webkit-text-fill-color: transparent;`,`caret-color: var(--Labels-Primary);`]:[];if(!i.marks.some(e=>e.type.name===`fontsize`)){let t=d?`${d}px`:e.style.fontSize||`16px`;n.push(Ye.inline(l,l+i.nodeSize,{style:[`font-size: `+t+`;`,...f].join(` `)}))}i.marks.forEach(e=>{if(e.type.name===`fontsize`){let t=ju(Number(e.attrs.fontsize.slice(0,-2)),o,a,Mu),r=u||t===void 0?f:[`line-height: ${t}px;`,...f];if(!r.length)return;n.push(Ye.inline(l,l+i.nodeSize,{style:r.join(` `)}))}})}if(i.type.name===`paragraph`){let e=i.attrs.marginTop??(r.marginTop===void 0?null:`${r.marginTop}px`),t=i.attrs.marginLeft??null,a=i.attrs.marginRight??null,o=i.attrs.lineHeight??null,s=c(i),u=[e?`margin-top: ${e};`:null,t?`margin-left: ${t};`:null,a?`margin-right: ${a};`:null,o?`line-height: ${o};`:null,s?`font-size: ${s}px;`:null].filter(Boolean).join(` `);u&&n.push(Ye.node(l,l+i.nodeSize,{style:u}))}}),Qe.create(t.doc,n)}}})}function re(){if(!o)return;let e=o.dom.ownerDocument.getSelection();if(!(!e||e.isCollapsed||!e.anchorNode||!e.focusNode)&&!(!o.dom.contains(e.anchorNode)||!o.dom.contains(e.focusNode)))try{let t=o.posAtDOM(e.anchorNode,e.anchorOffset),n=o.posAtDOM(e.focusNode,e.focusOffset);if(t===n)return;o.dispatch(o.state.tr.setSelection(De.create(o.state.doc,t,n)))}catch{return}}function ie(e,t){if(!e)return``;let n=document.createElement(`span`);return n.setAttribute(`style`,e),t.forEach(e=>n.style.removeProperty(e)),n.getAttribute(`style`)||``}function j(e){let t=Number.parseFloat(String(e??``));return Number.isNaN(t)?16:t}function M(e){let t=Number.parseFloat(String(e??``));return Number.isFinite(t)?t:void 0}function N(e){let t=0;return e.descendants(e=>(e.isText&&e.marks.forEach(e=>{if(e.type.name!==`fontsize`)return;let n=M(e.attrs.fontsize);n!==void 0&&n>t&&(t=n)}),!0)),t||void 0}function ae(e){return(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&e.key.toLowerCase()===`s`}ee(()=>{if(!a.value)return;let e=a.value;r.lineHeight!==void 0&&e.setAttribute(`data-line-height`,String(r.lineHeight)),r.lineHeightPx!==void 0&&e.setAttribute(`data-line-height-px`,String(r.lineHeightPx)),r.gradient&&e.style.setProperty(`--backgroundImage`,r.gradient),r.fontSize!==void 0&&(e.style.fontSize=`${r.fontSize}px`),r.fontFamily!==void 0&&(e.style.fontFamily=r.fontFamily),r.color!==void 0&&(e.style.color=r.color),o=new Ne(e,{attributes:{spellcheck:`false`},nodeViews:{math:e=>{let t=document.createElement(`span`);return t.setAttribute(`data-math-node`,`true`),t.setAttribute(`data-tex`,e.attrs.tex),t.classList.add(`latex-inline`),t.innerHTML=gu(e.attrs.tex),{dom:t,update:e=>e.type.name===`math`?(e.attrs.tex!==t.getAttribute(`data-tex`)&&(t.setAttribute(`data-tex`,e.attrs.tex),t.innerHTML=gu(e.attrs.tex)),!0):!1}}},state:Ze.create({doc:pu(r.html),plugins:[Kl(Z),Ke(),je({"Mod-z":Be,"Mod-y":Pe,"Mod-Shift-z":Pe,"Mod-s":()=>!0,"Mod-b":()=>Le(Z.marks.bold)(o.state,o.dispatch),"Mod-i":()=>Le(Z.marks.italic)(o.state,o.dispatch),"Mod-u":()=>Le(Z.marks.underline)(o.state,o.dispatch),"Mod-d":()=>Le(Z.marks.strikethrough)(o.state,o.dispatch),"Mod-;":()=>Le(Z.marks.superscript)(o.state,o.dispatch),"Mod-'":()=>Le(Z.marks.subscript)(o.state,o.dispatch),Enter:Re(Ie(Z.nodes.list_item),Ve.Enter),Tab:Fe(Z.nodes.list_item),"Mod-]":Fe(Z.nodes.list_item),"Mod-[":Je(Z.nodes.list_item)}),je(Ve),ne(e),te(),ql]}),dispatchTransaction(e){let t=o.state.apply(e);o.updateState(t),e.docChanged&&!e.getMeta(Pu)&&(E()?u=!0:D(mu(t.doc)))},handleDOMEvents:{keydown:(e,t)=>{let n=t;return ae(n)?(n.preventDefault(),!0):!1},compositionstart:()=>(s=!0,u=!1,!1),compositionend:()=>(s=!1,queueMicrotask(k),!1),focus:e=>(m.value=!0,T(e.state),!1),blur:()=>(m.value=!1,i(`blur`),!1),click:(e,t)=>{let n=t.target.closest(`a`);if(n){let e=n.getAttribute(`href`),r=t;if(e&&(r.ctrlKey||r.metaKey))return t.preventDefault(),setTimeout(()=>{window.open(e,`_blank`)},100),!0}return!1},contextmenu:(e,t)=>{let n=t,r=n.target.closest(`a[href]`);if(r){let e=r.getAttribute(`href`);if(e&&(n.ctrlKey||n.metaKey))return t.preventDefault(),setTimeout(()=>{window.open(e,`_blank`)},100),!0}return!1}}}),Bl.on(zl.RICH_TEXT_COMMAND,P),Bl.on(zl.INSERT_LATEX,pe),o.dom.addEventListener(`keyup`,fe),o.dom.addEventListener(`mouseup`,fe),o.dom.addEventListener(`click`,fe)}),A(()=>r.lineHeight,e=>{!a.value||!o||(e===void 0?a.value.removeAttribute(`data-line-height`):a.value.setAttribute(`data-line-height`,String(e)),o.dispatch(o.state.tr))}),A(()=>r.lineHeightPx,e=>{!a.value||!o||(e===void 0?a.value.removeAttribute(`data-line-height-px`):a.value.setAttribute(`data-line-height-px`,String(e)),o.dispatch(o.state.tr))}),A(()=>r.fontSize,e=>{!a.value||!o||(a.value.style.fontSize=e===void 0?``:`${e}px`,o.dispatch(o.state.tr))}),A(()=>r.fontFamily,e=>{!a.value||!o||(a.value.style.fontFamily=e===void 0?``:e)}),A(()=>r.color,e=>{!a.value||!o||(a.value.style.color=e===void 0?``:e)}),A(()=>r.gradient,e=>{!a.value||!o||(e===void 0?a.value.style.removeProperty(`--backgroundImage`):a.value.style.setProperty(`--backgroundImage`,e),o.dispatch(o.state.tr))}),A(()=>r.html,e=>{if(!o||o.hasFocus()&&!r.syncFocusedHtml||E())return;let t=pu(e);if(t.eq(o.state.doc))return;let n=o.state.tr;n.replaceWith(0,n.doc.content.size,t.content),n.setMeta(Pu,!0),o.dispatch(n)});let P=e=>{if(e.target&&e.target!==r.elementId||!o)return;let t=Array.isArray(e.action)?e.action[0]:e.action;if(!t)return;if(re(),t.command===`orderedList`){We(Z.nodes.ordered_list)(o.state,o.dispatch);return}if(t.command===`bulletList`){We(Z.nodes.bullet_list)(o.state,o.dispatch);return}if(t.command===`liftListItem`){Je(Z.nodes.list_item)(o.state,o.dispatch);return}if(t.command===`sinkListItem`){Fe(Z.nodes.list_item)(o.state,o.dispatch);return}if(t.command===`clearFormat`){let{state:e}=o,{from:t,to:n}=e.selection;if(t===n)return;let r=e.tr;e.doc.nodesBetween(t,n,(e,t)=>(e.isText&&e.marks.length>0&&r.removeMark(t,t+e.nodeSize),!0)),o.dispatch(r);return}if(t.command===`fontsize-add`||t.command===`fontsize-reduce`){let e=Number.parseFloat(t.value??`2`);le((Number.isNaN(e)?2:e)*(t.command===`fontsize-add`?1:-1)),T(o.state);return}let n=fu[t.command];if(!n)return;let i=t.command===`forecolor`||t.command===`backcolor`?`color`:t.command,a=t.value===void 0?void 0:{[i]:t.value},s=v[t.command]??[],c=o.hasFocus()||m.value;if(t.scope===`wholeDoc`){oe(n,a),T(o.state);return}if(o.state.selection.empty){if(c){if(o.hasFocus()||o.focus(),t.command===`fontsize`&&t.value!==void 0){ue(n,a,0,o.state.doc.content.size,s),T(o.state);return}t.value===void 0?Le(n)(o.state,o.dispatch):de(n,a,s),T(o.state);return}if(t.command===`fontsize`&&t.value!==void 0){ue(n,a,0,o.state.doc.content.size,s),T(o.state);return}if(!_.has(t.command))return;oe(n,a);return}o.hasFocus()||o.focus(),t.value===void 0?Le(n)(o.state,o.dispatch):de(n,a,s),T(o.state)};function oe(e,t){if(!o)return;let{state:n}=o,{doc:r}=n,i=!1,a=!0;if(r.descendants(t=>t.isText?(i=!0,e.isInSet(t.marks)||(a=!1),!0):!0),!i)return;let s=r.content.size,c=n.tr;c=t?c.removeMark(0,s,e).addMark(0,s,e.create(t)):a?c.removeMark(0,s,e):c.addMark(0,s,e.create()),o.dispatch(c)}function se(e,t){if(!o||t.length===0)return e;let n=Z.marks.styled,r=(o.state.storedMarks??o.state.selection.$from.marks()).find(e=>e.type===n);if(!r)return e;let i=ie(String(r.attrs.style??``),t);return e=e.removeStoredMark(n),i?e.addStoredMark(n.create({style:i})):e}function ce(e,t,n,r){if(!o||r.length===0)return e;let i=Z.marks.styled,a=[];o.state.doc.nodesBetween(t,n,(e,o)=>{if(!e.isText)return!0;let s=e.marks.find(e=>e.type===i);return s&&a.push({from:Math.max(t,o),to:Math.min(n,o+e.nodeSize),style:ie(String(s.attrs.style??``),r)}),!0});for(let t of a)e=e.removeMark(t.from,t.to,i),t.style&&(e=e.addMark(t.from,t.to,i.create({style:t.style})));return e}function le(e){if(!o)return;let t=Z.marks.fontsize,n=v.fontsize??[],r=o.state.selection,i=r.empty?0:r.from,s=r.empty?o.state.doc.content.size:r.to,c=o.state.tr;c=ce(c,i,s,n),o.state.doc.nodesBetween(i,s,(n,r)=>{if(!n.isText)return!0;let o=Math.max(i,r),l=Math.min(s,r+n.nodeSize),u=n.marks.find(e=>e.type===t),d=j(u?u.attrs.fontsize:a.value?.style.fontSize),f=Math.max(6,Math.min(120,d+e));return c=c.removeMark(o,l,t).addMark(o,l,t.create({fontsize:`${f}px`})),!0}),o.dispatch(c)}function ue(e,t,n,r,i){if(!o)return;let a=o.state.tr;a=ce(a,n,r,i),a=a.removeMark(n,r,e).addMark(n,r,e.create(t)),o.dispatch(a)}function de(e,t,n){if(!o)return;let{state:r}=o,{from:i,to:a}=r.selection;if(r.selection.empty){let i=r.tr.removeStoredMark(e);i=se(i,n),o.dispatch(i.addStoredMark(e.create(t)));return}ue(e,t,i,a,n)}let fe=()=>{if(!o)return;let{selection:e}=o.state,{from:t,to:n}=e,r=null;o.state.doc.nodesBetween(t,n,(e,t)=>{if(e.type.name===`math`)return r={tex:e.attrs.tex,position:t,nodeSize:e.nodeSize},!1});let i=g.value;JSON.stringify(r)!==JSON.stringify(i)&&(g.value=r)},pe=e=>{if(e.target&&e.target!==r.elementId||!o)return;o.hasFocus()||o.focus();let{state:t,dispatch:n}=o,{tex:i,action:a=`insert`}=e,s=i.trim();if(a===`replace`&&g.value){let{position:e,nodeSize:r}=g.value,i=Z.nodes.math.create({tex:s});n(t.tr.replaceWith(e,e+r,i))}else{let{from:e}=t.selection,r=Z.nodes.math.create({tex:s});n(t.tr.insert(e,r))}};return O(()=>{Bl.off(zl.RICH_TEXT_COMMAND,P),Bl.off(zl.INSERT_LATEX,pe),o?.dom?.removeEventListener(`keyup`,fe),o?.dom?.removeEventListener(`mouseup`,fe),o?.dom?.removeEventListener(`click`,fe),g.value=null,p.value={...il},m.value=!1,f?.(),o?.destroy()}),t({focus:()=>{if(!o)return;let e=o.state.tr;e.setSelection(De.atEnd(e.doc)),o.dispatch(e),o.focus()},blur:()=>{o?.dom.blur(),window.getSelection()?.removeAllRanges()}}),(t,n)=>(y(),c(`div`,{ref_key:`editorRef`,ref:a,class:`prosemirror-editor`,"data-text-align":e.wrapperStyle?.textAlign,style:l({...e.wrapperStyle,"--pm-align":e.wrapperStyle?.alignItems||`center`}),onMousedown:x},null,44,Nu))}}),[[`__scopeId`,`data-v-87eddf05`]]),Iu=Symbol(`slideRenderMode`),Lu=Symbol(`slideRenderScale`),Ru=Symbol(`slideRenderScaleReady`);function zu(e){w(Iu,e)}function Bu(){return b(Iu,`thumbnail`)}function Vu(e,t=!0){w(Lu,s(()=>u(e))),w(Ru,s(()=>u(t)))}function Hu(){return b(Lu,s(()=>1))}var Uu=[`data-text-align`,`innerHTML`],Wu=.5,Gu=N(h({__name:`TextElement`,props:{element:{}},emits:[`update`],setup(e,{emit:n}){let r=e,i=n,{theme:a}=ic(),{handleElementId:o,isEditable:u,isTextEditing:m,pushUndo:h}=ol(),g=Bu()===`editor`,_=d(),v=d(),b=d(!1),x=d(),w=s(()=>as(a.value,r.element.content)),T=s(()=>w.value),E=s(()=>X(a.value,T.value.backgroundColor)),D=s(()=>os(a.value,r.element.content.text)),O=s(()=>Du(D.value,{inferBlockFontSize:w.value.fontSize===void 0}));function k(){if(x.value)return;let[,,e,t]=r.element.bounds;x.value={width:e,height:t}}function te(){S(()=>{requestAnimationFrame(()=>{_.value?.focus()})})}g&&(A(()=>o.value,e=>{e===r.element.elementId?(k(),te()):(x.value=void 0,_.value?.blur())}),ee(()=>{o.value===r.element.elementId&&(k(),te())}));let ne=s(()=>({position:`absolute`,left:`${r.element.bounds[0]}px`,top:`${r.element.bounds[1]}px`,width:`${r.element.bounds[2]}px`,height:`${r.element.bounds[3]}px`,transform:`rotate(${r.element.rotation??0}deg) scaleX(1) scaleY(${r.element.flip?.[1]?-1:1})`})),re={left:`left`,center:`center`,right:`right`,justify:`justify`,distributed:`justify`},ie={top:`flex-start`,middle:`center`,bottom:`flex-end`},j=s(()=>{let e=w.value.shadow;if(!e)return;let[t,n]=e.offset??[0,0];return`${t}px ${n}px ${e.blur}px ${e.color}`});function M(e){if(!e)return;if(typeof e==`string`)return e;if(typeof e!=`object`)return;let t=e;return[t.latin,t.ea].filter(Boolean).join(`, `)}let N=s(()=>{let e=w.value,t=e.fontSize??16,n=Au(e.lineHeight,e.lineHeightPx,Mu);return{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,justifyContent:ie[e.align?.[1]??`top`]??`flex-start`,textAlign:re[e.align?.[0]??`left`]??`left`,fontSize:`${t}px`,fontFamily:M(e.fontFamily)??`MiSans`,fontWeight:T.value.bold?`bold`:void 0,fontStyle:T.value.italic===void 0?e.fontStyle:T.value.italic?`italic`:`normal`,color:e.color??`#333333`,lineHeight:n,letterSpacing:e.letterSpacing?`${e.letterSpacing}px`:void 0,writingMode:e.textDirection===`vertical`?`vertical-rl`:`horizontal-tb`,opacity:r.element.opacity??1,backgroundColor:E.value,textShadow:j.value,whiteSpace:e.wrap===!1?`pre`:`break-spaces`,wordBreak:e.wrap===!1?`normal`:`break-word`}}),ae=s(()=>he(w.value.gradient)),P=s(()=>({"--default-margin-top":`${w.value.marginTop??0}px`,"--backgroundImage":ae.value}));function oe(){let e=v.value,t=e?Number.parseFloat(getComputedStyle(e).lineHeight):NaN;if(!Number.isNaN(t))return t;let n=w.value,r=n.fontSize??16;return ju(r,n.lineHeight,n.lineHeightPx,1.2)??r}function se(e,t){let n=document.createRange();n.selectNodeContents(e);let r=n.getBoundingClientRect();return n.detach(),t===`width`?r.width:r.height}function ce(e){let t=v.value;if(!t)return 0;let n=t.querySelector(`.prosemirror-editor`)??t,r=t.querySelector(`.ProseMirror`)??n,i=e===`width`?t.scrollWidth:t.scrollHeight,a=i>(e===`width`?t.clientWidth:t.clientHeight)+Wu?i:0,o=e===`width`?0:n.scrollHeight;return Math.ceil(Math.max(se(r,e),a,o))}function le(){if(!v.value)return;let[e,t,n,i]=r.element.bounds,a=w.value.textDirection===`vertical`,o=Math.ceil(oe());if(a){let r=Math.max(ce(`width`),o,x.value?.width??0);return Math.abs(r-n)<=Wu?void 0:[e,t,r,i]}let s=Math.max(ce(`height`),o,x.value?.height??0);if(!(Math.abs(s-i)<=Wu))return[e,t,n,s]}let ue=e=>{if(e===r.element.content.text)return;m.value&&!b.value&&e!==r.element.content.text&&(h(),b.value=!0);let t={content:{...r.element.content,text:e}},n=le();n&&(t.bounds=n),i(`update`,t)},de=()=>{b.value=!1,me(`msh_nppt_element_edited`,{type:`text`,edit_type:`changeText`},[`type`,`edit_type`])},fe=e=>{let t=e.target;(t instanceof Element?t:t instanceof Node?t.parentElement:null)?.closest(`.ProseMirror`)||(e.preventDefault(),te())},pe=e=>{if(!g||!u.value)return;let t=e.target;(t instanceof Element?t:t instanceof Node?t.parentElement:null)?.closest(`.ProseMirror`)||(e.preventDefault(),te())};function he(e){if(!e||e.type!==`gradient`)return;let t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(e.position*100)}%`).join(`, `);return e.gradientType===`radial`?`radial-gradient(${t})`:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}return(n,r)=>(y(),c(`div`,{class:`pptd-text`,style:l(ne.value),onMousedown:pe},[f(`div`,{ref_key:`textContentRef`,ref:v,class:`text-content`,style:l(N.value)},[g&&C(u)?(y(),p(Fu,{key:0,ref_key:`editorRef`,ref:_,"element-id":e.element.elementId,html:D.value,"line-height":w.value.lineHeight,"line-height-px":w.value.lineHeightPx,"margin-top":w.value.marginTop,gradient:he(w.value.gradient),"font-size":w.value.fontSize,"font-family":M(w.value.fontFamily),color:w.value.color,"wrapper-style":{textAlign:N.value.textAlign},onChange:ue,onBlur:de,onMousedown:fe},null,8,[`element-id`,`html`,`line-height`,`line-height-px`,`margin-top`,`gradient`,`font-size`,`font-family`,`color`,`wrapper-style`])):(y(),c(`div`,{key:1,class:t([`text-static`,{"is-gradient":ae.value,"is-nowrap":w.value.wrap===!1}]),"data-text-align":N.value.textAlign,style:l(P.value),innerHTML:O.value},null,14,Uu))],4)],36))}}),[[`__scopeId`,`data-v-0dcafa92`]]),Ku=216e5,qu=2*Math.PI/Ku,Ju=1e5;function Yu(e,t,n,r,i,a=[200,200]){if(!e)return 0;function o(e){return Xu(e,t,n,r,i,a)}let s=e.trim();if(!s.includes(` `))return o(s);let c=s.split(/\s+/),l=c[0],u=c.slice(1);switch(l){case`*/`:{let e=o(u[0]),t=o(u[1]),n=o(u[2]);return e*t/n}case`+-`:if(u.length===2)return o(u[0])+o(u[1]);if(u.length===3){let e=o(u[0]),t=o(u[1]),n=o(u[2]);return e+t-n}if(u.length===4){let e=o(u[0]),t=o(u[1]),n=o(u[2]),r=o(u[3]);return e+t-n-r}return 0;case`+/`:{if(u.length===2)return o(u[0])+o(u[1]);let e=o(u[0]),t=o(u[1]),n=o(u[2]);return(e+t)/n}case`*?`:return o(u[0])*o(u[1]);case`?:`:{if(u.length===2){let e=o(u[0]),t=o(u[1]);return e>0?t:0}let e=o(u[0]),t=o(u[1]),n=o(u[2]);return e>0?t:n}case`min`:{let e=o(u[0]),t=o(u[1]);return Math.min(e,t)}case`max`:{let e=o(u[0]),t=o(u[1]);return Math.max(e,t)}case`abs`:{let e=o(u[0]);return Math.abs(e)}case`sin`:{let e=o(u[0]),t=o(u[1]);return e*Math.sin(t*qu)}case`cos`:{let e=o(u[0]),t=o(u[1]);return e*Math.cos(t*qu)}case`tan`:{let e=o(u[0]),t=o(u[1]);return e*Math.tan(t*qu)}case`sqrt`:{let e=o(u[0]);return Math.sqrt(e)}case`pin`:{let e=o(u[0]),t=o(u[1]),n=o(u[2]);return tn?n:t}case`cat2`:{let e=o(u[0]),t=o(u[1]),n=o(u[2]);return e*Math.cos(Math.atan2(n,t))}case`sat2`:{let e=o(u[0]),t=o(u[1]),n=o(u[2]);return e*Math.sin(Math.atan2(n,t))}case`at2`:{let e=o(u[0]),t=o(u[1]);return Math.atan2(t,e)*180*6e4/Math.PI}case`mod`:{let e=o(u[0]),t=o(u[1]),n=o(u[2]);return Math.sqrt(e**2+t**2+n**2)}case`val`:return parseInt(String(o(u[0])),10);default:throw Error(`未处理的表达式:${s}`)}}function Xu(e,t,n,r,i,a=[200,200]){if(!isNaN(Number(e)))return Number(e);if(i[e]!==void 0)return i[e];let o=t.indexOf(e);if(o>=0)return i[e]=r[o],i[e];switch(e){case`w`:return a[0];case`h`:return a[1];case`l`:return 0;case`r`:return a[0];case`t`:return 0;case`b`:return a[1];case`vc`:return a[1]/2;case`hc`:return a[0]/2;case`wd2`:return a[0]/2;case`hd2`:return a[1]/2;case`wd3`:return a[0]/3;case`hd3`:return a[1]/3;case`wd4`:return a[0]/4;case`hd4`:return a[1]/4;case`hd6`:return a[1]/6;case`wd6`:return a[0]/6;case`wd8`:return a[0]/8;case`hd8`:return a[1]/8;case`wd32`:return a[0]/32;case`hd32`:return a[1]/32;case`cd2`:return Ku/2;case`cd4`:return Ku/4;case`3cd4`:return Ku*3/4;case`cd8`:return Ku/8;case`3cd8`:return Ku*3/8;case`5cd8`:return Ku*5/8;case`7cd8`:return Ku*7/8;case`ss`:return Math.min(a[0],a[1]);case`ssd8`:return Math.min(a[0],a[1])/8;case`ssd6`:return Math.min(a[0],a[1])/6;case`ssd4`:return Math.min(a[0],a[1])/4;case`ssd2`:return Math.min(a[0],a[1])/2;case`ssd16`:return Math.min(a[0],a[1])/16;case`ssd32`:return Math.min(a[0],a[1])/32;default:{let o=n.find(t=>t.name===e);if(!o)throw Error(`未找到公式:${e}`);return i[e]=Yu(o.fmla,t,n,r,i,a),i[e]}}}function Zu(e,...t){let n=``;for(let r=0;r{let i=e.adjustmentNames.map(()=>null),a=r,o={};e.params.forEach(r=>{o[r.name]=Yu(r.fmla,e.adjustmentNames,e.params,a,o,[t,n])});let s=r=>typeof r==`number`?r:Xu(r,e.adjustmentNames,e.params,a,o,[t,n]);return e.ranges.forEach(t=>{let n=t.x?.name??t.y?.name??t.r?.name??t.ang?.name;if(!n||!t.pos)return;let r=e.adjustmentNames.indexOf(n);r<0||(i[r]=[s(t.pos.x),s(t.pos.y)])}),i}}function $u(e){return(t,n,r)=>{let i=r,a={};e.params.forEach(r=>{a[r.name]=Yu(r.fmla,e.adjustmentNames,e.params,i,a,[t,n])});function o(r){return typeof r==`number`?r:Xu(r,e.adjustmentNames,e.params,i,a,[t,n])}let s={x:0,y:0};return e.paths.map(r=>{let i=r.w?t/r.w:1,a=r.h?n/r.h:1,c=``;return r.path.forEach(e=>{switch(e.type){case`moveTo`:{let t=o(e.x)*i,n=o(e.y)*a;c+=Zu`M ${Q(t)} ${Q(n)}`,s={x:t,y:n};break}case`lnTo`:{let t=o(e.x)*i,n=o(e.y)*a;c+=Zu`L ${Q(t)} ${Q(n)}`,s={x:t,y:n};break}case`quadBezTo`:if(e.pts.length>=2){let t=o(e.pts[0].x)*i,n=o(e.pts[0].y)*a,r=o(e.pts[1].x)*i,l=o(e.pts[1].y)*a;if(c+=Zu`Q ${Q(t)},${Q(n)} ${Q(r)},${Q(l)}`,e.pts.length>2){let t=o(e.pts[2].x)*i,n=o(e.pts[2].y)*a;c+=Zu`T ${Q(t)},${Q(n)}`,s={x:t,y:n}}else s={x:r,y:l}}break;case`cubicBezTo`:{let t=o(e.pts[0].x)*i,n=o(e.pts[0].y)*a,r=o(e.pts[1].x)*i,l=o(e.pts[1].y)*a,u=o(e.pts[2].x)*i,d=o(e.pts[2].y)*a;c+=Zu`C ${Q(t)},${Q(n)} ${Q(r)},${Q(l)} ${Q(u)},${Q(d)}`,s={x:u,y:d};break}case`arcTo`:{let t=o(e.wR)*i,n=o(e.hR)*a,r=o(e.stAng)*qu,l=o(e.swAng)*qu,u=o(e.swAng);Math.abs(u%216e5)<1&&(l+=l>0?-Math.PI/180/4:Math.PI/180/4);let d=td(t,n,r),f=td(t,n,r+l),p={x:s.x-d.x+f.x,y:s.y-d.y+f.y},m=+(Math.abs(l)>Math.PI),h=+(l>0);c+=Zu`A ${Q(t)} ${Q(n)} 0 ${m} ${h} ${Q(p.x)} ${Q(p.y)}`,s={...p};break}case`close`:c+=`Z`;break}}),c.includes(`NaN`)&&console.error(`unexpected svgPath in shape ${e.type}: ${c}`),{d:c,fill:r.fill,stroke:r.stroke}})}}function ed(e){let t=$u(e);return(e,n,r)=>t(e,n,r).map(e=>e.d).join(``)}function td(e,t,n){let r=e*Math.sin(n),i=t*Math.cos(n),a=Math.sqrt(r*r+i*i);return a===0?{x:0,y:0}:{x:e*i/a,y:t*r/a}}var nd=Object.keys(et).reduce((e,t)=>{let n=et[t];return e[t]={viewBox:[200,200],path:n.path||`M 0 0 L 200 0 L 200 200 L 0 200 Z`,pathFormula:ed(n),pathSegments:$u(n),keypointPositions:Qu(n),range:n.range,defaultValue:n.defaultValue,adjustmentNames:n.adjustmentNames},e},{});function rd(e,t,n,r,i){if(!e.keypointPositions)return[0,0];let a=e.range?.[i]??[0,1e5],o=Math.max((a[1]-a[0])/1e3,1),s=[...r];s[i]=(r[i]??0)+o;let c=e.keypointPositions(t,n,r)[i],l=e.keypointPositions(t,n,s)[i];return!c||!l?[0,0]:[(l[0]-c[0])/o,(l[1]-c[1])/o]}function id(e){let t=(e,t,n)=>{let[r,i,a,o]=n,s=Math.min(e,t),c=s*r/Ju,l=s*i/Ju,u=s*a/Ju,d=s*o/Ju;return[`M ${Q(c)},0`,`L ${Q(e-l)},0`,`A ${Q(l)} ${Q(l)} 0 0 1 ${Q(e)},${Q(l)}`,`L ${Q(e)},${Q(t-u)}`,`A ${Q(u)} ${Q(u)} 0 0 1 ${Q(e-u)},${Q(t)}`,`L ${Q(d)},${Q(t)}`,`A ${Q(d)} ${Q(d)} 0 0 1 0,${Q(t-d)}`,`L 0,${Q(c)}`,`A ${Q(c)} ${Q(c)} 0 0 1 ${Q(c)},0`,`Z`].join(` `)};return{viewBox:[200,200],defaultValue:[16667,16667,16667,16667],range:[[0,Ju/2],[0,Ju/2],[0,Ju/2],[0,Ju/2]],path:``,pathFormula:t,pathSegments:(e,n,r)=>[{d:t(e,n,r),fill:`norm`,stroke:!0}],...e}}function ad(e,t){if(e)return e===`roundRect`&&t?.length===4?id():nd[e]}function od(e,t,n){return e?.defaultValue?.map((e,r)=>t?.[r]===void 0||t?.[r]===null?n?.[r]??e:t[r])}function sd(e){let t=e.match(/^\s*(\d+(?:\.\d+)?),(\d+(?:\.\d+)?);(.+)$/s);return t?{d:t[3].trim(),viewBox:[Number(t[1]),Number(t[2])]}:{d:e}}function cd(e){let t=s(()=>e().bounds[2]),n=s(()=>e().bounds[3]),r=s(()=>{let t=e().path;return t?sd(t):void 0}),i=s(()=>e().viewBox??r.value?.viewBox??[t.value,n.value]),a=s(()=>{let i=e();if(r.value)return[{d:r.value.d,fill:`norm`,stroke:!0}];if(!i.shapeName)return[];let a=ad(i.shapeName,i.adjustments);if(!a)return[];let o=od(a,i.adjustments)??[];if(a.pathSegments)return a.pathSegments(t.value,n.value,o);let s=a.pathFormula(t.value,n.value,o);return s?[{d:s,fill:`norm`,stroke:!0}]:[]});return{segments:a,pathString:s(()=>a.value.map(e=>e.d).filter(Boolean).join(` `)),viewBox:i,hasShape:s(()=>a.value.length>0)}}function ld(e){let t=e.trim().match(/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i);if(!t)return null;let n=t[1];return n.length===3?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16)}:n.length===4?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:parseInt(n[3]+n[3],16)}:n.length===6?{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16)}:{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16),a:parseInt(n.slice(6,8),16)}}function ud(e){return Math.max(0,Math.min(255,Math.round(e))).toString(16).padStart(2,`0`)}function dd(e,t,n){let r=e/255,i=t/255,a=n/255,o=Math.max(r,i,a),s=Math.min(r,i,a),c=(o+s)/2,l=0,u=0;if(o!==s){let e=o-s;u=c>.5?e/(2-o-s):e/(o+s),l=o===r?((i-a)/e+(i1&&--r,r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function pd(e,t,n){if(t===0){let e=n*255;return{r:e,g:e,b:e}}let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;return{r:fd(i,r,e+1/3)*255,g:fd(i,r,e)*255,b:fd(i,r,e-1/3)*255}}var md={darken:{mod:.5,off:0},darkenLess:{mod:.75,off:0},lighten:{mod:.5,off:.5},lightenLess:{mod:.75,off:.25}};function hd(e,t){if(t===`none`||t===`norm`)return e;let n=ld(e);if(!n)return e;let{mod:r,off:i}=md[t],{h:a,s:o,l:s}=dd(n.r,n.g,n.b),{r:c,g:l,b:u}=pd(a,o,Math.max(0,Math.min(1,s*r+i)));return n.a===void 0?`#${ud(c)}${ud(l)}${ud(u)}`:`#${ud(c)}${ud(l)}${ud(u)}${ud(n.a)}`}function gd(e){let t=b(se,null),n=d();return t?(A(e,(e,r,i)=>{if(!e){n.value=void 0;return}let a=t.register(e);n.value=a,i(()=>t.unref(a))},{immediate:!0}),r(()=>{}),n):n}function _d(e,t,n){let{useResolvedImageUrl:r}=Fl(),i=s(()=>ns(t(),e())),{src:a,status:o,isError:c}=r(()=>{let e=i.value;return e?.type===`image`?e.src:void 0},{validate:!0,emptyStatus:()=>i.value?.type===`image`?`error`:`idle`}),l=gd(()=>{let e=i.value;if(e){if(e.type===`gradient`)return{kind:`gradient`,spec:e,bounds:n()};if(e.type===`image`)return a.value?{kind:`imagePattern`,spec:{...e,src:a.value},bounds:n()}:void 0}});return{getFillByMode:e=>{if(e===`none`)return`none`;let t=i.value;return t?t.type===`solid`?hd(t.color,e):t.type===`image`&&o.value===`error`?`#f7f8fa`:l.value?`url(#${l.value})`:t.type===`image`?`#f7f8fa`:`transparent`:`transparent`},isImageFillError:c}}function vd(e,t){let n=gd(()=>{let n=e();if(!n)return;let r=X(t(),n.color)??n.color;return{kind:`shadow`,spec:{...n,color:r}}});return{filterUrl:s(()=>n.value?`url(#${n.value})`:void 0)}}function yd(e,t,n){let r=s(()=>rs(t(),e())?.color??n?.color??`none`),i=s(()=>e()?.width??n?.width??0);return{strokeColor:r,strokeWidth:i,hasStroke:s(()=>i.value>0&&r.value!==`none`&&r.value!==`transparent`),strokeDash:s(()=>{let t=e()?.style,n=i.value;if(t===`dash`)return n<=6?`${n*4.5} ${n*2}`:`${n*2.5} ${n*2.5}`;if(t===`dot`)return n<=6?`${n*.8} ${n*2}`:`${n*.3} ${n*1.8}`})}}function bd(e){return!!e&&(e===`line`||/Connector/.test(e))}var xd=[{type:`rectangle`,children:[`rect`,`frame`,`halfFrame`,`roundRect`,`round1Rect`,`round2DiagRect`,`round2SameRect`,`snip1Rect`,`snip2DiagRect`,`snip2SameRect`]},{type:`otherShapes`,children:`ellipse.triangle.rtTriangle.diamond.pentagon.hexagon.heptagon.octagon.decagon.dodecagon.pie.chord.teardrop.plaque.can.cube.bevel.donut.blockArc.cornerTabs.homePlate.chevron.pieWedge.foldedCorner.trapezoid.parallelogram.cloudCallout.wedgeEllipseCallout.wedgeRectCallout.wedgeRoundRectCallout`.split(`.`)},{type:`decoration`,children:[`heart`,`lightningBolt`,`sun`,`moon`,`cloud`,`irregularSeal1`,`irregularSeal2`,`noSmoking`,`diagStripe`,`gear6`,`star4`,`star5`,`star6`,`star7`,`star8`,`star10`,`star12`,`star16`,`star24`,`star32`]}],Sd=[{type:`straightLine`,children:[{path:`M 0 0 L 200 200`,style:`solid`,points:[``,``],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[``,`arrow`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[``,`oval`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[``,`diamond`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[``,`triangle`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[`arrow`,`arrow`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[`oval`,`oval`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[`diamond`,`diamond`],type:`line`},{path:`M 0 0 L 200 200`,style:`solid`,points:[`triangle`,`triangle`],type:`line`}]},{type:`curve`,children:[{path:`M 0 0 L 0 200 L 200 200`,style:`solid`,points:[``,`arrow`],type:`bentConnector2`},{path:`M 0 0 L 0 200 L 200 200`,style:`solid`,points:[`arrow`,`arrow`],type:`bentConnector2`},{path:`M 0 0 L 100 0 L 100 200 L 200 200`,style:`solid`,points:[``,`arrow`],type:`bentConnector3`},{path:`M 0 0 L 100 0 L 100 200 L 200 200`,style:`solid`,points:[`arrow`,`arrow`],type:`bentConnector3`},{path:`M 0 0 Q 0 200 200 200`,style:`solid`,points:[``,`arrow`],type:`curvedConnector2`},{path:`M 0 0 Q 0 200 200 200`,style:`solid`,points:[`arrow`,`arrow`],type:`curvedConnector2`},{path:`M 0 0 C 200 0 0 200 200 200`,style:`solid`,points:[``,`arrow`],type:`curvedConnector3`},{path:`M 0 0 C 200 0 0 200 200 200`,style:`solid`,points:[`arrow`,`arrow`],type:`curvedConnector3`},{...nd.arc,path:`M 100 0 A 100 100 0 0 1 100 200`}]}],Cd=[`id`,`orient`,`markerWidth`,`markerHeight`,`refX`,`refY`],wd=[`d`,`fill`,`fill-opacity`,`transform`],Td=h({__name:`LinePointMarker`,props:{id:{},position:{},type:{},baseSize:{},color:{},opacity:{}},setup(e){let t=e,n={arrow:`M0,0 L10,5 L0,10 0,8.5 6.6,5 0,1.5 Z`,stealth:`M0,0 L10,5 L0,10 5,5 Z`,diamond:`M5,0 L10,5 L5,10 L0,5 Z`,oval:`m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z`,triangle:`M0,0 L10,5 L0,10 Z`},r=s(()=>n[t.type]??n.arrow),i=s(()=>Math.max(t.baseSize,2)*1.8),a=s(()=>{if(!t.color?.startsWith(`url(`))return t.color;let e=t.color.match(/#([^)]+)/)?.[1];return e?`url(#${e})${t.position===`end`?` reverse`:``}`:t.color});return(t,n)=>(y(),c(`marker`,{id:`${e.id}-${e.type}-${e.position}`,markerUnits:`userSpaceOnUse`,orient:e.position===`start`?`auto-start-reverse`:`auto`,markerWidth:i.value*3,markerHeight:i.value*3,refX:i.value*2,refY:i.value*1.5},[f(`path`,{d:r.value,fill:a.value,"fill-opacity":e.opacity??1,transform:`scale(${i.value*.3}, ${i.value*.3})`},null,8,wd)],8,Cd))}}),Ed=[`viewBox`],Dd=[`d`,`stroke-width`],Od=[`filter`],kd=[`d`,`fill`],Ad=[`d`,`stroke`,`stroke-width`,`stroke-dasharray`,`marker-start`,`marker-end`],jd=[`transform`],Md=N(h({__name:`ShapeElement`,props:{element:{}},setup(e){let t=e,{theme:r}=ic(),i=Bu()===`editor`,a=s(()=>Math.max(t.element.bounds[2],2)),u=s(()=>Math.max(t.element.bounds[3],2)),d=s(()=>({position:`absolute`,left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${a.value}px`,height:`${u.value}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),m=s(()=>bd(t.element.shapeName)),{segments:h,viewBox:g,hasShape:_}=cd(()=>t.element),{getFillByMode:v,isImageFillError:b}=_d(()=>t.element.fill,()=>r.value,()=>g.value),x=s(()=>h.value.filter(e=>!m.value||e.stroke).map(e=>{let t=e.fill===`none`?null:v(e.fill);return{d:e.d,stroke:e.stroke,fillValue:t&&t!==`transparent`&&t!==`none`?t:null}})),{strokeColor:S,strokeWidth:w,hasStroke:T,strokeDash:E}=yd(()=>t.element.border,()=>r.value,m.value?{color:`#333`,width:2}:void 0),{filterUrl:ee}=vd(()=>t.element.shadow,()=>r.value),D=s(()=>t.element.arrow?.[0]),O=s(()=>t.element.arrow?.[1]),A=s(()=>D.value&&D.value!==`none`?`url(#${t.element.elementId}-${D.value}-start)`:void 0),te=s(()=>O.value&&O.value!==`none`?`url(#${t.element.elementId}-${O.value}-end)`:void 0),ne=s(()=>{let e=[];return x.value.forEach((t,n)=>{t.stroke&&e.push(n)}),e}),re=s(()=>ne.value[0]),ie=s(()=>ne.value[ne.value.length-1]),j=s(()=>Math.min(Math.min(g.value[0],g.value[1])*.32,48)),M=s(()=>{let e=j.value;return`translate(${g.value[0]/2-e/2} ${g.value[1]/2-e/2}) scale(${e/48})`});return(e,r)=>(y(),c(`div`,{class:`pptd-shape`,style:l(d.value)},[C(_)?(y(),c(`svg`,{key:0,viewBox:`0 0 ${Math.max(C(g)[0],2)} ${Math.max(C(g)[1],2)}`,preserveAspectRatio:`none`,style:{width:`100%`,height:`100%`,overflow:`visible`}},[f(`defs`,null,[D.value&&D.value!==`none`?(y(),p(Td,{key:0,id:t.element.elementId,position:`start`,type:D.value,baseSize:C(w),color:C(S)},null,8,[`id`,`type`,`baseSize`,`color`])):o(``,!0),O.value&&O.value!==`none`?(y(),p(Td,{key:1,id:t.element.elementId,position:`end`,type:O.value,baseSize:C(w),color:C(S)},null,8,[`id`,`type`,`baseSize`,`color`])):o(``,!0)]),m.value&&i&&C(T)?(y(!0),c(n,{key:0},k(x.value,(e,t)=>(y(),c(`path`,{key:`hit-${t}`,class:`line-hit-area`,d:e.d,fill:`none`,stroke:`transparent`,"stroke-linecap":`butt`,"stroke-width":Math.max(C(w),12),"vector-effect":`non-scaling-stroke`},null,8,Dd))),128)):o(``,!0),f(`g`,{filter:C(ee)},[(y(!0),c(n,null,k(x.value,(e,t)=>(y(),c(n,{key:t},[e.fillValue&&!m.value?(y(),c(`path`,{key:0,d:e.d,fill:e.fillValue,stroke:`none`},null,8,kd)):o(``,!0),e.stroke&&C(T)?(y(),c(`path`,{key:1,d:e.d,fill:`none`,"stroke-linecap":`butt`,stroke:C(S),"stroke-width":C(w),"stroke-dasharray":C(E),"marker-start":t===re.value?A.value:void 0,"marker-end":t===ie.value?te.value:void 0,"vector-effect":`non-scaling-stroke`},null,8,Ad)):o(``,!0)],64))),128)),C(b)&&!m.value&&j.value>0?(y(),c(`g`,{key:0,transform:M.value},[...r[0]||(r[0]=[f(`rect`,{x:`8`,y:`10`,width:`32`,height:`28`,rx:`3`,fill:`none`,stroke:`#aeb4bd`,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`},null,-1),f(`path`,{d:`M12 33l9-10 7 7 4-4 4 7`,fill:`none`,stroke:`#aeb4bd`,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`},null,-1),f(`circle`,{cx:`32`,cy:`18`,r:`3`,fill:`#aeb4bd`},null,-1)])],8,jd)):o(``,!0)],8,Od)],8,Ed)):o(``,!0)],4))}}),[[`__scopeId`,`data-v-684ec2ce`]]),Nd=`sharp`,Pd=[{labelKey:`floatBar.lineCurveSharp`,value:`sharp`},{labelKey:`floatBar.lineCurveRound`,value:`round`},{labelKey:`floatBar.lineCurveSmooth`,value:`smooth`}],Fd=48,Id=1e-6;function Ld(e){return e.trim().split(/\s+/).map(e=>e.split(`,`).map(Number)).filter(e=>e.length===2&&e.every(Number.isFinite))}function Rd(e,t){let n=e.map(e=>[...e]);for(;n.length>1;)n=n.slice(0,-1).map((e,r)=>{let i=n[r+1];return[e[0]+(i[0]-e[0])*t,e[1]+(i[1]-e[1])*t]});return n[0]}function zd(e){let t=e[0],n=e[e.length-1],r=e.slice(1,-1);if(r.length===1){let[e]=r;return`M${t[0]} ${t[1]} Q${e[0]} ${e[1]} ${n[0]} ${n[1]}`}if(r.length===2){let[e,i]=r;return`M${t[0]} ${t[1]} C${e[0]} ${e[1]} ${i[0]} ${i[1]} ${n[0]} ${n[1]}`}let i=Math.max(Fd,r.length*16),a=Array.from({length:i},(t,n)=>Rd(e,(n+1)/i));return`M${t[0]} ${t[1]} ${a.map(e=>`L${e[0]} ${e[1]}`).join(` `)}`}function Bd(e,t){return Math.hypot(t[0]-e[0],t[1]-e[1])}function Vd(e,t,n,r){return[e[0]+(t[0]-e[0])/r*n,e[1]+(t[1]-e[1])/r*n]}function Hd(e,t,n){let r=t[0]-e[0],i=t[1]-e[1],a=n[0]-t[0],o=n[1]-t[1];return Math.abs(r*o-i*a)2?zd(e):t===`round`&&e.length>2?Ud(e,n):`M${r[0]} ${r[1]} ${i.map(e=>`L${e[0]} ${e[1]}`).join(` `)}`:``}var Gd=[`viewBox`],Kd=[`d`,`stroke-width`,`stroke-linecap`,`stroke-linejoin`],qd=[`filter`],Jd=[`d`,`stroke`,`stroke-width`,`stroke-dasharray`,`stroke-linecap`,`stroke-linejoin`,`marker-start`,`marker-end`],Yd=N(h({__name:`LineElement`,props:{element:{}},setup(e){let t=e,{theme:n}=ic(),r=Bu()===`editor`,i=s(()=>Math.max(t.element.bounds[2],2)),a=s(()=>Math.max(t.element.bounds[3],2)),u=s(()=>({position:`absolute`,left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${i.value}px`,height:`${a.value}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),d=s(()=>t.element.viewBox??[t.element.bounds[2],t.element.bounds[3]]),m=s(()=>[i.value,a.value]),h=s(()=>Ld(t.element.points)),g=s(()=>{let[e,t]=d.value,n=i.value/Math.max(e,1e-6),r=a.value/Math.max(t,1e-6);return h.value.map(e=>[e[0]*n,e[1]*r])}),_=s(()=>Wd(g.value,t.element.curve)),{strokeColor:v,strokeWidth:b,hasStroke:x,strokeDash:S}=yd(()=>t.element.border,()=>n.value),{filterUrl:w}=vd(()=>t.element.shadow,()=>n.value),T=s(()=>t.element.curve===`smooth`?`round`:`butt`),E=s(()=>t.element.curve===`sharp`?`miter`:`round`),ee=s(()=>t.element.arrow?.[0]),D=s(()=>t.element.arrow?.[1]),O=s(()=>ee.value&&ee.value!==`none`?`url(#${t.element.elementId}-${ee.value}-start)`:void 0),k=s(()=>D.value&&D.value!==`none`?`url(#${t.element.elementId}-${D.value}-end)`:void 0);return(e,n)=>(y(),c(`div`,{class:`pptd-line`,style:l(u.value)},[_.value&&C(x)?(y(),c(`svg`,{key:0,viewBox:`0 0 ${m.value[0]} ${m.value[1]}`,preserveAspectRatio:`none`,style:{width:`100%`,height:`100%`,overflow:`visible`}},[f(`defs`,null,[ee.value&&ee.value!==`none`?(y(),p(Td,{key:0,id:t.element.elementId,position:`start`,type:ee.value,baseSize:C(b),color:C(v)},null,8,[`id`,`type`,`baseSize`,`color`])):o(``,!0),D.value&&D.value!==`none`?(y(),p(Td,{key:1,id:t.element.elementId,position:`end`,type:D.value,baseSize:C(b),color:C(v)},null,8,[`id`,`type`,`baseSize`,`color`])):o(``,!0)]),r?(y(),c(`path`,{key:0,class:`line-hit-area`,d:_.value,fill:`none`,stroke:`transparent`,"stroke-width":Math.max(C(b),12),"stroke-linecap":T.value,"stroke-linejoin":E.value,"vector-effect":`non-scaling-stroke`},null,8,Kd)):o(``,!0),f(`g`,{filter:C(w)},[f(`path`,{d:_.value,fill:`none`,stroke:C(v),"stroke-width":C(b),"stroke-dasharray":C(S),"stroke-linecap":T.value,"stroke-linejoin":E.value,"marker-start":O.value,"marker-end":k.value,"vector-effect":`non-scaling-stroke`},null,8,Jd)],8,qd)],8,Gd)):o(``,!0)],4))}}),[[`__scopeId`,`data-v-b619bf31`]]);function Xd(e){let{pathString:t,viewBox:n,hasShape:r}=cd(e),i=gd(()=>{let[,,i,a]=e().bounds;if(r.value)return{kind:`clipPath`,pathString:t.value,viewBox:n.value,bounds:[i,a]}});return{clipId:i,clipPathUrl:s(()=>i.value?`url(#${i.value})`:void 0),hasShape:r,pathString:t,viewBox:n}}function Zd(e){let t=e,n=t.cropShape;return{shapeName:n?.shapeName??t.shapeName,adjustments:n?.adjustments??t.adjustments,viewBox:n?.viewBox??t.viewBox,path:n?.path??t.path}}var Qd={key:0,class:`pptd-image__placeholder pptd-image__placeholder--loading`},$d={key:1,class:`pptd-image__placeholder pptd-image__placeholder--error`},ef=[`viewBox`],tf=[`filter`],nf=[`href`,`x`,`y`,`width`,`height`,`preserveAspectRatio`,`clip-path`],rf=[`d`,`stroke`,`stroke-width`,`stroke-dasharray`,`transform`],af=[`width`,`height`,`stroke`,`stroke-width`,`stroke-dasharray`],of=N(h({__name:`ImageElement`,props:{element:{}},setup(e){let t=e,{theme:n}=ic(),{useResolvedImageUrl:r}=Fl(),{src:i,isLoading:a,isError:u}=r(()=>t.element.src,{validate:!0,emptyStatus:`error`}),d=s(()=>({position:`absolute`,left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${t.element.bounds[2]}px`,height:`${t.element.bounds[3]}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),p=s(()=>{let e=t.element.fit?.mode;return e===`cover`||e===void 0?`xMidYMid slice`:e===`contain`?`xMidYMid meet`:`none`}),{clipPathUrl:m,hasShape:h,pathString:g,viewBox:_}=Xd(()=>({...Zd(t.element),bounds:t.element.bounds})),{filterUrl:v}=vd(()=>t.element.shadow,()=>n.value),{strokeColor:b,strokeWidth:x,hasStroke:S,strokeDash:w}=yd(()=>t.element.border,()=>n.value),T=s(()=>t.element.bounds[2]),E=s(()=>t.element.bounds[3]),ee=s(()=>{let e=T.value/Math.max(_.value[0],1e-6),t=E.value/Math.max(_.value[1],1e-6);return e===1&&t===1?void 0:`scale(${e} ${t})`}),D=s(()=>{let e=t.element.crop,n=e?.left??0,r=e?.top??0,i=e?.right??0,a=e?.bottom??0,o=Math.max(1-n-i,1e-4),s=Math.max(1-r-a,1e-4),c=T.value/o,l=E.value/s;return{x:-n*c,y:-r*l,w:c,h:l}}),O=s(()=>{let e=t.element.crop;return!!(e&&(e.left||e.top||e.right||e.bottom))}),k=gd(()=>{if(!(h.value||!O.value))return{kind:`clipPath`,pathString:`M0 0 H${T.value} V${E.value} H0 Z`,viewBox:[T.value,E.value],bounds:[T.value,E.value]}}),A=s(()=>h.value?m.value:k.value?`url(#${k.value})`:void 0);return(e,t)=>(y(),c(`div`,{class:`pptd-image`,style:l(d.value)},[C(a)?(y(),c(`div`,Qd)):C(u)?(y(),c(`div`,$d,[...t[0]||(t[0]=[f(`svg`,{class:`pptd-image__placeholder-icon`,viewBox:`0 0 48 48`,"aria-hidden":`true`},[f(`rect`,{x:`8`,y:`10`,width:`32`,height:`28`,rx:`3`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`}),f(`path`,{d:`M12 33l9-10 7 7 4-4 4 7`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`}),f(`circle`,{cx:`32`,cy:`18`,r:`3`,fill:`currentColor`})],-1)])])):C(i)?(y(),c(`svg`,{key:2,viewBox:`0 0 ${T.value} ${E.value}`,preserveAspectRatio:`none`,style:{width:`100%`,height:`100%`,overflow:`visible`}},[f(`g`,{filter:C(v)},[f(`image`,{href:C(i),x:D.value.x,y:D.value.y,width:D.value.w,height:D.value.h,preserveAspectRatio:p.value,"clip-path":A.value},null,8,nf),C(h)&&C(S)?(y(),c(`path`,{key:0,d:C(g),fill:`none`,stroke:C(b),"stroke-width":C(x),"stroke-dasharray":C(w),transform:ee.value,"vector-effect":`non-scaling-stroke`},null,8,rf)):C(S)?(y(),c(`rect`,{key:1,x:`0`,y:`0`,width:T.value,height:E.value,fill:`none`,stroke:C(b),"stroke-width":C(x),"stroke-dasharray":C(w),"vector-effect":`non-scaling-stroke`},null,8,af)):o(``,!0)],8,tf)],8,ef)):o(``,!0)],4))}}),[[`__scopeId`,`data-v-21122ecf`]]);function sf(e,t){let n=e.map(()=>Array.from({length:t}).fill(null));for(let r=0;r=t)break;let e=Math.max(1,o.rowSpan??1),s=Math.max(1,o.colSpan??1);n[r][i]={kind:`anchor`,cell:o,rowIndex:r,colIndex:i,cellIndexInRow:a,rowSpan:e,colSpan:s};for(let a=0;at?rs(e,t):null)}function gf(e){if(!e)return;if(typeof e==`string`)return e;if(typeof e!=`object`)return;let t=e;return[t.latin,t.ea].filter(Boolean).join(`, `)}function _f(e){return`url("${e.replaceAll(`"`,`\\"`)}")`}function vf(e,t){let n=t.get(e.src)??e.src,r=e.fit?.mode??`fill`;return{backgroundImage:_f(n),backgroundPosition:`center`,backgroundRepeat:`no-repeat`,backgroundSize:r===`cover`?`cover`:r===`contain`?`contain`:`100% 100%`}}function yf(e,t){if(e){if(e.type===`solid`)return{background:e.color};if(e.type===`gradient`){let t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(e.position*100)}%`).join(`, `);return e.gradientType===`radial`?{background:`radial-gradient(${t})`}:{background:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}return vf(e,t)}}function bf(e,t){e?.type===`image`&&e.src&&t.add(e.src)}function xf(e,t){bf(e?.fill,t)}function Sf(e,t){if(t<=0)return[];let n=1/t,r=Array.from({length:t},(t,r)=>{let i=e?.[r]??e?.[e.length-1]??n;return Number.isFinite(i)&&i>0?i:n}),i=r.reduce((e,t)=>e+t,0);return r.map(e=>e/i)}function Cf(e){if(e.content)return e.content;let t=e;if(!(t.text===void 0&&t.color===void 0&&t.fontSize===void 0&&t.fontFamily===void 0&&t.lineHeight===void 0&&t.lineHeightPx===void 0&&t.letterSpacing===void 0&&t.marginTop===void 0&&t.align===void 0&&t.wrap===void 0&&t.textStyle===void 0&&t.bold===void 0&&t.italic===void 0&&t.backgroundColor===void 0))return{text:t.text??``,style:t.textStyle,color:t.color,fontSize:t.fontSize,fontFamily:t.fontFamily,fontStyle:t.italic?`italic`:void 0,lineHeight:t.lineHeight,lineHeightPx:t.lineHeightPx,letterSpacing:t.letterSpacing,marginTop:t.marginTop,align:t.align,wrap:t.wrap,bold:t.bold,italic:t.italic,backgroundColor:t.backgroundColor}}function wf(e,t,n,r,i,a,o,s){let{cell:c,rowIndex:l,colIndex:u,cellIndexInRow:d,rowSpan:f,colSpan:p}=e,m=c,h=l===0,g=u===0,_=l+f===n,v=u+p===t,y=h?i.firstRowStyle:_?i.lastRowStyle:void 0,b=g?i.firstColumnStyle:v?i.lastColumnStyle:void 0,x=l-+!!i.firstRowStyle,S=!h&&i.bodyStyles?.length?i.bodyStyles[Math.max(x,0)%i.bodyStyles.length]:void 0,C=i.rowOverColumn===!1?{...y,...b}:{...b,...y},w={...i.cellStyle,...S,...C},T=Cf(c),E=T?as(o,T):void 0,ee=yf(m.fill?ns(o,m.fill):void 0,s),D;D=ee||(w.fill?yf(w.fill,s):h&&i.headerFill?{background:i.headerFill}:g&&i.firstColumnFill?{background:i.firstColumnFill}:!h&&i.bodyFill?.length?{background:i.bodyFill[(l-1)%i.bodyFill.length]}:yf(i.fill,s));let O=E?.color??w.color;O||(h&&i.headerColor?O=i.headerColor:g&&i.firstColumnColor?O=i.firstColumnColor:i.bodyColor&&(O=i.bodyColor));let k=E?.bold,A=E?.italic,te=k??w.bold??(h&&i.headerBold||g&&i.firstColumnBold),ne=E?.fontSize??w.fontSize??i.fontSize,re=ne??16,ie=gf(E?.fontFamily??w.fontFamily??i.fontFamily),j=hf(o,m.border),M=e=>j?j[e]:w.border?w.border[e]:a?a[e]:h&&i.headerBorder?i.headerBorder[e]:_&&i.lastRowBorder?i.lastRowBorder[e]:!h&&!_&&i.bodyBorder?i.bodyBorder[e]:i.border?i.border[e]:cf,[N,ae]=E?.align??w.align??[`center`,`middle`],P=[M(0),M(1),M(2),M(3)],oe={...D,color:O??`#333333`,fontWeight:te?`bold`:void 0,fontStyle:A?`italic`:void 0,fontSize:re?`${re}px`:void 0,fontFamily:ie,borderTop:mf(P[0]),borderRight:mf(P[1]),borderBottom:mf(P[2]),borderLeft:mf(P[3])},se=ju(re,E?.lineHeight,E?.lineHeightPx,lf)??re*lf,ce=Math.max(0,Math.min(uf,((r||0)*f-se)/2)),le={justifyContent:df[N]??`flex-start`,alignItems:ff[ae]??`center`,lineHeight:Au(E?.lineHeight,E?.lineHeightPx),whiteSpace:E?.wrap===!1?`pre`:`break-spaces`,wordBreak:E?.wrap===!1?`normal`:`break-word`,"--cell-padding-y":`${ce}px`,"--cell-margin-top":`${E?.marginTop??0}px`},ue=E?.text?os(o,E.text):``;return{rowIndex:l,colIndex:u,cellIndexInRow:d,rowSpan:f,colSpan:p,cell:c,borders:P,tdStyle:oe,contentStyle:le,content:E,editorFontSize:ne,html:ue,staticHtml:Du(ue,{inferBlockFontSize:ne===void 0})}}function Tf(e,t){let n,r=()=>(n??(n=Fl()),n),i=d(new Map),a=s(()=>e.value.columnWidths.length),o=s(()=>e.value.rows.length),c=s(()=>{let t=e.value.columnWidths,n=t.length,r=e.value.bounds[2];return Array.from({length:n},(e,i)=>(t[i]??t[t.length-1]??1/n)*r)}),l=s(()=>Sf(e.value.rowHeights,o.value)),u=s(()=>{let t=o.value,n=e.value.bounds[3];return Array.from({length:t},(e,t)=>l.value[t]*n)}),f=s(()=>ys(t.value,e.value.style)??{});A(s(()=>{let n=new Set,r=f.value;return bf(ns(t.value,e.value.fill),n),bf(r.fill,n),xf(r.cellStyle,n),xf(r.firstRowStyle,n),xf(r.lastRowStyle,n),xf(r.firstColumnStyle,n),xf(r.lastColumnStyle,n),r.bodyStyles?.forEach(e=>xf(e,n)),e.value.rows.forEach(e=>{e.forEach(e=>bf(ns(t.value,e?.fill),n))}),[...n]}),async(e,t,n)=>{let a=!1;if(n(()=>{a=!0}),!e.length){i.value=new Map;return}let{resolveImageUrl:o}=r(),s=await Promise.all(e.map(async e=>[e,await o(e)??e]));a||(i.value=new Map(s))},{immediate:!0});let p=s(()=>{let n=e.value.shadow;if(!n)return;let r=X(t.value,n.color)??n.color,[i,a]=n.offset??[0,0];return`${i}px ${a}px ${n.blur}px ${r}`}),m=s(()=>sf(e.value.rows,a.value)),h=s(()=>{let n=m.value,r=f.value,s=t.value,c=hf(s,e.value.border),l=a.value,d=o.value,p=u.value;return n.map((e,t)=>e.map(e=>e&&e.kind===`anchor`?wf(e,l,d,p[t]??0,r,c,s,i.value):null))});return{parsedStyle:f,gridLayout:m,cellRenderInfo:h,rowHeights:l,rowHeightsPx:u,colWidthsPx:c,boxShadow:p,tableTransform:s(()=>{let e=0;for(let t of h.value)for(let n of t)n&&n.colIndex===0&&(e=Math.max(e,(n.borders[3]?.width??0)/2));if(e!==0)return`translate(-${e}px, 0)`})}}var Ef=e=>e&&!e.content?{text:``}:{content:{text:``}};function Df(e){return e.content?.text??e.text??``}function Of(e,t){return e.content?{...e,content:{...e.content,text:t}}:{...e,text:t}}function kf(e){let t=e.trim();return t?/^$/i.test(t)?t:`

${t}

`:``}function Af(e){if(!e)return[``];let t=e.match(/]*>[\s\S]*?<\/p>/gi);return t?.length?t:[kf(e)]}function jf(e,t,n){return t===n-1?e.slice(t).join(``):e[t]??``}var Mf=(e,t,n)=>{let r=e[t]?.[n];return r?.kind===`anchor`?{row:r.rowIndex,col:r.colIndex}:null};function Nf(e,t,n,r){let i=e.length,a=e[0]?.length??0,o=r===`left`?-1:1,s=t,c=n+o;for(;s>=0&&s=0&&ce.value.columnWidths.length),i=s(()=>{let e=n.value;if(e.length===0)return null;let t=e.map(e=>e.split(`_`).map(Number));return{minR:Math.min(...t.map(e=>e[0])),maxR:Math.max(...t.map(e=>e[0])),minC:Math.min(...t.map(e=>e[1])),maxC:Math.max(...t.map(e=>e[1]))}}),a=s(()=>{if(n.value.length<2)return!1;let e=i.value;if(!e)return!1;let r=t.value;for(let t=e.minR;t<=e.maxR;t++)for(let n=e.minC;n<=e.maxC;n++){let i=r[t]?.[n];if(!i||i.kind!==`anchor`||!(t===e.minR&&n===e.minC)&&(i.rowSpan>1||i.colSpan>1))return!1}return!0});return{canMerge:a,canSplit:s(()=>{let e=n.value[0];if(!e||n.value.length!==1)return!1;let[r,i]=e.split(`_`).map(Number),a=t.value[r]?.[i];return!a||a.kind!==`anchor`?!1:a.rowSpan>1||a.colSpan>1}),mergeCells:()=>{if(!a.value)return null;let t=i.value,n=e.value,o=JSON.parse(JSON.stringify(n.rows)),s=sf(o,r.value),c=[],l=[];for(let e=t.minR;e<=t.maxR;e++)for(let n=t.minC;n<=t.maxC;n++){let r=s[e][n];if(!r||r.kind!==`anchor`)continue;let i=Df(r.cell);i&&c.push(kf(i)),!(e===t.minR&&n===t.minC)&&l.push([e,r.cellIndexInRow])}l.sort((e,t)=>t[1]-e[1]);for(let[e,t]of l)o[e].splice(t,1);s=sf(o,r.value);let u=s[t.minR][t.minC];if(u?.kind===`anchor`){let e=o[t.minR][u.cellIndexInRow];o[t.minR][u.cellIndexInRow]=Of({...e,rowSpan:t.maxR-t.minR+1,colSpan:t.maxC-t.minC+1},c.join(``))}return{rows:o}},splitCell:(t,n)=>{let i=e.value,a=JSON.parse(JSON.stringify(i.rows)),o=sf(a,r.value),s=o[t][n];if(!s||s.kind!==`anchor`||s.rowSpan<=1&&s.colSpan<=1)return null;let{rowSpan:c,colSpan:l,cellIndexInRow:u}=s,d=Af(Df(a[t][u])),f=a[t][u];a[t][u]={...f,rowSpan:1,colSpan:1};for(let e=0;e{let n=e.value,i=r.value,a=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),o=[...n.rowHeights],s=Array.from({length:i},()=>({content:{text:``}}));a.splice(t,0,s);let c=i>0?1/(n.rows.length+1):.1;o.splice(t,0,n.rowHeights[t]??n.rowHeights[t-1]??c);let l=o.reduce((e,t)=>e+t,0);return{rows:a,rowHeights:o.map(e=>e/l)}},deleteRows:t=>{let n=e.value;if(n.rows.length<=t.length)return null;let r=[...t].toSorted((e,t)=>t-e),i=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),a=[...n.rowHeights];for(let e of r)i.splice(e,1),a.splice(e,1);let o=a.reduce((e,t)=>e+t,0);return{rows:i,rowHeights:a.map(e=>o>0?e/o:1/i.length)}},insertCol:t=>{let n=e.value,i=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),a=[...n.columnWidths],o=sf(i,r.value);for(let e=0;ee+t,0);return{rows:i,columnWidths:a.map(e=>e/c)}},deleteCols:t=>{let n=e.value;if(n.columnWidths.length<=t.length)return null;let i=[...t].toSorted((e,t)=>t-e),a=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),o=[...n.columnWidths];for(let e of i){let t=sf(a,r.value);for(let n=0;ne+t,0);return{rows:a,columnWidths:o.map(e=>s>0?e/s:1/o.length)}},clearCells:n=>{if(n.length===0)return null;let r=e.value,i=t.value,a=new Map;for(let e of n){let[t,n]=e.split(`_`).map(Number),r=i[t]?.[n];r?.kind===`anchor`&&(a.has(t)||a.set(t,new Set),a.get(t).add(r.cellIndexInRow))}return{rows:r.rows.map((e,t)=>{let n=a.get(t);if(!n)return e;let r=[...e];for(let e of n){let t=r[e];r[e]={...t,content:{...t.content,text:``}}}return r})}}}}var Ff=20;function If(e,t,n,r,i){let a=d(!1),o=d(null);return{isDragging:a,draggingLineId:o,colDragLinePositions:s(()=>{let t=[],n=0;for(let r of e.value)n+=r,t.push(n);return t}),rowDragLinePositions:s(()=>{let e=[],n=0;for(let r of t.value)n+=r,e.push(n);return e}),handleColDragStart:(t,s)=>{t.stopPropagation(),t.preventDefault(),a.value=!0,o.value=`col-${s}`;let c=t.clientX,l=[...e.value],u=l.length,d=s+1,f=d{let t=(e.clientX-c)/r.value;if(Math.abs(t)<1)return;let a=[...l];if(t>0)if(f){let e=l[d]-Ff,n=Math.min(t,e);a[s]=l[s]+n,a[d]=l[d]-n;let r=t-n;r>0&&(a[s]+=r)}else a[s]=l[s]+t;else{let e=Math.min(Math.abs(t),l[s]-Ff);a[s]=l[s]-e,f&&(a[d]=l[d]+e)}let o=a.reduce((e,t)=>e+t,0),u=a.map(e=>e/o);i({bounds:[n.value[0],n.value[1],o,n.value[3]],columnWidths:u})},m=()=>{a.value=!1,o.value=null,document.removeEventListener(`mousemove`,p),document.removeEventListener(`mouseup`,m)};document.addEventListener(`mousemove`,p),document.addEventListener(`mouseup`,m)},handleRowDragStart:(e,s)=>{e.stopPropagation(),e.preventDefault(),a.value=!0,o.value=`row-${s}`;let c=e.clientY,l=[...t.value],u=l.length,d=s+1,f=d{let t=(e.clientY-c)/r.value;if(Math.abs(t)<1)return;let a=[...l];if(t>0)if(f){let e=l[d]-Ff,n=Math.min(t,e);a[s]=l[s]+n,a[d]=l[d]-n;let r=t-n;r>0&&(a[s]+=r)}else a[s]=l[s]+t;else{let e=Math.min(Math.abs(t),l[s]-Ff);a[s]=l[s]-e,f&&(a[d]=l[d]+e)}let o=a.reduce((e,t)=>e+t,0),u=a.map(e=>e/o);i({bounds:[n.value[0],n.value[1],n.value[2],o],rowHeights:u})},m=()=>{a.value=!1,o.value=null,document.removeEventListener(`mousemove`,p),document.removeEventListener(`mouseup`,m)};document.addEventListener(`mousemove`,p),document.addEventListener(`mouseup`,m)}}}var Lf=[`data-cell-id`,`rowspan`,`colspan`],Rf=[`data-text-align`],zf=[`innerHTML`],Bf=N(h({__name:`TableCell`,props:{info:{},isEditing:{type:Boolean},isActive:{type:Boolean},isSelected:{type:Boolean},cellId:{},editorId:{},contextmenus:{type:Function}},emits:[`mousedown`,`keydown`,`mouseenter`,`updateText`,`blur`],setup(e,{emit:n}){let r=e,i=n,a={"flex-start":`left`,center:`center`,"flex-end":`right`,"space-between":`justify`},o=_(`$cellEditor`),s=e=>e instanceof Element&&!!e.closest(`.ProseMirror`),u=()=>{let e,t=()=>{e!==void 0&&window.clearTimeout(e),window.removeEventListener(`mouseup`,t),S(()=>{requestAnimationFrame(()=>{o.value?.focus()})})};window.addEventListener(`mouseup`,t,{once:!0}),e=window.setTimeout(t,80)},d=e=>{i(`mousedown`,e),r.isEditing&&e.button===0&&!e.shiftKey&&!s(e.target)&&(e.preventDefault(),u())},m=()=>r.info.editorFontSize,h=()=>{let e=String(r.info.contentStyle.alignItems||`center`);return e===`center`?`safe center`:e},g=()=>a[String(r.info.contentStyle.justifyContent)]||`left`,v=()=>{let e={display:`flex`,width:`100%`,height:`100%`,alignItems:String(r.info.contentStyle.alignItems||`center`),justifyContent:String(r.info.contentStyle.justifyContent||`flex-start`),textAlign:g()},t=r.info.contentStyle.lineHeight;return t!==void 0&&(e.lineHeight=String(t)),r.info.tdStyle.fontWeight&&(e.fontWeight=String(r.info.tdStyle.fontWeight)),e},b=()=>{let e={display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,justifyContent:h(),textAlign:g()},t=r.info.contentStyle.lineHeight;return t!==void 0&&(e.lineHeight=String(t)),r.info.tdStyle.fontWeight&&(e.fontWeight=String(r.info.tdStyle.fontWeight)),e};return(n,r)=>{let a=D(`contextmenu`);return te((y(),c(`td`,{class:t([`pptd-table-cell`,{editing:e.isEditing,selected:e.isSelected&&!e.isActive}]),"data-cell-id":e.cellId,style:l(e.info.tdStyle),rowspan:e.info.rowSpan,colspan:e.info.colSpan,onMousedown:d,onMouseenter:r[3]||(r[3]=e=>i(`mouseenter`))},[f(`div`,{class:`pptd-table-cell-content`,style:l(e.info.contentStyle)},[e.isEditing?(y(),p(Fu,{key:0,ref_key:`$cellEditor`,ref:o,"element-id":e.editorId,html:e.info.html,"font-size":m(),"font-family":e.info.tdStyle.fontFamily||void 0,color:e.info.tdStyle.color||void 0,"line-height":e.info.content?.lineHeight,"line-height-px":e.info.content?.lineHeightPx,"margin-top":e.info.content?.marginTop,"wrapper-style":v(),"sync-focused-html":!e.isActive,onChange:r[0]||(r[0]=e=>i(`updateText`,e)),onKeydownCapture:r[1]||(r[1]=e=>i(`keydown`,e)),onBlur:r[2]||(r[2]=e=>i(`blur`))},null,8,[`element-id`,`html`,`font-size`,`font-family`,`color`,`line-height`,`line-height-px`,`margin-top`,`wrapper-style`,`sync-focused-html`])):(y(),c(`div`,{key:1,class:`pptd-table-cell-static`,"data-text-align":g(),style:l(b())},[f(`div`,{class:`pptd-table-cell-static-inner`,innerHTML:e.info.staticHtml},null,8,zf)],12,Rf))],4)],46,Lf)),[[a,e.contextmenus]])}}}),[[`__scopeId`,`data-v-c248007e`]]),Vf={key:0,class:`table-resize-handlers`},Hf=[`onMousedown`],Uf=[`onMousedown`],Wf=1,Gf=N(h({__name:`TableElement`,props:{element:{}},emits:[`update`],setup(e,{emit:r}){let a=e,u=r,{theme:m,currentPage:h,removeElement:g}=ic(),{handleElementId:v,pushUndo:b,selectedTableCells:x,activeTableCellKey:w,isOperating:T,canvasScale:E,isEditable:D}=ol(),te=Bu()===`editor`,{cellRenderInfo:ne,rowHeights:re,rowHeightsPx:ie,colWidthsPx:j,boxShadow:M,tableTransform:N,gridLayout:ae}=Tf(i(a,`element`),m),P=s(()=>te&&v.value===a.element.elementId),oe=d(null),se=d(null),ce=d(!1),{canMerge:le,canSplit:de,mergeCells:fe,splitCell:pe,insertRow:he,deleteRows:ge,insertCol:_e,deleteCols:ve,clearCells:ye}=Pf(i(a,`element`),ae,x),{t:F}=ue(),be=_(`tableGridRef`),I=d(!1),L=d({}),xe=e=>Number.parseFloat(e)||0,Se=e=>`${e.rowIndex}_${e.colIndex}`,Ce=e=>be.value?.querySelector(`.pptd-table-cell[data-cell-id="${e}"]`),we=s(()=>{let e=ns(m.value,a.element.fill);if(e){if(e.type===`solid`)return e.color;if(e.type===`gradient`){let t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(e.position*100)}%`).join(`, `);return e.gradientType===`radial`?`radial-gradient(${t})`:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}}),Te=e=>{let t=e.querySelector(`.pptd-table-cell-content`);if(!t)return 0;let n=getComputedStyle(t),r=getComputedStyle(e),i=t.querySelector(`.ProseMirror`),a=t.querySelector(`.pptd-table-cell-static-inner`);return Math.max(t.scrollHeight,i?.scrollHeight??0,a?.scrollHeight??0)+xe(n.top)+xe(n.bottom)+xe(r.borderTopWidth)+xe(r.borderBottomWidth)},Ee=e=>{let t=Ce(e);t&&(L.value={...L.value,[e]:Te(t)})},De=e=>{let t=Se(e),n=Ce(t);if(!n)return;let r=Te(n),i=Math.max(1,e.rowSpan),o=ie.value.slice(e.rowIndex,e.rowIndex+i),s=o.reduce((e,t)=>e+t,0),c=L.value[t]??s;if(r<=Math.max(s,c)+Wf)return;let l=[...ie.value],d=r-s;o.forEach((t,n)=>{let r=s>0?t/s:1/i,a=e.rowIndex+n;l[a]=(l[a]??0)+d*r});let f=l.reduce((e,t)=>e+t,0);u(`update`,{bounds:[a.element.bounds[0],a.element.bounds[1],a.element.bounds[2],Math.ceil(f)],rowHeights:l.map(e=>e/f)})},{isDragging:Oe,draggingLineId:ke,colDragLinePositions:Ae,rowDragLinePositions:je,handleColDragStart:Me,handleRowDragStart:Ne}=If(j,ie,s(()=>a.element.bounds),E,e=>u(`update`,e));A(()=>v.value,e=>{if(e!==a.element.elementId){w.value=null,oe.value=null,se.value=null,ce.value=!1,x.value=[],I.value=!1,L.value={};return}}),A(se,e=>{if(!oe.value||!P.value)return;let t=oe.value.row,n=oe.value.col,r=e?.row??t,i=e?.col??n,a=Math.min(t,r),o=Math.max(t,r),s=Math.min(n,i),c=Math.max(n,i),l=[];for(let e=a;e<=o;e++)for(let t=s;t<=c;t++){let n=ae.value[e]?.[t];n?.kind===`anchor`&&l.push(`${n.rowIndex}_${n.colIndex}`)}x.value=l}),A(x,e=>{e.length>1&&w.value!==null&&(w.value=null)});let Pe=()=>{ce.value=!1,x.value.length>1&&window.getSelection()?.removeAllRanges()};ee(()=>{document.addEventListener(`mouseup`,Pe),document.addEventListener(`keydown`,Re)}),O(()=>{document.removeEventListener(`mouseup`,Pe),document.removeEventListener(`keydown`,Re),I.value=!1,L.value={}}),A(()=>[T.value,Oe.value],([e,t])=>{if(v.value===a.element.elementId&&(e||t)){document.activeElement?.blur?.(),w.value=null,x.value=[],L.value={};return}},{flush:`post`});let Fe=e=>{e&&(b(),u(`update`,e))},Ie=(e,t,n={})=>{let r=ae.value[e]?.[t];if(r?.kind!==`anchor`)return;let i=`${r.rowIndex}_${r.colIndex}`;oe.value={row:r.rowIndex,col:r.colIndex},se.value=null,w.value=i,x.value=[i],S(()=>{Ee(i),n.focusEditor!==!1&&be.value?.querySelector(`.pptd-table-cell[data-cell-id="${i}"] .ProseMirror`)?.focus()})},Le=e=>{if(!w.value)return!1;let[t,n]=w.value.split(`_`).map(Number),r=Nf(ae.value,t,n,e);return r?(Ie(r.row,r.col),!0):!1},Re=e=>{if(P.value){if(x.value.length>1&&(e.key===`Delete`||e.key===`Backspace`)){e.preventDefault(),Fe(ye(x.value));return}if(e.key===`Tab`&&w.value){e.preventDefault(),e.stopPropagation(),Le(e.shiftKey?`left`:`right`);return}}},ze=e=>`${a.element.elementId}:${Se(e)}`,Be=(e,t)=>{if(!te)return;let n=Se(t);if(e.button!==0){P.value&&e.stopPropagation();return}if(!P.value){w.value=null,x.value=[];return}if(e.stopPropagation(),ce.value=!0,e.shiftKey&&oe.value)se.value={row:t.rowIndex,col:t.colIndex};else{if(w.value===n)return;Ie(t.rowIndex,t.colIndex,{focusEditor:!1})}},Ve=e=>{te&&P.value&&(e.stopPropagation(),w.value=null,x.value=[],oe.value=null,se.value=null,L.value={})},He=e=>{te&&(!ce.value||!P.value||(se.value={row:e.rowIndex,col:e.colIndex}))},Ue=(e,t)=>{let{rowIndex:n,cellIndexInRow:r}=e,i=a.element.rows[n]?.[r];t!==(i?Df(i):``)&&(I.value||(b(),I.value=!0),u(`update`,{rows:a.element.rows.map((e,i)=>{if(i!==n)return e;let a=[...e],o=a[r];return a[r]=Of(o,t),a})}),S(()=>De(e)))},We=()=>{I.value=!1,L.value={},me(`msh_nppt_element_edited`,{type:`table`,edit_type:`changeText`},[`type`,`edit_type`])},Ge=()=>{let e=[];ae.value.forEach((t,n)=>{t.forEach((t,r)=>{t?.kind===`anchor`&&e.push(`${n}_${r}`)})}),x.value=e},Ke=()=>{let e=h.value;e&&(b(),g(e.pageId,a.element.elementId),x.value=[],w.value=null)},qe=(e,t)=>{if(!te||!D.value)return[];let{rowIndex:n,colIndex:r}=e,i=a.element.rows.length,o=a.element.columnWidths.length;return[{text:F(`contextMenu.insertColumn`),children:[{text:F(`contextMenu.insertColumnLeft`),handler:()=>Fe(_e(r))},{text:F(`contextMenu.insertColumnRight`),handler:()=>Fe(_e(r+1))}]},{text:F(`contextMenu.insertRow`),children:[{text:F(`contextMenu.insertRowAbove`),handler:()=>Fe(he(n))},{text:F(`contextMenu.insertRowBelow`),handler:()=>Fe(he(n+1))}]},{text:F(`contextMenu.deleteColumn`),disable:o<=1,handler:()=>Fe(ve([r]))},{text:F(`contextMenu.deleteRow`),disable:i<=1,handler:()=>Fe(ge([n]))},{divider:!0},{text:F(`contextMenu.mergeCells`),disable:!le.value,handler:()=>{Fe(fe()),w.value=null,x.value=[]}},{text:F(`contextMenu.unmergeCells`),disable:!de.value||x.value.length!==1,handler:()=>{Fe(pe(n,r)),w.value=null,x.value=[]}},{divider:!0},{text:F(`contextMenu.selectCurrentColumn`),handler:()=>{let e=[];for(let t=0;t{let e=[];for(let t=0;tGe()},{divider:!0},{text:F(`contextMenu.deleteTable`),handler:()=>Ke()}]},Je=s(()=>({position:`absolute`,left:`${a.element.bounds[0]}px`,top:`${a.element.bounds[1]}px`,width:`${a.element.bounds[2]}px`,height:`${a.element.bounds[3]}px`,transform:`rotate(${a.element.rotation??0}deg) scaleX(${a.element.flip?.[0]?-1:1}) scaleY(${a.element.flip?.[1]?-1:1})`,opacity:a.element.opacity??1,boxShadow:M.value,background:we.value}));return(e,r)=>(y(),c(`div`,{class:t([`pptd-table`,{editing:P.value,dragging:C(Oe)}]),style:l(Je.value),onMousedown:Ve},[P.value?(y(),c(`div`,Vf,[(y(!0),c(n,null,k(C(Ae),(e,n)=>(y(),c(`div`,{key:`col-${n}`,class:t([`drag-line-col`,{dragging:C(ke)===`col-${n}`}]),style:l({left:`${e}px`}),onMousedown:e=>C(Me)(e,n)},null,46,Hf))),128)),(y(!0),c(n,null,k(C(je),(e,n)=>(y(),c(`div`,{key:`row-${n}`,class:t([`drag-line-row`,{dragging:C(ke)===`row-${n}`}]),style:l({top:`${e}px`}),onMousedown:e=>C(Ne)(e,n)},null,46,Uf))),128))])):o(``,!0),f(`table`,{ref:`tableGridRef`,class:`pptd-table-grid`,style:l({transform:C(N)})},[f(`colgroup`,null,[(y(!0),c(n,null,k(C(j),(e,t)=>(y(),c(`col`,{key:t,style:l({width:`${e}px`})},null,4))),128))]),f(`tbody`,null,[(y(!0),c(n,null,k(C(ne),(e,t)=>(y(),c(`tr`,{key:t,style:l({height:`${C(re)[t]*100}%`})},[(y(!0),c(n,null,k(e,(e,t)=>(y(),c(n,{key:t},[e?(y(),p(Bf,{key:0,"cell-id":`${e.rowIndex}_${e.colIndex}`,"editor-id":ze(e),info:e,"is-editing":P.value,"is-active":C(w)===`${e.rowIndex}_${e.colIndex}`,"is-selected":P.value&&C(x).includes(`${e.rowIndex}_${e.colIndex}`),contextmenus:t=>qe(e,t),onMousedown:t=>Be(t,e),onKeydown:Re,onMouseenter:t=>He(e),onUpdateText:t=>Ue(e,t),onBlur:We},null,8,[`cell-id`,`editor-id`,`info`,`is-editing`,`is-active`,`is-selected`,`contextmenus`,`onMousedown`,`onMouseenter`,`onUpdateText`])):o(``,!0)],64))),128))],4))),128))])],4)],38))}}),[[`__scopeId`,`data-v-aa0f483e`]]),Kf=.2,qf=.7,Jf=.8,Yf=[8,50],Xf=`#75cc9c`,Zf=`#ee6666`,Qf=Xf,$f=Zf,ep={style:`solid`,width:1,color:`#ffffff`};function $(e,t){let n=e?.length?e:Ui;return n[t%n.length]??Ui[0]}function tp(e){return Array.isArray(e)?e:[e]}function np(e,t){return e.map(e=>String(e[t]??``))}function rp(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function ip(e){let t=e.data;return rp(t)&&Array.isArray(t.cols)&&Array.isArray(t.rows)&&Array.isArray(e.series)}function ap(e){return e.x??``}function op(e){return tp(e.y??``)}function sp(e){return e.rows.map(t=>Object.fromEntries(e.cols.map((e,n)=>[e,t[n]??null])))}function cp(e){if(e==null||e===``||typeof e==`boolean`)return null;let t=Number(e);return Number.isNaN(t)?null:t}function lp(e,t=0){return Array.isArray(e)?e[t]:t===0?e:void 0}function up(e){return typeof e==`number`&&Number.isFinite(e)?e:0}function dp(e,t){return e.map(e=>e[t])}function fp(e){return e.trim()===``?!1:Number.isFinite(Number(e))}function pp(e,t,n){let r=dp(e,t).filter(e=>e!=null&&e!==``);return r.some(e=>typeof e==`string`&&!fp(e))?`category`:r.some(e=>typeof e==`number`)?`value`:(r.some(e=>typeof e==`string`),n)}function mp(e,t){return dp(e,t).map(e=>String(e??``))}function hp(e,t){let n=e.seriesDefaults?.[t.type]??{},r={...n,...t};for(let e of[`marker`,`dataLabels`,`border`,`upBars`,`downBars`,`wickStyle`,`totalBars`,`increaseBars`,`decreaseBars`])(rp(n[e])||rp(t[e]))&&(r[e]={...rp(n[e])?n[e]:{},...rp(t[e])?t[e]:{}});return r}function gp(e,t,n){return t.map((t,r)=>({field:t,name:n?.[r]??t,values:e.map(e=>{let n=e[t];if(n==null)return null;let r=Number(n);return Number.isNaN(r)?null:r})}))}function _p(e,t){return t===`zero`?e.map(e=>e===null?0:e):e}function vp(e){if(e){if(e.type===`solid`)return e.color;if(e.type===`gradient`){let t=e.gradientType!==`radial`,n;if(t){let t=(e.angle??0)*Math.PI/180;n={x:+(.5-Math.cos(t)/2).toFixed(2),y:+(.5-Math.sin(t)/2).toFixed(2),x2:+(.5+Math.cos(t)/2).toFixed(2),y2:+(.5+Math.sin(t)/2).toFixed(2)}}else n={x:.5,y:.5,r:.5};return{type:t?`linear`:`radial`,...n,colorStops:e.stops.map(e=>({offset:e.position,color:e.color}))}}}}function yp(e,t){return t?{...t[`*`],...t[e]}:{}}function bp(e,t){return e.fill?vp(e.fill)??t:t}var xp={solid:`solid`,dash:`dashed`,dot:`dotted`};function Sp(e){return e?xp[e]:void 0}var Cp=new Set([`0`,`#`,`.`,`,`,`%`]);function wp(e){if(!e)return;let t=``,n=``,r=``,i=!1;for(let a=0;ae===`0`).length,maxFractionDigits:[...s].filter(e=>e===`0`||e===`#`).length,useGrouping:o.includes(`,`),scalePercent:a}}function Tp(e){let t=wp(e);if(t)return e=>{let n=Number(e);if(!Number.isFinite(n))return e==null?``:String(e);let r=new Intl.NumberFormat(`en-US`,{useGrouping:t.useGrouping,minimumFractionDigits:t.minFractionDigits,maximumFractionDigits:t.maxFractionDigits}).format(t.scalePercent?n*100:n);return`${t.prefix}${r}${t.suffix}`}}function Ep(e,t,n){return typeof e==`function`?e({...t,value:n}):n??``}function Dp(e,t,n){let r=e?.type??t,i={type:r};if(r===`category`&&n&&(i.data=n),!e)return i;if(e.show===!1)return i.show=!1,i;e.reverse===!0&&(i.inverse=!0);let a=typeof e.label==`object`?e.label:void 0,o=Tp(a?.numberFormat??e.numberFormat);return e.label===!1?i.axisLabel={show:!1}:(a||o)&&(i.axisLabel={show:!0,...a?.color&&{color:a.color},...a?.fontSize&&{fontSize:a.fontSize},...o&&{formatter:e=>o(e)}}),e.axisLine===!1?i.axisLine={show:!1}:e.axisLine&&typeof e.axisLine==`object`&&(i.axisLine={show:!0,lineStyle:{...e.axisLine.color&&{color:e.axisLine.color},...e.axisLine.width&&{width:e.axisLine.width},...e.axisLine.style&&{type:Sp(e.axisLine.style)}}}),e.gridLine===!1?i.splitLine={show:!1}:e.gridLine&&typeof e.gridLine==`object`&&(i.splitLine={show:!0,lineStyle:{...e.gridLine.color&&{color:e.gridLine.color},...e.gridLine.width&&{width:e.gridLine.width},...e.gridLine.style&&{type:Sp(e.gridLine.style)}}}),e.min!==void 0&&(i.min=e.min),e.max!==void 0&&(i.max=e.max),e.title&&(i.name=typeof e.title==`string`?e.title:e.title.text,i.nameLocation=`middle`,i.nameGap=30,typeof e.title==`object`&&(i.nameTextStyle={...e.title.color&&{color:e.title.color},...e.title.fontSize&&{fontSize:e.title.fontSize}})),i}function Op(e){return e?typeof e==`string`?e.trim()!==``:e.text.trim()!==``:!1}function kp(e){if(!Op(e)||!e)return;let t=typeof e==`string`?e:e.text,n={};return typeof e==`object`&&(e.color&&(n.color=e.color),e.fontSize&&(n.fontSize=e.fontSize)),{text:t,left:`center`,top:8,...Object.keys(n).length&&{textStyle:n}}}var Ap={top:{top:0,left:`center`},bottom:{bottom:0,left:`center`},left:{left:0,top:`middle`,orient:`vertical`},right:{right:0,top:`middle`,orient:`vertical`}},jp={itemWidth:10,itemHeight:10};function Mp(e,t=!1){if(e===!1)return{show:!1};if(e===!0||e===void 0)return{show:!0,bottom:0,...jp};let n=e.position??`bottom`,r=n===`top`&&t?{top:30,left:`center`}:Ap[n],i={show:e.show!==!1,...jp,...r},a={};return e.color&&(a.color=e.color),e.fontSize&&(a.fontSize=e.fontSize),Object.keys(a).length&&(i.textStyle=a),i}function Np(e,t=`value`){let n={show:e?.show!==!1};if(!n.show)return n;e?.color&&(n.color=e.color),e?.fontSize&&(n.fontSize=e.fontSize);let r=Tp(e?.numberFormat);switch(e?.content??t){case`percentage`:n.formatter=r?e=>r(e.percent===void 0?e.value:Number(e.percent)/100):`{d}%`;break;case`category`:case`name`:n.formatter=`{b}`;break;default:n.formatter=r?e=>r(e.value):`{c}`;break}return n}function Pp(e,t,n){let r=t===!1||typeof t==`object`&&t.show===!1,i=typeof t==`object`&&t.show!==!1?t.position??`bottom`:`bottom`,a=!r&&i===`top`,o=!r&&i===`bottom`,s=!r&&i===`left`,c=!r&&i===`right`,l=`10%`;e&&a?l=`25%`:(e||a)&&(l=`18%`);let u=s?`18%`:`3%`;n?.hasYAxisTitle&&!s&&(u=`8%`);let d=o?`18%`:`3%`;return n?.hasXAxisTitle&&(d=o?`22%`:`10%`),{left:u,right:c?`18%`:`4%`,bottom:d,top:l,containLabel:!0}}function Fp(e,t){let n=e.fontFamily??e.options?.fontFamily;n&&(t.textStyle={fontFamily:typeof n==`string`?n:[n.latin,n.ea].filter(Boolean).join(`, `)})}function Ip(e,t){let n=kp(e.title);n&&(t.title=n)}function Lp(e,t,n=!1){let r=Dp(e.xAxis,n?`value`:`category`,n?void 0:t),i=Dp(e.yAxis,n?`category`:`value`,n?t:void 0),a=Op(e.title),o={tooltip:{trigger:`axis`},grid:Pp(a,e.legend,{hasXAxisTitle:!!e.xAxis?.title,hasYAxisTitle:!!e.yAxis?.title}),xAxis:r,yAxis:i,legend:Mp(e.legend,a)};return Ip(e,o),Fp(e,o),o}function Rp(e){let t=Op(e.title),n={tooltip:{trigger:`item`},legend:Mp(e.legend,t)};return Ip(e,n),Fp(e,n),n}function zp(e){let t=ap(e),n=op(e),r=np(e.data,t),i=gp(e.data,n,e.names),a=e.options?.direction===`horizontal`,o=e.options?.stacked,s=Lp(e,r,a),c=Np(e.dataLabels);if(c.show&&!c.position&&(c.position=o?`inside`:a?`right`:`top`),o&&e.dataLabels?.content===`percentage`){let e=r.map((e,t)=>i.reduce((e,n)=>e+(Number(n.values[t])||0),0));c.formatter=t=>{let n=e[t.dataIndex]||0;return n===0?`0%`:(Number(t.value)/n*100).toFixed(1)+`%`}}let l=i.map((t,n)=>{let r=bp(yp(t.field,e.seriesStyle),$(e.colors,n));return{type:`bar`,name:t.name,data:t.values,itemStyle:{color:r},label:c,...o&&{stack:`total`},...e.options?.barWidth!==void 0&&{barCategoryGap:`${Math.round((1-e.options.barWidth)*100)}%`}}});return{...s,series:l}}function Bp(e,t,n,r,i,a){let o=yp(e.field,n.seriesStyle),s=$(n.colors,t),c={};o.marker===!1?c.showSymbol=!1:typeof o.marker==`object`&&o.marker.size?c.symbolSize=o.marker.size:a?c.showSymbol=!1:c.symbolSize=8,r.show&&c.showSymbol===!1&&(delete c.showSymbol,c.symbolSize=1);let l;if(a)if(o.fill){let e=vp(o.fill);l=e?{color:e}:{color:s,opacity:.7}}else l={color:s,opacity:.7};return{type:`line`,name:e.name,data:_p(e.values,i),smooth:o.smooth??!0,lineStyle:{color:s,...o.width!==void 0&&{width:o.width},...o.line&&{type:Sp(o.line)}},itemStyle:{color:s},label:r,...l&&{areaStyle:l},...i===`connect`&&{connectNulls:!0},...n.options?.stacked&&{stack:`total`},...c}}function Vp(e){let t=ap(e),n=op(e),r=np(e.data,t),i=gp(e.data,n,e.names),a=e.options?.nullHandling??`gap`,o=Lp(e,r),s=Np(e.dataLabels),c=i.map((t,n)=>Bp(t,n,e,s,a,!1));return{...o,series:c}}function Hp(e){let t=ap(e),n=op(e),r=np(e.data,t),i=gp(e.data,n,e.names),a=e.options?.nullHandling??`gap`,o=Lp(e,r),s=Np(e.dataLabels),c=i.map((t,n)=>Bp(t,n,e,s,a,!0));return{...o,series:c}}function Up(e){let t=Op(e.title),n={tooltip:{trigger:`item`},grid:Pp(t,e.legend,{hasXAxisTitle:!!e.xAxis?.title,hasYAxisTitle:!!e.yAxis?.title}),xAxis:Dp(e.xAxis,`value`),yAxis:Dp(e.yAxis,`value`),legend:Mp(e.legend,t)};return Ip(e,n),Fp(e,n),n}function Wp(e){let t=Np(e);return e?.show===!1&&(t.show=!1),t}function Gp(e,t){return Object.prototype.hasOwnProperty.call(e,`value`)?e.value:t}function Kp(e,t=1){if(!e.show)return e;let n={...e,position:`bottom`,distance:4};if(n.formatter===`{c}`||typeof n.formatter==`function`){let e=n.formatter;n.formatter=n=>Ep(e,n,n.data?.labelValue??n.value?.[t]??``)}return n}function qp(e,t){if(!e.show)return e;let n={...e,position:`bottom`,distance:4};if(n.formatter===`{c}`||typeof n.formatter==`function`){let e=n.formatter;n.formatter=n=>Ep(e,n,n.value?.[t?2:1]??n.data?.labelValue??``)}return n}function Jp(e){let t=ap(e),n=op(e),r=Up(e),i=Kp(Wp(e.dataLabels)),a=n.map((n,r)=>{let a=yp(n,e.seriesStyle),o=bp(a,$(e.colors,r)),s=typeof a.marker==`object`&&a.marker.size?a.marker.size:10;return{type:`scatter`,name:e.names?.[r]??n,data:e.data.map(e=>{let r=Number(e[n])||0;return{value:[Number(e[t])||0,r],labelValue:Gp(e,r)}}),itemStyle:{color:o,opacity:.8},symbolSize:s,label:i}});return{...r,series:a}}function Yp(e){let t=ap(e),n=op(e),r=e.size,i=Up(e),a=qp(Wp(e.dataLabels),!!r),o=0;if(r)for(let t of e.data){let e=Number(t[r]);e>o&&(o=e)}let s=n.map((n,i)=>{let s=bp(yp(n,e.seriesStyle),$(e.colors,i)),c=e.data.map(e=>{let i=Number(e[n])||0,a=r?Number(e[r])||0:i,o=[Number(e[t])||0,i];return r&&o.push(a),{value:o,labelValue:a}});return{type:`scatter`,name:e.names?.[i]??n,data:c,itemStyle:{color:s,opacity:.7},symbolSize:r?e=>o>0?Math.sqrt((e[2]??0)/o)*50+4:10:10,label:a}});return{...i,series:s}}function Xp(e){let t=ap(e),n=op(e)[0]??``,r=Rp(e),i=e.data.map((r,i)=>({name:String(r[t]??``),value:Number(r[n])||0,itemStyle:{color:$(e.colors,i)}})),a=e.options?.innerRadius,o=a==null?`65%`:[`${Math.round(a*65)}%`,`65%`],s={...Np(e.dataLabels,`percentage`),position:`inside`};return{...r,series:[{type:`pie`,radius:o,center:[`50%`,`50%`],data:i,startAngle:e.options?.startAngle??0,avoidLabelOverlap:!0,labelLayout:{hideOverlap:!0},label:s,labelLine:{show:!1},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:`rgba(0,0,0,0.2)`}}}]}}function Zp(e){let t=ap(e),n=op(e),r=np(e.data,t),i=gp(e.data,n,e.names),a=Rp(e),o=i.flatMap(e=>e.values.filter(e=>e!==null)),s=o.length>0?Math.max(...o):100,c=i.some(t=>yp(t.field,e.seriesStyle).fill!==void 0),l=[r[0],...r.slice(1).toReversed()],u=i.map((t,n)=>{let r=bp(yp(t.field,e.seriesStyle),$(e.colors,n)),i=t.values.map(e=>e??0),a=[i[0],...i.slice(1).toReversed()];return{name:t.name,value:a,lineStyle:{color:r},itemStyle:{color:r},...c&&{areaStyle:{color:r,opacity:.3}}}});return{...a,radar:{indicator:l.map(e=>({name:e,max:s})),axisName:{fontSize:10}},series:[{type:`radar`,data:u}]}}function Qp(e){let t=ap(e),n=op(e),r=np(e.data,t),i=gp(e.data,n,e.names),a=e.options?.nullHandling??`gap`,o=Np(e.dataLabels),s=Dp(e.xAxis,`category`,r),c=Dp(e.yAxis,`value`),l=n.some(t=>yp(t,e.seriesStyle).axis===`secondary`),u=[c];if(l){let t=Dp(e.secondaryAxis,`value`);t.splitLine||(t.splitLine={show:!1}),u.push(t)}let d=i.map((t,n)=>{let r=yp(t.field,e.seriesStyle),i=r.type??`bar`,s=l&&r.axis===`secondary`?1:0,c=$(e.colors,n),u=i===`line`||i===`area`?c:bp(r,c),d={type:i===`area`?`line`:i,name:t.name,data:_p(t.values,a),yAxisIndex:s,itemStyle:{color:u},label:o};if(i===`line`||i===`area`){if(d.smooth=r.smooth??!0,d.lineStyle={color:u,...r.width!==void 0&&{width:r.width},...r.line&&{type:Sp(r.line)}},i===`area`)if(r.fill){let e=vp(r.fill);d.areaStyle=e?{color:e}:{color:c,opacity:.7}}else d.areaStyle={color:c,opacity:.7};a===`connect`&&(d.connectNulls=!0)}return d}),f=Op(e.title),p={tooltip:{trigger:`axis`},grid:Pp(f,e.legend,{hasXAxisTitle:!!e.xAxis?.title,hasYAxisTitle:!!e.yAxis?.title}),xAxis:s,yAxis:u.length===1?u[0]:u,series:d,legend:Mp(e.legend,f)};return Ip(e,p),Fp(e,p),p}function $p(e,t){return typeof e==`string`?e:rp(e)?vp(e)??t:t}function em(e,t,n){return $p(Array.isArray(e)?e[t%e.length]:e,n)}function tm(e){if(typeof e==`string`)return e;if(rp(e))return vp(e)}function nm(e,t){if(t<=0||typeof e!=`string`)return e;let n=le(e);if(!n.isValid())return e;let r=n.toHsl();return le({...r,l:Math.max(0,r.l-t*.1)}).toHexString()}function rm(e,t,n,r){if(Array.isArray(e)&&Array.isArray(e[0])){let i=e[t%e.length],a=i[Math.min(n,i.length-1)];return tm(n>=i.length?nm(a,n-i.length+1):a)??r}if(Array.isArray(e)){let i=e[t%e.length];return tm(nm(i,n))??r}return tm(nm(e,n))??r}function im(e,t){let n=[],r=new Set;return e.forEach(e=>{let i=e[t];if(i==null)return;let a=String(i);r.has(a)||(r.add(a),n.push(a))}),n}var am={circle:`circle`,rect:`rect`,diamond:`diamond`,triangle:`triangle`};function om(e){if(!rp(e))return;let t=e.shape;return typeof t==`string`?am[t]:void 0}function sm(e){if(!rp(e))return{};let t={};return e.color&&(t.borderColor=e.color),e.width!==void 0&&(t.borderWidth=e.width),e.style&&(t.borderType=Sp(e.style)),t}function cm(e,t){let n=rp(e)?e.fill:void 0,r=rp(e)?e.border:void 0;return{color:$p(n,t),borderStyle:sm(r)}}function lm(e,t,n=`value`){let r={...e.dataLabels,...t.dataLabels};return e.dataLabels===void 0&&t.dataLabels===void 0&&(r.show=!1),Np(r,n)}function um(e,t=`axis`,n=!0,r=e.legend){let i=Op(e.title),a={tooltip:{trigger:t},legend:Mp(r===void 0?{show:n,position:`bottom`}:r,i)};return Ip(e,a),Fp(e,a),a}function dm(e){return e.length===1&&(e[0]?.type===`candlestick`||e[0]?.type===`waterfall`)}function fm(e,t,n){let r=t===`x`?`xAxisIndex`:`yAxisIndex`;return e.find(e=>up(e[r])===n)?.encode?.[t]}function pm(e,t){let n=t===`x`?`xAxisIndex`:`yAxisIndex`;return Math.max(1,...e.map(e=>up(e[n])+1))}function mm(e,t,n,r){return t?.type===`category`||t?.type===`value`?t.type:n?pp(e,n,r):r}function hm(e,t,n,r,i){let a=pm(n,r),o=r===`x`?e.xAxis:e.yAxis;return Array.from({length:a},(e,a)=>{let s=fm(n,r,a),c=lp(o,a),l=mm(t,c,s,i);return{type:l,option:Dp(c,l,l===`category`&&s?mp(t,s):void 0)}})}function gm(e,t){let n=t.dataFilter;return n?e.filter(e=>e[n.col]===n.value):e}function _m(e){return`${Math.round(e*100)}%`}function vm(e){return e.categoryGap===void 0?e.barWidth===void 0?_m(Kf):_m(1-e.barWidth):_m(e.categoryGap)}function ym(e,t){let n=t.encode;return e.map(e=>{let t=cp(e[n.close])??0;return[n.open?cp(e[n.open])??t:t,t,cp(e[n.low])??t,cp(e[n.high])??t]})}function bm(e,t,n){let r=cm(n.upBars,Xf),i=cm(n.downBars,Zf),a=sm(n.wickStyle),o=a.borderColor;return{type:`candlestick`,name:n.name??`candlestick`,data:ym(gm(t,n),n),xAxisIndex:up(n.xAxisIndex),yAxisIndex:up(n.yAxisIndex),itemStyle:{color:r.color,color0:i.color,borderColor:o??(r.borderStyle.borderColor||r.color),borderColor0:o??(i.borderStyle.borderColor||i.color),borderColorDoji:o,...a.borderWidth===void 0?r.borderStyle.borderWidth===void 0?{}:{borderWidth:r.borderStyle.borderWidth}:{borderWidth:a.borderWidth},...a.borderType===void 0?r.borderStyle.borderType===void 0?{}:{borderType:r.borderStyle.borderType}:{borderType:a.borderType}},...e.categoryGap!==void 0&&{barCategoryGap:`${Math.round(e.categoryGap*100)}%`}}}function xm(e,t){if(!e.show)return e;let n={...e,position:t?`right`:`top`};if(n.formatter===`{c}`||typeof n.formatter==`function`){let e=n.formatter;n.formatter=t=>Ep(e,t,t.data?.labelValue??t.value??``)}else n.formatter===`{b}`&&(n.formatter=e=>e.data?.categoryValue??e.name??``);return n}function Sm(e,t,n,r,i){let a=gm(t,n),o=cm(n.increaseBars,Qf),s=cm(n.decreaseBars,$f),c=cm(n.totalBars,$(void 0,r)),l=xm(lm(e,n),i),u=0,d=[],f=a.map(e=>{let t=cp(e[n.encode.y])??0,r=n.encode.isTotal?e[n.encode.isTotal]===!0:!1,i=r?0:t>=0?u:u+t,a=r?t:Math.abs(t),l=r?c:t>=0?o:s;return d.push(i),u=r?t:u+t,{value:a,labelValue:t,categoryValue:e[n.encode.x],itemStyle:{color:l.color,...l.borderStyle}}}),p=up(n.xAxisIndex),m=up(n.yAxisIndex);return[{type:`bar`,name:`${n.name??n.encode.y}-base`,stack:`waterfall-${r}`,data:d,xAxisIndex:p,yAxisIndex:m,itemStyle:{color:`transparent`,borderColor:`transparent`},emphasis:{disabled:!0},tooltip:{show:!1},silent:!0},{type:`bar`,name:n.name??n.encode.y,stack:`waterfall-${r}`,data:f,xAxisIndex:p,yAxisIndex:m,label:l,barGap:_m(e.barGap??0),barCategoryGap:vm(e)}]}function Cm(e,t,n,r,i,a){let o=up(n.xAxisIndex),s=up(n.yAxisIndex),c=i[o]??`category`,l=a[s]??`value`,u=gm(t,n),d=n.encode.x,f=n.encode.y,p=lm(e,n),m=$(void 0,r),h=n.type===`area`?$p(n.areaColor,m):void 0,g=$p(n.lineColor??(n.type===`area`?n.areaColor:void 0),m),_=$p(n.fill,m),v=n.border,y=c===`category`&&l===`value`?u.map(e=>cp(e[f])):l===`category`&&c===`value`?u.map(e=>cp(e[d])):u.map(e=>[cp(e[d])??0,cp(e[f])??0]),b={type:n.type===`area`?`line`:n.type===`bubble`?`scatter`:n.type,name:n.name??f,data:n.nullHandling===`zero`?_p(y,`zero`):y,xAxisIndex:o,yAxisIndex:s,label:p};if(n.type===`bar`)return b.itemStyle={color:_,...sm(v)},n.stack&&(b.stack=n.stack===`percent`?`percent`:`total`),b.barGap=_m(e.barGap??0),b.barCategoryGap=vm(e),b;if(n.type===`line`||n.type===`area`){if(b.smooth=n.smooth??!1,b.lineStyle={color:g,width:n.width??2,type:Sp(n.lineStyle)},b.itemStyle={color:g},n.marker===!1)b.showSymbol=!1;else if(rp(n.marker)){n.marker.size!==void 0&&(b.symbolSize=n.marker.size);let e=om(n.marker);e&&(b.symbol=e),b.itemStyle={color:$p(n.marker.fill,typeof g==`string`?g:m),...sm(n.marker.border)}}return n.nullHandling===`connect`&&(b.connectNulls=!0),n.stack&&(b.stack=n.stack===`percent`?`percent`:`total`),n.type===`area`&&(b.areaStyle={color:h,opacity:qf}),b}if(n.type===`candlestick`)return bm(e,t,n);if(n.type===`waterfall`)return Sm(e,t,n,r,l===`category`);if(n.type===`scatter`||n.type===`bubble`){let e=n.type===`bubble`?n.encode.size:void 0,t=rp(n.marker)?n.marker:void 0,r=$p(t?.fill??n.fill,m),i=t?.border??n.border,a=om(t);b.label=n.type===`bubble`?qp(p,!!e):Kp(p);let o=u.map(t=>{let n=[cp(t[d])??0,cp(t[f])??0];return e&&n.push(cp(t[e])??0),{value:n,labelValue:e?t[e]:t[f]}}),s=Math.max(1,...o.map(e=>Number(e.value[2]??e.value[1])||0));return b.data=o,b.itemStyle={color:r,opacity:Jf,...sm(i)},a&&(b.symbol=a),b.symbolSize=n.type===`bubble`?e=>{let t=Math.max(0,Number(e[2])||0),r=n.sizeRange??Yf,i=n.sizeScale===`linear`?t/s:n.sizeScale===`log`?Math.log1p(t)/Math.log1p(s):Math.sqrt(t/s);return r[0]+(r[1]-r[0])*i}:t?.size??10,b}}function wm(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).filter(e=>e.encode),r=hm(e,t,n,`x`,`category`),i=hm(e,t,n,`y`,`value`),a=dm(n),o=n.length===1&&n[0]?.type===`candlestick`?!1:!(n.length===1&&n[0]?.type===`waterfall`),s=a?!1:e.legend;return{...um(e,`axis`,o,s),grid:Pp(Op(e.title),s,{hasXAxisTitle:r.some(t=>!!lp(e.xAxis,r.indexOf(t))?.title),hasYAxisTitle:i.some(t=>!!lp(e.yAxis,i.indexOf(t))?.title)}),xAxis:r.length===1?r[0].option:r.map(e=>e.option),yAxis:i.length===1?i[0].option:i.map(e=>e.option),series:n.flatMap((n,a)=>Cm(e,t,n,a,r.map(e=>e.type),i.map(e=>e.type))).filter(Boolean)}}function Tm(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).filter(e=>e.type===`pie`);return{...um(e,`item`),series:n.map((n,r)=>{let i=n.encode.category,a=n.encode.value,o={...lm(e,n,`value`),position:`inside`};return{type:`pie`,name:n.name??a,radius:n.innerRadius===void 0?`65%`:[`${Math.round(n.innerRadius*65)}%`,`65%`],center:[`50%`,`50%`],data:t.map((e,t)=>{let o=$(void 0,t+r);return{name:String(e[i]??``),value:cp(e[a])??0,itemStyle:{color:em(n.fill,t,o)}}}),startAngle:n.startAngle??0,avoidLabelOverlap:!0,labelLayout:{hideOverlap:!0},label:o,labelLine:{show:!1}}})}}function Em(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).filter(e=>e.type===`radar`),r=um(e,`item`),i=n[0]?.encode.category,a=i?mp(t,i):[],o=n.flatMap(e=>t.map(t=>cp(t[e.encode.y])??0)),s=o.length>0?Math.max(...o):100;return{...r,radar:{indicator:a.map(e=>({name:e,max:s})),axisName:{fontSize:10}},series:[{type:`radar`,data:n.map((e,n)=>{let r=$(void 0,n),i=$p(e.lineColor,r);return{name:e.name??e.encode.y,value:t.map(t=>cp(t[e.encode.y])??0),lineStyle:{color:i,width:e.width??2,type:Sp(e.lineStyle)},itemStyle:{color:i},...e.areaColor&&{areaStyle:{color:$p(e.areaColor,r),opacity:.3}}}})}]}}function Dm(e){if(!e.show)return e;let t={...e};if(t.formatter===`{c}`||typeof t.formatter==`function`){let e=t.formatter;t.formatter=t=>Ep(e,t,t.value?.[2]??``)}return t}function Om(e,t,n){let r=Array.isArray(e.colorScheme)&&e.colorScheme.length?e.colorScheme:[];return e.colorScale?.type===`diverging`?r.length>=3?r.slice(0,3):[r[0]??$(void 0,1),r[1]??`#ffffff`,r[2]??$(void 0,0)]:r.length>=2?r:t<0&&n>0?[$(void 0,1),`#ffffff`,$(void 0,0)]:[$(void 0,0),$(void 0,1)]}function km(e,t){if(Array.isArray(t.colorScale?.domain))return t.colorScale.domain;if(!e.length)return[0,1];if(t.colorScale?.type===`diverging`){let t=Math.max(...e.map(e=>Math.abs(e)));return[-t,t]}let n=Math.min(...e),r=Math.max(...e);return n===r?[n,n+1]:[n,r]}function Am(e,t,n,r){let i=rp(e)?e:void 0,a=i?.position??`right`,o={top:{top:0,left:`center`,orient:`horizontal`},bottom:{bottom:0,left:`center`,orient:`horizontal`},left:{left:0,top:`middle`,orient:`vertical`},right:{right:0,top:`middle`,orient:`vertical`}},s={};return i?.color&&(s.color=i.color),i?.fontSize&&(s.fontSize=i.fontSize),{type:`continuous`,min:t,max:n,show:e!==!1,calculable:!1,inRange:{color:r},...o[a]??o.right,...Object.keys(s).length?{textStyle:s}:{}}}function jm(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).find(e=>e.type===`heatmap`);if(!n)return{series:[]};let r=n.encode.x,i=n.encode.y,a=n.encode.value,o=im(t,r),s=im(t,i),c=t.map(e=>{let t=o.indexOf(String(e[r]??``)),n=s.indexOf(String(e[i]??``));if(!(t<0||n<0))return[t,n,cp(e[a])??null]}).filter(e=>!!e),[l,u]=km(c.map(e=>e[2]).filter(e=>e!==null),n),d=n.colorbar===void 0?!0:n.colorbar,f=rp(d)?d:void 0,p=Dm(lm(e,n)),m={tooltip:{trigger:`item`},grid:Pp(Op(e.title),d===!1?!1:f??{position:`right`}),xAxis:Dp(lp(e.xAxis),`category`,o),yAxis:Dp(lp(e.yAxis),`category`,s),visualMap:Am(d,l,u,Om(n,l,u)),series:[{type:`heatmap`,data:c,label:p}]};return Ip(e,m),Fp(e,m),m}function Mm(e){if(!(e==null||e===``))return String(e)}function Nm(e,t){let n=new Map,r=e=>{let t=n.get(e);return t||(t={name:e,children:[]},n.set(e,t)),t};return e.forEach(e=>{let n=e[t.encode.category];if(n==null||n===``)return;let i=String(n),a=r(i),o=cp(e[t.encode.value]);o!==null&&(a.value=o);let s=Mm(t.encode.parent?e[t.encode.parent]:void 0);if(!s||s===i)return;let c=r(s);a.parentName=s,c.children.includes(a)||c.children.push(a)}),[...n.values()].filter(e=>!e.parentName||!n.has(e.parentName))}function Pm(e){let t=typeof e.value==`number`?e.value:void 0,n=Array.isArray(e.children)?e.children.filter(rp):[];return n.length?t??n.reduce((e,t)=>e+Pm(t),0):t??0}function Fm(e,t,n=`category`){if(e.dataLabels===void 0&&t.dataLabels===void 0)return;let r=lm(e,t,n);if(r.show&&(r.formatter===`{c}`||typeof r.formatter==`function`)){let e=r.formatter;r.formatter=t=>Ep(e,t,t.value??``)}return r}function Im(e,t,n,r,i,a,o=new Set){if(o.has(e.name))return{name:e.name,value:e.value??0};o.add(e.name);let s=i+1Im(e,t,n,r,i+1,a,new Set(o))):[],c=s.reduce((e,t)=>e+Pm(t),0),l=s.length&&(e.value===void 0||e.value<=0)?c:e.value??c,u=$(void 0,r);return{name:e.name,value:l,itemStyle:{color:rm(t.fill,r,i,u),...sm(n)},...s.length?{children:s}:{}}}function Lm(e,t){let n=Nm(e,t),r=t.type===`treemap`&&t.border===void 0?ep:t.border,i=typeof t.levels==`number`&&t.levels>0?t.levels:1/0;return n.map((e,n)=>Im(e,t,r,n,0,i))}function Rm(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).find(e=>e.type===`treemap`);return n?{...um(e,`item`,!1),series:[{type:`treemap`,roam:!1,nodeClick:!1,data:Lm(t,n),label:Fm(e,n,`category`)}]}:{series:[]}}function zm(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).find(e=>e.type===`sunburst`);return n?{...um(e,`item`,!1),series:[{type:`sunburst`,radius:[0,`80%`],sort:null,nodeClick:!1,data:Lm(t,n),label:Fm(e,n,`category`)}]}:{series:[]}}function Bm(e,t){let n=[],r=new Set,i=new Map,a=new Map,o=[],s=e=>{r.has(e)||(r.add(e),n.push(e),i.set(e,0),a.set(e,[]))};e.forEach(e=>{let n=e[t.encode.source],r=e[t.encode.target];if(n==null||r==null)return;let c=String(n),l=String(r);!c||!l||(s(c),s(l),a.get(c).push(l),i.set(l,(i.get(l)??0)+1),o.push({source:c,target:l,value:cp(e[t.encode.flow])??0}))});let c=n.filter(e=>(i.get(e)??0)===0),l=[];for(;c.length;){let e=c.shift();l.push(e),a.get(e)?.forEach(e=>{i.set(e,(i.get(e)??0)-1),i.get(e)===0&&c.push(e)})}return{nodeNames:l.length===n.length?l:n,links:o}}function Vm(e,t,n,r){return rp(e)&&e.type!==`solid`&&e.type!==`gradient`?$p(e[t],r):em(e,n,r)}function Hm(e){let t=sp(e.data),n=e.series.map(t=>hp(e,t)).find(e=>e.type===`sankey`);if(!n)return{series:[]};let r=Bm(t,n),i=Fm(e,n,`category`);return{...um(e,`item`,!1),series:[{type:`sankey`,nodeAlign:n.nodeAlign??`justify`,data:r.nodeNames.map((e,t)=>({name:e,itemStyle:{color:Vm(n.fill,e,t,$(void 0,t)),...sm(n.border)}})),links:r.links,label:i}]}}function Um(e){let t=new Set(e.series.map(e=>e.type));return[...t].some(e=>![`bar`,`line`,`area`,`scatter`,`bubble`,`candlestick`,`waterfall`,`heatmap`,`treemap`,`sunburst`,`sankey`,`pie`,`radar`].includes(e))?{title:{text:`Unsupported chart type: ${[...t].join(`, `)}`}}:t.size===1&&t.has(`heatmap`)?jm(e):t.size===1&&t.has(`treemap`)?Rm(e):t.size===1&&t.has(`sunburst`)?zm(e):t.size===1&&t.has(`sankey`)?Hm(e):t.size===1&&t.has(`pie`)?Tm(e):t.size===1&&t.has(`radar`)?Em(e):wm(e)}var Wm={bar:zp,line:Vp,area:Hp,scatter:Jp,pie:Xp,radar:Zp,combo:Qp,bubble:Yp};function Gm(e){if(ip(e))return Um(e);let t=e,n=t.type??``,r=Wm[n];return r?r(t):{title:{text:`Unsupported chart type: ${n}`}}}var Km=null;function qm(){return Km??(Km=ie(async()=>{let{echarts:e}=await import(`./echartsCore-DWDeKkr8.js`);return{echarts:e}},__vite__mapDeps([0,1,2])).then(({echarts:e})=>e)),Km}var Jm=e=>typeof e==`boolean`?{enabled:e,replayKey:0}:e?{enabled:e.enabled,replayKey:e.replayKey??0}:{enabled:!1,replayKey:0},[Ym,Xm]=v(e=>s(()=>e===void 0?{enabled:!0,replayKey:0}:Jm(u(e)))),Zm=N(h({__name:`ChartElement`,props:{element:{}},setup(e){let t=e,{theme:n}=ic(),{useResolvedImageUrl:r}=Fl(),i=Xm(),a=Bu(),u=Hu(),p=d(),m=null,h=!1,g=0,_=s(()=>hs(n.value,t.element)),v=s(()=>_.value.fill),b=s(()=>_.value.border),x=s(()=>_.value.shadow),{src:S}=r(()=>v.value?.type===`image`?v.value.src:void 0),C=(e,t)=>{if(!e)return;if(e.type===`solid`)return{background:e.color};if(e.type===`gradient`){let t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(e.position*100)}%`).join(`, `);return e.gradientType===`radial`?{background:`radial-gradient(${t})`}:{background:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}if(!t)return;let n=e.fit?.mode??`fill`;return{backgroundImage:`url(${JSON.stringify(t)})`,backgroundPosition:`center`,backgroundRepeat:`no-repeat`,backgroundSize:n===`cover`?`cover`:n===`contain`?`contain`:`100% 100%`,opacity:e.opacity??1}},w={solid:`solid`,dash:`dashed`,dot:`dotted`,none:`none`},T=e=>{if(!(!e||e.style===`none`||!e.width))return{border:`${e.width}px ${w[e.style??`solid`]} ${e.color??`#000000`}`}},E=s(()=>C(v.value,S.value)),D=s(()=>T(b.value)),k=s(()=>i?.value.enabled??!1),te=s(()=>i?.value.replayKey??0),ne=s(()=>{if(a!==`screen`)return;let[,,e]=t.element.bounds;if(e<=0)return;let n=e*u.value;return Math.max(n/e,1)*(typeof window<`u`&&window.devicePixelRatio>1?2:1)}),re=s(()=>{let e=x.value;if(!e)return;let[t,n]=e.offset??[0,0];return`${t}px ${n}px ${e.blur}px ${e.color}`}),ie=s(()=>({position:`absolute`,left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${t.element.bounds[2]}px`,height:`${t.element.bounds[3]}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1,boxShadow:re.value}));function j(){return{...Gm(_.value),animation:k.value}}function M(){let e={renderer:`canvas`,width:t.element.bounds[2],height:t.element.bounds[3]},n=ne.value;return n?{...e,devicePixelRatio:n}:e}async function N(){if(!p.value)return;let e=p.value,t=++g,n=await qm();h||p.value!==e||t!==g||(m=n.init(p.value,void 0,M()),await ce(0),!(h||p.value!==e||t!==g)&&m?.setOption(j()))}function ae(){g++,m?.dispose(),m=null}function P(){!p.value||!m||(ae(),N())}function oe(){m?.resize()}function se(){m?.resize({width:t.element.bounds[2],height:t.element.bounds[3]})}function le(){m&&(m.clear(),m.setOption(j(),!0))}let ue=null;return ee(()=>{h=!1,N(),p.value&&(ue=new ResizeObserver(oe),ue.observe(p.value))}),a!==`screen`&&(A(()=>_.value,()=>{m?.setOption(j(),!0)},{deep:!0}),A(()=>te.value,()=>{k.value&&le()}),A(ne,P,{flush:`post`}),A(()=>[t.element.bounds[2],t.element.bounds[3]],se,{flush:`post`})),O(()=>{h=!0,ue?.disconnect(),ae()}),(e,t)=>(y(),c(`div`,{class:`pptd-chart`,style:l(ie.value)},[E.value?(y(),c(`div`,{key:0,class:`pptd-chart__background`,style:l(E.value)},null,4)):o(``,!0),f(`div`,{ref_key:`chartRef`,ref:p,class:`pptd-chart__canvas`},null,512),D.value?(y(),c(`div`,{key:1,class:`pptd-chart__border`,style:l(D.value)},null,4)):o(``,!0)],4))}}),[[`__scopeId`,`data-v-96b529a8`]]),Qm=[`viewBox`],$m=[`filter`],eh=[`innerHTML`],th=[`viewBox`],nh=[`filter`],rh=[`d`,`fill`,`stroke`,`stroke-width`,`stroke-dasharray`],ih=N(h({__name:`IconElement`,props:{element:{}},setup(e){let t=e,{theme:n}=ic(),r=s(()=>({position:`absolute`,left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${t.element.bounds[2]}px`,height:`${t.element.bounds[3]}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),i=d(),a=d([512,512]);A(()=>t.element.iconName,async e=>{if(be(e)){i.value=void 0;return}let n=await tt(e);t.element.iconName===e&&(n?(i.value=n.path,a.value=n.viewBox):i.value=void 0)},{immediate:!0});let u=s(()=>be(t.element.iconName)),p=s(()=>{let e=u.value?.match(/viewBox=["']\s*0\s+0\s+([\d.]+)\s+([\d.]+)\s*["']/i);return e?[Number(e[1]),Number(e[2])]:[24,24]}),m=s(()=>{if(u.value)return u.value.match(/]*>([\s\S]*?)<\/svg>/i)?.[1]??u.value}),h=s(()=>u.value?p.value:a.value),g={type:`solid`,color:`#000000`},_=s(()=>{let e=t.element.fill;return!e||e.type===`solid`&&!e.color?g:e}),{getFillByMode:v}=_d(()=>_.value,()=>n.value,()=>h.value),b=s(()=>v(`norm`)),{strokeColor:x,strokeWidth:S,hasStroke:w,strokeDash:T}=yd(()=>t.element.border,()=>n.value),{filterUrl:E}=vd(()=>t.element.shadow,()=>n.value);return(e,t)=>(y(),c(`div`,{class:`pptd-icon`,style:l(r.value)},[m.value?(y(),c(`svg`,{key:0,viewBox:`0 0 ${p.value[0]} ${p.value[1]}`,preserveAspectRatio:`none`,style:{width:`100%`,height:`100%`,overflow:`visible`}},[f(`g`,{filter:C(E)},[f(`g`,{class:`pptd-icon__local-svg`,style:l({"--icon-fill":b.value}),innerHTML:m.value},null,12,eh)],8,$m)],8,Qm)):i.value?(y(),c(`svg`,{key:1,viewBox:`0 0 ${a.value[0]} ${a.value[1]}`,preserveAspectRatio:`none`,style:{width:`100%`,height:`100%`,overflow:`visible`}},[f(`g`,{filter:C(E)},[f(`path`,{d:i.value,fill:b.value,stroke:C(w)?C(x):`none`,"stroke-width":C(w)?C(S):0,"stroke-dasharray":C(w)?C(T):void 0,"vector-effect":`non-scaling-stroke`},null,8,rh)],8,nh)],8,th)):o(``,!0)],4))}}),[[`__scopeId`,`data-v-0b3c6d6e`]]),ah=new Set([`appear`,`fade-in`,`fly-in`,`zoom-in`,`wipe-in`,`float-in`,`peek-in`,`rise-in`]),oh=new Set([`disappear`,`fade-out`,`fly-out`,`zoom-out`,`wipe-out`,`float-out`]),sh=e=>ah.has(e.effect),ch=e=>oh.has(e.effect),lh={appear:0,disappear:0,"fade-in":500,"fade-out":500,"fly-in":500,"fly-out":500,"zoom-in":500,"zoom-out":500,"wipe-in":500,"wipe-out":500,"float-in":500,"float-out":500,"peek-in":500,"rise-in":1e3,"fill-color":2e3,transparency:2e3,"color-pulse":2e3,pulse:600,"grow-shrink":2e3,spin:2e3,teeter:1e3,"motion-path":2e3},uh=e=>e.durationMs??lh[e.effect],dh=e=>e.delayMs??0,fh=e=>e.repeat??1,ph=e=>e.effect!==`motion-path`&&e.direction||`up`,mh=e=>e.easing??`linear`;function hh(e){let t=[];e.forEach((e,n)=>{let r=e.trigger??`onClick`;(r===`onClick`||t.length===0)&&t.push({midPars:[]});let i=t[t.length-1];(r!==`withPrevious`||i.midPars.length===0)&&i.midPars.push({items:[]}),i.midPars[i.midPars.length-1].items.push({index:n,animation:e})});let n=e[0]?.trigger??`onClick`;return{groups:t,autoPlayOnEntry:t.length>0&&n!==`onClick`}}function gh(e){return{animations:e,plan:hh(e),states:e.map(()=>`pending`),entryAutoPlayed:!1,fastForwardSeq:0}}function _h(e){return e.states.includes(`started`)?(e.fastForwardSeq++,!0):!1}function vh(e){let t=e.plan.groups.find(t=>e.states[t.midPars[0].items[0].index]===`pending`);return t?(yh(e,t.midPars[0]),!0):!1}function yh(e,t){for(let n of t.items)e.states[n.index]=`started`}function bh(e){return e.entryAutoPlayed||!e.plan.autoPlayOnEntry?!1:(e.entryAutoPlayed=!0,vh(e))}function xh(e,t){e.states[t]=`done`;let n=e.plan.groups.find(e=>e.midPars.some(e=>e.items.some(e=>e.index===t)));if(!n)return;let r=n.midPars.findIndex(e=>e.items.some(e=>e.index===t));if(!n.midPars[r].items.every(t=>e.states[t.index]===`done`))return;let i=n.midPars[r+1];i&&yh(e,i)}function Sh(e){return e.states.every(e=>e===`done`)}function Ch(e){let t=new Map,n=new Set;e.plan.groups.forEach(r=>{r.midPars.forEach(r=>{r.items.forEach(r=>{let i=e.states[r.index],{animation:a}=r,o=n.has(a.elementId);i===`pending`?!o&&sh(a)&&t.set(a.elementId,!1):sh(a)?t.set(a.elementId,!0):ch(a)&&i===`done`&&t.set(a.elementId,!1),n.add(a.elementId)})})});let r=new Set;return t.forEach((e,t)=>{e||r.add(t)}),r}var wh=60;function Th(e){let t=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return t.setAttribute(`d`,e),t}function Eh(e){let t=Th(e),n=t.getTotalLength(),r=[];for(let e=0;e<=wh;e++){let i=t.getPointAtLength(n*e/wh);r.push({transform:`translate(${i.x}px, ${i.y}px)`,offset:e/wh})}return r}function Dh(e){let t=Th(e),n=t.getPointAtLength(t.getTotalLength());return`translate(${n.x}px, ${n.y}px)`}function Oh(e,t){return t?e.map(e=>typeof e.transform==`string`?{...e,transform:`${t} ${e.transform}`}:e):e}function kh(e,t,n){let[r,i,a,o]=e.bounds,[s,c]=e.pageSize;switch(t){case`up`:return{x:0,y:n?c-i:-(i+o)};case`down`:return{x:0,y:n?-(i+o):c-i};case`left`:return{x:n?s-r:-(r+a),y:0};case`right`:return{x:n?-(r+a):s-r,y:0};default:return{x:0,y:0}}}function Ah(e,t){let n=`inset(0 0 0 0)`,r=(t?{up:`inset(100% 0 0 0)`,down:`inset(0 0 100% 0)`,left:`inset(0 100% 0 0)`,right:`inset(0 0 0 100%)`}:{up:`inset(0 0 100% 0)`,down:`inset(100% 0 0 0)`,left:`inset(0 0 0 100%)`,right:`inset(0 100% 0 0)`})[e]??`inset(100% 0 0 0)`;return t?[r,n]:[n,r]}function jh(e,t,n){let r=e.pageSize[1]*.1,i=t===`down`?-1:1;return n?i*r:-i*r}function Mh(e,t,n){switch(e){case`down`:return{x:0,y:-n,clip:`inset(100% 0 0 0)`};case`left`:return{x:-t,y:0,clip:`inset(0 0 0 100%)`};case`right`:return{x:t,y:0,clip:`inset(0 100% 0 0)`};default:return{x:0,y:n,clip:`inset(0 0 100% 0)`}}}function Nh(e,t){let n=ph(e),{baseOpacity:r}=t;switch(e.effect){case`appear`:return[{visibility:`hidden`},{visibility:`visible`}];case`disappear`:return[{visibility:`visible`},{visibility:`hidden`}];case`fade-in`:return[{opacity:0},{opacity:r}];case`fade-out`:return[{opacity:r},{opacity:0}];case`fly-in`:{let{x:e,y:r}=kh(t,n,!0);return[{transform:`translate(${e}px, ${r}px)`},{transform:`translate(0px, 0px)`}]}case`fly-out`:{let{x:e,y:r}=kh(t,n,!1);return[{transform:`translate(0px, 0px)`},{transform:`translate(${e}px, ${r}px)`}]}case`zoom-in`:return[{transform:`scale(0)`},{transform:`scale(1)`}];case`zoom-out`:return[{transform:`scale(1)`},{transform:`scale(0)`}];case`wipe-in`:{let[e,t]=Ah(n,!0);return[{clipPath:e},{clipPath:t}]}case`wipe-out`:{let[e,t]=Ah(n,!1);return[{clipPath:e},{clipPath:t}]}case`float-in`:return[{transform:`translate(0px, ${jh(t,n,!0)}px)`,opacity:0},{transform:`translate(0px, 0px)`,opacity:r}];case`float-out`:{let e=jh(t,n,!1);return[{transform:`translate(0px, 0px)`,opacity:r},{transform:`translate(0px, ${e}px)`,opacity:0}]}case`peek-in`:{let[,,e,r]=t.bounds,{x:i,y:a,clip:o}=Mh(n,e,r);return[{transform:`translate(${i}px, ${a}px)`,clipPath:o},{transform:`translate(0px, 0px)`,clipPath:`inset(0 0 0 0)`}]}case`rise-in`:{let[,e]=t.bounds,[,n]=t.pageSize;return[{transform:`translate(0px, ${n-e}px)`},{transform:`translate(0px, 0px)`}]}case`transparency`:{let t=e.amount??r;return[{opacity:r},{opacity:t}]}case`pulse`:return[{transform:`scale(1)`,offset:0},{transform:`scale(1.1)`,offset:.5},{transform:`scale(1)`,offset:1}];case`grow-shrink`:return[{transform:`scale(1)`},{transform:`scale(1.5)`}];case`spin`:return[{transform:`rotate(0deg)`},{transform:`rotate(360deg)`}];case`teeter`:return[{transform:`rotate(0deg)`,offset:0},{transform:`rotate(5deg)`,offset:.33},{transform:`rotate(-5deg)`,offset:.66},{transform:`rotate(0deg)`,offset:1}];case`motion-path`:return Eh(e.path);default:return[]}}function Ph(e){return{duration:uh(e),delay:dh(e),easing:mh(e),iterations:fh(e),fill:`both`}}function Fh(e,t){return{keyframes:Oh(Nh(e,t),t.baseTransform),options:Ph(e)}}function Ih(e){let t=Array.from(e.querySelectorAll(`path[fill]:not([fill="none"])`));return t.length>0?{nodes:t,cssProperty:`fill`}:{nodes:[e.querySelector(`.text-content`)??e],cssProperty:`color`}}function Lh(e){switch(e.effect){case`motion-path`:return Dh(e.path);case`grow-shrink`:return`scale(1.5)`;case`spin`:return`rotate(360deg)`;default:return}}function Rh(e){if(e.effect===`wipe-in`||e.effect===`peek-in`)return`inset(0 0 0 0)`;if(e.effect===`wipe-out`)return Ah(ph(e),!1)[1]}function zh(e){if(e.effect===`fill-color`)return e.color}function Bh(e){if(e.effect===`transparency`)return e.amount}function Vh(e,t,n,i,a=(e,t)=>e.querySelector(`[data-element-id="${CSS.escape(t)}"]`)){let o={executed:new Set,played:[],baseTransforms:new Map,staticRetryFrame:0,scanRetryFrame:0},s=()=>{o.played.forEach(e=>e.cancel()),o.played.length=0,o.baseTransforms.clear(),o.executed.clear(),cancelAnimationFrame(o.staticRetryFrame),o.staticRetryFrame=0,cancelAnimationFrame(o.scanRetryFrame),o.scanRetryFrame=0},c=()=>{let n=t(),r=e.value;if(!n||!r)return 0;let i=new Map,o=new Map,s=new Map,c=new Map;n.animations.forEach((e,t)=>{if(n.states[t]!==`done`)return;let r=Lh(e);if(r){let t=i.get(e.elementId);i.set(e.elementId,t?`${t} ${r}`:r)}let a=Rh(e);a&&o.set(e.elementId,a);let l=zh(e);l&&s.set(e.elementId,l);let u=Bh(e);u!==void 0&&c.set(e.elementId,u)});let l=0;return i.forEach((e,t)=>{let n=a(r,t);n?n.style.transform=e:l++}),o.forEach((e,t)=>{let n=a(r,t);n?n.style.clipPath=e:l++}),s.forEach((e,t)=>{let n=a(r,t);if(!n){l++;return}let{nodes:i,cssProperty:o}=Ih(n);i.forEach(t=>t.style.setProperty(o,e))}),c.forEach((e,t)=>{let n=a(r,t);n?n.style.opacity=String(e):l++}),l},l=()=>{cancelAnimationFrame(o.staticRetryFrame);let e=0,t=()=>{e++,c()>0&&e<60&&(o.staticRetryFrame=requestAnimationFrame(t))};t()},u=(e,t,n)=>{let r=e.animations[t];if(r.effect!==`fill-color`&&r.effect!==`color-pulse`)return;let i=r.color??`#000000`,{nodes:a,cssProperty:s}=Ih(n),c=Ph(r),l=a.map(e=>{let t=getComputedStyle(e).getPropertyValue(s),n=r.effect===`fill-color`?[{[s]:t},{[s]:i}]:[{[s]:t,offset:0},{[s]:i,offset:.5},{[s]:t,offset:1}],a=e.animate(n,c);return o.played.push(a),a});Promise.all(l.map(e=>e.finished)).then(()=>xh(e,t)).catch(()=>{})},d=(e,t,n,r)=>{let a=e.animations[t];if(a.effect===`fill-color`||a.effect===`color-pulse`){u(e,t,r);return}let{keyframes:s,options:c}=Fh(a,{bounds:n.bounds,pageSize:i(),baseOpacity:n.opacity??1,baseTransform:o.baseTransforms.get(a.elementId)}),l=r.animate(s,c);o.played.push(l),l.finished.then(()=>{let n=Lh(a);if(n){let e=o.baseTransforms.get(a.elementId);o.baseTransforms.set(a.elementId,e?`${e} ${n}`:n)}xh(e,t)}).catch(()=>{})},f=()=>{let r=t(),i=e.value;if(!r||!i)return 0;let s=0;return r.states.forEach((e,t)=>{if(e!==`started`||o.executed.has(t))return;let c=r.animations[t],l=n().find(e=>e.elementId===c.elementId);if(!l){o.executed.add(t),xh(r,t);return}let u=a(i,c.elementId);if(!u){s++;return}o.executed.add(t),d(r,t,l,u)}),s},p=()=>{cancelAnimationFrame(o.scanRetryFrame);let e=0,n=()=>{let r=t();if(r&&(e++,f()!==0)){if(e>=120){r.states.forEach((e,t)=>{e!==`started`||o.executed.has(t)||(o.executed.add(t),xh(r,t))});return}o.scanRetryFrame=requestAnimationFrame(n)}};n()};A(t,()=>{s(),p(),l()}),A(()=>t()?.states,p,{deep:!0,flush:`post`});let m=0;A(()=>t()?.fastForwardSeq,e=>{let t=e??0,n=t>m;m=t,n&&o.played.forEach(e=>{e.playState===`running`&&e.finish()})}),ee(()=>{p(),l()}),r(s)}function Hh(e){return s(()=>{let t=e();return t?Ch(t):void 0})}var Uh=[`src`],Wh=800,Gh=N(h({__name:`ThumbnailSlide`,props:{slide:{},pageWidth:{},pageHeight:{},interactive:{type:Boolean},lazy:{type:Boolean},chartAnimation:{},interactiveElementTypes:{},animationSession:{}},setup(e){let i=e,{pageSize:a}=ic(),u=Bu(),h=Xm();F(),Ym(s(()=>i.chartAnimation??h?.value));let g=d(),_=d(),v=d(1),b=d(!1),S=d(!i.lazy);Vu(v,b);let w=Hh(()=>i.animationSession);Vh(_,()=>i.animationSession,()=>i.slide.elements,()=>a.value);function D(){g.value&&(v.value=g.value.clientWidth/a.value[0],b.value=!0)}let{isSupported:O,resume:te}=T(g,([e])=>{e.isIntersecting&&(S.value=!0)},{rootMargin:`${Wh}px 0px`,immediate:!1});A(a,D),A(()=>i.slide,D),A(g,D),ee(()=>{let e=window.setTimeout(()=>{if(!S.value&&g.value){let e=g.value.getBoundingClientRect();S.value=e.bottom>-Wh&&e.topwindow.clearTimeout(e))}),A([()=>i.lazy,O],([e,t])=>{S.value=!e||!t},{immediate:!0}),x(g,D);let{backgroundStyle:ne,backgroundMaskStyle:re,backgroundImage:ie,backgroundImageFit:j,backgroundImageOpacity:M,isBackgroundImageError:N,isBackgroundImageLoading:ae}=Ll(s(()=>i.slide.background)),P={text:Gu,shape:Md,line:Yd,image:of,table:Gf,chart:Zm,icon:ih};function oe(e){return P[e]}function se(e){return i.interactive||i.interactiveElementTypes?.includes(e)}let ce=s(()=>S.value&&(u!==`screen`||b.value)),le=s(()=>a.value[1]*v.value);return(r,i)=>(y(),c(`div`,{ref_key:`$container`,ref:g,class:`thumbnail-slide`,style:l({height:`${le.value}px`})},[f(`div`,{ref_key:`$slideWrapper`,ref:_,class:`slide-wrapper`,style:l({width:`${C(a)[0]}px`,height:`${C(a)[1]}px`,transform:`scale(${v.value})`})},[ce.value?(y(),c(n,{key:0},[f(`div`,{class:t([`background`,{"is-loading":C(ae),"is-error":C(N)}]),style:l(C(ne))},null,6),C(ie)?(y(),c(`img`,{key:0,class:`background-image`,src:C(ie),crossorigin:`anonymous`,style:l({objectFit:C(j),opacity:C(M)})},null,12,Uh)):o(``,!0),C(ie)&&C(re)?(y(),c(`div`,{key:1,class:`background-mask`,style:l(C(re))},null,4)):o(``,!0),m(de),(y(!0),c(n,null,k(e.slide.elements,e=>(y(),p(E(oe(e.elementType)),{key:e.elementId,element:e,class:t([`thumbnail-element`,{interactive:se(e.elementType),"animation-hidden":C(w)?.has(e.elementId)}]),"data-element-id":e.elementId},null,8,[`element`,`class`,`data-element-id`]))),128))],64)):o(``,!0)],4)],4))}}),[[`__scopeId`,`data-v-6a8dfeb3`]]);export{Fc as $,Sd as A,qn as At,pu as B,Wd as C,as as Ct,Md as D,Ki as Dt,Pd as E,Qo as Et,Gu as F,Dt as Ft,Ll as G,du as H,zu as I,Kc as J,Fl as K,Mu as L,rd as M,Un as Mt,ad as N,Wn as Nt,Td as O,qi as Ot,Ju as P,Et as Pt,Rc as Q,fu as R,Yd as S,ns as St,Nd as T,Zo as Tt,zl as U,uu as V,Bl as W,xc as X,zc as Y,Bc as Z,Gf as _,ss as _t,bh as a,cc as at,sf as b,rs as bt,Sh as c,$s as ct,Ym as d,Ns as dt,oc as et,Zf as f,ec as ft,$ as g,Qs as gt,Qf as h,Gs as ht,vh as i,dc as it,bd as j,Kn as jt,xd as k,Hi as kt,ih as l,Es as lt,$f as m,js as mt,Hh as n,sc as nt,gh as o,ic as ot,Xf as p,As as pt,ol as q,Vh as r,lc as rt,_h as s,Us as st,Gh as t,uc as tt,Zm as u,Ss as ut,Df as v,$o as vt,Ld as w,Xo as wt,of as x,X as xt,Pf as y,gs as yt,mu as z}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/ThumbnailSlide-legacy-CSXTq44l.js b/editor/neo-ppt/assets/ThumbnailSlide-legacy-CSXTq44l.js new file mode 100644 index 0000000..be506b4 --- /dev/null +++ b/editor/neo-ppt/assets/ThumbnailSlide-legacy-CSXTq44l.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js","./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./preload-helper-legacy-CKCAnWGV.js","./common-utils-legacy-BUVwbO7W.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./kimi-legacy-KFfRFtSB.js","./index-legacy-Ce-qKpT_.js","./yaml-legacy-soNf5IPv.js","./yaml-legacy-PSsIiII3.js","./dexie-legacy-MWmb6YS4.js","./prosemirror-legacy-CigNWj7m.js","./katex-legacy-COlBCYAe.js","./shapePreset-legacy-acVy7MKY.js","./faIcons-legacy-XZxTRPD2.js"],function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,va,ya,ha,ba,wa,xa,Sa,ka,Ma,Ca,Oa,Ia,La,Ea,za,Ra,Ba,Ha,Fa,Pa,Ua,Ta,ja,Ya,Na,Za,Wa,Ga,Va,Da,Ka,Xa,Ja,qa,Qa,$a,_a,ei,ti,ni,ri,oi,ai,ii,li,si,ci,di,ui,pi,fi,mi,Ai,gi,vi,yi,hi,bi,wi,xi,Si,ki,Mi,Ci,Oi,Ii,Li,Ei,zi,Ri,Bi,Hi,Fi,Pi,Ui,Ti,ji,Yi,Ni,Zi,Wi,Gi,Vi,Di,Ki,Xi,Ji,qi,Qi,$i,_i,el,tl,nl,rl,ol,al,il,ll,sl,cl,dl,ul,pl,fl,ml,Al,gl,vl,yl,hl,bl,wl,xl,Sl,kl,Ml,Cl,Ol,Il,Ll,El,zl,Rl,Bl,Hl,Fl,Pl,Ul,Tl,jl,Yl,Nl,Zl,Wl,Gl,Vl,Dl,Kl,Xl,Jl,ql,Ql,$l,_l,es,ts,ns,rs,os,as,is,ls,ss,cs;function ds(e){return e instanceof ie?String(e.value):void 0}function us(e){return e instanceof ie||e instanceof se||e instanceof le?e.range??null:null}function ps(e){const t=e.split("\n").map(e=>e.match(/^( +)(?=\S)/)?.[1].length??0).filter(e=>e>0);return t.length?Math.min(...t):We}function fs(e,t){if(0===t||""===e.trim())return e;if(t>0)return`${" ".repeat(t)}${e}`;let n=-t,r=0;for(;r0&&" "===e[r];)r++,n--;return e.slice(r)}function ms(e,t,n){let r=e.slice(t[0],t[2]);r.endsWith("\n")&&(r=r.slice(0,-1));const o=r.split("\n");var a,i;const l=n+2-(a=e,(i=t[0])-(a.lastIndexOf("\n",i-1)+1));o[0]=`${" ".repeat(n)}- `+o[0];for(let s=1;s{gs(e,t.items[n])}))}function vs(e,t){if(e instanceof se)for(const n of e.items){const e=n.key instanceof ie&&"string"==typeof n.key.value?n.key.value:void 0;vs(n.value,e)}else if(e instanceof le){t&&Ge.has(t)&&(e.flow=!0);for(const t of e.items)vs(t)}}function ys(e,t=We,n){const r=new ce.Document(e);if(vs(r.contents),n){const e=ce.parseDocument(n);gs(r.contents,e.contents)}return r.toString({indent:t,lineWidth:0,flowCollectionPadding:!1})}function hs(e){if(!e)return{};const t=ae.load(e);return t&&"object"==typeof t&&!Array.isArray(t)?t:{}}function bs(e,t){const n=ys(e,t).trimEnd().split("\n"),r=" ".repeat(t);n[0]=`${r}- `+n[0];for(let o=1;o[e.elementId,e])),i=new Map;for(const s of t.items){if(!(s instanceof se))continue;const t=s.get("elementId");if("string"!=typeof t)continue;const n=us(s);n&&i.set(t,ms(e,n,o))}const l=[];for(const s of n){const e=s.elementId;if("string"!=typeof e){l.push(bs(s,o));continue}const t=a.get(e),n=i.get(e);t&&n&&j(s,t)?l.push(n):l.push(bs(s,o))}return 0===l.length?"elements: []\n":"elements:\n"+l.join("\n")+"\n"}function xs(e,t){const n=ce.parseDocument(e),r=n.toJSON(),o=ps(e);return j(t,r)?e:function(e,t,n,r,o){const a=t.contents,i=[],l=new Set;for(const s of a.items){const t=ds(s.key);if(!t)continue;l.add(t);const a=us(s.key),c=us(s.value);if(!a||!c){const e=ys({[t]:n[t]},o).trimEnd();i.push(e+"\n");continue}if("elements"===t){const t=s.value,a=n.elements??[],l=r.elements??[];i.push(ws(e,t,a,l,o));continue}if(j(n[t],r[t])){i.push(e.slice(a[0],c[2]));continue}const d=ys({[t]:n[t]},o).trimEnd();i.push(d+"\n")}for(const s of Object.keys(n))if(!l.has(s)){const e=ys({[s]:n[s]},o).trimEnd();i.push(e+"\n")}return i.join("")}(e,n,t,r,o)}function Ss(e,t){const{pageId:n,pagePath:r,...o}=e;return t?xs(t,o):ys(o)}function ks(e,t){const n=e,r="v2"===t.version||"v2"===n.version;return o={version:r?"v2":void 0,title:e.title,customFonts:r?n.customFonts??t.customFonts:void 0,theme:e.theme,size:e.size,pages:e.pages.map(e=>e.pagePath??`${e.pageId}.page`)},Object.fromEntries(Object.entries(o).filter(([,e])=>void 0!==e));var o}function Ms(e){const{pageId:t,pagePath:n,...r}=e;return r}function Cs(e,t){return t?j(e,hs(t))?t:ys(e,ps(t),t):ys(e,2)}function Os(e,t,n,r){const o={path:t,message:n,value:r};e.warnings.push(o),$("[PPTD v2 converter]",o)}function Is(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Ls(e){return"string"==typeof e}function Es(e){return"number"==typeof e&&Number.isFinite(e)}function zs(e){return"boolean"==typeof e}function Rs(e){return Ls(e)||Es(e)||zs(e)}function Bs(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))}function Hs(e){return!e||0===Object.keys(e).length}function Fs(e,t){if(!e)return;const n=Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n,e)]).filter(([,e])=>void 0!==e));return Object.keys(n).length?n:void 0}function Ps(e,t,n,r){const o=t[n];if(void 0!==o)return Ls(o)?o:void Os(e,r,"Expected string,已丢弃",o)}function Us(e,t,n,r){const o=t[n];if(void 0!==o)return Es(o)?o:void Os(e,r,"Expected number,已丢弃",o)}function Ts(e,t,n,r){const o=t[n];if(void 0!==o)return zs(o)?o:void Os(e,r,"Expected boolean,已丢弃",o)}function js(e,t,n){if(!Array.isArray(t))return void Os(e,n,"Expected number array,已丢弃",t);const r=t.filter((t,r)=>!!Es(t)||(Os(e,`${n}[${r}]`,"Expected number,已丢弃",t),!1));return r.length?r:void 0}function Ys(e,t,n,r){if(!Array.isArray(t)||t.length!==r)return void Os(e,n,`Expected tuple with ${r} items,已丢弃`,t);const o=[];for(let a=0;aDs(e,t,`${n}[${r}]`,!0)):Ds(e,t,n,!0)}function Xs(e,t,n){return"object"!=typeof e||null===e?e:Bs({style:e.style,color:e.color,width:e.width,arrow:!0===e.arrow?"end":void 0})}function Js(e,t,n){if(!e)return;let r;return r="object"==typeof e.label&&null!==e.label?Bs({...e.label,numberFormat:e.numberFormat}):e.numberFormat&&!1!==e.label?{numberFormat:e.numberFormat}:e.label,Bs({show:e.show,min:e.min,max:e.max,title:e.title,label:r,axisLine:Xs(e.axisLine),gridLine:Xs(e.gridLine)})}function qs(e){if(e)return Bs({show:e.show,content:"name"===e.content?"category":e.content,color:e.color,numberFormat:e.numberFormat,fontSize:e.fontSize})}function Qs(e,t,n){return!1===e||void 0===e?e:Bs({shape:"square"===e.shape?"rect":e.shape,fill:$s(e.fill),border:Ds(e.border,t,`${n}.border`)??void 0,size:e.size})}function $s(e,t,n){if(e)return"solid"===e.type?e.color:{...e}}function _s(e,t,n){if(!e)return;const r=Bs({fontSize:e.fontSize,fontFamily:e.fontFamily,fill:Gs(e.fill,t,`${n}.fill`),border:Ks(e.border,t,`${n}.border`)}),o=Bs({fill:Vs(e.headerFill,t,`${n}.headerFill`),color:e.headerColor,bold:e.headerBold,border:Ks(e.headerBorder,t,`${n}.headerBorder`)}),a=e.bodyFill?.map((r,o)=>Bs({fill:Vs(r,t,`${n}.bodyFill[${o}]`),color:e.bodyColor,border:Ks(e.bodyBorder,t,`${n}.bodyBorder`)})),i=!e.bodyFill&&(e.bodyColor||e.bodyBorder),l=Bs({border:Ks(e.lastRowBorder,t,`${n}.lastRowBorder`)}),s=Bs({fill:Vs(e.firstColumnFill,t,`${n}.firstColumnFill`),color:e.firstColumnColor,bold:e.firstColumnBold});return Bs({cellStyle:Hs(r)?void 0:r,firstRowStyle:Hs(o)?void 0:o,lastRowStyle:Hs(l)?void 0:l,firstColumnStyle:Hs(s)?void 0:s,bodyStyles:a??(i?[Bs({color:e.bodyColor,border:Ks(e.bodyBorder,t,`${n}.bodyBorder`)})]:void 0)})}function ec(e,t,n){if(e)return Bs({colors:e.colors??{},textStyles:Fs(e.textStyles,(e,r)=>Ns(e,t,`${n}.textStyles.${r}`))??{},tableStyles:Fs(e.tableStyles,(e,r)=>_s(e,t,`${n}.tableStyles.${r}`))})}function tc(e,t,n){return e&&"none"!==e?"triangle"===e?(Os(t,n,"v2 Line 不支持 triangle arrow,已降级为 arrow",e),"arrow"):e:null}function nc(e){return"image"===e?.type?e.mask:void 0}function rc(e,t,n,r){if(t)return Os(n,`${r}.mask`,"v2 ImageFill.mask 已转换为同尺寸覆盖 Shape",t),Bs({elementId:e.overlayElementId??`${e.elementId}-image-mask`,elementType:"shape",bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,shapeName:e.shapeName??(e.path?"custom":"rect"),adjustments:e.adjustments,viewBox:e.viewBox,path:e.path,fill:Gs(t,n,`${r}.mask`)})}function oc(e,t,n){if("straightConnector1"===e.shapeName)return function(e,t,n){const[,,r,o]=e.bounds,a=[Math.max(Math.abs(r),1),Math.max(Math.abs(o),1)],i=`0,0 ${Math.max(r,0)},${Math.max(o,0)}`;return Bs({elementId:e.elementId,elementType:"line",bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,viewBox:a,points:i,arrow:e.arrow?[tc(e.arrow[0],t,`${n}.arrow[0]`),tc(e.arrow[1],t,`${n}.arrow[1]`)]:void 0,border:Ds(e.border,t,`${n}.border`)??void 0,shadow:e.shadow})}(e,t,n);e.arrow&&Os(t,`${n}.arrow`,"v2 Shape 不支持 arrow,非 straightConnector1 连接器已保留为 Shape 并丢弃 arrow",e.arrow),e.shapeName?.includes("Connector")&&Os(t,`${n}.shapeName`,"v2 Line 无法精确表达 bent/curved connector,已保留为 Shape",e.shapeName),e.path&&!e.viewBox&&Os(t,`${n}.path`,"自定义 path 缺少 viewBox,v2 渲染可能不一致",e.path);const r=e.shapeName??(e.path?"custom":"rect");return e.shapeName||Os(t,`${n}.shapeName`,"v1 Shape 缺少 shapeName,已按 v2 必填字段补默认值",r),Bs({elementId:e.elementId,elementType:"shape",bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,shapeName:r,adjustments:e.adjustments,viewBox:e.viewBox,path:e.path,fill:Gs(e.fill,t,`${n}.fill`,{ignoreImageMask:!0}),border:Ds(e.border,t,`${n}.border`)??void 0,shadow:e.shadow})}function ac(e,t,n){if("straightConnector1"!==e.shapeName)return rc({elementId:e.elementId,bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,shapeName:e.shapeName,adjustments:e.adjustments,viewBox:e.viewBox,path:e.path},nc(e.fill),t,`${n}.fill`)}function ic(e,t,n){const r=e;return Bs({elementId:e.elementId,elementType:"image",bounds:e.bounds,rotation:e.rotation,opacity:e.opacity,flip:e.flip,src:e.src,cropShape:e.shapeName?Bs({shapeName:e.shapeName,adjustments:e.adjustments,viewBox:r.viewBox,path:r.path}):void 0,fit:e.fit,crop:e.crop,border:Ds(e.border,t,`${n}.border`)??void 0,shadow:e.shadow})}function lc(e,t,n){const r=Array.isArray(e.rows)?e.rows:Array.isArray(e.data)?e.data:[],o=Array.isArray(e.rows)?`${n}.rows`:`${n}.data`;return Array.isArray(e.rows)||Os(t,`${n}.rows`,Array.isArray(e.data)?"Table data converted to rows":"Table rows fallback to []",e),r.map((e,n)=>{if(Array.isArray(e))return e.map((e,r)=>function(e,t,n){return Rs(e)?(Os(t,n,"Cell scalar converted to text content",e),{text:String(e)}):Is(e)?Bs({...e.content?Ws(e.content,t,`${n}.content`):void 0,fill:Gs(e.fill,t,`${n}.fill`),border:Ks(e.border,t,`${n}.border`),rowSpan:Us(t,e,"rowSpan",`${n}.rowSpan`),colSpan:Us(t,e,"colSpan",`${n}.colSpan`)}):void Os(t,n,"Expected cell object,已丢弃",e)}(e,t,`${o}[${n}][${r}]`)).filter(e=>!!e);Os(t,`${o}[${n}]`,"Expected cell row array,已丢弃",e)}).filter(e=>!!e)}function sc(e,t,n){let r="string"==typeof e.style?e.style:_s(e.style,t,`${n}.style`);const o=Ks(e.border,t,`${n}.border`);return o&&("string"==typeof r?Os(t,`${n}.border`,"v2 Table 没有表格级 border,且无法合并到 theme style 引用,已丢弃",e.border):r=function(e,t){return t?{...e,cellStyle:Bs({...e?.cellStyle,border:t})}:e}(r,o)),Bs({elementId:e.elementId,elementType:"table",bounds:e.bounds,columnWidths:js(t,e.columnWidths,`${n}.columnWidths`)??[],rowHeights:js(t,e.rowHeights,`${n}.rowHeights`)??[],rows:lc(e,t,n),style:r,shadow:e.shadow})}function cc(e,t,n){const r=[],o=new Set;for(const a of e)for(const e of Object.keys(a))o.has(e)||(o.add(e),r.push(e));return{cols:r,rows:e.map((e,o)=>r.map(r=>function(e,t,n){return null==e?null:"number"==typeof e||"string"==typeof e||"boolean"==typeof e?e:(Os(t,n,"v2 ChartData 只支持 number/string/boolean/null,已转为 null",e),null)}(e[r],t,`${n}.data[${o}].${r}`)))}}function dc(e,t){return{...e.seriesStyle?.["*"],...e.seriesStyle?.[t]}}function uc(e,t,n){if(void 0!==e){if(Ls(e))return e;if(Is(e)){const r=Object.entries(e);if(1===r.length){const[o,a]=r[0];if(Rs(a))return Os(t,n,"Chart name restored from YAML object",e),`${o}: ${a}`}}Os(t,n,"Expected chart name string,已丢弃",e)}}function pc(e,t,n,r,o){return uc(t?.name,r,`${o}.seriesStyle.name`)??uc(e.names?.[n],r,o)}function fc(e,t,n,r,o){return $s(t?.fill)??e.colors?.[n]}function mc(e){return!0===e?.stacked?"value":"100%"===e?.stacked?"percent":void 0}function Ac(e,t,n,r,o,a){e.smooth=t?.smooth,e.lineStyle=t?.line,e.width=t?.width,e.marker=Qs(t?.marker,o,`${a}.marker`),e.nullHandling=r?.nullHandling,e.lineColor=n}function gc(e,t,n,r){const o=dc(e,t),a=e.colors?.length?e.colors:$s(o?.fill);return Bs({type:"pie",encode:{category:e.x,value:t},innerRadius:e.options?.innerRadius,startAngle:e.options?.startAngle,fill:a,border:Ds(o?.border,n,`${r}.border`)??void 0,dataLabels:qs(o?.dataLabels)})}function vc(e,t,n){const r=function(e,t,n){return Ls(e.y)?[e.y]:Array.isArray(e.y)?e.y.filter((e,r)=>!!Ls(e)||(Os(t,`${n}[${r}]`,"Expected chart y field string,已丢弃",e),!1)):(Os(t,n,"Chart y requires string or string array,已丢弃",e.y),[])}(e,t,`${n}.y`);return 0===r.length?[]:("horizontal"===e.options?.direction&&"bar"!==e.type&&Os(t,`${n}.options.direction`,"v2 仅对 bar 做 horizontal encode 转换,其他图表方向可能不一致",e.type),"pie"===e.type?(r.length>1&&Os(t,`${n}.y`,"v2 pie 单个 series 只使用第一个 y 字段",r),[gc(e,r[0],t,`${n}.series[0]`)]):r.map((r,o)=>{const a=dc(e,r),i="combo"===e.type?a?.type??"bar":e.type,l=`${n}.series[${o}]`;return"bubble"===i?function(e,t,n,r,o){const a=dc(e,t),i=fc(e,a,n),l=e.size??t;return e.size||Os(r,`${o}.size`,"v1 bubble 未配置 size 字段,已临时使用 y 字段作为 size",t),Bs({type:"bubble",encode:{x:e.x,y:t,size:l},name:pc(e,a,n,r,`${o}.name`),yAxisIndex:"secondary"===a?.axis?1:void 0,fill:i,border:Ds(a?.border,r,`${o}.border`)??void 0,dataLabels:qs(a?.dataLabels)})}(e,r,o,t,l):"radar"===i?function(e,t,n,r,o){const a=dc(e,t),i=fc(e,a,n),l=Bs({type:"radar",encode:{category:e.x,y:t},name:pc(e,a,n,r,`${o}.name`),areaColor:i,dataLabels:qs(a?.dataLabels)});return Ac(l,a,i,e.options,r,o),Bs(l)}(e,r,o,t,l):"pie"===i?gc(e,r,t,l):function(e,t,n,r,o,a){const i=dc(e,t),l=fc(e,i,n),s=Bs({type:r,encode:"horizontal"===e.options?.direction&&"bar"===r?{x:t,y:e.x}:{x:e.x,y:t},name:pc(e,i,n,o,`${a}.name`),yAxisIndex:"secondary"===i?.axis?1:void 0,border:Ds(i?.border,o,`${a}.border`)??void 0,dataLabels:qs(i?.dataLabels)});return"bar"===r?(s.fill=l,s.stack=mc(e.options)):"area"===r?(Ac(s,i,l,e.options,o,a),s.areaColor=l,s.stack=mc(e.options)):"line"===r?Ac(s,i,l,e.options,o,a):(s.fill=l,s.marker=Qs(i?.marker,o,`${a}.marker`)),Bs(s)}(e,r,o,i,t,l)}))}function yc(e,t,n){return Array.isArray(e.data)?e.data.filter((e,r)=>!!Is(e)||(Os(t,`${n}.data[${r}]`,"Expected chart data row object,已丢弃",e),!1)):(Os(t,`${n}.data`,"Chart data fallback to []",e.data),[])}function hc(e,t,n){const r=Js(e.xAxis),o=Js(e.yAxis),a=Js(e.secondaryAxis),i="horizontal"===e.options?.direction;return a&&Os(t,`${n}.secondaryAxis`,"secondaryAxis 已转换为 yAxis[1],渲染一致性需要后续接入 v2 chart 后验收",e.secondaryAxis),Bs({elementId:e.elementId,elementType:"chart",bounds:e.bounds,data:cc(yc(e,t,n),t,`${n}.data`),series:vc(e,t,n),xAxis:i?{...r,type:"value"}:r,yAxis:a?[{...o,type:i?"category":void 0},a]:i?{...o,type:"category"}:o,barWidth:e.options?.barWidth,title:e.title,legend:e.legend,dataLabels:qs(e.dataLabels),fontFamily:e.options?.fontFamily,fill:Gs(e.fill,t,`${n}.fill`),border:Ds(e.border,t,`${n}.border`)??void 0})}function bc(e,t,n){const r=`elements[${n}](${Is(e)&&Ls(e.elementId)?e.elementId:n})`,o=function(e,t,n){if(!Is(e))return void Os(t,n,"Expected element object,已丢弃",e);if(!Ls(e.elementId))return void Os(t,`${n}.elementId`,"Element requires elementId,已丢弃",e.elementId);const r=Ys(t,e.bounds,`${n}.bounds`,4);return r?{...e,elementId:e.elementId,bounds:r}:void 0}(e,t,r);if(!o)return[];if("text"===o.elementType){const e=Zs(o.content,t,`${r}.content`);return e?[Bs({elementId:o.elementId,elementType:"text",bounds:o.bounds,rotation:Us(t,o,"rotation",`${r}.rotation`),opacity:Us(t,o,"opacity",`${r}.opacity`),flip:o.flip,content:e})]:[]}return"shape"===o.elementType?[oc(o,t,r),ac(o,t,r)].filter(Boolean):"image"===o.elementType?[ic(o,t,r)]:"icon"===o.elementType?Ls(o.iconName)?[Bs({elementId:o.elementId,elementType:"icon",bounds:o.bounds,rotation:Us(t,o,"rotation",`${r}.rotation`),opacity:Us(t,o,"opacity",`${r}.opacity`),flip:o.flip,iconName:o.iconName,fill:Gs(o.fill,t,`${r}.fill`),border:Ds(o.border,t,`${r}.border`)??void 0,shadow:o.shadow})]:(Os(t,`${r}.iconName`,"Icon element requires iconName,已丢弃",o.iconName),[]):"table"===o.elementType?[sc(o,t,r)]:"chart"===o.elementType?[hc(o,t,r)]:(Os(t,`${r}.elementType`,"Expected element object with valid elementType,已丢弃",o.elementType),[])}function wc(e,t,n="presentation"){return Is(e)?Bs({version:"v2",title:Ps(t,e,"title",`${n}.title`),size:Ys(t,e.size,`${n}.size`,2)??Ve,theme:ec(e.theme,t,`${n}.theme`),pages:Array.isArray(e.pages)?e.pages.filter((e,r)=>!!Ls(e)||(Os(t,`${n}.pages[${r}]`,"Expected page path string,已丢弃",e),!1)):[]}):(Os(t,n,"Expected PPTD meta object,已使用默认 v2 meta",e),{version:"v2",size:Ve,pages:[]})}function xc(e,t,n="page",r={}){if(!Is(e))return Os(t,n,"Expected page object,已使用空页面",e),{elements:[]};const o=r.pageSize??Ve,a=e.background,i=function(e,t,n,r){return rc({elementId:"background",overlayElementId:"background-image-mask",bounds:[0,0,t[0],t[1]],shapeName:"rect"},nc(e),n,r)}(a,o,t,`${n}.background`);i&&!r.pageSize&&Os(t,`${n}.background.mask`,"单页转换缺少 presentation.size,已使用默认 960x540 生成背景 mask 覆盖 Shape",a);const l=Array.isArray(e.elements)?e.elements:[];return Array.isArray(e.elements)||Os(t,`${n}.elements`,"Expected elements array,已使用空数组",e.elements),Bs({pageType:(s=e.pageType,"contents"===s?"table_of_contents":"end"===s?"final":s),background:Gs(a,t,`${n}.background`,{ignoreImageMask:!0}),notes:Ps(t,e,"notes",`${n}.notes`),elements:[...i?[i]:[],...l.flatMap((e,n)=>bc(e,t,n))]});var s}function Sc(e){return ae.dump(e,De)}function kc(e){return ae.load(e)}function Mc(e){const t=e.find(e=>e.path.endsWith(".pptd"));if(!t)return;const n=kc(t.content);return Is(n)?function(e){if(!Array.isArray(e)||e.length<2)return;const[t,n]=e;return"number"==typeof t&&"number"==typeof n?[t,n]:void 0}(n.size):void 0}function Cc(e){return Is(e)?"v2"===e.version?"v2":function(e){return Array.isArray(e.pages)&&Array.isArray(e.size)}(e)?"v1":Array.isArray(e.elements)?function(e){const t=Array.isArray(e.elements)?e.elements:[];let n=0,r=0;for(const o of t)if(Is(o)){if("line"===o.elementType&&r++,"chart"===o.elementType){const e=o.data;Array.isArray(o.series)&&Is(e)&&Array.isArray(e.cols)&&Array.isArray(e.rows)&&r++,o.type&&o.x&&o.y&&n++}if("text"===o.elementType&&Is(o.content)&&(o.content.fontStyle&&n++,(void 0!==o.content.bold||void 0!==o.content.italic||o.content.backgroundColor)&&r++),"image"===o.elementType&&o.cropShape&&r++,"shape"===o.elementType&&o.arrow&&n++,"table"===o.elementType&&Array.isArray(o.rows))for(const e of o.rows)if(Array.isArray(e))for(const t of e)Is(t)&&(t.content&&n++,void 0===t.text&&void 0===t.textStyle||r++)}return n>r?"v1":r>n?"v2":"unknown"}(e):"unknown":"unknown"}function Oc(e){try{return Cc(kc(e))}catch{return"unknown"}}function Ic(e){const t=Oc(e.content);return"unknown"!==t?t:e.path.endsWith(".pptd")?"v1":"unknown"}function Lc(e,t,n,r={}){if("v2"===Oc(t))return t;const o=kc(t);return e.endsWith(".pptd")?Sc(wc(o,n,e)):e.endsWith(".page")?Sc(xc(o,n,e,r)):t}function Ec(e){return ae.load(e)}function zc(e,t){if(e instanceof se)for(const n of e.items){const e=n.key instanceof ie&&"string"==typeof n.key.value?n.key.value:void 0;zc(n.value,e)}else if(e instanceof le){t&&Fn.has(t)&&(e.flow=!0);for(const t of e.items)zc(t)}}function Rc(e){const t=new ce.Document(e);return zc(t.contents),t.toString({indent:Hn.indent,lineWidth:0,flowCollectionPadding:!1})}function Bc(e){return Bn({enabled:e.checkerEnabled,onIssue:e.onIssue})}function Hc(e,t){if(!function(e,t){return!!function(e){return e.endsWith(".pptd")||e.endsWith(".page")}(e)&&"v2"!==t&&("v1"===t||e.endsWith(".pptd"))}(e.path,t))return{content:e.content,converted:!1,warnings:[]};const n=function(e,t){const n={warnings:[]};return{data:Lc(e,t,n),warnings:n.warnings}}(e.path,e.content);return{content:n.data,converted:!0,warnings:n.warnings}}function Fc(e,t,n){if(e.endsWith(".pptd")){const e=Ec(t),r=n.meta(e);return j(r,e)?t:Rc(r)}if(e.endsWith(".page")){const r=Ec(t),o=n.page(r,e);if(!o)throw new Error(`Invalid PPTD page: ${e}`);return j(o,r)?t:Rc(o)}return t}function Pc(e,t,n){const r=n??Ic(e),o=Hc(e,r);return{data:Fc(e.path,o.content,t),sourceVersion:r,converted:o.converted,warnings:o.warnings}}function Uc(e,t,n={}){const r=Bc(n);return{...Pc({path:e,content:t},r),issues:r.flush()}}function Tc(e,t={}){const n=Bc(t),r=e.find(e=>e.path.endsWith(".pptd"))??e[0],o=r?Ic(r):"unknown",a="v1"===o?function(e){const t={warnings:[]},n=Mc(e);return{data:e.map(e=>({...e,content:Lc(e.path,e.content,t,{pageSize:n})})),warnings:t.warnings}}(e):void 0,i=a?.data??e,l=[...a?.warnings??[]];let s=!!a;const c=i.map(e=>{const t=Pc(e,n,a?"v2":void 0);return l.push(...t.warnings),s||(s=t.converted),{...e,content:t.data}}),d=n.flush();return{data:c,sourceVersion:o,converted:s,warnings:l,issues:d}}function jc(e){return Object.is(e,-0)?0:e}function Yc(e){return jc(Number(e.toFixed(Yn)))}function Nc(e){return e.map(Yc)}function Zc(e){return e.map(e=>jc(Math.round(e)))}function Wc(e){return!!e&&e.startsWith("$")}function Gc(e,t){if(!t||!t.startsWith("$"))return t;const n=t.slice(1);return e?.colors[n]??t}function Vc(e,t){if(!t||!t.startsWith("$"))return;const n=t.slice(1);return e?.textStyles[n]}function Dc(e,t){if(!t||!t.startsWith("$"))return;const n=t.slice(1);return e?.tableStyles?.[n]}function Kc(e,t){if(t)return"solid"===t.type?{...t,color:Gc(e,t.color)??t.color}:"gradient"===t.type?{...t,stops:t.stops.map(t=>({...t,color:Gc(e,t.color)??t.color}))}:"image"===t.type&&t.mask?{...t,mask:Kc(e,t.mask)}:t}function Xc(e,t){if(t)return{...t,color:Gc(e,t.color)??t.color}}function Jc(e,t){if(t)return Array.isArray(t)?t.map(t=>t?Xc(e,t):t):Xc(e,t)}function qc(e,t){const n=t,r=Vc(e,t.style),o=r;return{...r,...t,text:Qc(e,t.text),color:Gc(e,t.color??r?.color),fontSize:t.fontSize??r?.fontSize,fontFamily:t.fontFamily??r?.fontFamily,fontStyle:t.fontStyle??r?.fontStyle,bold:t.bold??r?.bold,italic:t.italic??r?.italic,lineHeight:t.lineHeight??r?.lineHeight,lineHeightPx:t.lineHeightPx??r?.lineHeightPx,letterSpacing:t.letterSpacing??r?.letterSpacing,marginTop:t.marginTop??r?.marginTop,backgroundColor:Gc(e,n.backgroundColor??o?.backgroundColor),gradient:t.gradient?Kc(e,t.gradient):void 0,shadow:t.shadow?{...t.shadow,color:Gc(e,t.shadow.color)??t.shadow.color}:void 0}}function Qc(e,t){const n="string"==typeof t?t:String(t??"");if(!e||!n||!n.includes("$"))return n;const r=(new DOMParser).parseFromString(n,"text/html");let o=!1;const a=r.createTreeWalker(r.body,NodeFilter.SHOW_ELEMENT);for(;a.nextNode();){const t=a.currentNode,n=t.getAttribute("style");if(!n)continue;const r=n.replace(/([-\w]+):\s*([^;]+)/g,(t,n,r)=>{const o=r.trim();if(!o.startsWith("$"))return t;const a=Gc(e,o);return a&&a!==o?`${n}: ${a}`:t});r!==n&&(t.setAttribute("style",r),o=!0)}return o?r.body.innerHTML:n}function $c(e,t){return t?{...t,label:t.label&&"object"==typeof t.label?{...t.label,color:Gc(e,t.label.color)}:t.label,axisLine:t.axisLine&&"object"==typeof t.axisLine?{...t.axisLine,color:Gc(e,t.axisLine.color)}:t.axisLine,gridLine:t.gridLine&&"object"==typeof t.gridLine?{...t.gridLine,color:Gc(e,t.gridLine.color)}:t.gridLine,title:"object"==typeof t.title&&t.title?{...t.title,color:Gc(e,t.title.color)}:t.title}:t}function _c(e,t){return Array.isArray(t)?t.map(t=>$c(e,t)):$c(e,t)}function ed(e,t){if("string"==typeof t)return Gc(e,t)??t;if(Array.isArray(t))return t.map(t=>ed(e,t));if(!t||"object"!=typeof t)return t;const n=t;return"solid"===n.type||"gradient"===n.type||"image"===n.type?Kc(e,t):Object.fromEntries(Object.entries(n).map(([t,n])=>[t,ed(e,n)]))}function td(e,t){return t&&"object"==typeof t?{...t,color:Gc(e,t.color)??t.color}:t}function nd(e,t){if(!t||"object"!=typeof t||Array.isArray(t))return t;const n={...t};for(const r of["fill","lineColor","areaColor","colorScheme"])r in n&&(n[r]=ed(e,n[r]));for(const r of["border","wickStyle"])r in n&&(n[r]=Xc(e,n[r]));for(const r of["dataLabels","colorbar"])r in n&&(n[r]=td(e,n[r]));for(const r of["marker","upBars","downBars","totalBars","increaseBars","decreaseBars"]){const t=n[r];if(!t||"object"!=typeof t||Array.isArray(t))continue;const o=t,a={...o};"fill"in o&&(a.fill=ed(e,o.fill)),"border"in o&&(a.border=Xc(e,o.border)),n[r]=a}return n}function rd(e,t){return!t||"object"!=typeof t||Array.isArray(t)?t:Object.fromEntries(Object.entries(t).map(([t,n])=>[t,nd(e,n)]))}function od(e,t){return{...t,fill:t.fill?Kc(e,t.fill):void 0,border:t.border?Xc(e,t.border):void 0,shadow:t.shadow?{...t.shadow,color:Gc(e,t.shadow.color)??t.shadow.color}:void 0}}function ad(e){return e?Array.isArray(e)?2===e.length?[e[0],e[1],e[0],e[1]]:[e[0]??null,e[1]??null,e[2]??null,e[3]??null]:[e,e,e,e]:[null,null,null,null]}function id(e,t){if(t)return ad(t).map(t=>t?Xc(e,t):null)}function ld(e,t){if(!t||"object"!=typeof t||Array.isArray(t))return;const n=t,r=Vc(e,n.style),o=r,a={...r,...n,color:Gc(e,n.color??o?.color),backgroundColor:Gc(e,n.backgroundColor??o?.backgroundColor),bold:n.bold??o?.bold,italic:n.italic??o?.italic,fill:n.fill?Kc(e,n.fill):void 0,border:n.border?id(e,n.border):void 0};return Object.fromEntries(Object.entries(a).filter(([,e])=>void 0!==e))}function sd(e){if(!e)return;if("string"==typeof e)return e;if("object"!=typeof e)return;const t=e;return[t.latin,t.ea].filter(Boolean).join(", ")}function cd(e){return Vo.test(e)}function dd(e){return(e??"").trim().replace(/^['"]|['"]$/g,"")}async function ud(e,t=!1,n){if("string"==typeof e&&(e=jo.find(t=>t.value===e)),!e)return;const r=e.fntdataUrl,o=e.fntdataUrl;if(!r||!o)return Promise.reject(new Error("invalid font"));if(Wo.has(r)){const e=Wo.get(r);if(!t)return e.loader;if("fulfilled"===e.status||"pending"===e.status)return e.loader;Wo.delete(r)}const a=(i=fetch(o).then(async e=>{if(!n)return e.blob();const t=Number(e.headers?.get?.("content-length")??0)||0;if(!e.body)return n(0),e.blob();const r=e.body.getReader(),o=[];let a=0;for(;;){const{done:e,value:i}=await r.read();if(e)break;o.push(i),a+=i.length,t>0&&n(Math.min(a/t,1))}return new Blob(o)}),l=Go,Promise.race([i,new Promise((e,t)=>setTimeout(()=>t(new Error("timeout")),l))]));var i,l;const s={loader:a,status:"pending"};return Wo.set(r,s),a.then(()=>{s.status="fulfilled"},()=>{s.status="rejected"}),a}function pd(e){return jo.find(t=>t.value===e||t.embedLabel===e||t.aliasList.includes(e))}function fd(e,t){const n=sd(e);if(n)for(const r of n.split(",")){const e=pd(r.trim().replace(/^['"]|['"]$/g,""));e&&t.add(e)}}function md(e,t,n){if(e){if(e.style){const r=Vc(n,e.style);r?.fontFamily&&fd(r.fontFamily,t)}if(e.fontFamily&&fd(e.fontFamily,t),e.text)for(const n of function(e){const t=[],n=/font-family:\s*['"]?([^'";]+)['"]?/gi;let r;for(;null!==(r=n.exec(e));)t.push(r[1].trim());return t}(e.text)){const e=pd(n);e&&t.add(e)}}}function Ad(e){const t=e.trim().replace(/^['"]|['"]$/g,""),n=pd(t);return n?n.embedLabel??n.label:t}function gd(e){return e?"string"==typeof e?e.split(",").map(e=>Ad(e)).join(", "):"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,"string"==typeof t?Ad(t):t])):e:e}function vd(e,t){if(!e)return e;const n=Vc(t,e.style)?.fontFamily,r=e.fontFamily||n?gd(e.fontFamily):Do;return{...e,fontFamily:r,text:e.text?(o=e.text,o.replace(/font-family:\s*['"]?([^'";]+)['"]?/gi,(e,t)=>{const n=t.split(",").map(e=>Ad(e)).join(",");return e.replace(t,n)})):e.text};var o}function yd(e,t,n){switch(e.elementType){case"text":md(e.content,t,n);break;case"table":for(const r of e.rows)for(const e of r)md(e.content,t,n);break;case"chart":{const n=e.options,r="string"==typeof e.fontFamily?e.fontFamily:n?.fontFamily,o=r?pd(r):void 0;o&&t.add(o)}}}function hd(e){try{const t=new URL(e);return"fonts.googleapis.com"===t.host&&t.searchParams.has("family")}catch{return!1}}function bd(e){if(!e?.length)return Promise.resolve();const t=e.map(async({family:e,src:t})=>{if(e&&t&&!Ko.has(t))try{hd(t)&&await async function(e,t){const n=document.createElement("link");n.rel="stylesheet",n.href=function(e){return/[?&]display=/.test(e)?e:`${e}${e.includes("?")?"&":"?"}display=swap`}(t),document.head.appendChild(n),await new Promise((t,r)=>{n.addEventListener("load",()=>t()),n.addEventListener("error",()=>r(new Error(`Failed to load custom font: ${e}`)))}),await(document.fonts?.load(`16px "${e}"`)),Ko.add(t),Zo.add(e)}(e,t)}catch(n){console.warn(`[font] load custom font failed: ${e}`,n)}}),n=Promise.all(t).then(()=>{});return Xo=Xo?Promise.all([Xo,n]).then(()=>{}):n,n}function wd(e){const t={...e};return t.bounds&&(t.bounds=Nc(t.bounds)),t.adjustments&&(t.adjustments=Zc(t.adjustments)),t.cropShape?.adjustments&&(t.cropShape={...t.cropShape,adjustments:Zc(t.cropShape.adjustments)}),t}function xd(e){const t="v2"!==e.version;return e.pages.map(e=>({...e,elements:e.elements.map(e=>t&&"line"===e.elementType?function(e){const t=("string"==typeof e.points?e.points.trim().split(/\s+/).filter(Boolean):[]).map((e,t)=>{const[n="0",r="0"]=e.split(",");return`${0===t?"M":"L"}${n},${r}`}).join(" "),n=Array.isArray(e.viewBox)?e.viewBox:[e.bounds?.[2]??0,e.bounds?.[3]??0];return{...e,elementType:"shape",shapeName:"custom",path:t?`${n[0]},${n[1]};${t}`:void 0,viewBox:n}}(e):e)}))}function Sd(){const e=ee(Z),{meta:t}=qo(),n=c(()=>`${t.value.slideId??""}:${t.value.chatId??""}:${za.value}:${Ra.value}`),r=e=>!!e&&!Na(e)&&!Za(e),o=n=>{if(!n)return Promise.resolve(void 0);if(!r(n))return Promise.resolve(n);const o=Ba.imageReplacerMap?.[n];if(o)return Promise.resolve(o);const a=t.value.chatId,i=t.value.slideId,l=Wa(n,Ba.basePath),s=Ga(i,a,l),c=Ha.get(s);if(c)return Promise.resolve(c);const d=Fa.get(s);if(d)return d;const u=Pa,p=(async()=>{if(i){const e=await ba(i,l).catch(()=>{});if(e)return Ha.set(s,e),e}return new Promise((t,n)=>{_a({cacheKey:s,cacheVersion:u,chatId:a,filePath:l,okcService:e,slideId:i,resolve:t,reject:n})})})().finally(()=>{Fa.get(s)===p&&Fa.delete(s)});return Fa.set(s,p),p},a=e=>o(e).catch(()=>{}),i=async e=>{const t=await a(e);if(t)return await _(t)?t:void 0},l=(e,t)=>{"image"===e?.type&&t.push(i(e.src).then(t=>{"image"===e.type&&t&&(e.src=t)}))},s=(e,n)=>{"image"!==e.elementType?("fill"in e&&l(e.fill,n),"table"===e.elementType&&(((e,n)=>{if(!e.style)return;let r;if("string"==typeof e.style){const n=Dc(t.value.theme,e.style);if(!n)return;r=Da(n),e.style=r}else r=e.style;l(r.fill,n)})(e,n),e.rows.forEach(e=>{e.forEach(e=>{l(e?.fill,n)})}))):n.push(i(e.src).then(t=>{t&&(e.src=t)}))};return{clearImageCache:e=>{Pa++,Ra.value++;const n=t.value.slideId;if(!e)return Ha.clear(),Fa.clear(),void Sa().catch(()=>{});const r=Wa(e,Ba.basePath),o=`${Ea}${r}`;n&&xa(n,r).catch(()=>{});for(const t of Ha.keys())t.endsWith(o)&&Ha.delete(t);for(const t of Fa.keys())t.endsWith(o)&&Fa.delete(t)},collectSlideImageUrls:e=>qa(e,t.value.theme),getImageUrl:o,imageVersion:n,isImageNeedResolve:r,preloadImageUrls:Qa,resolveImageUrl:a,resolveSlideImageUrls:async e=>{const t=Va(e),n=[];for(const r of t.elements)s(r,n);return"image"===t.background?.type&&n.push(i(t.background.src).then(e=>{"image"===t.background?.type&&e&&(t.background.src=e)})),await Promise.all(n),t},resolveValidImageUrl:i,setBatchGetImages:ni,setImageConfig:ti,useResolvedImageUrl:(e,t={})=>{const r=f(),o=f("idle"),l=c(()=>"loading"===o.value),s=c(()=>"error"===o.value);return B(()=>[e(),n.value],async([e],n,l)=>{let s=!1;if(l(()=>{s=!0}),r.value=void 0,!e)return void(o.value=ei(t.emptyStatus));o.value="loading";const c=t.validate?await i(e):await a(e);s||(c?(r.value=c,o.value="loaded"):o.value="error")},{immediate:!0}),{src:r,status:o,isLoading:l,isError:s}}}}function kd(e){if("solid"===e.type)return{backgroundColor:e.color};const t=e.stops.map(e=>`${e.color} ${100*e.position}%`).join(", ");return"radial"===e.gradientType?{background:`radial-gradient(circle, ${t})`}:{background:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}function Md(e){const{theme:t}=qo(),{useResolvedImageUrl:n}=Sd(),r=c(()=>Kc(t.value,e.value)),{src:o,isLoading:a,isError:i}=n(()=>{const e=r.value;return"image"===e?.type?e.src:void 0},{validate:!0,emptyStatus:()=>"image"===r.value?.type?"error":"idle"}),l=c(()=>o.value),s=c(()=>{const e=r.value;return"image"===e?.type?e.fit?.mode??"cover":"cover"}),d=c(()=>{const e=r.value;return"image"===e?.type?e.opacity??1:1});return{backgroundStyle:c(()=>{const e=r.value;return e?"solid"===e.type||"gradient"===e.type?kd(e):(e.type,{backgroundColor:"#ffffff"}):{backgroundColor:"#ffffff"}}),backgroundMaskStyle:c(()=>{const e=r.value;if("image"===e?.type&&e.mask)return kd(e.mask)}),backgroundImage:l,backgroundImageFit:s,backgroundImageOpacity:d,isBackgroundImageError:i,isBackgroundImageLoading:a}}function Cd(e){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=[];for(;t.nextNode();)n.push(t.currentNode);const r=/\\\((.+?)\\\)/g;for(const o of n){const e=o.textContent||"";if(r.lastIndex=0,!r.test(e))continue;r.lastIndex=0;const t=document.createDocumentFragment();let n,a=0;for(;null!==(n=r.exec(e));){n.index>a&&t.appendChild(document.createTextNode(e.slice(a,n.index)));const r=document.createElement("span");r.setAttribute("data-math-node","true"),r.setAttribute("data-tex",n[1].trim()),t.appendChild(r),a=n.index+n[0].length}ae.remove()),!t.textContent?.replace(/\u00a0/g,"").trim()}function Ed(e){return"p"===e.tagName.toLowerCase()&&Ld(e)&&void 0!==Id(e.style.lineHeight)}function zd(e){let t=!1;return e.querySelectorAll("p").forEach(e=>{Ed(e)&&(e.setAttribute("data-empty-spacer","true"),t=!0)}),t}function Rd(e){e.querySelectorAll("li").forEach(e=>{Ld(e)&&(e.setAttribute("data-empty-list-item","true"),e.style.listStyleType="none")})}function Bd(e){e.querySelectorAll("[style]").forEach(e=>{"absolute"===e.style.position&&(e.style.removeProperty("position"),e.style.removeProperty("left"),e.style.removeProperty("top"),e.style.removeProperty("right"),e.style.removeProperty("bottom"),e.style.removeProperty("white-space"),e.getAttribute("style")||e.removeAttribute("style"))})}function Hd(e){e.querySelectorAll("p, li").forEach(e=>{e.style.removeProperty("text-indent"),e.removeAttribute("data-indent"),e.getAttribute("style")||e.removeAttribute("style")})}function Fd(e){e.querySelectorAll("p, li").forEach(e=>{if(e.style.fontSize)return;const t=function(e){let t=0;const n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>t instanceof HTMLElement?t!==e&&t.matches("p, li")?NodeFilter.FILTER_REJECT:t!==e&&t.style.fontSize?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP:NodeFilter.FILTER_SKIP});for(;n.nextNode();){const e=Id(n.currentNode.style.fontSize);void 0!==e&&e>t&&(t=e)}return t||void 0}(e);void 0!==t&&(e.style.fontSize=`${t}px`)})}function Pd(e){const t=document.createElement("div");return t.innerHTML=e,Cd(t),zd(t),Pe.fromSchema(fi).parse(t,{preserveWhitespace:!0})}function Ud(e){const t=ge.fromSchema(fi),n=document.createElement("div");return n.appendChild(t.serializeFragment(e.content)),n.innerHTML}function Td(e){try{return je.renderToString(e,{throwOnError:!1,strict:!1,displayMode:!1,output:"html"})}catch{return""}}function jd(e,t){let n=e[t];for(;n?.nodeType===Node.TEXT_NODE&&!n.textContent?.trim();)n=n[t];return n}function Yd(e,t={}){if(!e||"undefined"==typeof document)return e;const n=function(e){return e.includes("data-math-node")||e.includes("data-math=")||Ai.test(e)}(e),r=function(e){return/]/i.test(e)}(e),o=function(e){return/position\s*:\s*absolute/i.test(e)}(e),a=function(e){return/<(?:p|li)\b[^>]*(?:data-indent=|style\s*=\s*["'][^"']*text-indent\s*:)/i.test(e)}(e),i=function(e){return/]*style\s*=\s*["'][^"']*line-height\s*:\s*[-\d.]+px/i.test(e)}(e),l=!0===t.inferBlockFontSize&&function(e){return/]*style\s*=\s*["'][^"']*font-size\s*:/i.test(e)}(e),s=function(e){return/^\s+<(?:p|div|ul|ol|li|blockquote)\b/i.test(e)||/<\/(?:p|div|ul|ol|li|blockquote)>\s+(?:<(?:p|div|ul|ol|li|blockquote)\b|$)/i.test(e)}(e);if(!(n||r||o||a||i||l||s))return e;try{const t=document.createElement("div");if(n){const n=Pd(e),r=ge.fromSchema(fi);t.appendChild(r.serializeFragment(n.content)),t.querySelectorAll(".latex-inline[data-tex]").forEach(e=>{e.innerHTML=Td(e.getAttribute("data-tex")||"")})}else t.innerHTML=e;return r&&Rd(t),i&&zd(t),o&&Bd(t),a&&Hd(t),l&&Fd(t),s&&function(e){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=[];for(;t.nextNode();){const e=t.currentNode;if(e.textContent?.trim())continue;const r=jd(e,"previousSibling"),o=jd(e,"nextSibling");(r instanceof HTMLElement&&gi.has(r.tagName)||o instanceof HTMLElement&&gi.has(o.tagName))&&n.push(e)}n.forEach(e=>e.remove())}(t),t.innerHTML}catch{return e}}function Nd(e,t){return null!=e?e*vi:t}function Zd(e,t,n){if(null!=t)return`${t}px`;const r=Nd(e,n);return void 0!==r?String(r):void 0}function Wd(e,t,n,r){if(null!=n)return n;if(void 0===e)return;const o=Nd(t,r);return void 0!==o?e*o:void 0}function Gd(){return x(xi,"thumbnail")}function Vd(e,t,n,r,o,a=[200,200]){if(!e)return 0;function i(e){return Dd(e,t,n,r,o,a)}const l=e.trim();if(!l.includes(" "))return i(l);const s=l.split(/\s+/),c=s[0],d=s.slice(1);switch(c){case"*/":return i(d[0])*i(d[1])/i(d[2]);case"+-":return 2===d.length?i(d[0])+i(d[1]):3===d.length?i(d[0])+i(d[1])-i(d[2]):4===d.length?i(d[0])+i(d[1])-i(d[2])-i(d[3]):0;case"+/":return 2===d.length?i(d[0])+i(d[1]):(i(d[0])+i(d[1]))/i(d[2]);case"*?":return i(d[0])*i(d[1]);case"?:":{if(2===d.length){const e=i(d[0]),t=i(d[1]);return e>0?t:0}const e=i(d[0]),t=i(d[1]),n=i(d[2]);return e>0?t:n}case"min":{const e=i(d[0]),t=i(d[1]);return Math.min(e,t)}case"max":{const e=i(d[0]),t=i(d[1]);return Math.max(e,t)}case"abs":{const e=i(d[0]);return Math.abs(e)}case"sin":{const e=i(d[0]),t=i(d[1]);return e*Math.sin(t*Li)}case"cos":{const e=i(d[0]),t=i(d[1]);return e*Math.cos(t*Li)}case"tan":{const e=i(d[0]),t=i(d[1]);return e*Math.tan(t*Li)}case"sqrt":{const e=i(d[0]);return Math.sqrt(e)}case"pin":{const e=i(d[0]),t=i(d[1]),n=i(d[2]);return tn?n:t}case"cat2":{const e=i(d[0]),t=i(d[1]),n=i(d[2]);return e*Math.cos(Math.atan2(n,t))}case"sat2":{const e=i(d[0]),t=i(d[1]),n=i(d[2]);return e*Math.sin(Math.atan2(n,t))}case"at2":{const e=i(d[0]),t=i(d[1]);return 180*Math.atan2(t,e)*6e4/Math.PI}case"mod":{const e=i(d[0]),t=i(d[1]),n=i(d[2]);return Math.sqrt(Math.pow(e,2)+Math.pow(t,2)+Math.pow(n,2))}case"val":{const e=parseInt(String(i(d[0])),10);return isNaN(e),e}default:throw new Error(`未处理的表达式:${l}`)}}function Dd(e,t,n,r,o,a=[200,200]){if(!isNaN(Number(e)))return Number(e);if(void 0!==o[e])return o[e];const i=t.indexOf(e);if(i>=0)return o[e]=r[i],o[e];switch(e){case"w":case"r":return a[0];case"h":case"b":return a[1];case"l":case"t":return 0;case"vc":case"hd2":return a[1]/2;case"hc":case"wd2":return a[0]/2;case"wd3":return a[0]/3;case"hd3":return a[1]/3;case"wd4":return a[0]/4;case"hd4":return a[1]/4;case"hd6":return a[1]/6;case"wd6":return a[0]/6;case"wd8":return a[0]/8;case"hd8":return a[1]/8;case"wd32":return a[0]/32;case"hd32":return a[1]/32;case"cd2":return Ii/2;case"cd4":return Ii/4;case"3cd4":return 3*Ii/4;case"cd8":return Ii/8;case"3cd8":return 3*Ii/8;case"5cd8":return 5*Ii/8;case"7cd8":return 7*Ii/8;case"ss":return Math.min(a[0],a[1]);case"ssd8":return Math.min(a[0],a[1])/8;case"ssd6":return Math.min(a[0],a[1])/6;case"ssd4":return Math.min(a[0],a[1])/4;case"ssd2":return Math.min(a[0],a[1])/2;case"ssd16":return Math.min(a[0],a[1])/16;case"ssd32":return Math.min(a[0],a[1])/32;default:{const i=n.find(t=>t.name===e);if(!i)throw new Error(`未找到公式:${e}`);return o[e]=Vd(i.fmla,t,n,r,o,a),o[e]}}}function Kd(e,...t){let n="";for(let r=0;r{const o=r,a={};function i(r){return"number"==typeof r?r:Dd(r,e.adjustmentNames,e.params,o,a,[t,n])}e.params.forEach(r=>{a[r.name]=Vd(r.fmla,e.adjustmentNames,e.params,o,a,[t,n])});let l={x:0,y:0};return e.paths.map(r=>{const o=r.w?t/r.w:1,a=r.h?n/r.h:1;let s="";return r.path.forEach(e=>{switch(e.type){case"moveTo":{const t=i(e.x)*o,n=i(e.y)*a;s+=Kd`M ${Xd(t)} ${Xd(n)}`,l={x:t,y:n};break}case"lnTo":{const t=i(e.x)*o,n=i(e.y)*a;s+=Kd`L ${Xd(t)} ${Xd(n)}`,l={x:t,y:n};break}case"quadBezTo":if(e.pts.length>=2){const t=i(e.pts[0].x)*o,n=i(e.pts[0].y)*a,r=i(e.pts[1].x)*o,c=i(e.pts[1].y)*a;if(s+=Kd`Q ${Xd(t)},${Xd(n)} ${Xd(r)},${Xd(c)}`,e.pts.length>2){const t=i(e.pts[2].x)*o,n=i(e.pts[2].y)*a;s+=Kd`T ${Xd(t)},${Xd(n)}`,l={x:t,y:n}}else l={x:r,y:c}}break;case"cubicBezTo":{const t=i(e.pts[0].x)*o,n=i(e.pts[0].y)*a,r=i(e.pts[1].x)*o,c=i(e.pts[1].y)*a,d=i(e.pts[2].x)*o,u=i(e.pts[2].y)*a;s+=Kd`C ${Xd(t)},${Xd(n)} ${Xd(r)},${Xd(c)} ${Xd(d)},${Xd(u)}`,l={x:d,y:u};break}case"arcTo":{const t=i(e.wR)*o,n=i(e.hR)*a,r=i(e.stAng)*Li;let c=i(e.swAng)*Li;const d=i(e.swAng);Math.abs(d%216e5)<1&&(c+=c>0?-Math.PI/180/4:Math.PI/180/4);const u=Qd(t,n,r),p=Qd(t,n,r+c),f={x:l.x-u.x+p.x,y:l.y-u.y+p.y},m=Math.abs(c)>Math.PI?1:0,A=c>0?1:0;s+=Kd`A ${Xd(t)} ${Xd(n)} 0 ${m} ${A} ${Xd(f.x)} ${Xd(f.y)}`,l={...f};break}case"close":s+="Z"}}),s.includes("NaN")&&console.error(`unexpected svgPath in shape ${e.type}: ${s}`),{d:s,fill:r.fill,stroke:r.stroke}})}}function qd(e){const t=Jd(e);return(e,n,r)=>t(e,n,r).map(e=>e.d).join("")}function Qd(e,t,n){const r=e*Math.sin(n),o=t*Math.cos(n),a=Math.sqrt(r*r+o*o);return 0===a?{x:0,y:0}:{x:e*o/a,y:t*r/a}}function $d(e,t){if(e)return"roundRect"===e&&4===t?.length?function(e){const t=(e,t,n)=>{const[r,o,a,i]=n,l=Math.min(e,t),s=l*r/Ei,c=l*o/Ei,d=l*a/Ei,u=l*i/Ei;return[`M ${Xd(s)},0`,`L ${Xd(e-c)},0`,`A ${Xd(c)} ${Xd(c)} 0 0 1 ${Xd(e)},${Xd(c)}`,`L ${Xd(e)},${Xd(t-d)}`,`A ${Xd(d)} ${Xd(d)} 0 0 1 ${Xd(e-d)},${Xd(t)}`,`L ${Xd(u)},${Xd(t)}`,`A ${Xd(u)} ${Xd(u)} 0 0 1 0,${Xd(t-u)}`,`L 0,${Xd(s)}`,`A ${Xd(s)} ${Xd(s)} 0 0 1 ${Xd(s)},0`,"Z"].join(" ")};return{viewBox:[200,200],defaultValue:[16667,16667,16667,16667],range:[[0,Ei/2],[0,Ei/2],[0,Ei/2],[0,Ei/2]],path:"",pathFormula:t,pathSegments:(e,n,r)=>[{d:t(e,n,r),fill:"norm",stroke:!0}],...e}}():zi[e]}function _d(e){const t=c(()=>e().bounds[2]),n=c(()=>e().bounds[3]),r=c(()=>{const t=e().path;return t?function(e){const t=e.match(/^\s*(\d+(?:\.\d+)?),(\d+(?:\.\d+)?);(.+)$/s);return t?{d:t[3].trim(),viewBox:[Number(t[1]),Number(t[2])]}:{d:e}}(t):void 0}),o=c(()=>e().viewBox??r.value?.viewBox??[t.value,n.value]),a=c(()=>{const o=e();if(r.value)return[{d:r.value.d,fill:"norm",stroke:!0}];if(!o.shapeName)return[];const a=$d(o.shapeName,o.adjustments);if(!a)return[];const i=(l=a,s=o.adjustments,l?.defaultValue?.map((e,t)=>null==s?.[t]?c?.[t]??e:s[t])??[]);var l,s,c;if(a.pathSegments)return a.pathSegments(t.value,n.value,i);const d=a.pathFormula(t.value,n.value,i);return d?[{d:d,fill:"norm",stroke:!0}]:[]});return{segments:a,pathString:c(()=>a.value.map(e=>e.d).filter(Boolean).join(" ")),viewBox:o,hasShape:c(()=>a.value.length>0)}}function eu(e){return Math.max(0,Math.min(255,Math.round(e))).toString(16).padStart(2,"0")}function tu(e,t,n){let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function nu(e,t){if("none"===t||"norm"===t)return e;const n=function(e){const t=e.trim().match(/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i);if(!t)return null;const n=t[1];return 3===n.length?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16)}:4===n.length?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:parseInt(n[3]+n[3],16)}:6===n.length?{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16)}:{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16),a:parseInt(n.slice(6,8),16)}}(e);if(!n)return e;const{mod:r,off:o}=Ri[t],{h:a,s:i,l:l}=function(e,t,n){const r=e/255,o=t/255,a=n/255,i=Math.max(r,o,a),l=Math.min(r,o,a),s=(i+l)/2;let c=0,d=0;if(i!==l){const e=i-l;d=s>.5?e/(2-i-l):e/(i+l),c=i===r?((o-a)/e+(o{if(!e)return void(n.value=void 0);const a=t.register(e);n.value=a,o(()=>t.unref(a))},{immediate:!0}),a(()=>{}),n):n}function ou(e,t,n){const{useResolvedImageUrl:r}=Sd(),o=c(()=>Kc(t(),e())),{src:a,status:i,isError:l}=r(()=>{const e=o.value;return"image"===e?.type?e.src:void 0},{validate:!0,emptyStatus:()=>"image"===o.value?.type?"error":"idle"}),s=ru(()=>{const e=o.value;if(e){if("gradient"===e.type)return{kind:"gradient",spec:e,bounds:n()};if("image"===e.type){if(!a.value)return;return{kind:"imagePattern",spec:{...e,src:a.value},bounds:n()}}}});return{getFillByMode:e=>{if("none"===e)return"none";const t=o.value;return t?"solid"===t.type?nu(t.color,e):"image"===t.type&&"error"===i.value?"#f7f8fa":s.value?`url(#${s.value})`:"image"===t.type?"#f7f8fa":"transparent":"transparent"},isImageFillError:l}}function au(e,t){const n=ru(()=>{const n=e();if(!n)return;const r=Gc(t(),n.color)??n.color;return{kind:"shadow",spec:{...n,color:r}}});return{filterUrl:c(()=>n.value?`url(#${n.value})`:void 0)}}function iu(e,t,n){const r=c(()=>Xc(t(),e())?.color??n?.color??"none"),o=c(()=>e()?.width??n?.width??0);return{strokeColor:r,strokeWidth:o,hasStroke:c(()=>o.value>0&&"none"!==r.value&&"transparent"!==r.value),strokeDash:c(()=>{const t=e()?.style,n=o.value;return"dash"===t?n<=6?`${4.5*n} ${2*n}`:`${2.5*n} ${2.5*n}`:"dot"===t?n<=6?`${.8*n} ${2*n}`:`${.3*n} ${1.8*n}`:void 0})}}function lu(e){return!!e&&("line"===e||/Connector/.test(e))}function su(e){return e.trim().split(/\s+/).map(e=>e.split(",").map(Number)).filter(e=>2===e.length&&e.every(Number.isFinite))}function cu(e,t){return Math.hypot(t[0]-e[0],t[1]-e[1])}function du(e,t,n,r){return[e[0]+(t[0]-e[0])/r*n,e[1]+(t[1]-e[1])/r*n]}function uu(e,t,n){const r=t[0]-e[0],o=t[1]-e[1],a=n[0]-t[0],i=n[1]-t[1];return Math.abs(r*i-o*a)2?function(e){const t=e[0],n=e[e.length-1],r=e.slice(1,-1);if(1===r.length){const[e]=r;return`M${t[0]} ${t[1]} Q${e[0]} ${e[1]} ${n[0]} ${n[1]}`}if(2===r.length){const[e,o]=r;return`M${t[0]} ${t[1]} C${e[0]} ${e[1]} ${o[0]} ${o[1]} ${n[0]} ${n[1]}`}const o=Math.max(Gi,16*r.length),a=Array.from({length:o},(t,n)=>function(e,t){let n=e.map(e=>[...e]);for(;n.length>1;)n=n.slice(0,-1).map((e,r)=>{const o=n[r+1];return[e[0]+(o[0]-e[0])*t,e[1]+(o[1]-e[1])*t]});return n[0]}(e,(n+1)/o));return`M${t[0]} ${t[1]} ${a.map(e=>`L${e[0]} ${e[1]}`).join(" ")}`}(e):"round"===t&&e.length>2?function(e,t){const n=e[0],r=e[e.length-1],o=Math.max(t,0);let a=`M${n[0]} ${n[1]}`;for(let i=1;i`L${e[0]} ${e[1]}`).join(" ")}`:""}function fu(e){const t=e,n=t.cropShape;return{shapeName:n?.shapeName??t.shapeName,adjustments:n?.adjustments??t.adjustments,viewBox:n?.viewBox??t.viewBox,path:n?.path??t.path}}function mu(e,t){const n=e.map(()=>Array.from({length:t}).fill(null));for(let r=0;r=t)break;const e=Math.max(1,i.rowSpan??1),l=Math.max(1,i.colSpan??1);n[r][o]={kind:"anchor",cell:i,rowIndex:r,colIndex:o,cellIndexInRow:a,rowSpan:e,colSpan:l};for(let a=0;at?Xc(e,t):null)}function vu(e,t){if(e){if("solid"===e.type)return{background:e.color};if("gradient"===e.type){const t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(100*e.position)}%`).join(", ");return"radial"===e.gradientType?{background:`radial-gradient(${t})`}:{background:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}return function(e,t){const n=t.get(e.src)??e.src,r=e.fit?.mode??"fill";return{backgroundImage:(o=n,`url("${o.replaceAll('"','\\"')}")`),backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover"===r?"cover":"contain"===r?"contain":"100% 100%"};var o}(e,t)}}function yu(e,t){"image"===e?.type&&e.src&&t.add(e.src)}function hu(e,t){yu(e?.fill,t)}function bu(e,t,n,r,o,a,i,l){const{cell:s,rowIndex:c,colIndex:d,cellIndexInRow:u,rowSpan:p,colSpan:f}=e,m=s,A=0===c,g=0===d,v=c+p===n,y=d+f===t,h=A?o.firstRowStyle:v?o.lastRowStyle:void 0,b=g?o.firstColumnStyle:y?o.lastColumnStyle:void 0,w=c-(o.firstRowStyle?1:0),x=!A&&o.bodyStyles?.length?o.bodyStyles[Math.max(w,0)%o.bodyStyles.length]:void 0,S=!1!==o.rowOverColumn?{...b,...h}:{...h,...b},k={...o.cellStyle,...x,...S},M=function(e){if(e.content)return e.content;const t=e;return void 0!==t.text||void 0!==t.color||void 0!==t.fontSize||void 0!==t.fontFamily||void 0!==t.lineHeight||void 0!==t.lineHeightPx||void 0!==t.letterSpacing||void 0!==t.marginTop||void 0!==t.align||void 0!==t.wrap||void 0!==t.textStyle||void 0!==t.bold||void 0!==t.italic||void 0!==t.backgroundColor?{text:t.text??"",style:t.textStyle,color:t.color,fontSize:t.fontSize,fontFamily:t.fontFamily,fontStyle:t.italic?"italic":void 0,lineHeight:t.lineHeight,lineHeightPx:t.lineHeightPx,letterSpacing:t.letterSpacing,marginTop:t.marginTop,align:t.align,wrap:t.wrap,bold:t.bold,italic:t.italic,backgroundColor:t.backgroundColor}:void 0}(s),C=M?qc(i,M):void 0,O=vu(m.fill?Kc(i,m.fill):void 0,l);let I;I=O||(k.fill?vu(k.fill,l):A&&o.headerFill?{background:o.headerFill}:g&&o.firstColumnFill?{background:o.firstColumnFill}:!A&&o.bodyFill?.length?{background:o.bodyFill[(c-1)%o.bodyFill.length]}:vu(o.fill,l));let L=C?.color??k.color;L||(A&&o.headerColor?L=o.headerColor:g&&o.firstColumnColor?L=o.firstColumnColor:o.bodyColor&&(L=o.bodyColor));const E=C?.bold,z=C?.italic,R=E??k.bold??(A&&o.headerBold||g&&o.firstColumnBold),B=C?.fontSize??k.fontSize??o.fontSize,H=B??16,F=function(e){if(!e)return;if("string"==typeof e)return e;if("object"!=typeof e)return;const t=e;return[t.latin,t.ea].filter(Boolean).join(", ")}(C?.fontFamily??k.fontFamily??o.fontFamily),P=gu(i,m.border),U=e=>P?P[e]:k.border?k.border[e]:a?a[e]:A&&o.headerBorder?o.headerBorder[e]:v&&o.lastRowBorder?o.lastRowBorder[e]:A||v||!o.bodyBorder?o.border?o.border[e]:al:o.bodyBorder[e],[T,j]=C?.align??k.align??["center","middle"],Y=[U(0),U(1),U(2),U(3)],N={...I,color:L??"#333333",fontWeight:R?"bold":void 0,fontStyle:z?"italic":void 0,fontSize:H?`${H}px`:void 0,fontFamily:F,borderTop:Au(Y[0]),borderRight:Au(Y[1]),borderBottom:Au(Y[2]),borderLeft:Au(Y[3])},Z=Wd(H,C?.lineHeight,C?.lineHeightPx,il)??H*il,W=Math.max(0,Math.min(ll,((r||0)*p-Z)/2)),G={justifyContent:sl[T]??"flex-start",alignItems:cl[j]??"center",lineHeight:Zd(C?.lineHeight,C?.lineHeightPx),whiteSpace:!1===C?.wrap?"pre":"break-spaces",wordBreak:!1===C?.wrap?"normal":"break-word","--cell-padding-y":`${W}px`,"--cell-margin-top":`${C?.marginTop??0}px`},V=C?.text?Qc(i,C.text):"";return{rowIndex:c,colIndex:d,cellIndexInRow:u,rowSpan:p,colSpan:f,cell:s,borders:Y,tdStyle:N,contentStyle:G,content:C,editorFontSize:B,html:V,staticHtml:Yd(V,{inferBlockFontSize:void 0===B})}}function wu(e,t){let n;const r=f(new Map),o=c(()=>e.value.columnWidths.length),a=c(()=>e.value.rows.length),i=c(()=>{const t=e.value.columnWidths,n=t.length,r=e.value.bounds[2];return Array.from({length:n},(e,o)=>(t[o]??t[t.length-1]??1/n)*r)}),l=c(()=>function(e,t){if(t<=0)return[];const n=1/t,r=Array.from({length:t},(t,r)=>{const o=e?.[r]??e?.[e.length-1]??n;return Number.isFinite(o)&&o>0?o:n}),o=r.reduce((e,t)=>e+t,0);return r.map(e=>e/o)}(e.value.rowHeights,a.value)),s=c(()=>{const t=a.value,n=e.value.bounds[3];return Array.from({length:t},(e,t)=>l.value[t]*n)}),d=c(()=>function(e,t){if(!t)return;const n="string"==typeof t?Dc(e,t):t;return n?{fontSize:n.fontSize,fontFamily:n.fontFamily,fill:n.fill?Kc(e,n.fill):void 0,headerFill:Gc(e,n.headerFill),headerColor:Gc(e,n.headerColor),headerBold:n.headerBold,bodyFill:n.bodyFill?.map(t=>Gc(e,t)??t),bodyColor:Gc(e,n.bodyColor),firstColumnFill:Gc(e,n.firstColumnFill),firstColumnColor:Gc(e,n.firstColumnColor),firstColumnBold:n.firstColumnBold,border:id(e,n.border),headerBorder:id(e,n.headerBorder),bodyBorder:id(e,n.bodyBorder),lastRowBorder:id(e,n.lastRowBorder),cellStyle:ld(e,n.cellStyle),firstRowStyle:ld(e,n.firstRowStyle),lastRowStyle:ld(e,n.lastRowStyle),firstColumnStyle:ld(e,n.firstColumnStyle),lastColumnStyle:ld(e,n.lastColumnStyle),bodyStyles:Array.isArray(n.bodyStyles)?n.bodyStyles.map(t=>ld(e,t)).filter(e=>!!e):void 0,rowOverColumn:"boolean"!=typeof n.rowOverColumn||n.rowOverColumn}:void 0}(t.value,e.value.style)??{});B(c(()=>{const n=new Set,r=d.value;return yu(Kc(t.value,e.value.fill),n),yu(r.fill,n),hu(r.cellStyle,n),hu(r.firstRowStyle,n),hu(r.lastRowStyle,n),hu(r.firstColumnStyle,n),hu(r.lastColumnStyle,n),r.bodyStyles?.forEach(e=>hu(e,n)),e.value.rows.forEach(e=>{e.forEach(e=>yu(Kc(t.value,e?.fill),n))}),[...n]}),async(e,t,o)=>{let a=!1;if(o(()=>{a=!0}),!e.length)return void(r.value=new Map);const{resolveImageUrl:i}=(n??(n=Sd()),n),l=await Promise.all(e.map(async e=>[e,await i(e)??e]));a||(r.value=new Map(l))},{immediate:!0});const u=c(()=>{const n=e.value.shadow;if(!n)return;const r=Gc(t.value,n.color)??n.color,[o,a]=n.offset??[0,0];return`${o}px ${a}px ${n.blur}px ${r}`}),p=c(()=>mu(e.value.rows,o.value)),m=c(()=>{const n=p.value,i=d.value,l=t.value,c=gu(l,e.value.border),u=o.value,f=a.value,m=s.value;return n.map((e,t)=>e.map(e=>e&&"anchor"===e.kind?bu(e,u,f,m[t]??0,i,c,l,r.value):null))});return{parsedStyle:d,gridLayout:p,cellRenderInfo:m,rowHeights:l,rowHeightsPx:s,colWidthsPx:i,boxShadow:u,tableTransform:c(()=>{let e=0;for(const t of m.value)for(const n of t)n&&0===n.colIndex&&(e=Math.max(e,(n.borders[3]?.width??0)/2));if(0!==e)return`translate(-${e}px, 0)`})}}function xu(e){return e.content?.text??e.text??""}function Su(e,t){return e.content?{...e,content:{...e.content,text:t}}:{...e,text:t}}function ku(e){const t=e.trim();return t?/^$/i.test(t)?t:`

${t}

`:""}function Mu(e,t,n){return t===n-1?e.slice(t).join(""):e[t]??""}function Cu(e,t,n){const r=c(()=>e.value.columnWidths.length),o=c(()=>{const e=n.value;if(0===e.length)return null;const t=e.map(e=>e.split("_").map(Number));return{minR:Math.min(...t.map(e=>e[0])),maxR:Math.max(...t.map(e=>e[0])),minC:Math.min(...t.map(e=>e[1])),maxC:Math.max(...t.map(e=>e[1]))}}),a=c(()=>{if(n.value.length<2)return!1;const e=o.value;if(!e)return!1;const r=t.value;for(let t=e.minR;t<=e.maxR;t++)for(let n=e.minC;n<=e.maxC;n++){const o=r[t]?.[n];if(!o||"anchor"!==o.kind)return!1;if((t!==e.minR||n!==e.minC)&&(o.rowSpan>1||o.colSpan>1))return!1}return!0}),i=c(()=>{const e=n.value[0];if(!e||1!==n.value.length)return!1;const[r,o]=e.split("_").map(Number),a=t.value[r]?.[o];return!(!a||"anchor"!==a.kind)&&(a.rowSpan>1||a.colSpan>1)});return{canMerge:a,canSplit:i,mergeCells:()=>{if(!a.value)return null;const t=o.value,n=e.value,i=JSON.parse(JSON.stringify(n.rows));let l=mu(i,r.value);const s=[],c=[];for(let e=t.minR;e<=t.maxR;e++)for(let n=t.minC;n<=t.maxC;n++){const r=l[e][n];if(!r||"anchor"!==r.kind)continue;const o=xu(r.cell);o&&s.push(ku(o)),e===t.minR&&n===t.minC||c.push([e,r.cellIndexInRow])}c.sort((e,t)=>t[1]-e[1]);for(const[e,r]of c)i[e].splice(r,1);l=mu(i,r.value);const d=l[t.minR][t.minC];if("anchor"===d?.kind){const e=i[t.minR][d.cellIndexInRow];i[t.minR][d.cellIndexInRow]=Su({...e,rowSpan:t.maxR-t.minR+1,colSpan:t.maxC-t.minC+1},s.join(""))}return{rows:i}},splitCell:(t,n)=>{const o=e.value,a=JSON.parse(JSON.stringify(o.rows));let i=mu(a,r.value);const l=i[t][n];if(!l||"anchor"!==l.kind)return null;if(l.rowSpan<=1&&l.colSpan<=1)return null;const{rowSpan:s,colSpan:c,cellIndexInRow:d}=l,u=function(e){if(!e)return[""];const t=e.match(/]*>[\s\S]*?<\/p>/gi);return t?.length?t:[ku(e)]}(xu(a[t][d])),p=a[t][d];a[t][d]={...p,rowSpan:1,colSpan:1};for(let e=0;e{const n=e.value,o=r.value,a=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),i=[...n.rowHeights],l=Array.from({length:o},()=>({content:{text:""}}));a.splice(t,0,l);const s=o>0?1/(n.rows.length+1):.1;i.splice(t,0,n.rowHeights[t]??n.rowHeights[t-1]??s);const c=i.reduce((e,t)=>e+t,0);return{rows:a,rowHeights:i.map(e=>e/c)}},deleteRows:t=>{const n=e.value;if(n.rows.length<=t.length)return null;const r=[...t].toSorted((e,t)=>t-e),o=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),a=[...n.rowHeights];for(const e of r)o.splice(e,1),a.splice(e,1);const i=a.reduce((e,t)=>e+t,0);return{rows:o,rowHeights:a.map(e=>i>0?e/i:1/o.length)}},insertCol:t=>{const n=e.value,o=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),a=[...n.columnWidths],i=mu(o,r.value);for(let e=0;ee+t,0);return{rows:o,columnWidths:a.map(e=>e/s)}},deleteCols:t=>{const n=e.value;if(n.columnWidths.length<=t.length)return null;const o=[...t].toSorted((e,t)=>t-e),a=n.rows.map(e=>e.map(e=>({...e,content:e.content?{...e.content}:void 0}))),i=[...n.columnWidths];for(const e of o){const t=mu(a,r.value);for(let n=0;ne+t,0);return{rows:a,columnWidths:i.map(e=>l>0?e/l:1/i.length)}},clearCells:n=>{if(0===n.length)return null;const r=e.value,o=t.value,a=new Map;for(const e of n){const[t,n]=e.split("_").map(Number),r=o[t]?.[n];"anchor"===r?.kind&&(a.has(t)||a.set(t,new Set),a.get(t).add(r.cellIndexInRow))}return{rows:r.rows.map((e,t)=>{const n=a.get(t);if(!n)return e;const r=[...e];for(const o of n){const e=r[o];r[o]={...e,content:{...e.content,text:""}}}return r})}}}}function Ou(e,t){const n=e?.length?e:Pn;return n[t%n.length]??Pn[0]}function Iu(e,t){return e.map(e=>String(e[t]??""))}function Lu(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Eu(e){return e.x??""}function zu(e){return t=e.y??"",Array.isArray(t)?t:[t];var t}function Ru(e){return e.rows.map(t=>Object.fromEntries(e.cols.map((e,n)=>[e,t[n]??null])))}function Bu(e){if(null==e||""===e)return null;if("boolean"==typeof e)return null;const t=Number(e);return Number.isNaN(t)?null:t}function Hu(e,t=0){return Array.isArray(e)?e[t]:0===t?e:void 0}function Fu(e){return"number"==typeof e&&Number.isFinite(e)?e:0}function Pu(e,t){return e.map(e=>e[t])}function Uu(e,t,n){const r=Pu(e,t).filter(e=>null!=e&&""!==e);return r.some(e=>"string"==typeof e&&!function(e){return""!==e.trim()&&Number.isFinite(Number(e))}(e))?"category":r.some(e=>"number"==typeof e)?"value":(r.some(e=>"string"==typeof e),n)}function Tu(e,t){return Pu(e,t).map(e=>String(e??""))}function ju(e,t){const n=e.seriesDefaults?.[t.type]??{},r={...n,...t};for(const o of["marker","dataLabels","border","upBars","downBars","wickStyle","totalBars","increaseBars","decreaseBars"])(Lu(n[o])||Lu(t[o]))&&(r[o]={...Lu(n[o])?n[o]:{},...Lu(t[o])?t[o]:{}});return r}function Yu(e,t,n){return t.map((t,r)=>({field:t,name:n?.[r]??t,values:e.map(e=>{const n=e[t];if(null==n)return null;const r=Number(n);return Number.isNaN(r)?null:r})}))}function Nu(e,t){return"zero"===t?e.map(e=>null===e?0:e):e}function Zu(e){if(e){if("solid"===e.type)return e.color;if("gradient"===e.type){const t="radial"!==e.gradientType;let n;if(t){const t=(e.angle??0)*Math.PI/180;n={x:+(.5-Math.cos(t)/2).toFixed(2),y:+(.5-Math.sin(t)/2).toFixed(2),x2:+(.5+Math.cos(t)/2).toFixed(2),y2:+(.5+Math.sin(t)/2).toFixed(2)}}else n={x:.5,y:.5,r:.5};return{type:t?"linear":"radial",...n,colorStops:e.stops.map(e=>({offset:e.position,color:e.color}))}}}}function Wu(e,t){return t?{...t["*"],...t[e]}:{}}function Gu(e,t){return e.fill?Zu(e.fill)??t:t}function Vu(e){return e?Rl[e]:void 0}function Du(e){const t=function(e){if(!e)return;let t="",n="",r="",o=!1;for(let s=0;s"0"===e).length,maxFractionDigits:[...l].filter(e=>"0"===e||"#"===e).length,useGrouping:i.includes(","),scalePercent:a}}(e);if(t)return e=>{const n=Number(e);if(!Number.isFinite(n))return null==e?"":String(e);const r=new Intl.NumberFormat("en-US",{useGrouping:t.useGrouping,minimumFractionDigits:t.minFractionDigits,maximumFractionDigits:t.maxFractionDigits}).format(t.scalePercent?100*n:n);return`${t.prefix}${r}${t.suffix}`}}function Ku(e,t,n){return"function"!=typeof e?n??"":e({...t,value:n})}function Xu(e,t,n){const r=e?.type??t,o={type:r};if("category"===r&&n&&(o.data=n),!e)return o;if(!1===e.show)return o.show=!1,o;!0===e.reverse&&(o.inverse=!0);const a="object"==typeof e.label?e.label:void 0,i=Du(a?.numberFormat??e.numberFormat);return!1===e.label?o.axisLabel={show:!1}:(a||i)&&(o.axisLabel={show:!0,...a?.color&&{color:a.color},...a?.fontSize&&{fontSize:a.fontSize},...i&&{formatter:e=>i(e)}}),!1===e.axisLine?o.axisLine={show:!1}:e.axisLine&&"object"==typeof e.axisLine&&(o.axisLine={show:!0,lineStyle:{...e.axisLine.color&&{color:e.axisLine.color},...e.axisLine.width&&{width:e.axisLine.width},...e.axisLine.style&&{type:Vu(e.axisLine.style)}}}),!1===e.gridLine?o.splitLine={show:!1}:e.gridLine&&"object"==typeof e.gridLine&&(o.splitLine={show:!0,lineStyle:{...e.gridLine.color&&{color:e.gridLine.color},...e.gridLine.width&&{width:e.gridLine.width},...e.gridLine.style&&{type:Vu(e.gridLine.style)}}}),void 0!==e.min&&(o.min=e.min),void 0!==e.max&&(o.max=e.max),e.title&&(o.name="string"==typeof e.title?e.title:e.title.text,o.nameLocation="middle",o.nameGap=30,"object"==typeof e.title&&(o.nameTextStyle={...e.title.color&&{color:e.title.color},...e.title.fontSize&&{fontSize:e.title.fontSize}})),o}function Ju(e){return!!e&&("string"==typeof e?""!==e.trim():""!==e.text.trim())}function qu(e,t=!1){if(!1===e)return{show:!1};if(!0===e||void 0===e)return{show:!0,bottom:0,...Fl};const n=e.position??"bottom",r="top"===n&&t?{top:30,left:"center"}:Hl[n],o={show:!1!==e.show,...Fl,...r},a={};return e.color&&(a.color=e.color),e.fontSize&&(a.fontSize=e.fontSize),Object.keys(a).length&&(o.textStyle=a),o}function Qu(e,t="value"){const n={show:!1!==e?.show};if(!n.show)return n;e?.color&&(n.color=e.color),e?.fontSize&&(n.fontSize=e.fontSize);const r=Du(e?.numberFormat);switch(e?.content??t){case"percentage":n.formatter=r?e=>r(void 0===e.percent?e.value:Number(e.percent)/100):"{d}%";break;case"category":case"name":n.formatter="{b}";break;default:n.formatter=r?e=>r(e.value):"{c}"}return n}function $u(e,t,n){const r=!1===t||"object"==typeof t&&!1===t.show,o="object"==typeof t&&!1!==t.show?t.position??"bottom":"bottom",a=!r&&"top"===o,i=!r&&"bottom"===o,l=!r&&"left"===o,s=!r&&"right"===o;let c="10%";e&&a?c="25%":(e||a)&&(c="18%");let d=l?"18%":"3%";n?.hasYAxisTitle&&!l&&(d="8%");let u=i?"18%":"3%";return n?.hasXAxisTitle&&(u=i?"22%":"10%"),{left:d,right:s?"18%":"4%",bottom:u,top:c,containLabel:!0}}function _u(e,t){const n=e.fontFamily??e.options?.fontFamily;n&&(t.textStyle={fontFamily:"string"==typeof n?n:[n.latin,n.ea].filter(Boolean).join(", ")})}function ep(e,t){const n=function(e){if(!Ju(e))return;if(!e)return;const t="string"==typeof e?e:e.text,n={};return"object"==typeof e&&(e.color&&(n.color=e.color),e.fontSize&&(n.fontSize=e.fontSize)),{text:t,left:"center",top:8,...Object.keys(n).length&&{textStyle:n}}}(e.title);n&&(t.title=n)}function tp(e,t,n=!1){const r=Xu(e.xAxis,n?"value":"category",n?void 0:t),o=Xu(e.yAxis,n?"category":"value",n?t:void 0),a=Ju(e.title),i={tooltip:{trigger:"axis"},grid:$u(a,e.legend,{hasXAxisTitle:!!e.xAxis?.title,hasYAxisTitle:!!e.yAxis?.title}),xAxis:r,yAxis:o,legend:qu(e.legend,a)};return ep(e,i),_u(e,i),i}function np(e){const t=Ju(e.title),n={tooltip:{trigger:"item"},legend:qu(e.legend,t)};return ep(e,n),_u(e,n),n}function rp(e){const t=Eu(e),n=zu(e),r=Iu(e.data,t),o=Yu(e.data,n,e.names),a="horizontal"===e.options?.direction,i=e.options?.stacked,l=tp(e,r,a),s=Qu(e.dataLabels);if(s.show&&!s.position&&(s.position=i?"inside":a?"right":"top"),i&&"percentage"===e.dataLabels?.content){const e=r.map((e,t)=>o.reduce((e,n)=>e+(Number(n.values[t])||0),0));s.formatter=t=>{const n=e[t.dataIndex]||0;return 0===n?"0%":(Number(t.value)/n*100).toFixed(1)+"%"}}return{...l,series:o.map((t,n)=>{const r=Gu(Wu(t.field,e.seriesStyle),Ou(e.colors,n));return{type:"bar",name:t.name,data:t.values,itemStyle:{color:r},label:s,...i&&{stack:"total"},...void 0!==e.options?.barWidth&&{barCategoryGap:`${Math.round(100*(1-e.options.barWidth))}%`}}})}}function op(e,t,n,r,o,a){const i=Wu(e.field,n.seriesStyle),l=Ou(n.colors,t),s={};let c;if(!1===i.marker?s.showSymbol=!1:"object"==typeof i.marker&&i.marker.size?s.symbolSize=i.marker.size:a?s.showSymbol=!1:s.symbolSize=8,r.show&&!1===s.showSymbol&&(delete s.showSymbol,s.symbolSize=1),a)if(i.fill){const e=Zu(i.fill);c=e?{color:e}:{color:l,opacity:.7}}else c={color:l,opacity:.7};return{type:"line",name:e.name,data:Nu(e.values,o),smooth:i.smooth??!0,lineStyle:{color:l,...void 0!==i.width&&{width:i.width},...i.line&&{type:Vu(i.line)}},itemStyle:{color:l},label:r,...c&&{areaStyle:c},..."connect"===o&&{connectNulls:!0},...n.options?.stacked&&{stack:"total"},...s}}function ap(e){const t=Eu(e),n=zu(e),r=Iu(e.data,t),o=Yu(e.data,n,e.names),a=e.options?.nullHandling??"gap",i=tp(e,r),l=Qu(e.dataLabels);return{...i,series:o.map((t,n)=>op(t,n,e,l,a,!1))}}function ip(e){const t=Eu(e),n=zu(e),r=Iu(e.data,t),o=Yu(e.data,n,e.names),a=e.options?.nullHandling??"gap",i=tp(e,r),l=Qu(e.dataLabels);return{...i,series:o.map((t,n)=>op(t,n,e,l,a,!0))}}function lp(e){const t=Ju(e.title),n={tooltip:{trigger:"item"},grid:$u(t,e.legend,{hasXAxisTitle:!!e.xAxis?.title,hasYAxisTitle:!!e.yAxis?.title}),xAxis:Xu(e.xAxis,"value"),yAxis:Xu(e.yAxis,"value"),legend:qu(e.legend,t)};return ep(e,n),_u(e,n),n}function sp(e){const t=Qu(e);return!1===e?.show&&(t.show=!1),t}function cp(e,t=1){if(!e.show)return e;const n={...e,position:"bottom",distance:4};if("{c}"===n.formatter||"function"==typeof n.formatter){const e=n.formatter;n.formatter=n=>Ku(e,n,n.data?.labelValue??n.value?.[t]??"")}return n}function dp(e,t){if(!e.show)return e;const n={...e,position:"bottom",distance:4};if("{c}"===n.formatter||"function"==typeof n.formatter){const e=n.formatter;n.formatter=n=>Ku(e,n,n.value?.[t?2:1]??n.data?.labelValue??"")}return n}function up(e){const t=Eu(e),n=zu(e),r=lp(e),o=cp(sp(e.dataLabels));return{...r,series:n.map((n,r)=>{const a=Wu(n,e.seriesStyle),i=Gu(a,Ou(e.colors,r)),l="object"==typeof a.marker&&a.marker.size?a.marker.size:10;return{type:"scatter",name:e.names?.[r]??n,data:e.data.map(e=>{const r=Number(e[n])||0;return{value:[Number(e[t])||0,r],labelValue:(o=e,a=r,Object.prototype.hasOwnProperty.call(o,"value")?o.value:a)};var o,a}),itemStyle:{color:i,opacity:.8},symbolSize:l,label:o}})}}function pp(e){const t=Eu(e),n=zu(e),r=e.size,o=lp(e),a=dp(sp(e.dataLabels),!!r);let i=0;if(r)for(const l of e.data){const e=Number(l[r]);e>i&&(i=e)}return{...o,series:n.map((n,o)=>{const l=Gu(Wu(n,e.seriesStyle),Ou(e.colors,o)),s=e.data.map(e=>{const o=Number(e[n])||0,a=r?Number(e[r])||0:o,i=[Number(e[t])||0,o];return r&&i.push(a),{value:i,labelValue:a}});return{type:"scatter",name:e.names?.[o]??n,data:s,itemStyle:{color:l,opacity:.7},symbolSize:r?e=>i>0?50*Math.sqrt((e[2]??0)/i)+4:10:10,label:a}})}}function fp(e){const t=Eu(e),n=zu(e)[0]??"",r=np(e),o=e.data.map((r,o)=>({name:String(r[t]??""),value:Number(r[n])||0,itemStyle:{color:Ou(e.colors,o)}})),a=e.options?.innerRadius,i=null!=a?[`${Math.round(65*a)}%`,"65%"]:"65%",l={...Qu(e.dataLabels,"percentage"),position:"inside"};return{...r,series:[{type:"pie",radius:i,center:["50%","50%"],data:o,startAngle:e.options?.startAngle??0,avoidLabelOverlap:!0,labelLayout:{hideOverlap:!0},label:l,labelLine:{show:!1},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0,0,0,0.2)"}}}]}}function mp(e){const t=Eu(e),n=zu(e),r=Iu(e.data,t),o=Yu(e.data,n,e.names),a=np(e),i=o.flatMap(e=>e.values.filter(e=>null!==e)),l=i.length>0?Math.max(...i):100,s=o.some(t=>void 0!==Wu(t.field,e.seriesStyle).fill),c=[r[0],...r.slice(1).toReversed()],d=o.map((t,n)=>{const r=Gu(Wu(t.field,e.seriesStyle),Ou(e.colors,n)),o=t.values.map(e=>e??0),a=[o[0],...o.slice(1).toReversed()];return{name:t.name,value:a,lineStyle:{color:r},itemStyle:{color:r},...s&&{areaStyle:{color:r,opacity:.3}}}});return{...a,radar:{indicator:c.map(e=>({name:e,max:l})),axisName:{fontSize:10}},series:[{type:"radar",data:d}]}}function Ap(e){const t=Eu(e),n=zu(e),r=Iu(e.data,t),o=Yu(e.data,n,e.names),a=e.options?.nullHandling??"gap",i=Qu(e.dataLabels),l=Xu(e.xAxis,"category",r),s=Xu(e.yAxis,"value"),c=n.some(t=>"secondary"===Wu(t,e.seriesStyle).axis),d=[s];if(c){const t=Xu(e.secondaryAxis,"value");t.splitLine||(t.splitLine={show:!1}),d.push(t)}const u=o.map((t,n)=>{const r=Wu(t.field,e.seriesStyle),o=r.type??"bar",l=c&&"secondary"===r.axis?1:0,s=Ou(e.colors,n),d="line"===o||"area"===o?s:Gu(r,s),u={type:"area"===o?"line":o,name:t.name,data:Nu(t.values,a),yAxisIndex:l,itemStyle:{color:d},label:i};if("line"===o||"area"===o){if(u.smooth=r.smooth??!0,u.lineStyle={color:d,...void 0!==r.width&&{width:r.width},...r.line&&{type:Vu(r.line)}},"area"===o)if(r.fill){const e=Zu(r.fill);u.areaStyle=e?{color:e}:{color:s,opacity:.7}}else u.areaStyle={color:s,opacity:.7};"connect"===a&&(u.connectNulls=!0)}return u}),p=Ju(e.title),f={tooltip:{trigger:"axis"},grid:$u(p,e.legend,{hasXAxisTitle:!!e.xAxis?.title,hasYAxisTitle:!!e.yAxis?.title}),xAxis:l,yAxis:1===d.length?d[0]:d,series:u,legend:qu(e.legend,p)};return ep(e,f),_u(e,f),f}function gp(e,t){return"string"==typeof e?e:Lu(e)?Zu(e)??t:t}function vp(e,t,n){return Array.isArray(e)?gp(e[t%e.length],n):gp(e,n)}function yp(e){return"string"==typeof e?e:Lu(e)?Zu(e):void 0}function hp(e,t){if(t<=0||"string"!=typeof e)return e;const n=D(e);if(!n.isValid())return e;const r=n.toHsl();return D({...r,l:Math.max(0,r.l-.1*t)}).toHexString()}function bp(e,t,n,r){if(Array.isArray(e)&&Array.isArray(e[0])){const o=e[t%e.length],a=o[Math.min(n,o.length-1)];return yp(n>=o.length?hp(a,n-o.length+1):a)??r}return Array.isArray(e)?yp(hp(e[t%e.length],n))??r:yp(hp(e,n))??r}function wp(e,t){const n=[],r=new Set;return e.forEach(e=>{const o=e[t];if(null==o)return;const a=String(o);r.has(a)||(r.add(a),n.push(a))}),n}function xp(e){if(!Lu(e))return;const t=e.shape;return"string"==typeof t?Pl[t]:void 0}function Sp(e){if(!Lu(e))return{};const t={};return e.color&&(t.borderColor=e.color),void 0!==e.width&&(t.borderWidth=e.width),e.style&&(t.borderType=Vu(e.style)),t}function kp(e,t){const n=Lu(e)?e.fill:void 0,r=Lu(e)?e.border:void 0;return{color:gp(n,t),borderStyle:Sp(r)}}function Mp(e,t,n="value"){const r={...e.dataLabels,...t.dataLabels};return void 0===e.dataLabels&&void 0===t.dataLabels&&(r.show=!1),Qu(r,n)}function Cp(e,t="axis",n=!0,r=e.legend){const o=Ju(e.title),a={tooltip:{trigger:t},legend:qu(void 0===r?{show:n,position:"bottom"}:r,o)};return ep(e,a),_u(e,a),a}function Op(e,t,n,r,o){const a=function(e,t){const n="x"===t?"xAxisIndex":"yAxisIndex";return Math.max(1,...e.map(e=>Fu(e[n])+1))}(n,r),i="x"===r?e.xAxis:e.yAxis;return Array.from({length:a},(e,a)=>{const l=function(e,t,n){const r="x"===t?"xAxisIndex":"yAxisIndex";return e.find(e=>Fu(e[r])===n)?.encode?.[t]}(n,r,a),s=Hu(i,a),c=function(e,t,n,r){return"category"===t?.type||"value"===t?.type?t.type:n?Uu(e,n,r):r}(t,s,l,o);return{type:c,option:Xu(s,c,"category"===c&&l?Tu(t,l):void 0)}})}function Ip(e,t){const n=t.dataFilter;return n?e.filter(e=>e[n.col]===n.value):e}function Lp(e){return`${Math.round(100*e)}%`}function Ep(e){return void 0!==e.categoryGap?Lp(e.categoryGap):void 0!==e.barWidth?Lp(1-e.barWidth):Lp(Sl)}function zp(e,t){const n=t.encode;return e.map(e=>{const t=Bu(e[n.close])??0;return[n.open?Bu(e[n.open])??t:t,t,Bu(e[n.low])??t,Bu(e[n.high])??t]})}function Rp(e,t,n,r,o){const a=Ip(t,n),i=kp(n.increaseBars,Ll),l=kp(n.decreaseBars,El),s=kp(n.totalBars,Ou(void 0,r)),c=function(e,t){if(!e.show)return e;const n={...e,position:t?"right":"top"};if("{c}"===n.formatter||"function"==typeof n.formatter){const e=n.formatter;n.formatter=t=>Ku(e,t,t.data?.labelValue??t.value??"")}else"{b}"===n.formatter&&(n.formatter=e=>e.data?.categoryValue??e.name??"");return n}(Mp(e,n),o);let d=0;const u=[],p=a.map(e=>{const t=Bu(e[n.encode.y])??0,r=!!n.encode.isTotal&&!0===e[n.encode.isTotal],o=r?0:t>=0?d:d+t,a=r?t:Math.abs(t),c=r?s:t>=0?i:l;return u.push(o),d=r?t:d+t,{value:a,labelValue:t,categoryValue:e[n.encode.x],itemStyle:{color:c.color,...c.borderStyle}}}),f=Fu(n.xAxisIndex),m=Fu(n.yAxisIndex);return[{type:"bar",name:`${n.name??n.encode.y}-base`,stack:`waterfall-${r}`,data:u,xAxisIndex:f,yAxisIndex:m,itemStyle:{color:"transparent",borderColor:"transparent"},emphasis:{disabled:!0},tooltip:{show:!1},silent:!0},{type:"bar",name:n.name??n.encode.y,stack:`waterfall-${r}`,data:p,xAxisIndex:f,yAxisIndex:m,label:c,barGap:Lp(e.barGap??0),barCategoryGap:Ep(e)}]}function Bp(e,t,n,r,o,a){const i=Fu(n.xAxisIndex),l=Fu(n.yAxisIndex),s=o[i]??"category",c=a[l]??"value",d=Ip(t,n),u=n.encode.x,p=n.encode.y,f=Mp(e,n),m=Ou(void 0,r),A="area"===n.type?gp(n.areaColor,m):void 0,g=gp(n.lineColor??("area"===n.type?n.areaColor:void 0),m),v=gp(n.fill,m),y=n.border,h="category"===s&&"value"===c?d.map(e=>Bu(e[p])):"category"===c&&"value"===s?d.map(e=>Bu(e[u])):d.map(e=>[Bu(e[u])??0,Bu(e[p])??0]),b={type:"area"===n.type?"line":"bubble"===n.type?"scatter":n.type,name:n.name??p,data:"zero"===n.nullHandling?Nu(h,"zero"):h,xAxisIndex:i,yAxisIndex:l,label:f};if("bar"===n.type)return b.itemStyle={color:v,...Sp(y)},n.stack&&(b.stack="percent"===n.stack?"percent":"total"),b.barGap=Lp(e.barGap??0),b.barCategoryGap=Ep(e),b;if("line"===n.type||"area"===n.type){if(b.smooth=n.smooth??!1,b.lineStyle={color:g,width:n.width??2,type:Vu(n.lineStyle)},b.itemStyle={color:g},!1===n.marker)b.showSymbol=!1;else if(Lu(n.marker)){void 0!==n.marker.size&&(b.symbolSize=n.marker.size);const e=xp(n.marker);e&&(b.symbol=e),b.itemStyle={color:gp(n.marker.fill,"string"==typeof g?g:m),...Sp(n.marker.border)}}return"connect"===n.nullHandling&&(b.connectNulls=!0),n.stack&&(b.stack="percent"===n.stack?"percent":"total"),"area"===n.type&&(b.areaStyle={color:A,opacity:kl}),b}if("candlestick"===n.type)return function(e,t,n){const r=kp(n.upBars,Ol),o=kp(n.downBars,Il),a=Sp(n.wickStyle),i=a.borderColor;return{type:"candlestick",name:n.name??"candlestick",data:zp(Ip(t,n),n),xAxisIndex:Fu(n.xAxisIndex),yAxisIndex:Fu(n.yAxisIndex),itemStyle:{color:r.color,color0:o.color,borderColor:i??(r.borderStyle.borderColor||r.color),borderColor0:i??(o.borderStyle.borderColor||o.color),borderColorDoji:i,...void 0!==a.borderWidth?{borderWidth:a.borderWidth}:void 0!==r.borderStyle.borderWidth?{borderWidth:r.borderStyle.borderWidth}:{},...void 0!==a.borderType?{borderType:a.borderType}:void 0!==r.borderStyle.borderType?{borderType:r.borderStyle.borderType}:{}},...void 0!==e.categoryGap&&{barCategoryGap:`${Math.round(100*e.categoryGap)}%`}}}(e,t,n);if("waterfall"===n.type)return Rp(e,t,n,r,"category"===c);if("scatter"===n.type||"bubble"===n.type){const e="bubble"===n.type?n.encode.size:void 0,t=Lu(n.marker)?n.marker:void 0,r=gp(t?.fill??n.fill,m),o=t?.border??n.border,a=xp(t);b.label="bubble"===n.type?dp(f,!!e):cp(f);const i=d.map(t=>{const n=[Bu(t[u])??0,Bu(t[p])??0];return e&&n.push(Bu(t[e])??0),{value:n,labelValue:e?t[e]:t[p]}}),l=Math.max(1,...i.map(e=>Number(e.value[2]??e.value[1])||0));return b.data=i,b.itemStyle={color:r,opacity:Ml,...Sp(o)},a&&(b.symbol=a),b.symbolSize="bubble"===n.type?e=>{const t=Math.max(0,Number(e[2])||0),r=n.sizeRange??Cl,o="linear"===n.sizeScale?t/l:"log"===n.sizeScale?Math.log1p(t)/Math.log1p(l):Math.sqrt(t/l);return r[0]+(r[1]-r[0])*o}:t?.size??10,b}}function Hp(e,t,n){const r=Array.isArray(e.colorScheme)&&e.colorScheme.length?e.colorScheme:[];return"diverging"===e.colorScale?.type?r.length>=3?r.slice(0,3):[r[0]??Ou(void 0,1),r[1]??"#ffffff",r[2]??Ou(void 0,0)]:r.length>=2?r:t<0&&n>0?[Ou(void 0,1),"#ffffff",Ou(void 0,0)]:[Ou(void 0,0),Ou(void 0,1)]}function Fp(e,t,n,r){const o=Lu(e)?e:void 0,a=o?.position??"right",i={top:{top:0,left:"center",orient:"horizontal"},bottom:{bottom:0,left:"center",orient:"horizontal"},left:{left:0,top:"middle",orient:"vertical"},right:{right:0,top:"middle",orient:"vertical"}},l={};return o?.color&&(l.color=o.color),o?.fontSize&&(l.fontSize=o.fontSize),{type:"continuous",min:t,max:n,show:!1!==e,calculable:!1,inRange:{color:r},...i[a]??i.right,...Object.keys(l).length?{textStyle:l}:{}}}function Pp(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).find(e=>"heatmap"===e.type);if(!n)return{series:[]};const r=n.encode.x,o=n.encode.y,a=n.encode.value,i=wp(t,r),l=wp(t,o),s=t.map(e=>{const t=i.indexOf(String(e[r]??"")),n=l.indexOf(String(e[o]??""));if(!(t<0||n<0))return[t,n,Bu(e[a])??null]}).filter(e=>!!e),[c,d]=function(e,t){if(Array.isArray(t.colorScale?.domain))return t.colorScale.domain;if(!e.length)return[0,1];if("diverging"===t.colorScale?.type){const t=Math.max(...e.map(e=>Math.abs(e)));return[-t,t]}const n=Math.min(...e),r=Math.max(...e);return n===r?[n,n+1]:[n,r]}(s.map(e=>e[2]).filter(e=>null!==e),n),u=void 0===n.colorbar||n.colorbar,p=Lu(u)?u:void 0,f=function(e){if(!e.show)return e;const t={...e};if("{c}"===t.formatter||"function"==typeof t.formatter){const e=t.formatter;t.formatter=t=>Ku(e,t,t.value?.[2]??"")}return t}(Mp(e,n)),m={tooltip:{trigger:"item"},grid:$u(Ju(e.title),!1!==u&&(p??{position:"right"})),xAxis:Xu(Hu(e.xAxis),"category",i),yAxis:Xu(Hu(e.yAxis),"category",l),visualMap:Fp(u,c,d,Hp(n,c,d)),series:[{type:"heatmap",data:s,label:f}]};return ep(e,m),_u(e,m),m}function Up(e,t){const n=new Map,r=e=>{let t=n.get(e);return t||(t={name:e,children:[]},n.set(e,t)),t};return e.forEach(e=>{const n=e[t.encode.category];if(null==n||""===n)return;const o=String(n),a=r(o),i=Bu(e[t.encode.value]);null!==i&&(a.value=i);const l=function(e){if(null!=e&&""!==e)return String(e)}(t.encode.parent?e[t.encode.parent]:void 0);if(!l||l===o)return;const s=r(l);a.parentName=l,s.children.includes(a)||s.children.push(a)}),[...n.values()].filter(e=>!e.parentName||!n.has(e.parentName))}function Tp(e){const t="number"==typeof e.value?e.value:void 0,n=Array.isArray(e.children)?e.children.filter(Lu):[];return n.length?t??n.reduce((e,t)=>e+Tp(t),0):t??0}function jp(e,t,n="category"){if(void 0===e.dataLabels&&void 0===t.dataLabels)return;const r=Mp(e,t,n);if(r.show&&("{c}"===r.formatter||"function"==typeof r.formatter)){const e=r.formatter;r.formatter=t=>Ku(e,t,t.value??"")}return r}function Yp(e,t,n,r,o,a,i=new Set){if(i.has(e.name))return{name:e.name,value:e.value??0};i.add(e.name);const l=o+1Yp(e,t,n,r,o+1,a,new Set(i))):[],s=l.reduce((e,t)=>e+Tp(t),0),c=l.length&&(void 0===e.value||e.value<=0)?s:e.value??s,d=Ou(void 0,r);return{name:e.name,value:c,itemStyle:{color:bp(t.fill,r,o,d),...Sp(n)},...l.length?{children:l}:{}}}function Np(e,t){const n=Up(e,t),r="treemap"===t.type&&void 0===t.border?zl:t.border,o="number"==typeof t.levels&&t.levels>0?t.levels:Number.POSITIVE_INFINITY;return n.map((e,n)=>Yp(e,t,r,n,0,o))}function Zp(e,t,n,r){return Lu(e)&&"solid"!==e.type&&"gradient"!==e.type?gp(e[t],r):vp(e,n,r)}function Wp(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).find(e=>"sankey"===e.type);if(!n)return{series:[]};const r=function(e,t){const n=[],r=new Set,o=new Map,a=new Map,i=[],l=e=>{r.has(e)||(r.add(e),n.push(e),o.set(e,0),a.set(e,[]))};e.forEach(e=>{const n=e[t.encode.source],r=e[t.encode.target];if(null==n||null==r)return;const s=String(n),c=String(r);s&&c&&(l(s),l(c),a.get(s).push(c),o.set(c,(o.get(c)??0)+1),i.push({source:s,target:c,value:Bu(e[t.encode.flow])??0}))});const s=n.filter(e=>0===(o.get(e)??0)),c=[];for(;s.length;){const e=s.shift();c.push(e),a.get(e)?.forEach(e=>{o.set(e,(o.get(e)??0)-1),0===o.get(e)&&s.push(e)})}return{nodeNames:c.length===n.length?c:n,links:i}}(t,n),o=jp(e,n,"category");return{...Cp(e,"item",!1),series:[{type:"sankey",nodeAlign:n.nodeAlign??"justify",data:r.nodeNames.map((e,t)=>({name:e,itemStyle:{color:Zp(n.fill,e,t,Ou(void 0,t)),...Sp(n.border)}})),links:r.links,label:o}]}}function Gp(e){const t=new Set(e.series.map(e=>e.type));return[...t].some(e=>!["bar","line","area","scatter","bubble","candlestick","waterfall","heatmap","treemap","sunburst","sankey","pie","radar"].includes(e))?{title:{text:`Unsupported chart type: ${[...t].join(", ")}`}}:1===t.size&&t.has("heatmap")?Pp(e):1===t.size&&t.has("treemap")?function(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).find(e=>"treemap"===e.type);return n?{...Cp(e,"item",!1),series:[{type:"treemap",roam:!1,nodeClick:!1,data:Np(t,n),label:jp(e,n,"category")}]}:{series:[]}}(e):1===t.size&&t.has("sunburst")?function(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).find(e=>"sunburst"===e.type);return n?{...Cp(e,"item",!1),series:[{type:"sunburst",radius:[0,"80%"],sort:null,nodeClick:!1,data:Np(t,n),label:jp(e,n,"category")}]}:{series:[]}}(e):1===t.size&&t.has("sankey")?Wp(e):1===t.size&&t.has("pie")?function(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).filter(e=>"pie"===e.type);return{...Cp(e,"item"),series:n.map((n,r)=>{const o=n.encode.category,a=n.encode.value,i={...Mp(e,n,"value"),position:"inside"};return{type:"pie",name:n.name??a,radius:void 0!==n.innerRadius?[`${Math.round(65*n.innerRadius)}%`,"65%"]:"65%",center:["50%","50%"],data:t.map((e,t)=>{const i=Ou(void 0,t+r);return{name:String(e[o]??""),value:Bu(e[a])??0,itemStyle:{color:vp(n.fill,t,i)}}}),startAngle:n.startAngle??0,avoidLabelOverlap:!0,labelLayout:{hideOverlap:!0},label:i,labelLine:{show:!1}}})}}(e):1===t.size&&t.has("radar")?function(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).filter(e=>"radar"===e.type),r=Cp(e,"item"),o=n[0]?.encode.category,a=o?Tu(t,o):[],i=n.flatMap(e=>t.map(t=>Bu(t[e.encode.y])??0)),l=i.length>0?Math.max(...i):100;return{...r,radar:{indicator:a.map(e=>({name:e,max:l})),axisName:{fontSize:10}},series:[{type:"radar",data:n.map((e,n)=>{const r=Ou(void 0,n),o=gp(e.lineColor,r);return{name:e.name??e.encode.y,value:t.map(t=>Bu(t[e.encode.y])??0),lineStyle:{color:o,width:e.width??2,type:Vu(e.lineStyle)},itemStyle:{color:o},...e.areaColor&&{areaStyle:{color:gp(e.areaColor,r),opacity:.3}}}})}]}}(e):function(e){const t=Ru(e.data),n=e.series.map(t=>ju(e,t)).filter(e=>e.encode),r=Op(e,t,n,"x","category"),o=Op(e,t,n,"y","value"),a=function(e){return 1===e.length&&("candlestick"===e[0]?.type||"waterfall"===e[0]?.type)}(n),i=!(1===n.length&&"candlestick"===n[0]?.type||1===n.length&&"waterfall"===n[0]?.type),l=!a&&e.legend;return{...Cp(e,"axis",i,l),grid:$u(Ju(e.title),l,{hasXAxisTitle:r.some(t=>!!Hu(e.xAxis,r.indexOf(t))?.title),hasYAxisTitle:o.some(t=>!!Hu(e.yAxis,o.indexOf(t))?.title)}),xAxis:1===r.length?r[0].option:r.map(e=>e.option),yAxis:1===o.length?o[0].option:o.map(e=>e.option),series:n.flatMap((n,a)=>Bp(e,t,n,a,r.map(e=>e.type),o.map(e=>e.type))).filter(Boolean)}}(e)}function Vp(e){if(function(e){const t=e.data;return Lu(t)&&Array.isArray(t.cols)&&Array.isArray(t.rows)&&Array.isArray(e.series)}(e))return Gp(e);const t=e,n=t.type??"",r=Ul[n];return r?r(t):{title:{text:`Unsupported chart type: ${n}`}}}function Dp(e){const t=[];e.forEach((e,n)=>{const r=e.trigger??"onClick";"onClick"!==r&&0!==t.length||t.push({midPars:[]});const o=t[t.length-1];"withPrevious"===r&&0!==o.midPars.length||o.midPars.push({items:[]}),o.midPars[o.midPars.length-1].items.push({index:n,animation:e})});const n=e[0]?.trigger??"onClick";return{groups:t,autoPlayOnEntry:t.length>0&&"onClick"!==n}}function Kp(e){const t=e.plan.groups.find(t=>"pending"===e.states[t.midPars[0].items[0].index]);return!!t&&(Xp(e,t.midPars[0]),!0)}function Xp(e,t){for(const n of t.items)e.states[n.index]="started"}function Jp(e,t){e.states[t]="done";const n=e.plan.groups.find(e=>e.midPars.some(e=>e.items.some(e=>e.index===t)));if(!n)return;const r=n.midPars.findIndex(e=>e.items.some(e=>e.index===t));if(!n.midPars[r].items.every(t=>"done"===e.states[t.index]))return;const o=n.midPars[r+1];o&&Xp(e,o)}function qp(e){const t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d",e),t}function Qp(e,t,n){const[r,o,a,i]=e.bounds,[l,s]=e.pageSize;switch(t){case"up":return{x:0,y:n?s-o:-(o+i)};case"down":return{x:0,y:n?-(o+i):s-o};case"left":return{x:n?l-r:-(r+a),y:0};case"right":return{x:n?-(r+a):l-r,y:0};default:return{x:0,y:0}}}function $p(e,t){const n="inset(0 0 0 0)",r=(t?{up:"inset(100% 0 0 0)",down:"inset(0 0 100% 0)",left:"inset(0 100% 0 0)",right:"inset(0 0 0 100%)"}:{up:"inset(0 0 100% 0)",down:"inset(100% 0 0 0)",left:"inset(0 0 0 100%)",right:"inset(0 100% 0 0)"})[e]??"inset(100% 0 0 0)";return t?[r,n]:[n,r]}function _p(e,t,n){const r=.1*e.pageSize[1],o="down"===t?-1:1;return n?o*r:-o*r}function ef(e,t){const n=as(e),{baseOpacity:r}=t;switch(e.effect){case"appear":return[{visibility:"hidden"},{visibility:"visible"}];case"disappear":return[{visibility:"visible"},{visibility:"hidden"}];case"fade-in":return[{opacity:0},{opacity:r}];case"fade-out":return[{opacity:r},{opacity:0}];case"fly-in":{const{x:e,y:r}=Qp(t,n,!0);return[{transform:`translate(${e}px, ${r}px)`},{transform:"translate(0px, 0px)"}]}case"fly-out":{const{x:e,y:r}=Qp(t,n,!1);return[{transform:"translate(0px, 0px)"},{transform:`translate(${e}px, ${r}px)`}]}case"zoom-in":return[{transform:"scale(0)"},{transform:"scale(1)"}];case"zoom-out":return[{transform:"scale(1)"},{transform:"scale(0)"}];case"wipe-in":{const[e,t]=$p(n,!0);return[{clipPath:e},{clipPath:t}]}case"wipe-out":{const[e,t]=$p(n,!1);return[{clipPath:e},{clipPath:t}]}case"float-in":return[{transform:`translate(0px, ${_p(t,n,!0)}px)`,opacity:0},{transform:"translate(0px, 0px)",opacity:r}];case"float-out":return[{transform:"translate(0px, 0px)",opacity:r},{transform:`translate(0px, ${_p(t,n,!1)}px)`,opacity:0}];case"peek-in":{const[,,e,r]=t.bounds,{x:o,y:a,clip:i}=function(e,t,n){switch(e){case"down":return{x:0,y:-n,clip:"inset(100% 0 0 0)"};case"left":return{x:-t,y:0,clip:"inset(0 0 0 100%)"};case"right":return{x:t,y:0,clip:"inset(0 100% 0 0)"};default:return{x:0,y:n,clip:"inset(0 0 100% 0)"}}}(n,e,r);return[{transform:`translate(${o}px, ${a}px)`,clipPath:i},{transform:"translate(0px, 0px)",clipPath:"inset(0 0 0 0)"}]}case"rise-in":{const[,e]=t.bounds,[,n]=t.pageSize;return[{transform:`translate(0px, ${n-e}px)`},{transform:"translate(0px, 0px)"}]}case"transparency":return[{opacity:r},{opacity:e.amount??r}];case"pulse":return[{transform:"scale(1)",offset:0},{transform:"scale(1.1)",offset:.5},{transform:"scale(1)",offset:1}];case"grow-shrink":return[{transform:"scale(1)"},{transform:"scale(1.5)"}];case"spin":return[{transform:"rotate(0deg)"},{transform:"rotate(360deg)"}];case"teeter":return[{transform:"rotate(0deg)",offset:0},{transform:"rotate(5deg)",offset:.33},{transform:"rotate(-5deg)",offset:.66},{transform:"rotate(0deg)",offset:1}];case"motion-path":return function(e){const t=qp(e),n=t.getTotalLength(),r=[];for(let o=0;o<=ls;o++){const e=t.getPointAtLength(n*o/ls);r.push({transform:`translate(${e.x}px, ${e.y}px)`,offset:o/ls})}return r}(e.path);default:return[]}}function tf(e){return{duration:ns(e),delay:rs(e),easing:is(e),iterations:os(e),fill:"both"}}function nf(e){const t=Array.from(e.querySelectorAll('path[fill]:not([fill="none"])'));return t.length>0?{nodes:t,cssProperty:"fill"}:{nodes:[e.querySelector(".text-content")??e],cssProperty:"color"}}function rf(e){switch(e.effect){case"motion-path":return function(e){const t=qp(e),n=t.getPointAtLength(t.getTotalLength());return`translate(${n.x}px, ${n.y}px)`}(e.path);case"grow-shrink":return"scale(1.5)";case"spin":return"rotate(360deg)";default:return}}function of(e,t,n,r,o=(e,t)=>e.querySelector(`[data-element-id="${CSS.escape(t)}"]`)){const i={executed:new Set,played:[],baseTransforms:new Map,staticRetryFrame:0,scanRetryFrame:0},l=()=>{i.played.forEach(e=>e.cancel()),i.played.length=0,i.baseTransforms.clear(),i.executed.clear(),cancelAnimationFrame(i.staticRetryFrame),i.staticRetryFrame=0,cancelAnimationFrame(i.scanRetryFrame),i.scanRetryFrame=0},s=()=>{const n=t(),r=e.value;if(!n||!r)return 0;const a=new Map,i=new Map,l=new Map,s=new Map;n.animations.forEach((e,t)=>{if("done"!==n.states[t])return;const r=rf(e);if(r){const t=a.get(e.elementId);a.set(e.elementId,t?`${t} ${r}`:r)}const o=function(e){return"wipe-in"===e.effect||"peek-in"===e.effect?"inset(0 0 0 0)":"wipe-out"===e.effect?$p(as(e),!1)[1]:void 0}(e);o&&i.set(e.elementId,o);const c=function(e){if("fill-color"===e.effect)return e.color}(e);c&&l.set(e.elementId,c);const d=function(e){if("transparency"===e.effect)return e.amount}(e);void 0!==d&&s.set(e.elementId,d)});let c=0;return a.forEach((e,t)=>{const n=o(r,t);n?n.style.transform=e:c++}),i.forEach((e,t)=>{const n=o(r,t);n?n.style.clipPath=e:c++}),l.forEach((e,t)=>{const n=o(r,t);if(!n)return void c++;const{nodes:a,cssProperty:i}=nf(n);a.forEach(t=>t.style.setProperty(i,e))}),s.forEach((e,t)=>{const n=o(r,t);n?n.style.opacity=String(e):c++}),c},c=()=>{cancelAnimationFrame(i.staticRetryFrame);let e=0;const t=()=>{e++,s()>0&&e<60&&(i.staticRetryFrame=requestAnimationFrame(t))};t()},d=(e,t,n,o)=>{const a=e.animations[t];if("fill-color"===a.effect||"color-pulse"===a.effect)return void((e,t,n)=>{const r=e.animations[t];if("fill-color"!==r.effect&&"color-pulse"!==r.effect)return;const o=r.color??"#000000",{nodes:a,cssProperty:l}=nf(n),s=tf(r),c=a.map(e=>{const t=getComputedStyle(e).getPropertyValue(l),n="fill-color"===r.effect?[{[l]:t},{[l]:o}]:[{[l]:t,offset:0},{[l]:o,offset:.5},{[l]:t,offset:1}],a=e.animate(n,s);return i.played.push(a),a});Promise.all(c.map(e=>e.finished)).then(()=>Jp(e,t)).catch(()=>{})})(e,t,o);const{keyframes:l,options:s}=function(e,t){return{keyframes:(n=ef(e,t),r=t.baseTransform,r?n.map(e=>"string"==typeof e.transform?{...e,transform:`${r} ${e.transform}`}:e):n),options:tf(e)};var n,r}(a,{bounds:n.bounds,pageSize:r(),baseOpacity:n.opacity??1,baseTransform:i.baseTransforms.get(a.elementId)}),c=o.animate(l,s);i.played.push(c),c.finished.then(()=>{const n=rf(a);if(n){const e=i.baseTransforms.get(a.elementId);i.baseTransforms.set(a.elementId,e?`${e} ${n}`:n)}Jp(e,t)}).catch(()=>{})},u=()=>{cancelAnimationFrame(i.scanRetryFrame);let r=0;const a=()=>{const l=t();l&&(r++,0!==(()=>{const r=t(),a=e.value;if(!r||!a)return 0;let l=0;return r.states.forEach((e,t)=>{if("started"!==e||i.executed.has(t))return;const s=r.animations[t],c=n().find(e=>e.elementId===s.elementId);if(!c)return i.executed.add(t),void Jp(r,t);const u=o(a,s.elementId);u?(i.executed.add(t),d(r,t,c,u)):l++}),l})()&&(r>=120?l.states.forEach((e,t)=>{"started"!==e||i.executed.has(t)||(i.executed.add(t),Jp(l,t))}):i.scanRetryFrame=requestAnimationFrame(a)))};a()};B(t,()=>{l(),u(),c()}),B(()=>t()?.states,u,{deep:!0,flush:"post"});let p=0;B(()=>t()?.fastForwardSeq,e=>{const t=e??0,n=t>p;p=t,n&&i.played.forEach(e=>{"running"===e.playState&&e.finish()})}),L(()=>{u(),c()}),a(l)}function af(e){return c(()=>{const t=e();return t?function(e){const t=new Map,n=new Set;e.plan.groups.forEach(r=>{r.midPars.forEach(r=>{r.items.forEach(r=>{const o=e.states[r.index],{animation:a}=r,i=n.has(a.elementId);"pending"===o?!i&&_l(a)&&t.set(a.elementId,!1):_l(a)?t.set(a.elementId,!0):es(a)&&"done"===o&&t.set(a.elementId,!1),n.add(a.elementId)})})});const r=new Set;return t.forEach((e,t)=>{e||r.add(t)}),r}(t):void 0})}return e({At:function(e){const t={warnings:[]};return{data:xc(e,t),warnings:t.warnings}},B:Pd,C:pu,Ct:qc,Ft:function(e,t){const n=new Map(t?.map(e=>[e.path,e.content])??[]),r=e.pptdFileName??"presentation.pptd",o=n.get(r),a=ks(e,hs(o));return[{path:r,content:o?xs(o,a):ys(a)},...e.pages.map(e=>{const t=e.pagePath??`${e.pageId}.page`;return{path:t,content:Ss(e,n.get(t))}})]},G:Md,H:function(e){if(!e||"undefined"==typeof document)return e;const t=document.createElement("div");return t.innerHTML=e,t.querySelectorAll("p, li").forEach(e=>{e.style.removeProperty("line-height"),e.removeAttribute("data-empty-spacer"),e.getAttribute("style")||e.removeAttribute("style")}),t.innerHTML},I:function(e){C(xi,e)},J:function(e){return e instanceof HTMLElement&&e.closest("[data-element-id]")?.getAttribute("data-element-id")||null},K:Sd,M:function(e,t,n,r,o){if(!e.keypointPositions)return[0,0];const a=e.range?.[o]??[0,1e5],i=Math.max((a[1]-a[0])/1e3,1),l=[...r];l[o]=(r[o]??0)+i;const s=e.keypointPositions(t,n,r)[o],c=e.keypointPositions(t,n,l)[o];return s&&c?[(c[0]-s[0])/i,(c[1]-s[1])/i]:[0,0]},Mt:Cc,N:$d,Nt:Oc,Pt:Cs,St:Kc,V:function(e){if(!e||"undefined"==typeof document)return e;const t=document.createElement("div");return t.innerHTML=e,zd(t),Rd(t),Bd(t),t.querySelectorAll("p, li").forEach(e=>{e.style.removeProperty("text-align"),e.getAttribute("style")||e.removeAttribute("style")}),Hd(t),t.innerHTML},_t:function(e,t){if(!Wc(t.style))return t;const n=Vc(e,t.style),{style:r,...o}=t;return{...n,...o,color:Gc(e,t.color??n?.color),fontSize:t.fontSize??n?.fontSize,fontFamily:t.fontFamily??n?.fontFamily,fontStyle:t.fontStyle??n?.fontStyle,bold:t.bold??n?.bold,italic:t.italic??n?.italic,backgroundColor:Gc(e,t.backgroundColor??n?.backgroundColor),lineHeight:t.lineHeight??n?.lineHeight,lineHeightPx:t.lineHeightPx??n?.lineHeightPx,letterSpacing:t.letterSpacing??n?.letterSpacing,marginTop:t.marginTop??n?.marginTop,shadow:t.shadow?{...t.shadow,color:Gc(e,t.shadow.color)??t.shadow.color}:void 0}},a:function(e){return!(e.entryAutoPlayed||!e.plan.autoPlayOnEntry)&&(e.entryAutoPlayed=!0,Kp(e))},b:mu,bt:Xc,c:function(e){return e.states.every(e=>"done"===e)},ct:function(e,t){return e&&t?.length?t.find(t=>t.family===e&&hd(t.src))?.family??"":""},dt:ud,ft:function(e,t,n){if(!t?.length)return e;const r=new Set,o=[];for(const{family:a,src:i}of t)a&&!r.has(a)&&hd(i)&&(e.some(e=>"object"==typeof e&&null!==e&&(e.value===a||e.aliasList?.includes(a)))||(r.add(a),o.push({label:a,enLabel:a,value:a,aliasList:[a],locale:[]})));return o.length?[...o,n,...e]:e},g:Ou,gt:function(){return Xo??Promise.resolve()},ht:function(){const e=new Set,t=async(t={})=>{const{force:n=!1,onError:r,onProgress:o}=t,a=[],i=e.size;let l=0;for(const s of e){const e=ud(s,n,e=>o?.({done:l,total:i,fraction:e})).then(e=>({typeface:s.embedLabel??s.label,fontBlob:e}));e.catch(e=>{r?.(s,e)}),a.push(e.finally(()=>o?.({done:++l,total:i,fraction:0})))}return(await Promise.allSettled(a)).filter(e=>"fulfilled"===e.status).map(e=>e.value)};return{scan:(n,r=!1)=>{const o=n.theme;for(const t of n.pages)for(const n of t.elements)yd(n,e,o);if(r)return t()},loadFonts:t}},i:Kp,j:lu,jt:function(e){const t={warnings:[]};return{data:wc(e,t),warnings:t.warnings}},kt:Tc,lt:sd,mt:function(e,t,n){return e&&"string"!=typeof e?cd(n)?{...e,ea:t}:{...e,latin:t}:t},n:af,o:function(e){return{animations:e,plan:Dp(e),states:e.map(()=>"pending"),entryAutoPlayed:!1,fastForwardSeq:0}},pt:function(e,t){if(!e)return"";const n=cd(t);if("object"==typeof e){const t=n?e.ea:e.latin,r=n?e.latin:e.ea;return dd(t)||dd(r)}const r=e.split(",").map(e=>dd(e)).filter(Boolean);return r.length?n&&r[1]||r[0]:""},r:of,s:function(e){return!!e.states.includes("started")&&(e.fastForwardSeq++,!0)},st:function(e){const t=e.theme?{...e.theme,textStyles:e.theme.textStyles?Object.fromEntries(Object.entries(e.theme.textStyles).map(([e,t])=>[e,{...t,fontFamily:gd(t.fontFamily)}])):e.theme.textStyles}:e.theme;return{...e,theme:t,pages:e.pages.map(t=>({...t,elements:t.elements.map(t=>"text"===t.elementType?{...t,content:vd(t.content,e.theme)}:"table"===t.elementType?{...t,rows:t.rows.map(t=>t.map(t=>({...t,content:vd(t.content,e.theme)})))}:"chart"===t.elementType?{...t,fontFamily:t.fontFamily?gd(t.fontFamily):Do}:t)}))}},ut:function(e,t){return No[`${e}_${"zh-cn"===t?"label":"enLabel"}`]},v:xu,vt:Wc,w:su,xt:Gc,y:Cu,yt:ad,z:Ud}),{setters:[function(e){n=e.n},function(e){r=e.At,o=e.B,a=e.Ct,i=e.Dt,l=e.Et,s=e.G,c=e.H,d=e.K,u=e.Mt,p=e.Ot,f=e.Tt,m=e.U,A=e.W,g=e.Y,v=e.Z,y=e._,h=e._t,b=e.b,w=e.ct,x=e.et,S=e.g,k=e.it,M=e.kt,C=e.lt,O=e.m,I=e.mt,L=e.ot,E=e.pt,z=e.st,R=e.ut,B=e.vt,H=e.xt},function(e){F=e.c,P=e.x},function(e){U=e.t},function(e){T=e.o,j=e.r},function(e){Y=e.t},function(e){N=e.a,Z=e.n,W=e.o},function(e){G=e.C,V=e.D,D=e.E,K=e.L,X=e.S,J=e.T,q=e.V,Q=e.a,$=e.i,_=e.j,ee=e.l,te=e.n,ne=e.o,re=e.w,oe=e.y},function(e){ae=e.a,ie=e.i,le=e.n,se=e.r,ce=e.t},function(e){de=e.n,ue=e.t},function(e){pe=e.t},function(e){fe=e.C,me=e.E,Ae=e.S,ge=e.T,ve=e._,ye=e.a,he=e.b,be=e.c,we=e.d,xe=e.f,Se=e.g,ke=e.h,Me=e.i,Ce=e.l,Oe=e.m,Ie=e.n,Le=e.o,Ee=e.p,ze=e.r,Re=e.s,Be=e.t,He=e.u,Fe=e.v,Pe=e.w,Ue=e.x,Te=e.y},function(e){je=e.t},function(e){Ye=e.t},function(e){Ne=e.n}],execute:function(){(Ze=document.createElement("style")).textContent='.prosemirror-editor[data-v-87eddf05],.prosemirror-editor[data-v-87eddf05]:focus{width:100%;height:100%;box-shadow:none!important;outline:none!important}.prosemirror-editor[data-v-87eddf05]:focus-visible{width:100%;height:100%;box-shadow:none!important;outline:none!important}.prosemirror-editor[data-v-87eddf05] p{outline:none;margin:0}.prosemirror-editor[data-v-87eddf05] ul,.prosemirror-editor[data-v-87eddf05] ol{margin:0;padding-left:1.5em}:is(.prosemirror-editor[data-v-87eddf05] ul,.prosemirror-editor[data-v-87eddf05] ol) li{list-style-position:outside}.prosemirror-editor[data-text-align=center][data-v-87eddf05] ul,.prosemirror-editor[data-text-align=center][data-v-87eddf05] ol{padding-left:0}:is(.prosemirror-editor[data-text-align=center][data-v-87eddf05] ul,.prosemirror-editor[data-text-align=center][data-v-87eddf05] ol) li{list-style-position:inside}:is(.prosemirror-editor[data-text-align=center][data-v-87eddf05] ul,.prosemirror-editor[data-text-align=center][data-v-87eddf05] ol) li>p:first-child{display:inline}.prosemirror-editor[data-v-87eddf05] [style*="position: absolute"],.prosemirror-editor[data-v-87eddf05] [style*=position\\:absolute]{white-space:normal!important;position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}.prosemirror-editor[data-v-87eddf05] li[data-empty-list-item=true]{list-style-type:none!important}.prosemirror-editor[data-v-87eddf05] p[data-empty-spacer=true]{min-height:0;font-size:0!important}.prosemirror-editor[data-v-87eddf05] p[data-empty-spacer=true] *{font-size:0!important;line-height:inherit!important}.prosemirror-editor[data-v-87eddf05] blockquote{border-left:3px solid var(--Separators-S1,#ddd);margin:0;padding-left:1em}.prosemirror-editor[data-v-87eddf05] a{color:inherit;cursor:pointer;text-decoration:underline}.prosemirror-editor[data-v-87eddf05] .ProseMirror{justify-content:var(--pm-align);flex-direction:column;width:100%;height:100%;display:flex}.prosemirror-editor[data-v-87eddf05] .ProseMirror-focused{outline:none!important}.prosemirror-editor[data-v-87eddf05] .latex-inline{cursor:pointer;user-select:text;text-decoration:inherit;border-radius:4px;padding:2px 4px;font-family:KaTeX_Main,Times New Roman,serif;line-height:1.2;display:inline-block}.prosemirror-editor[data-v-87eddf05] .latex-inline:has(.mfrac){padding:.8em 4px}.prosemirror-editor[data-v-87eddf05] .latex-inline:hover{background-color:var(--Fills-F1)}.prosemirror-editor[data-v-87eddf05] .latex-inline .katex{text-indent:0;text-rendering:auto;user-select:none;font-size:1em;line-height:1.2}.prosemirror-editor[data-v-87eddf05] .latex-inline .katex{text-decoration:inherit;font-weight:inherit;font-style:inherit;font-size:inherit}.prosemirror-editor[data-v-87eddf05] .latex-inline .katex>math{text-decoration:inherit;font-weight:inherit;font-style:inherit;font-size:inherit}.prosemirror-editor[data-v-87eddf05] .ProseMirror-focused .latex-inline.ProseMirror-selectednode{background-color:rgba(23,131,255,.125)}.pptd-text[data-v-0dcafa92]{box-sizing:border-box;outline:none}.text-content[data-v-0dcafa92]{outline:none;position:relative}.text-content[data-v-0dcafa92] .prosemirror-editor{height:auto}.text-content[data-v-0dcafa92] [style*="position: absolute"],.text-content[data-v-0dcafa92] [style*=position\\:absolute]{white-space:normal!important;position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}.text-content[data-v-0dcafa92] li[data-empty-list-item=true]{list-style-type:none!important}.text-content[data-v-0dcafa92] p[data-empty-spacer=true]{min-height:0;font-size:0!important}.text-content[data-v-0dcafa92] p[data-empty-spacer=true] *{font-size:0!important;line-height:inherit!important}.text-static[data-v-0dcafa92]{--default-margin-top:0px;width:100%;line-height:inherit}.text-static.is-gradient[data-v-0dcafa92]{color:transparent;background-image:var(--backgroundImage);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.text-static[data-v-0dcafa92] p{margin:0;margin-top:var(--default-margin-top);line-height:inherit;outline:none}.text-static.is-nowrap[data-v-0dcafa92] p{height:1lh}.text-static[data-v-0dcafa92] ul,.text-static[data-v-0dcafa92] ol{margin:0;padding-left:1.5em}.text-static[data-text-align=center][data-v-0dcafa92] ul,.text-static[data-text-align=center][data-v-0dcafa92] ol{padding-left:0}:is(.text-static[data-text-align=center][data-v-0dcafa92] ul,.text-static[data-text-align=center][data-v-0dcafa92] ol) li{list-style-position:inside}:is(.text-static[data-text-align=center][data-v-0dcafa92] ul,.text-static[data-text-align=center][data-v-0dcafa92] ol) li>p:first-child{display:inline}.text-static[data-v-0dcafa92] blockquote{border-left:3px solid var(--Separators-S1,#ddd);margin:0;padding-left:1em}.text-static[data-v-0dcafa92] sub,.text-static[data-v-0dcafa92] sup{vertical-align:baseline;font-size:.75em;line-height:0;position:relative}.text-static[data-v-0dcafa92] sub{bottom:-.25em}.text-static[data-v-0dcafa92] sup{top:-.35em}.text-static[data-v-0dcafa92] a{color:inherit;text-decoration:underline}.text-static[data-v-0dcafa92] .latex-inline{text-decoration:inherit;border-radius:4px;padding:2px 4px;font-family:KaTeX_Main,Times New Roman,serif;line-height:1.2;display:inline-block}.text-static[data-v-0dcafa92] .latex-inline:has(.mfrac){padding:.8em 4px}.text-static[data-v-0dcafa92] .latex-inline .katex{text-indent:0;text-rendering:auto;user-select:none;text-decoration:inherit;font-size:1em;line-height:1.2;font-weight:inherit;font-style:inherit}.pptd-shape[data-v-684ec2ce]{box-sizing:border-box;pointer-events:none}.pptd-shape svg[data-v-684ec2ce]{display:block}.pptd-shape path[data-v-684ec2ce]{pointer-events:visiblePainted}.pptd-shape .line-hit-area[data-v-684ec2ce]{pointer-events:stroke}.pptd-line[data-v-b619bf31]{box-sizing:border-box;pointer-events:none}.pptd-line svg[data-v-b619bf31]{display:block}.pptd-line path[data-v-b619bf31]{pointer-events:visibleStroke}.pptd-line .line-hit-area[data-v-b619bf31]{pointer-events:stroke}.pptd-image[data-v-21122ecf]{box-sizing:border-box}.pptd-image svg[data-v-21122ecf]{display:block}.pptd-image__placeholder[data-v-21122ecf]{color:#aeb4bd;background:#f7f8fa;place-items:center;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.pptd-image__placeholder--loading[data-v-21122ecf]:after{content:"";border:2px solid rgba(0,0,0,.16);border-top-color:rgba(0,0,0,.48);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite pptd-image-loading-21122ecf}.pptd-image__placeholder--error[data-v-21122ecf]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}.pptd-image__placeholder-icon[data-v-21122ecf]{width:min(42px,42%);height:min(42px,42%)}@keyframes pptd-image-loading-21122ecf{to{transform:rotate(360deg)}}.pptd-table-cell[data-v-c248007e]{vertical-align:middle;box-sizing:border-box;padding:0;line-height:1.12;position:relative;overflow:hidden}.pptd-table-cell.selected[data-v-c248007e]:after{content:"";pointer-events:none;background-color:rgba(102,102,102,.3);width:100%;height:100%;position:absolute;top:0;left:0}.pptd-table-cell-content[data-v-c248007e]{inset:var(--cell-padding-y,3.6px) 7.2px;cursor:text;display:flex;position:absolute;overflow:hidden}.pptd-table-cell-content[data-v-c248007e] [style*="position: absolute"],.pptd-table-cell-content[data-v-c248007e] [style*=position\\:absolute]{white-space:normal!important;position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}.pptd-table-cell-content[data-v-c248007e] li[data-empty-list-item=true]{list-style-type:none!important}.pptd-table-cell-content[data-v-c248007e] p[data-empty-spacer=true]{min-height:0;font-size:0!important}.pptd-table-cell-content[data-v-c248007e] p[data-empty-spacer=true] *{font-size:0!important;line-height:inherit!important}.pptd-table-cell-static[data-v-c248007e]{width:100%;min-width:0;height:100%;display:flex;overflow:hidden}.pptd-table-cell-static-inner[data-v-c248007e]{justify-content:inherit;flex-direction:column;flex:none;width:100%;height:100%;display:flex;overflow:visible}.pptd-table-cell-static-inner[data-v-c248007e] ul{margin:0;padding-left:1.5em}.pptd-table-cell-static-inner[data-v-c248007e] ol{margin:0;padding-left:1.5em}.pptd-table-cell-static-inner[data-v-c248007e] p:empty:after{content:" "}.pptd-table-cell-static-inner[data-v-c248007e] .latex-inline{text-decoration:inherit;border-radius:4px;padding:2px 4px;font-family:KaTeX_Main,Times New Roman,serif;line-height:1.2;display:inline-block}.pptd-table-cell-static-inner[data-v-c248007e] .latex-inline:has(.mfrac){padding:.25em 4px}.pptd-table-cell-static-inner[data-v-c248007e] .latex-inline .katex{text-indent:0;text-rendering:auto;user-select:none;text-decoration:inherit;font-size:1em;line-height:1.2;font-weight:inherit;font-style:inherit}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ul{padding-left:0}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ul li{list-style-position:inside}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ul li>p:first-child{display:inline}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ol{padding-left:0}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ol li{list-style-position:inside}.pptd-table-cell-static[data-text-align=center] .pptd-table-cell-static-inner[data-v-c248007e] ol li>p:first-child{display:inline}.pptd-table-cell-content[data-v-c248007e] p{margin:0;margin-top:var(--cell-margin-top,0px);line-height:inherit}.pptd-table-cell-content[data-v-c248007e] .ProseMirror{height:auto;max-height:100%;white-space:inherit;word-break:inherit;display:block;overflow:hidden}.pptd-table-cell-content[data-v-c248007e] .prosemirror-editor{min-width:0;overflow:hidden}.pptd-table[data-v-aa0f483e]{box-sizing:border-box;overflow:visible}.pptd-table.dragging .pptd-table-cell[data-v-aa0f483e],.pptd-table:not(.editing) .pptd-table-cell[data-v-aa0f483e]{pointer-events:none}.pptd-table-grid[data-v-aa0f483e]{border-collapse:collapse;table-layout:fixed;word-wrap:break-word;width:100%;height:100%}.table-resize-handlers[data-v-aa0f483e]{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;top:0;left:0}.drag-line-col[data-v-aa0f483e]{cursor:col-resize;pointer-events:auto;opacity:0;background-color:transparent;width:4px;margin-left:-2px;transition:opacity .15s;position:absolute;top:0;bottom:0}.drag-line-row[data-v-aa0f483e]{cursor:row-resize;pointer-events:auto;opacity:0;background-color:transparent;height:4px;margin-top:-2px;transition:opacity .15s;position:absolute;left:0;right:0}.drag-line-col[data-v-aa0f483e]:hover,.drag-line-col.dragging[data-v-aa0f483e],.drag-line-row[data-v-aa0f483e]:hover,.drag-line-row.dragging[data-v-aa0f483e]{opacity:.7;background-color:var(--Colors-KMBlue,#666)}.pptd-table.dragging .drag-line-col[data-v-aa0f483e]:not(.dragging),.pptd-table.dragging .drag-line-row[data-v-aa0f483e]:not(.dragging){opacity:0}.pptd-chart[data-v-96b529a8]{box-sizing:border-box;position:absolute}.pptd-chart__background[data-v-96b529a8],.pptd-chart__canvas[data-v-96b529a8],.pptd-chart__border[data-v-96b529a8]{position:absolute;top:0;bottom:0;left:0;right:0}.pptd-chart__background[data-v-96b529a8]{z-index:0;pointer-events:none}.pptd-chart__canvas[data-v-96b529a8]{z-index:1}.pptd-chart__border[data-v-96b529a8]{z-index:2;box-sizing:border-box;pointer-events:none}.pptd-icon[data-v-0b3c6d6e]{box-sizing:border-box;pointer-events:none}.pptd-icon svg[data-v-0b3c6d6e]{pointer-events:all;display:block}.pptd-icon .pptd-icon__local-svg[data-v-0b3c6d6e]{pointer-events:all}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [fill=currentColor]{fill:var(--icon-fill)}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [fill=currentcolor]{fill:var(--icon-fill)}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [stroke=currentColor]{stroke:var(--icon-fill)}.pptd-icon .pptd-icon__local-svg [data-v-0b3c6d6e] [stroke=currentcolor]{stroke:var(--icon-fill)}.thumbnail-slide[data-v-6a8dfeb3]{width:100%;position:relative;overflow:hidden}.slide-wrapper[data-v-6a8dfeb3]{transform-origin:0 0;position:relative}.background[data-v-6a8dfeb3],.background-image[data-v-6a8dfeb3],.background-mask[data-v-6a8dfeb3]{width:100%;height:100%;position:absolute;top:0;left:0}.background-image[data-v-6a8dfeb3],.background-mask[data-v-6a8dfeb3]{pointer-events:none;display:block}.background.is-loading[data-v-6a8dfeb3]:after{content:"";border:2px solid rgba(0,0,0,.16);border-top-color:rgba(0,0,0,.48);border-radius:50%;width:18px;height:18px;margin:-9px 0 0 -9px;animation:.8s linear infinite thumbnail-background-loading-6a8dfeb3;position:absolute;top:50%;left:50%}.background.is-error[data-v-6a8dfeb3]:after{content:"";background:radial-gradient(circle at 74% 26%,#aeb4bd 0,#aeb4bd 3px,transparent 4px),linear-gradient(135deg,transparent 54%,#aeb4bd 55%,#aeb4bd 59%,transparent 60%),linear-gradient(45deg,transparent 48%,#aeb4bd 49%,#aeb4bd 53%,transparent 54%);border:2px solid #aeb4bd;border-radius:4px;width:42px;height:34px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes thumbnail-background-loading-6a8dfeb3{to{transform:rotate(360deg)}}.thumbnail-element[data-v-6a8dfeb3]{pointer-events:none}.thumbnail-element.animation-hidden[data-v-6a8dfeb3]{visibility:hidden}.thumbnail-element.interactive[data-v-6a8dfeb3]{pointer-events:auto}\n/*$vite$:1*/',document.head.appendChild(Ze),We=4,Ge=new Set(["bounds","size","arrow","adjustments"]),Ve=[960,540],De={indent:4,lineWidth:-1,noRefs:!0,quotingType:'"',forceQuotes:!1},Ke=["text","shape","line","image","icon","table","chart"],Xe=["solid","gradient","image"],Je=["linear","radial"],qe=["fill","contain","cover"],Qe=["solid","dash","dot"],$e=["left","center","right","justify","distributed"],_e=["top","middle","bottom"],et=["horizontal","vertical"],tt=["sharp","round","smooth"],nt=["arrow","stealth","diamond","oval"],rt=["category","value"],ot=[!0,!1,"start","end","both"],at=["top","bottom","left","right"],it=["value","percentage","category"],lt=["circle","rect","diamond","triangle"],st=["zero","gap","connect"],ct=["value","percent"],dt=["value","percent","stream"],ut=["linear","sqrt","log"],pt=["linear","diverging"],ft=["left","right","justify"],mt=["bar","line","area","scatter","bubble","candlestick","pie","radar","waterfall","heatmap","treemap","sunburst","sankey"],At=[960,540],gt=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),vt=e=>"string"==typeof e,yt=e=>"number"==typeof e&&Number.isFinite(e),ht=e=>"boolean"==typeof e,bt=e=>null===e||vt(e)||yt(e)||ht(e),wt=(e,t)=>t.includes(e),xt=e=>Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e)),St=(e,t,n,r,o)=>{e.issues.push({path:t,message:n,action:r,value:o})},kt=(e,t,n,r)=>{const o=t[n];if(void 0!==o)return vt(o)?o:void St(e,r,"Expected string","remove",o)},Mt=(e,t,n,r)=>{const o=t[n];if(void 0!==o)return yt(o)?o:void St(e,r,"Expected number","remove",o)},Ct=(e,t,n,r)=>{const o=t[n];if(void 0!==o)return ht(o)?o:void St(e,r,"Expected boolean","remove",o)},Ot=(e,t,n,r,o)=>{if(!Array.isArray(t)||t.length!==r)return void St(e,n,`Expected tuple with ${r} items`,"remove",t);const a=[];for(let i=0;iOt(e,t,n,r,(t,n)=>{if(yt(t))return t;St(e,n,"Expected number","remove",t)}),Lt=(e,t,n,r)=>Ot(e,t,n,r,(t,n)=>{if(ht(t))return t;St(e,n,"Expected boolean","remove",t)}),Et=(e,t,n,r=!1)=>{if(void 0===t&&r)return;if(!Array.isArray(t))return void St(e,n,"Expected string array","remove",t);const o=t.filter((t,r)=>!!vt(t)||(St(e,`${n}[${r}]`,"Expected string","remove",t),!1));return o.length>0||!r?o:void 0},zt=(e,t,n)=>{if(Array.isArray(t))return t.filter((t,r)=>!!yt(t)||(St(e,`${n}[${r}]`,"Expected number","remove",t),!1));St(e,n,"Expected number array","remove",t)},Rt=(e,t,n)=>Et(e,t,n,!0),Bt=(e,t,n)=>{if(vt(t))return t;if(gt(t)){if(vt(t.latin)&&vt(t.ea))return{latin:t.latin,ea:t.ea};St(e,n,"FontFamily object requires latin and ea","remove",t)}else St(e,n,"Expected fontFamily string or object","remove",t)},Ht=(e,t,n)=>xt({color:kt(e,t,"color",`${n}.color`),fontSize:Mt(e,t,"fontSize",`${n}.fontSize`),fontFamily:void 0===t.fontFamily?void 0:Bt(e,t.fontFamily,`${n}.fontFamily`),bold:Ct(e,t,"bold",`${n}.bold`),italic:Ct(e,t,"italic",`${n}.italic`),backgroundColor:kt(e,t,"backgroundColor",`${n}.backgroundColor`),lineHeight:Mt(e,t,"lineHeight",`${n}.lineHeight`),lineHeightPx:Mt(e,t,"lineHeightPx",`${n}.lineHeightPx`),letterSpacing:Mt(e,t,"letterSpacing",`${n}.letterSpacing`),marginTop:Mt(e,t,"marginTop",`${n}.marginTop`)}),Ft=(e,t,n)=>{if(gt(t))return Ht(e,t,n);St(e,n,"Expected text style object","remove",t)},Pt=(e,t,n)=>Ot(e,t,n,2,(t,n,r)=>0===r&&wt(t,$e)||1===r&&wt(t,_e)?t:void St(e,n,"Invalid alignment","remove",t)),Ut=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected border object","remove",t);let r;return void 0!==t.style&&(wt(t.style,Qe)?r=t.style:St(e,`${n}.style`,"Invalid border style","remove",t.style)),xt({style:r,width:Mt(e,t,"width",`${n}.width`),color:kt(e,t,"color",`${n}.color`)})},Tt=(e,t,n)=>{if(null===t)return null;if(Array.isArray(t)){if(2!==t.length&&4!==t.length)return void St(e,n,"Expected border tuple with 2 or 4 items","remove",t);const r=t.map((t,r)=>null===t?null:Ut(e,t,`${n}[${r}]`));return r.every(e=>void 0!==e)?r:void 0}return Ut(e,t,n)},jt=(e,t,n)=>{if(!gt(t)||!yt(t.blur)||!vt(t.color))return void St(e,n,"Shadow requires blur and color","remove",t);const r=void 0===t.offset?void 0:It(e,t.offset,`${n}.offset`,2);return{blur:t.blur,color:t.color,...r?{offset:r}:{}}},Yt=(e,t,n)=>{if(gt(t)&&wt(t.mode,qe))return{mode:t.mode};St(e,n,"Image fit requires valid mode","remove",t)},Nt=(e,t,n)=>{if(gt(t))return xt({left:Mt(e,t,"left",`${n}.left`),top:Mt(e,t,"top",`${n}.top`),right:Mt(e,t,"right",`${n}.right`),bottom:Mt(e,t,"bottom",`${n}.bottom`)});St(e,n,"Expected crop object","remove",t)},Zt=(e,t,n)=>{if("gradient"!==t.type||!wt(t.gradientType,Je)||!Array.isArray(t.stops))return void St(e,n,"Gradient fill requires gradientType and stops","remove",t);const r=t.stops.map((t,r)=>{if(gt(t)&&yt(t.position)&&vt(t.color))return{position:t.position,color:t.color};St(e,`${n}.stops[${r}]`,"Gradient stop requires position and color","remove",t)}).filter(e=>!!e);if(!(r.length<2))return xt({type:"gradient",gradientType:t.gradientType,stops:r,angle:Mt(e,t,"angle",`${n}.angle`)});St(e,`${n}.stops`,"Gradient fill requires at least 2 stops","remove",t.stops)},Wt=(e,t,n)=>{if(gt(t)&&wt(t.type,Xe)){if("solid"===t.type)return vt(t.color)?{type:"solid",color:t.color}:void St(e,`${n}.color`,"Solid fill requires color","remove",t.color);if("gradient"===t.type)return Zt(e,t,n);if(vt(t.src))return xt({type:"image",src:t.src,fit:void 0===t.fit?void 0:Yt(e,t.fit,`${n}.fit`),crop:void 0===t.crop?void 0:Nt(e,t.crop,`${n}.crop`),opacity:Mt(e,t,"opacity",`${n}.opacity`)});St(e,`${n}.src`,"Image fill requires src","remove",t.src)}else St(e,n,"Expected fill object with valid type","remove",t)},Gt=(e,t,n)=>vt(t)?t:gt(t)&&"gradient"===t.type?Zt(e,t,n):void St(e,n,"Expected color string or gradient fill","remove",t),Vt=(e,t,n)=>{if(vt(t)||gt(t)&&"gradient"===t.type)return Gt(e,t,n);if(Array.isArray(t)){const r=t.map((t,r)=>Vt(e,t,`${n}[${r}]`)).filter(e=>void 0!==e);return r.length>0?r:void 0}if(gt(t)){const r={};return Object.entries(t).forEach(([t,o])=>{const a=Gt(e,o,`${n}.${t}`);void 0!==a&&(r[t]=a)}),Object.keys(r).length>0?r:void 0}St(e,n,"Expected chart fill value","remove",t)},Dt=(e,t,n)=>{if(gt(t)&&vt(t.shapeName)){if("custom"!==t.shapeName||vt(t.path))return xt({shapeName:t.shapeName,adjustments:void 0===t.adjustments?void 0:zt(e,t.adjustments,`${n}.adjustments`),viewBox:void 0===t.viewBox?void 0:It(e,t.viewBox,`${n}.viewBox`,2),path:kt(e,t,"path",`${n}.path`)});St(e,n,"Custom ShapeDef requires path","remove",t)}else St(e,n,"ShapeDef requires shapeName","remove",t)},Kt=(e,t,n)=>{if(gt(t))return xt({...Ht(e,t,n),fill:void 0===t.fill?void 0:Wt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Tt(e,t.border,`${n}.border`),align:void 0===t.align?void 0:Pt(e,t.align,`${n}.align`)});St(e,n,"Expected cell style object","remove",t)},Xt=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected table style object","remove",t);const r=Array.isArray(t.bodyStyles)?t.bodyStyles.map((t,r)=>Kt(e,t,`${n}.bodyStyles[${r}]`)).filter(e=>!!e):void 0;return void 0===t.bodyStyles||Array.isArray(t.bodyStyles)||St(e,`${n}.bodyStyles`,"Expected bodyStyles array","remove",t.bodyStyles),xt({cellStyle:void 0===t.cellStyle?void 0:Kt(e,t.cellStyle,`${n}.cellStyle`),firstRowStyle:void 0===t.firstRowStyle?void 0:Kt(e,t.firstRowStyle,`${n}.firstRowStyle`),lastRowStyle:void 0===t.lastRowStyle?void 0:Kt(e,t.lastRowStyle,`${n}.lastRowStyle`),firstColumnStyle:void 0===t.firstColumnStyle?void 0:Kt(e,t.firstColumnStyle,`${n}.firstColumnStyle`),lastColumnStyle:void 0===t.lastColumnStyle?void 0:Kt(e,t.lastColumnStyle,`${n}.lastColumnStyle`),bodyStyles:r&&r.length>0?r:void 0,rowOverColumn:Ct(e,t,"rowOverColumn",`${n}.rowOverColumn`)})},Jt=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected theme object","remove",t);const r={};gt(t.colors)?Object.entries(t.colors).forEach(([t,o])=>{vt(o)?r[t]=o:St(e,`${n}.colors.${t}`,"Expected color string","remove",o)}):void 0!==t.colors&&St(e,`${n}.colors`,"Expected colors object","remove",t.colors);const o={};gt(t.textStyles)?Object.entries(t.textStyles).forEach(([t,r])=>{const a=Ft(e,r,`${n}.textStyles.${t}`);a&&(o[t]=a)}):void 0!==t.textStyles&&St(e,`${n}.textStyles`,"Expected textStyles object","remove",t.textStyles);const a={};return gt(t.tableStyles)?Object.entries(t.tableStyles).forEach(([t,r])=>{const o=Xt(e,r,`${n}.tableStyles.${t}`);o&&(a[t]=o)}):void 0!==t.tableStyles&&St(e,`${n}.tableStyles`,"Expected tableStyles object","remove",t.tableStyles),xt({colors:Object.keys(r).length>0?r:void 0,textStyles:Object.keys(o).length>0?o:void 0,tableStyles:Object.keys(a).length>0?a:void 0})},qt=(e,t,n)=>{if(void 0===t)return;if(!Array.isArray(t))return void St(e,n,"Expected customFonts array","remove",t);const r=t.map((t,r)=>{if(gt(t)&&vt(t.family)&&vt(t.src))return{family:t.family,src:t.src};St(e,`${n}[${r}]`,"CustomFont requires family and src","remove",t)}).filter(e=>!!e);return r.length>0?r:void 0},Qt=(e,t,n)=>{const r=vt(t.elementId)?t.elementId:void 0,o=It(e,t.bounds,`${n}.bounds`,4);if(r||St(e,`${n}.elementId`,"Element requires elementId","remove",t.elementId),o)return xt({elementId:r,bounds:o,rotation:Mt(e,t,"rotation",`${n}.rotation`),opacity:Mt(e,t,"opacity",`${n}.opacity`),flip:void 0===t.flip?void 0:Lt(e,t.flip,`${n}.flip`,2)})},$t=(e,t,n)=>{if(!gt(t))return void St(e,n,"Text content requires text","remove",t);if(!vt(t.text))return void St(e,`${n}.text`,"Text content requires text string","remove",t.text);let r;return void 0!==t.textDirection&&(wt(t.textDirection,et)?r=t.textDirection:St(e,`${n}.textDirection`,"Invalid textDirection","remove",t.textDirection)),xt({text:t.text,style:kt(e,t,"style",`${n}.style`),...Ht(e,t,n),textDirection:r,wrap:Ct(e,t,"wrap",`${n}.wrap`),align:void 0===t.align?void 0:Pt(e,t.align,`${n}.align`),gradient:void 0===t.gradient?void 0:Zt(e,t.gradient,`${n}.gradient`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)})},_t=(e,t,n)=>{if(gt(t))return xt({text:kt(e,t,"text",`${n}.text`),textStyle:kt(e,t,"textStyle",`${n}.textStyle`),...Ht(e,t,n),fill:void 0===t.fill?void 0:Wt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Tt(e,t.border,`${n}.border`),align:void 0===t.align?void 0:Pt(e,t.align,`${n}.align`),rowSpan:Mt(e,t,"rowSpan",`${n}.rowSpan`),colSpan:Mt(e,t,"colSpan",`${n}.colSpan`)});St(e,n,"Expected cell object","remove",t)},en=e=>e.reduce((e,t)=>Math.max(e,t.reduce((e,t)=>e+(yt(t.colSpan)&&t.colSpan>1?t.colSpan:1),0)),0),tn=e=>{const t=Math.max(0,Math.ceil(e));return t>0?Array.from({length:t},()=>1/t):[]},nn=(e,t,n,r,o)=>{const a=void 0===t?void 0:zt(e,t,n);return a&&a.length>0?a:(St(e,n,`${o} fallback to equal rates`,"fallback",t),tn(r))},rn=(e,t,n)=>{if(Array.isArray(t.rows))return t.rows.map((t,r)=>{if(Array.isArray(t))return t.map((t,o)=>_t(e,t,`${n}.rows[${r}][${o}]`)).filter(e=>!!e);St(e,`${n}.rows[${r}]`,"Expected cell row array","remove",t)}).filter(e=>!!e);St(e,`${n}.rows`,"Table requires rows array","remove",t.rows)},on=(e,t,n,r=!1)=>{if(!gt(t))return void St(e,n,"Expected line style object","remove",t);let o,a;return void 0!==t.style&&(wt(t.style,Qe)?o=t.style:St(e,`${n}.style`,"Invalid line style","remove",t.style)),r&&void 0!==t.arrow&&(wt(t.arrow,ot)?a=t.arrow:St(e,`${n}.arrow`,"Invalid axis arrow","remove",t.arrow)),xt({style:o,color:kt(e,t,"color",`${n}.color`),width:Mt(e,t,"width",`${n}.width`),arrow:a})},an=(e,t,n)=>vt(t)?t:gt(t)&&vt(t.text)?xt({text:t.text,color:kt(e,t,"color",`${n}.color`),fontSize:Mt(e,t,"fontSize",`${n}.fontSize`),fontFamily:void 0===t.fontFamily?void 0:Bt(e,t.fontFamily,`${n}.fontFamily`)}):void St(e,n,"Title requires string or object with text","remove",t),ln=(e,t,n)=>{if(ht(t))return t;if(!gt(t))return void St(e,n,"Legend requires boolean or object","remove",t);let r;return void 0!==t.position&&(wt(t.position,at)?r=t.position:St(e,`${n}.position`,"Invalid legend position","remove",t.position)),xt({show:Ct(e,t,"show",`${n}.show`),position:r,color:kt(e,t,"color",`${n}.color`),fontSize:Mt(e,t,"fontSize",`${n}.fontSize`),fontFamily:void 0===t.fontFamily?void 0:Bt(e,t.fontFamily,`${n}.fontFamily`)})},sn=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected dataLabels object","remove",t);let r;return void 0!==t.content&&(wt(t.content,it)?r=t.content:St(e,`${n}.content`,"Invalid data label content","remove",t.content)),xt({show:Ct(e,t,"show",`${n}.show`),content:r,color:kt(e,t,"color",`${n}.color`),numberFormat:kt(e,t,"numberFormat",`${n}.numberFormat`),fontSize:Mt(e,t,"fontSize",`${n}.fontSize`),fontFamily:void 0===t.fontFamily?void 0:Bt(e,t.fontFamily,`${n}.fontFamily`)})},cn=(e,t,n)=>{if(gt(t))return xt({color:kt(e,t,"color",`${n}.color`),fontSize:Mt(e,t,"fontSize",`${n}.fontSize`),fontFamily:void 0===t.fontFamily?void 0:Bt(e,t.fontFamily,`${n}.fontFamily`),numberFormat:kt(e,t,"numberFormat",`${n}.numberFormat`)});St(e,n,"Expected axis label object","remove",t)},dn=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected axis object","remove",t);let r;return void 0!==t.type&&(wt(t.type,rt)?r=t.type:St(e,`${n}.type`,"Invalid axis type","remove",t.type)),xt({show:Ct(e,t,"show",`${n}.show`),type:r,min:Mt(e,t,"min",`${n}.min`),max:Mt(e,t,"max",`${n}.max`),reverse:Ct(e,t,"reverse",`${n}.reverse`),title:void 0===t.title?void 0:an(e,t.title,`${n}.title`),label:void 0===t.label?void 0:ht(t.label)?t.label:cn(e,t.label,`${n}.label`),axisLine:void 0===t.axisLine?void 0:ht(t.axisLine)?t.axisLine:on(e,t.axisLine,`${n}.axisLine`,!0),gridLine:void 0===t.gridLine?void 0:ht(t.gridLine)?t.gridLine:on(e,t.gridLine,`${n}.gridLine`)})},un=(e,t,n)=>{if(Array.isArray(t)){const r=t.map((t,r)=>dn(e,t,`${n}[${r}]`)).filter(e=>!!e);return r.length>0?r:void 0}return dn(e,t,n)},pn=(e,t,n)=>{if(gt(t))return xt({show:Ct(e,t,"show",`${n}.show`),min:Mt(e,t,"min",`${n}.min`),max:Mt(e,t,"max",`${n}.max`),label:void 0===t.label?void 0:ht(t.label)?t.label:cn(e,t.label,`${n}.label`),axisLine:void 0===t.axisLine?void 0:on(e,t.axisLine,`${n}.axisLine`),gridLine:void 0===t.gridLine?void 0:on(e,t.gridLine,`${n}.gridLine`)});St(e,n,"Expected spokeAxis object","remove",t)},fn=(e,t,n)=>{if(void 0===t)return;if(!1===t)return!1;if(!gt(t))return void St(e,n,"Expected marker object or false","remove",t);let r;return void 0!==t.shape&&(wt(t.shape,lt)?r=t.shape:St(e,`${n}.shape`,"Invalid marker shape","remove",t.shape)),xt({shape:r,fill:void 0===t.fill?void 0:Gt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),size:Mt(e,t,"size",`${n}.size`)})},mn=(e,t,n)=>{if(gt(t)&&vt(t.col)&&(vt(t.value)||yt(t.value)))return{col:t.col,value:t.value};St(e,n,"dataFilter requires col and value","remove",t)},An=(e,t,n,r,o=[])=>{if(!gt(t))return void St(e,n,"Expected encode object","remove",t);const a={};for(const i of r){if(!vt(t[i]))return void St(e,`${n}.${i}`,"Encode field requires string","remove",t[i]);a[i]=t[i]}for(const i of o)void 0!==t[i]&&(vt(t[i])?a[i]=t[i]:St(e,`${n}.${i}`,"Encode field requires string","remove",t[i]));return a},gn=(e,t,n,r,o,a=[])=>{if(!r)return An(e,t.encode,`${n}.encode`,o,a)??null},vn=(e,t,n)=>xt({smooth:Ct(e,t,"smooth",`${n}.smooth`),lineStyle:void 0===t.lineStyle?void 0:wt(t.lineStyle,Qe)?t.lineStyle:void 0,width:Mt(e,t,"width",`${n}.width`),marker:fn(e,t.marker,`${n}.marker`),nullHandling:void 0===t.nullHandling?void 0:wt(t.nullHandling,st)?t.nullHandling:void 0,lineColor:void 0===t.lineColor?void 0:Gt(e,t.lineColor,`${n}.lineColor`)}),yn=(e,t,n)=>{if(gt(t))return xt({fill:void 0===t.fill?void 0:Gt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`)});St(e,n,"Expected bars style object","remove",t)},hn=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected colorScale object","remove",t);let r;return void 0!==t.type&&(wt(t.type,pt)?r=t.type:St(e,`${n}.type`,"Invalid colorScale type","remove",t.type)),xt({type:r,domain:void 0===t.domain?void 0:It(e,t.domain,`${n}.domain`,2)})},bn=(e,t,n,r=!1)=>{if(!gt(t)||!r&&!wt(t.type,mt))return void St(e,n,"Expected chart series object with valid type","remove",t);const o=t.type,a=xt({name:kt(e,t,"name",`${n}.name`),xAxisIndex:Mt(e,t,"xAxisIndex",`${n}.xAxisIndex`),yAxisIndex:Mt(e,t,"yAxisIndex",`${n}.yAxisIndex`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`)});if("bar"===o){const o=gn(e,t,n,r,["x","y"]);if(null===o)return;const i=void 0===t.stack?void 0:wt(t.stack,ct)?t.stack:void 0;return xt({type:r?void 0:"bar",encode:o,...a,stack:i,symbol:void 0===t.symbol?void 0:Dt(e,t.symbol,`${n}.symbol`),fill:void 0===t.fill?void 0:Gt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`)})}if("line"===o){const o=gn(e,t,n,r,["x","y"]);if(null===o)return;return xt({type:r?void 0:"line",encode:o,...a,...vn(e,t,n)})}if("area"===o){const o=gn(e,t,n,r,["x","y"]);if(null===o)return;const i=void 0===t.stack?void 0:wt(t.stack,dt)?t.stack:void 0;return xt({type:r?void 0:"area",encode:o,...a,...vn(e,t,n),stack:i,areaColor:void 0===t.areaColor?void 0:Gt(e,t.areaColor,`${n}.areaColor`)})}if("scatter"===o){const o=gn(e,t,n,r,["x","y"]);if(null===o)return;return xt({type:r?void 0:"scatter",encode:o,...a,dataFilter:void 0===t.dataFilter?void 0:mn(e,t.dataFilter,`${n}.dataFilter`),marker:void 0===t.marker?void 0:fn(e,t.marker,`${n}.marker`),fill:void 0===t.fill?void 0:Gt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`)})}if("bubble"===o){const o=gn(e,t,n,r,["x","y","size"]);if(null===o)return;let i;return void 0!==t.sizeScale&&(wt(t.sizeScale,ut)?i=t.sizeScale:St(e,`${n}.sizeScale`,"Invalid sizeScale","remove",t.sizeScale)),xt({type:r?void 0:"bubble",encode:o,...a,dataFilter:void 0===t.dataFilter?void 0:mn(e,t.dataFilter,`${n}.dataFilter`),sizeScale:i,sizeRange:void 0===t.sizeRange?void 0:It(e,t.sizeRange,`${n}.sizeRange`,2),fill:void 0===t.fill?void 0:Gt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`)})}if("candlestick"===o){const o=gn(e,t,n,r,["x","high","low","close"],["open"]);if(null===o)return;return xt({type:r?void 0:"candlestick",encode:o,xAxisIndex:Mt(e,t,"xAxisIndex",`${n}.xAxisIndex`),yAxisIndex:Mt(e,t,"yAxisIndex",`${n}.yAxisIndex`),upBars:void 0===t.upBars?void 0:yn(e,t.upBars,`${n}.upBars`),downBars:void 0===t.downBars?void 0:yn(e,t.downBars,`${n}.downBars`),wickStyle:void 0===t.wickStyle?void 0:Ut(e,t.wickStyle,`${n}.wickStyle`)})}if("pie"===o){const o=gn(e,t,n,r,["category","value"]);if(null===o)return;return xt({type:r?void 0:"pie",encode:o,innerRadius:Mt(e,t,"innerRadius",`${n}.innerRadius`),startAngle:Mt(e,t,"startAngle",`${n}.startAngle`),fill:void 0===t.fill?void 0:Vt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`)})}if("radar"===o){const o=gn(e,t,n,r,["category","y"]);if(null===o)return;return xt({type:r?void 0:"radar",encode:o,...a,...vn(e,t,n),areaColor:void 0===t.areaColor?void 0:Gt(e,t.areaColor,`${n}.areaColor`)})}if("waterfall"===o){const o=gn(e,t,n,r,["x","y"],["isTotal"]);if(null===o)return;return xt({type:r?void 0:"waterfall",encode:o,totalBars:void 0===t.totalBars?void 0:yn(e,t.totalBars,`${n}.totalBars`),increaseBars:void 0===t.increaseBars?void 0:yn(e,t.increaseBars,`${n}.increaseBars`),decreaseBars:void 0===t.decreaseBars?void 0:yn(e,t.decreaseBars,`${n}.decreaseBars`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`)})}if("heatmap"===o){const o=gn(e,t,n,r,["x","y","value"]);if(null===o)return;return xt({type:r?void 0:"heatmap",encode:o,colorScheme:void 0===t.colorScheme?void 0:Rt(e,t.colorScheme,`${n}.colorScheme`),colorScale:void 0===t.colorScale?void 0:hn(e,t.colorScale,`${n}.colorScale`),colorbar:void 0===t.colorbar?void 0:ht(t.colorbar)?t.colorbar:ln(e,t.colorbar,`${n}.colorbar`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`)})}if("treemap"===o||"sunburst"===o){const a=gn(e,t,n,r,["category","value"],["parent"]);if(null===a)return;return xt({type:r?void 0:o,encode:a,levels:Mt(e,t,"levels",`${n}.levels`),fill:void 0===t.fill?void 0:Vt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`)})}const i=gn(e,t,n,r,["source","target","flow"]);if(null===i)return;let l;return void 0!==t.nodeAlign&&(wt(t.nodeAlign,ft)?l=t.nodeAlign:St(e,`${n}.nodeAlign`,"Invalid nodeAlign","remove",t.nodeAlign)),xt({type:r?void 0:"sankey",encode:i,nodeAlign:l,fill:void 0===t.fill?void 0:Vt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`)})},wn=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected seriesDefaults object","remove",t);const r={};return["bar","line","area","scatter","bubble","candlestick","radar"].forEach(o=>{const a=t[o];if(void 0===a)return;if(!gt(a))return void St(e,`${n}.${o}`,"Expected series default object","remove",a);const i=bn(e,{...a,type:o},`${n}.${o}`,!0);i&&(r[o]=i)}),Object.keys(r).length>0?r:void 0},xn=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected chart data object","remove",t);const r=Et(e,t.cols,`${n}.cols`);if(r){if(Array.isArray(t.rows))return{cols:r,rows:t.rows.map((t,r)=>{if(Array.isArray(t))return t.map((t,o)=>bt(t)?t:(St(e,`${n}.rows[${r}][${o}]`,"Chart cell converted to null","replace",t),null));St(e,`${n}.rows[${r}]`,"Expected chart row array","remove",t)}).filter(e=>!!e)};St(e,`${n}.rows`,"Expected chart rows array","remove",t.rows)}},Sn=(e,t,n)=>{if(!gt(t)||!wt(t.elementType,Ke))return void St(e,n,"Expected element object with valid elementType","remove",t);const r=Qt(e,t,n);if(!r||!r.elementId)return;if("text"===t.elementType){const o=$t(e,t.content,`${n}.content`);if(!o)return;return{...r,elementType:"text",content:o}}if("shape"===t.elementType)return vt(t.shapeName)?"custom"!==t.shapeName||vt(t.path)?xt({...r,elementType:"shape",shapeName:t.shapeName,adjustments:void 0===t.adjustments?void 0:zt(e,t.adjustments,`${n}.adjustments`),viewBox:void 0===t.viewBox?void 0:It(e,t.viewBox,`${n}.viewBox`,2),path:kt(e,t,"path",`${n}.path`),fill:void 0===t.fill?void 0:Wt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)}):void St(e,n,"Custom shape requires path","remove",t):void St(e,`${n}.shapeName`,"Shape element requires shapeName","remove",t.shapeName);if("line"===t.elementType){const o=It(e,t.viewBox,`${n}.viewBox`,2),a=kt(e,t,"points",`${n}.points`);if(!o||!a)return;let i;void 0!==t.curve&&(wt(t.curve,tt)?i=t.curve:St(e,`${n}.curve`,"Invalid line curve","remove",t.curve));const l=void 0===t.arrow?void 0:Ot(e,t.arrow,`${n}.arrow`,2,(t,n)=>{if(null===t||wt(t,nt))return t;St(e,n,"Invalid arrow type","remove",t)});return xt({...r,elementType:"line",viewBox:o,points:a,curve:i,arrow:l,border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)})}if("image"===t.elementType)return vt(t.src)?xt({...r,elementType:"image",src:t.src,cropShape:void 0===t.cropShape?void 0:Dt(e,t.cropShape,`${n}.cropShape`),fit:void 0===t.fit?void 0:Yt(e,t.fit,`${n}.fit`),crop:void 0===t.crop?void 0:Nt(e,t.crop,`${n}.crop`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)}):void St(e,`${n}.src`,"Image element requires src","remove",t.src);if("icon"===t.elementType)return vt(t.iconName)?xt({...r,elementType:"icon",iconName:t.iconName,fill:void 0===t.fill?void 0:Wt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)}):void St(e,`${n}.iconName`,"Icon element requires iconName","remove",t.iconName);if("table"===t.elementType){const o=rn(e,t,n);if(!o)return;return xt({...r,elementType:"table",columnWidths:nn(e,t.columnWidths,`${n}.columnWidths`,en(o),"columnWidths"),rowHeights:nn(e,t.rowHeights,`${n}.rowHeights`,o.length,"rowHeights"),rows:o,style:void 0===t.style?void 0:vt(t.style)?t.style:Xt(e,t.style,`${n}.style`),fill:void 0===t.fill?void 0:Wt(e,t.fill,`${n}.fill`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)})}const o=xn(e,t.data,`${n}.data`),a=Array.isArray(t.series)?t.series.map((t,r)=>bn(e,t,`${n}.series[${r}]`)).filter(e=>!!e):void 0;if(o&&a&&0!==a.length)return xt({...r,elementType:"chart",data:o,series:a,seriesDefaults:void 0===t.seriesDefaults?void 0:wn(e,t.seriesDefaults,`${n}.seriesDefaults`),xAxis:void 0===t.xAxis?void 0:un(e,t.xAxis,`${n}.xAxis`),yAxis:void 0===t.yAxis?void 0:un(e,t.yAxis,`${n}.yAxis`),barWidth:Mt(e,t,"barWidth",`${n}.barWidth`),barGap:Mt(e,t,"barGap",`${n}.barGap`),categoryGap:Mt(e,t,"categoryGap",`${n}.categoryGap`),spokeAxis:void 0===t.spokeAxis?void 0:pn(e,t.spokeAxis,`${n}.spokeAxis`),title:void 0===t.title?void 0:an(e,t.title,`${n}.title`),legend:void 0===t.legend?void 0:ln(e,t.legend,`${n}.legend`),dataLabels:void 0===t.dataLabels?void 0:sn(e,t.dataLabels,`${n}.dataLabels`),fontFamily:void 0===t.fontFamily?void 0:Bt(e,t.fontFamily,`${n}.fontFamily`),fill:void 0===t.fill?void 0:Wt(e,t.fill,`${n}.fill`),border:void 0===t.border?void 0:Ut(e,t.border,`${n}.border`),shadow:void 0===t.shadow?void 0:jt(e,t.shadow,`${n}.shadow`)});St(e,n,"Chart requires data and series","remove",t)},kn=["onClick","withPrevious","afterPrevious"],Mn=["up","down","left","right"],Cn=["linear","ease-in","ease-out","ease-in-out"],On=["appear","fade-in","fly-in","zoom-in","wipe-in","float-in","peek-in","rise-in","pulse","grow-shrink","spin","teeter","fill-color","transparency","color-pulse","disappear","fade-out","fly-out","zoom-out","wipe-out","float-out","motion-path"],In=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected animation object","remove",t);if(!vt(t.elementId))return void St(e,`${n}.elementId`,"Expected string","remove",t.elementId);if(!wt(t.effect,On))return void St(e,`${n}.effect`,"Unknown animation effect","remove",t.effect);const r=void 0===t.trigger?void 0:t.trigger;void 0===r||wt(r,kn)||St(e,`${n}.trigger`,"Unknown animation trigger","remove",r);const o=void 0===t.direction?void 0:t.direction;void 0===o||wt(o,Mn)||St(e,`${n}.direction`,"Unknown animation direction","remove",o);const a=void 0===t.easing?void 0:t.easing;return void 0===a||wt(a,Cn)||St(e,`${n}.easing`,"Unknown animation easing","remove",a),xt({elementId:t.elementId,effect:t.effect,trigger:void 0!==r&&wt(r,kn)?r:void 0,direction:void 0!==o&&wt(o,Mn)?o:void 0,easing:void 0!==a&&wt(a,Cn)?a:void 0,durationMs:Mt(e,t,"durationMs",`${n}.durationMs`),delayMs:Mt(e,t,"delayMs",`${n}.delayMs`),repeat:Mt(e,t,"repeat",`${n}.repeat`),path:"motion-path"===t.effect?kt(e,t,"path",`${n}.path`):void 0,color:"fill-color"===t.effect||"color-pulse"===t.effect?kt(e,t,"color",`${n}.color`):void 0,amount:"transparency"===t.effect?Mt(e,t,"amount",`${n}.amount`):void 0})},Ln=(e,t,n)=>{if(void 0===t)return;if(!Array.isArray(t))return void St(e,n,"Expected animations array","remove",t);const r=t.map((t,r)=>In(e,t,`${n}[${r}]`)).filter(e=>!!e);return r.length>0?r:void 0},En=(e,t,n)=>{if(!gt(t))return void St(e,n,"Expected page object","drop-page",t);const r=Array.isArray(t.elements)?t.elements.map((t,r)=>Sn(e,t,`${n}.elements[${r}]`)).filter(e=>!!e):[];return Array.isArray(t.elements)||St(e,`${n}.elements`,"Expected elements array, fallback to []","fallback",t.elements),xt({pageType:kt(e,t,"pageType",`${n}.pageType`),background:void 0===t.background?void 0:Wt(e,t.background,`${n}.background`),notes:kt(e,t,"notes",`${n}.notes`),elements:r,animations:Ln(e,t.animations,`${n}.animations`)})},zn=(e,t)=>{if(!gt(t))return St(e,"presentation.pptd","Expected PPTD v2 meta object","fallback",t),{version:"v2",size:At,pages:[]};"v2"!==t.version&&St(e,"presentation.pptd.version","PPTD v2 meta requires version: v2","replace",t.version);const n=It(e,t.size,"presentation.pptd.size",2);return n||St(e,"presentation.pptd.size","Invalid size, fallback to default","fallback",t.size),xt({version:"v2",title:kt(e,t,"title","presentation.pptd.title"),customFonts:qt(e,t.customFonts,"presentation.pptd.customFonts"),size:n??At,theme:void 0===t.theme?void 0:Jt(e,t.theme,"presentation.pptd.theme"),pages:Et(e,t.pages,"presentation.pptd.pages")??[]})},Rn=e=>{te("PPTD v2 checker found invalid data",e)},Bn=(e={})=>{const t=!1!==e.enabled,n={issues:[]};return{meta:e=>t?zn(n,e):e,page:(e,r)=>t?En(n,e,r):e,add:(e,r,o,a)=>{t&&St(n,e,r,o,a)},flush:()=>(n.issues.length>0&&(e.onIssue??Rn)(n.issues),n.issues)}},Hn={indent:4},Fn=new Set(["bounds","size","arrow","adjustments"]),Pn=["#1783FF","#68B8A8","#C9A86A","#8C84C9","#8D98A8","#5F9CF5","#7BB6D9","#B28A9E","#333333","#dddddd"],Un=e=>{const t=[...Pn];return e?.slice(0,Pn.length).forEach((e,n)=>{e&&(t[n]=e)}),t},Tn={entrance:["appear","fade-in","fly-in","zoom-in","wipe-in","float-in","peek-in","rise-in"],emphasis:["pulse","grow-shrink","spin","teeter","fill-color","transparency","color-pulse"],exit:["disappear","fade-out","fly-out","zoom-out","wipe-out","float-out"],"motion-path":["motion-path"]},e("Dt",jn=Object.entries(Tn).flatMap(([e,t])=>t.map(t=>({category:e,effect:t})))),e("Ot",e=>jn.find(t=>t.effect===e)?.category??"entrance"),Yn=1,Nn=n({default:()=>Zn}),Zn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAXESURBVHic7d1biFVVHMfxr46Ok2k5WZON5YzVZIEiQheTMNMoyNCUfLDnLtCFiMAiDIIIfOih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VtGphHO+uzkxMp7/WwrHvMIuYNgCq8QsW1qn0IraanPHDtrjQv32Hp2x9yfruWpSA0pY+eXHjC6v4Pp1wOPA18D9wD53zreWYgeofWILW2XVSFirXbJ6DXikCmN5Umc0+Jhfx91+YwVJoDB1YUFCgvHdzdjWmx9UD+eFDQd3MrNIWC1uv1PJ6v9BCSu/eoLjxiLlivHL0/wWnDvi9jsiB8n93K2+4Nw5a8kVZNGyj5mnVTA5g9eTOqCElV8HbJmYgjklyoba3coFu2zMx/vV7TdGfuD9ozGHE85/6/ZjupkXppw/UUbZ6yNeT3JACSu//gRed8cbgEURg+TtwDPueFvCIHl30IW7MiKmT5g/JZTpdPuLU7qFs4F7U17zkNufW6LcQntvZAzQoHu+bbQ1qxYAd9rWA3xuraRBG9tpsLlaVwP3uOuPA5sT4p6ytbLW2fEW4B1LZAMu5mSb77TWXftmkdVPt9vPrwAesGt328KBw/bPc6olx5XAZ/aNQMXssa5ri63GMGiP6Qy6L9xYbInvAzu3tkQ8ERkFHZEL2IVbtyW7Yprtiy3Kibk55YswlroVRYttx2xNLb8kTLHVGtZE1KnPEvpT7mfLRvieS42ohZV/PwJ32STKRdYFmh904wZsYL3HFrfbB+xMeezmhE132ATcbjELyyS3WOvmqMX8zsbCdqQ817jTWj13W9KYbVuPJdDdwMfW3VsV8bu/b2Nxq+z377DB/26r015rHXZZt1VERERERERERERERERERERERERERERERERERERERERk5P4FjrqSWt+NZS8AAAAASUVORK5CYII=",Wn=n({default:()=>Gn}),Gn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAXESURBVHic7d1biFVVHMfxr46Ok2k5WZON5YzVZIEiQheTMNMoyNCUfLDnLtCFiMAiDIIIfOihfCjqpbKXLg+adnkwdZDIkDILCilzLoU1mreZpsaxtJf/gT+rfc5e58w+c86efh/YsPfstf9nzWHOf9Zae+11QERERERERERERERERERERERERERERESknoyrd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W2XVSFirXbJ6DXikCmN5Umc0+Jhfx91+YwVJoDB1YUFCgvHdzdjWmx9UD+eFDQd3MrNIWC1uv1PJ6v9BCSu/eoLjxiLlivHL0/wWnDvi9jsiB8n93K2+4Nw5a8kVZNGyj5mnVTA5g9eTOqCElV8HbJmYgjklyoba3coFu2zMx/vV7TdGfuD9ozGHE85/6/ZjupkXppw/UUbZ6yNeT3JACSu//gRed8cbgEURg+TtwDPueFvCIHl30IW7MiKmT5g/JZTpdPuLU7qFs4F7U17zkNufW6LcQntvZAzQoHu+bbQ1qxYAd9rWA3xuraRBG9tpsLlaVwP3uOuPA5sT4p6ytbLW2fEW4B1LZAMu5mSb77TWXftmkdVPt9vPrwAesGt328KBw/bPc6olx5XAZ/aNQMXssa5ri63GMGiP6Qy6L9xYbInvAzu3tkQ8ERkFHZEL2IVbtyW7Yprtiy3Kibk55YswlroVRYttx2xNLb8kTLHVGtZE1KnPEvpT7mfLRvieS42ohZV/PwJ32STKRdYFmh904wZsYL3HFrfbB+xMeezmhE132ATcbjELyyS3WOvmqMX8zsbCdqQ817jTWj13W9KYbVuPJdDdwMfW3VsV8bu/b2Nxq+z377DB/26r015rHXZZt1VERERERERERERERERERERERERERERERERERERERERk5P4FjrqSWt+NZS8AAAAASUVORK5CYII=",Vn=n({default:()=>Dn}),Dn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAwUSURBVHic7Z17sFdVFcc/l4vgBXmI4FskFfMq8jITuWIR1kAaypSKSKBZYaMNPhMzzKnUsUlNJt+NyuQoaZmlDppo+YC0jNToSpj5QC3TK4maguKvP/zuZs3unP07P+7vwb2sz8yZc+7Ze5/fOvu399prr73274LjOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jOI7jdJoOoAR8q2D+ScpfAkbUWLYs+pnPn1bF504Afg9cp8+oF5fo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nUMxr9S75/miQgFIHgK9q6qRJ+LOYa1sL3Bf7tpTMpX0OfAh83SKefmwFVgGfAI8CTy9xf1Jnqt6/VFTSpSj50pomZUNF+2UF8TWJN78ka3u8rpQtrVns0qA6vg9LymyOUUaTf/w34zKx507gtRY/nLXZHFk/CYuCtXpH43b+rvhctdZvKkYkTWPeWvC0fM/yGInmbXbHscUqS1hXADc1jN8HR3XRuRv4qOKf/lQcL1K0WLms5Amp34Q1HXNPdf3tK1kzmCe8qlL1htWngA+y+i9mc2yLUTViuyqS888lcZ+L46sGFIs0csp+tHVvGxjk2xoGEW/RD3xY7Qf5Cukm8ewpicPFz5KgYoQmSSOlaM5vtuHraiRpqPK7jK8mjzdogvkclsbBp7H0R5IkSZIkSZIkSZIkSZIkSZIkSZLU3n+rt85DFmSDUAAAAABJRU5ErkJggg==",_n=n({default:()=>er}),er="./Jersey20Charted_label-_uZY6PRO.png",tr=n({default:()=>nr}),nr="./Jersey20Charted_label-_uZY6PRO.png",rr=n({default:()=>or}),or="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAqVSURBVHic7Z17sFVVHcc/lwu+GMoHSjq8xFEzH4QZEZSo0JhhYSU+spDUShtJaJTCZ1hqaWLJlGSpERqYYTpI6mhkKAE3cjCBFCURG51rks9mIKdOf/RdzW92+7H2Pfuc+/p9Zvbsfc5er3PP2b/1e611wXEcx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3Ecx3G6FbsAhwEndPZAHMdxipgC1IDHO3sg3YU+nT0Ax3GcWHqSwBqr2aoGfLiOdqaadq4HWkrWv8zUf3+JegOA44BZwG3ASmArsAl4GJgPnAuMBlpz2jnB9P+RkmO/y9Q9pES9nYDNqndOyT4ti0z/yWMjcK/+vuMa/NvdHRgF7NbAPpxeTlUCqxX4kWnrpBJ1x5t6X4qssw9wEbAl8YD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CH6QhGSYMuTfCatHwPRy9OTxnIvYFPq62TllgfExP284x4rP5qvxYdEbGEOKxtEb85POeIlHuxbWzru8As+wJNOmbSYuSwUuYp7yotm8boOb3kPxugyeFaU+fk8bNayGeIw8oLydivTFzjldoVPCbFsb6HdjtLigd7R9BRQm7PLZV7LdMMlWeJ9JECDPlWa4YKn1eac2ZpCmuXxLm1dTroGz7foEjlEWUEAp2rCsp4no4wrE/Z2IhJV4nCQvFIc02dFysQcZ7OnIXvr5egZ9HFBCCWtDS5WQNqUaKNJqbkb5ayCunulnV7tc7phe9/kuJzq5XCooK+aFbMV6jXQu2AXZUI7pxR0Dd3fEI2y71ekPsjKe+1kM9aKKxLzb0tstK/IVldb/q1rv/yWu9dQstO4E6dd5sgTT1QDd1DMUDr9XpE1kLMtvNLssqmSICH6Xct0Hbrr7R07JeRf7s2BB5TYOBALXHmKu9y1T3PrL9M1wl6/lqt65sUd1Npukp4Q5bmnfK3jNXxm66KvZojJRYGehZvakl4lxT7OFlsO+Uvu0RlLMnom63ypUzQa6QstWfUv2dpp/ipgr8zltg23qp/LbhBR1pG6vOrcjXMkAw8nfGcPBbpnzMOlr9smDY19pci2qiD3Eul0NNi02oln9UyR8dzJmicjZTFvFmhFufqXzV2RJRVmLb6j56hGlCHSVD6KpJ2icznJZGBkI7jvItoC4XVDPxVpvjDZonYXwGiJyjdrbIKVmgXK8S/9NayZlOZZziO49SMpMPVMhj4itbqdo2/2ii3mC18x3HeYTTy37buql2V8fLJDJET+CE5Uqs9z+U4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juM47wb+C9ApoVHeX9qoAAAAAElFTkSuQmCC",jr=n({default:()=>Yr}),Yr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAA64SURBVHic7Z17kFTFFca/2WFYnq6IQJSVh3FFQyT4QFEgigZFU2jwEYxB45P4YBUianyBL6ioCGa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bK2oC8RnQTd4roTyIeEQG7nNqDb6eFWlH818u0SudnvurE7krIh6+dhjJcLUw/KnnRvm855fjL+sgI7QRtf5RbRio8PcUy1Zu8ID1jpf3NkpMa8c/ac578p95Az8gtIlfgP89sIYGVdn+vgTLKDdk1wtdOQ2knAtjXSVTIqDtuu5wO58EfGhseOsgosKXvdVUqcm1oisBLth4IuCYO6wQNw8gE3kanWRa4GyXAJLth5Idro7025ZdkGEbLYILHpyrtpoeGYRiZEOek6dot1MiAcqwlNIzzmQHiblIpjpFNsrbQ94/f30i544hhGEZRuMjhbe861hbJ+dYwDKMgest+Vj5h9WSejsOGYRiZMs6xpOq07IpaiOOpkZK24uhnGGmZJps0Vsk6ux8B+HO5M2UYhmEYhmEYhmEYhmEYhmEYhlEQ/wX6LAhjXRpEaAAAAABJRU5ErkJggg==",Ro=n({default:()=>Bo}),Bo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAyCAYAAADm1uYqAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAp2SURBVHic7Z17jBVnGcaf3e1xQaAUKC4gAawtuNzKVVEoLCCFgizXVuwlS0VFWmpLqdaiWIsWitp7apWWgNYgitSSllBTBEOkJc26IYQQXIMlqCT8YVQaYzc1Of7hM/HNm2/mzJyd3bPF55d82T0zZ77LnPO9896+7wBCCCGEEEIIIYQQQgghhBCiJO+vdAeEyJPqSndAdCirAaypdCeEECINTQCKANZVuiM5shRAM4Blle6IoQrAlZXuhBDvde6gwCoCqKt0Z3LiETOm7wDoXukOAZgA4DUKLiHe03wIwO0snf2F/p6Z3EM7ue2OYqgZUxHAJnPuGgBrAXwdwFWd1J8qANvZlymd1KYQuXM5gJsAnDCTay+AFZ2oFbzJdts6cQLXABgH4Gsc77U8lhe9ncAqUki9HDj+PID+ObYdopb3twhgfge3JUSu9AFwA4DHAVwITKCoHADQM+e2bwVQb173N+193hwfTc1rU46CZACAhayzJTDe7/Pe5MEHE+5rqPwYQKGMdmpTfkaDT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GRJHB5bY16vcsj5Fake0MuCs8Yk9xmP1FD7TXQrHi0YojQ6Mf3PKrWZ8SoUtbTQZZ7vcrVamO8xgO0U+NLQ/luhyrMxxMu92T+WqQP2/dWH3VmpuRWolpRzTFyhQp5YItTd0gLAqJmhVEVOcsIm0wl/x9csU0COoVdkUjkZTz72Btp9LmV6wlJqZTyi1Guo17jOwDJGwEl2VuJSBckvk+4goMJenSB/Ucff+W/i+uWW01cpo1tyALy3r7p5pStI2M9U0pb2Q2BPIlyqaNX5fMseO0T+UtB3OpoQ+eCLT+jRNRWtWXunqzXMraCE6jJ5uyUgepd61UQfgqxQs1qf1tJsoM12SaDOAT9NcKtXmGWpuNoK1tYSw28DgwVhqZAuYsrGEJlIDBequFLtU9Itp5z5GtF9zx6OUjN4u560psFzIl7RbvwykHy2klfn95S+VXyYS/wcsKrHnVJZypkTkMFoA/HBMtKnACV5vloUMCUQaQ+WC0VxAX9OWQP/u6aCFvptdW0dMFHC8c4BbTWkoTcV9FNpjGcyI27q6KYe+egE7JIc6RQKysfNlGP1CfwHwLid7gf/XULgM5gTsB+ADnPT/5GfRA8AfacocTWinL6N3ZzP2bzSAX9D38yI1pD8DeJs+o3foD/pD4NpG7oP1O+7H9XbGttMy3OQ3vU7tzI7zPi5FAu/TbeZcFQX1u67OvuxzlKx5lCkJSfe4FNXsi10p8BGXmyWEaCd9+IMUafZxrxQN1OBCC5YLTLZ9pozfARxELS2vzfUKbj8u/S6hEKJLY/2FWX9YRAghOpUoK769KwiEEKLD6cclV/dUuiNCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIITqJ/wD1AXXa9XDlxgAAAABJRU5ErkJggg==",Ho="zh-cn",Fo="en-us",Po=new Set(["zh","ja","ko"]),Uo=e=>{const[t]=e.toLowerCase().replace(/_/g,"-").split("-");return Po.has(t)},e("wt",jo=[{label:"默认字体",enLabel:"Default",value:"",aliasList:[],locale:[Ho,Fo]},{label:"Liter",enLabel:"Liter",value:"Liter",aliasList:["Liter"],fntdataUrl:(To="./neo-ppt/")+"fonts/fnt/Liter.fntdata",locale:[Fo]},{label:"Hedvig Letters Sans",enLabel:"Hedvig Letters Sans",value:"HedvigLettersSans",aliasList:["Hedvig Letters Sans","HedvigLettersSans"],fntdataUrl:`${To}fonts/fnt/HedvigLettersSans.fntdata`,locale:[Fo]},{label:"Oranienbaum",enLabel:"Oranienbaum",value:"Oranienbaum",aliasList:["Oranienbaum"],fntdataUrl:`${To}fonts/fnt/Oranienbaum.fntdata`,locale:[Fo]},{label:"Quattrocento Sans",enLabel:"Quattrocento Sans",value:"QuattrocentoSans",aliasList:["Quattrocento Sans","QuattrocentoSans"],fntdataUrl:`${To}fonts/fnt/QuattrocentoSans.fntdata`,locale:[Fo]},{label:"Sorts Mill Goudy",enLabel:"Sorts Mill Goudy",value:"SortsMillGoudy",aliasList:["Sorts Mill Goudy","SortsMillGoudy"],fntdataUrl:`${To}fonts/fnt/SortsMillGoudy.fntdata`,locale:[Fo]},{label:"Unna",enLabel:"Unna",value:"Unna",aliasList:["Unna"],fntdataUrl:`${To}fonts/fnt/Unna.fntdata`,locale:[Fo]},{label:"Luckiest Guy",enLabel:"Luckiest Guy",value:"LuckiestGuy",aliasList:["Luckiest Guy","LuckiestGuy"],fntdataUrl:`${To}fonts/fnt/LuckiestGuy.fntdata`,locale:[Fo]},{label:"Coda",enLabel:"Coda",value:"Coda",aliasList:["Coda"],fntdataUrl:`${To}fonts/fnt/Coda.fntdata`,locale:[Fo]},{label:"Jersey 15",enLabel:"Jersey 15",value:"Jersey15",aliasList:["Jersey 15"],fntdataUrl:`${To}fonts/fnt/Jersey15.fntdata`,locale:[Fo]},{label:"Press Start 2P",enLabel:"Press Start 2P",value:"PressStart2P",aliasList:["Press Start 2P","PressStart2P"],fntdataUrl:`${To}fonts/fnt/PressStart2P.fntdata`,locale:[Fo]},{label:"Jersey 20 Charted",enLabel:"Jersey 20 Charted",value:"Jersey20Charted",aliasList:["Jersey 20 Charted","Jersey20Charted"],fntdataUrl:`${To}fonts/fnt/Jersey20Charted.fntdata`,locale:[Fo]},{label:"Mi Sans",enLabel:"Mi Sans",embedLabel:"MiSans",value:"MiSans",aliasList:["MiSans LC","等线","MiSans"],fntdataUrl:`${To}fonts/fnt/MiSans.fntdata`,locale:[Ho,Fo]},{label:"思源黑体",enLabel:"Source Han Sans",embedLabel:"Noto Sans SC",value:"Noto Sans SC",aliasList:["思源黑体","SourceHanSans","Noto Sans","Noto Sans SC","黑体","SimHei"],fntdataUrl:`${To}fonts/fnt/Noto Sans SC.fntdata`,locale:[Ho,Fo]},{label:"思源宋体",enLabel:"Source Han Serif",value:"思源宋体",aliasList:["思源宋体","SourceHanSerif","siyuanSongti","宋体","SimSun"],fntdataUrl:`${To}fonts/fnt/思源宋体.fntdata`,locale:[Ho,Fo]},{label:"阿里妈妈刀隶体",enLabel:"Alimama Dao Li",value:"阿里妈妈刀隶体",aliasList:["阿里妈妈刀隶","alimamadaoliti"],fntdataUrl:`${To}fonts/fnt/阿里妈妈刀隶体.fntdata`,locale:[Ho,Fo]},{label:"站酷文艺体",enLabel:"Zhanku Wen Yi",value:"站酷文艺体",aliasList:["站酷文艺","zhankuwenyiti"],fntdataUrl:`${To}fonts/fnt/站酷文艺体.fntdata`,locale:[Ho,Fo]},{label:"站酷庆科黄油体",enLabel:"ZCOOL QingKe HuangYou",embedLabel:"ZCOOL QingKe HuangYou",value:"站酷庆科黄油体",aliasList:["站酷庆科黄油","ZCOOL QingKe HuangYou","ZCOOLQingKeHuangYou","zhankuQingkeHuangyou"],fntdataUrl:`${To}fonts/fnt/站酷庆科黄油体.fntdata`,locale:[Ho,Fo]},{label:"飞波正点体",enLabel:"Feibo Zhengdian",value:"飞波正点体",aliasList:["飞波正点","feibozhengdianti"],fntdataUrl:`${To}fonts/fnt/飞波正点体.fntdata`,locale:[Ho,Fo]},{label:"程荣光刻楷",enLabel:"Cheng Rong Guang Ke Kai",value:"程荣光刻楷",aliasList:["程荣光刻楷","chengrengguangkekai","楷体","KaiTi"],fntdataUrl:`${To}fonts/fnt/程荣光刻楷.fntdata`,locale:[Ho,Fo]},{label:"得意黑",enLabel:"Smiley Sans",value:"得意黑",aliasList:["得意黑","Smiley Sans","deyihei"],fntdataUrl:`${To}fonts/fnt/得意黑.fntdata`,locale:[Ho,Fo]},{label:"精品点阵体",enLabel:"Fusion Pixel",embedLabel:"BoutiqueBitmap9x9 1.6 R",value:"精品点阵体",aliasList:["精品点阵体9×9 1.6","Fusion Pixel 9x9","jingpindianzhenTi"],fntdataUrl:`${To}fonts/fnt/精品点阵体.fntdata`,locale:[Ho,Fo]},{label:"Long Cang",enLabel:"Long Cang",value:"Long Cang",aliasList:["Long Cang","LongCang","龙藏体"],fntdataUrl:`${To}fonts/fnt/Long Cang.fntdata`,locale:[Ho,Fo]},{label:"鹜霞文楷",enLabel:"LXGW Bright",embedLabel:"LXGW Bright",value:"LXGW Bright",aliasList:["LXGW Bright","LXGWBright","霞鹜文楷","仿宋","FangSong"],fntdataUrl:`${To}fonts/fnt/LXGW Bright.fntdata`,locale:[Ho,Fo]},{label:"站酷快乐体",enLabel:"ZCOOL KuaiLe",embedLabel:"ZCOOL KuaiLe",value:"ZCOOL KuaiLe",aliasList:["ZCOOL KuaiLe","ZCOOLKuaiLe","站酷快乐体"],fntdataUrl:`${To}fonts/fnt/ZCOOL KuaiLe.fntdata`,locale:[Ho,Fo]}]),e("Tt",(e,t)=>"zh-cn"===t?e.label:e.enLabel),e("Et",(e,t)=>{const n=jo.find(e=>""===e.value),r=jo.filter(e=>e.value&&1===e.locale.length&&e.locale[0]===Fo);return Uo(e)?[n,t,...jo.filter(e=>e.value&&e.locale.includes("zh-cn")),t,...r]:[n,t,...r]}),Yo=Object.assign({"../assets/font-preview/Coda_enLabel.png":Nn,"../assets/font-preview/Coda_label.png":Wn,"../assets/font-preview/HedvigLettersSans_enLabel.png":Vn,"../assets/font-preview/HedvigLettersSans_label.png":Kn,"../assets/font-preview/Jersey15_enLabel.png":Jn,"../assets/font-preview/Jersey15_label.png":Qn,"../assets/font-preview/Jersey20Charted_enLabel.png":_n,"../assets/font-preview/Jersey20Charted_label.png":tr,"../assets/font-preview/LXGW Bright_enLabel.png":rr,"../assets/font-preview/LXGW Bright_label.png":ar,"../assets/font-preview/Liter_enLabel.png":lr,"../assets/font-preview/Liter_label.png":cr,"../assets/font-preview/Long Cang_enLabel.png":ur,"../assets/font-preview/Long Cang_label.png":fr,"../assets/font-preview/LuckiestGuy_enLabel.png":Ar,"../assets/font-preview/LuckiestGuy_label.png":vr,"../assets/font-preview/MiSans_enLabel.png":hr,"../assets/font-preview/MiSans_label.png":wr,"../assets/font-preview/Noto Sans SC_enLabel.png":Sr,"../assets/font-preview/Noto Sans SC_label.png":Mr,"../assets/font-preview/Oranienbaum_enLabel.png":Or,"../assets/font-preview/Oranienbaum_label.png":Lr,"../assets/font-preview/PressStart2P_enLabel.png":zr,"../assets/font-preview/PressStart2P_label.png":Br,"../assets/font-preview/QuattrocentoSans_enLabel.png":Fr,"../assets/font-preview/QuattrocentoSans_label.png":Ur,"../assets/font-preview/SortsMillGoudy_enLabel.png":jr,"../assets/font-preview/SortsMillGoudy_label.png":Nr,"../assets/font-preview/Unna_enLabel.png":Wr,"../assets/font-preview/Unna_label.png":Vr,"../assets/font-preview/ZCOOL KuaiLe_enLabel.png":Kr,"../assets/font-preview/ZCOOL KuaiLe_label.png":Jr,"../assets/font-preview/得意黑_enLabel.png":Qr,"../assets/font-preview/得意黑_label.png":_r,"../assets/font-preview/思源宋体_enLabel.png":to,"../assets/font-preview/思源宋体_label.png":ro,"../assets/font-preview/程荣光刻楷_enLabel.png":ao,"../assets/font-preview/程荣光刻楷_label.png":lo,"../assets/font-preview/站酷庆科黄油体_enLabel.png":co,"../assets/font-preview/站酷庆科黄油体_label.png":po,"../assets/font-preview/站酷文艺体_enLabel.png":mo,"../assets/font-preview/站酷文艺体_label.png":go,"../assets/font-preview/精品点阵体_enLabel.png":yo,"../assets/font-preview/精品点阵体_label.png":bo,"../assets/font-preview/阿里妈妈刀隶体_enLabel.png":xo,"../assets/font-preview/阿里妈妈刀隶体_label.png":ko,"../assets/font-preview/霞鹜新致宋_enLabel.png":Co,"../assets/font-preview/霞鹜新致宋_label.png":Io,"../assets/font-preview/飞波正点体_enLabel.png":Eo,"../assets/font-preview/飞波正点体_label.png":Ro}),No={};for(const e in Yo){const t=e.replace("../assets/font-preview/","").replace(".png","");No[t]=Yo[e].default}var j;Zo=new Set,Wo=new Map,Go=2e4,Vo=/[\u2e80-\u2eff\u3000-\u30ff\u3400-\u4dbf\u4e00-\u9fff\uf900-\ufaff\ufe30-\ufe4f\uff00-\uffef]/,Do="MiSans",Ko=new Set,Xo=null,Jo=e=>e.replace(/\.page$/,""),e("ot",qo=q(()=>{const e=ee(N),t=f({version:"v2",size:[1280,720]}),n=f(new Map),r=f([]),o=f(null),a=f(null),i=f(0),l=f(null),s=()=>{i.value++},d=e=>{l.value=e?{seconds:e.seconds,nanos:e.nanos}:null},u=c(()=>o.value?n.value.get(o.value):void 0),p=c(()=>n.value.get(o.value??"")?.elements??[]),m=c(()=>t.value.theme),A=c(()=>t.value.size),g=c(()=>Un(Object.values(t.value.theme?.colors??{}))),v=()=>`pages/p-${J(6)}`,y=e=>{bd(e.customFonts)},h=e=>{const a=xd(e);t.value={...t.value,version:"v2",title:e.title,customFonts:e.customFonts,theme:e.theme,size:e.size,pptdFileName:e.pptdFileName},n.value=new Map(a.map(e=>[e.pageId,e])),r.value=a.map(e=>e.pageId),o.value=a[0]?.pageId??null,y(e)},b=()=>({...t.value,pages:r.value.map(e=>n.value.get(e)).filter(Boolean)});return{meta:t,pages:n,pageOrder:r,currentPageId:o,currentPage:u,currentElements:p,saveVersion:i,lastModified:l,theme:m,pageSize:A,colorList:g,markDirty:s,setLastModified:d,updateElement:(e,t,r)=>{const o=n.value.get(e);if(!o)return;const a=o.elements.findIndex(e=>e.elementId===t);-1!==a&&(Object.assign(o.elements[a],wd(r)),s())},moveElement:(e,t,r,o)=>{const a=n.value.get(e);if(!a)return;const i=a.elements.findIndex(e=>e.elementId===t);if(-1===i)return;const l=a.elements[i];a.elements[i]=Object.assign({},l,{bounds:Nc([l.bounds[0]+r,l.bounds[1]+o,l.bounds[2],l.bounds[3]])}),a.elements=[...a.elements],n.value=new Map(n.value),s()},resizeElement:(e,t,r)=>{const o=n.value.get(e);if(!o)return;const a=o.elements.findIndex(e=>e.elementId===t);-1!==a&&(o.elements[a]=Object.assign({},o.elements[a],{bounds:Nc(r)}),o.elements=[...o.elements],n.value=new Map(n.value),s())},rotateElement:(e,t,r)=>{const o=n.value.get(e);if(!o)return;const a=o.elements.findIndex(e=>e.elementId===t);-1!==a&&(o.elements[a]=Object.assign({},o.elements[a],{rotation:r}),o.elements=[...o.elements],n.value=new Map(n.value),s())},addElement:(e,t)=>{const r=n.value.get(e);r&&(r.elements=[...r.elements,wd(t)],n.value=new Map(n.value),s())},removeElement:(e,t)=>{const r=n.value.get(e);if(!r)return;const o=r.elements.find(e=>e.elementId===t);if(!o)return;r.elements=r.elements.filter(e=>e.elementId!==t);const a=function(e,t){if(!e?.some(e=>e.elementId===t))return e;const n=e.filter(e=>e.elementId!==t);return n.length?n:void 0}(r.animations,t);a!==r.animations&&(a?r.animations=a:delete r.animations),n.value=new Map(n.value),s(),Q("msh_nppt_element_edited",{type:o.elementType,edit_type:"delete"},["type","edit_type"])},reorderElement:(e,t,r)=>{const o=n.value.get(e);if(!o)return;const a=o.elements.findIndex(e=>e.elementId===t);if(-1===a)return;const i=[...o.elements],[l]=i.splice(a,1);switch(r){case"up":i.splice(Math.min(a+1,i.length),0,l);break;case"down":i.splice(Math.max(a-1,0),0,l);break;case"top":i.push(l);break;case"bottom":i.unshift(l)}o.elements=i,n.value=new Map(n.value),s()},createPageId:v,addPage:(e="content")=>{const t=v(),a={pageId:t,pageType:e,elements:[]};n.value.set(t,a);const i=o.value?r.value.indexOf(o.value):-1,l=i>=0?i+1:r.value.length;return r.value.splice(l,0,t),o.value=t,s(),t},removePage:e=>{n.value.delete(e);const t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1),o.value===e&&(o.value=r.value[Math.min(t,r.value.length-1)]??null),s()},movePage:(e,t)=>{const[n]=r.value.splice(e,1);r.value.splice(t,0,n),s()},setCurrentPage:e=>{if("string"==typeof e){const t=Jo(e);if(!n.value.has(t))return;o.value=t}else if("number"==typeof e){const t=r.value[e];if(!t)return;o.value=t}},updateTitle:e=>{t.value={...t.value,title:e},s()},updateTheme:e=>{t.value={...t.value,theme:e},s()},deleteTheme:()=>{t.value={...t.value,theme:void 0},s()},setThemeColor:(e,n)=>{t.value={...t.value,theme:{...t.value.theme,colors:{...t.value.theme?.colors,[e]:n}}},s()},removeThemeColor:e=>{const n={...t.value.theme?.colors};delete n[e],t.value={...t.value,theme:{...t.value.theme,colors:n}},s()},setThemeTextStyle:(e,n)=>{t.value={...t.value,theme:{...t.value.theme,textStyles:{...t.value.theme?.textStyles,[e]:n}}},s()},removeThemeTextStyle:e=>{const n={...t.value.theme?.textStyles};delete n[e],t.value={...t.value,theme:{...t.value.theme,textStyles:n}},s()},importPPTD:h,exportPPTD:b,restorePPTD:e=>{const a=xd(e);t.value={...t.value,version:"v2",title:e.title,customFonts:e.customFonts,theme:e.theme,size:e.size,pptdFileName:e.pptdFileName},n.value=new Map(a.map(e=>[e.pageId,e])),r.value=a.map(e=>e.pageId),r.value.includes(o.value??"")||(o.value=a[0]?.pageId??null),y(e)},importFSJSON:e=>{const t=Tc(e);a.value=JSON.parse(JSON.stringify(t.data)),h(function(e){if(0===e.length)throw new Error("fs.json 不能为空");const t=e[0],n=e.slice(1),r=ue(t.content),o=new Map(n.map(e=>[e.path,e.content])),a=r.pages.map(e=>{const t=o.get(e);if(!t)throw new Error(`找不到页面文件: ${e}`);return{...de(t),pageId:e.replace(/\.page$/,""),pagePath:e}});return{..."v2"===r.version?{version:"v2"}:{},title:r.title,customFonts:r.customFonts,theme:r.theme,size:r.size,pages:a,pptdFileName:t.path}}(t.data))},exportFSJSON:()=>function(e,t){const n=new Map(t?.map(e=>[e.path,e.content])??[]),r=e.pptdFileName??"presentation.pptd",o=n.get(r);return[{path:r,content:Cs(ks(e,hs(o)),o)},...e.pages.map(e=>{const t=e.pagePath??`${e.pageId}.page`,r=n.get(t);return{path:t,content:Cs(Ms(e),r)}})]}(b(),a.value??void 0),getPPTDData:async t=>{const n=await e.getPPTDDetail({slidesId:t}),r={};return n.pages.forEach(e=>{r[e.path]=e.content}),{content:n.pptdContent,pagesMap:r,lastModifiedTime:n.lastModifiedTime,pptdPath:n.pptdPath}},getPPTDIsCreate:async t=>{const{slides:n}=await e.getSlides({id:t});return n?.status!==W.COMPLETED},originalFSJSON:a,initFromPPTDYAML:e=>{const a=Uc(t.value.pptdFileName??"presentation.pptd",e).data,i=ue(a);if(!i)throw new Error("Invalid metaPPTD");return t.value={version:"v2",title:i.title,customFonts:i.customFonts,theme:i.theme,size:i.size,pptdFileName:void 0},n.value=new Map,r.value=[],i.pages.forEach(e=>{const t=Jo(e),o={pageId:t,pageType:"content",elements:[],pagePath:e};n.value.set(t,o),r.value.push(t)}),o.value=r.value[0]??null,y(i),{metaData:i,pageOrder:i.pages}},updatePagesFromYAML:e=>{for(const[t,o]of Object.entries(e))if(o)try{const e=Uc(t,o).data,a=de(e),i=Jo(t);n.value.get(i)?n.value.set(i,{...a,pageId:i,pagePath:t}):(n.value.set(i,{...a,pageId:i,pagePath:t}),r.value.includes(i)||r.value.push(i))}catch{}n.value=new Map(n.value)},updatePageNotes:(e,t)=>{const r=n.value.get(e);r&&r.notes!==t&&(r.notes=t,n.value=new Map(n.value),s())},updatePageBackground:(e,t)=>{const r=n.value.get(e);r&&(r.background=t,n.value=new Map(n.value),s())},updatePageAnimations:(e,t)=>{const r=n.value.get(e);r&&(t?.length?r.animations=t:delete r.animations,n.value=new Map(n.value),s())},applyBackgroundToAllPages:e=>{for(const t of n.value.values())t.background=e?JSON.parse(JSON.stringify(e)):void 0;n.value=new Map(n.value),s()},updateSlidesMetaData:e=>{const n=void 0!==e.slideId&&e.slideId!==t.value.slideId;t.value={...t.value,slideId:e.slideId,chatId:e.chatId,messageId:e.messageId,actualAgentId:e.actualAgentId},ne({slide_id:e.slideId,msh_conversation_id:e.chatId,msh_message_id:e.messageId,actual_agent:e.actualAgentId,membership_plan:e.membership_plan,ppt_platform:e.pptPlatform??F()}),n&&d(null)}}})),Qo="kimi-ppt",e("et",$o=(e,t,n)=>{if(e.startsWith("test."))return f(t);const r=y(`${Qo}-${e}`,t);return n&&(r.value=n(r.value)),r}),e("nt",e=>localStorage.getItem(`${Qo}-${e}`)),e("at",(e,t)=>{localStorage.setItem(`${Qo}-${e}`,t)}),e("rt",e=>{localStorage.removeItem(`${Qo}-${e}`)}),e("tt",e=>localStorage.getItem(`${Qo}-${e}`)),e("it",(e,t)=>{localStorage.setItem(`${Qo}-${e}`,t)}),_o=class extends pe{constructor(){super("neo-design-pptd-cache"),T(this,"slides",void 0),T(this,"snapshots",void 0),T(this,"versions",void 0),T(this,"images",void 0),this.version(3).stores({slides:"slideId",snapshots:"++id, slideId, [slideId+stack]",versions:"++id, slideId, kind, createdAt",images:"key, slideId"}),this.slides=this.table("slides"),this.snapshots=this.table("snapshots"),this.versions=this.table("versions"),this.images=this.table("images")}},ta=()=>"undefined"!=typeof indexedDB,na=()=>{if(ta())try{return ea||(ea=new _o),ea}catch{return void(ea=void 0)}},ra=(e,t)=>`${e}\0${t}`,e("X",oa=e=>{let t=0;for(let n=0;n>>0}`}),aa=(e,t)=>{Q("msh_nppt_version_add",{slide_id:e,version_text:t.versionText,version_hash:t.versionHash})},ia=async e=>{let t;try{return await Promise.race([e(),new Promise((e,n)=>{t=setTimeout(()=>n(new Error("PPTD cache DB timeout")),3e3)})])}finally{t&&clearTimeout(t)}},la=async(e,t)=>{const n=na();return n?n.snapshots.where("[slideId+stack]").equals([e,t]).sortBy("id"):[]},sa=async()=>{const e=na();return e?e.slides.toArray():[]},ca=async e=>{const t=na();t&&await t.transaction("rw",t.slides,t.snapshots,t.versions,t.images,async()=>{await t.snapshots.where("slideId").equals(e).delete(),await t.versions.where("slideId").equals(e).delete(),await t.images.where("slideId").equals(e).delete(),await t.slides.delete(e)})},da=async()=>{const e=(await sa()).toSorted((e,t)=>t.updatedAt-e.updatedAt).slice(10);await Promise.all(e.map(e=>ca(e.slideId)))},ua=async e=>{const t=na();t&&(await t.slides.put({slideId:e,updatedAt:Date.now()}),await da())},pa=async(e,t)=>{const n=await la(e,t);if(n.length<=50)return;const r=n.slice(0,n.length-50).map(e=>e.id).filter(e=>void 0!==e);await(na()?.snapshots.bulkDelete(r))},fa=async(e,t)=>(await e.versions.where("slideId").equals(t).sortBy("id")).at(-1),ma=async(e,t,n)=>!!(await e.versions.where("slideId").equals(t).and(e=>e.kind===n).first()),Aa=async(e,t,n,r)=>{if(r.uniqueKind&&await ma(e,t,r.kind))return;const o=oa(n);if(r.diffLatest){const r=await fa(e,t);if(r?.contentHash===o&&r.content===n)return}const a=Date.now();return await e.versions.add({slideId:t,kind:r.kind,reason:r.reason,content:n,contentHash:o,createdAt:a,updatedAt:a}),{versionText:`V${await e.versions.where("slideId").equals(t).count()}`,versionHash:o}},ga=async e=>ia(async()=>{await ua(e);const t=na();if(!t)return{undoLength:0,redoLength:0};const[n,r]=await Promise.all([t.snapshots.where("[slideId+stack]").equals([e,"undo"]).count(),t.snapshots.where("[slideId+stack]").equals([e,"redo"]).count()]);return{undoLength:n,redoLength:r}}),va=async(e,t,n)=>ia(async()=>{await ua(e);const r=na();if(!r)return ga(e);let o;return await r.transaction("rw",r.snapshots,r.versions,async()=>{const a=Date.now();await r.snapshots.where("[slideId+stack]").equals([e,"redo"]).delete(),await r.snapshots.add({slideId:e,stack:"undo",content:t,createdAt:a,updatedAt:a}),n&&(o=await Aa(r,e,t,n))}),o&&aa(e,o),await pa(e,"undo"),ga(e)}),e("$",async(e,t,n)=>ia(async()=>{await ua(e);const r=na();if(!r)return!1;const o=await r.transaction("rw",r.versions,async()=>Aa(r,e,t,n));return o&&aa(e,o),!!o})),ya=async(e,t,n)=>ia(async()=>{await ua(e);const r=na();if(!r)return ga(e);const o=Date.now();return await r.snapshots.add({slideId:e,stack:t,content:n,createdAt:o,updatedAt:o}),await pa(e,t),ga(e)}),ha=async(e,t)=>ia(async()=>{await ua(e);const n=(await la(e,t)).at(-1);if(void 0!==n?.id)return await(na()?.snapshots.delete(n.id)),n.content}),e("Q",async e=>ia(async()=>{const t=na();return t?(await t.versions.where("slideId").equals(e).sortBy("id")).map(({content:e,...t})=>({...t,size:e.length})):[]})),e("Y",async(e,t="undo")=>ia(async()=>{const n=(await la(e,t)).at(-1);if(n)return oa(n.content)})),e("Z",async(e,t)=>ia(async()=>{const n=na();if(!n)return;const r=await n.versions.get(t);return r?.slideId===e?r:void 0})),ba=async(e,t)=>ia(async()=>{await ua(e);const n=na();if(n)return(await n.images.get(ra(e,t)))?.url}),wa=async(e,t,n)=>ia(async()=>{await ua(e);const r=na();r&&await r.images.put({key:ra(e,t),slideId:e,path:t,url:n,updatedAt:Date.now()})}),xa=async(e,t)=>ia(async()=>{const n=na();n&&await n.images.delete(ra(e,t))}),Sa=async()=>ia(async()=>{const e=na();e&&await e.images.clear()}),ka=e=>JSON.parse(JSON.stringify(e)),Ma=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Ca=e=>{const t=e?.find(e=>e.path.endsWith(".pptd"))??e?.[0];if(t)try{const e=ae.load(t.content);if(!Ma(e))return;return Object.prototype.hasOwnProperty.call(e,"version")?"v2":"v1"}catch{return}},Oa={hasSelection:!1,bold:!1,em:!1,underline:!1,strikethrough:!1,subscript:!1,superscript:!1,forecolor:"",backcolor:"",fontname:"",fontsize:""},Ia=(e,t,n,r)=>Number.isFinite(e)?Math.max(t,Math.min(e,n)):r,e("q",La=q(()=>{const{exportPPTD:e,restorePPTD:t,markDirty:n,meta:r,currentPageId:o}=qo(),a=$o("editor.sidebarWidth",192,e=>Ia(e,192,400,192)),i=$o("editor.sidebarCollapsed",P),s=$o("editor.rightPanelWidth",220,e=>Ia(e,220,700,220)),d=f(null),u=f(null),p=f(null),m=f(0),A=f(!1),g=c(()=>m.value<29),v=f(!1),y=c(()=>g.value?0:m.value<58?58:m.value),h=c(()=>document.documentElement.clientHeight/2),b=f(!0);let w=null;B(g,()=>{A.value&&(w&&clearTimeout(w),v.value=!0,w=setTimeout(()=>{v.value=!1,w=null},260))});const x=f([]),S=f([]),k=f(null),M=f([]),C=f(!1),O=f(1),I=f(),L=f(!1),E=f(null),z=f(!1),R=f(!1),H=f(!1),F=f([]),U=f(null),T=f({...Oa}),j=f(null),Y=l(null);B(o,(e,t)=>{e!==t&&(x.value=[],S.value=[],k.value=null,C.value=!1,R.value=!1,H.value=!1,F.value=[],U.value=null,T.value={...Oa},j.value=null,Y.value=null)}),B(k,()=>{C.value=!1});const N=f(!1),Z=f(!1),W=f(!1),G=f(!0),V=f(!1),D=f(null),K=c(()=>!G.value),X=c(()=>G.value&&!V.value),J=f(!1),q=f(),$=f(null),_=f([]),ee=f([]),ne=f(0),re=f(0),oe=f(!1),ae=c(()=>!oe.value&&ne.value>0),ie=c(()=>!oe.value&&re.value>0);let le=Promise.resolve(),se=ta(),ce=0;const de=()=>r.value.slideId,ue=({undoLength:e,redoLength:t})=>{ne.value=e,re.value=t,_.value=_.value.slice(-Math.min(e,10)),ee.value=ee.value.slice(-Math.min(t,10))},pe=(e,t)=>{e.value.push(t),e.value.length>10&&e.value.shift()},fe=e=>{if(!e)return!1;try{return t(JSON.parse(e)),n(),!0}catch(r){return te("[Snapshot] Failed to restore snapshot",r),!1}},me=e=>{Q("msh_nppt_snapshot_handler",{action:e},"action")},Ae=()=>(ce++,ce),ge=(e,t)=>e===ce&&de()===t,ve=e=>{se=!1,ne.value=_.value.length,re.value=ee.value.length,te("[Snapshot] IndexedDB is unavailable",e)},ye=e=>{le=le.then(e).catch(ve)};B(()=>r.value.slideId,e=>{_.value=[],ee.value=[],ne.value=0,re.value=0,oe.value=!1,se=ta(),e&&se&&(e=>{const t=Ae();ye(async()=>{const n=await ga(e);ge(t,e)&&ue(n)})})(e)},{immediate:!0});const he=(e,t)=>{q.value=e,$.value=t?ka(t):null};B(X,e=>{e||(I.value=void 0,R.value=!1,H.value=!1,C.value=!1,N.value=!1,Y.value=null,p.value=null,xe.cancel(),"theme"!==d.value&&"animation"!==d.value||(d.value=null))});const be=(e=null)=>{X.value&&(d.value="theme",p.value=e)},we=()=>{X.value&&(d.value="animation")},xe=function(){const e=f(null);return{isPicking:c(()=>null!==e.value),start:t=>{e.value=t},cancel:()=>{e.value=null},complete:t=>{const n=e.value;e.value=null,n?.(t)}}}();return{sidebarWidth:a,sidebarCollapsed:i,collapsed:b,rightPanelWidth:s,rightPanelType:d,diffFSJSON:u,themePanelFocusTarget:p,notesHeight:m,isNotesDragging:A,isNotesCollapsed:g,isNotesCollapseTransitioning:v,notesDisplayHeight:y,notesMaxHeight:h,notesCollapsedHandleSpace:36,notesDefaultHeight:130,notesDragClickThreshold:3,selectedElementIds:x,highlightElementIds:S,handleElementId:k,selectedSlideIds:M,lineEditMode:C,canvasScale:O,creatingElement:I,spaceKeyState:L,focusArea:E,disableHotkeys:z,isTextEditing:R,isRichTextSelecting:H,selectedTableCells:F,activeTableCellKey:U,richTextAttrs:T,selectedLatex:j,alignmentOverlay:Y,isOperating:N,exporting:Z,exportingToGoogle:W,remoteEditable:G,remoteLoading:K,isEditable:X,isHistoryPreview:V,historyPreviewVersionId:D,isCreate:J,sourcePPTDVersion:q,sourcePPTDFSJSON:$,undoStack:_,redoStack:ee,canUndo:ae,canRedo:ie,pushUndo:t=>{const n=JSON.stringify(e()),r=de();if(!r||!se)return pe(_,n),ee.value=[],ne.value=_.value.length,void(re.value=0);pe(_,n),ee.value=[],ne.value=Math.min(ne.value+1,50),re.value=0;const o=Ae();ye(async()=>{const e=await va(r,n,t?.version);ge(o,r)&&ue(e)})},undo:()=>{if(!X.value)return;if(!ae.value)return;const t=JSON.stringify(e()),n=de();if(!n||!se){const e=_.value.pop();return pe(ee,t),ne.value=_.value.length,re.value=ee.value.length,void(fe(e)&&me("undo"))}const r=_.value.pop();pe(ee,t),ne.value=Math.max(ne.value-1,0),re.value=Math.min(re.value+1,50),oe.value=!0,r&&fe(r)&&me("undo");const o=Ae();ye(async()=>{try{const e=await ha(n,"undo"),a=r??e;if(!a){const e=await ga(n);return void(ge(o,n)&&ue(e))}const i=await ya(n,"redo",t);if(!ge(o,n))return;r||fe(a)&&me("undo"),ue(i)}finally{ge(o,n)&&(oe.value=!1)}})},redo:()=>{if(!X.value)return;if(!ie.value)return;const t=JSON.stringify(e()),n=de();if(!n||!se){const e=ee.value.pop();return pe(_,t),ne.value=_.value.length,re.value=ee.value.length,void(fe(e)&&me("redo"))}const r=ee.value.pop();pe(_,t),re.value=Math.max(re.value-1,0),ne.value=Math.min(ne.value+1,50),oe.value=!0,r&&fe(r)&&me("redo");const o=Ae();ye(async()=>{try{const e=await ha(n,"redo"),a=r??e;if(!a){const e=await ga(n);return void(ge(o,n)&&ue(e))}const i=await ya(n,"undo",t);if(!ge(o,n))return;r||fe(a)&&me("redo"),ue(i)}finally{ge(o,n)&&(oe.value=!1)}})},setEditable:e=>{G.value=e},setHistoryPreview:e=>{D.value=e,V.value=null!==e},setSourcePPTD:he,setSourcePPTDFSJSON:e=>{he(Ca(e),e)},openThemePanel:be,toggleThemePanel:()=>{if(X.value)return"theme"===d.value?(d.value=null,void(p.value=null)):void be()},openAnimationPanel:we,toggleAnimationPanel:()=>{X.value&&("animation"!==d.value?we():d.value=null)},isPickingElement:xe.isPicking,startElementPick:xe.start,cancelElementPick:xe.cancel,completeElementPick:xe.complete}})),Ea="\0",za=f(0),Ra=f(0),Ba={},Ha=new Map,Fa=new Map,Pa=0,Ua=[],Ya=ja=({chatId:e,filePath:t,okcService:n})=>e?n.batchGetOutputImages({filePath:t,chatId:e}).then(({publicUrl:e})=>e):Promise.resolve([]),Na=e=>/^https?:\/\//i.test(e),Za=e=>/^data:image\//i.test(e),Wa=(e,t)=>{if(e.startsWith("/"))return e;const n=(t?`${t.replace(/\/$/,"")}/${e}`:e).split("/"),r=[];for(const o of n)"."!==o&&""!==o&&(".."===o?r.pop():r.push(o));return`/${r.join("/")}`},Ga=(e,t,n)=>`${e??""}${Ea}${t??""}${Ea}${n}`,Va=e=>JSON.parse(JSON.stringify(e)),Da=e=>JSON.parse(JSON.stringify(e)),Ka=e=>"image"===e?.type&&e.src?[e.src]:[],Xa=(e,t)=>Ka(("string"==typeof e?Dc(t,e):e)?.fill),Ja=(e,t)=>{const n=[];return"image"===e.elementType&&e.src&&n.push(e.src),"fill"in e&&n.push(...Ka(e.fill)),"table"===e.elementType&&(n.push(...Xa(e.style,t)),e.rows.forEach(e=>{e.forEach(e=>{n.push(...Ka(e?.fill))})})),n},qa=(e,t)=>{const n=e.elements.flatMap(e=>Ja(e,t));return"image"===e.background?.type&&e.background.src&&n.push(e.background.src),n},Qa=e=>{const t=[...new Set(e.filter(Boolean))];return Promise.allSettled(t.map(e=>_(e)))},$a=()=>{Ta=void 0;const e=Ua;Ua=[];const t=new Map;e.forEach(e=>{const n=e.chatId??"",r=t.get(n)??[];r.push(e),t.set(n,r)}),t.forEach(e=>{const t=e[0].okcService,n=e[0].chatId;Ya({filePath:e.map(e=>e.filePath),chatId:n,okcService:t}).then(t=>{t?.includes("")&&Q("msh_nppt_pptd_badcase",{badcase_info:"image path lost",detail:e.filter((e,n)=>""===t[n]).map(e=>e.filePath).join(";;")},["badcase_info","detail"]),e.forEach((e,n)=>{const r=t?.[n];r&&e.cacheVersion===Pa&&Ha.set(e.cacheKey,r),r&&e.slideId&&wa(e.slideId,e.filePath,r).catch(()=>{}),e.resolve(r)})}).catch(t=>{e.forEach(e=>e.reject(t))})})},_a=e=>{Ua.push(e),Ta||(Ta=setTimeout($a,500))},ei=e=>e?"function"==typeof e?e():e:"idle",ti=e=>{Ba.basePath=e?.basePath,Ba.imageReplacerMap=e?.imageReplacerMap?{...e.imageReplacerMap}:void 0,za.value++},ni=e=>{Ya=e??ja,Pa++,za.value++,Ha.clear(),Fa.clear()},e("U",ri={RICH_TEXT_COMMAND:"RICH_TEXT_COMMAND",SYNC_RICH_TEXT_ATTRS_TO_STORE:"SYNC_RICH_TEXT_ATTRS_TO_STORE",OPEN_CHART_DATA_EDITOR:"OPEN_CHART_DATA_EDITOR",OPEN_LATEX_EDITOR:"OPEN_LATEX_EDITOR",INSERT_LATEX:"INSERT_LATEX",SELECT_LATEX:"SELECT_LATEX"}),e("W",oi={all:j=j||new Map,on:function(e,t){var n=j.get(e);n?n.push(t):j.set(e,[t])},off:function(e,t){var n=j.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):j.set(e,[]))},emit:function(e,t){var n=j.get(e);n&&n.slice().map(function(e){e(t)}),(n=j.get("*"))&&n.slice().map(function(n){n(e,t)})}}),ai=e=>Le(/^\s*>\s$/,e),ii=e=>Le(/^(\d+)\.\s$/,e,e=>({order:+e[1]}),(e,t)=>t.childCount+t.attrs.order===+e[1]),li=e=>Le(/^\s*([-+*])\s$/,e),si=()=>new Be(/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/,(e,t,n,r)=>{const{schema:o}=e,a=o.marks.code;if(!a)return null;const i=e.tr.insertText(`${t[2]} `,n,r),l=a.create();return i.addMark(n,n+t[2].length,l)}),ci=e=>new Be(/\\\((.+?)\\\)/,(t,n,r,o)=>{const a=n[1].trim();if(!a)return null;if(je.renderToString(a,{throwOnError:!1,displayMode:!1,output:"html"}).includes("katex-error"))return null;const i=e.create({tex:a});return t.tr.replaceWith(r,o,i)}),di=e=>{const t=[...ye,Ie,ze];return e.nodes.blockquote&&t.push(ai(e.nodes.blockquote)),e.nodes.ordered_list&&t.push(ii(e.nodes.ordered_list)),e.nodes.bullet_list&&t.push(li(e.nodes.bullet_list)),e.marks.code&&t.push(si()),e.nodes.math&&t.push(ci(e.nodes.math)),Me({rules:t})},ui=new Ae({appendTransaction(e,t,n){const r=n.tr;let o=!1;for(const a of e){if(!a.docChanged)continue;const e=a.steps;for(const a of e){const e=a;if(void 0!==e.from&&void 0!==e.to){const a=e.from,i=e.to,l=n.doc.content.size;if(a<=1&&i>=l-1){const e=t.storedMarks||[];e.length>0&&n.doc.nodesBetween(a,r.mapping.map(i),(t,n)=>{if(t.isText&&0===t.marks.length)for(const a of e)r.addMark(n,n+t.nodeSize,a),o=!0;return!0})}}}}return o?r:null}}),pi=new Set(["letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin-left","margin-top","text-align"]),fi=new me({nodes:{doc:{content:"block+"},paragraph:{content:"inline*",group:"block",attrs:{textAlign:{default:null},marginTop:{default:null},marginLeft:{default:null},marginRight:{default:null},lineHeight:{default:null},emptySpacer:{default:!1}},parseDOM:[{tag:"p",getAttrs:e=>{const t=e;return Cd(t),{textAlign:t.style.textAlign||null,marginTop:t.style.marginTop||null,marginLeft:t.style.marginLeft||null,marginRight:t.style.marginRight||null,lineHeight:t.style.lineHeight||null,emptySpacer:"true"===t.dataset.emptySpacer||Ed(t)}}}],toDOM:e=>{const{textAlign:t,marginTop:n,marginLeft:r,marginRight:o,lineHeight:a,emptySpacer:i}=e.attrs,l=[];t&&l.push(`text-align: ${t}`),n&&l.push(`margin-top: ${n}`),r&&l.push(`margin-left: ${r}`),o&&l.push(`margin-right: ${o}`),a&&l.push(`line-height: ${a}`);const s={};return l.length&&(s.style=l.join("; ")),i&&(s["data-empty-spacer"]="true"),["p",s,0]}},text:{group:"inline"},blockquote:{content:"block+",group:"block",parseDOM:[{tag:"blockquote"}],toDOM:()=>["blockquote",0]},ordered_list:{content:"list_item+",group:"block",attrs:{start:{default:1},listStyleType:{default:"decimal"}},parseDOM:[{tag:"ol",getAttrs:e=>{const t=e;return{start:t.hasAttribute("start")?parseInt(t.getAttribute("start")||"1",10):1,listStyleType:t.style.listStyleType||"decimal"}}}],toDOM:e=>{const t={};return 1!==e.attrs.start&&(t.start=String(e.attrs.start)),"decimal"!==e.attrs.listStyleType&&(t.style=`list-style-type: ${e.attrs.listStyleType}`),["ol",t,0]}},bullet_list:{content:"list_item+",group:"block",attrs:{listStyleType:{default:"disc"}},parseDOM:[{tag:"ul",getAttrs:e=>({listStyleType:e.style.listStyleType||"disc"})}],toDOM:e=>{const t={};return"disc"!==e.attrs.listStyleType&&(t.style=`list-style-type: ${e.attrs.listStyleType}`),["ul",t,0]}},list_item:{content:"paragraph block*",attrs:{style:{default:null},empty:{default:!1}},parseDOM:[{tag:"li",getAttrs:e=>{const t=e;return{style:Od(t)||null,empty:Ld(t)}}}],toDOM:e=>{const t={},n=e.attrs.style;return n&&(t.style=n),e.attrs.empty&&(t["data-empty-list-item"]="true",t.style=function(e,t){return e?`${e}; ${t}`:t}(t.style,"list-style-type: none")),["li",t,0]}},math:{inline:!0,group:"inline",atom:!0,attrs:{tex:{default:""}},parseDOM:[{tag:"span",getAttrs:e=>{const t=e;if(t.hasAttribute("data-math-node")){const e=t.getAttribute("data-tex")||"";if(e)return{tex:e}}return!1}},{tag:"span[data-math]",getAttrs:e=>({tex:e.getAttribute("data-math")||""})}],toDOM:e=>["span",{"data-math-node":"true","data-tex":e.attrs.tex,class:"latex-inline"}]}},marks:{styled:{attrs:{style:{default:""}},parseDOM:[{tag:"span",getAttrs:e=>{const t=e;if(t.hasAttribute("data-math-node"))return!1;const n=function(e){const t=new Set(["background-color","color","font-family","font-size","font-style","font-weight","text-decoration"]),n=new Set(["position","left","top","right","bottom","white-space"]),r="absolute"===e.style.position,o=[];for(let a=0;a["span",{style:e.attrs.style},0]},fontsize:{attrs:{fontsize:{}},inline:!0,group:"inline",parseDOM:[{style:"font-size",getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{const{fontsize:t}=e.attrs;let n="";return t&&(n+=`font-size: ${t};`),["span",{style:n},0]}},bold:{parseDOM:[{tag:"strong"},{tag:"b"},{style:"font-weight=bold"}],toDOM:()=>["strong",0]},italic:{parseDOM:[{tag:"em"},{tag:"i"},{style:"font-style=italic"}],toDOM:()=>["em",0]},underline:{parseDOM:[{tag:"u"},{style:"text-decoration=underline"}],toDOM:()=>["u",0]},strikethrough:{parseDOM:[{tag:"s"},{tag:"strike"},{style:"text-decoration=line-through"}],toDOM:()=>["s",0]},subscript:{parseDOM:[{tag:"sub"}],toDOM:()=>["sub",0]},superscript:{parseDOM:[{tag:"sup"}],toDOM:()=>["sup",0]},forecolor:{attrs:{color:{}},parseDOM:[{style:"color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>["span",{style:`color: ${e.attrs.color}`},0]},backcolor:{attrs:{color:{}},parseDOM:[{style:"background-color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>["span",{style:`background-color: ${e.attrs.color}`},0]},fontname:{attrs:{fontname:{}},parseDOM:[{style:"font-family",getAttrs:e=>e?{fontname:e}:{}}],toDOM:e=>["span",{style:`font-family: ${e.attrs.fontname}`},0]},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e;return{href:t.getAttribute("href"),title:t.getAttribute("title")}}}],toDOM:e=>["a",{href:e.attrs.href,title:e.attrs.title,target:"_blank"},0]}}}),e("R",mi={bold:fi.marks.bold,em:fi.marks.italic,italic:fi.marks.italic,underline:fi.marks.underline,strikethrough:fi.marks.strikethrough,subscript:fi.marks.subscript,superscript:fi.marks.superscript,forecolor:fi.marks.forecolor,backcolor:fi.marks.backcolor,fontname:fi.marks.fontname,fontsize:fi.marks.fontsize,link:fi.marks.link}),Ai=/\\\(.+?\\\)/,gi=new Set(["P","DIV","UL","OL","LI","BLOCKQUOTE"]),vi=1.2,e("L",1.2),yi=["data-text-align"],hi="externalSync",bi=v({__name:"ProsemirrorEditor",props:{html:{},lineHeight:{},lineHeightPx:{},marginTop:{},gradient:{},fontSize:{},fontFamily:{},color:{},wrapperStyle:{},elementId:{},syncFocusedHtml:{type:Boolean}},emits:["change","mousedown","blur"],setup(e,{expose:t,emit:n}){const r=e,o=n,a=f();let i=null,l=!1,s=!1,c=null;const{richTextAttrs:p,isTextEditing:m,isRichTextSelecting:A,selectedLatex:g}=La(),v=new Set(["bold","em","italic","underline","strikethrough","subscript","superscript"]),y={fontsize:["font-size"],fontname:["font-family"],forecolor:["color"],backcolor:["background-color"]},h=()=>{A.value=!1,window.removeEventListener("mouseup",h,!0),window.removeEventListener("blur",h,!0),c=null},b=e=>{if(o("mousedown",e),0!==e.button)return;const t=e.target;(t instanceof Element?t:t instanceof Node?t.parentElement:null)?.closest(".ProseMirror")&&(c?.(),A.value=!0,c=h,window.addEventListener("mouseup",h,!0),window.addEventListener("blur",h,!0))};function x(e,t,n){const{from:r,to:o,empty:a}=e.selection;if(a)return(e.storedMarks??e.selection.$from.marks()).find(e=>e.type===t)?.attrs[n];let i,l=!1,s=!1;return e.doc.nodesBetween(r,o,e=>{if(e.isText){const r=e.marks.find(e=>e.type===t);r?(l=!0,void 0===i?i=r.attrs[n]:i!==r.attrs[n]&&(s=!0)):s=!0}return!0}),l&&!s?i:void 0}function S(e,t){const{from:n,to:r,empty:o}=e.selection;if(o)return(e.storedMarks??e.selection.$from.marks()).some(e=>e.type===t);let a=!1,i=!1;return e.doc.nodesBetween(n,r,e=>(e.isText&&(e.marks.some(e=>e.type===t)?a=!0:i=!0),!0)),a&&!i}function M(e){const t=S(e,fi.marks.bold),n=S(e,fi.marks.italic),r=S(e,fi.marks.underline),o=S(e,fi.marks.strikethrough),a=S(e,fi.marks.subscript),i=S(e,fi.marks.superscript),l=x(e,fi.marks.forecolor,"color")||"",s=x(e,fi.marks.backcolor,"color")||"",c=x(e,fi.marks.fontname,"fontname")||"",d=x(e,fi.marks.fontsize,"fontsize")||"";k(()=>{p.value={hasSelection:!e.selection.empty,bold:t,em:n,underline:r,strikethrough:o,subscript:a,superscript:i,forecolor:l,backcolor:s,fontname:c,fontsize:d}})}function C(){return l||!!i?.composing}function O(e){o("change",e)}function I(){i&&s&&(s=!1,O(Ud(i.state.doc)),M(i.state))}function E(e){return new Ae({props:{decorations(t){const n=[],o=new WeakMap,a=r.lineHeightPx??(e.hasAttribute("data-line-height-px")?Number(e.getAttribute("data-line-height-px")):void 0),i=r.lineHeight??(e.hasAttribute("data-line-height")?Number(e.getAttribute("data-line-height")):void 0),l=e.style.getPropertyValue("--backgroundImage"),s=e=>(o.has(e)||o.set(e,void 0===r.fontSize?function(e){let t=0;return e.descendants(e=>!e.isText||(e.marks.forEach(e=>{if("fontsize"!==e.type.name)return;const n=function(e){const t=Number.parseFloat(String(e??""));return Number.isFinite(t)?t:void 0}(e.attrs.fontsize);void 0!==n&&n>t&&(t=n)}),!0)),t||void 0}(e):void 0),o.get(e));return t.doc.descendants((o,c)=>{if(o.isText){const r=t.doc.resolve(c).parent,d="paragraph"===r.type.name?r.attrs.lineHeight??null:null,u="paragraph"===r.type.name?s(r):void 0,p=l?["display: inline-block; background-clip: text;","background-image: var(--backgroundImage);","-webkit-background-clip: text;","-webkit-text-fill-color: transparent;","caret-color: var(--Labels-Primary);"]:[];if(!o.marks.some(e=>"fontsize"===e.type.name)){const t=u?`${u}px`:e.style.fontSize||"16px";n.push(Fe.inline(c,c+o.nodeSize,{style:["font-size: "+t+";",...p].join(" ")}))}o.marks.forEach(e=>{if("fontsize"===e.type.name){const t=Wd(Number(e.attrs.fontsize.slice(0,-2)),i,a,1.2),r=d?p:void 0!==t?[`line-height: ${t}px;`,...p]:p;if(!r.length)return;n.push(Fe.inline(c,c+o.nodeSize,{style:r.join(" ")}))}})}if("paragraph"===o.type.name){const e=o.attrs.marginTop??(void 0!==r.marginTop?`${r.marginTop}px`:null),t=o.attrs.marginLeft??null,a=o.attrs.marginRight??null,i=o.attrs.lineHeight??null,l=s(o),d=[e?`margin-top: ${e};`:null,t?`margin-left: ${t};`:null,a?`margin-right: ${a};`:null,i?`line-height: ${i};`:null,l?`font-size: ${l}px;`:null].filter(Boolean).join(" ");d&&n.push(Fe.node(c,c+o.nodeSize,{style:d}))}}),Te.create(t.doc,n)}}})}function R(e,t){if(!e)return"";const n=document.createElement("span");return n.setAttribute("style",e),t.forEach(e=>n.style.removeProperty(e)),n.getAttribute("style")||""}function H(e){const t=Number.parseFloat(String(e??""));return Number.isNaN(t)?16:t}L(()=>{if(!a.value)return;const e=a.value;void 0!==r.lineHeight&&e.setAttribute("data-line-height",String(r.lineHeight)),void 0!==r.lineHeightPx&&e.setAttribute("data-line-height-px",String(r.lineHeightPx)),r.gradient&&e.style.setProperty("--backgroundImage",r.gradient),void 0!==r.fontSize&&(e.style.fontSize=`${r.fontSize}px`),void 0!==r.fontFamily&&(e.style.fontFamily=r.fontFamily),void 0!==r.color&&(e.style.color=r.color),i=new he(e,{attributes:{spellcheck:"false"},nodeViews:{math:e=>{const t=document.createElement("span");return t.setAttribute("data-math-node","true"),t.setAttribute("data-tex",e.attrs.tex),t.classList.add("latex-inline"),t.innerHTML=Td(e.attrs.tex),{dom:t,update:e=>"math"===e.type.name&&(e.attrs.tex!==t.getAttribute("data-tex")&&(t.setAttribute("data-tex",e.attrs.tex),t.innerHTML=Td(e.attrs.tex)),!0)}}},state:Ue.create({doc:Pd(r.html),plugins:[di(fi),Re(),ve({"Mod-z":Ce,"Mod-y":be,"Mod-Shift-z":be,"Mod-s":()=>!0,"Mod-b":()=>Se(fi.marks.bold)(i.state,i.dispatch),"Mod-i":()=>Se(fi.marks.italic)(i.state,i.dispatch),"Mod-u":()=>Se(fi.marks.underline)(i.state,i.dispatch),"Mod-d":()=>Se(fi.marks.strikethrough)(i.state,i.dispatch),"Mod-;":()=>Se(fi.marks.superscript)(i.state,i.dispatch),"Mod-'":()=>Se(fi.marks.subscript)(i.state,i.dispatch),Enter:ke(xe(fi.nodes.list_item),Oe.Enter),Tab:we(fi.nodes.list_item),"Mod-]":we(fi.nodes.list_item),"Mod-[":He(fi.nodes.list_item)}),ve(Oe),E(e),new Ae({state:{init:()=>null,apply:(e,t,n,r)=>(e.selection.eq(n.selection)&&!e.docChanged||C()||M(r),t)}}),ui]}),dispatchTransaction(e){const t=i.state.apply(e);i.updateState(t),e.docChanged&&!e.getMeta(hi)&&(C()?s=!0:O(Ud(t.doc)))},handleDOMEvents:{keydown:(e,t)=>{const n=t;return!!function(e){return(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&"s"===e.key.toLowerCase()}(n)&&(n.preventDefault(),!0)},compositionstart:()=>(l=!0,s=!1,!1),compositionend:()=>(l=!1,queueMicrotask(I),!1),focus:e=>(m.value=!0,M(e.state),!1),blur:()=>(m.value=!1,o("blur"),!1),click:(e,t)=>{const n=t.target.closest("a");if(n){const e=n.getAttribute("href"),r=t;if(e&&(r.ctrlKey||r.metaKey))return t.preventDefault(),setTimeout(()=>{window.open(e,"_blank")},100),!0}return!1},contextmenu:(e,t)=>{const n=t,r=n.target.closest("a[href]");if(r){const e=r.getAttribute("href");if(e&&(n.ctrlKey||n.metaKey))return t.preventDefault(),setTimeout(()=>{window.open(e,"_blank")},100),!0}return!1}}}),oi.on(ri.RICH_TEXT_COMMAND,F),oi.on(ri.INSERT_LATEX,N),i.dom.addEventListener("keyup",Y),i.dom.addEventListener("mouseup",Y),i.dom.addEventListener("click",Y)}),B(()=>r.lineHeight,e=>{a.value&&i&&(void 0!==e?a.value.setAttribute("data-line-height",String(e)):a.value.removeAttribute("data-line-height"),i.dispatch(i.state.tr))}),B(()=>r.lineHeightPx,e=>{a.value&&i&&(void 0!==e?a.value.setAttribute("data-line-height-px",String(e)):a.value.removeAttribute("data-line-height-px"),i.dispatch(i.state.tr))}),B(()=>r.fontSize,e=>{a.value&&i&&(a.value.style.fontSize=void 0!==e?`${e}px`:"",i.dispatch(i.state.tr))}),B(()=>r.fontFamily,e=>{a.value&&i&&(a.value.style.fontFamily=void 0!==e?e:"")}),B(()=>r.color,e=>{a.value&&i&&(a.value.style.color=void 0!==e?e:"")}),B(()=>r.gradient,e=>{a.value&&i&&(void 0!==e?a.value.style.setProperty("--backgroundImage",e):a.value.style.removeProperty("--backgroundImage"),i.dispatch(i.state.tr))}),B(()=>r.html,e=>{if(!i)return;if(i.hasFocus()&&!r.syncFocusedHtml)return;if(C())return;const t=Pd(e);if(t.eq(i.state.doc))return;const n=i.state.tr;n.replaceWith(0,n.doc.content.size,t.content),n.setMeta(hi,!0),i.dispatch(n)});const F=e=>{if(e.target&&e.target!==r.elementId)return;if(!i)return;const t=Array.isArray(e.action)?e.action[0]:e.action;if(!t)return;if(function(){if(!i)return;const e=i.dom.ownerDocument.getSelection();if(e&&!e.isCollapsed&&e.anchorNode&&e.focusNode&&i.dom.contains(e.anchorNode)&&i.dom.contains(e.focusNode))try{const t=i.posAtDOM(e.anchorNode,e.anchorOffset),n=i.posAtDOM(e.focusNode,e.focusOffset);if(t===n)return;i.dispatch(i.state.tr.setSelection(fe.create(i.state.doc,t,n)))}catch{return}}(),"orderedList"===t.command)return void Ee(fi.nodes.ordered_list)(i.state,i.dispatch);if("bulletList"===t.command)return void Ee(fi.nodes.bullet_list)(i.state,i.dispatch);if("liftListItem"===t.command)return void He(fi.nodes.list_item)(i.state,i.dispatch);if("sinkListItem"===t.command)return void we(fi.nodes.list_item)(i.state,i.dispatch);if("clearFormat"===t.command){const{state:e}=i,{from:t,to:n}=e.selection;if(t===n)return;const r=e.tr;return e.doc.nodesBetween(t,n,(e,t)=>(e.isText&&e.marks.length>0&&r.removeMark(t,t+e.nodeSize),!0)),void i.dispatch(r)}if("fontsize-add"===t.command||"fontsize-reduce"===t.command){const e=Number.parseFloat(t.value??"2");return function(e){if(!i)return;const t=fi.marks.fontsize,n=y.fontsize??[],r=i.state.selection,o=r.empty?0:r.from,l=r.empty?i.state.doc.content.size:r.to;let s=i.state.tr;s=U(s,o,l,n),i.state.doc.nodesBetween(o,l,(n,r)=>{if(!n.isText)return!0;const i=Math.max(o,r),c=Math.min(l,r+n.nodeSize),d=n.marks.find(e=>e.type===t),u=H(d?d.attrs.fontsize:a.value?.style.fontSize),p=Math.max(6,Math.min(120,u+e));return s=s.removeMark(i,c,t).addMark(i,c,t.create({fontsize:`${p}px`})),!0}),i.dispatch(s)}((Number.isNaN(e)?2:e)*("fontsize-add"===t.command?1:-1)),void M(i.state)}const n=mi[t.command];if(!n)return;const o="forecolor"===t.command||"backcolor"===t.command?"color":t.command,l=void 0!==t.value?{[o]:t.value}:void 0,s=y[t.command]??[],c=i.hasFocus()||m.value;if("wholeDoc"===t.scope)return P(n,l),void M(i.state);if(i.state.selection.empty){if(c)return i.hasFocus()||i.focus(),"fontsize"===t.command&&void 0!==t.value?(T(n,l,0,i.state.doc.content.size,s),void M(i.state)):(void 0!==t.value?j(n,l,s):Se(n)(i.state,i.dispatch),void M(i.state));if("fontsize"===t.command&&void 0!==t.value)return T(n,l,0,i.state.doc.content.size,s),void M(i.state);if(!v.has(t.command))return;P(n,l)}else i.hasFocus()||i.focus(),void 0!==t.value?j(n,l,s):Se(n)(i.state,i.dispatch),M(i.state)};function P(e,t){if(!i)return;const{state:n}=i,{doc:r}=n;let o=!1,a=!0;if(r.descendants(t=>!t.isText||(o=!0,e.isInSet(t.marks)||(a=!1),!0)),!o)return;const l=r.content.size;let s=n.tr;s=t?s.removeMark(0,l,e).addMark(0,l,e.create(t)):a?s.removeMark(0,l,e):s.addMark(0,l,e.create()),i.dispatch(s)}function U(e,t,n,r){if(!i||0===r.length)return e;const o=fi.marks.styled,a=[];i.state.doc.nodesBetween(t,n,(e,i)=>{if(!e.isText)return!0;const l=e.marks.find(e=>e.type===o);return!l||(a.push({from:Math.max(t,i),to:Math.min(n,i+e.nodeSize),style:R(String(l.attrs.style??""),r)}),!0)});for(const i of a)e=e.removeMark(i.from,i.to,o),i.style&&(e=e.addMark(i.from,i.to,o.create({style:i.style})));return e}function T(e,t,n,r,o){if(!i)return;let a=i.state.tr;a=U(a,n,r,o),a=a.removeMark(n,r,e).addMark(n,r,e.create(t)),i.dispatch(a)}function j(e,t,n){if(!i)return;const{state:r}=i,{from:o,to:a}=r.selection;if(r.selection.empty){let o=r.tr.removeStoredMark(e);return o=function(e,t){if(!i||0===t.length)return e;const n=fi.marks.styled,r=(i.state.storedMarks??i.state.selection.$from.marks()).find(e=>e.type===n);if(!r)return e;const o=R(String(r.attrs.style??""),t);return e=e.removeStoredMark(n),o?e.addStoredMark(n.create({style:o})):e}(o,n),void i.dispatch(o.addStoredMark(e.create(t)))}T(e,t,o,a,n)}const Y=()=>{if(!i)return;const{selection:e}=i.state,{from:t,to:n}=e;let r=null;i.state.doc.nodesBetween(t,n,(e,t)=>{if("math"===e.type.name)return r={tex:e.attrs.tex,position:t,nodeSize:e.nodeSize},!1});const o=g.value;JSON.stringify(r)!==JSON.stringify(o)&&(g.value=r)},N=e=>{if(e.target&&e.target!==r.elementId)return;if(!i)return;i.hasFocus()||i.focus();const{state:t,dispatch:n}=i,{tex:o,action:a="insert"}=e,l=o.trim();if("replace"===a&&g.value){const{position:e,nodeSize:r}=g.value,o=fi.nodes.math.create({tex:l});n(t.tr.replaceWith(e,e+r,o))}else{const{from:e}=t.selection,r=fi.nodes.math.create({tex:l});n(t.tr.insert(e,r))}};return z(()=>{oi.off(ri.RICH_TEXT_COMMAND,F),oi.off(ri.INSERT_LATEX,N),i?.dom?.removeEventListener("keyup",Y),i?.dom?.removeEventListener("mouseup",Y),i?.dom?.removeEventListener("click",Y),g.value=null,p.value={...Oa},m.value=!1,c?.(),i?.destroy()}),t({focus:()=>{if(!i)return;const e=i.state.tr;e.setSelection(fe.atEnd(e.doc)),i.dispatch(e),i.focus()},blur:()=>{i?.dom.blur(),window.getSelection()?.removeAllRanges()}}),(t,n)=>(w(),d("div",{ref_key:"editorRef",ref:a,class:"prosemirror-editor","data-text-align":e.wrapperStyle?.textAlign,style:u({...e.wrapperStyle,"--pm-align":e.wrapperStyle?.alignItems||"center"}),onMousedown:b},null,44,yi))}}),wi=Y(bi,[["__scopeId","data-v-87eddf05"]]),xi=Symbol("slideRenderMode"),Si=Symbol("slideRenderScale"),ki=Symbol("slideRenderScaleReady"),Mi=["data-text-align","innerHTML"],Ci=v({__name:"TextElement",props:{element:{}},emits:["update"],setup(e,{emit:t}){const n=e,o=t,{theme:a}=qo(),{handleElementId:i,isEditable:l,isTextEditing:s,pushUndo:p}=La(),g="editor"===Gd(),v=f(),y=f(),h=f(!1),b=f(),x=c(()=>qc(a.value,n.element.content)),S=c(()=>x.value),C=c(()=>Gc(a.value,S.value.backgroundColor)),O=c(()=>Qc(a.value,n.element.content.text)),I=c(()=>Yd(O.value,{inferBlockFontSize:void 0===x.value.fontSize}));function E(){if(b.value)return;const[,,e,t]=n.element.bounds;b.value={width:e,height:t}}function z(){k(()=>{requestAnimationFrame(()=>{v.value?.focus()})})}g&&(B(()=>i.value,e=>{e===n.element.elementId?(E(),z()):(b.value=void 0,v.value?.blur())}),L(()=>{i.value===n.element.elementId&&(E(),z())}));const R=c(()=>({position:"absolute",left:`${n.element.bounds[0]}px`,top:`${n.element.bounds[1]}px`,width:`${n.element.bounds[2]}px`,height:`${n.element.bounds[3]}px`,transform:`rotate(${n.element.rotation??0}deg) scaleX(1) scaleY(${n.element.flip?.[1]?-1:1})`})),H={left:"left",center:"center",right:"right",justify:"justify",distributed:"justify"},F={top:"flex-start",middle:"center",bottom:"flex-end"},P=c(()=>{const e=x.value.shadow;if(!e)return;const[t,n]=e.offset??[0,0];return`${t}px ${n}px ${e.blur}px ${e.color}`});function U(e){if(!e)return;if("string"==typeof e)return e;if("object"!=typeof e)return;const t=e;return[t.latin,t.ea].filter(Boolean).join(", ")}const T=c(()=>{const e=x.value,t=e.fontSize??16,r=Zd(e.lineHeight,e.lineHeightPx,1.2);return{display:"flex",flexDirection:"column",width:"100%",height:"100%",justifyContent:F[e.align?.[1]??"top"]??"flex-start",textAlign:H[e.align?.[0]??"left"]??"left",fontSize:`${t}px`,fontFamily:U(e.fontFamily)??"MiSans",fontWeight:S.value.bold?"bold":void 0,fontStyle:void 0!==S.value.italic?S.value.italic?"italic":"normal":e.fontStyle,color:e.color??"#333333",lineHeight:r,letterSpacing:e.letterSpacing?`${e.letterSpacing}px`:void 0,writingMode:"vertical"===e.textDirection?"vertical-rl":"horizontal-tb",opacity:n.element.opacity??1,backgroundColor:C.value,textShadow:P.value,whiteSpace:!1===e.wrap?"pre":"break-spaces",wordBreak:!1===e.wrap?"normal":"break-word"}}),j=c(()=>K(x.value.gradient)),Y=c(()=>({"--default-margin-top":`${x.value.marginTop??0}px`,"--backgroundImage":j.value}));function N(e){const t=y.value;if(!t)return 0;const n=t.querySelector(".prosemirror-editor")??t,r=t.querySelector(".ProseMirror")??n,o="width"===e?t.scrollWidth:t.scrollHeight,a=o>("width"===e?t.clientWidth:t.clientHeight)+.5?o:0,i="width"===e?0:n.scrollHeight;return Math.ceil(Math.max(function(e,t){const n=document.createRange();n.selectNodeContents(e);const r=n.getBoundingClientRect();return n.detach(),"width"===t?r.width:r.height}(r,e),a,i))}function Z(){if(!y.value)return;const[e,t,r,o]=n.element.bounds,a="vertical"===x.value.textDirection,i=Math.ceil(function(){const e=y.value,t=e?Number.parseFloat(getComputedStyle(e).lineHeight):NaN;if(!Number.isNaN(t))return t;const n=x.value,r=n.fontSize??16;return Wd(r,n.lineHeight,n.lineHeightPx,1.2)??r}());if(a){const n=Math.max(N("width"),i,b.value?.width??0);if(Math.abs(n-r)<=.5)return;return[e,t,n,o]}const l=Math.max(N("height"),i,b.value?.height??0);return Math.abs(l-o)<=.5?void 0:[e,t,r,l]}const W=e=>{if(e===n.element.content.text)return;s.value&&!h.value&&e!==n.element.content.text&&(p(),h.value=!0);const t={content:{...n.element.content,text:e}},r=Z();r&&(t.bounds=r),o("update",t)},G=()=>{h.value=!1,Q("msh_nppt_element_edited",{type:"text",edit_type:"changeText"},["type","edit_type"])},V=e=>{const t=e.target;(t instanceof Element?t:t instanceof Node?t.parentElement:null)?.closest(".ProseMirror")||(e.preventDefault(),z())},D=e=>{if(!g||!l.value)return;const t=e.target;(t instanceof Element?t:t instanceof Node?t.parentElement:null)?.closest(".ProseMirror")||(e.preventDefault(),z())};function K(e){if(!e||"gradient"!==e.type)return;const t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(100*e.position)}%`).join(", ");return"radial"===e.gradientType?`radial-gradient(${t})`:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}return(t,n)=>(w(),d("div",{class:"pptd-text",style:u(R.value),onMousedown:D},[m("div",{ref_key:"textContentRef",ref:y,class:"text-content",style:u(T.value)},[g&&M(l)?(w(),A(wi,{key:0,ref_key:"editorRef",ref:v,"element-id":e.element.elementId,html:O.value,"line-height":x.value.lineHeight,"line-height-px":x.value.lineHeightPx,"margin-top":x.value.marginTop,gradient:K(x.value.gradient),"font-size":x.value.fontSize,"font-family":U(x.value.fontFamily),color:x.value.color,"wrapper-style":{textAlign:T.value.textAlign},onChange:W,onBlur:G,onMousedown:V},null,8,["element-id","html","line-height","line-height-px","margin-top","gradient","font-size","font-family","color","wrapper-style"])):(w(),d("div",{key:1,class:r(["text-static",{"is-gradient":j.value,"is-nowrap":!1===x.value.wrap}]),"data-text-align":T.value.textAlign,style:u(Y.value),innerHTML:I.value},null,14,Mi))],4)],36))}}),e("F",Oi=Y(Ci,[["__scopeId","data-v-0dcafa92"]])),Ii=216e5,Li=2*Math.PI/Ii,e("P",Ei=1e5),zi=Object.keys(Ye).reduce((e,t)=>{const n=Ye[t];var r;return e[t]={viewBox:[200,200],path:n.path||"M 0 0 L 200 0 L 200 200 L 0 200 Z",pathFormula:qd(n),pathSegments:Jd(n),keypointPositions:(r=n,(e,t,n)=>{const o=r.adjustmentNames.map(()=>null),a=n,i={};r.params.forEach(n=>{i[n.name]=Vd(n.fmla,r.adjustmentNames,r.params,a,i,[e,t])});const l=n=>"number"==typeof n?n:Dd(n,r.adjustmentNames,r.params,a,i,[e,t]);return r.ranges.forEach(e=>{const t=e.x?.name??e.y?.name??e.r?.name??e.ang?.name;if(!t||!e.pos)return;const n=r.adjustmentNames.indexOf(t);n<0||(o[n]=[l(e.pos.x),l(e.pos.y)])}),o}),range:n.range,defaultValue:n.defaultValue,adjustmentNames:n.adjustmentNames},e},{}),Ri={darken:{mod:.5,off:0},darkenLess:{mod:.75,off:0},lighten:{mod:.5,off:.5},lightenLess:{mod:.75,off:.25}},e("k",[{type:"rectangle",children:["rect","frame","halfFrame","roundRect","round1Rect","round2DiagRect","round2SameRect","snip1Rect","snip2DiagRect","snip2SameRect"]},{type:"otherShapes",children:["ellipse","triangle","rtTriangle","diamond","pentagon","hexagon","heptagon","octagon","decagon","dodecagon","pie","chord","teardrop","plaque","can","cube","bevel","donut","blockArc","cornerTabs","homePlate","chevron","pieWedge","foldedCorner","trapezoid","parallelogram","cloudCallout","wedgeEllipseCallout","wedgeRectCallout","wedgeRoundRectCallout"]},{type:"decoration",children:["heart","lightningBolt","sun","moon","cloud","irregularSeal1","irregularSeal2","noSmoking","diagStripe","gear6","star4","star5","star6","star7","star8","star10","star12","star16","star24","star32"]}]),e("A",[{type:"straightLine",children:[{path:"M 0 0 L 200 200",style:"solid",points:["",""],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["","arrow"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["","oval"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["","diamond"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["","triangle"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["arrow","arrow"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["oval","oval"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["diamond","diamond"],type:"line"},{path:"M 0 0 L 200 200",style:"solid",points:["triangle","triangle"],type:"line"}]},{type:"curve",children:[{path:"M 0 0 L 0 200 L 200 200",style:"solid",points:["","arrow"],type:"bentConnector2"},{path:"M 0 0 L 0 200 L 200 200",style:"solid",points:["arrow","arrow"],type:"bentConnector2"},{path:"M 0 0 L 100 0 L 100 200 L 200 200",style:"solid",points:["","arrow"],type:"bentConnector3"},{path:"M 0 0 L 100 0 L 100 200 L 200 200",style:"solid",points:["arrow","arrow"],type:"bentConnector3"},{path:"M 0 0 Q 0 200 200 200",style:"solid",points:["","arrow"],type:"curvedConnector2"},{path:"M 0 0 Q 0 200 200 200",style:"solid",points:["arrow","arrow"],type:"curvedConnector2"},{path:"M 0 0 C 200 0 0 200 200 200",style:"solid",points:["","arrow"],type:"curvedConnector3"},{path:"M 0 0 C 200 0 0 200 200 200",style:"solid",points:["arrow","arrow"],type:"curvedConnector3"},{...zi.arc,path:"M 100 0 A 100 100 0 0 1 100 200"}]}]),Bi=["id","orient","markerWidth","markerHeight","refX","refY"],Hi=["d","fill","fill-opacity","transform"],e("O",Fi=v({__name:"LinePointMarker",props:{id:{},position:{},type:{},baseSize:{},color:{},opacity:{}},setup(e){const t=e,n={arrow:"M0,0 L10,5 L0,10 0,8.5 6.6,5 0,1.5 Z",stealth:"M0,0 L10,5 L0,10 5,5 Z",diamond:"M5,0 L10,5 L5,10 L0,5 Z",oval:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",triangle:"M0,0 L10,5 L0,10 Z"},r=c(()=>n[t.type]??n.arrow),o=c(()=>1.8*Math.max(t.baseSize,2)),a=c(()=>{if(!t.color?.startsWith("url("))return t.color;const e=t.color.match(/#([^)]+)/)?.[1];return e?`url(#${e})${"end"===t.position?" reverse":""}`:t.color});return(t,n)=>(w(),d("marker",{id:`${e.id}-${e.type}-${e.position}`,markerUnits:"userSpaceOnUse",orient:"start"===e.position?"auto-start-reverse":"auto",markerWidth:3*o.value,markerHeight:3*o.value,refX:2*o.value,refY:1.5*o.value},[m("path",{d:r.value,fill:a.value,"fill-opacity":e.opacity??1,transform:`scale(${.3*o.value}, ${.3*o.value})`},null,8,Hi)],8,Bi))}})),Pi=["viewBox"],Ui=["d","stroke-width"],Ti=["filter"],ji=["d","fill"],Yi=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Ni=["transform"],e("D",Zi=Y(v({__name:"ShapeElement",props:{element:{}},setup(e){const t=e,{theme:n}=qo(),r="editor"===Gd(),a=c(()=>Math.max(t.element.bounds[2],2)),i=c(()=>Math.max(t.element.bounds[3],2)),l=c(()=>({position:"absolute",left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${a.value}px`,height:`${i.value}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),p=c(()=>lu(t.element.shapeName)),{segments:f,viewBox:g,hasShape:v}=_d(()=>t.element),{getFillByMode:y,isImageFillError:h}=ou(()=>t.element.fill,()=>n.value,()=>g.value),b=c(()=>f.value.filter(e=>!p.value||e.stroke).map(e=>{const t="none"===e.fill?null:y(e.fill);return{d:e.d,stroke:e.stroke,fillValue:t&&"transparent"!==t&&"none"!==t?t:null}})),{strokeColor:x,strokeWidth:S,hasStroke:k,strokeDash:C}=iu(()=>t.element.border,()=>n.value,p.value?{color:"#333",width:2}:void 0),{filterUrl:O}=au(()=>t.element.shadow,()=>n.value),I=c(()=>t.element.arrow?.[0]),L=c(()=>t.element.arrow?.[1]),E=c(()=>I.value&&"none"!==I.value?`url(#${t.element.elementId}-${I.value}-start)`:void 0),z=c(()=>L.value&&"none"!==L.value?`url(#${t.element.elementId}-${L.value}-end)`:void 0),B=c(()=>{const e=[];return b.value.forEach((t,n)=>{t.stroke&&e.push(n)}),e}),H=c(()=>B.value[0]),F=c(()=>B.value[B.value.length-1]),P=c(()=>Math.min(.32*Math.min(g.value[0],g.value[1]),48)),U=c(()=>{const e=P.value;return`translate(${g.value[0]/2-e/2} ${g.value[1]/2-e/2}) scale(${e/48})`});return(e,n)=>(w(),d("div",{class:"pptd-shape",style:u(l.value)},[M(v)?(w(),d("svg",{key:0,viewBox:`0 0 ${Math.max(M(g)[0],2)} ${Math.max(M(g)[1],2)}`,preserveAspectRatio:"none",style:{width:"100%",height:"100%",overflow:"visible"}},[m("defs",null,[I.value&&"none"!==I.value?(w(),A(Fi,{key:0,id:t.element.elementId,position:"start",type:I.value,baseSize:M(S),color:M(x)},null,8,["id","type","baseSize","color"])):s("",!0),L.value&&"none"!==L.value?(w(),A(Fi,{key:1,id:t.element.elementId,position:"end",type:L.value,baseSize:M(S),color:M(x)},null,8,["id","type","baseSize","color"])):s("",!0)]),p.value&&r&&M(k)?(w(!0),d(o,{key:0},R(b.value,(e,t)=>(w(),d("path",{key:`hit-${t}`,class:"line-hit-area",d:e.d,fill:"none",stroke:"transparent","stroke-linecap":"butt","stroke-width":Math.max(M(S),12),"vector-effect":"non-scaling-stroke"},null,8,Ui))),128)):s("",!0),m("g",{filter:M(O)},[(w(!0),d(o,null,R(b.value,(e,t)=>(w(),d(o,{key:t},[e.fillValue&&!p.value?(w(),d("path",{key:0,d:e.d,fill:e.fillValue,stroke:"none"},null,8,ji)):s("",!0),e.stroke&&M(k)?(w(),d("path",{key:1,d:e.d,fill:"none","stroke-linecap":"butt",stroke:M(x),"stroke-width":M(S),"stroke-dasharray":M(C),"marker-start":t===H.value?E.value:void 0,"marker-end":t===F.value?z.value:void 0,"vector-effect":"non-scaling-stroke"},null,8,Yi)):s("",!0)],64))),128)),M(h)&&!p.value&&P.value>0?(w(),d("g",{key:0,transform:U.value},[...n[0]||(n[0]=[m("rect",{x:"8",y:"10",width:"32",height:"28",rx:"3",fill:"none",stroke:"#aeb4bd","stroke-width":"2","vector-effect":"non-scaling-stroke"},null,-1),m("path",{d:"M12 33l9-10 7 7 4-4 4 7",fill:"none",stroke:"#aeb4bd","stroke-width":"2","vector-effect":"non-scaling-stroke"},null,-1),m("circle",{cx:"32",cy:"18",r:"3",fill:"#aeb4bd"},null,-1)])],8,Ni)):s("",!0)],8,Ti)],8,Pi)):s("",!0)],4))}}),[["__scopeId","data-v-684ec2ce"]])),e("T",Wi="sharp"),e("E",[{labelKey:"floatBar.lineCurveSharp",value:"sharp"},{labelKey:"floatBar.lineCurveRound",value:"round"},{labelKey:"floatBar.lineCurveSmooth",value:"smooth"}]),Gi=48,Vi=1e-6,Di=["viewBox"],Ki=["d","stroke-width","stroke-linecap","stroke-linejoin"],Xi=["filter"],Ji=["d","stroke","stroke-width","stroke-dasharray","stroke-linecap","stroke-linejoin","marker-start","marker-end"],e("S",qi=Y(v({__name:"LineElement",props:{element:{}},setup(e){const t=e,{theme:n}=qo(),r="editor"===Gd(),o=c(()=>Math.max(t.element.bounds[2],2)),a=c(()=>Math.max(t.element.bounds[3],2)),i=c(()=>({position:"absolute",left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${o.value}px`,height:`${a.value}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),l=c(()=>t.element.viewBox??[t.element.bounds[2],t.element.bounds[3]]),p=c(()=>[o.value,a.value]),f=c(()=>su(t.element.points)),g=c(()=>{const[e,t]=l.value,n=o.value/Math.max(e,1e-6),r=a.value/Math.max(t,1e-6);return f.value.map(e=>[e[0]*n,e[1]*r])}),v=c(()=>pu(g.value,t.element.curve)),{strokeColor:y,strokeWidth:h,hasStroke:b,strokeDash:x}=iu(()=>t.element.border,()=>n.value),{filterUrl:S}=au(()=>t.element.shadow,()=>n.value),k=c(()=>"smooth"===t.element.curve?"round":"butt"),C=c(()=>"sharp"===t.element.curve?"miter":"round"),O=c(()=>t.element.arrow?.[0]),I=c(()=>t.element.arrow?.[1]),L=c(()=>O.value&&"none"!==O.value?`url(#${t.element.elementId}-${O.value}-start)`:void 0),E=c(()=>I.value&&"none"!==I.value?`url(#${t.element.elementId}-${I.value}-end)`:void 0);return(e,n)=>(w(),d("div",{class:"pptd-line",style:u(i.value)},[v.value&&M(b)?(w(),d("svg",{key:0,viewBox:`0 0 ${p.value[0]} ${p.value[1]}`,preserveAspectRatio:"none",style:{width:"100%",height:"100%",overflow:"visible"}},[m("defs",null,[O.value&&"none"!==O.value?(w(),A(Fi,{key:0,id:t.element.elementId,position:"start",type:O.value,baseSize:M(h),color:M(y)},null,8,["id","type","baseSize","color"])):s("",!0),I.value&&"none"!==I.value?(w(),A(Fi,{key:1,id:t.element.elementId,position:"end",type:I.value,baseSize:M(h),color:M(y)},null,8,["id","type","baseSize","color"])):s("",!0)]),r?(w(),d("path",{key:0,class:"line-hit-area",d:v.value,fill:"none",stroke:"transparent","stroke-width":Math.max(M(h),12),"stroke-linecap":k.value,"stroke-linejoin":C.value,"vector-effect":"non-scaling-stroke"},null,8,Ki)):s("",!0),m("g",{filter:M(S)},[m("path",{d:v.value,fill:"none",stroke:M(y),"stroke-width":M(h),"stroke-dasharray":M(x),"stroke-linecap":k.value,"stroke-linejoin":C.value,"marker-start":L.value,"marker-end":E.value,"vector-effect":"non-scaling-stroke"},null,8,Ji)],8,Xi)],8,Di)):s("",!0)],4))}}),[["__scopeId","data-v-b619bf31"]])),Qi={key:0,class:"pptd-image__placeholder pptd-image__placeholder--loading"},$i={key:1,class:"pptd-image__placeholder pptd-image__placeholder--error"},_i=["viewBox"],el=["filter"],tl=["href","x","y","width","height","preserveAspectRatio","clip-path"],nl=["d","stroke","stroke-width","stroke-dasharray","transform"],rl=["width","height","stroke","stroke-width","stroke-dasharray"],e("x",ol=Y(v({__name:"ImageElement",props:{element:{}},setup(e){const t=e,{theme:n}=qo(),{useResolvedImageUrl:r}=Sd(),{src:o,isLoading:a,isError:i}=r(()=>t.element.src,{validate:!0,emptyStatus:"error"}),l=c(()=>({position:"absolute",left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${t.element.bounds[2]}px`,height:`${t.element.bounds[3]}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),p=c(()=>{const e=t.element.fit?.mode;return"cover"===e||void 0===e?"xMidYMid slice":"contain"===e?"xMidYMid meet":"none"}),{clipPathUrl:f,hasShape:A,pathString:g,viewBox:v}=function(e){const{pathString:t,viewBox:n,hasShape:r}=_d(e),o=ru(()=>{const[,,o,a]=e().bounds;if(r.value)return{kind:"clipPath",pathString:t.value,viewBox:n.value,bounds:[o,a]}});return{clipId:o,clipPathUrl:c(()=>o.value?`url(#${o.value})`:void 0),hasShape:r,pathString:t,viewBox:n}}(()=>({...fu(t.element),bounds:t.element.bounds})),{filterUrl:y}=au(()=>t.element.shadow,()=>n.value),{strokeColor:h,strokeWidth:b,hasStroke:x,strokeDash:S}=iu(()=>t.element.border,()=>n.value),k=c(()=>t.element.bounds[2]),C=c(()=>t.element.bounds[3]),O=c(()=>{const e=k.value/Math.max(v.value[0],1e-6),t=C.value/Math.max(v.value[1],1e-6);return 1===e&&1===t?void 0:`scale(${e} ${t})`}),I=c(()=>{const e=t.element.crop,n=e?.left??0,r=e?.top??0,o=e?.right??0,a=e?.bottom??0,i=Math.max(1-n-o,1e-4),l=Math.max(1-r-a,1e-4),s=k.value/i,c=C.value/l;return{x:-n*s,y:-r*c,w:s,h:c}}),L=c(()=>{const e=t.element.crop;return!(!e||!(e.left||e.top||e.right||e.bottom))}),E=ru(()=>{if(!A.value&&L.value)return{kind:"clipPath",pathString:`M0 0 H${k.value} V${C.value} H0 Z`,viewBox:[k.value,C.value],bounds:[k.value,C.value]}}),z=c(()=>A.value?f.value:E.value?`url(#${E.value})`:void 0);return(e,t)=>(w(),d("div",{class:"pptd-image",style:u(l.value)},[M(a)?(w(),d("div",Qi)):M(i)?(w(),d("div",$i,[...t[0]||(t[0]=[m("svg",{class:"pptd-image__placeholder-icon",viewBox:"0 0 48 48","aria-hidden":"true"},[m("rect",{x:"8",y:"10",width:"32",height:"28",rx:"3",fill:"none",stroke:"currentColor","stroke-width":"2"}),m("path",{d:"M12 33l9-10 7 7 4-4 4 7",fill:"none",stroke:"currentColor","stroke-width":"2"}),m("circle",{cx:"32",cy:"18",r:"3",fill:"currentColor"})],-1)])])):M(o)?(w(),d("svg",{key:2,viewBox:`0 0 ${k.value} ${C.value}`,preserveAspectRatio:"none",style:{width:"100%",height:"100%",overflow:"visible"}},[m("g",{filter:M(y)},[m("image",{href:M(o),x:I.value.x,y:I.value.y,width:I.value.w,height:I.value.h,preserveAspectRatio:p.value,"clip-path":z.value},null,8,tl),M(A)&&M(x)?(w(),d("path",{key:0,d:M(g),fill:"none",stroke:M(h),"stroke-width":M(b),"stroke-dasharray":M(S),transform:O.value,"vector-effect":"non-scaling-stroke"},null,8,nl)):M(x)?(w(),d("rect",{key:1,x:"0",y:"0",width:k.value,height:C.value,fill:"none",stroke:M(h),"stroke-width":M(b),"stroke-dasharray":M(S),"vector-effect":"non-scaling-stroke"},null,8,rl)):s("",!0)],8,el)],8,_i)):s("",!0)],4))}}),[["__scopeId","data-v-21122ecf"]])),al={style:"solid",width:1,color:"#000000"},il=1.12,ll=3.6,sl={left:"flex-start",center:"center",right:"flex-end",justify:"space-between",distributed:"space-between"},cl={top:"flex-start",middle:"center",bottom:"flex-end"},dl={solid:"solid",dash:"dashed",dot:"dotted",none:"none"},ul=e=>e&&!e.content?{text:""}:{content:{text:""}},pl=(e,t,n)=>{const r=e[t]?.[n];return"anchor"!==r?.kind?null:{row:r.rowIndex,col:r.colIndex}},fl=20,ml=["data-cell-id","rowspan","colspan"],Al=["data-text-align"],gl=["innerHTML"],vl=v({__name:"TableCell",props:{info:{},isEditing:{type:Boolean},isActive:{type:Boolean},isSelected:{type:Boolean},cellId:{},editorId:{},contextmenus:{type:Function}},emits:["mousedown","keydown","mouseenter","updateText","blur"],setup(e,{emit:t}){const n=e,o=t,a={"flex-start":"left",center:"center","flex-end":"right","space-between":"justify"},i=h("$cellEditor"),l=e=>{var t;o("mousedown",e),!n.isEditing||0!==e.button||e.shiftKey||(t=e.target)instanceof Element&&t.closest(".ProseMirror")||(e.preventDefault(),(()=>{let e;const t=()=>{void 0!==e&&window.clearTimeout(e),window.removeEventListener("mouseup",t),k(()=>{requestAnimationFrame(()=>{i.value?.focus()})})};window.addEventListener("mouseup",t,{once:!0}),e=window.setTimeout(t,80)})())},s=()=>{const e=String(n.info.contentStyle.alignItems||"center");return"center"===e?"safe center":e},c=()=>a[String(n.info.contentStyle.justifyContent)]||"left",p=()=>{const e={display:"flex",width:"100%",height:"100%",alignItems:String(n.info.contentStyle.alignItems||"center"),justifyContent:String(n.info.contentStyle.justifyContent||"flex-start"),textAlign:c()},t=n.info.contentStyle.lineHeight;return void 0!==t&&(e.lineHeight=String(t)),n.info.tdStyle.fontWeight&&(e.fontWeight=String(n.info.tdStyle.fontWeight)),e},f=()=>{const e={display:"flex",flexDirection:"column",width:"100%",height:"100%",justifyContent:s(),textAlign:c()},t=n.info.contentStyle.lineHeight;return void 0!==t&&(e.lineHeight=String(t)),n.info.tdStyle.fontWeight&&(e.fontWeight=String(n.info.tdStyle.fontWeight)),e};return(t,a)=>{const s=E("contextmenu");return H((w(),d("td",{class:r(["pptd-table-cell",{editing:e.isEditing,selected:e.isSelected&&!e.isActive}]),"data-cell-id":e.cellId,style:u(e.info.tdStyle),rowspan:e.info.rowSpan,colspan:e.info.colSpan,onMousedown:l,onMouseenter:a[3]||(a[3]=e=>o("mouseenter"))},[m("div",{class:"pptd-table-cell-content",style:u(e.info.contentStyle)},[e.isEditing?(w(),A(wi,{key:0,ref_key:"$cellEditor",ref:i,"element-id":e.editorId,html:e.info.html,"font-size":n.info.editorFontSize,"font-family":e.info.tdStyle.fontFamily||void 0,color:e.info.tdStyle.color||void 0,"line-height":e.info.content?.lineHeight,"line-height-px":e.info.content?.lineHeightPx,"margin-top":e.info.content?.marginTop,"wrapper-style":p(),"sync-focused-html":!e.isActive,onChange:a[0]||(a[0]=e=>o("updateText",e)),onKeydownCapture:a[1]||(a[1]=e=>o("keydown",e)),onBlur:a[2]||(a[2]=e=>o("blur"))},null,8,["element-id","html","font-size","font-family","color","line-height","line-height-px","margin-top","wrapper-style","sync-focused-html"])):(w(),d("div",{key:1,class:"pptd-table-cell-static","data-text-align":c(),style:u(f())},[m("div",{class:"pptd-table-cell-static-inner",innerHTML:e.info.staticHtml},null,8,gl)],12,Al))],4)],46,ml)),[[s,e.contextmenus]])}}}),yl=Y(vl,[["__scopeId","data-v-c248007e"]]),hl={key:0,class:"table-resize-handlers"},bl=["onMousedown"],wl=["onMousedown"],e("_",xl=Y(v({__name:"TableElement",props:{element:{}},emits:["update"],setup(e,{emit:t}){const n=e,a=t,{theme:l,currentPage:p,removeElement:g}=qo(),{handleElementId:v,pushUndo:y,selectedTableCells:b,activeTableCellKey:x,isOperating:S,canvasScale:C,isEditable:O}=La(),I="editor"===Gd(),{cellRenderInfo:E,rowHeights:H,rowHeightsPx:F,colWidthsPx:P,boxShadow:U,tableTransform:T,gridLayout:j}=wu(i(n,"element"),l),Y=c(()=>I&&v.value===n.element.elementId),N=f(null),Z=f(null),W=f(!1),{canMerge:G,canSplit:V,mergeCells:D,splitCell:X,insertRow:J,deleteRows:q,insertCol:$,deleteCols:_,clearCells:ee}=Cu(i(n,"element"),j,b),{t:te}=K(),ne=h("tableGridRef"),re=f(!1),oe=f({}),ae=e=>Number.parseFloat(e)||0,ie=e=>`${e.rowIndex}_${e.colIndex}`,le=e=>ne.value?.querySelector(`.pptd-table-cell[data-cell-id="${e}"]`),se=c(()=>{const e=Kc(l.value,n.element.fill);if(e){if("solid"===e.type)return e.color;if("gradient"===e.type){const t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(100*e.position)}%`).join(", ");return"radial"===e.gradientType?`radial-gradient(${t})`:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}}),ce=e=>{const t=e.querySelector(".pptd-table-cell-content");if(!t)return 0;const n=getComputedStyle(t),r=getComputedStyle(e),o=t.querySelector(".ProseMirror"),a=t.querySelector(".pptd-table-cell-static-inner");return Math.max(t.scrollHeight,o?.scrollHeight??0,a?.scrollHeight??0)+ae(n.top)+ae(n.bottom)+ae(r.borderTopWidth)+ae(r.borderBottomWidth)},{isDragging:de,draggingLineId:ue,colDragLinePositions:pe,rowDragLinePositions:fe,handleColDragStart:me,handleRowDragStart:Ae}=function(e,t,n,r,o){const a=f(!1),i=f(null),l=c(()=>{const t=[];let n=0;for(const r of e.value)n+=r,t.push(n);return t}),s=c(()=>{const e=[];let n=0;for(const r of t.value)n+=r,e.push(n);return e});return{isDragging:a,draggingLineId:i,colDragLinePositions:l,rowDragLinePositions:s,handleColDragStart:(t,l)=>{t.stopPropagation(),t.preventDefault(),a.value=!0,i.value=`col-${l}`;const s=t.clientX,c=[...e.value],d=l+1,u=d{const t=(e.clientX-s)/r.value;if(Math.abs(t)<1)return;const a=[...c];if(t>0)if(u){const e=c[d]-fl,n=Math.min(t,e);a[l]=c[l]+n,a[d]=c[d]-n;const r=t-n;r>0&&(a[l]+=r)}else a[l]=c[l]+t;else{const e=Math.min(Math.abs(t),c[l]-fl);a[l]=c[l]-e,u&&(a[d]=c[d]+e)}const i=a.reduce((e,t)=>e+t,0),p=a.map(e=>e/i);o({bounds:[n.value[0],n.value[1],i,n.value[3]],columnWidths:p})},f=()=>{a.value=!1,i.value=null,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",f)};document.addEventListener("mousemove",p),document.addEventListener("mouseup",f)},handleRowDragStart:(e,l)=>{e.stopPropagation(),e.preventDefault(),a.value=!0,i.value=`row-${l}`;const s=e.clientY,c=[...t.value],d=l+1,u=d{const t=(e.clientY-s)/r.value;if(Math.abs(t)<1)return;const a=[...c];if(t>0)if(u){const e=c[d]-fl,n=Math.min(t,e);a[l]=c[l]+n,a[d]=c[d]-n;const r=t-n;r>0&&(a[l]+=r)}else a[l]=c[l]+t;else{const e=Math.min(Math.abs(t),c[l]-fl);a[l]=c[l]-e,u&&(a[d]=c[d]+e)}const i=a.reduce((e,t)=>e+t,0),p=a.map(e=>e/i);o({bounds:[n.value[0],n.value[1],n.value[2],i],rowHeights:p})},f=()=>{a.value=!1,i.value=null,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",f)};document.addEventListener("mousemove",p),document.addEventListener("mouseup",f)}}}(P,F,c(()=>n.element.bounds),C,e=>a("update",e));B(()=>v.value,e=>{if(e!==n.element.elementId)return x.value=null,N.value=null,Z.value=null,W.value=!1,b.value=[],re.value=!1,void(oe.value={})}),B(Z,e=>{if(!N.value||!Y.value)return;const t=N.value.row,n=N.value.col,r=e?.row??t,o=e?.col??n,a=Math.min(t,r),i=Math.max(t,r),l=Math.min(n,o),s=Math.max(n,o),c=[];for(let d=a;d<=i;d++)for(let e=l;e<=s;e++){const t=j.value[d]?.[e];"anchor"===t?.kind&&c.push(`${t.rowIndex}_${t.colIndex}`)}b.value=c}),B(b,e=>{e.length>1&&null!==x.value&&(x.value=null)});const ge=()=>{W.value=!1,b.value.length>1&&window.getSelection()?.removeAllRanges()};L(()=>{document.addEventListener("mouseup",ge),document.addEventListener("keydown",be)}),z(()=>{document.removeEventListener("mouseup",ge),document.removeEventListener("keydown",be),re.value=!1,oe.value={}}),B(()=>[S.value,de.value],([e,t])=>{if(v.value===n.element.elementId)return e||t?(document.activeElement?.blur?.(),x.value=null,b.value=[],void(oe.value={})):void 0},{flush:"post"});const ve=e=>{e&&(y(),a("update",e))},ye=(e,t,n={})=>{const r=j.value[e]?.[t];if("anchor"!==r?.kind)return;const o=`${r.rowIndex}_${r.colIndex}`;N.value={row:r.rowIndex,col:r.colIndex},Z.value=null,x.value=o,b.value=[o],k(()=>{(e=>{const t=le(e);t&&(oe.value={...oe.value,[e]:ce(t)})})(o),!1!==n.focusEditor&&ne.value?.querySelector(`.pptd-table-cell[data-cell-id="${o}"] .ProseMirror`)?.focus()})},he=e=>{if(!x.value)return!1;const[t,n]=x.value.split("_").map(Number),r=function(e,t,n,r){const o=e.length,a=e[0]?.length??0,i="left"===r?-1:1;let l=t,s=n+i;for(;l>=0&&l=0&&s{if(Y.value)return b.value.length>1&&("Delete"===e.key||"Backspace"===e.key)?(e.preventDefault(),void ve(ee(b.value))):"Tab"===e.key&&x.value?(e.preventDefault(),e.stopPropagation(),void he(e.shiftKey?"left":"right")):void 0},we=e=>`${n.element.elementId}:${ie(e)}`,xe=e=>{I&&Y.value&&(e.stopPropagation(),x.value=null,b.value=[],N.value=null,Z.value=null,oe.value={})},Se=(e,t)=>{const{rowIndex:r,cellIndexInRow:o}=e,i=n.element.rows[r]?.[o];t!==(i?xu(i):"")&&(re.value||(y(),re.value=!0),a("update",{rows:n.element.rows.map((e,n)=>{if(n!==r)return e;const a=[...e],i=a[o];return a[o]=Su(i,t),a})}),k(()=>(e=>{const t=ie(e),r=le(t);if(!r)return;const o=ce(r),i=Math.max(1,e.rowSpan),l=F.value.slice(e.rowIndex,e.rowIndex+i),s=l.reduce((e,t)=>e+t,0),c=oe.value[t]??s;if(o<=Math.max(s,c)+1)return;const d=[...F.value],u=o-s;l.forEach((t,n)=>{const r=s>0?t/s:1/i,o=e.rowIndex+n;d[o]=(d[o]??0)+u*r});const p=d.reduce((e,t)=>e+t,0);a("update",{bounds:[n.element.bounds[0],n.element.bounds[1],n.element.bounds[2],Math.ceil(p)],rowHeights:d.map(e=>e/p)})})(e)))},ke=()=>{re.value=!1,oe.value={},Q("msh_nppt_element_edited",{type:"table",edit_type:"changeText"},["type","edit_type"])},Me=(e,t)=>{if(!I||!O.value)return[];const{rowIndex:r,colIndex:o}=e,a=n.element.rows.length,i=n.element.columnWidths.length;return[{text:te("contextMenu.insertColumn"),children:[{text:te("contextMenu.insertColumnLeft"),handler:()=>ve($(o))},{text:te("contextMenu.insertColumnRight"),handler:()=>ve($(o+1))}]},{text:te("contextMenu.insertRow"),children:[{text:te("contextMenu.insertRowAbove"),handler:()=>ve(J(r))},{text:te("contextMenu.insertRowBelow"),handler:()=>ve(J(r+1))}]},{text:te("contextMenu.deleteColumn"),disable:i<=1,handler:()=>ve(_([o]))},{text:te("contextMenu.deleteRow"),disable:a<=1,handler:()=>ve(q([r]))},{divider:!0},{text:te("contextMenu.mergeCells"),disable:!G.value,handler:()=>{ve(D()),x.value=null,b.value=[]}},{text:te("contextMenu.unmergeCells"),disable:!V.value||1!==b.value.length,handler:()=>{ve(X(r,o)),x.value=null,b.value=[]}},{divider:!0},{text:te("contextMenu.selectCurrentColumn"),handler:()=>{const e=[];for(let t=0;t{const e=[];for(let t=0;t(()=>{const e=[];j.value.forEach((t,n)=>{t.forEach((t,r)=>{"anchor"===t?.kind&&e.push(`${n}_${r}`)})}),b.value=e})()},{divider:!0},{text:te("contextMenu.deleteTable"),handler:()=>(()=>{const e=p.value;e&&(y(),g(e.pageId,n.element.elementId),b.value=[],x.value=null)})()}]},Ce=c(()=>({position:"absolute",left:`${n.element.bounds[0]}px`,top:`${n.element.bounds[1]}px`,width:`${n.element.bounds[2]}px`,height:`${n.element.bounds[3]}px`,transform:`rotate(${n.element.rotation??0}deg) scaleX(${n.element.flip?.[0]?-1:1}) scaleY(${n.element.flip?.[1]?-1:1})`,opacity:n.element.opacity??1,boxShadow:U.value,background:se.value}));return(e,t)=>(w(),d("div",{class:r(["pptd-table",{editing:Y.value,dragging:M(de)}]),style:u(Ce.value),onMousedown:xe},[Y.value?(w(),d("div",hl,[(w(!0),d(o,null,R(M(pe),(e,t)=>(w(),d("div",{key:`col-${t}`,class:r(["drag-line-col",{dragging:M(ue)===`col-${t}`}]),style:u({left:`${e}px`}),onMousedown:e=>M(me)(e,t)},null,46,bl))),128)),(w(!0),d(o,null,R(M(fe),(e,t)=>(w(),d("div",{key:`row-${t}`,class:r(["drag-line-row",{dragging:M(ue)===`row-${t}`}]),style:u({top:`${e}px`}),onMousedown:e=>M(Ae)(e,t)},null,46,wl))),128))])):s("",!0),m("table",{ref:"tableGridRef",class:"pptd-table-grid",style:u({transform:M(T)})},[m("colgroup",null,[(w(!0),d(o,null,R(M(P),(e,t)=>(w(),d("col",{key:t,style:u({width:`${e}px`})},null,4))),128))]),m("tbody",null,[(w(!0),d(o,null,R(M(E),(e,t)=>(w(),d("tr",{key:t,style:u({height:100*M(H)[t]+"%"})},[(w(!0),d(o,null,R(e,(e,t)=>(w(),d(o,{key:t},[e?(w(),A(yl,{key:0,"cell-id":`${e.rowIndex}_${e.colIndex}`,"editor-id":we(e),info:e,"is-editing":Y.value,"is-active":M(x)===`${e.rowIndex}_${e.colIndex}`,"is-selected":Y.value&&M(b).includes(`${e.rowIndex}_${e.colIndex}`),contextmenus:t=>Me(e),onMousedown:t=>((e,t)=>{if(!I)return;const n=ie(t);if(0===e.button){if(!Y.value)return x.value=null,void(b.value=[]);if(e.stopPropagation(),W.value=!0,e.shiftKey&&N.value)Z.value={row:t.rowIndex,col:t.colIndex};else{if(x.value===n)return;ye(t.rowIndex,t.colIndex,{focusEditor:!1})}}else Y.value&&e.stopPropagation()})(t,e),onKeydown:be,onMouseenter:t=>(e=>{I&&W.value&&Y.value&&(Z.value={row:e.rowIndex,col:e.colIndex})})(e),onUpdateText:t=>Se(e,t),onBlur:ke},null,8,["cell-id","editor-id","info","is-editing","is-active","is-selected","contextmenus","onMousedown","onMouseenter","onUpdateText"])):s("",!0)],64))),128))],4))),128))])],4)],38))}}),[["__scopeId","data-v-aa0f483e"]])),Sl=.2,kl=.7,Ml=.8,Cl=[8,50],e("p",Ol="#75cc9c"),e("f",Il="#ee6666"),e("h",Ll=Ol),e("m",El=Il),zl={style:"solid",width:1,color:"#ffffff"},Rl={solid:"solid",dash:"dashed",dot:"dotted"},Bl=new Set(["0","#",".",",","%"]),Hl={top:{top:0,left:"center"},bottom:{bottom:0,left:"center"},left:{left:0,top:"middle",orient:"vertical"},right:{right:0,top:"middle",orient:"vertical"}},Fl={itemWidth:10,itemHeight:10},Pl={circle:"circle",rect:"rect",diamond:"diamond",triangle:"triangle"},Ul={bar:rp,line:ap,area:ip,scatter:up,pie:fp,radar:mp,combo:Ap,bubble:pp},Tl=null,jl=e=>"boolean"==typeof e?{enabled:e,replayKey:0}:e?{enabled:e.enabled,replayKey:e.replayKey??0}:{enabled:!1,replayKey:0},[Yl,Nl]=b(e=>c(()=>void 0===e?{enabled:!0,replayKey:0}:jl(p(e)))),e("d",Yl),Zl=v({__name:"ChartElement",props:{element:{}},setup(e){const n=e,{theme:r}=qo(),{useResolvedImageUrl:o}=Sd(),a=Nl(),i=Gd(),l=x(Si,c(()=>1)),p=f();let A=null,g=!1,v=0;const y=c(()=>function(e,t){switch(t.elementType){case"text":return{...t,content:qc(e,t.content)};case"shape":case"image":case"icon":return od(e,t);case"table":{const n="string"==typeof t.style?Dc(e,t.style):void 0;return{...t,border:t.border?Jc(e,t.border):void 0,shadow:t.shadow?{...t.shadow,color:Gc(e,t.shadow.color)??t.shadow.color}:void 0,style:n??t.style,rows:t.rows.map(t=>t.map(t=>({...t,content:t.content?qc(e,t.content):void 0,fill:t.fill?Kc(e,t.fill):void 0,border:t.border?Jc(e,t.border):void 0})))}}case"chart":{const n=t,r=n;return{...od(e,n),colors:r.colors?.map(t=>Gc(e,t)??t),series:Array.isArray(n.series)?n.series.map(t=>nd(e,t)):n.series,seriesDefaults:rd(e,n.seriesDefaults),seriesStyle:r.seriesStyle?Object.fromEntries(Object.entries(r.seriesStyle).map(([t,n])=>[t,{...n,fill:n.fill?Kc(e,n.fill):void 0,border:n.border?Xc(e,n.border):void 0,marker:n.marker&&"object"==typeof n.marker?{...n.marker,fill:n.marker.fill?Kc(e,n.marker.fill):void 0,border:n.marker.border?Xc(e,n.marker.border):void 0}:n.marker}])):void 0,xAxis:_c(e,n.xAxis),yAxis:_c(e,n.yAxis),secondaryAxis:$c(e,r.secondaryAxis),title:"object"==typeof n.title&&n.title?{...n.title,color:Gc(e,n.title.color)}:n.title,legend:n.legend&&"object"==typeof n.legend?{...n.legend,color:Gc(e,n.legend.color)}:n.legend,dataLabels:n.dataLabels?{...n.dataLabels,color:Gc(e,n.dataLabels.color)}:n.dataLabels}}default:return t}}(r.value,n.element)),h=c(()=>y.value.fill),b=c(()=>y.value.border),S=c(()=>y.value.shadow),{src:k}=o(()=>"image"===h.value?.type?h.value.src:void 0),M={solid:"solid",dash:"dashed",dot:"dotted",none:"none"},C=c(()=>((e,t)=>{if(!e)return;if("solid"===e.type)return{background:e.color};if("gradient"===e.type){const t=e.stops.toSorted((e,t)=>e.position-t.position).map(e=>`${e.color} ${Math.round(100*e.position)}%`).join(", ");return"radial"===e.gradientType?{background:`radial-gradient(${t})`}:{background:`linear-gradient(${((e.angle??0)+90)%360}deg, ${t})`}}if(!t)return;const n=e.fit?.mode??"fill";return{backgroundImage:`url(${JSON.stringify(t)})`,backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover"===n?"cover":"contain"===n?"contain":"100% 100%",opacity:e.opacity??1}})(h.value,k.value)),O=c(()=>(e=>{if(e&&"none"!==e.style&&e.width)return{border:`${e.width}px ${M[e.style??"solid"]} ${e.color??"#000000"}`}})(b.value)),I=c(()=>a?.value.enabled??!1),E=c(()=>a?.value.replayKey??0),R=c(()=>{if("screen"!==i)return;const[,,e]=n.element.bounds;if(e<=0)return;const t=e*l.value;return Math.max(t/e,1)*("undefined"!=typeof window&&window.devicePixelRatio>1?2:1)}),H=c(()=>{const e=S.value;if(!e)return;const[t,n]=e.offset??[0,0];return`${t}px ${n}px ${e.blur}px ${e.color}`}),F=c(()=>({position:"absolute",left:`${n.element.bounds[0]}px`,top:`${n.element.bounds[1]}px`,width:`${n.element.bounds[2]}px`,height:`${n.element.bounds[3]}px`,transform:`rotate(${n.element.rotation??0}deg) scaleX(${n.element.flip?.[0]?-1:1}) scaleY(${n.element.flip?.[1]?-1:1})`,opacity:n.element.opacity??1,boxShadow:H.value}));function P(){return{...Vp(y.value),animation:I.value}}async function T(){if(!p.value)return;const e=p.value,r=++v,o=await(Tl??(Tl=U(async()=>{const{echarts:e}=await t.import("./echartsCore-legacy-C40qgeUA.js");return{echarts:e}},void 0).then(({echarts:e})=>e)),Tl);g||p.value!==e||r!==v||(A=o.init(p.value,void 0,function(){const e={renderer:"canvas",width:n.element.bounds[2],height:n.element.bounds[3]},t=R.value;return t?{...e,devicePixelRatio:t}:e}()),await V(0),g||p.value!==e||r!==v||A?.setOption(P()))}function j(){v++,A?.dispose(),A=null}function Y(){A?.resize()}let N=null;return L(()=>{g=!1,T(),p.value&&(N=new ResizeObserver(Y),N.observe(p.value))}),"screen"!==i&&(B(()=>y.value,()=>{A?.setOption(P(),!0)},{deep:!0}),B(()=>E.value,()=>{I.value&&A&&(A.clear(),A.setOption(P(),!0))}),B(R,function(){p.value&&A&&(j(),T())},{flush:"post"}),B(()=>[n.element.bounds[2],n.element.bounds[3]],function(){A?.resize({width:n.element.bounds[2],height:n.element.bounds[3]})},{flush:"post"})),z(()=>{g=!0,N?.disconnect(),j()}),(e,t)=>(w(),d("div",{class:"pptd-chart",style:u(F.value)},[C.value?(w(),d("div",{key:0,class:"pptd-chart__background",style:u(C.value)},null,4)):s("",!0),m("div",{ref_key:"chartRef",ref:p,class:"pptd-chart__canvas"},null,512),O.value?(w(),d("div",{key:1,class:"pptd-chart__border",style:u(O.value)},null,4)):s("",!0)],4))}}),e("u",Wl=Y(Zl,[["__scopeId","data-v-96b529a8"]])),Gl=["viewBox"],Vl=["filter"],Dl=["innerHTML"],Kl=["viewBox"],Xl=["filter"],Jl=["d","fill","stroke","stroke-width","stroke-dasharray"],e("l",ql=Y(v({__name:"IconElement",props:{element:{}},setup(e){const t=e,{theme:n}=qo(),r=c(()=>({position:"absolute",left:`${t.element.bounds[0]}px`,top:`${t.element.bounds[1]}px`,width:`${t.element.bounds[2]}px`,height:`${t.element.bounds[3]}px`,transform:`rotate(${t.element.rotation??0}deg) scaleX(${t.element.flip?.[0]?-1:1}) scaleY(${t.element.flip?.[1]?-1:1})`,opacity:t.element.opacity??1})),o=f(),a=f([512,512]);B(()=>t.element.iconName,async e=>{if(oe(e))return void(o.value=void 0);const n=await Ne(e);t.element.iconName===e&&(n?(o.value=n.path,a.value=n.viewBox):o.value=void 0)},{immediate:!0});const i=c(()=>oe(t.element.iconName)),l=c(()=>{const e=i.value?.match(/viewBox=["']\s*0\s+0\s+([\d.]+)\s+([\d.]+)\s*["']/i);return e?[Number(e[1]),Number(e[2])]:[24,24]}),p=c(()=>{if(i.value)return i.value.match(/]*>([\s\S]*?)<\/svg>/i)?.[1]??i.value}),A=c(()=>i.value?l.value:a.value),g={type:"solid",color:"#000000"},v=c(()=>{const e=t.element.fill;return e&&("solid"!==e.type||e.color)?e:g}),{getFillByMode:y}=ou(()=>v.value,()=>n.value,()=>A.value),h=c(()=>y("norm")),{strokeColor:b,strokeWidth:x,hasStroke:S,strokeDash:k}=iu(()=>t.element.border,()=>n.value),{filterUrl:C}=au(()=>t.element.shadow,()=>n.value);return(e,t)=>(w(),d("div",{class:"pptd-icon",style:u(r.value)},[p.value?(w(),d("svg",{key:0,viewBox:`0 0 ${l.value[0]} ${l.value[1]}`,preserveAspectRatio:"none",style:{width:"100%",height:"100%",overflow:"visible"}},[m("g",{filter:M(C)},[m("g",{class:"pptd-icon__local-svg",style:u({"--icon-fill":h.value}),innerHTML:p.value},null,12,Dl)],8,Vl)],8,Gl)):o.value?(w(),d("svg",{key:1,viewBox:`0 0 ${a.value[0]} ${a.value[1]}`,preserveAspectRatio:"none",style:{width:"100%",height:"100%",overflow:"visible"}},[m("g",{filter:M(C)},[m("path",{d:o.value,fill:h.value,stroke:M(S)?M(b):"none","stroke-width":M(S)?M(x):0,"stroke-dasharray":M(S)?M(k):void 0,"vector-effect":"non-scaling-stroke"},null,8,Jl)],8,Xl)],8,Kl)):s("",!0)],4))}}),[["__scopeId","data-v-0b3c6d6e"]])),Ql=new Set(["appear","fade-in","fly-in","zoom-in","wipe-in","float-in","peek-in","rise-in"]),$l=new Set(["disappear","fade-out","fly-out","zoom-out","wipe-out","float-out"]),_l=e=>Ql.has(e.effect),es=e=>$l.has(e.effect),ts={appear:0,disappear:0,"fade-in":500,"fade-out":500,"fly-in":500,"fly-out":500,"zoom-in":500,"zoom-out":500,"wipe-in":500,"wipe-out":500,"float-in":500,"float-out":500,"peek-in":500,"rise-in":1e3,"fill-color":2e3,transparency:2e3,"color-pulse":2e3,pulse:600,"grow-shrink":2e3,spin:2e3,teeter:1e3,"motion-path":2e3},ns=e=>e.durationMs??ts[e.effect],rs=e=>e.delayMs??0,os=e=>e.repeat??1,as=e=>"motion-path"!==e.effect&&e.direction||"up",is=e=>e.easing??"linear",ls=60,ss=["src"],cs=v({__name:"ThumbnailSlide",props:{slide:{},pageWidth:{},pageHeight:{},interactive:{type:Boolean},lazy:{type:Boolean},chartAnimation:{},interactiveElementTypes:{},animationSession:{}},setup(e){const t=e,{pageSize:n}=qo(),i=Gd(),l=Nl();re(),Yl(c(()=>t.chartAnimation??l?.value));const v=f(),y=f(),h=f(1),b=f(!1),x=f(!t.lazy);!function(e,t=!0){C(Si,c(()=>p(e))),C(ki,c(()=>p(t)))}(h,b);const k=af(()=>t.animationSession);function E(){v.value&&(h.value=v.value.clientWidth/n.value[0],b.value=!0)}of(y,()=>t.animationSession,()=>t.slide.elements,()=>n.value);const{isSupported:z,resume:H}=O(v,([e])=>{e.isIntersecting&&(x.value=!0)},{rootMargin:"800px 0px",immediate:!1});B(n,E),B(()=>t.slide,E),B(v,E),L(()=>{const e=window.setTimeout(()=>{if(!x.value&&v.value){const e=v.value.getBoundingClientRect();x.value=e.bottom>-800&&e.topwindow.clearTimeout(e))}),B([()=>t.lazy,z],([e,t])=>{x.value=!e||!t},{immediate:!0}),S(v,E);const{backgroundStyle:F,backgroundMaskStyle:P,backgroundImage:U,backgroundImageFit:T,backgroundImageOpacity:j,isBackgroundImageError:Y,isBackgroundImageLoading:N}=Md(c(()=>t.slide.background)),Z={text:Oi,shape:Zi,line:qi,image:ol,table:xl,chart:Wl,icon:ql};function W(e){return t.interactive||t.interactiveElementTypes?.includes(e)}const G=c(()=>x.value&&("screen"!==i||b.value)),V=c(()=>n.value[1]*h.value);return(t,a)=>(w(),d("div",{ref_key:"$container",ref:v,class:"thumbnail-slide",style:u({height:`${V.value}px`})},[m("div",{ref_key:"$slideWrapper",ref:y,class:"slide-wrapper",style:u({width:`${M(n)[0]}px`,height:`${M(n)[1]}px`,transform:`scale(${h.value})`})},[G.value?(w(),d(o,{key:0},[m("div",{class:r(["background",{"is-loading":M(N),"is-error":M(Y)}]),style:u(M(F))},null,6),M(U)?(w(),d("img",{key:0,class:"background-image",src:M(U),crossorigin:"anonymous",style:u({objectFit:M(T),opacity:M(j)})},null,12,ss)):s("",!0),M(U)&&M(P)?(w(),d("div",{key:1,class:"background-mask",style:u(M(P))},null,4)):s("",!0),g(X),(w(!0),d(o,null,R(e.slide.elements,e=>{return w(),A(I((t=e.elementType,Z[t])),{key:e.elementId,element:e,class:r(["thumbnail-element",{interactive:W(e.elementType),"animation-hidden":M(k)?.has(e.elementId)}]),"data-element-id":e.elementId},null,8,["element","class","data-element-id"]);var t}),128))],64)):s("",!0)],4)],4))}}),e("t",Y(cs,[["__scopeId","data-v-6a8dfeb3"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/__vite-browser-external-CTd_dPxk.js b/editor/neo-ppt/assets/__vite-browser-external-CTd_dPxk.js new file mode 100644 index 0000000..f7af01c --- /dev/null +++ b/editor/neo-ppt/assets/__vite-browser-external-CTd_dPxk.js @@ -0,0 +1 @@ +import{t as e}from"./rolldown-runtime-DWdDZTNf.js";var t=e(((e,t)=>{t.exports={}}));export default t(); \ No newline at end of file diff --git a/editor/neo-ppt/assets/__vite-browser-external-legacy-Ck9y9J0l.js b/editor/neo-ppt/assets/__vite-browser-external-legacy-Ck9y9J0l.js new file mode 100644 index 0000000..5d5d08a --- /dev/null +++ b/editor/neo-ppt/assets/__vite-browser-external-legacy-Ck9y9J0l.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js"],function(e,t){var n;return{setters:[function(e){n=e.t}],execute:function(){e("default",n((e,t)=>{t.exports={}})())}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/_plugin-vue_export-helper-B67ILkmu.js b/editor/neo-ppt/assets/_plugin-vue_export-helper-B67ILkmu.js new file mode 100644 index 0000000..4374bdd --- /dev/null +++ b/editor/neo-ppt/assets/_plugin-vue_export-helper-B67ILkmu.js @@ -0,0 +1 @@ +var e=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};export{e as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/_plugin-vue_export-helper-legacy-DNBbTZ02.js b/editor/neo-ppt/assets/_plugin-vue_export-helper-legacy-DNBbTZ02.js new file mode 100644 index 0000000..0dece37 --- /dev/null +++ b/editor/neo-ppt/assets/_plugin-vue_export-helper-legacy-DNBbTZ02.js @@ -0,0 +1 @@ +System.register([],function(t,e){return{setters:[],execute:function(){t("t",(t,e)=>{const n=t.__vccOpts||t;for(const[r,c]of e)n[r]=c;return n})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/ar-legacy-krZL9v0d.js b/editor/neo-ppt/assets/ar-legacy-krZL9v0d.js new file mode 100644 index 0000000..56fc548 --- /dev/null +++ b/editor/neo-ppt/assets/ar-legacy-krZL9v0d.js @@ -0,0 +1 @@ +System.register([],function(e,t){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"ملء الشاشة",collapse:"طي",autosaving:"جارٍ الحفظ التلقائي…",justSaved:"تم الحفظ للتو",savedMinutesAgo:"تم الحفظ قبل {minutes} د",versionName:"الإصدار {version}",versionLatest:"الأحدث",versionEditedBy:"عدّله {editor} في {time}",versionMinutesAgo:"قبل {minutes} د",versionYesterday:"أمس في {time}",restoreVersion:"استعادة",returnLatestVersion:"العودة إلى الأحدث",close:"إغلاق"},basic:{undo:"تراجع",redo:"إعادة",save:"حفظ",screen:"عرض",share:"مشاركة",export:"تصدير",unnamedPresentation:"عرض تقديمي بلا عنوان",lastPage:"هذه الشريحة الأخيرة"},presenter:{start:"العرض على هذه الشاشة",mode:"وضع العرض",exit:"خروج",openFailed:"حظر المتصفح نافذة مقدم العرض المنبثقة. اسمح بالنوافذ المنبثقة وعمليات إعادة التوجيه لهذا الموقع ثم أعد المحاولة.",connectFailed:"تعذر الاتصال بنافذة مقدم العرض. أعد المحاولة."},screen:{fullscreenFailed:"تعذر الانتقال إلى ملء الشاشة. اسمح لهذا الموقع باستخدام ملء الشاشة من إعدادات المتصفح ثم أعد المحاولة.",transitionEffects:{none:"بلا",fade:"تلاشي","wipe-right":"مسح لليمين","wipe-left":"مسح لليسار","wipe-down":"مسح للأسفل","wipe-up":"مسح للأعلى","split-vertical":"تقسيم رأسي","split-horizontal":"تقسيم أفقي",box:"مربع",checkerboard:"رقعة شطرنج","random-bars-horizontal":"أشرطة أفقية عشوائية","random-bars-vertical":"أشرطة رأسية عشوائية","horizontal-blinds":"ستائر أفقية","vertical-blinds":"ستائر رأسية","column-grid":"شبكة أعمدة","random-grid":"شبكة عشوائية",random:"تأثير عشوائي"}},save:{saveFailed:"تعذر الحفظ. أعد المحاولة.",invalidData:"تعذر الحفظ لأن البيانات غير صالحة. حدّث الصفحة وأعد المحاولة.",conflictTitle:"تم العثور على إصدار أحدث",conflictContent:"تم تحديث هذا العرض التقديمي في {time}. حدّث الصفحة لعرض أحدث إصدار، أو طبّق تغييراتك الحالية واحفظها.",conflictRefresh:"تحديث",conflictApplyChanges:"تطبيق التغييرات"},bottomBar:{rectangle:"مستطيل",otherShapes:"أشكال أساسية",decoration:"زخرفة",straightLine:"خط مستقيم",curve:"منحنى",createTable:"إنشاء جدول",searchIcon:"البحث عن أيقونات",noIconFound:"لم يتم العثور على أيقونات"},sideBar:{addSlide:"شريحة جديدة",previewMode:"وضع المعاينة",expand:"توسيع",collapse:"طي"},contextMenu:{cut:"قص",copy:"نسخ",paste:"لصق",selectAll:"تحديد الكل",changeBackground:"تغيير الخلفية",newPage:"شريحة جديدة",copyPage:"تكرار الشريحة",deletePage:"حذف الشريحة",delete:"حذف",moveUpOneLayer:"تقديم خطوة",moveDownOneLayer:"إرسال خطوة للخلف",bringToTop:"إحضار إلى المقدمة",sendToBottom:"إرسال إلى الخلفية",align:"محاذاة",alignCenter:"توسيط في الشريحة",alignHorizontal:"توسيط أفقي",startFromCurrent:"العرض من هذه الشريحة",insertColumn:"إدراج عمود",insertColumnLeft:"إلى اليسار",insertColumnRight:"إلى اليمين",insertRow:"إدراج صف",insertRowAbove:"أعلى",insertRowBelow:"أسفل",deleteColumn:"حذف العمود",deleteRow:"حذف الصف",mergeCells:"دمج الخلايا",unmergeCells:"إلغاء دمج الخلايا",selectCurrentColumn:"تحديد العمود",selectCurrentRow:"تحديد الصف",selectAllCells:"تحديد كل الخلايا",deleteTable:"حذف الجدول"},common:{name:"الشرائح",nameEN:"Slides",confirm:"تأكيد",cancel:"إلغاء",dontRemind:"عدم الإظهار مجددًا",feedback:"الملاحظات",user:"المستخدم",loadFailedRetry:"تعذر التحميل. أعد المحاولة لاحقًا."},annotation:{edit:"تعديل",entry:"تعليق",placeholder:"أخبر Kimi بما تريد تغييره",add:"إضافة",addedCount:"التعليقات المضافة: {count}",emptyTip:"أضف تعليقات إلى الشرائح",clear:"مسح التعليقات",delete:"حذف التعليق",marker:"تعليق",pageLabel:"الشريحة {page}",clearConfirm:{title:"مسح كل التعليقات؟",content:"سيؤدي هذا إلى إزالة كل التعليقات التي أضفتها",cancelText:"إلغاء",confirmText:"مسح"},exitConfirm:{title:"الخروج من وضع التعليقات؟",content:"لن تُحفظ التعليقات غير المرسلة",cancelText:"إلغاء",confirmText:"خروج"}},wap:{loading:"جارٍ التحميل",play:"تشغيل",export:"تصدير",exporting:"جارٍ التصدير",playPrevLine1:"اضغط أو اسحب لليسار",playPrevLine2:"للانتقال إلى الشريحة السابقة",playMenuLine1:"اضغط في المنتصف",playMenuLine2:"لفتح قائمة الشرائح",playNextLine1:"اضغط أو اسحب لليمين",playNextLine2:"للانتقال إلى الشريحة التالية"},rate:{title:"ما رأيك في النتيجة؟",thanksTitle:"شكرًا على ملاحظاتك",bad:"غير جيدة",normal:"مقبولة",good:"رائعة",resultTip:"تساعد ملاحظاتك Kimi على التحسن",feedback:"ملاحظات إضافية"},feedback:{snackbar:{title:"ما رأيك في النتيجة؟",good:"جيدة",normal:"مقبولة",bad:"غير جيدة",successMessage:"شكرًا، تساعد ملاحظاتك Kimi على التحسن",writeFeedback:"كتابة ملاحظات"}},logoModal:{title:"إضافة شعار",tooltip:"سيظهر شعارك في الزاوية العلوية اليسرى من كل شريحة",selected:"تم التحديد",upload:"تحميل شعار",preview:"معاينة",maxLimit:"حتى 5 شعارات",alertMaxLimit:"يمكنك تحميل حتى 5 شعارات",applyToAll:"تطبيق على كل الشرائح"},latex:{title:"إدراج معادلة",placeholder:"أدخل صيغة LaTeX، مثل E = mc^2"},themeEditor:{title:"نسق الشرائح",apply:"تطبيق",cancel:"إلغاء",themeColors:"ألوان النسق",emptyThemeColors:"لا توجد ألوان للنسق",currentPageBackground:"خلفية الشريحة الحالية",backgroundColor:"لون",backgroundImage:"صورة",uploadImage:"تحميل صورة",uploadImageFailed:"تعذر تحميل الصورة. أعد المحاولة لاحقًا.",backgroundFitFill:"تعبئة",backgroundFitContain:"ملاءمة",backgroundFitStretch:"تمديد",applyToAll:"تطبيق على الكل",textStyles:"أنماط النص",emptyTextStyles:"لا توجد أنماط نص",fontStyle:"وزن الخط",lineHeight:"ارتفاع السطر",letterSpacing:"تباعد الأحرف",previewText:"تعرّف على Kimi123",normal:"عادي",textStyleTitle:"العنوان",textStyleSubtitle:"العنوان الفرعي",textStyleBody:"النص الأساسي",textStyleCaption:"تسمية توضيحية / ملاحظة",miSans:"Microsoft YaHei"},diffChecker:{title:"مدقق الاختلافات",newFile:"تمت الإضافة",deletedFile:"تم الحذف",emptyContent:"هذا الملف فارغ"},insert:{text:"إدراج نص",graphics:"رسومات",graphicsShapeTab:"أشكال",graphicsLineTab:"خطوط",graphicsIconTab:"أيقونات",image:"إدراج صورة",table:"إدراج جدول",theme:"النسق",latex:"إدراج معادلة",watermark:"إضافة علامة مائية",more:"المزيد",animation:"الحركة"},scaleMenu:{zoomIn:"تكبير",zoomOut:"تصغير",fitScreen:"ملاءمة للشاشة"},exportDialog:{image:"صورة",downloadTitle:"تصدير",tabDownload:"تنزيل",tabGoogleSlides:"العروض التقديمية من Google",outputFormat:"تنسيق الإخراج",fontEmbed:"تضمين الخطوط",fontEmbedTooltip:"ضمّن الخطوط في PPTX للحفاظ على اتساقها بين الأجهزة",slideTransition:"انتقال الشرائح",slideTransitionTooltip:"إضافة انتقالات بين الشرائح",defaultDownloadPath:"مسار التنزيل الافتراضي",storageTo:"حفظ إلى",download:"تنزيل",downloadStarted:"بدأ التصدير",downloadStartTip:"بدأ التصدير. إذا لم يبدأ التنزيل، فجرّب متصفحًا آخر أو أعد التصدير.",loading:"جارٍ التصدير",pendingTip:"يستغرق التصدير وقتًا أطول من المتوقع. جرّب متصفحًا آخر.",wechatTip:"لا يدعم متصفح WeChat داخل التطبيق التنزيل. استخدم متصفحًا على الكمبيوتر مثل Chrome أو Edge.",safariTip:"متصفحك قديم. حدّثه أو جرّب متصفحًا آخر مثل Chrome أو Edge.",mobileTip:"نزّل على كمبيوتر",exportPptxFailed:"تعذر تصدير PPTX. أعد المحاولة.",exportPptxSignFailed:"تعذر تصدير PPTX. حدّث الصفحة وأعد المحاولة.",exportImageFailed:"تعذر تصدير الصور. أعد المحاولة.",exportingToGoogle:"جارٍ التصدير إلى العروض التقديمية من Google…",exportToGoogle:"التصدير إلى العروض التقديمية من Google",exportToGoogleTips:"تصدير هذا العرض إلى العروض التقديمية من Google",exportToGoogleNetworkError:"تعذر التصدير إلى العروض التقديمية من Google. تحقق من اتصالك وأعد المحاولة."},share:{create:"إنشاء شرائح",createDesign:"ابدأ التصميم",public:"عام",private:"خاص",createLink:"إنشاء رابط مشاركة",createLinkDesc:"يمكن لأي شخص لديه الرابط عرض هذا العرض التقديمي",createLinkBtn:"إنشاء رابط",createLinkFailed:"تعذر إنشاء رابط المشاركة",bannedTips:"تم تعطيل المشاركة",goFeedback:"إرسال ملاحظات",updateLinkTitle:"تحديث رابط المشاركة",updateLinkDesc:"سيتوقف الرابط القديم عن العمل بعد تحديثه",updateLinkConfirm:"تحديث",updateLinkSuccess:"تم تحديث الرابط",updateTime:"تم التحديث: ",viewLink:"عرض الرابط",notPublic:"غير عام",copySuccess:"تم نسخ الرابط",copyFailed:"تعذر نسخ الرابط. أعد المحاولة.",copyLinkBtn:"نسخ الرابط",updateLinkBtn:"تحديث الرابط",setPrivateTitle:"جعل العرض التقديمي خاصًا؟",setPrivateDesc:"سيفقد كل من لديه الرابط إمكانية الوصول",setPrivateConfirm:"جعله خاصًا",setPrivateSuccess:"أصبح العرض التقديمي خاصًا",updateShareFailed:"تعذر تحديث إعدادات المشاركة",linkError:"هذا الرابط غير صالح. تحقّق منه وأعد المحاولة.",report:"إبلاغ",linkInvalid:"هذا الرابط غير متاح"},floatBar:{leftAlign:"محاذاة لليسار",centerAlign:"توسيط",rightAlign:"محاذاة لليمين",justify:"ضبط",topAlign:"محاذاة للأعلى",verticallyCenter:"توسيط رأسي",bottomAlign:"محاذاة للأسفل",horizontalAlignment:"المحاذاة الأفقية",verticalAlignment:"المحاذاة الرأسية",lineSpacing:"تباعد الأسطر",textStyle:"نمط النص",tableStyle:"نمط الجدول",unappliedTextStyle:"غير مطبق",manageTextStyles:"إدارة أنماط النص",fontColor:"لون النص",textBackground:"خلفية النص",font:"الخط",unsupportedFont:"⚠️ نمط الخط غير مدعوم",fontSize:"حجم الخط",bold:"عريض",italic:"مائل",underline:"تحته خط",strikethrough:"يتوسطه خط",insertLatex:"إدراج معادلة",editLatex:"تعديل المعادلة",editData:"تعديل البيانات",showChartTitle:"إظهار العنوان",editChartTitle:"تعديل العنوان",chartTitlePlaceholder:"عنوان المخطط",showChartValues:"إظهار القيم",chartLegend:"وسيلة الإيضاح",none:"بلا",top:"أعلى",bottom:"أسفل",left:"يسار",right:"يمين",candlestickUpColor:"لون الارتفاع",candlestickDownColor:"لون الانخفاض",candlestickWickColor:"لون الفتيل",waterfallIncreaseColor:"لون الزيادة",waterfallDecreaseColor:"لون النقصان",waterfallTotalColor:"لون الإجمالي",heatmapLowColor:"لون القيمة المنخفضة",heatmapMiddleColor:"لون القيمة المتوسطة",heatmapHighColor:"لون القيمة المرتفعة",editLine:"تعديل الخط",curveLine:"منحنى",lineCurveSharp:"حاد",lineCurveRound:"مستدير",lineCurveSmooth:"منحنى",lineStartArrow:"سهم البداية",lineEndArrow:"سهم النهاية",usedThemeColor:"يُستخدم نسق «{name}»",colorFill:"لون التعبئة",themeColor:"لون النسق",replaceImage:"استبدال الصورة",replaceIcon:"استبدال الأيقونة",replaceShape:"استبدال الشكل",imageFit:"ملاءمة الصورة",fitFill:"تمديد",fitContain:"ملاءمة",fitCover:"اقتصاص للتعبئة",cancelCrop:"إلغاء الاقتصاص",cropImage:"اقتصاص الصورة",opacity:"التعتيم",horizontalFlip:"قلب أفقي",verticalFlip:"قلب رأسي",layer:"الطبقة",bringToTop:"إحضار إلى المقدمة",sendToBottom:"إرسال إلى الخلفية",bringForward:"تقديم خطوة",sendBackward:"إرسال خطوة للخلف",rowAction:"إجراءات الصفوف",columnAction:"إجراءات الأعمدة",insertRowBefore:"إدراج صف أعلى",insertRowAfter:"إدراج صف أسفل",insertColumnBefore:"إدراج عمود إلى اليسار",insertColumnAfter:"إدراج عمود إلى اليمين",defaultBorder:"افتراضي",allBorders:"كل الحدود",topAndBottomBorders:"الحدود العلوية والسفلية",leftAndRightBorders:"الحدود اليسرى واليمنى",topBorder:"الحد العلوي",rightBorder:"الحد الأيمن",bottomBorder:"الحد السفلي",leftBorder:"الحد الأيسر",equalizeColumnWidths:"توزيع الأعمدة بالتساوي",deselectAll:"إلغاء تحديد الكل",selectAll:"تحديد الكل",deleteTable:"حذف الجدول",cellBackground:"خلفية الخلية",times:"×",border:"الحد",line:"الخط",solidLine:"متصل",dashedLine:"متقطع",dottedLine:"منقط",noBorder:"بلا حدود",style:"النمط",thickness:"السماكة",color:"اللون",recentColors:"الألوان الأخيرة",notSupportEyeDropper:"لا يدعم هذا المتصفح أداة القطّارة. جرّب متصفحًا آخر.",escCloseEyeDropper:"اضغط على Esc لإغلاق أداة القطّارة"},notes:{placeholder:"ملاحظات",show:"إظهار ملاحظات مقدم العرض"},animationPanel:{title:"الحركة",preview:"معاينة",empty:"لا توجد حركات في هذه الشريحة",add:"إضافة حركة",addHint:"حدد عنصرًا لإضافة حركة",target:"العنصر المستهدف",effect:"التأثير",trigger:"المشغل",triggerOnClick:"عند النقر",triggerWithPrevious:"مع السابقة",triggerAfterPrevious:"بعد السابقة",direction:"الاتجاه",directionUp:"لأعلى",directionDown:"لأسفل",directionLeft:"لليسار",directionRight:"لليمين",duration:"المدة (ms)",delay:"التأخير (ms)",easing:"التخفيف",easingLinear:"خطي",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"التكرار",path:"المسار",delete:"حذف",categoryEntrance:"دخول",categoryEmphasis:"تأكيد",categoryExit:"خروج",categoryMotionPath:"مسار",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"اختر عنصرًا",elementTypes:{text:"مربع نص",shape:"شكل",image:"صورة",icon:"أيقونة",table:"جدول",chart:"مخطط",line:"خط"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/common-utils-G6HD4Ji1.js b/editor/neo-ppt/assets/common-utils-G6HD4Ji1.js new file mode 100644 index 0000000..8a19458 --- /dev/null +++ b/editor/neo-ppt/assets/common-utils-G6HD4Ji1.js @@ -0,0 +1,2 @@ +function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}function n(n){var r=t(n,`string`);return e(r)==`symbol`?r:r+``}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=typeof global==`object`&&global&&global.Object===Object&&global,a=typeof self==`object`&&self&&self.Object===Object&&self,o=i||a||Function(`return this`)(),s=o.Symbol,c=Object.prototype,l=c.hasOwnProperty,u=c.toString,d=s?s.toStringTag:void 0;function f(e){var t=l.call(e,d),n=e[d];try{e[d]=void 0;var r=!0}catch{}var i=u.call(e);return r&&(t?e[d]=n:delete e[d]),i}var p=Object.prototype.toString;function m(e){return p.call(e)}var h=`[object Null]`,g=`[object Undefined]`,_=s?s.toStringTag:void 0;function v(e){return e==null?e===void 0?g:h:_&&_ in Object(e)?f(e):m(e)}function y(e){return typeof e==`object`&&!!e}var b=`[object Symbol]`;function x(e){return typeof e==`symbol`||y(e)&&v(e)==b}var S=Array.isArray,ee=/\s/;function te(e){for(var t=e.length;t--&&ee.test(e.charAt(t)););return t}var ne=/^\s+/;function re(e){return e&&e.slice(0,te(e)+1).replace(ne,``)}function C(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ie=NaN,ae=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,se=/^0o[0-7]+$/i,ce=parseInt;function w(e){if(typeof e==`number`)return e;if(x(e))return ie;if(C(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=C(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=re(e);var n=oe.test(e);return n||se.test(e)?ce(e.slice(2),n?2:8):ae.test(e)?ie:+e}var le=`[object AsyncFunction]`,ue=`[object Function]`,de=`[object GeneratorFunction]`,fe=`[object Proxy]`;function pe(e){if(!C(e))return!1;var t=v(e);return t==ue||t==de||t==le||t==fe}var me=o[`__core-js_shared__`],he=function(){var e=/[^.]+$/.exec(me&&me.keys&&me.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function ge(e){return!!he&&he in e}var _e=Function.prototype.toString;function T(e){if(e!=null){try{return _e.call(e)}catch{}try{return e+``}catch{}}return``}var ve=/[\\^$.*+?()[\]{}|]/g,ye=/^\[object .+?Constructor\]$/,be=Function.prototype,xe=Object.prototype,Se=be.toString,Ce=xe.hasOwnProperty,we=RegExp(`^`+Se.call(Ce).replace(ve,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Te(e){return!C(e)||ge(e)?!1:(pe(e)?we:ye).test(T(e))}function Ee(e,t){return e?.[t]}function E(e,t){var n=Ee(e,t);return Te(n)?n:void 0}var De=E(o,`WeakMap`),Oe=9007199254740991,ke=/^(?:0|[1-9]\d*)$/;function Ae(e,t){var n=typeof e;return t=t??Oe,!!t&&(n==`number`||n!=`symbol`&&ke.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=Me}function Pe(e){return e!=null&&Ne(e.length)&&!pe(e)}var Fe=Object.prototype;function Ie(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Fe)}function Le(e,t){for(var n=-1,r=Array(e);++n-1}function Kt(e,t){var n=this.__data__,r=M(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function N(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t=t?e:t)),e}function tn(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=w(n),n=n===n?n:0),t!==void 0&&(t=w(t),t=t===t?t:0),en(w(e),t,n)}function nn(){this.__data__=new N,this.size=0}function rn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function an(e){return this.__data__.get(e)}function on(e){return this.__data__.has(e)}var sn=200;function cn(e,t){var n=this.__data__;if(n instanceof N){var r=n.__data__;if(!P||r.lengths))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Rn?new z:void 0;for(a.set(e,t),a.set(t,e);++d=t||n<0||d&&r>=a}function _(){var e=pr();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(pr())}function x(){var e=pr(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}function vr(e,t){return fr(e,t)}var yr=`Expected a function`;function br(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(yr);return C(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),_r(e,t,{leading:r,maxWait:t,trailing:i})}var V=` `;function xr(e){let t=``;Array.isArray(e)||(e=[e]);for(let n=0;ne.phi1&&(e.phi2-=2*W),e.sweepFlag===1&&e.phi2r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];let i=Math.sqrt(r);return[[(e*n+t*i)/(e*e+t*t),(t*n-e*i)/(e*e+t*t)],[(e*n-t*i)/(e*e+t*t),(t*n+e*i)/(e*e+t*t)]]}var K=Math.PI/180;function Cr(e,t,n){return(1-n)*e+n*t}function wr(e,t,n,r){return e+Math.cos(r/180*W)*t+Math.sin(r/180*W)*n}function Tr(e,t,n,r){let i=1e-6,a=t-e,o=n-t,s=r-n,c=3*a+3*s-6*o,l=(o-a)*6,u=3*a;return Math.abs(c){let[i,a]=H([t*e.rX,n*e.rY],r);return[e.cX+i,e.cY+a]};for(let t=0;t{let r=`relative`in e&&e.relative;return[`x`in e?e.x+(r?t:0):t,`y`in e?e.y+(r?n:0):n]})),r=n[0];t.push(e[0]);for(let i=1;i({...e,x:e.x??t,y:e.y??n,relative:e.relative??!1})),r=[],i=[];for(let a of e){let e=n(a);e.type===$.MOVE_TO&&i.length>0&&(t?r.push(...J(i)):r.unshift(...J(i)),i=[]),i.push(e)}return i.length>0&&(t?r.push(...J(i)):r.unshift(...J(i))),r}function J(e){let t=e[e.length-1]?.type===$.CLOSE_PATH,n=t?e.length-2:e.length-1,r=[{type:$.MOVE_TO,relative:!1,x:e[n].x,y:e[n].y}];for(let t=n;t>0;t--){let n=e[t],i=e[t-1];if(n.relative)throw Error("Relative command are not supported convert first with `toAbs()`");switch(n.type){case $.HORIZ_LINE_TO:r.push({type:$.HORIZ_LINE_TO,relative:!1,x:i.x});break;case $.VERT_LINE_TO:r.push({type:$.VERT_LINE_TO,relative:!1,y:i.y});break;case $.LINE_TO:case $.MOVE_TO:r.push({type:$.LINE_TO,relative:!1,x:i.x,y:i.y});break;case $.CURVE_TO:r.push({type:$.CURVE_TO,relative:!1,x:i.x,y:i.y,x1:n.x2,y1:n.y2,x2:n.x1,y2:n.y1});break;case $.SMOOTH_CURVE_TO:throw Error(`Unsupported command: S (smooth cubic bezier)`);case $.SMOOTH_QUAD_TO:throw Error(`Unsupported command: T (smooth quadratic bezier)`);case $.ARC:throw Error(`Unsupported command: A (arc)`);case $.QUAD_TO:throw Error(`Unsupported command: Q (quadratic bezier)`)}}return t&&r.push({type:$.CLOSE_PATH}),r}function jr(e=0x9184e72a000){U(e);function t(t){return Math.round(t*e)/e}return function(e){return`x1`in e&&e.x1!==void 0&&(e.x1=t(e.x1)),`y1`in e&&e.y1!==void 0&&(e.y1=t(e.y1)),`x2`in e&&e.x2!==void 0&&(e.x2=t(e.x2)),`y2`in e&&e.y2!==void 0&&(e.y2=t(e.y2)),`x`in e&&e.x!==void 0&&(e.x=t(e.x)),`y`in e&&e.y!==void 0&&(e.y=t(e.y)),`rX`in e&&e.rX!==void 0&&(e.rX=t(e.rX)),`rY`in e&&e.rY!==void 0&&(e.rY=t(e.rY)),e}}function Mr(){return Y((e,t,n)=>(e.relative&&(e.x1!==void 0&&(e.x1+=t),e.y1!==void 0&&(e.y1+=n),e.x2!==void 0&&(e.x2+=t),e.y2!==void 0&&(e.y2+=n),e.x!==void 0&&(e.x+=t),e.y!==void 0&&(e.y+=n),e.relative=!1),e))}function Nr(){return Y((e,t,n)=>(e.relative||(e.x1!==void 0&&(e.x1-=t),e.y1!==void 0&&(e.y1-=n),e.x2!==void 0&&(e.x2-=t),e.y2!==void 0&&(e.y2-=n),e.x!==void 0&&(e.x-=t),e.y!==void 0&&(e.y-=n),e.relative=!0),e))}function Pr(e=!0,t=!0,n=!0,r=!0){return Y((i,a,o,s,c)=>{if(isNaN(s)&&!(i.type&$.MOVE_TO))throw Error(`path must start with moveto`);if(t&&i.type&$.HORIZ_LINE_TO&&(i.type=$.LINE_TO,i.y=i.relative?0:o),n&&i.type&$.VERT_LINE_TO&&(i.type=$.LINE_TO,i.x=i.relative?0:a),e&&i.type&$.CLOSE_PATH&&(i.type=$.LINE_TO,i.x=i.relative?s-a:s,i.y=i.relative?c-o:c),i.type&$.ARC&&(i.rX===0||i.rY===0)&&(i.type=$.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),r&&i.type&$.QUAD_TO&&q([a,o],i.relative?[a+i.x1,o+i.y1]:[i.x1,i.y1],i.relative?[a+i.x,o+i.y]:[i.x,i.y])&&(i.type=$.LINE_TO,delete i.x1,delete i.y1),r&&i.type&$.CURVE_TO){let e=[a,o],t=i.relative?[a+i.x1,o+i.y1]:[i.x1,i.y1],n=i.relative?[a+i.x2,o+i.y2]:[i.x2,i.y2],r=i.relative?[a+i.x,o+i.y]:[i.x,i.y];q(e,t,r)&&q(e,n,r)&&(i.type=$.LINE_TO,delete i.x1,delete i.y1,delete i.x2,delete i.y2)}return i})}function Fr(){let e=NaN,t=NaN,n=NaN,r=NaN;return Y((i,a,o)=>(i.type&$.SMOOTH_CURVE_TO&&(i.type=$.CURVE_TO,e=isNaN(e)?a:e,t=isNaN(t)?o:t,i.x1=i.relative?a-e:2*a-e,i.y1=i.relative?o-t:2*o-t),i.type&$.CURVE_TO?(e=i.relative?a+i.x2:i.x2,t=i.relative?o+i.y2:i.y2):(e=NaN,t=NaN),i.type&$.SMOOTH_QUAD_TO&&(i.type=$.QUAD_TO,n=isNaN(n)?a:n,r=isNaN(r)?o:r,i.x1=i.relative?a-n:2*a-n,i.y1=i.relative?o-r:2*o-r),i.type&$.QUAD_TO?(n=i.relative?a+i.x1:i.x1,r=i.relative?o+i.y1:i.y1):(n=NaN,r=NaN),i))}function Ir(){let e=NaN,t=NaN;return Y((n,r,i)=>{if(n.type&$.SMOOTH_QUAD_TO&&(n.type=$.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?i:t,n.x1=n.relative?r-e:2*r-e,n.y1=n.relative?i-t:2*i-t),n.type&$.QUAD_TO){e=n.relative?r+n.x1:n.x1,t=n.relative?i+n.y1:n.y1;let a=n.x1,o=n.y1;n.type=$.CURVE_TO,n.x1=((n.relative?0:r)+a*2)/3,n.y1=((n.relative?0:i)+o*2)/3,n.x2=(n.x+a*2)/3,n.y2=(n.y+o*2)/3}else e=NaN,t=NaN;return n})}function Y(e){let t=0,n=0,r=NaN,i=NaN;return function(a){if(isNaN(r)&&!(a.type&$.MOVE_TO))throw Error(`path must start with moveto`);let o=e(a,t,n,r,i);return a.type&$.CLOSE_PATH&&(t=r,n=i),`x`in a&&a.x!==void 0&&(t=a.relative?t+a.x:a.x),`y`in a&&a.y!==void 0&&(n=a.relative?n+a.y:a.y),a.type&$.MOVE_TO&&(r=t,i=n),o}}function Lr(e=0){U(e);let t=NaN,n=NaN,r=NaN,i=NaN;return Y((a,o,s,c,l)=>{let u=Math.abs,d=!1,f=0,p=0;if(a.type&$.SMOOTH_CURVE_TO&&(f=isNaN(t)?0:o-t,p=isNaN(n)?0:s-n),a.type&($.CURVE_TO|$.SMOOTH_CURVE_TO)?(t=a.relative?o+a.x2:a.x2,n=a.relative?s+a.y2:a.y2):(t=NaN,n=NaN),a.type&$.SMOOTH_QUAD_TO?(r=isNaN(r)?o:2*o-r,i=isNaN(i)?s:2*s-i):a.type&$.QUAD_TO?(r=a.relative?o+a.x1:a.x1,i=a.relative?s+a.y1:a.y2):(r=NaN,i=NaN),a.type&$.LINE_COMMANDS||a.type&$.ARC&&(a.rX===0||a.rY===0||!a.lArcFlag)||a.type&$.CURVE_TO||a.type&$.SMOOTH_CURVE_TO||a.type&$.QUAD_TO||a.type&$.SMOOTH_QUAD_TO){let t=a.x===void 0?0:a.relative?a.x:a.x-o,n=a.y===void 0?0:a.relative?a.y:a.y-s;f=isNaN(r)?a.x1===void 0?f:a.relative?a.x:a.x1-o:r-o,p=isNaN(i)?a.y1===void 0?p:a.relative?a.y:a.y1-s:i-s;let c=a.x2===void 0?0:a.relative?a.x:a.x2-o,l=a.y2===void 0?0:a.relative?a.y:a.y2-s;u(t)<=e&&u(n)<=e&&u(f)<=e&&u(p)<=e&&u(c)<=e&&u(l)<=e&&(d=!0)}return a.type&$.CLOSE_PATH&&u(o-c)<=e&&u(s-l)<=e&&(d=!0),d?[]:a})}function X(e,t,n,r,i,a){return U(e,t,n,r,i,a),Y((o,s,c,l)=>{let u=o.x1,d=o.x2,f=o.relative&&!isNaN(l),p=o.x===void 0?f?0:s:o.x,m=o.y===void 0?f?0:c:o.y;o.type&$.HORIZ_LINE_TO&&t!==0&&(o.type=$.LINE_TO,o.y=o.relative?0:c),o.type&$.VERT_LINE_TO&&n!==0&&(o.type=$.LINE_TO,o.x=o.relative?0:s),o.x!==void 0&&(o.x=o.x*e+m*n+(f?0:i)),o.y!==void 0&&(o.y=p*t+o.y*r+(f?0:a)),o.x1!==void 0&&(o.x1=o.x1*e+o.y1*n+(f?0:i)),o.y1!==void 0&&(o.y1=u*t+o.y1*r+(f?0:a)),o.x2!==void 0&&(o.x2=o.x2*e+o.y2*n+(f?0:i)),o.y2!==void 0&&(o.y2=d*t+o.y2*r+(f?0:a));function h(e){return e*e}let g=e*r-t*n;if(o.xRot!==void 0&&(e!==1||t!==0||n!==0||r!==1))if(g===0)delete o.rX,delete o.rY,delete o.xRot,delete o.lArcFlag,delete o.sweepFlag,o.type=$.LINE_TO;else{let i=o.xRot*Math.PI/180,a=Math.sin(i),s=Math.cos(i),c=1/h(o.rX),l=1/h(o.rY),u=h(s)*c+h(a)*l,d=2*a*s*(c-l),f=h(a)*c+h(s)*l,p=u*r*r-d*t*r+f*t*t,m=d*(e*r+t*n)-2*(u*n*r+f*e*t),_=u*n*n-d*e*n+f*e*e,v=(Math.atan2(m,p-_)+Math.PI)%Math.PI/2,y=Math.sin(v),b=Math.cos(v);o.rX=Math.abs(g)/Math.sqrt(p*h(b)+m*y*b+_*h(y)),o.rY=Math.abs(g)/Math.sqrt(p*h(y)-m*y*b+_*h(b)),o.xRot=v*180/Math.PI}return o.sweepFlag!==void 0&&0>g&&(o.sweepFlag=+!o.sweepFlag),o})}function Rr(e,t=0,n=0){U(e,t,n);let r=Math.sin(e),i=Math.cos(e);return X(i,r,-r,i,t-t*i+n*r,n-t*r-n*i)}function zr(e,t=0){return U(e,t),X(1,0,0,1,e,t)}function Br(e,t=e){return U(e,t),X(e,0,0,t,0,0)}function Vr(e){return U(e),X(1,0,Math.tan(e),1,0,0)}function Hr(e){return U(e),X(1,Math.tan(e),0,1,0,0)}function Ur(e=0){return U(e),X(-1,0,0,1,e,0)}function Wr(e=0){return U(e),X(1,0,0,-1,0,e)}function Gr(){return Y((e,t,n)=>$.ARC===e.type?Or(e,e.relative?0:t,e.relative?0:n):e)}function Kr(){return Y((e,t,n)=>(e.relative&&(t=0,n=0),$.ARC===e.type&&G(e,t,n),e))}function qr(){return e=>({...e})}function Jr(){let e=qr(),t=Mr(),n=Ir(),r=Fr(),i=Y((a,o,s)=>{let c=r(n(t(e(a))));function l(e){e>i.maxX&&(i.maxX=e),ei.maxY&&(i.maxY=e),et&&l(Er(o,c.x1,c.x2,c.x,t));let t=Tr(s,c.y1,c.y2,c.y);for(let e of t)0e&&u(Er(s,c.y1,c.y2,c.y,e))}if(c.type&$.ARC){l(c.x),u(c.y),G(c,o,s);let e=c.xRot/180*Math.PI,t=Math.cos(e)*c.rX,n=Math.sin(e)*c.rX,r=-Math.sin(e)*c.rY,i=Math.cos(e)*c.rY,[a,d]=c.phi1c.phi2?[c.phi2+360,c.phi1+360]:[c.phi2,c.phi1],f=([e,t])=>{let n=Math.atan2(t,e)*180/Math.PI;return na&&ea&&ee===` `||e===` `||e===`\r`||e===` +`,Zr=e=>48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57,Qr=class extends Yr{constructor(...e){super(...e),r(this,`curNumber`,``),r(this,`curCommandType`,-1),r(this,`curCommandRelative`,!1),r(this,`canParseCommandOrComma`,!0),r(this,`curNumberHasExp`,!1),r(this,`curNumberHasExpDigits`,!1),r(this,`curNumberHasDecimal`,!1),r(this,`curArgs`,[])}finish(e=[]){if(this.parse(` `,e),this.curArgs.length!==0||!this.canParseCommandOrComma)throw SyntaxError(`Unterminated command at the path end.`);return e}parse(e,t=[]){let n=e=>{t.push(e),this.curArgs.length=0,this.canParseCommandOrComma=!0};for(let r=0;re)throw SyntaxError(`Expected positive number, got "${e}" at index "${r}"`)}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!==`0`&&this.curNumber!==`1`)throw SyntaxError(`Expected a flag, got "${this.curNumber}" at index "${r}"`)}this.curArgs.push(e),this.curArgs.length===$r[this.curCommandType]&&($.HORIZ_LINE_TO===this.curCommandType?n({type:$.HORIZ_LINE_TO,relative:this.curCommandRelative,x:e}):$.VERT_LINE_TO===this.curCommandType?n({type:$.VERT_LINE_TO,relative:this.curCommandRelative,y:e}):this.curCommandType===$.MOVE_TO||this.curCommandType===$.LINE_TO||this.curCommandType===$.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),$.MOVE_TO===this.curCommandType&&(this.curCommandType=$.LINE_TO)):this.curCommandType===$.CURVE_TO?n({type:$.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===$.SMOOTH_CURVE_TO?n({type:$.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===$.QUAD_TO?n({type:$.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===$.ARC&&n({type:$.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber=``,this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!Xr(i)){if(i===`,`&&this.canParseCommandOrComma){this.canParseCommandOrComma=!1;continue}if(i===`+`||i===`-`||i===`.`){this.curNumber=i,this.curNumberHasDecimal=i===`.`;continue}if(o){this.curNumber=i,this.curNumberHasDecimal=!1;continue}if(this.curArgs.length!==0)throw SyntaxError(`Unterminated command at index ${r}.`);if(!this.canParseCommandOrComma)throw SyntaxError(`Unexpected character "${i}" at index ${r}. Command cannot follow comma`);if(this.canParseCommandOrComma=!1,i===`z`||i===`Z`){t.push({type:$.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1;continue}else if(i===`h`||i===`H`)this.curCommandType=$.HORIZ_LINE_TO,this.curCommandRelative=i===`h`;else if(i===`v`||i===`V`)this.curCommandType=$.VERT_LINE_TO,this.curCommandRelative=i===`v`;else if(i===`m`||i===`M`)this.curCommandType=$.MOVE_TO,this.curCommandRelative=i===`m`;else if(i===`l`||i===`L`)this.curCommandType=$.LINE_TO,this.curCommandRelative=i===`l`;else if(i===`c`||i===`C`)this.curCommandType=$.CURVE_TO,this.curCommandRelative=i===`c`;else if(i===`s`||i===`S`)this.curCommandType=$.SMOOTH_CURVE_TO,this.curCommandRelative=i===`s`;else if(i===`q`||i===`Q`)this.curCommandType=$.QUAD_TO,this.curCommandRelative=i===`q`;else if(i===`t`||i===`T`)this.curCommandType=$.SMOOTH_QUAD_TO,this.curCommandRelative=i===`t`;else if(i===`a`||i===`A`)this.curCommandType=$.ARC,this.curCommandRelative=i===`a`;else throw SyntaxError(`Unexpected character "${i}" at index ${r}.`)}}return t}transform(e){return Object.create(this,{parse:{value(t,n=[]){let r=Object.getPrototypeOf(this).parse.call(this,t);for(let t of r){let r=e(t);Array.isArray(r)?n.push(...r):n.push(r)}return n}}})}},Q,$=class e extends Yr{constructor(t){super(),r(this,`commands`,void 0),typeof t==`string`?this.commands=e.parse(t):this.commands=t}encode(){return e.encode(this.commands)}getBounds(){let e=Z.CALCULATE_BOUNDS();return this.transform(e),e}transform(e){let t=[];for(let n of this.commands){let r=e(n);Array.isArray(r)?t.push(...r):t.push(r)}return this.commands=t,this}reverse(e=!0){return this.commands=Z.REVERSE_PATH(this.commands,e),this}removeCollinear(){return this.commands=Z.REMOVE_COLLINEAR(this.commands),this}static encode(e){return xr(e)}static parse(e){let t=new Qr,n=[];return t.parse(e,n),t.finish(n),n}};Q=$,r($,`CLOSE_PATH`,1),r($,`MOVE_TO`,2),r($,`HORIZ_LINE_TO`,4),r($,`VERT_LINE_TO`,8),r($,`LINE_TO`,16),r($,`CURVE_TO`,32),r($,`SMOOTH_CURVE_TO`,64),r($,`QUAD_TO`,128),r($,`SMOOTH_QUAD_TO`,256),r($,`ARC`,512),r($,`LINE_COMMANDS`,Q.LINE_TO|Q.HORIZ_LINE_TO|Q.VERT_LINE_TO),r($,`DRAWING_COMMANDS`,Q.HORIZ_LINE_TO|Q.VERT_LINE_TO|Q.LINE_TO|Q.CURVE_TO|Q.SMOOTH_CURVE_TO|Q.QUAD_TO|Q.SMOOTH_QUAD_TO|Q.ARC);var $r={[$.MOVE_TO]:2,[$.LINE_TO]:2,[$.HORIZ_LINE_TO]:1,[$.VERT_LINE_TO]:1,[$.CLOSE_PATH]:0,[$.QUAD_TO]:4,[$.SMOOTH_QUAD_TO]:2,[$.CURVE_TO]:6,[$.SMOOTH_CURVE_TO]:4,[$.ARC]:7};export{tn as a,_r as i,br as n,r as o,vr as r,$ as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/common-utils-legacy-BUVwbO7W.js b/editor/neo-ppt/assets/common-utils-legacy-BUVwbO7W.js new file mode 100644 index 0000000..7ae7a32 --- /dev/null +++ b/editor/neo-ppt/assets/common-utils-legacy-BUVwbO7W.js @@ -0,0 +1 @@ +System.register([],function(t,e){var r,n,i,o,a,s,u,c,h,l,y,p,f,_,m,O,d,v,T,x,b,E,N,A,g,C,M,R,w,S,I,j,L,U,H,V,D,P,Y,X,z,F,Q,$,Z,k,q,B,W,K,G,J,tt,et,rt,nt,it,ot,at,st,ut,ct,ht,lt,yt,pt,ft,_t,mt,Ot,dt,vt,Tt,xt,bt,Et,Nt,At,gt,Ct,Mt,Rt,wt,St,It,jt,Lt,Ut,Ht,Vt,Dt,Pt,Yt,Xt,zt,Ft,Qt,$t,Zt,kt,qt,Bt,Wt,Kt,Gt,Jt,te,ee,re,ne,ie,oe,ae,se,ue,ce,he,le,ye,pe,fe,_e,me,Oe,de,ve,Te;function xe(t){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xe(t)}function be(t){var e=function(t,e){if("object"!=xe(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=xe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==xe(e)?e:e+""}function Ee(t,e,r){return(e=be(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ne(t){return null==t?void 0===t?y:l:p&&p in Object(t)?function(t){var e=s.call(t,c),r=t[c];try{t[c]=void 0;var n=!0}catch(o){}var i=u.call(t);return n&&(e?t[c]=r:delete t[c]),i}(t):function(t){return h.call(t)}(t)}function Ae(t){return null!=t&&"object"==typeof t}function ge(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&m.test(t.charAt(e)););return e}(t)+1).replace(O,""):t}function Ce(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Me(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||Ae(t)&&Ne(t)==f}(t))return d;if(Ce(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ce(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ge(t);var r=T.test(t);return r||x.test(t)?b(t.slice(2),r?2:8):v.test(t)?d:+t}function Re(t){if(!Ce(t))return!1;var e=Ne(t);return e==N||e==A||e==E||e==g}function we(t){if(null!=t){try{return R.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Se(t){return!(!Ce(t)||(e=t,M&&M in e))&&(Re(t)?H:S).test(we(t));var e}function Ie(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Se(r)?r:void 0}function je(t,e){var r=typeof t;return!!(e=null==e?D:e)&&("number"==r||"symbol"!=r&&P.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=Y}function He(t){return Ae(t)&&Ne(t)==z}function Ve(){return!1}function De(t){return Ae(t)&&Ue(t.length)&&!!K[Ne(t)]}function Pe(t,e){var r=_(t),n=!r&&Z(t),i=!r&&!n&&W(t),o=!r&&!n&&!i&&nt(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r-1}function Je(t,e){var r=this.__data__,n=Be(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function tr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++es))return!1;var c=o.get(t),h=o.get(e);if(c&&h)return c==e&&h==t;var l=-1,y=!0,p=r&Ht?new dr:void 0;for(o.set(t,e),o.set(e,t);++l=e||r<0||l&&t-c>=o}function _(){var t=oe();if(f(t))return m(t);s=setTimeout(_,function(t){var r=e-(t-u);return l?ue(r,o-(t-c)):r}(t))}function m(t){return s=void 0,y&&n?p(t):(n=i=void 0,a)}function O(){var t=oe(),r=f(t);if(n=arguments,i=this,u=t,r){if(void 0===s)return function(t){return c=t,s=setTimeout(_,e),h?p(t):a}(u);if(l)return clearTimeout(s),s=setTimeout(_,e),p(u)}return void 0===s&&(s=setTimeout(_,e)),a}return e=Me(e)||0,Ce(r)&&(h=!!r.leading,o=(l="maxWait"in r)?se(Me(r.maxWait)||0,e):o,y="trailing"in r?!!r.trailing:y),O.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=u=i=s=void 0},O.flush=function(){return void 0===s?a:m(oe())},O}function gr(t){let e="";Array.isArray(t)||(t=[t]);for(let r=0;rt.phi1&&(t.phi2-=2*le),1===t.sweepFlag&&t.phi2n)return[];if(0===n)return[[t*r/(t*t+e*e),e*r/(t*t+e*e)]];const i=Math.sqrt(n);return[[(t*r+e*i)/(t*t+e*e),(e*r-t*i)/(t*t+e*e)],[(t*r-e*i)/(t*t+e*e),(e*r+t*i)/(t*t+e*e)]]}function Sr(t,e,r){return(1-r)*t+r*e}function Ir(t,e,r,n){return t+Math.cos(n/180*le)*e+Math.sin(n/180*le)*r}function jr(t,e,r,n){const i=1e-6,o=e-t,a=r-e,s=3*o+3*(n-r)-6*a,u=6*(a-o),c=3*o;return Math.abs(s){const n="relative"in t&&t.relative;return["x"in t?t.x+(n?e:0):e,"y"in t?t.y+(n?r:0):r]}));let n=r[0];e.push(t[0]);for(let i=1;i({...t,x:t.x??e,y:t.y??r,relative:t.relative??!1})),n=[];let i=[];for(const o of t){const t=r(o);t.type===ve.MOVE_TO&&i.length>0&&(e?n.push(...Dr(i)):n.unshift(...Dr(i)),i=[]),i.push(t)}return i.length>0&&(e?n.push(...Dr(i)):n.unshift(...Dr(i))),n}function Dr(t){const e=t[t.length-1]?.type===ve.CLOSE_PATH,r=e?t.length-2:t.length-1,n=[{type:ve.MOVE_TO,relative:!1,x:t[r].x,y:t[r].y}];for(let i=r;i>0;i--){const e=t[i],r=t[i-1];if(e.relative)throw new Error("Relative command are not supported convert first with `toAbs()`");switch(e.type){case ve.HORIZ_LINE_TO:n.push({type:ve.HORIZ_LINE_TO,relative:!1,x:r.x});break;case ve.VERT_LINE_TO:n.push({type:ve.VERT_LINE_TO,relative:!1,y:r.y});break;case ve.LINE_TO:case ve.MOVE_TO:n.push({type:ve.LINE_TO,relative:!1,x:r.x,y:r.y});break;case ve.CURVE_TO:n.push({type:ve.CURVE_TO,relative:!1,x:r.x,y:r.y,x1:e.x2,y1:e.y2,x2:e.x1,y2:e.y1});break;case ve.SMOOTH_CURVE_TO:throw new Error("Unsupported command: S (smooth cubic bezier)");case ve.SMOOTH_QUAD_TO:throw new Error("Unsupported command: T (smooth quadratic bezier)");case ve.ARC:throw new Error("Unsupported command: A (arc)");case ve.QUAD_TO:throw new Error("Unsupported command: Q (quadratic bezier)")}}return e&&n.push({type:ve.CLOSE_PATH}),n}function Pr(t=1e13){function e(e){return Math.round(e*t)/t}return Mr(t),function(t){return"x1"in t&&void 0!==t.x1&&(t.x1=e(t.x1)),"y1"in t&&void 0!==t.y1&&(t.y1=e(t.y1)),"x2"in t&&void 0!==t.x2&&(t.x2=e(t.x2)),"y2"in t&&void 0!==t.y2&&(t.y2=e(t.y2)),"x"in t&&void 0!==t.x&&(t.x=e(t.x)),"y"in t&&void 0!==t.y&&(t.y=e(t.y)),"rX"in t&&void 0!==t.rX&&(t.rX=e(t.rX)),"rY"in t&&void 0!==t.rY&&(t.rY=e(t.rY)),t}}function Yr(){return $r((t,e,r)=>(t.relative&&(void 0!==t.x1&&(t.x1+=e),void 0!==t.y1&&(t.y1+=r),void 0!==t.x2&&(t.x2+=e),void 0!==t.y2&&(t.y2+=r),void 0!==t.x&&(t.x+=e),void 0!==t.y&&(t.y+=r),t.relative=!1),t))}function Xr(){return $r((t,e,r)=>(t.relative||(void 0!==t.x1&&(t.x1-=e),void 0!==t.y1&&(t.y1-=r),void 0!==t.x2&&(t.x2-=e),void 0!==t.y2&&(t.y2-=r),void 0!==t.x&&(t.x-=e),void 0!==t.y&&(t.y-=r),t.relative=!0),t))}function zr(t=!0,e=!0,r=!0,n=!0){return $r((i,o,a,s,u)=>{if(isNaN(s)&&!(i.type&ve.MOVE_TO))throw new Error("path must start with moveto");if(e&&i.type&ve.HORIZ_LINE_TO&&(i.type=ve.LINE_TO,i.y=i.relative?0:a),r&&i.type&ve.VERT_LINE_TO&&(i.type=ve.LINE_TO,i.x=i.relative?0:o),t&&i.type&ve.CLOSE_PATH&&(i.type=ve.LINE_TO,i.x=i.relative?s-o:s,i.y=i.relative?u-a:u),i.type&ve.ARC&&(0===i.rX||0===i.rY)&&(i.type=ve.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),n&&i.type&ve.QUAD_TO&&Ur([o,a],i.relative?[o+i.x1,a+i.y1]:[i.x1,i.y1],i.relative?[o+i.x,a+i.y]:[i.x,i.y])&&(i.type=ve.LINE_TO,delete i.x1,delete i.y1),n&&i.type&ve.CURVE_TO){const t=[o,a],e=i.relative?[o+i.x1,a+i.y1]:[i.x1,i.y1],r=i.relative?[o+i.x2,a+i.y2]:[i.x2,i.y2],n=i.relative?[o+i.x,a+i.y]:[i.x,i.y];Ur(t,e,n)&&Ur(t,r,n)&&(i.type=ve.LINE_TO,delete i.x1,delete i.y1,delete i.x2,delete i.y2)}return i})}function Fr(){let t=NaN,e=NaN,r=NaN,n=NaN;return $r((i,o,a)=>(i.type&ve.SMOOTH_CURVE_TO&&(i.type=ve.CURVE_TO,t=isNaN(t)?o:t,e=isNaN(e)?a:e,i.x1=i.relative?o-t:2*o-t,i.y1=i.relative?a-e:2*a-e),i.type&ve.CURVE_TO?(t=i.relative?o+i.x2:i.x2,e=i.relative?a+i.y2:i.y2):(t=NaN,e=NaN),i.type&ve.SMOOTH_QUAD_TO&&(i.type=ve.QUAD_TO,r=isNaN(r)?o:r,n=isNaN(n)?a:n,i.x1=i.relative?o-r:2*o-r,i.y1=i.relative?a-n:2*a-n),i.type&ve.QUAD_TO?(r=i.relative?o+i.x1:i.x1,n=i.relative?a+i.y1:i.y1):(r=NaN,n=NaN),i))}function Qr(){let t=NaN,e=NaN;return $r((r,n,i)=>{if(r.type&ve.SMOOTH_QUAD_TO&&(r.type=ve.QUAD_TO,t=isNaN(t)?n:t,e=isNaN(e)?i:e,r.x1=r.relative?n-t:2*n-t,r.y1=r.relative?i-e:2*i-e),r.type&ve.QUAD_TO){t=r.relative?n+r.x1:r.x1,e=r.relative?i+r.y1:r.y1;const o=r.x1,a=r.y1;r.type=ve.CURVE_TO,r.x1=((r.relative?0:n)+2*o)/3,r.y1=((r.relative?0:i)+2*a)/3,r.x2=(r.x+2*o)/3,r.y2=(r.y+2*a)/3}else t=NaN,e=NaN;return r})}function $r(t){let e=0,r=0,n=NaN,i=NaN;return function(o){if(isNaN(n)&&!(o.type&ve.MOVE_TO))throw new Error("path must start with moveto");const a=t(o,e,r,n,i);return o.type&ve.CLOSE_PATH&&(e=n,r=i),"x"in o&&void 0!==o.x&&(e=o.relative?e+o.x:o.x),"y"in o&&void 0!==o.y&&(r=o.relative?r+o.y:o.y),o.type&ve.MOVE_TO&&(n=e,i=r),a}}function Zr(t=0){Mr(t);let e=NaN,r=NaN,n=NaN,i=NaN;return $r((o,a,s,u,c)=>{const h=Math.abs;let l=!1,y=0,p=0;if(o.type&ve.SMOOTH_CURVE_TO&&(y=isNaN(e)?0:a-e,p=isNaN(r)?0:s-r),o.type&(ve.CURVE_TO|ve.SMOOTH_CURVE_TO)?(e=o.relative?a+o.x2:o.x2,r=o.relative?s+o.y2:o.y2):(e=NaN,r=NaN),o.type&ve.SMOOTH_QUAD_TO?(n=isNaN(n)?a:2*a-n,i=isNaN(i)?s:2*s-i):o.type&ve.QUAD_TO?(n=o.relative?a+o.x1:o.x1,i=o.relative?s+o.y1:o.y2):(n=NaN,i=NaN),o.type&ve.LINE_COMMANDS||o.type&ve.ARC&&(0===o.rX||0===o.rY||!o.lArcFlag)||o.type&ve.CURVE_TO||o.type&ve.SMOOTH_CURVE_TO||o.type&ve.QUAD_TO||o.type&ve.SMOOTH_QUAD_TO){const e=void 0===o.x?0:o.relative?o.x:o.x-a,r=void 0===o.y?0:o.relative?o.y:o.y-s;y=isNaN(n)?void 0===o.x1?y:o.relative?o.x:o.x1-a:n-a,p=isNaN(i)?void 0===o.y1?p:o.relative?o.y:o.y1-s:i-s;const u=void 0===o.x2?0:o.relative?o.x:o.x2-a,c=void 0===o.y2?0:o.relative?o.y:o.y2-s;h(e)<=t&&h(r)<=t&&h(y)<=t&&h(p)<=t&&h(u)<=t&&h(c)<=t&&(l=!0)}return o.type&ve.CLOSE_PATH&&h(a-u)<=t&&h(s-c)<=t&&(l=!0),l?[]:o})}function kr(t,e,r,n,i,o){return Mr(t,e,r,n,i,o),$r((a,s,u,c)=>{const h=a.x1,l=a.x2,y=a.relative&&!isNaN(c),p=void 0!==a.x?a.x:y?0:s,f=void 0!==a.y?a.y:y?0:u;function _(t){return t*t}a.type&ve.HORIZ_LINE_TO&&0!==e&&(a.type=ve.LINE_TO,a.y=a.relative?0:u),a.type&ve.VERT_LINE_TO&&0!==r&&(a.type=ve.LINE_TO,a.x=a.relative?0:s),void 0!==a.x&&(a.x=a.x*t+f*r+(y?0:i)),void 0!==a.y&&(a.y=p*e+a.y*n+(y?0:o)),void 0!==a.x1&&(a.x1=a.x1*t+a.y1*r+(y?0:i)),void 0!==a.y1&&(a.y1=h*e+a.y1*n+(y?0:o)),void 0!==a.x2&&(a.x2=a.x2*t+a.y2*r+(y?0:i)),void 0!==a.y2&&(a.y2=l*e+a.y2*n+(y?0:o));const m=t*n-e*r;if(void 0!==a.xRot&&(1!==t||0!==e||0!==r||1!==n))if(0===m)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=ve.LINE_TO;else{const i=a.xRot*Math.PI/180,o=Math.sin(i),s=Math.cos(i),u=1/_(a.rX),c=1/_(a.rY),h=_(s)*u+_(o)*c,l=2*o*s*(u-c),y=_(o)*u+_(s)*c,p=h*n*n-l*e*n+y*e*e,f=l*(t*n+e*r)-2*(h*r*n+y*t*e),O=h*r*r-l*t*r+y*t*t,d=(Math.atan2(f,p-O)+Math.PI)%Math.PI/2,v=Math.sin(d),T=Math.cos(d);a.rX=Math.abs(m)/Math.sqrt(p*_(T)+f*v*T+O*_(v)),a.rY=Math.abs(m)/Math.sqrt(p*_(v)-f*v*T+O*_(T)),a.xRot=180*d/Math.PI}return void 0!==a.sweepFlag&&0>m&&(a.sweepFlag=+!a.sweepFlag),a})}function qr(t,e=0,r=0){Mr(t,e,r);const n=Math.sin(t),i=Math.cos(t);return kr(i,n,-n,i,e-e*i+r*n,r-e*n-r*i)}function Br(t,e=0){return Mr(t,e),kr(1,0,0,1,t,e)}function Wr(t,e=t){return Mr(t,e),kr(t,0,0,e,0,0)}function Kr(t){return Mr(t),kr(1,0,Math.tan(t),1,0,0)}function Gr(t){return Mr(t),kr(1,Math.tan(t),0,1,0,0)}function Jr(t=0){return Mr(t),kr(-1,0,0,1,t,0)}function tn(t=0){return Mr(t),kr(1,0,0,-1,0,t)}function en(){return $r((t,e,r)=>ve.ARC===t.type?function(t,e,r){t.cX||Rr(t,e,r);const n=t.xRot/180*le;if(Math.abs(t.rX)<1e-10||Math.abs(t.rY)<1e-10)return[{relative:t.relative,type:ve.CURVE_TO,x1:e+(t.x-e)/3,y1:r+(t.y-r)/3,x2:e+2*(t.x-e)/3,y2:r+2*(t.y-r)/3,x:t.x,y:t.y}];const i=Math.min(t.phi1,t.phi2),o=Math.max(t.phi1,t.phi2)-i,a=Math.ceil(o/90),s=new Array(a);let u=e,c=r;const h=(e,r)=>{const[i,o]=Cr([e*t.rX,r*t.rY],n);return[t.cX+i,t.cY+o]};for(let l=0;l(t.relative&&(e=0,r=0),ve.ARC===t.type&&Rr(t,e,r),t))}function nn(){return t=>({...t})}function on(){const t=t=>({...t}),e=Yr(),r=Qr(),n=Fr(),i=$r((o,a,s)=>{const u=n(r(e(t(o))));function c(t){t>i.maxX&&(i.maxX=t),ti.maxY&&(i.maxY=t),tr&&c(Lr(a,u.x1,u.x2,u.x,r));const e=jr(s,u.y1,u.y2,u.y);for(const r of e)0r&&h(Lr(s,u.y1,u.y2,u.y,r))}if(u.type&ve.ARC){c(u.x),h(u.y),Rr(u,a,s);const t=u.xRot/180*Math.PI,e=Math.cos(t)*u.rX,r=Math.sin(t)*u.rX,n=-Math.sin(t)*u.rY,i=Math.cos(t)*u.rY,[o,l]=u.phi1u.phi2?[u.phi2+360,u.phi1+360]:[u.phi2,u.phi1],y=([t,e])=>{const r=180*Math.atan2(e,t)/Math.PI;return ro&&ao&&a=e?t:e)),t}(Me(t),e,r)},i:Ar,n:function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError(ce);return Ce(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Ar(t,e,{leading:n,maxWait:e,trailing:i})},o:Ee,r:function(t,e){return Nr(t,e)}}),{setters:[],execute:function(){var e,xe;r="object"==typeof global&&global&&global.Object===Object&&global,n="object"==typeof self&&self&&self.Object===Object&&self,i=r||n||Function("return this")(),o=i.Symbol,a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=o?o.toStringTag:void 0,h=Object.prototype.toString,l="[object Null]",y="[object Undefined]",p=o?o.toStringTag:void 0,f="[object Symbol]",_=Array.isArray,m=/\s/,O=/^\s+/,d=NaN,v=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,x=/^0o[0-7]+$/i,b=parseInt,E="[object AsyncFunction]",N="[object Function]",A="[object GeneratorFunction]",g="[object Proxy]",C=i["__core-js_shared__"],e=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""),M=e?"Symbol(src)_1."+e:"",R=Function.prototype.toString,w=/[\\^$.*+?()[\]{}|]/g,S=/^\[object .+?Constructor\]$/,I=Function.prototype,j=Object.prototype,L=I.toString,U=j.hasOwnProperty,H=RegExp("^"+L.call(U).replace(w,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=Ie(i,"WeakMap"),D=9007199254740991,P=/^(?:0|[1-9]\d*)$/,Y=9007199254740991,X=Object.prototype,z="[object Arguments]",F=Object.prototype,Q=F.hasOwnProperty,$=F.propertyIsEnumerable,Z=He(function(){return arguments}())?He:function(t){return Ae(t)&&Q.call(t,"callee")&&!$.call(t,"callee")},k="object"==typeof exports&&exports&&!exports.nodeType&&exports,q=k&&"object"==typeof module&&module&&!module.nodeType&&module,B=q&&q.exports===k?i.Buffer:void 0,W=(B?B.isBuffer:void 0)||Ve,(K={})["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Arguments]"]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object Boolean]"]=K["[object DataView]"]=K["[object Date]"]=K["[object Error]"]=K["[object Function]"]=K["[object Map]"]=K["[object Number]"]=K["[object Object]"]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object WeakMap]"]=!1,G="object"==typeof exports&&exports&&!exports.nodeType&&exports,J=G&&"object"==typeof module&&module&&!module.nodeType&&module,tt=J&&J.exports===G&&r.process,et=function(){try{var t=J&&J.require&&J.require("util").types;return t||tt&&tt.binding&&tt.binding("util")}catch(e){}}(),rt=et&&et.isTypedArray,nt=rt?(xe=rt,function(t){return xe(t)}):De,it=Object.prototype.hasOwnProperty,ot=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),at=Object.prototype.hasOwnProperty,st=Ie(Object,"create"),ut="__lodash_hash_undefined__",ct=Object.prototype.hasOwnProperty,ht=Object.prototype.hasOwnProperty,lt="__lodash_hash_undefined__",ke.prototype.clear=ze,ke.prototype.delete=Fe,ke.prototype.get=Qe,ke.prototype.has=$e,ke.prototype.set=Ze,yt=Array.prototype.splice,tr.prototype.clear=qe,tr.prototype.delete=We,tr.prototype.get=Ke,tr.prototype.has=Ge,tr.prototype.set=Je,pt=Ie(i,"Map"),sr.prototype.clear=er,sr.prototype.delete=nr,sr.prototype.get=ir,sr.prototype.has=or,sr.prototype.set=ar,ft=200,pr.prototype.clear=ur,pr.prototype.delete=cr,pr.prototype.get=hr,pr.prototype.has=lr,pr.prototype.set=yr,_t=Object.prototype.propertyIsEnumerable,mt=Object.getOwnPropertySymbols,Ot=mt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r" "===t||"\t"===t||"\r"===t||"\n"===t,me=t=>"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0),Oe=class extends fe{constructor(...t){super(...t),Ee(this,"curNumber",""),Ee(this,"curCommandType",-1),Ee(this,"curCommandRelative",!1),Ee(this,"canParseCommandOrComma",!0),Ee(this,"curNumberHasExp",!1),Ee(this,"curNumberHasExpDigits",!1),Ee(this,"curNumberHasDecimal",!1),Ee(this,"curArgs",[])}finish(t=[]){if(this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t}parse(t,e=[]){const r=t=>{e.push(t),this.curArgs.length=0,this.canParseCommandOrComma=!0};for(let n=0;nt)throw new SyntaxError(`Expected positive number, got "${t}" at index "${n}"`)}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError(`Expected a flag, got "${this.curNumber}" at index "${n}"`);this.curArgs.push(t),this.curArgs.length===Te[this.curCommandType]&&(ve.HORIZ_LINE_TO===this.curCommandType?r({type:ve.HORIZ_LINE_TO,relative:this.curCommandRelative,x:t}):ve.VERT_LINE_TO===this.curCommandType?r({type:ve.VERT_LINE_TO,relative:this.curCommandRelative,y:t}):this.curCommandType===ve.MOVE_TO||this.curCommandType===ve.LINE_TO||this.curCommandType===ve.SMOOTH_QUAD_TO?(r({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),ve.MOVE_TO===this.curCommandType&&(this.curCommandType=ve.LINE_TO)):this.curCommandType===ve.CURVE_TO?r({type:ve.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===ve.SMOOTH_CURVE_TO?r({type:ve.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===ve.QUAD_TO?r({type:ve.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===ve.ARC&&r({type:ve.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!_e(i))if(","===i&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==i&&"-"!==i&&"."!==i)if(a)this.curNumber=i,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError(`Unterminated command at index ${n}.`);if(!this.canParseCommandOrComma)throw new SyntaxError(`Unexpected character "${i}" at index ${n}. Command cannot follow comma`);if(this.canParseCommandOrComma=!1,"z"!==i&&"Z"!==i)if("h"===i||"H"===i)this.curCommandType=ve.HORIZ_LINE_TO,this.curCommandRelative="h"===i;else if("v"===i||"V"===i)this.curCommandType=ve.VERT_LINE_TO,this.curCommandRelative="v"===i;else if("m"===i||"M"===i)this.curCommandType=ve.MOVE_TO,this.curCommandRelative="m"===i;else if("l"===i||"L"===i)this.curCommandType=ve.LINE_TO,this.curCommandRelative="l"===i;else if("c"===i||"C"===i)this.curCommandType=ve.CURVE_TO,this.curCommandRelative="c"===i;else if("s"===i||"S"===i)this.curCommandType=ve.SMOOTH_CURVE_TO,this.curCommandRelative="s"===i;else if("q"===i||"Q"===i)this.curCommandType=ve.QUAD_TO,this.curCommandRelative="q"===i;else if("t"===i||"T"===i)this.curCommandType=ve.SMOOTH_QUAD_TO,this.curCommandRelative="t"===i;else{if("a"!==i&&"A"!==i)throw new SyntaxError(`Unexpected character "${i}" at index ${n}.`);this.curCommandType=ve.ARC,this.curCommandRelative="a"===i}else e.push({type:ve.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=i,this.curNumberHasDecimal="."===i}else this.curNumber+=i,this.curNumberHasDecimal=!0;else this.curNumber+=i;else this.curNumber+=i,this.curNumberHasExp=!0;else this.curNumber+=i,this.curNumberHasExpDigits=this.curNumberHasExp}return e}transform(t){return Object.create(this,{parse:{value(e,r=[]){const n=Object.getPrototypeOf(this).parse.call(this,e);for(const i of n){const e=t(i);Array.isArray(e)?r.push(...e):r.push(e)}return r}}})}},t("t",ve=class t extends fe{constructor(e){super(),Ee(this,"commands",void 0),this.commands="string"==typeof e?t.parse(e):e}encode(){return t.encode(this.commands)}getBounds(){const t=pe.CALCULATE_BOUNDS();return this.transform(t),t}transform(t){const e=[];for(const r of this.commands){const n=t(r);Array.isArray(n)?e.push(...n):e.push(n)}return this.commands=e,this}reverse(t=!0){return this.commands=pe.REVERSE_PATH(this.commands,t),this}removeCollinear(){return this.commands=pe.REMOVE_COLLINEAR(this.commands),this}static encode(t){return gr(t)}static parse(t){const e=new Oe,r=[];return e.parse(t,r),e.finish(r),r}}),de=ve,Ee(ve,"CLOSE_PATH",1),Ee(ve,"MOVE_TO",2),Ee(ve,"HORIZ_LINE_TO",4),Ee(ve,"VERT_LINE_TO",8),Ee(ve,"LINE_TO",16),Ee(ve,"CURVE_TO",32),Ee(ve,"SMOOTH_CURVE_TO",64),Ee(ve,"QUAD_TO",128),Ee(ve,"SMOOTH_QUAD_TO",256),Ee(ve,"ARC",512),Ee(ve,"LINE_COMMANDS",de.LINE_TO|de.HORIZ_LINE_TO|de.VERT_LINE_TO),Ee(ve,"DRAWING_COMMANDS",de.HORIZ_LINE_TO|de.VERT_LINE_TO|de.LINE_TO|de.CURVE_TO|de.SMOOTH_CURVE_TO|de.QUAD_TO|de.SMOOTH_QUAD_TO|de.ARC),Te={[ve.MOVE_TO]:2,[ve.LINE_TO]:2,[ve.HORIZ_LINE_TO]:1,[ve.VERT_LINE_TO]:1,[ve.CLOSE_PATH]:0,[ve.QUAD_TO]:4,[ve.SMOOTH_QUAD_TO]:2,[ve.CURVE_TO]:6,[ve.SMOOTH_CURVE_TO]:4,[ve.ARC]:7}}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/const-BjfH-jZe.js b/editor/neo-ppt/assets/const-BjfH-jZe.js new file mode 100644 index 0000000..82858a1 --- /dev/null +++ b/editor/neo-ppt/assets/const-BjfH-jZe.js @@ -0,0 +1 @@ +var e=window.parent!==window,t=navigator.userAgent;location.host;var n=t.includes(`Firefox`),r=/^((?!chrome|android).)*safari/i.test(t),i=`/`,a=window.webViewId,o=t.includes(`MicroMessenger`),s=t.includes(`Android`)||t.includes(`iPad`)||t.includes(`iPhone`)||t.includes(`ArkWeb`),c=document.documentElement.clientWidth<800,l=t.includes(`(X11; Linux x86_64)`),u=t.includes(`iPhone`)||t.includes(`iPad`)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(t),d=t.includes(`Android`),f=t.includes(`Harmony`),p=/KimiDesktop\/\d/.test(t),m=p&&/Kimi-Work/i.test(t),h=()=>{if(m)return`sdk-work`;if(p)return`kimi-desktop`;if(a){if(u)return`kimi-ios`;if(d)return`kimi-android`;if(f)return`kimi-harmony`}return s?`wap`:`web`},g=`./neo-ppt/`,_=`https://statics.moonshot.cn/kimi-ppt/`,v=`https://www.kimi.com`,y=`https://www.kimi.ai`,b=`https://slides.kimi.link`,x=`https://slides.kimi.page`;location.origin===`https://www.kimi.com`||location.origin;var S=location.origin===`https://slides.kimi.link`||location.origin===`https://slides.kimi.page`;(()=>{try{return window.top?.location.host}catch{return`unknown`}})();export{a as _,x as a,S as b,h as c,n as d,f,s as g,l as h,b as i,d as l,e as m,y as n,g as o,u as p,i as r,_ as s,v as t,p as u,o as v,c as x,r as y}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/const-legacy-Bw9iWaro.js b/editor/neo-ppt/assets/const-legacy-Bw9iWaro.js new file mode 100644 index 0000000..205a396 --- /dev/null +++ b/editor/neo-ppt/assets/const-legacy-Bw9iWaro.js @@ -0,0 +1 @@ +System.register([],function(i,t){var n,e,o,s,r,d,c,a;return{setters:[],execute:function(){i("m",window.parent!==window),n=navigator.userAgent,location.host,i("d",n.includes("Firefox")),i("y",/^((?!chrome|android).)*safari/i.test(n)),i("r","/"),i("_",e=window.webViewId),i("v",n.includes("MicroMessenger")),i("g",o=n.includes("Android")||n.includes("iPad")||n.includes("iPhone")||n.includes("ArkWeb")),i("x",document.documentElement.clientWidth<800),i("h",n.includes("(X11; Linux x86_64)")),i("p",s=n.includes("iPhone")||n.includes("iPad")||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(n)),i("l",r=n.includes("Android")),i("f",d=n.includes("Harmony")),i("u",c=/KimiDesktop\/\d/.test(n)),a=c&&/Kimi-Work/i.test(n),i("c",()=>{if(a)return"sdk-work";if(c)return"kimi-desktop";if(e){if(s)return"kimi-ios";if(r)return"kimi-android";if(d)return"kimi-harmony"}return o?"wap":"web"}),i("o","./neo-ppt/"),i("s","https://statics.moonshot.cn/kimi-ppt/"),i("t","https://www.kimi.com"),i("n","https://www.kimi.ai"),i("i","https://slides.kimi.link"),i("a","https://slides.kimi.page"),"https://www.kimi.com"===location.origin||location.origin,i("b","https://slides.kimi.link"===location.origin||"https://slides.kimi.page"===location.origin),(()=>{try{return window.top?.location.host}catch{return"unknown"}})()}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/dayjs.min-BoSdjn8v.js b/editor/neo-ppt/assets/dayjs.min-BoSdjn8v.js new file mode 100644 index 0000000..d428f5d --- /dev/null +++ b/editor/neo-ppt/assets/dayjs.min-BoSdjn8v.js @@ -0,0 +1 @@ +import{t as e}from"./rolldown-runtime-DWdDZTNf.js";var t=e(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e){var n,r;n=t,r=function(){var t=6e4,e=36e5,n="millisecond",r="second",i="minute",s="hour",u="day",a="week",o="month",c="quarter",f="year",h="date",d="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,$=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},M=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},m={s:M,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+M(r,2,"0")+":"+M(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;g[a]=e,i=a}return!r&&i&&(v=i),i||!r&&v},w=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},O=m;O.l=p,O.i=S,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function y(t){this.$L=p(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[D]=!0}var M=y.prototype;return M.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},M.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},M.$utils=function(){return O},M.isValid=function(){return!(this.$d.toString()===d)},M.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},M.isAfter=function(t,e){return w(t)=0)t=e;else for(var a in t=e.constructor?Object.create(e.constructor.prototype):{},e)c(e,a)&&(t[a]=w(e[a]));return t}var se={}.toString;function ce(e){return se.call(e).slice(8,-1)}var le=function(e,t){return t===`Array`?``+e.map(function(e){return le(e,ce(e))}):t===`ArrayBuffer`?``+new Uint8Array(e):t===`Date`?e.getTime():ArrayBuffer.isView(e)?``+new Uint8Array(e.buffer):e};function ue(e,t,r,i){return r=r||{},i=i||``,n(e).forEach(function(n){if(!c(t,n))r[i+n]=void 0;else{var a=e[n],o=t[n];if(typeof a==`object`&&typeof o==`object`&&a&&o){var s=ce(a),l=ce(o);s===l?oe[s]?le(a,s)!==le(o,l)&&(r[i+n]=t[n]):ue(a,o,r,i+n+`.`):r[i+n]=t[n]}else a!==o&&(r[i+n]=t[n])}}),n(t).forEach(function(n){c(e,n)||(r[i+n]=t[n])}),r}var de=typeof Symbol<`u`&&Symbol.iterator,fe=de?function(e){var t;return e!=null&&(t=e[de])&&t.apply(e)}:function(){return null},T={};function E(e){var t,n,i,a;if(arguments.length===1){if(r(e))return e.slice();if(this===T&&typeof e==`string`)return[e];if(a=fe(e)){for(n=[];i=a.next(),!i.done;)n.push(i.value);return n}if(e==null)return[e];if(t=e.length,typeof t==`number`){for(n=Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=Array(t);t--;)n[t]=arguments[t];return n}var pe=typeof Symbol<`u`?function(e){return e[Symbol.toStringTag]===`AsyncFunction`}:function(){return!1},D=typeof location<`u`&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function me(e,t){D=e,he=t}var he=function(){return!0},ge=!Error(``).stack;function O(){if(ge)try{throw Error()}catch(e){return e}return Error()}function _e(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` +`).length),n.split(` +`).slice(t).filter(he).map(function(e){return` +`+e}).join(``)):``}var ve=[`Modify`,`Bulk`,`OpenFailed`,`VersionChange`,`Schema`,`Upgrade`,`InvalidTable`,`MissingAPI`,`NoSuchDatabase`,`InvalidArgument`,`SubTransaction`,`Unsupported`,`Internal`,`DatabaseClosed`,`PrematureCommit`,`ForeignAwait`],ye=[`Unknown`,`Constraint`,`Data`,`TransactionInactive`,`ReadOnly`,`Version`,`NotFound`,`InvalidState`,`InvalidAccess`,`Abort`,`Timeout`,`QuotaExceeded`,`Syntax`,`DataClone`],be=ve.concat(ye),xe={VersionChanged:`Database version changed by other database connection`,DatabaseClosed:`Database has been closed`,Abort:`Transaction aborted`,TransactionInactive:`Transaction has already completed or failed`};function k(e,t){this._e=O(),this.name=e,this.message=t}f(k).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+`: `+this.message+_e(this._e,2))}},toString:function(){return this.name+`: `+this.message}});function Se(e,t){return e+`. Errors: `+Object.keys(t).map(function(e){return t[e].toString()}).filter(function(e,t,n){return n.indexOf(e)===t}).join(` +`)}function Ce(e,t,n,r){this._e=O(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=Se(e,t)}f(Ce).from(k);function we(e,t){this._e=O(),this.name=`BulkError`,this.failures=t,this.message=Se(e,t)}f(we).from(k);var Te=be.reduce(function(e,t){return e[t]=t+`Error`,e},{}),Ee=k,A=be.reduce(function(e,t){var n=t+`Error`;function r(e,r){this._e=O(),this.name=n,e?typeof e==`string`?(this.message=``+e+(r?` + `+r:``),this.inner=r||null):typeof e==`object`&&(this.message=e.name+` `+e.message,this.inner=e):(this.message=xe[t]||n,this.inner=null)}return f(r).from(Ee),e[t]=r,e},{});A.Syntax=SyntaxError,A.Type=TypeError,A.Range=RangeError;var De=ye.reduce(function(e,t){return e[t+`Error`]=A[t],e},{});function Oe(e,t){if(!e||e instanceof k||e instanceof TypeError||e instanceof SyntaxError||!e.name||!De[e.name])return e;var n=new De[e.name](t||e.message,e);return`stack`in e&&d(n,`stack`,{get:function(){return this.inner.stack}}),n}var ke=be.reduce(function(e,t){return[`Syntax`,`Type`,`Range`].indexOf(t)===-1&&(e[t+`Error`]=A[t]),e},{});ke.ModifyError=Ce,ke.DexieError=k,ke.BulkError=we;function j(){}function Ae(e){return e}function je(e,t){return e==null||e===Ae?t:function(n){return t(e(n))}}function M(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function Me(e,t){return e===j?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?M(r,this.onsuccess):r),i&&(this.onerror=this.onerror?M(i,this.onerror):i),a===void 0?n:a}}function Ne(e,t){return e===j?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?M(n,this.onsuccess):n),r&&(this.onerror=this.onerror?M(r,this.onerror):r)}}function Pe(e,t){return e===j?t:function(n){var r=e.apply(this,arguments);a(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var s=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?M(i,this.onsuccess):i),o&&(this.onerror=this.onerror?M(o,this.onerror):o),r===void 0?s===void 0?void 0:s:a(r,s)}}function Fe(e,t){return e===j?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function Ie(e,t){return e===j?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then==`function`){for(var r=this,i=arguments.length,a=Array(i);i--;)a[i]=arguments[i];return n.then(function(){return t.apply(r,a)})}return t.apply(this,arguments)}}var Le={},Re=100,ze=20,Be=100,Ve=typeof Promise>`u`?[]:(function(){var e=Promise.resolve();if(typeof crypto>`u`||!crypto.subtle)return[e,e.__proto__,e];var t=crypto.subtle.digest(`SHA-512`,new Uint8Array([0]));return[t,t.__proto__,e]})(),He=Ve[0],Ue=Ve[1],We=Ve[2],Ge=Ue&&Ue.then,Ke=He&&He.constructor,qe=!!We,Je=!1,Ye=We?function(){We.then(pt)}:i.setImmediate?setImmediate.bind(null,pt):i.MutationObserver?function(){var e=document.createElement(`div`);new MutationObserver(function(){pt(),e=null}).observe(e,{attributes:!0}),e.setAttribute(`i`,`1`)}:function(){setTimeout(pt,0)},Xe=function(e,t){nt.push([e,t]),Qe&&(Ye(),Qe=!1)},Ze=!0,Qe=!0,N=[],$e=[],et=null,tt=Ae,P={id:`global`,global:!0,ref:0,unhandleds:[],onunhandled:It,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{It(e[0],e[1])}catch{}})}},F=P,nt=[],I=0,rt=[];function L(e){if(typeof this!=`object`)throw TypeError(`Promises must be constructed via new`);this._listeners=[],this.onuncatched=j,this._lib=!1;var t=this._PSD=F;if(D&&(this._stackHolder=O(),this._prev=null,this._numPrev=0),typeof e!=`function`){if(e!==Le)throw TypeError(`Not a function`);this._state=arguments[1],this._value=arguments[2],this._state===!1&&st(this,this._value);return}this._state=null,this._value=null,++t.ref,ot(this,e)}var it={get:function(){var e=F,t=wt;function n(n,r){var i=this,a=!e.global&&(e!==F||t!==wt),o=a&&!V(),s=new L(function(t,s){lt(i,new at(Nt(n,e,a,o),Nt(r,e,a,o),t,s,e))});return D&&ft(s,this),s}return n.prototype=Le,n},set:function(e){d(this,`then`,e&&e.prototype===Le?it:{get:function(){return e},set:it.set})}};l(L.prototype,{then:it,_then:function(e,t){lt(this,new at(null,null,e,t,F))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],n=arguments[1];return typeof t==`function`?this.then(null,function(e){return e instanceof t?n(e):bt(e)}):this.then(null,function(e){return e&&e.name===t?n(e):bt(e)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),bt(t)})},stack:{get:function(){if(this._stack)return this._stack;try{Je=!0;var e=dt(this,[],ze).join(` +From previous: `);return this._state!==null&&(this._stack=e),e}finally{Je=!1}}},timeout:function(e,t){var n=this;return e<1/0?new L(function(r,i){var a=setTimeout(function(){return i(new A.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,a))}):this}}),typeof Symbol<`u`&&Symbol.toStringTag&&d(L.prototype,Symbol.toStringTag,`Dexie.Promise`),P.env=At();function at(e,t,n,r,i){this.onFulfilled=typeof e==`function`?e:null,this.onRejected=typeof t==`function`?t:null,this.resolve=n,this.reject=r,this.psd=i}l(L,{all:function(){var e=E.apply(null,arguments).map(Dt);return new L(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(i,a){return L.resolve(i).then(function(n){e[a]=n,--r||t(e)},n)})})},resolve:function(e){if(e instanceof L)return e;if(e&&typeof e.then==`function`)return new L(function(t,n){e.then(t,n)});var t=new L(Le,!0,e);return ft(t,et),t},reject:bt,race:function(){var e=E.apply(null,arguments).map(Dt);return new L(function(t,n){e.map(function(e){return L.resolve(e).then(t,n)})})},PSD:{get:function(){return F},set:function(e){return F=e}},totalEchoes:{get:function(){return wt}},newPSD:B,usePSD:jt,scheduler:{get:function(){return Xe},set:function(e){Xe=e}},rejectionMapper:{get:function(){return tt},set:function(e){tt=e}},follow:function(e,t){return new L(function(n,r){return B(function(t,n){var r=F;r.unhandleds=[],r.onunhandled=n,r.finalize=M(function(){var e=this;_t(function(){e.unhandleds.length===0?t():n(e.unhandleds[0])})},r.finalize),e()},t,n,r)})}}),Ke&&(Ke.allSettled&&d(L,`allSettled`,function(){var e=E.apply(null,arguments).map(Dt);return new L(function(t){e.length===0&&t([]);var n=e.length,r=Array(n);e.forEach(function(e,i){return L.resolve(e).then(function(e){return r[i]={status:`fulfilled`,value:e}},function(e){return r[i]={status:`rejected`,reason:e}}).then(function(){return--n||t(r)})})})}),Ke.any&&typeof AggregateError<`u`&&d(L,`any`,function(){var e=E.apply(null,arguments).map(Dt);return new L(function(t,n){e.length===0&&n(AggregateError([]));var r=e.length,i=Array(r);e.forEach(function(e,a){return L.resolve(e).then(function(e){return t(e)},function(e){i[a]=e,--r||n(AggregateError(i))})})})}));function ot(e,t){try{t(function(t){if(e._state===null){if(t===e)throw TypeError(`A promise cannot be resolved with itself.`);var n=e._lib&&mt();t&&typeof t.then==`function`?ot(e,function(e,n){t instanceof L?t._then(e,n):t.then(e,n)}):(e._state=!0,e._value=t,ct(e)),n&&ht()}},st.bind(null,e))}catch(t){st(e,t)}}function st(e,t){if($e.push(t),e._state===null){var n=e._lib&&mt();t=tt(t),e._state=!1,e._value=t,D&&typeof t==`object`&&t&&!t._promise&&ee(function(){var n=m(t,`stack`);t._promise=e,d(t,`stack`,{get:function(){return Je?n&&(n.get?n.get.apply(t):n.value):e.stack}})}),vt(e),ct(e),n&&ht()}}function ct(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=nt,nt=[],n=e.length,t=0;t0);Ze=!0,Qe=!0}function gt(){var e=N;N=[],e.forEach(function(e){e._PSD.onunhandled.call(null,e._value,e)});for(var t=rt.slice(0),n=t.length;n;)t[--n]()}function _t(e){function t(){e(),rt.splice(rt.indexOf(t),1)}rt.push(t),++I,Xe(function(){--I===0&>()},[])}function vt(e){N.some(function(t){return t._value===e._value})||N.push(e)}function yt(e){for(var t=N.length;t;)if(N[--t]._value===e._value){N.splice(t,1);return}}function bt(e){return new L(Le,!1,e)}function R(e,t){var n=F;return function(){var r=mt(),i=F;try{return H(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{H(i,!1),r&&ht()}}}var z={awaits:0,echoes:0,id:0},xt=0,St=[],Ct=0,wt=0,Tt=0;function B(e,t,n,r){var i=F,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++Tt;var s=P.env;o.env=qe?{Promise:L,PromiseProp:{value:L,configurable:!0,writable:!0},all:L.all,race:L.race,allSettled:L.allSettled,any:L.any,resolve:L.resolve,reject:L.reject,nthen:Pt(s.nthen,o),gthen:Pt(s.gthen,o)}:{},t&&a(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var c=jt(o,e,n,r);return o.ref===0&&o.finalize(),c}function Et(){return z.id||(z.id=++xt),++z.awaits,z.echoes+=Be,z.id}function V(){return z.awaits?(--z.awaits===0&&(z.id=0),z.echoes=z.awaits*Be,!0):!1}(``+Ge).indexOf(`[native code]`)===-1&&(Et=V=j);function Dt(e){return z.echoes&&e&&e.constructor===Ke?(Et(),e.then(function(e){return V(),e},function(e){return V(),U(e)})):e}function Ot(e){++wt,(!z.echoes||--z.echoes===0)&&(z.echoes=z.id=0),St.push(F),H(e,!0)}function kt(){var e=St[St.length-1];St.pop(),H(e,!1)}function H(e,t){var n=F;if((t?z.echoes&&(!Ct++||e!==F):Ct&&(!--Ct||e!==F))&&Mt(t?Ot.bind(null,e):kt),e!==F&&(F=e,n===P&&(P.env=At()),qe)){var r=P.env.Promise,a=e.env;Ue.then=a.nthen,r.prototype.then=a.gthen,(n.global||e.global)&&(Object.defineProperty(i,`Promise`,a.PromiseProp),r.all=a.all,r.race=a.race,r.resolve=a.resolve,r.reject=a.reject,a.allSettled&&(r.allSettled=a.allSettled),a.any&&(r.any=a.any))}}function At(){var e=i.Promise;return qe?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(i,`Promise`),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Ue.then,gthen:e.prototype.then}:{}}function jt(e,t,n,r,i){var a=F;try{return H(e,!0),t(n,r,i)}finally{H(a,!1)}}function Mt(e){Ge.call(He,e)}function Nt(e,t,n,r){return typeof e==`function`?function(){var i=F;n&&Et(),H(t,!0);try{return e.apply(this,arguments)}finally{H(i,!1),r&&Mt(V)}}:e}function Pt(e,t){return function(n,r){return e.call(this,Nt(n,t),Nt(r,t))}}var Ft=`unhandledrejection`;function It(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,o={promise:t,reason:e};if(i.document&&document.createEvent?(r=document.createEvent(`Event`),r.initEvent(Ft,!0,!0),a(r,o)):i.CustomEvent&&(r=new CustomEvent(Ft,{detail:o}),a(r,o)),r&&i.dispatchEvent&&(dispatchEvent(r),!i.PromiseRejectionEvent&&i.onunhandledrejection))try{i.onunhandledrejection(r)}catch{}D&&r&&!r.defaultPrevented&&console.warn(`Unhandled rejection: `+(e.stack||e))}catch{}}var U=L.reject;function Lt(e,t,n,r){if(!e._state.openComplete&&!F.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return U(new A.DatabaseClosed);e.open().catch(j)}return e._state.dbReadyPromise.then(function(){return Lt(e,t,n,r)})}else{var i=e._createTransaction(t,n,e._dbSchema);try{i.create()}catch(e){return U(e)}return i._promise(t,function(e,t){return B(function(){return F.trans=i,r(e,t,i)})}).then(function(e){return i._completion.then(function(){return e})})}}var Rt=`3.0.3`,W=`￿`,zt=-1/0,G=`Invalid key provided. Keys must be of type string, number, Date or Array.`,Bt=`String expected.`,Vt=[],Ht=typeof navigator<`u`&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),Ut=Ht,Wt=Ht,Gt=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},Kt=`__dbnames`,qt=`readonly`,Jt=`readwrite`;function K(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var Yt={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Xt(e){return function(t){return x(t,e)===void 0&&(t=w(t),te(t,e)),t}}var Zt=function(){function e(){}return e.prototype._trans=function(e,t,n){var r=this._tx||F.trans,i=this.name;function a(e,n,r){if(!r.schema[i])throw new A.NotFound(`Table `+i+` not part of transaction`);return t(r.idbtrans,r)}var o=mt();try{return r&&r.db===this.db?r===F.trans?r._promise(e,a,n):B(function(){return r._promise(e,a,n)},{trans:r,transless:F.transless||F}):Lt(this.db,e,[this.name],a)}finally{o&&ht()}},e.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):this._trans(`readonly`,function(t){return n.core.get({trans:t,key:e}).then(function(e){return n.hook.reading.fire(e)})}).then(t)},e.prototype.where=function(e){if(typeof e==`string`)return new this.db.WhereClause(this,e);if(r(e))return new this.db.WhereClause(this,`[`+e.join(`+`)+`]`);var t=n(e);if(t.length===1)return this.where(t[0]).equals(e[t[0]]);var i=this.schema.indexes.concat(this.schema.primKey).filter(function(e){return e.compound&&t.every(function(t){return e.keyPath.indexOf(t)>=0})&&e.keyPath.every(function(e){return t.indexOf(e)>=0})})[0];if(i&&this.db._maxKey!==W)return this.where(i.name).equals(i.keyPath.map(function(t){return e[t]}));!i&&D&&console.warn(`The query `+JSON.stringify(e)+` on `+this.name+` would benefit of a `+(`compound index [`+t.join(`+`)+`]`));var a=this.schema.idxByName,o=this.db._deps.indexedDB;function s(e,t){try{return o.cmp(e,t)===0}catch{return!1}}var c=t.reduce(function(t,n){var i=t[0],o=t[1],c=a[n],l=e[n];return[i||c,i||!c?K(o,c&&c.multi?function(e){var t=x(e,n);return r(t)&&t.some(function(e){return s(l,e)})}:function(e){return s(l,x(e,n))}):o]},[null,null]),l=c[0],u=c[1];return l?this.where(l.name).equals(e[l.keyPath]).filter(u):i?this.filter(u):this.where(t).equals(``)},e.prototype.filter=function(e){return this.toCollection().and(e)},e.prototype.count=function(e){return this.toCollection().count(e)},e.prototype.offset=function(e){return this.toCollection().offset(e)},e.prototype.limit=function(e){return this.toCollection().limit(e)},e.prototype.each=function(e){return this.toCollection().each(e)},e.prototype.toArray=function(e){return this.toCollection().toArray(e)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,r(e)?`[`+e.join(`+`)+`]`:e))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(e){this.schema.mappedClass=e;var t=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(c(t,r))try{n[r]=t[r]}catch{}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook(`reading`,t),e},e.prototype.defineClass=function(){function e(e){a(this,e)}return this.mapToClass(e)},e.prototype.add=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,a=r.keyPath,o=e;return a&&i&&(o=Xt(a)(e)),this._trans(`readwrite`,function(e){return n.core.mutate({trans:e,type:`add`,keys:t==null?null:[t],values:[o]})}).then(function(e){return e.numFailures?L.reject(e.failures[0]):e.lastResult}).then(function(t){if(a)try{S(e,a,t)}catch{}return t})},e.prototype.update=function(e,t){if(typeof t!=`object`||r(t))throw new A.InvalidArgument(`Modifications must be an object.`);if(typeof e==`object`&&!r(e)){n(t).forEach(function(n){S(e,n,t[n])});var i=x(e,this.schema.primKey.keyPath);return i===void 0?U(new A.InvalidArgument(`Given object does not contain its primary key`)):this.where(`:id`).equals(i).modify(t)}else return this.where(`:id`).equals(e).modify(t)},e.prototype.put=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,a=r.keyPath,o=e;return a&&i&&(o=Xt(a)(e)),this._trans(`readwrite`,function(e){return n.core.mutate({trans:e,type:`put`,values:[o],keys:t==null?null:[t]})}).then(function(e){return e.numFailures?L.reject(e.failures[0]):e.lastResult}).then(function(t){if(a)try{S(e,a,t)}catch{}return t})},e.prototype.delete=function(e){var t=this;return this._trans(`readwrite`,function(n){return t.core.mutate({trans:n,type:`delete`,keys:[e]})}).then(function(e){return e.numFailures?L.reject(e.failures[0]):void 0})},e.prototype.clear=function(){var e=this;return this._trans(`readwrite`,function(t){return e.core.mutate({trans:t,type:`deleteRange`,range:Yt})}).then(function(e){return e.numFailures?L.reject(e.failures[0]):void 0})},e.prototype.bulkGet=function(e){var t=this;return this._trans(`readonly`,function(n){return t.core.getMany({keys:e,trans:n}).then(function(e){return e.map(function(e){return t.hook.reading.fire(e)})})})},e.prototype.bulkAdd=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0;n=n||(i?void 0:t);var a=n?n.allKeys:void 0;return this._trans(`readwrite`,function(t){var n=r.schema.primKey,o=n.auto,s=n.keyPath;if(s&&i)throw new A.InvalidArgument(`bulkAdd(): keys argument invalid on tables with inbound keys`);if(i&&i.length!==e.length)throw new A.InvalidArgument(`Arguments objects and keys must have the same length`);var c=e.length,l=s&&o?e.map(Xt(s)):e;return r.core.mutate({trans:t,type:`add`,keys:i,values:l,wantResults:a}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,o=e.failures,s=a?n:i;if(t===0)return s;throw new we(r.name+`.bulkAdd(): `+t+` of `+c+` operations failed`,Object.keys(o).map(function(e){return o[e]}))})})},e.prototype.bulkPut=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0;n=n||(i?void 0:t);var a=n?n.allKeys:void 0;return this._trans(`readwrite`,function(t){var n=r.schema.primKey,o=n.auto,s=n.keyPath;if(s&&i)throw new A.InvalidArgument(`bulkPut(): keys argument invalid on tables with inbound keys`);if(i&&i.length!==e.length)throw new A.InvalidArgument(`Arguments objects and keys must have the same length`);var c=e.length,l=s&&o?e.map(Xt(s)):e;return r.core.mutate({trans:t,type:`put`,keys:i,values:l,wantResults:a}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,o=e.failures,s=a?n:i;if(t===0)return s;throw new we(r.name+`.bulkPut(): `+t+` of `+c+` operations failed`,Object.keys(o).map(function(e){return o[e]}))})})},e.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans(`readwrite`,function(n){return t.core.mutate({trans:n,type:`delete`,keys:e})}).then(function(e){var r=e.numFailures,i=e.lastResult,a=e.failures;if(r===0)return i;throw new we(t.name+`.bulkDelete(): `+r+` of `+n+` operations failed`,a)})},e}();function Qt(e){var t={},i=function(n,r){if(r){for(var i=arguments.length,a=Array(i-1);--i;)a[i-1]=arguments[i];return t[n].subscribe.apply(null,a),e}else if(typeof n==`string`)return t[n]};i.addEventType=s;for(var a=1,o=arguments.length;ar?o:0}return this.toArray(function(e){return e.sort(s)}).then(t)},e.prototype.toArray=function(e){var t=this;return this._read(function(e){var n=t._ctx;if(n.dir===`next`&&tn(n,!0)&&n.limit>0){var r=n.valueMapper,i=on(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:i,range:n.range}}).then(function(e){var t=e.result;return r?t.map(r):t})}else{var a=[];return cn(n,function(e){return a.push(e)},e,n.table.core).then(function(){return a})}},e)},e.prototype.offset=function(e){var t=this._ctx;return e<=0?this:(t.offset+=e,tn(t)?rn(t,function(){var t=e;return function(e,n){return t===0?!0:t===1?(--t,!1):(n(function(){e.advance(t),t=0}),!1)}}):rn(t,function(){var t=e;return function(){return--t<0}}),this)},e.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),rn(this._ctx,function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}},!0),this},e.prototype.until=function(e,t){return nn(this._ctx,function(n,r,i){return e(n.value)?(r(i),t):!0}),this},e.prototype.first=function(e){return this.limit(1).toArray(function(e){return e[0]}).then(e)},e.prototype.last=function(e){return this.reverse().first(e)},e.prototype.filter=function(e){return nn(this._ctx,function(t){return e(t.value)}),an(this._ctx,e),this},e.prototype.and=function(e){return this.filter(e)},e.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir===`prev`?`next`:`prev`,this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.key,n)})},e.prototype.eachUniqueKey=function(e){return this._ctx.unique=`unique`,this.eachKey(e)},e.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.primaryKey,n)})},e.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.key)}).then(function(){return n}).then(e)},e.prototype.primaryKeys=function(e){var t=this._ctx;if(t.dir===`next`&&tn(t,!0)&&t.limit>0)return this._read(function(e){var n=on(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})}).then(function(e){return e.result}).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.primaryKey)}).then(function(){return n}).then(e)},e.prototype.uniqueKeys=function(e){return this._ctx.unique=`unique`,this.keys(e)},e.prototype.firstKey=function(e){return this.limit(1).keys(function(e){return e[0]}).then(e)},e.prototype.lastKey=function(e){return this.reverse().firstKey(e)},e.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return nn(this._ctx,function(e){var t=e.primaryKey.toString(),r=c(n,t);return n[t]=!0,!r}),this},e.prototype.modify=function(e){var t=this,r=this._ctx;return this._write(function(i){var a;if(typeof e==`function`)a=e;else{var o=n(e),s=o.length;a=function(t){for(var n=!1,r=0;r0&&c.mutate({trans:i,type:`add`,values:s}).then(function(e){for(var t in e.failures)h.splice(parseInt(t),1);_(s.length,e)})).then(function(e){return l.length>0&&c.mutate({trans:i,type:`put`,keys:m,values:l}).then(function(e){return _(l.length,e)})}).then(function(){return h.length>0&&c.mutate({trans:i,type:`delete`,keys:h}).then(function(e){return _(h.length,e)})}).then(function(){return e.length>n+r&&t(n+f)})})};return t(0).then(function(){if(m.length>0)throw new Ce(`Error modifying one or more objects`,m,h,g);return e.length})})})},e.prototype.delete=function(){var e=this._ctx,t=e.range;return tn(e)&&(e.isPrimKey&&!Wt||t.type===3)?this._write(function(n){var r=e.table.core.schema.primaryKey,i=t;return e.table.core.count({trans:n,query:{index:r,range:i}}).then(function(t){return e.table.core.mutate({trans:n,type:`deleteRange`,range:i}).then(function(e){var n=e.failures;e.lastResult,e.results;var r=e.numFailures;if(r)throw new Ce(`Could not delete some values`,Object.keys(n).map(function(e){return n[e]}),t-r);return t-r})})}):this.modify(function(e,t){return t.value=null})},e}();function dn(e){return $t(un.prototype,function(t,n){this.db=e;var r=Yt,i=null;if(n)try{r=n()}catch(e){i=e}var a=t._ctx,o=a.table,s=o.hook.reading.fire;this._ctx={table:o,index:a.index,isPrimKey:!a.index||o.schema.primKey.keyPath&&a.index===o.schema.primKey.name,range:r,keysOnly:!1,dir:`next`,unique:``,algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:a.or,valueMapper:s===Ae?null:s}})}function fn(e,t){return et?-1:e===t?0:1}function q(e,t,n){var r=e instanceof yn?new e.Collection(e):e;return r._ctx.error=n?new n(t):TypeError(t),r}function J(e){return new e.Collection(e,function(){return vn(``)}).limit(0)}function mn(e){return e===`next`?function(e){return e.toUpperCase()}:function(e){return e.toLowerCase()}}function hn(e){return e===`next`?function(e){return e.toLowerCase()}:function(e){return e.toUpperCase()}}function gn(e,t,n,r,i,a){for(var o=Math.min(e.length,r.length),s=-1,c=0;c=0?e.substr(0,s)+t[s]+n.substr(s+1):null;i(e[c],l)<0&&(s=c)}return o0)&&(p=g)}return n(p===null?r:function(){e.continue(p+u)}),!1}),p}function Y(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function vn(e){return{type:1,lower:e,upper:e}}var yn=function(){function e(){}return Object.defineProperty(e.prototype,`Collection`,{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(e,t,n,r){n=n!==!1,r=r===!0;try{return this._cmp(e,t)>0||this._cmp(e,t)===0&&(n||r)&&!(n&&r)?J(this):new this.Collection(this,function(){return Y(e,t,!n,!r)})}catch{return q(this,G)}},e.prototype.equals=function(e){return e==null?q(this,G):new this.Collection(this,function(){return vn(e)})},e.prototype.above=function(e){return e==null?q(this,G):new this.Collection(this,function(){return Y(e,void 0,!0)})},e.prototype.aboveOrEqual=function(e){return e==null?q(this,G):new this.Collection(this,function(){return Y(e,void 0,!1)})},e.prototype.below=function(e){return e==null?q(this,G):new this.Collection(this,function(){return Y(void 0,e,!1,!0)})},e.prototype.belowOrEqual=function(e){return e==null?q(this,G):new this.Collection(this,function(){return Y(void 0,e)})},e.prototype.startsWith=function(e){return typeof e==`string`?this.between(e,e+W,!0,!0):q(this,Bt)},e.prototype.startsWithIgnoreCase=function(e){return e===``?this.startsWith(e):_n(this,function(e,t){return e.indexOf(t[0])===0},[e],W)},e.prototype.equalsIgnoreCase=function(e){return _n(this,function(e,t){return e===t[0]},[e],``)},e.prototype.anyOfIgnoreCase=function(){var e=E.apply(T,arguments);return e.length===0?J(this):_n(this,function(e,t){return t.indexOf(e)!==-1},e,``)},e.prototype.startsWithAnyOfIgnoreCase=function(){var e=E.apply(T,arguments);return e.length===0?J(this):_n(this,function(e,t){return t.some(function(t){return e.indexOf(t)===0})},e,W)},e.prototype.anyOf=function(){var e=this,t=E.apply(T,arguments),n=this._cmp;try{t.sort(n)}catch{return q(this,G)}if(t.length===0)return J(this);var r=new this.Collection(this,function(){return Y(t[0],t[t.length-1])});r._ondirectionchange=function(r){n=r===`next`?e._ascending:e._descending,t.sort(n)};var i=0;return r._addAlgorithm(function(e,r,a){for(var o=e.key;n(o,t[i])>0;)if(++i,i===t.length)return r(a),!1;return n(o,t[i])===0?!0:(r(function(){e.continue(t[i])}),!1)}),r},e.prototype.notEqual=function(e){return this.inAnyRange([[zt,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var e=E.apply(T,arguments);if(e.length===0)return new this.Collection(this);try{e.sort(this._ascending)}catch{return q(this,G)}var t=e.reduce(function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[zt,t]]},null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(e,t){var n=this,r=this._cmp,i=this._ascending,a=this._descending,o=this._min,s=this._max;if(e.length===0)return J(this);if(!e.every(function(e){return e[0]!==void 0&&e[1]!==void 0&&i(e[0],e[1])<=0}))return q(this,`First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower`,A.InvalidArgument);var c=!t||t.includeLowers!==!1,l=t&&t.includeUppers===!0;function u(e,t){for(var n=0,i=e.length;n0){a[0]=o(a[0],t[0]),a[1]=s(a[1],t[1]);break}}return n===i&&e.push(t),e}var d=i;function f(e,t){return d(e[0],t[0])}var p;try{p=e.reduce(u,[]),p.sort(f)}catch{return q(this,G)}var m=0,h=l?function(e){return i(e,p[m][1])>0}:function(e){return i(e,p[m][1])>=0},g=c?function(e){return a(e,p[m][0])>0}:function(e){return a(e,p[m][0])>=0};function _(e){return!h(e)&&!g(e)}var v=h,y=new this.Collection(this,function(){return Y(p[0][0],p[p.length-1][1],!c,!l)});return y._ondirectionchange=function(e){e===`next`?(v=h,d=i):(v=g,d=a),p.sort(f)},y._addAlgorithm(function(e,t,r){for(var a=e.key;v(a);)if(++m,m===p.length)return t(r),!1;return _(a)?!0:(n._cmp(a,p[m][1])===0||n._cmp(a,p[m][0])===0||t(function(){d===i?e.continue(p[m][0]):e.continue(p[m][1])}),!1)}),y},e.prototype.startsWithAnyOf=function(){var e=E.apply(T,arguments);return e.every(function(e){return typeof e==`string`})?e.length===0?J(this):this.inAnyRange(e.map(function(e){return[e,e+W]})):q(this,`startsWithAnyOf() only works with strings`)},e}();function bn(e){return $t(yn.prototype,function(t,n,r){this.db=e,this._ctx={table:t,index:n===`:id`?null:n,or:r};var i=e._deps.indexedDB;if(!i)throw new A.MissingAPI(`indexedDB API missing`);this._cmp=this._ascending=i.cmp.bind(i),this._descending=function(e,t){return i.cmp(t,e)},this._max=function(e,t){return i.cmp(e,t)>0?e:t},this._min=function(e,t){return i.cmp(e,t)<0?e:t},this._IDBKeyRange=e._deps.IDBKeyRange})}function xn(e){return e.length===1?e[0]:e}function Sn(e){try{return e.only([[]]),[[]]}catch{return W}}function X(e){return R(function(t){return Z(t),e(t.target.error),!1})}function Z(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var Cn=function(){function e(){}return e.prototype._lock=function(){return v(!F.global),++this._reculock,this._reculock===1&&!F.global&&(F.lockOwnerFor=this),this},e.prototype._unlock=function(){if(v(!F.global),--this._reculock===0)for(F.global||(F.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{jt(e[1],e[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&F.lockOwnerFor!==this},e.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(v(!this.idbtrans),!e&&!n)switch(r&&r.name){case`DatabaseClosedError`:throw new A.DatabaseClosed(r);case`MissingAPIError`:throw new A.MissingAPI(r.message,r);default:throw new A.OpenFailed(r)}if(!this.active)throw new A.TransactionInactive;return v(this._completion._state===null),e=this.idbtrans=e||n.transaction(xn(this.storeNames),this.mode),e.onerror=R(function(n){Z(n),t._reject(e.error)}),e.onabort=R(function(n){Z(n),t.active&&t._reject(new A.Abort(e.error)),t.active=!1,t.on(`abort`).fire(n)}),e.oncomplete=R(function(){t.active=!1,t._resolve()}),this},e.prototype._promise=function(e,t,n){var r=this;if(e===`readwrite`&&this.mode!==`readwrite`)return U(new A.ReadOnly(`Transaction is readonly`));if(!this.active)return U(new A.TransactionInactive);if(this._locked())return new L(function(i,a){r._blockedFuncs.push([function(){r._promise(e,t,n).then(i,a)},F])});if(n)return B(function(){var e=new L(function(e,n){r._lock();var i=t(e,n,r);i&&i.then&&i.then(e,n)});return e.finally(function(){return r._unlock()}),e._lib=!0,e});var i=new L(function(e,n){var i=t(e,n,r);i&&i.then&&i.then(e,n)});return i._lib=!0,i},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(e){var t=this._root(),n=L.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then(function(){return n});else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);(function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)})()}var i=t._waitingFor;return new L(function(e,r){n.then(function(n){return t._waitingQueue.push(R(e.bind(null,n)))},function(e){return t._waitingQueue.push(R(r.bind(null,e)))}).finally(function(){t._waitingFor===i&&(t._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new A.Abort),this.active=!1},e.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(c(t,e))return t[e];var n=this.schema[e];if(!n)throw new A.NotFound(`Table `+e+` not part of transaction`);var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},e}();function wn(e){return $t(Cn.prototype,function(t,n,r,i){var a=this;this.db=e,this.mode=t,this.storeNames=n,this.schema=r,this.idbtrans=null,this.on=Qt(this,`complete`,`error`,`abort`),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new L(function(e,t){a._resolve=e,a._reject=t}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(e){var t=a.active;return a.active=!1,a.on.error.fire(e),a.parent?a.parent._reject(e):t&&a.idbtrans&&a.idbtrans.abort(),U(e)})})}function Tn(e,t,n,r,i,a,o){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:a,src:(n&&!o?`&`:``)+(r?`*`:``)+(i?`++`:``)+En(t)}}function En(e){return typeof e==`string`?e:e?`[`+[].join.call(e,`+`)+`]`:``}function Dn(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:b(n,function(e){return[e.name,e]})}}function On(e){return e==null?function(){}:typeof e==`string`?kn(e):function(t){return x(t,e)}}function kn(e){return e.split(`.`).length===1?function(t){return t[e]}:function(t){return x(t,e)}}function An(e,t){return t.type===`delete`?t.keys:t.keys||t.values.map(e.extractKey)}function jn(e,t,n){return t.type===`add`?Promise.resolve(Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function Mn(e){return[].slice.call(e)}var Nn=0;function Pn(e){return e==null?`:id`:typeof e==`string`?e:`[`+e.join(`+`)+`]`}function Fn(e,n,i,a){var o=n.cmp.bind(n);function s(e,t){var n=Mn(e.objectStoreNames);return{schema:{name:e.name,tables:n.map(function(e){return t.objectStore(e)}).map(function(e){var t=e.keyPath,n=e.autoIncrement,i=r(t),a=t==null,o={},s={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:a,compound:i,keyPath:t,autoIncrement:n,unique:!0,extractKey:On(t)},indexes:Mn(e.indexNames).map(function(t){return e.index(t)}).map(function(e){var t=e.name,n=e.unique,i=e.multiEntry,a=e.keyPath,s={name:t,compound:r(a),keyPath:a,unique:n,multiEntry:i,extractKey:On(a)};return o[Pn(a)]=s,s}),getIndexByKeyPath:function(e){return o[Pn(e)]}};return o[`:id`]=s.primaryKey,t!=null&&(o[Pn(t)]=s.primaryKey),s})},hasGetAll:n.length>0&&`getAll`in t.objectStore(n[0])&&!(typeof navigator<`u`&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function c(e){if(e.type===3)return null;if(e.type===4)throw Error(`Cannot convert never type to IDBKeyRange`);var t=e.lower,n=e.upper,r=e.lowerOpen,a=e.upperOpen;return t===void 0?n===void 0?null:i.upperBound(n,!!a):n===void 0?i.lowerBound(t,!!r):i.bound(t,n,!!r,!!a)}function l(e){var n=e.name;function r(r){var i=r.trans,a=r.type,o=r.keys,s=r.values,l=r.range,u=r.wantResults;return new Promise(function(r,d){r=R(r);var f=i.objectStore(n),p=f.keyPath==null,m=a===`put`||a===`add`;if(!m&&a!==`delete`&&a!==`deleteRange`)throw Error(`Invalid operation type: `+a);var h=(o||s||{length:1}).length;if(o&&s&&o.length!==s.length)throw Error(`Given keys array must have same length as given values array.`);if(h===0)return r({numFailures:0,failures:{},results:[],lastResult:void 0});var g=u&&t(o||An(e.primaryKey,{type:a,keys:o,values:s})),_,v=[],y=0,b=function(e){++y,Z(e),g&&(g[e.target._reqno]=void 0),v[e.target._reqno]=e.target.error},ee=function(e){var t=e.target;g[t._reqno]=t.result};if(a===`deleteRange`){if(l.type===4)return r({numFailures:y,failures:v,results:g,lastResult:void 0});_=l.type===3?f.clear():f.delete(c(l))}else{var x=m?p?[s,o]:[s,null]:[o,null],S=x[0],te=x[1];if(m)for(var C=0;C=t}).forEach(function(o){a.push(function(){var a=s,l=o._cfg.dbschema;Qn(e,a,i),Qn(e,l,i),s=e._dbSchema=l;var u=Wn(a,l);u.add.forEach(function(e){Gn(i,e[0],e[1].primKey,e[1].indexes)}),u.change.forEach(function(e){if(e.recreate)throw new A.Upgrade(`Not yet support for changing primary key`);var t=i.objectStore(e.name);e.add.forEach(function(e){return Jn(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),Jn(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var d=o._cfg.contentUpgrade;if(d&&o._cfg.version>t){Rn(e,i),r._memoizedTables={},c=!0;var f=C(l);u.del.forEach(function(e){f[e]=a[e]}),Bn(e,[e.Transaction.prototype]),zn(e,[e.Transaction.prototype],n(f),f),r.schema=f;var p=pe(d);p&&Et();var m,h=L.follow(function(){if(m=d(r),m&&p){var e=V.bind(null,null);m.then(e,e)}});return m&&typeof m.then==`function`?L.resolve(m):h.then(function(){return m})}}),a.push(function(t){if(!c||!Ut){var n=o._cfg.dbschema;qn(n,t)}Bn(e,[e.Transaction.prototype]),zn(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),r.schema=e._dbSchema})});function l(){return a.length?L.resolve(a.shift()(r.idbtrans)).then(l):L.resolve()}return l().then(function(){Kn(s,i)})}function Wn(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var i=e[r],a=t[r];if(!i)n.add.push([r,a]);else{var o={name:r,def:a,recreate:!1,del:[],add:[],change:[]};if(``+(i.primKey.keyPath||``)!=``+(a.primKey.keyPath||``)||i.primKey.auto!==a.primKey.auto&&!Ht)o.recreate=!0,n.change.push(o);else{var s=i.idxByName,c=a.idxByName,l=void 0;for(l in s)c[l]||o.del.push(l);for(l in c){var u=s[l],d=c[l];u?u.src!==d.src&&o.change.push(d):o.add.push(d)}(o.del.length>0||o.add.length>0||o.change.length>0)&&n.change.push(o)}}}return n}function Gn(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(e){return Jn(i,e)}),i}function Kn(e,t){n(e).forEach(function(n){t.db.objectStoreNames.contains(n)||Gn(t,n,e[n].primKey,e[n].indexes)})}function qn(e,t){for(var n=0;n2**62?0:r.oldVersion;e.idbdb=s.result,Hn(e,l/10,i,a)}},a),s.onsuccess=R(function(){i=null;var n=e.idbdb=s.result,a=g(n.objectStoreNames);if(a.length>0)try{var c=n.transaction(xn(a),`readonly`);t.autoSchema?Xn(e,n,c):(Qn(e,e._dbSchema,c),Zn(e,c)||console.warn(`Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.`)),Rn(e,c)}catch{}Vt.push(e),n.onversionchange=R(function(n){t.vcFired=!0,e.on(`versionchange`).fire(n)}),nr.add(o),r()},a)})]).then(function(){return t.onReadyBeingFired=[],L.resolve(ar(e.on.ready.fire)).then(function e(){if(t.onReadyBeingFired.length>0){var n=t.onReadyBeingFired.reduce(Ie,j);return t.onReadyBeingFired=[],L.resolve(ar(n)).then(e)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(n){try{i&&i.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=n,U(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function sr(e){var t=function(t){return e.next(t)},n=function(t){return e.throw(t)},i=o(t),a=o(n);function o(e){return function(t){var n=e(t),o=n.value;return n.done?o:!o||typeof o.then!=`function`?r(o)?Promise.all(o).then(i,a):i(o):o.then(i,a)}}return o(t)()}function cr(e,t,n){var r=arguments.length;if(r<2)throw new A.InvalidArgument(`Too few arguments`);for(var i=Array(r-1);--r;)i[r-1]=arguments[r];return n=i.pop(),[e,re(i),n]}function lr(e,t,n,r,i){return L.resolve().then(function(){var a=F.transless||F,o=e._createTransaction(t,n,e._dbSchema,r),s={trans:o,transless:a};r?o.idbtrans=r.idbtrans:o.create();var c=pe(i);c&&Et();var l,u=L.follow(function(){if(l=i.call(o,o),l)if(c){var e=V.bind(null,null);l.then(e,e)}else typeof l.next==`function`&&typeof l.throw==`function`&&(l=sr(l))},s);return(l&&typeof l.then==`function`?L.resolve(l).then(function(e){return o.active?e:U(new A.PrematureCommit(`Transaction committed too early. See http://bit.ly/2kdckMn`))}):u.then(function(){return l})).then(function(e){return r&&o._resolve(),o._completion.then(function(){return e})}).catch(function(e){return o._reject(e),U(e)})})}function Q(e,t,n){for(var i=r(e)?e.slice():[e],a=0;a0,d=e(e({},r),{isVirtual:u,isPrimaryKey:!u&&r.isPrimaryKey,keyTail:n,keyLength:l,extractKey:On(t),unique:!u&&r.unique});return c.push(d),d.isPrimaryKey||o.push(d),l>1&&s(l===2?t[0]:t.slice(0,l-1),n+1,r),c.sort(function(e,t){return e.keyTail-t.keyTail}),d}var c=s(i.primaryKey.keyPath,0,i.primaryKey);a[`:id`]=[c];for(var l=0,u=i.indexes;l0?Promise.reject(i.failures[0]):a.length0?console.warn(`Another connection wants to upgrade database '`+i.name+`'. Closing db now to resume the upgrade.`):console.warn(`Another connection wants to delete database '`+i.name+`'. Closing db now to resume the delete request.`),i.close()}),this.on(`blocked`,function(e){!e.newVersion||e.newVersion=0&&Vt.splice(e,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,t.dbOpenError=new A.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError),t.dbReadyPromise=new L(function(e){t.dbReadyResolve=e}),t.openCanceller=new L(function(e,n){t.cancelOpen=n})},t.prototype.delete=function(){var e=this,t=arguments.length>0,n=this._state;return new L(function(r,i){var a=function(){e.close();var t=e._deps.indexedDB.deleteDatabase(e.name);t.onsuccess=R(function(){nr.remove(e.name),r()}),t.onerror=X(i),t.onblocked=e._fireOnBlocked};if(t)throw new A.InvalidArgument(`Arguments not allowed in db.delete()`);n.isBeingOpened?n.dbReadyPromise.then(a):a()})},t.prototype.backendDB=function(){return this.idbdb},t.prototype.isOpen=function(){return this.idbdb!==null},t.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&e.name===`DatabaseClosed`},t.prototype.hasFailed=function(){return this._state.dbOpenError!==null},t.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(t.prototype,`tables`,{get:function(){var e=this;return n(this._allTables).map(function(t){return e._allTables[t]})},enumerable:!0,configurable:!0}),t.prototype.transaction=function(){var e=cr.apply(this,arguments);return this._transaction.apply(this,e)},t.prototype._transaction=function(e,t,n){var r=this,i=F.trans;(!i||i.db!==this||e.indexOf(`!`)!==-1)&&(i=null);var a=e.indexOf(`?`)!==-1;e=e.replace(`!`,``).replace(`?`,``);var o,s;try{if(s=t.map(function(e){var t=e instanceof r.Table?e.name:e;if(typeof t!=`string`)throw TypeError(`Invalid table argument to Dexie.transaction(). Only Table or String are allowed`);return t}),e==`r`||e===qt)o=qt;else if(e==`rw`||e==Jt)o=Jt;else throw new A.InvalidArgument(`Invalid transaction mode: `+e);if(i){if(i.mode===qt&&o===Jt)if(a)i=null;else throw new A.SubTransaction(`Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY`);i&&s.forEach(function(e){if(i&&i.storeNames.indexOf(e)===-1)if(a)i=null;else throw new A.SubTransaction(`Table `+e+` not included in parent transaction.`)}),a&&i&&!i.active&&(i=null)}}catch(e){return i?i._promise(null,function(t,n){n(e)}):U(e)}var c=lr.bind(null,this,o,s,i,n);return i?i._promise(o,c,`lock`):F.trans?jt(F.transless,function(){return r._whenReady(c)}):this._whenReady(c)},t.prototype.table=function(e){if(!c(this._allTables,e))throw new A.InvalidTable(`Table `+e+` does not exist`);return this._allTables[e]},t}(),$=pr;l($,e(e({},ke),{delete:function(e){return new $(e).delete()},exists:function(e){return new $(e,{addons:[]}).open().then(function(e){return e.close(),!0}).catch(`NoSuchDatabaseError`,function(){return!1})},getDatabaseNames:function(e){return nr?nr.getDatabaseNames().then(e):L.resolve([])},defineClass:function(){function e(e){a(this,e)}return e},ignoreTransaction:function(e){return F.trans?jt(F.transless,e):e()},vip:ar,async:function(e){return function(){try{var t=sr(e.apply(this,arguments));return!t||typeof t.then!=`function`?L.resolve(t):t}catch(e){return U(e)}}},spawn:function(e,t,n){try{var r=sr(e.apply(n,t||[]));return!r||typeof r.then!=`function`?L.resolve(r):r}catch(e){return U(e)}},currentTransaction:{get:function(){return F.trans||null}},waitFor:function(e,t){var n=L.resolve(typeof e==`function`?$.ignoreTransaction(e):e).timeout(t||6e4);return F.trans?F.trans.waitFor(n):n},Promise:L,debug:{get:function(){return D},set:function(e){me(e,e===`dexie`?function(){return!0}:Gt)}},derive:f,extend:a,props:l,override:_,Events:Qt,getByKeyPath:x,setByKeyPath:S,delByKeyPath:te,shallowClone:C,deepClone:w,getObjectDiff:ue,asap:y,minKey:zt,addons:[],connections:Vt,errnames:Te,dependencies:(function(){try{return{indexedDB:i.indexedDB||i.mozIndexedDB||i.webkitIndexedDB||i.msIndexedDB,IDBKeyRange:i.IDBKeyRange||i.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}})(),semVer:Rt,version:Rt.split(`.`).map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/10**(n*2)}),default:$,Dexie:$})),$.maxKey=Sn($.dependencies.IDBKeyRange),ir(pr.dependencies.indexedDB),L.rejectionMapper=Oe,me(D,Gt);export{pr as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/dexie-legacy-MWmb6YS4.js b/editor/neo-ppt/assets/dexie-legacy-MWmb6YS4.js new file mode 100644 index 0000000..467ea76 --- /dev/null +++ b/editor/neo-ppt/assets/dexie-legacy-MWmb6YS4.js @@ -0,0 +1 @@ +System.register([],function(e,t){var n,r,i,o,u,a,s,c,l,f,h,p,d,y,v,m,g,b,_,w,k,x,P,E,O,S,j,A,K,C,I,T,B,D,R,F,q,M,N,U,V,W,z,L,Y,G,H,Q,X,J,$,Z,ee,te,ne,re,ie,oe,ue,ae,se,ce,le,fe,he,pe,de,ye,ve,me,ge,be,_e,we,ke,xe,Pe,Ee,Oe,Se,je,Ae,Ke,Ce,Ie,Te,Be,De;function Re(){for(var e=0,t=0,n=arguments.length;t=0)t=e;else for(var o in t=e.constructor?Object.create(e.constructor.prototype):{},e)qe(e,o)&&(t[o]=Ze(e[o]));return t}function et(e){return y.call(e).slice(8,-1)}function tt(e,t,n,i){return n=n||{},i=i||"",r(e).forEach(function(r){if(qe(t,r)){var o=e[r],u=t[r];if("object"==typeof o&&"object"==typeof u&&o&&u){var a=et(o),s=et(u);a===s?d[a]?v(o,a)!==v(u,s)&&(n[i+r]=t[r]):tt(o,u,n,i+r+"."):n[i+r]=t[r]}else o!==u&&(n[i+r]=t[r])}else n[i+r]=void 0}),r(t).forEach(function(r){qe(e,r)||(n[i+r]=t[r])}),n}function nt(e){var t,n,r,o;if(1===arguments.length){if(i(e))return e.slice();if(this===b&&"string"==typeof e)return[e];if(o=g(e)){for(n=[];!(r=o.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}function rt(e,t){w=e,k=t}function it(){if(x)try{throw new Error}catch(e){return e}return new Error}function ot(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(k).map(function(e){return"\n"+e}).join("")):""}function ut(e,t){this._e=it(),this.name=e,this.message=t}function at(e,t){return e+". Errors: "+Object.keys(t).map(function(e){return t[e].toString()}).filter(function(e,t,n){return n.indexOf(e)===t}).join("\n")}function st(e,t,n,r){this._e=it(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=at(e,t)}function ct(e,t){this._e=it(),this.name="BulkError",this.failures=t,this.message=at(e,t)}function lt(e,t){if(!e||e instanceof ut||e instanceof TypeError||e instanceof SyntaxError||!e.name||!K[e.name])return e;var n=new K[e.name](t||e.message,e);return"stack"in e&&Ne(n,"stack",{get:function(){return this.inner.stack}}),n}function ft(){}function ht(e){return e}function pt(e,t){return null==e||e===ht?t:function(n){return t(e(n))}}function dt(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function yt(e,t){return e===ft?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?dt(r,this.onsuccess):r),i&&(this.onerror=this.onerror?dt(i,this.onerror):i),void 0!==o?o:n}}function vt(e,t){return e===ft?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?dt(n,this.onsuccess):n),r&&(this.onerror=this.onerror?dt(r,this.onerror):r)}}function mt(e,t){return e===ft?t:function(n){var r=e.apply(this,arguments);Fe(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var u=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?dt(i,this.onsuccess):i),o&&(this.onerror=this.onerror?dt(o,this.onerror):o),void 0===r?void 0===u?void 0:u:Fe(r,u)}}function gt(e,t){return e===ft?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function bt(e,t){return e===ft?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}function _t(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ft,this._lib=!1;var t=this._PSD=$;if(w&&(this._stackHolder=it(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==I)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&xt(this,this._value))}this._state=null,this._value=null,++t.ref,kt(this,e)}function wt(e,t,n,r,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=i}function kt(e,t){try{t(function(t){if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&Kt();t&&"function"==typeof t.then?kt(e,function(e,n){t instanceof _t?t._then(e,n):t.then(e,n)}):(e._state=!0,e._value=t,Pt(e)),n&&Ct()}},xt.bind(null,e))}catch(n){xt(e,n)}}function xt(e,t){if(H.push(t),null===e._state){var n=e._lib&&Kt();t=X(t),e._state=!1,e._value=t,w&&null!==t&&"object"==typeof t&&!t._promise&&function(e,t,n){try{e.apply(null,n)}catch(r){t&&t(r)}}(function(){var n=Ve(t,"stack");t._promise=e,Ne(t,"stack",{get:function(){return V?n&&(n.get?n.get.apply(t):n.value):e.stack}})}),function(e){G.some(function(t){return t._value===e._value})||G.push(e)}(e),Pt(e),n&&Ct()}}function Pt(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=Z,Z=[],n=e.length,t=0;t0);L=!0,Y=!0}function It(){var e=G;G=[],e.forEach(function(e){e._PSD.onunhandled.call(null,e._value,e)});for(var t=te.slice(0),n=t.length;n;)t[--n]()}function Tt(e){return new _t(I,!1,e)}function Bt(e,t){var n=$;return function(){var r=Kt(),i=$;try{return Ut(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Ut(i,!1),r&&Ct()}}}function Dt(e,t,n,r){var i=$,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++se;var u=J.env;o.env=U?{Promise:_t,PromiseProp:{value:_t,configurable:!0,writable:!0},all:_t.all,race:_t.race,allSettled:_t.allSettled,any:_t.any,resolve:_t.resolve,reject:_t.reject,nthen:Yt(u.nthen,o),gthen:Yt(u.gthen,o)}:{},t&&Fe(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=Wt(o,e,n,r);return 0===o.ref&&o.finalize(),a}function Rt(){return re.id||(re.id=++ie),++re.awaits,re.echoes+=B,re.id}function Ft(){return!!re.awaits&&(0===--re.awaits&&(re.id=0),re.echoes=re.awaits*B,!0)}function qt(e){return re.echoes&&e&&e.constructor===N?(Rt(),e.then(function(e){return Ft(),e},function(e){return Ft(),le(e)})):e}function Mt(e){++ae,re.echoes&&0!==--re.echoes||(re.echoes=re.id=0),oe.push($),Ut(e,!0)}function Nt(){var e=oe[oe.length-1];oe.pop(),Ut(e,!1)}function Ut(e,t){var n=$;if((t?!re.echoes||ue++&&e===$:!ue||--ue&&e===$)||zt(t?Mt.bind(null,e):Nt),e!==$&&($=e,n===J&&(J.env=Vt()),U)){var r=J.env.Promise,i=e.env;F.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(o,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function Vt(){var e=o.Promise;return U?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(o,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:F.then,gthen:e.prototype.then}:{}}function Wt(e,t,n,r,i){var o=$;try{return Ut(e,!0),t(n,r,i)}finally{Ut(o,!1)}}function zt(e){M.call(R,e)}function Lt(e,t,n,r){return"function"!=typeof e?e:function(){var i=$;n&&Rt(),Ut(t,!0);try{return e.apply(this,arguments)}finally{Ut(i,!1),r&&zt(Ft)}}}function Yt(e,t){return function(n,r){return e.call(this,Lt(n,t),Lt(r,t))}}function Gt(e,t){var n;try{n=t.onuncatched(e)}catch(u){}if(!1!==n)try{var r,i={promise:t,reason:e};if(o.document&&document.createEvent?((r=document.createEvent("Event")).initEvent(ce,!0,!0),Fe(r,i)):o.CustomEvent&&Fe(r=new CustomEvent(ce,{detail:i}),i),r&&o.dispatchEvent&&(dispatchEvent(r),!o.PromiseRejectionEvent&&o.onunhandledrejection))try{o.onunhandledrejection(r)}catch(a){}w&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch(u){}}function Ht(e,t,n,r){if(e._state.openComplete||$.letThrough){var i=e._createTransaction(t,n,e._dbSchema);try{i.create()}catch(o){return le(o)}return i._promise(t,function(e,t){return Dt(function(){return $.trans=i,r(e,t,i)})}).then(function(e){return i._completion.then(function(){return e})})}if(!e._state.isBeingOpened){if(!e._options.autoOpen)return le(new A.DatabaseClosed);e.open().catch(ft)}return e._state.dbReadyPromise.then(function(){return Ht(e,t,n,r)})}function Qt(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}function Xt(e){return function(t){return void 0===He(t,e)&&Xe(t=Ze(t),e),t}}function Jt(e){var t={},n=function(n,r){if(r){for(var i=arguments.length,o=new Array(i-1);--i;)o[i-1]=arguments[i];return t[n].subscribe.apply(null,o),e}if("string"==typeof n)return t[n]};n.addEventType=a;for(var o=1,u=arguments.length;ot?-1:e===t?0:1}function cn(e,t,n){var r=e instanceof Se?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function ln(e){return new e.Collection(e,function(){return dn("")}).limit(0)}function fn(e,t,n,r,i,o){for(var u=Math.min(e.length,r.length),a=-1,s=0;s=0?e.substr(0,a)+t[a]+n.substr(a+1):null;i(e[s],c)<0&&(a=s)}return u0)&&(p=v)}return n(null!==p?function(){e.continue(p+l)}:r),!1}),p}function pn(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function dn(e){return{type:1,lower:e,upper:e}}function yn(e){return 1===e.length?e[0]:e}function vn(e){try{return e.only([[]]),[[]]}catch(t){return he}}function mn(e){return Bt(function(t){return gn(t),e(t.target.error),!1})}function gn(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}function bn(e,t,n,r,i,o,u){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!u?"&":"")+(r?"*":"")+(i?"++":"")+_n(t)}}function _n(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function wn(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:Ge(n,function(e){return[e.name,e]})}}function kn(e){return null==e?function(){}:"string"==typeof e?function(e){return 1===e.split(".").length?function(t){return t[e]}:function(t){return He(t,e)}}(e):function(t){return He(t,e)}}function xn(e,t){return"delete"===t.type?t.keys:t.keys||t.values.map(e.extractKey)}function Pn(e){return[].slice.call(e)}function En(e){return null==e?":id":"string"==typeof e?e:"["+e.join("+")+"]"}function On(e,t,n,r){var o=t.cmp.bind(t);function u(e){if(3===e.type)return null;if(4===e.type)throw new Error("Cannot convert never type to IDBKeyRange");var t=e.lower,r=e.upper,i=e.lowerOpen,o=e.upperOpen;return void 0===t?void 0===r?null:n.upperBound(r,!!o):void 0===r?n.lowerBound(t,!!i):n.bound(t,r,!!i,!!o)}var a=function(e,t){var n=Pn(e.objectStoreNames);return{schema:{name:e.name,tables:n.map(function(e){return t.objectStore(e)}).map(function(e){var t=e.keyPath,n=e.autoIncrement,r=i(t),o=null==t,u={},a={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:o,compound:r,keyPath:t,autoIncrement:n,unique:!0,extractKey:kn(t)},indexes:Pn(e.indexNames).map(function(t){return e.index(t)}).map(function(e){var t=e.name,n=e.unique,r=e.multiEntry,o=e.keyPath,a={name:t,compound:i(o),keyPath:o,unique:n,multiEntry:r,extractKey:kn(o)};return u[En(o)]=a,a}),getIndexByKeyPath:function(e){return u[En(e)]}};return u[":id"]=a.primaryKey,null!=t&&(u[En(t)]=a.primaryKey),a})},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,r),s=a.schema,c=a.hasGetAll,l=s.tables.map(function(e){return function(e){var t=e.name;return{name:t,schema:e,mutate:function(n){var r=n.trans,i=n.type,o=n.keys,a=n.values,s=n.range,c=n.wantResults;return new Promise(function(n,l){n=Bt(n);var f=r.objectStore(t),h=null==f.keyPath,p="put"===i||"add"===i;if(!p&&"delete"!==i&&"deleteRange"!==i)throw new Error("Invalid operation type: "+i);var d=(o||a||{length:1}).length;if(o&&a&&o.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===d)return n({numFailures:0,failures:{},results:[],lastResult:void 0});var y,v=c&&Re(o||xn(e.primaryKey,{type:i,keys:o,values:a})),m=[],g=0,b=function(e){++g,gn(e),v&&(v[e.target._reqno]=void 0),m[e.target._reqno]=e.target.error},_=function(e){var t=e.target;v[t._reqno]=t.result};if("deleteRange"===i){if(4===s.type)return n({numFailures:g,failures:m,results:v,lastResult:void 0});y=3===s.type?f.clear():f.delete(u(s))}else{var w=p?h?[a,o]:[a,null]:[o,null],k=w[0],x=w[1];if(p)for(var P=0;P=t}).forEach(function(u){o.push(function(){var o=a,c=u._cfg.dbschema;Fn(e,o,i),Fn(e,c,i),a=e._dbSchema=c;var l=Tn(o,c);l.add.forEach(function(e){Bn(i,e[0],e[1].primKey,e[1].indexes)}),l.change.forEach(function(e){if(e.recreate)throw new A.Upgrade("Not yet support for changing primary key");var t=i.objectStore(e.name);e.add.forEach(function(e){return Dn(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),Dn(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var f=u._cfg.contentUpgrade;if(f&&u._cfg.version>t){jn(e,i),n._memoizedTables={},s=!0;var h=Je(c);l.del.forEach(function(e){h[e]=o[e]}),Kn(e,[e.Transaction.prototype]),An(e,[e.Transaction.prototype],r(h),h),n.schema=h;var p,d=_(f);d&&Rt();var y=_t.follow(function(){if((p=f(n))&&d){var e=Ft.bind(null,null);p.then(e,e)}});return p&&"function"==typeof p.then?_t.resolve(p):y.then(function(){return p})}}),o.push(function(t){s&&ge||function(e,t){for(var n=0;n0||u.add.length>0||u.change.length>0)&&r.change.push(u)}}else r.add.push([n,o])}return r}function Bn(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(e){return Dn(i,e)}),i}function Dn(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function Rn(e,t,n){var r={};return We(t.objectStoreNames,0).forEach(function(e){for(var t=n.objectStore(e),i=t.keyPath,o=bn(_n(i),i||"",!1,!1,!!t.autoIncrement,i&&"string"!=typeof i,!0),u=[],a=0;aMath.pow(2,62)?0:r.oldVersion;e.idbdb=s.result,In(e,c/10,o,u)}},u),s.onsuccess=Bt(function(){o=null;var n=e.idbdb=s.result,u=We(n.objectStoreNames);if(u.length>0)try{var c=n.transaction(yn(u),"readonly");t.autoSchema?function(e,t,n){e.verno=t.version/10;var i=e._dbSchema=Rn(0,t,n);e._storeNames=We(t.objectStoreNames,0),An(e,[e._allTables],r(i),i)}(e,n,c):(Fn(e,e._dbSchema,c),function(e,t){var n=Tn(Rn(0,e.idbdb,t),e._dbSchema);return!(n.add.length||n.change.some(function(e){return e.add.length||e.change.length}))}(e,c)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),jn(e,c)}catch(l){}ve.push(e),n.onversionchange=Bt(function(n){t.vcFired=!0,e.on("versionchange").fire(n)}),Ce.add(a),i()},u)})]).then(function(){return t.onReadyBeingFired=[],_t.resolve(Mn(e.on.ready.fire)).then(function e(){if(t.onReadyBeingFired.length>0){var n=t.onReadyBeingFired.reduce(bt,ft);return t.onReadyBeingFired=[],_t.resolve(Mn(n)).then(e)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(n){try{o&&o.abort()}catch(r){}return t.isBeingOpened=!1,e.close(),t.dbOpenError=n,le(t.dbOpenError)}).finally(function(){t.openComplete=!0,i()})}function Un(e){var t=function(t){return e.next(t)},n=o(t),r=o(function(t){return e.throw(t)});function o(e){return function(t){var o=e(t),u=o.value;return o.done?u:u&&"function"==typeof u.then?u.then(n,r):i(u)?Promise.all(u).then(n,r):n(u)}}return o(t)()}function Vn(e,t,n){var r=arguments.length;if(r<2)throw new A.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];return n=i.pop(),[e,$e(i),n]}function Wn(e,t,n,r,i){return _t.resolve().then(function(){var o=$.transless||$,u=e._createTransaction(t,n,e._dbSchema,r),a={trans:u,transless:o};r?u.idbtrans=r.idbtrans:u.create();var s,c=_(i);c&&Rt();var l=_t.follow(function(){if(s=i.call(u,u))if(c){var e=Ft.bind(null,null);s.then(e,e)}else"function"==typeof s.next&&"function"==typeof s.throw&&(s=Un(s))},a);return(s&&"function"==typeof s.then?_t.resolve(s).then(function(e){return u.active?e:le(new A.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):l.then(function(){return s})).then(function(e){return r&&u._resolve(),u._completion.then(function(){return e})}).catch(function(e){return u._reject(e),le(e)})})}function zn(e,t,n){for(var r=i(e)?e.slice():[e],o=0;o0,f=n(n({},r),{isVirtual:l,isPrimaryKey:!l&&r.isPrimaryKey,keyTail:t,keyLength:c,extractKey:kn(e),unique:!l&&r.unique});return s.push(f),f.isPrimaryKey||u.push(f),c>1&&a(2===c?e[0]:e.slice(0,c-1),t+1,r),s.sort(function(e,t){return e.keyTail-t.keyTail}),f}var s=a(i.primaryKey.keyPath,0,i.primaryKey);o[":id"]=[s];for(var c=0,l=i.indexes;c.",ye="String expected.",ve=[],me="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),ge=me,be=me,_e=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},we="__dbnames",ke="readonly",xe="readwrite",Pe={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1},Ee=function(){function e(){}return e.prototype._trans=function(e,t,n){var r=this._tx||$.trans,i=this.name;function o(e,n,r){if(!r.schema[i])throw new A.NotFound("Table "+i+" not part of transaction");return t(r.idbtrans,r)}var u=Kt();try{return r&&r.db===this.db?r===$.trans?r._promise(e,o,n):Dt(function(){return r._promise(e,o,n)},{trans:r,transless:$.transless||$}):Ht(this.db,e,[this.name],o)}finally{u&&Ct()}},e.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",function(t){return n.core.get({trans:t,key:e}).then(function(e){return n.hook.reading.fire(e)})}).then(t)},e.prototype.where=function(e){if("string"==typeof e)return new this.db.WhereClause(this,e);if(i(e))return new this.db.WhereClause(this,"["+e.join("+")+"]");var t=r(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter(function(e){return e.compound&&t.every(function(t){return e.keyPath.indexOf(t)>=0})&&e.keyPath.every(function(e){return t.indexOf(e)>=0})})[0];if(n&&this.db._maxKey!==he)return this.where(n.name).equals(n.keyPath.map(function(t){return e[t]}));!n&&w&&console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a compound index ["+t.join("+")+"]");var o=this.schema.idxByName,u=this.db._deps.indexedDB;function a(e,t){try{return 0===u.cmp(e,t)}catch(n){return!1}}var s=t.reduce(function(t,n){var r=t[0],u=t[1],s=o[n],c=e[n];return[r||s,r||!s?Qt(u,s&&s.multi?function(e){var t=He(e,n);return i(t)&&t.some(function(e){return a(c,e)})}:function(e){return a(c,He(e,n))}):u]},[null,null]),c=s[0],l=s[1];return c?this.where(c.name).equals(e[c.keyPath]).filter(l):n?this.filter(l):this.where(t).equals("")},e.prototype.filter=function(e){return this.toCollection().and(e)},e.prototype.count=function(e){return this.toCollection().count(e)},e.prototype.offset=function(e){return this.toCollection().offset(e)},e.prototype.limit=function(e){return this.toCollection().limit(e)},e.prototype.each=function(e){return this.toCollection().each(e)},e.prototype.toArray=function(e){return this.toCollection().toArray(e)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,i(e)?"["+e.join("+")+"]":e))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(e){this.schema.mappedClass=e;var t=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(qe(t,r))try{n[r]=t[r]}catch(i){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook("reading",t),e},e.prototype.defineClass=function(){return this.mapToClass(function(e){Fe(this,e)})},e.prototype.add=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,u=e;return o&&i&&(u=Xt(o)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[u]})}).then(function(e){return e.numFailures?_t.reject(e.failures[0]):e.lastResult}).then(function(t){if(o)try{Qe(e,o,t)}catch(n){}return t})},e.prototype.update=function(e,t){if("object"!=typeof t||i(t))throw new A.InvalidArgument("Modifications must be an object.");if("object"!=typeof e||i(e))return this.where(":id").equals(e).modify(t);r(t).forEach(function(n){Qe(e,n,t[n])});var n=He(e,this.schema.primKey.keyPath);return void 0===n?le(new A.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(n).modify(t)},e.prototype.put=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,u=e;return o&&i&&(u=Xt(o)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"put",values:[u],keys:null!=t?[t]:null})}).then(function(e){return e.numFailures?_t.reject(e.failures[0]):e.lastResult}).then(function(t){if(o)try{Qe(e,o,t)}catch(n){}return t})},e.prototype.delete=function(e){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})}).then(function(e){return e.numFailures?_t.reject(e.failures[0]):void 0})},e.prototype.clear=function(){var e=this;return this._trans("readwrite",function(t){return e.core.mutate({trans:t,type:"deleteRange",range:Pe})}).then(function(e){return e.numFailures?_t.reject(e.failures[0]):void 0})},e.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",function(n){return t.core.getMany({keys:e,trans:n}).then(function(e){return e.map(function(e){return t.hook.reading.fire(e)})})})},e.prototype.bulkAdd=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0,o=(n=n||(i?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=r.schema.primKey,u=n.auto,a=n.keyPath;if(a&&i)throw new A.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==e.length)throw new A.InvalidArgument("Arguments objects and keys must have the same length");var s=e.length,c=a&&u?e.map(Xt(a)):e;return r.core.mutate({trans:t,type:"add",keys:i,values:c,wantResults:o}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,u=e.failures;if(0===t)return o?n:i;throw new ct(r.name+".bulkAdd(): "+t+" of "+s+" operations failed",Object.keys(u).map(function(e){return u[e]}))})})},e.prototype.bulkPut=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0,o=(n=n||(i?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=r.schema.primKey,u=n.auto,a=n.keyPath;if(a&&i)throw new A.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==e.length)throw new A.InvalidArgument("Arguments objects and keys must have the same length");var s=e.length,c=a&&u?e.map(Xt(a)):e;return r.core.mutate({trans:t,type:"put",keys:i,values:c,wantResults:o}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,u=e.failures;if(0===t)return o?n:i;throw new ct(r.name+".bulkPut(): "+t+" of "+s+" operations failed",Object.keys(u).map(function(e){return u[e]}))})})},e.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:e})}).then(function(e){var r=e.numFailures,i=e.lastResult,o=e.failures;if(0===r)return i;throw new ct(t.name+".bulkDelete(): "+r+" of "+n+" operations failed",o)})},e}(),Oe=function(){function e(){}return e.prototype._read=function(e,t){var n=this._ctx;return n.error?n.table._trans(null,le.bind(null,n.error)):n.table._trans("readonly",e).then(t)},e.prototype._write=function(e){var t=this._ctx;return t.error?t.table._trans(null,le.bind(null,t.error)):t.table._trans("readwrite",e,"locked")},e.prototype._addAlgorithm=function(e){var t=this._ctx;t.algorithm=Qt(t.algorithm,e)},e.prototype._iterate=function(e,t){return on(this._ctx,e,t,this._ctx.table.core)},e.prototype.clone=function(e){var t=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return e&&Fe(n,e),t._ctx=n,t},e.prototype.raw=function(){return this._ctx.valueMapper=null,this},e.prototype.each=function(e){var t=this._ctx;return this._read(function(n){return on(t,e,n,t.table.core)})},e.prototype.count=function(e){var t=this;return this._read(function(e){var n=t._ctx,r=n.table.core;if(Zt(n,!0))return r.count({trans:e,query:{index:nn(n,r.schema),range:n.range}}).then(function(e){return Math.min(e,n.limit)});var i=0;return on(n,function(){return++i,!1},e,r).then(function(){return i})}).then(e)},e.prototype.sortBy=function(e,t){var n=e.split(".").reverse(),r=n[0],i=n.length-1;function o(e,t){return t?o(e[n[t]],t-1):e[r]}var u="next"===this._ctx.dir?1:-1;function a(e,t){var n=o(e,i),r=o(t,i);return nr?u:0}return this.toArray(function(e){return e.sort(a)}).then(t)},e.prototype.toArray=function(e){var t=this;return this._read(function(e){var n=t._ctx;if("next"===n.dir&&Zt(n,!0)&&n.limit>0){var r=n.valueMapper,i=nn(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:i,range:n.range}}).then(function(e){var t=e.result;return r?t.map(r):t})}var o=[];return on(n,function(e){return o.push(e)},e,n.table.core).then(function(){return o})},e)},e.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,Zt(t)?tn(t,function(){var t=e;return function(e,n){return 0===t||(1===t?(--t,!1):(n(function(){e.advance(t),t=0}),!1))}}):tn(t,function(){var t=e;return function(){return--t<0}})),this},e.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),tn(this._ctx,function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}},!0),this},e.prototype.until=function(e,t){return en(this._ctx,function(n,r,i){return!e(n.value)||(r(i),t)}),this},e.prototype.first=function(e){return this.limit(1).toArray(function(e){return e[0]}).then(e)},e.prototype.last=function(e){return this.reverse().first(e)},e.prototype.filter=function(e){var t,n;return en(this._ctx,function(t){return e(t.value)}),t=this._ctx,n=e,t.isMatch=Qt(t.isMatch,n),this},e.prototype.and=function(e){return this.filter(e)},e.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},e.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.key,n)})},e.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},e.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.primaryKey,n)})},e.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.key)}).then(function(){return n}).then(e)},e.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&Zt(t,!0)&&t.limit>0)return this._read(function(e){var n=nn(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})}).then(function(e){return e.result}).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.primaryKey)}).then(function(){return n}).then(e)},e.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},e.prototype.firstKey=function(e){return this.limit(1).keys(function(e){return e[0]}).then(e)},e.prototype.lastKey=function(e){return this.reverse().firstKey(e)},e.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return en(this._ctx,function(e){var t=e.primaryKey.toString(),r=qe(n,t);return n[t]=!0,!r}),this},e.prototype.modify=function(e){var t=this,n=this._ctx;return this._write(function(i){var o;if("function"==typeof e)o=e;else{var u=r(e),a=u.length;o=function(t){for(var n=!1,r=0;r0&&s.mutate({trans:i,type:"add",values:a}).then(function(e){for(var t in e.failures)y.splice(parseInt(t),1);m(a.length,e)})).then(function(e){return c.length>0&&s.mutate({trans:i,type:"put",keys:d,values:c}).then(function(e){return m(c.length,e)})}).then(function(){return y.length>0&&s.mutate({trans:i,type:"delete",keys:y}).then(function(e){return m(y.length,e)})}).then(function(){return e.length>n+r&&t(n+h)})})};return t(0).then(function(){if(d.length>0)throw new st("Error modifying one or more objects",d,y,v);return e.length})})})},e.prototype.delete=function(){var e=this._ctx,t=e.range;return Zt(e)&&(e.isPrimKey&&!be||3===t.type)?this._write(function(n){var r=e.table.core.schema.primaryKey,i=t;return e.table.core.count({trans:n,query:{index:r,range:i}}).then(function(t){return e.table.core.mutate({trans:n,type:"deleteRange",range:i}).then(function(e){var n=e.failures;e.lastResult,e.results;var r=e.numFailures;if(r)throw new st("Could not delete some values",Object.keys(n).map(function(e){return n[e]}),t-r);return t-r})})}):this.modify(function(e,t){return t.value=null})},e}(),Se=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(e,t,n,r){n=!1!==n,r=!0===r;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&(!n||!r)?ln(this):new this.Collection(this,function(){return pn(e,t,!n,!r)})}catch(i){return cn(this,de)}},e.prototype.equals=function(e){return null==e?cn(this,de):new this.Collection(this,function(){return dn(e)})},e.prototype.above=function(e){return null==e?cn(this,de):new this.Collection(this,function(){return pn(e,void 0,!0)})},e.prototype.aboveOrEqual=function(e){return null==e?cn(this,de):new this.Collection(this,function(){return pn(e,void 0,!1)})},e.prototype.below=function(e){return null==e?cn(this,de):new this.Collection(this,function(){return pn(void 0,e,!1,!0)})},e.prototype.belowOrEqual=function(e){return null==e?cn(this,de):new this.Collection(this,function(){return pn(void 0,e)})},e.prototype.startsWith=function(e){return"string"!=typeof e?cn(this,ye):this.between(e,e+he,!0,!0)},e.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):hn(this,function(e,t){return 0===e.indexOf(t[0])},[e],he)},e.prototype.equalsIgnoreCase=function(e){return hn(this,function(e,t){return e===t[0]},[e],"")},e.prototype.anyOfIgnoreCase=function(){var e=nt.apply(b,arguments);return 0===e.length?ln(this):hn(this,function(e,t){return-1!==t.indexOf(e)},e,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var e=nt.apply(b,arguments);return 0===e.length?ln(this):hn(this,function(e,t){return t.some(function(t){return 0===e.indexOf(t)})},e,he)},e.prototype.anyOf=function(){var e=this,t=nt.apply(b,arguments),n=this._cmp;try{t.sort(n)}catch(o){return cn(this,de)}if(0===t.length)return ln(this);var r=new this.Collection(this,function(){return pn(t[0],t[t.length-1])});r._ondirectionchange=function(r){n="next"===r?e._ascending:e._descending,t.sort(n)};var i=0;return r._addAlgorithm(function(e,r,o){for(var u=e.key;n(u,t[i])>0;)if(++i===t.length)return r(o),!1;return 0===n(u,t[i])||(r(function(){e.continue(t[i])}),!1)}),r},e.prototype.notEqual=function(e){return this.inAnyRange([[pe,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var e=nt.apply(b,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(n){return cn(this,de)}var t=e.reduce(function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[pe,t]]},null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(e,t){var n=this,r=this._cmp,i=this._ascending,o=this._descending,u=this._min,a=this._max;if(0===e.length)return ln(this);if(!e.every(function(e){return void 0!==e[0]&&void 0!==e[1]&&i(e[0],e[1])<=0}))return cn(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",A.InvalidArgument);var s,c=!t||!1!==t.includeLowers,l=t&&!0===t.includeUppers,f=i;function h(e,t){return f(e[0],t[0])}try{s=e.reduce(function(e,t){for(var n=0,i=e.length;n0){o[0]=u(o[0],t[0]),o[1]=a(o[1],t[1]);break}}return n===i&&e.push(t),e},[]),s.sort(h)}catch(g){return cn(this,de)}var p=0,d=l?function(e){return i(e,s[p][1])>0}:function(e){return i(e,s[p][1])>=0},y=c?function(e){return o(e,s[p][0])>0}:function(e){return o(e,s[p][0])>=0},v=d,m=new this.Collection(this,function(){return pn(s[0][0],s[s.length-1][1],!c,!l)});return m._ondirectionchange=function(e){"next"===e?(v=d,f=i):(v=y,f=o),s.sort(h)},m._addAlgorithm(function(e,t,r){for(var o=e.key;v(o);)if(++p===s.length)return t(r),!1;return!!function(e){return!d(e)&&!y(e)}(o)||(0===n._cmp(o,s[p][1])||0===n._cmp(o,s[p][0])||t(function(){f===i?e.continue(s[p][0]):e.continue(s[p][1])}),!1)}),m},e.prototype.startsWithAnyOf=function(){var e=nt.apply(b,arguments);return e.every(function(e){return"string"==typeof e})?0===e.length?ln(this):this.inAnyRange(e.map(function(e){return[e,e+he]})):cn(this,"startsWithAnyOf() only works with strings")},e}(),je=function(){function e(){}return e.prototype._lock=function(){return Le(!$.global),++this._reculock,1!==this._reculock||$.global||($.lockOwnerFor=this),this},e.prototype._unlock=function(){if(Le(!$.global),0===--this._reculock)for($.global||($.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{Wt(e[1],e[0])}catch(t){}}return this},e.prototype._locked=function(){return this._reculock&&$.lockOwnerFor!==this},e.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(Le(!this.idbtrans),!e&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new A.DatabaseClosed(r);case"MissingAPIError":throw new A.MissingAPI(r.message,r);default:throw new A.OpenFailed(r)}if(!this.active)throw new A.TransactionInactive;return Le(null===this._completion._state),(e=this.idbtrans=e||n.transaction(yn(this.storeNames),this.mode)).onerror=Bt(function(n){gn(n),t._reject(e.error)}),e.onabort=Bt(function(n){gn(n),t.active&&t._reject(new A.Abort(e.error)),t.active=!1,t.on("abort").fire(n)}),e.oncomplete=Bt(function(){t.active=!1,t._resolve()}),this},e.prototype._promise=function(e,t,n){var r=this;if("readwrite"===e&&"readwrite"!==this.mode)return le(new A.ReadOnly("Transaction is readonly"));if(!this.active)return le(new A.TransactionInactive);if(this._locked())return new _t(function(i,o){r._blockedFuncs.push([function(){r._promise(e,t,n).then(i,o)},$])});if(n)return Dt(function(){var e=new _t(function(e,n){r._lock();var i=t(e,n,r);i&&i.then&&i.then(e,n)});return e.finally(function(){return r._unlock()}),e._lib=!0,e});var i=new _t(function(e,n){var i=t(e,n,r);i&&i.then&&i.then(e,n)});return i._lib=!0,i},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(e){var t=this._root(),n=_t.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then(function(){return n});else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var i=t._waitingFor;return new _t(function(e,r){n.then(function(n){return t._waitingQueue.push(Bt(e.bind(null,n)))},function(e){return t._waitingQueue.push(Bt(r.bind(null,e)))}).finally(function(){t._waitingFor===i&&(t._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new A.Abort),this.active=!1},e.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(qe(t,e))return t[e];var n=this.schema[e];if(!n)throw new A.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},e}(),Ae=0,Ke=function(){function e(){}return e.prototype._parseStoresSpec=function(e,t){r(e).forEach(function(n){if(null!==e[n]){var r=e[n].split(",").map(function(e,t){var n=(e=e.trim()).replace(/([&*]|\+\+)/g,""),r=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return bn(n,r||null,/\&/.test(e),/\*/.test(e),/\+\+/.test(e),i(r),0===t)}),o=r.shift();if(o.multi)throw new A.Schema("Primary key cannot be multi-valued");r.forEach(function(e){if(e.auto)throw new A.Schema("Only primary key can be marked as autoIncrement (++)");if(!e.keyPath)throw new A.Schema("Index must have a name and cannot be an empty string")}),t[n]=wn(n,o,r)}})},e.prototype.stores=function(e){var t=this.db;this._cfg.storesSource=this._cfg.storesSource?Fe(this._cfg.storesSource,e):e;var n=t._versions,i={},o={};return n.forEach(function(e){Fe(i,e._cfg.storesSource),o=e._cfg.dbschema={},e._parseStoresSpec(i,o)}),t._dbSchema=o,Kn(t,[t._allTables,t,t.Transaction.prototype]),An(t,[t._allTables,t,t.Transaction.prototype,this._cfg.tables],r(o),o),t._storeNames=r(o),this},e.prototype.upgrade=function(e){return this._cfg.contentUpgrade=e,this},e}(),Ie={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:Ln},Te={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return n(n({},e),{table:function(t){var r=e.table(t),i=r.schema.primaryKey;return n(n({},r),{mutate:function(e){var o=$.trans,u=o.table(t).hook,a=u.deleting,s=u.creating,c=u.updating;switch(e.type){case"add":if(s.fire===ft)break;return o._promise("readwrite",function(){return l(e)},!0);case"put":if(s.fire===ft&&c.fire===ft)break;return o._promise("readwrite",function(){return l(e)},!0);case"delete":if(a.fire===ft)break;return o._promise("readwrite",function(){return l(e)},!0);case"deleteRange":if(a.fire===ft)break;return o._promise("readwrite",function(){return function(e){return f(e.trans,e.range,1e4)}(e)},!0)}return r.mutate(e);function l(e){var t=$.trans,o=e.keys||xn(i,e);if(!o)throw new Error("Keys missing");return"delete"!==(e="add"===e.type||"put"===e.type?n(n({},e),{keys:o,wantResults:!0}):n({},e)).type&&(e.values=Re(e.values)),e.keys&&(e.keys=Re(e.keys)),function(e,t,n){return"add"===t.type?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}(r,e,o).then(function(n){var u=o.map(function(r,o){var u=n[o],l={onerror:null,onsuccess:null};if("delete"===e.type)a.fire.call(l,r,u,t);else if("add"===e.type||void 0===u){var f=s.fire.call(l,r,e.values[o],t);null==r&&null!=f&&(r=f,e.keys[o]=r,i.outbound||Qe(e.values[o],i.keyPath,r))}else{var h=tt(u,e.values[o]),p=c.fire.call(l,h,r,u,t);if(p){var d=e.values[o];Object.keys(p).forEach(function(e){qe(d,e)?d[e]=p[e]:Qe(d,e,p[e])})}}return l});return r.mutate(e).then(function(t){for(var r=t.failures,i=t.results,a=t.numFailures,s=t.lastResult,c=0;c0?Promise.reject(r.failures[0]):i.length0?e:t},this._min=function(e,t){return i.cmp(e,t)<0?e:t},this._IDBKeyRange=e._deps.IDBKeyRange})}(this),this.on("versionchange",function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '"+i.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+i.name+"'. Closing db now to resume the delete request."),i.close()}),this.on("blocked",function(e){!e.newVersion||e.newVersion=0&&ve.splice(e,1),this.idbdb){try{this.idbdb.close()}catch(n){}this.idbdb=null}this._options.autoOpen=!1,t.dbOpenError=new A.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError),t.dbReadyPromise=new _t(function(e){t.dbReadyResolve=e}),t.openCanceller=new _t(function(e,n){t.cancelOpen=n})},e.prototype.delete=function(){var e=this,t=arguments.length>0,n=this._state;return new _t(function(r,i){var o=function(){e.close();var t=e._deps.indexedDB.deleteDatabase(e.name);t.onsuccess=Bt(function(){Ce.remove(e.name),r()}),t.onerror=mn(i),t.onblocked=e._fireOnBlocked};if(t)throw new A.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(o):o()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return r(this._allTables).map(function(t){return e._allTables[t]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var e=Vn.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var r=this,i=$.trans;i&&i.db===this&&-1===e.indexOf("!")||(i=null);var o,u,a=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(u=t.map(function(e){var t=e instanceof r.Table?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t}),"r"==e||e===ke)o=ke;else{if("rw"!=e&&e!=xe)throw new A.InvalidArgument("Invalid transaction mode: "+e);o=xe}if(i){if(i.mode===ke&&o===xe){if(!a)throw new A.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i=null}i&&u.forEach(function(e){if(i&&-1===i.storeNames.indexOf(e)){if(!a)throw new A.SubTransaction("Table "+e+" not included in parent transaction.");i=null}}),a&&i&&!i.active&&(i=null)}}catch(c){return i?i._promise(null,function(e,t){t(c)}):le(c)}var s=Wn.bind(null,this,o,u,i,n);return i?i._promise(o,s,"lock"):$.trans?Wt($.transless,function(){return r._whenReady(s)}):this._whenReady(s)},e.prototype.table=function(e){if(!qe(this._allTables,e))throw new A.InvalidTable("Table "+e+" does not exist");return this._allTables[e]},e}()),Me(De=Be,n(n({},C),{delete:function(e){return new De(e).delete()},exists:function(e){return new De(e,{addons:[]}).open().then(function(e){return e.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return Ce?Ce.getDatabaseNames().then(e):_t.resolve([])},defineClass:function(){return function(e){Fe(this,e)}},ignoreTransaction:function(e){return $.trans?Wt($.transless,e):e()},vip:Mn,async:function(e){return function(){try{var t=Un(e.apply(this,arguments));return t&&"function"==typeof t.then?t:_t.resolve(t)}catch(n){return le(n)}}},spawn:function(e,t,n){try{var r=Un(e.apply(n,t||[]));return r&&"function"==typeof r.then?r:_t.resolve(r)}catch(i){return le(i)}},currentTransaction:{get:function(){return $.trans||null}},waitFor:function(e,t){var n=_t.resolve("function"==typeof e?De.ignoreTransaction(e):e).timeout(t||6e4);return $.trans?$.trans.waitFor(n):n},Promise:_t,debug:{get:function(){return w},set:function(e){rt(e,"dexie"===e?function(){return!0}:_e)}},derive:Ue,extend:Fe,props:Me,override:ze,Events:Jt,getByKeyPath:He,setByKeyPath:Qe,delByKeyPath:Xe,shallowClone:Je,deepClone:Ze,getObjectDiff:tt,asap:Ye,minKey:pe,addons:[],connections:ve,errnames:S,dependencies:function(){try{return{indexedDB:o.indexedDB||o.mozIndexedDB||o.webkitIndexedDB||o.msIndexedDB,IDBKeyRange:o.IDBKeyRange||o.webkitIDBKeyRange}}catch(e){return{indexedDB:null,IDBKeyRange:null}}}(),semVer:fe,version:fe.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,2*n)}),default:De,Dexie:De})),De.maxKey=vn(De.dependencies.IDBKeyRange),qn(Be.dependencies.indexedDB),_t.rejectionMapper=lt,rt(w,_e)}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/dom-CWEl93tC.js b/editor/neo-ppt/assets/dom-CWEl93tC.js new file mode 100644 index 0000000..14af1ac --- /dev/null +++ b/editor/neo-ppt/assets/dom-CWEl93tC.js @@ -0,0 +1 @@ +import{$ as e,At as t,B as n,G as r,H as i,K as a,Mt as o,Nt as s,Tt as c,V as l,W as u,Y as d,Z as f,bt as p,ct as m,dt as h,j as g,ut as _,vt as v,xt as y}from"./vue-B11_pI9F.js";import{t as b}from"./_plugin-vue_export-helper-B67ILkmu.js";var x=b(f({__name:`Tooltip`,props:{content:{},placement:{}},setup(e){let r=e,o=i(()=>r.content?.split(`\\n`)??[]);return(r,i)=>(m(),a(`div`,{class:t([`kimi-tooltip`,`tooltip-${e.placement}`])},[h(r.$slots,`default`,{},()=>[(m(!0),a(n,null,_(o.value,e=>(m(),a(`div`,{key:e},s(e),1))),128))],!0)],2))}}),[[`__scopeId`,`data-v-6a3a8090`]]),S=b(f({__name:`LazyTooltip`,props:{content:{},placement:{},show:{type:Boolean},style:{}},setup(e){return(t,n)=>(m(),u(g,{name:`fade`},{default:p(()=>[e.show?(m(),u(l,{key:0,to:`body`},[d(x,{style:o({zIndex:`20`,...e.style}),content:e.content,placement:e.placement},{default:p(()=>[h(t.$slots,`default`,{},void 0,!0)]),_:3},8,[`style`,`content`,`placement`])])):r(``,!0)]),_:3}))}}),[[`__scopeId`,`data-v-4166fe69`]]),C=(e,t,n)=>({mounted(r){r.tooltipMouseenter=()=>{e.value=!0;let i=r.getBoundingClientRect(),a=`${n.includes(`left`)||n.includes(`right`)?i.width/2:20}px`;n===`top`?t.value={top:`${i.top}px`,left:`${i.left}px`,transform:`translate(-50%, -100%)`,marginLeft:`${i.width/2}px`,marginTop:`-8px`}:n===`bottom`?t.value={top:`${i.bottom}px`,left:`${i.left}px`,transform:`translate(-50%, 0)`,marginLeft:`${i.width/2}px`,marginTop:`8px`}:n===`left`?t.value={top:`${i.top}px`,left:`${i.left}px`,transform:`translate(-100%, -50%)`,marginLeft:`-8px`,marginTop:`${i.height/2}px`}:n===`right`?t.value={top:`${i.top}px`,left:`${i.right}px`,transform:`translate(0, -50%)`,marginLeft:`8px`,marginTop:`${i.height/2}px`}:n===`top-left`?t.value={top:`${i.top}px`,left:`${i.left}px`,transform:`translate(0, -100%)`,marginTop:`-8px`,"--tooltip-arrow-offset":a}:n===`top-right`?t.value={top:`${i.top}px`,left:`${i.left}px`,transform:`translate(-100%, -100%)`,marginLeft:`${i.width}px`,marginTop:`-8px`,"--tooltip-arrow-offset":a}:n===`bottom-left`?t.value={top:`${i.bottom}px`,left:`${i.left}px`,transform:`translate(0, 0)`,marginTop:`8px`,"--tooltip-arrow-offset":a}:n===`bottom-right`&&(t.value={top:`${i.bottom}px`,left:`${i.right}px`,transform:`translate(-100%, 0)`,marginTop:`8px`,"--tooltip-arrow-offset":a}),t.value.zIndex=`1000`},r.tooltipMouseleave=()=>{e.value=!1},r.addEventListener(`mouseenter`,r.tooltipMouseenter),r.addEventListener(`mouseleave`,r.tooltipMouseleave)},beforeUnmount(e){e.removeEventListener(`mouseenter`,e.tooltipMouseenter),e.removeEventListener(`mouseleave`,e.tooltipMouseleave)}}),w=f({name:`WithTooltip`,props:{content:String,placement:{type:String,default:`top`},disabled:{type:Boolean,default:!1},style:{type:Object,default:()=>({})}},setup(t,{slots:n}){let r=c(!1),i=c({});return v(()=>t.disabled,e=>{e&&(r.value=!1)},{immediate:!0}),()=>{let a=n.trigger?.()?.[0];return a?t.disabled?a:[y(a,[[C(r,i,t.placement)]]),e(S,{show:r.value,content:t.content,placement:t.placement,style:{position:`fixed`,...i.value,...t.style}})]:null}}});function T(e,t){if(!e||!t)return!1;let n=e.offsetTop,r=n+e.offsetHeight,i=t.scrollTop,a=i+t.clientHeight;return n>=i&&r<=a}function E(e,t){e&&(t?.scrollBox&&T(e,t.scrollBox)||e.scrollIntoView({behavior:t?.behavior??`smooth`,block:t?.pos??`center`}))}function D(e){let t=document.createElement(`iframe`);return t.hidden=!0,e&&(t.src=e),document.body.appendChild(t),t}export{D as n,w as r,E as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/dom-legacy-D-syBzLK.js b/editor/neo-ppt/assets/dom-legacy-D-syBzLK.js new file mode 100644 index 0000000..686f2a7 --- /dev/null +++ b/editor/neo-ppt/assets/dom-legacy-D-syBzLK.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js"],function(t,e){var o,a,l,r,i,n,p,s,f,m,d,c,u,v,g,x,h,b,w,k,y,$,T,L,_,M;return t({n:function(t){const e=document.createElement("iframe");return e.hidden=!0,t&&(e.src=t),document.body.appendChild(e),e},t:function(t,e){t&&(e?.scrollBox&&function(t,e){if(!t||!e)return!1;const o=t.offsetTop,a=o+t.offsetHeight,l=e.scrollTop,r=l+e.clientHeight;return o>=l&&a<=r}(t,e.scrollBox)||t.scrollIntoView({behavior:e?.behavior??"smooth",block:e?.pos??"center"}))}}),{setters:[function(t){o=t.$,a=t.At,l=t.B,r=t.G,i=t.H,n=t.K,p=t.Mt,s=t.Nt,f=t.Tt,m=t.V,d=t.W,c=t.Y,u=t.Z,v=t.bt,g=t.ct,x=t.dt,h=t.j,b=t.ut,w=t.vt,k=t.xt},function(t){y=t.t}],execute:function(){($=document.createElement("style")).textContent=".kimi-tooltip[data-v-6a3a8090]{white-space:pre;user-select:none;background-color:var(--MaskBg-ToastPC);min-width:fit-content;color:var(--Always-White);border-radius:8px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px;display:inline-block;position:relative}.kimi-tooltip[data-v-6a3a8090]:before{content:\"\";background-color:var(--MaskBg-ToastPC);width:10px;height:4px;display:block;position:absolute;-webkit-mask-image:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='4'%20fill='black'%3e%3cpath%20d='M10%200H0l4.3753%203.5002a1%201%200%200%200%201.2494%200L10%200Z'/%3e%3c/svg%3e\");mask-image:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='4'%20fill='black'%3e%3cpath%20d='M10%200H0l4.3753%203.5002a1%201%200%200%200%201.2494%200L10%200Z'/%3e%3c/svg%3e\");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:10px 4px;mask-size:10px 4px;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.kimi-tooltip.tooltip-top[data-v-6a3a8090]:before{top:100%;left:50%;transform:translate(-50%)}.kimi-tooltip.tooltip-bottom[data-v-6a3a8090]:before{bottom:100%;left:50%;transform:translate(-50%)rotate(180deg)}.kimi-tooltip.tooltip-left[data-v-6a3a8090]:before{transform-origin:0 0;top:calc(50% + 4px);left:100%;transform:rotate(-90deg)}.kimi-tooltip.tooltip-right[data-v-6a3a8090]:before{transform-origin:0 0;top:calc(50% - 4px);left:0;transform:rotate(90deg)}.kimi-tooltip.tooltip-top-left[data-v-6a3a8090]:before{top:100%;left:var(--tooltip-arrow-offset,20px);transform:translate(-50%)}.kimi-tooltip.tooltip-top-right[data-v-6a3a8090]:before{top:100%;right:var(--tooltip-arrow-offset,20px);transform:translate(50%)}.kimi-tooltip.tooltip-bottom-left[data-v-6a3a8090]:before{bottom:100%;left:var(--tooltip-arrow-offset,20px);transform:translate(-50%)rotate(180deg)}.kimi-tooltip.tooltip-bottom-right[data-v-6a3a8090]:before{bottom:100%;right:var(--tooltip-arrow-offset,20px);transform:translate(50%)rotate(180deg)}.fade-enter-active[data-v-4166fe69],.fade-leave-active[data-v-4166fe69]{transition:opacity .3s}.fade-enter-from[data-v-4166fe69],.fade-leave-to[data-v-4166fe69]{opacity:0}\n/*$vite$:1*/",document.head.appendChild($),T=y(u({__name:"Tooltip",props:{content:{},placement:{}},setup(t){const e=t,o=i(()=>e.content?.split("\\n")??[]);return(e,r)=>(g(),n("div",{class:a(["kimi-tooltip",`tooltip-${t.placement}`])},[x(e.$slots,"default",{},()=>[(g(!0),n(l,null,b(o.value,t=>(g(),n("div",{key:t},s(t),1))),128))],!0)],2))}}),[["__scopeId","data-v-6a3a8090"]]),L=u({__name:"LazyTooltip",props:{content:{},placement:{},show:{type:Boolean},style:{}},setup:t=>(e,o)=>(g(),d(h,{name:"fade"},{default:v(()=>[t.show?(g(),d(m,{key:0,to:"body"},[c(T,{style:p({zIndex:"20",...t.style}),content:t.content,placement:t.placement},{default:v(()=>[x(e.$slots,"default",{},void 0,!0)]),_:3},8,["style","content","placement"])])):r("",!0)]),_:3}))}),_=y(L,[["__scopeId","data-v-4166fe69"]]),M=(t,e,o)=>({mounted(a){a.tooltipMouseenter=()=>{t.value=!0;const l=a.getBoundingClientRect(),r=(o.includes("left")||o.includes("right")?l.width/2:20)+"px";"top"===o?e.value={top:`${l.top}px`,left:`${l.left}px`,transform:"translate(-50%, -100%)",marginLeft:l.width/2+"px",marginTop:"-8px"}:"bottom"===o?e.value={top:`${l.bottom}px`,left:`${l.left}px`,transform:"translate(-50%, 0)",marginLeft:l.width/2+"px",marginTop:"8px"}:"left"===o?e.value={top:`${l.top}px`,left:`${l.left}px`,transform:"translate(-100%, -50%)",marginLeft:"-8px",marginTop:l.height/2+"px"}:"right"===o?e.value={top:`${l.top}px`,left:`${l.right}px`,transform:"translate(0, -50%)",marginLeft:"8px",marginTop:l.height/2+"px"}:"top-left"===o?e.value={top:`${l.top}px`,left:`${l.left}px`,transform:"translate(0, -100%)",marginTop:"-8px","--tooltip-arrow-offset":r}:"top-right"===o?e.value={top:`${l.top}px`,left:`${l.left}px`,transform:"translate(-100%, -100%)",marginLeft:`${l.width}px`,marginTop:"-8px","--tooltip-arrow-offset":r}:"bottom-left"===o?e.value={top:`${l.bottom}px`,left:`${l.left}px`,transform:"translate(0, 0)",marginTop:"8px","--tooltip-arrow-offset":r}:"bottom-right"===o&&(e.value={top:`${l.bottom}px`,left:`${l.right}px`,transform:"translate(-100%, 0)",marginTop:"8px","--tooltip-arrow-offset":r}),e.value.zIndex="1000"},a.tooltipMouseleave=()=>{t.value=!1},a.addEventListener("mouseenter",a.tooltipMouseenter),a.addEventListener("mouseleave",a.tooltipMouseleave)},beforeUnmount(t){t.removeEventListener("mouseenter",t.tooltipMouseenter),t.removeEventListener("mouseleave",t.tooltipMouseleave)}}),t("r",u({name:"WithTooltip",props:{content:String,placement:{type:String,default:"top"},disabled:{type:Boolean,default:!1},style:{type:Object,default:()=>({})}},setup(t,{slots:e}){const a=f(!1),l=f({});return w(()=>t.disabled,t=>{t&&(a.value=!1)},{immediate:!0}),()=>{const r=e.trigger?.()?.[0];return r?t.disabled?r:[k(r,[[M(a,l,t.placement)]]),o(_,{show:a.value,content:t.content,placement:t.placement,style:{position:"fixed",...l.value,...t.style}})]:null}}}))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/dom-ljDggPGB.css b/editor/neo-ppt/assets/dom-ljDggPGB.css new file mode 100644 index 0000000..558969f --- /dev/null +++ b/editor/neo-ppt/assets/dom-ljDggPGB.css @@ -0,0 +1 @@ +.kimi-tooltip[data-v-6a3a8090]{white-space:pre;user-select:none;background-color:var(--MaskBg-ToastPC);min-width:fit-content;color:var(--Always-White);border-radius:8px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px;display:inline-block;position:relative}.kimi-tooltip[data-v-6a3a8090]:before{content:"";background-color:var(--MaskBg-ToastPC);width:10px;height:4px;display:block;position:absolute;-webkit-mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='4'%20fill='black'%3e%3cpath%20d='M10%200H0l4.3753%203.5002a1%201%200%200%200%201.2494%200L10%200Z'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='4'%20fill='black'%3e%3cpath%20d='M10%200H0l4.3753%203.5002a1%201%200%200%200%201.2494%200L10%200Z'/%3e%3c/svg%3e");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:10px 4px;mask-size:10px 4px;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.kimi-tooltip.tooltip-top[data-v-6a3a8090]:before{top:100%;left:50%;transform:translate(-50%)}.kimi-tooltip.tooltip-bottom[data-v-6a3a8090]:before{bottom:100%;left:50%;transform:translate(-50%)rotate(180deg)}.kimi-tooltip.tooltip-left[data-v-6a3a8090]:before{transform-origin:0 0;top:calc(50% + 4px);left:100%;transform:rotate(-90deg)}.kimi-tooltip.tooltip-right[data-v-6a3a8090]:before{transform-origin:0 0;top:calc(50% - 4px);left:0;transform:rotate(90deg)}.kimi-tooltip.tooltip-top-left[data-v-6a3a8090]:before{top:100%;left:var(--tooltip-arrow-offset,20px);transform:translate(-50%)}.kimi-tooltip.tooltip-top-right[data-v-6a3a8090]:before{top:100%;right:var(--tooltip-arrow-offset,20px);transform:translate(50%)}.kimi-tooltip.tooltip-bottom-left[data-v-6a3a8090]:before{bottom:100%;left:var(--tooltip-arrow-offset,20px);transform:translate(-50%)rotate(180deg)}.kimi-tooltip.tooltip-bottom-right[data-v-6a3a8090]:before{bottom:100%;right:var(--tooltip-arrow-offset,20px);transform:translate(50%)rotate(180deg)}.fade-enter-active[data-v-4166fe69],.fade-leave-active[data-v-4166fe69]{transition:opacity .3s}.fade-enter-from[data-v-4166fe69],.fade-leave-to[data-v-4166fe69]{opacity:0} diff --git a/editor/neo-ppt/assets/echarts-B_3wWCq7.js b/editor/neo-ppt/assets/echarts-B_3wWCq7.js new file mode 100644 index 0000000..f6d42b5 --- /dev/null +++ b/editor/neo-ppt/assets/echarts-B_3wWCq7.js @@ -0,0 +1,40 @@ +import{n as e}from"./rolldown-runtime-DWdDZTNf.js";var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},t(e,n)};function n(e,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}var r=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),i=new(function(){function e(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<`u`}return e}());typeof wx==`object`&&typeof wx.getSystemInfoSync==`function`?(i.wxa=!0,i.touchEventsSupported=!0):typeof document>`u`&&typeof self<`u`?i.worker=!0:!i.hasGlobalWindow||`Deno`in window||typeof navigator<`u`&&typeof navigator.userAgent==`string`&&navigator.userAgent.indexOf(`Node.js`)>-1?(i.node=!0,i.svgSupported=!0):a(navigator.userAgent,i);function a(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);if(r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(`.`)[0]>18),o&&(n.weChat=!0),t.svgSupported=typeof SVGRect<`u`,t.touchEventsSupported=`ontouchstart`in window&&!n.ie&&!n.edge,t.pointerEventsSupported=`onpointerdown`in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document<`u`){var s=document.documentElement.style;t.transform3dSupported=(n.ie&&`transition`in s||n.edge||`WebKitCSSMatrix`in window&&`m11`in new WebKitCSSMatrix||`MozPerspective`in s)&&!(`OTransition`in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}}var o=`12px sans-serif`,s=20,c=100,l=`007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N`;function u(e){var t={};if(typeof JSON>`u`)return t;for(var n=0;n=0)s=o*n.length;else for(var c=0;cLe,HashMap:()=>je,RADIAN_TO_DEGREE:()=>Ie,assert:()=>Ce,assignProps:()=>te,bind:()=>R,clone:()=>A,concatArray:()=>Me,createCanvas:()=>ne,createHashMap:()=>G,createObject:()=>Ne,curry:()=>z,defaults:()=>N,disableUserSelect:()=>Pe,each:()=>F,eqNaN:()=>ve,extend:()=>M,filter:()=>se,find:()=>ce,guid:()=>O,hasOwn:()=>K,indexOf:()=>P,inherits:()=>re,isArray:()=>B,isArrayLike:()=>ae,isBuiltInObject:()=>fe,isDom:()=>me,isFunction:()=>V,isGradientObject:()=>he,isImagePatternObject:()=>ge,isNumber:()=>de,isObject:()=>U,isPrimitive:()=>De,isRegExp:()=>_e,isString:()=>H,isStringSafe:()=>ue,isTypedArray:()=>pe,keys:()=>L,logError:()=>k,map:()=>I,merge:()=>j,mergeAll:()=>ee,mixin:()=>ie,noop:()=>Fe,normalizeCssArray:()=>Se,reduce:()=>oe,retrieve:()=>ye,retrieve2:()=>W,retrieve3:()=>be,setAsPrimitive:()=>Ee,slice:()=>xe,trim:()=>we}),h=oe([`Function`,`RegExp`,`Date`,`Error`,`CanvasGradient`,`CanvasPattern`,`Image`,`Canvas`],function(e,t){return e[`[object `+t+`]`]=!0,e},{}),g=oe([`Int8`,`Uint8`,`Uint8Clamped`,`Int16`,`Uint16`,`Int32`,`Uint32`,`Float32`,`Float64`],function(e,t){return e[`[object `+t+`Array]`]=!0,e},{}),_=Object.prototype.toString,v=Array.prototype,y=v.forEach,b=v.filter,x=v.slice,S=v.map,C=function(){}.constructor,w=C?C.prototype:null,T=`__proto__`,E=2311,D=2**53-1;function O(){return E>=D&&(E=0),E++}function k(){var e=[...arguments];typeof console<`u`&&console.error.apply(console,e)}function A(e){if(typeof e!=`object`||!e)return e;var t=e,n=_.call(e);if(n===`[object Array]`){if(!De(e)){t=[];for(var r=0,i=e.length;rUe,applyTransform:()=>st,clone:()=>Ve,copy:()=>Be,create:()=>ze,dist:()=>nt,distSquare:()=>it,distance:()=>tt,distanceSquare:()=>rt,div:()=>Ze,dot:()=>Qe,len:()=>Ke,lenSquare:()=>Je,length:()=>qe,lengthSquare:()=>Ye,lerp:()=>ot,max:()=>lt,min:()=>ct,mul:()=>Xe,negate:()=>at,normalize:()=>et,scale:()=>$e,scaleAndAdd:()=>We,set:()=>He,sub:()=>Ge});function ze(e,t){return e??(e=0),t??(t=0),[e,t]}function Be(e,t){return e[0]=t[0],e[1]=t[1],e}function Ve(e){return[e[0],e[1]]}function He(e,t,n){return e[0]=t,e[1]=n,e}function Ue(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function We(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function Ge(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function Ke(e){return Math.sqrt(Je(e))}var qe=Ke;function Je(e){return e[0]*e[0]+e[1]*e[1]}var Ye=Je;function Xe(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function Ze(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function Qe(e,t){return e[0]*t[0]+e[1]*t[1]}function $e(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function et(e,t){var n=Ke(t);return n===0?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function tt(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var nt=tt;function rt(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var it=rt;function at(e,t){return e[0]=-t[0],e[1]=-t[1],e}function ot(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function st(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function ct(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function lt(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var ut=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),dt=function(){function e(e){this.handler=e,e.on(`mousedown`,this._dragStart,this),e.on(`mousemove`,this._drag,this),e.on(`mouseup`,this._dragEnd,this)}return e.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new ut(t,e),`dragstart`,e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,i=n-this._x,a=r-this._y;this._x=n,this._y=r,t.drift(i,a,e),this.handler.dispatchToElement(new ut(t,e),`drag`,e.event);var o=this.handler.findHover(n,r,t).target,s=this._dropTarget;this._dropTarget=o,t!==o&&(s&&o!==s&&this.handler.dispatchToElement(new ut(s,e),`dragleave`,e.event),o&&o!==s&&this.handler.dispatchToElement(new ut(o,e),`dragenter`,e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new ut(t,e),`dragend`,e.event),this._dropTarget&&this.handler.dispatchToElement(new ut(this._dropTarget,e),`drop`,e.event),this._draggingTarget=null,this._dropTarget=null},e}(),ft=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t==`function`&&(r=n,n=t,t=null),!n||!e)return this;var a=this._$eventProcessor;t!=null&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),i[e]||(i[e]=[]);for(var o=0;o>1)%2;s.cssText=[`position: absolute`,`visibility: hidden`,`padding: 0`,`margin: 0`,`border-width: 0`,`user-select: none`,`width:0`,`height:0`,r[c]+`:0`,i[l]+`:0`,r[1-c]+`:auto`,i[1-l]+`:auto`,``].join(`!important;`),e.appendChild(o),n.push(o)}return t.clearMarkers=function(){F(n,function(e){e.parentNode&&e.parentNode.removeChild(e)})},n}function St(e,t,n){for(var r=n?`invTrans`:`trans`,i=t[r],a=t.srcCoords,o=[],s=[],c=!0,l=0;l<4;l++){var u=e[l].getBoundingClientRect(),d=2*l,f=u.left,p=u.top;o.push(f,p),c=c&&a&&f===a[d]&&p===a[d+1],s.push(e[l].offsetLeft,e[l].offsetTop)}return c&&i?i:(t.srcCoords=o,t[r]=n?ht(s,o):ht(o,s))}function Ct(e){return e.nodeName.toUpperCase()===`CANVAS`}var wt=/([&<>"'])/g,Tt={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`};function Et(e){return e==null?``:(e+``).replace(wt,function(e,t){return Tt[t]})}var Dt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ot=[],kt=i.browser.firefox&&+i.browser.version.split(`.`)[0]<39;function At(e,t,n,r){return n=n||{},r?jt(e,t,n):kt&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX==null?jt(e,t,n):(n.zrX=t.offsetX,n.zrY=t.offsetY),n}function jt(e,t,n){if(i.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(Ct(e)){var o=e.getBoundingClientRect();n.zrX=r-o.left,n.zrY=a-o.top;return}else if(bt(Ot,e,r,a)){n.zrX=Ot[0],n.zrY=Ot[1];return}}n.zrX=n.zrY=0}function Mt(e){return e||window.event}function Nt(e,t,n){if(t=Mt(t),t.zrX!=null)return t;var r=t.type;if(r&&r.indexOf(`touch`)>=0){var i=r===`touchend`?t.changedTouches[0]:t.targetTouches[0];i&&At(e,i,t,n)}else{At(e,t,t,n);var a=Pt(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var o=t.button;return t.which==null&&o!==void 0&&Dt.test(t.type)&&(t.which=o&1?1:o&2?3:o&4?2:0),t}function Pt(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var i=Math.abs(r===0?n:r),a=r>0?-1:r<0?1:n>0?-1:1;return 3*i*a}function Ft(e,t,n,r){e.addEventListener(t,n,r)}function It(e,t,n,r){e.removeEventListener(t,n,r)}var Lt=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function Rt(e){return e.which===2||e.which===3}var zt=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},a=0,o=r.length;a1&&r&&r.length>1){var a=Bt(r)/Bt(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Vt(r);return t.pinchX=o[0],t.pinchY=o[1],{type:`pinch`,target:e[0].target,event:t}}}}},Ut=e({clone:()=>Qt,copy:()=>Kt,create:()=>Wt,identity:()=>Gt,invert:()=>Zt,mul:()=>qt,rotate:()=>Yt,scale:()=>Xt,translate:()=>Jt});function Wt(){return[1,0,0,1,0,0]}function Gt(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function Kt(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function qt(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],a=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],c=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=c,e}function Jt(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Yt(e,t,n,r){r===void 0&&(r=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],c=t[3],l=t[5],u=Math.sin(n),d=Math.cos(n);return e[0]=i*d+s*u,e[1]=-i*u+s*d,e[2]=a*d+c*u,e[3]=-a*u+d*c,e[4]=d*(o-r[0])+u*(l-r[1])+r[0],e[5]=d*(l-r[1])-u*(o-r[0])+r[1],e}function Xt(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function Zt(e,t){var n=t[0],r=t[2],i=t[4],a=t[1],o=t[3],s=t[5],c=n*o-a*r;return c?(c=1/c,e[0]=o*c,e[1]=-a*c,e[2]=-r*c,e[3]=n*c,e[4]=(r*s-o*i)*c,e[5]=(a*i-n*s)*c,e):null}function Qt(e){var t=Wt();return Kt(t,e),t}var q=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}(),$t=Math.min,en=Math.max,tn=Math.abs,nn=[`x`,`y`],rn=[`width`,`height`],an=new q,on=new q,sn=new q,cn=new q,ln=Cn(),un=ln.minTv,dn=ln.maxTv,fn=[0,0],J=function(){function e(e,t,n,r){mn(this,e,t,n,r)}return e.set=function(e,t,n,r,i){return r<0&&(t+=r,r=-r),i<0&&(n+=i,i=-i),e.x=t,e.y=n,e.width=r,e.height=i,e},e.prototype.union=function(e){var t=$t(e.x,this.x),n=$t(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=en(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=en(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){return gn(Wt(),this,e)},e.prototype.intersect=function(t,n,r){return e.intersect(this,t,n,r)},e.intersect=function(t,n,r,i){r&&q.set(r,0,0);var a=i&&i.outIntersectRect||null,o=i&&i.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!n)return!1;t instanceof e||(t=mn(yn,t.x,t.y,t.width,t.height)),n instanceof e||(n=mn(bn,n.x,n.y,n.width,n.height));var s=!!r;ln.reset(i,s);var c=ln.touchThreshold,l=t.x+c,u=t.x+t.width-c,d=t.y+c,f=t.y+t.height-c,p=n.x+c,m=n.x+n.width-c,h=n.y+c,g=n.y+n.height-c;if(l>u||d>f||p>m||h>g)return!1;var _=!(u=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height},e.prototype.contain=function(t,n){return e.contain(this,t,n)},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(e){hn(this,e)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t?t.x:0,t?t.y:0,t?t.width:0,t?t.height:0)},e.copy=function(e,t){return e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e},e.applyTransform=function(e,t,n){if(!n){e!==t&&hn(e,t);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var r=n[0],i=n[3],a=n[4],o=n[5];e.x=t.x*r+a,e.y=t.y*i+o,e.width=t.width*r,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}an.x=sn.x=t.x,an.y=cn.y=t.y,on.x=cn.x=t.x+t.width,on.y=sn.y=t.y+t.height,an.transform(n),cn.transform(n),on.transform(n),sn.transform(n),e.x=$t(an.x,on.x,sn.x,cn.x),e.y=$t(an.y,on.y,sn.y,cn.y);var s=en(an.x,on.x,sn.x,cn.x),c=en(an.y,on.y,sn.y,cn.y);e.width=s-e.x,e.height=c-e.y},e.calculateTransform=function(e,t,n){var r=n.width/t.width,i=n.height/t.height;return e=Gt(e||[]),Jt(e,e,He(xn,-t.x,-t.y)),Xt(e,e,He(xn,r,i)),Jt(e,e,He(xn,n.x,n.y)),e},e}(),pn=J.create,mn=J.set,hn=J.copy,gn=J.calculateTransform,_n=J.applyTransform,vn=J.contain,yn=new J(0,0,0,0),bn=new J(0,0,0,0),xn=[];function Sn(e,t,n,r,i,a,o,s){var c=tn(t-n),l=tn(r-e),u=$t(c,l),d=nn[i],f=nn[1-i],p=rn[i];t=l||!ln.bidirectional)&&(un[d]=-l,un[f]=0,ln.useDir&&ln.calcDirMTV())))}function Cn(){var e=0,t=new q,n=new q,r={minTv:new q,maxTv:new q,useDir:!1,dirMinTv:new q,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,a){r.touchThreshold=0,i&&i.touchThreshold!=null&&(r.touchThreshold=en(0,i.touchThreshold)),r.negativeSize=!1,a&&(r.minTv.set(1/0,1/0),r.maxTv.set(0,0),r.useDir=!1,i&&i.direction!=null&&(r.useDir=!0,r.dirMinTv.copy(r.minTv),n.copy(r.minTv),e=i.direction,r.bidirectional=i.bidirectional==null||!!i.bidirectional,r.bidirectional||t.set(Math.cos(e),Math.sin(e))))},calcDirMTV:function(){var a=r.minTv,o=r.dirMinTv,s=a.y*a.y+a.x*a.x,c=Math.sin(e),l=Math.cos(e),u=c*a.y+l*a.x;if(i(u)){i(a.x)&&i(a.y)&&o.set(0,0);return}if(n.x=s*l/u,n.y=s*c/u,i(n.x)&&i(n.y)){o.set(0,0);return}(r.bidirectional||t.dot(n)>0)&&n.len()=0;l--){var u=r[l];u!==n&&!u.ignore&&!u.ignoreCoarsePointer&&(!u.parent||!u.parent.ignoreCoarsePointer)&&(An.copy(u.getBoundingRect()),u.transform&&An.applyTransform(u.transform),An.intersect(c)&&a.push(u))}if(a.length){for(var d=4,f=Math.PI/12,p=Math.PI*2,m=0;m4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function Mn(e,t,n){if(e[e.rectHover?`rectContain`:`contain`](t,n)){for(var r=e,i=void 0,a=!1;r;){if(r.ignoreClip&&(a=!0),!a){var o=r.getClipPath();if(o&&!o.contain(t,n))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s?r.ignoreHostSilent?null:s:r.parent}return i?wn:!0}return!1}function Nn(e,t,n,r,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=Mn(o,n,r))&&(!t.topTarget&&(t.topTarget=o),s!==wn)){t.target=o;break}}}function Pn(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var Fn=32,In=7;function Ln(e){for(var t=0;e>=Fn;)t|=e&1,e>>=1;return e+t}function Rn(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function zn(e,t,n){for(n--;t>>1,i(a,e[c])<0?s=c:o=c+1;var l=r-o;switch(l){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;l>0;)e[o+l]=e[o+l-1],l--}e[o]=a}}function Vn(e,t,n,r,i,a){var o=0,s=0,c=1;if(a(e,t[n+i])>0){for(s=r-i;c0;)o=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s),o+=i,c+=i}else{for(s=i+1;cs&&(c=s);var l=o;o=i-c,c=i-l}for(o++;o>>1);a(e,t[n+u])>0?o=u+1:c=u}return c}function Hn(e,t,n,r,i,a){var o=0,s=0,c=1;if(a(e,t[n+i])<0){for(s=i+1;cs&&(c=s);var l=o;o=i-c,c=i-l}else{for(s=r-i;c=0;)o=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s),o+=i,c+=i}for(o++;o>>1);a(e,t[n+u])<0?c=u:o=u+1}return c}function Un(e,t){var n=In,r,i,a=0,o=[];r=[],i=[];function s(e,t){r[a]=e,i[a]=t,a+=1}function c(){for(;a>1;){var e=a-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]i[e+1])break;u(e)}}function l(){for(;a>1;){var e=a-2;e>0&&i[e-1]=In||m>=In);if(h)break;f<0&&(f=0),f+=2}if(n=f,n<1&&(n=1),i===1){for(c=0;c=0;c--)e[p+c]=e[f+c];e[d]=o[u];return}for(var m=n;;){var h=0,g=0,_=!1;do if(t(o[u],e[l])<0){if(e[d--]=e[l--],h++,g=0,--i===0){_=!0;break}}else if(e[d--]=o[u--],g++,h=0,--s===1){_=!0;break}while((h|g)=0;c--)e[p+c]=e[f+c];if(i===0){_=!0;break}}if(e[d--]=o[u--],--s===1){_=!0;break}if(g=s-Vn(e[l],o,0,s,s-1,t),g!==0){for(d-=g,u-=g,s-=g,p=d+1,f=u+1,c=0;c=In||g>=In);if(_)break;m<0&&(m=0),m+=2}if(n=m,n<1&&(n=1),s===1){for(d-=i,l-=i,p=d+1,f=l+1,c=i-1;c>=0;c--)e[p+c]=e[f+c];e[d]=o[u]}else if(s===0)throw Error();else for(f=d-(s-1),c=0;cs&&(c=s),Bn(e,n,n+c,n+a,t),a=c}o.pushRun(n,a),o.mergeRuns(),i-=a,n+=a}while(i!==0);o.forceMergeRuns()}}var Gn=!1;function Kn(){Gn||(Gn=!0,console.warn(`z / z2 / zlevel of displayable is invalid, which may cause unexpected errors`))}function qn(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Jn=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=qn}return e.prototype.traverse=function(e,t){for(var n=0;n=0&&this._roots.splice(r,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),Yn=i.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)},Xn={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:1024**(e-1)},exponentialOut:function(e){return e===1?1:1-2**(-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*1024**(e-1):.5*(-(2**(-10*(e-1)))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*2**(10*--e)*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*2**(-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*2**(10*--e)*Math.sin((e-t)*(2*Math.PI)/r)):n*2**(-10*--e)*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=1.70158*1.525;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Xn.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Xn.bounceIn(e*2)*.5:Xn.bounceOut(e*2-1)*.5+.5}},Zn=Math.pow,Qn=Math.sqrt,$n=1e-8,er=1e-4,tr=Qn(3),nr=1/3,rr=ze(),ir=ze(),ar=ze();function or(e){return e>-$n&&e<$n}function sr(e){return e>$n||e<-$n}function cr(e,t,n,r,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*r+3*a*n)}function lr(e,t,n,r,i){var a=1-i;return 3*(((t-e)*a+2*(n-t)*i)*a+(r-n)*i*i)}function ur(e,t,n,r,i,a){var o=r+3*(t-n)-e,s=3*(n-t*2+e),c=3*(t-e),l=e-i,u=s*s-3*o*c,d=s*c-9*o*l,f=c*c-3*s*l,p=0;if(or(u)&&or(d))if(or(s))a[0]=0;else{var m=-c/s;m>=0&&m<=1&&(a[p++]=m)}else{var h=d*d-4*u*f;if(or(h)){var g=d/u,m=-s/o+g,_=-g/2;m>=0&&m<=1&&(a[p++]=m),_>=0&&_<=1&&(a[p++]=_)}else if(h>0){var v=Qn(h),y=u*s+1.5*o*(-d+v),b=u*s+1.5*o*(-d-v);y=y<0?-Zn(-y,nr):Zn(y,nr),b=b<0?-Zn(-b,nr):Zn(b,nr);var m=(-s-(y+b))/(3*o);m>=0&&m<=1&&(a[p++]=m)}else{var x=(2*u*s-3*o*d)/(2*Qn(u*u*u)),S=Math.acos(x)/3,C=Qn(u),w=Math.cos(S),m=(-s-2*C*w)/(3*o),_=(-s+C*(w+tr*Math.sin(S)))/(3*o),T=(-s+C*(w-tr*Math.sin(S)))/(3*o);m>=0&&m<=1&&(a[p++]=m),_>=0&&_<=1&&(a[p++]=_),T>=0&&T<=1&&(a[p++]=T)}}return p}function dr(e,t,n,r,i){var a=6*n-12*t+6*e,o=9*t+3*r-3*e-9*n,s=3*t-3*e,c=0;if(or(o)){if(sr(a)){var l=-s/a;l>=0&&l<=1&&(i[c++]=l)}}else{var u=a*a-4*o*s;if(or(u))i[0]=-a/(2*o);else if(u>0){var d=Qn(u),l=(-a+d)/(2*o),f=(-a-d)/(2*o);l>=0&&l<=1&&(i[c++]=l),f>=0&&f<=1&&(i[c++]=f)}}return c}function fr(e,t,n,r,i,a){var o=(t-e)*i+e,s=(n-t)*i+t,c=(r-n)*i+n,l=(s-o)*i+o,u=(c-s)*i+s,d=(u-l)*i+l;a[0]=e,a[1]=o,a[2]=l,a[3]=d,a[4]=d,a[5]=u,a[6]=c,a[7]=r}function pr(e,t,n,r,i,a,o,s,c,l,u){var d,f=.005,p=1/0,m,h,g,_;rr[0]=c,rr[1]=l;for(var v=0;v<1;v+=.05)ir[0]=cr(e,n,i,o,v),ir[1]=cr(t,r,a,s,v),g=it(rr,ir),g=0&&g=0&&l<=1&&(i[c++]=l)}}else{var u=o*o-4*a*s;if(or(u)){var l=-o/(2*a);l>=0&&l<=1&&(i[c++]=l)}else if(u>0){var d=Qn(u),l=(-o+d)/(2*a),f=(-o-d)/(2*a);l>=0&&l<=1&&(i[c++]=l),f>=0&&f<=1&&(i[c++]=f)}}return c}function vr(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function yr(e,t,n,r,i){var a=(t-e)*r+e,o=(n-t)*r+t,s=(o-a)*r+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n}function br(e,t,n,r,i,a,o,s,c){var l,u=.005,d=1/0;rr[0]=o,rr[1]=s;for(var f=0;f<1;f+=.05){ir[0]=hr(e,n,i,f),ir[1]=hr(t,r,a,f);var p=it(rr,ir);p=0&&p=1?1:ur(0,r,a,1,e,s)&&cr(0,i,o,1,s[0])}}}var wr=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Fe,this.ondestroy=e.ondestroy||Fe,this.onrestart=e.onrestart||Fe,e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var a=this.easingFunc,o=a?a(i):i;if(this.onframe(o),i===1)if(this.loop){var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=V(e)?e:Xn[e]||Cr(e)},e}(),Tr=function(){function e(e){this.value=e}return e}(),Er=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new Tr(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),Dr=function(){function e(e){this._list=new Er,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,r=this._map,i=null;if(r[e]==null){var a=n.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=n.head;n.remove(s),delete r[s.key],i=s.value,this._lastRemovedEntry=s}o?o.value=t:o=new Tr(t),o.key=e,n.insertEntry(o),r[e]=o}return i},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(t!=null)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),Or=e({fastLerp:()=>qr,fastMapToColor:()=>Jr,lerp:()=>Yr,lift:()=>Gr,liftColor:()=>ri,lum:()=>ei,mapToColor:()=>Xr,modifyAlpha:()=>Qr,modifyHSL:()=>Zr,parse:()=>Hr,parseCssFloat:()=>Pr,parseCssInt:()=>Nr,random:()=>ti,stringify:()=>$r,toHex:()=>Kr}),kr={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ar(e){return e=Math.round(e),e<0?0:e>255?255:e}function jr(e){return e=Math.round(e),e<0?0:e>360?360:e}function Mr(e){return e<0?0:e>1?1:e}function Nr(e){var t=e;return t.length&&t.charAt(t.length-1)===`%`?Ar(parseFloat(t)/100*255):Ar(parseInt(t,10))}function Pr(e){var t=e;return t.length&&t.charAt(t.length-1)===`%`?Mr(parseFloat(t)/100):Mr(parseFloat(t))}function Fr(e,t,n){return n<0?n+=1:n>1&&--n,n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Ir(e,t,n){return e+(t-e)*n}function Lr(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function Rr(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var zr=new Dr(20),Br=null;function Vr(e,t){Br&&Rr(Br,t),Br=zr.put(e,Br||t.slice())}function Hr(e,t){if(e){t=t||[];var n=zr.get(e);if(n)return Rr(t,n);e+=``;var r=e.replace(/ /g,``).toLowerCase();if(r in kr)return Rr(t,kr[r]),Vr(e,t),t;var i=r.length;if(r.charAt(0)===`#`){if(i===4||i===5){var a=parseInt(r.slice(1,4),16);if(!(a>=0&&a<=4095)){Lr(t,0,0,0,1);return}return Lr(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),Vr(e,t),t}else if(i===7||i===9){var a=parseInt(r.slice(1,7),16);if(!(a>=0&&a<=16777215)){Lr(t,0,0,0,1);return}return Lr(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(r.slice(7),16)/255:1),Vr(e,t),t}return}var o=r.indexOf(`(`),s=r.indexOf(`)`);if(o!==-1&&s+1===i){var c=r.substr(0,o),l=r.substr(o+1,s-(o+1)).split(`,`),u=1;switch(c){case`rgba`:if(l.length!==4)return l.length===3?Lr(t,+l[0],+l[1],+l[2],1):Lr(t,0,0,0,1);u=Pr(l.pop());case`rgb`:if(l.length>=3)return Lr(t,Nr(l[0]),Nr(l[1]),Nr(l[2]),l.length===3?u:Pr(l[3])),Vr(e,t),t;Lr(t,0,0,0,1);return;case`hsla`:if(l.length!==4){Lr(t,0,0,0,1);return}return l[3]=Pr(l[3]),Ur(l,t),Vr(e,t),t;case`hsl`:if(l.length!==3){Lr(t,0,0,0,1);return}return Ur(l,t),Vr(e,t),t;default:return}}Lr(t,0,0,0,1)}}function Ur(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=Pr(e[1]),i=Pr(e[2]),a=i<=.5?i*(r+1):i+r-i*r,o=i*2-a;return t=t||[],Lr(t,Ar(Fr(o,a,n+1/3)*255),Ar(Fr(o,a,n)*255),Ar(Fr(o,a,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function Wr(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i,s=(a+i)/2,c,l;if(o===0)c=0,l=0;else{l=s<.5?o/(a+i):o/(2-a-i);var u=((a-t)/6+o/2)/o,d=((a-n)/6+o/2)/o,f=((a-r)/6+o/2)/o;t===a?c=f-d:n===a?c=1/3+u-f:r===a&&(c=2/3+d-u),c<0&&(c+=1),c>1&&--c}var p=[c*360,l,s];return e[3]!=null&&p.push(e[3]),p}}function Gr(e,t){var n=Hr(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return $r(n,n.length===4?`rgba`:`rgb`)}}function Kr(e){var t=Hr(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function qr(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),o=t[i],s=t[a],c=r-i;return n[0]=Ar(Ir(o[0],s[0],c)),n[1]=Ar(Ir(o[1],s[1],c)),n[2]=Ar(Ir(o[2],s[2],c)),n[3]=Mr(Ir(o[3],s[3],c)),n}}var Jr=qr;function Yr(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),o=Hr(t[i]),s=Hr(t[a]),c=r-i,l=$r([Ar(Ir(o[0],s[0],c)),Ar(Ir(o[1],s[1],c)),Ar(Ir(o[2],s[2],c)),Mr(Ir(o[3],s[3],c))],`rgba`);return n?{color:l,leftIndex:i,rightIndex:a,value:r}:l}}var Xr=Yr;function Zr(e,t,n,r){var i=Hr(e);if(e)return i=Wr(i),t!=null&&(i[0]=jr(V(t)?t(i[0]):t)),n!=null&&(i[1]=Pr(V(n)?n(i[1]):n)),r!=null&&(i[2]=Pr(V(r)?r(i[2]):r)),$r(Ur(i),`rgba`)}function Qr(e,t){var n=Hr(e);if(n&&t!=null)return n[3]=Mr(t),$r(n,`rgba`)}function $r(e,t){if(!(!e||!e.length)){var n=e[0]+`,`+e[1]+`,`+e[2];return(t===`rgba`||t===`hsva`||t===`hsla`)&&(n+=`,`+e[3]),t+`(`+n+`)`}}function ei(e,t){var n=Hr(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function ti(){return $r([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],`rgb`)}var ni=new Dr(100);function ri(e){if(H(e)){var t=ni.get(e);return t||(t=Gr(e,-.1),ni.put(e,t)),t}else if(he(e)){var n=M({},e);return n.colorStops=I(e.colorStops,function(e){return{offset:e.offset,color:Gr(e.color,-.1)}}),n}return e}var ii=Math.round;function ai(e){var t;if(!e||e===`transparent`)e=`none`;else if(typeof e==`string`&&e.indexOf(`rgba`)>-1){var n=Hr(e);n&&(e=`rgb(`+n[0]+`,`+n[1]+`,`+n[2]+`)`,t=n[3])}return{color:e,opacity:t??1}}var oi=1e-4;function si(e){return e-oi}function ci(e){return ii(e*1e3)/1e3}function li(e){return ii(e*1e4)/1e4}function ui(e){return`matrix(`+ci(e[0])+`,`+ci(e[1])+`,`+ci(e[2])+`,`+ci(e[3])+`,`+li(e[4])+`,`+li(e[5])+`)`}var di={left:`start`,right:`end`,center:`middle`,middle:`middle`};function fi(e,t,n){return n===`top`?e+=t/2:n===`bottom`&&(e-=t/2),e}function pi(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function mi(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(`,`)}function hi(e){return e&&!!e.image}function gi(e){return e&&!!e.svgElement}function _i(e){return hi(e)||gi(e)}function vi(e){return e.type===`linear`}function yi(e){return e.type===`radial`}function bi(e){return e&&(e.type===`linear`||e.type===`radial`)}function xi(e){return`url(#`+e+`)`}function Si(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Ci(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*Ie,i=W(e.scaleX,1),a=W(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,c=[];return(t||n)&&c.push(`translate(`+t+`px,`+n+`px)`),r&&c.push(`rotate(`+r+`)`),(i!==1||a!==1)&&c.push(`scale(`+i+`,`+a+`)`),(o||s)&&c.push(`skew(`+ii(o*Ie)+`deg, `+ii(s*Ie)+`deg)`),c.join(` `)}var wi=(function(){return typeof Buffer<`u`&&typeof Buffer.from==`function`?function(e){return Buffer.from(e).toString(`base64`)}:typeof btoa==`function`&&typeof unescape==`function`&&typeof encodeURIComponent==`function`?function(e){return btoa(unescape(encodeURIComponent(e)))}:function(e){return null}})(),Ti=Array.prototype.slice;function Ei(e,t,n){return(t-e)*n+e}function Di(e,t,n,r){for(var i=t.length,a=0;ar?t:e,a=Math.min(n,r),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so)r.length=o;else for(var s=a;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,i=r.length,a=!1,o=Hi,s=t;if(ae(t)){var c=Fi(t);o=c,(c===1&&!de(t[0])||c===2&&!de(t[0][0]))&&(a=!0)}else if(de(t)&&!ve(t))o=Ii;else if(H(t))if(!isNaN(+t))o=Ii;else{var l=Hr(t);l&&(s=l,o=zi)}else if(he(t)){var u=M({},s);u.colorStops=I(t.colorStops,function(e){return{offset:e.offset,color:Hr(e.color)}}),vi(t)?o=Bi:yi(t)&&(o=Vi),s=u}i===0?this.valType=o:(o!==this.valType||o===Hi)&&(a=!0),this.discrete=this.discrete||a;var d={time:e,value:s,rawValue:t,percent:0};return n&&(d.easing=n,d.easingFunc=V(n)?n:Xn[n]||Cr(n)),r.push(d),d},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort(function(e,t){return e.time-t.time});for(var r=this.valType,i=n.length,a=n[i-1],o=this.discrete,s=Wi(r),c=Ui(r),l=0;l=0&&!(a[l].percent<=t);l--);l=d(l,o-2)}else{for(l=u;lt);l++);l=d(l-1,o-2)}p=a[l+1],f=a[l]}if(f&&p){this._lastFr=l,this._lastFrP=t;var m=p.percent-f.percent,h=m===0?1:d((t-f.percent)/m,1);p.easingFunc&&(h=p.easingFunc(h));var g=n?this._additiveValue:c?Gi:e[s];if((Wi(i)||c)&&!g&&(g=this._additiveValue=[]),this.discrete)e[s]=h<1?f.rawValue:p.rawValue;else if(Wi(i))i===Li?Di(g,f[r],p[r],h):Oi(g,f[r],p[r],h);else if(Ui(i)){var _=f[r],v=p[r],y=i===Bi;e[s]={type:y?`linear`:`radial`,x:Ei(_.x,v.x,h),y:Ei(_.y,v.y,h),colorStops:I(_.colorStops,function(e,t){var n=v.colorStops[t];return{offset:Ei(e.offset,n.offset,h),color:Pi(Di([],e.color,n.color,h))}}),global:v.global},y?(e[s].x2=Ei(_.x2,v.x2,h),e[s].y2=Ei(_.y2,v.y2,h)):e[s].r=Ei(_.r,v.r,h)}else if(c)Di(g,f[r],p[r],h),n||(e[s]=Pi(g));else{var b=Ei(f[r],p[r],h);n?this._additiveValue=b:e[s]=b}n&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;t===Ii?e[n]=e[n]+r:t===zi?(Hr(e[n],Gi),ki(Gi,Gi,r,1),e[n]=Pi(Gi)):t===Li?ki(e[n],e[n],r,1):t===Ri&&Ai(e[n],e[n],r,1)},e}(),qi=function(){function e(e,t,n,r){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r){k(`Can' use additive animation on looped animation.`);return}this._additiveAnimators=r,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,L(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,a=0;a0&&s.addKeyframe(0,Ni(c),r),this._trackKeys.push(o)}s.addKeyframe(e,Ni(t[o]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i1){var o=a.pop();i.addKeyframe(o.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();function Ji(){return new Date().getTime()}var Yi=function(e){n(t,e);function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){for(var t=Ji()-this._pausedTime,n=t-this._time,r=this._head;r;){var i=r.next;r.step(t,n)?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=t,e||(this.trigger(`frame`,n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function t(){e._running&&(Yn(t),!e._paused&&e.update())}Yn(t)},t.prototype.start=function(){this._running||(this._time=Ji(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Ji(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Ji()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new qi(e,t.loop);return this.addAnimator(n),n},t}(ft),Xi=300,Zi=i.domSupported,Qi=(function(){var e=[`click`,`dblclick`,`mousewheel`,`wheel`,`mouseout`,`mouseup`,`mousedown`,`mousemove`,`contextmenu`],t=[`touchstart`,`touchend`,`touchmove`],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:e,touch:t,pointer:I(e,function(e){var t=e.replace(`mouse`,`pointer`);return n.hasOwnProperty(t)?t:e})}})(),$i={mouse:[`mousemove`,`mouseup`],pointer:[`pointermove`,`pointerup`]},ea=!1;function ta(e){var t=e.pointerType;return t===`pen`||t===`touch`}function na(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function ra(e){e&&(e.zrByTouch=!0)}function ia(e,t){return Nt(e.dom,new oa(e,t),!0)}function aa(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var oa=function(){function e(e,t){this.stopPropagation=Fe,this.stopImmediatePropagation=Fe,this.preventDefault=Fe,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return e}(),sa={mousedown:function(e){e=Nt(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger(`mousedown`,e)},mousemove:function(e){e=Nt(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger(`mousemove`,e)},mouseup:function(e){e=Nt(this.dom,e),this.__togglePointerCapture(!1),this.trigger(`mouseup`,e)},mouseout:function(e){e=Nt(this.dom,e);var t=e.toElement||e.relatedTarget;aa(this,t)||(this.__pointerCapturing&&(e.zrEventControl=`no_globalout`),this.trigger(`mouseout`,e))},wheel:function(e){ea=!0,e=Nt(this.dom,e),this.trigger(`mousewheel`,e)},mousewheel:function(e){ea||(e=Nt(this.dom,e),this.trigger(`mousewheel`,e))},touchstart:function(e){e=Nt(this.dom,e),ra(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,`start`),sa.mousemove.call(this,e),sa.mousedown.call(this,e)},touchmove:function(e){e=Nt(this.dom,e),ra(e),this.handler.processGesture(e,`change`),sa.mousemove.call(this,e)},touchend:function(e){e=Nt(this.dom,e),ra(e),this.handler.processGesture(e,`end`),sa.mouseup.call(this,e),new Date-+this.__lastTouchMomentSa||e<-Sa}var wa=[],Ta=[],Ea=Wt(),Da=Math.abs,Oa=function(){function e(){}return e.prototype.getLocalTransform=function(e){return ka(this,e)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return Ca(this.rotation)||Ca(this.x)||Ca(this.y)||Ca(this.scaleX-1)||Ca(this.scaleY-1)||Ca(this.skewX)||Ca(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;if(!(t||e)){n&&(xa(n),this.invTransform=null);return}n=n||Wt(),t?this.getLocalTransform(n):xa(n),e&&(t?qt(n,e,n):Kt(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n),this.invTransform=this.invTransform||Wt(),Zt(this.invTransform,n)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(wa);var n=wa[0]<0?-1:1,r=wa[1]<0?-1:1,i=((wa[0]-n)*t+n)/wa[0]||0,a=((wa[1]-r)*t+r)/wa[1]||0;e[0]*=i,e[1]*=i,e[2]*=a,e[3]*=a}},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||Wt(),qt(Ta,e.invTransform,t),t=Ta);var n=this.originX,r=this.originY;(n||r)&&(Ea[4]=n,Ea[5]=r,qt(Ta,t,Ea),Ta[4]-=n,Ta[5]-=r,t=Ta),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&st(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&st(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&Da(e[0]-1)>1e-10&&Da(e[3]-1)>1e-10?Math.sqrt(Da(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){Ma(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,i=e.scaleX,a=e.scaleY,o=e.anchorX,s=e.anchorY,c=e.rotation||0,l=e.x,u=e.y,d=e.skewX?Math.tan(e.skewX):0,f=e.skewY?Math.tan(-e.skewY):0;if(n||r||o||s){var p=n+o,m=r+s;t[4]=-p*i-d*m*a,t[5]=-m*a-f*p*i}else t[4]=t[5]=0;return t[0]=i,t[3]=a,t[1]=f*i,t[2]=d*a,c&&Yt(t,t,c),t[4]+=n+l,t[5]+=r+u,t},e.initDefaultProps=(function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),e}(),ka=Oa.getLocalTransform;function Aa(){return new Oa}var ja=[`x`,`y`,`originX`,`originY`,`anchorX`,`anchorY`,`rotation`,`scaleX`,`scaleY`,`skewX`,`skewY`];function Ma(e,t){return te(e,t,ja)}function Na(e){Pa||(Pa=new Dr(100)),e=e||`12px sans-serif`;var t=Pa.get(e);return t||(t={font:e,strWidthCache:new Dr(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:f.measureText(`国`,e).width,asciiCharWidth:f.measureText(`a`,e).width},Pa.put(e,t)),t}var Pa;function Fa(e){if(!(Ia>=La)){e=e||`12px sans-serif`;for(var t=[],n=+new Date,r=0;r<=127;r++)t[r]=f.measureText(String.fromCharCode(r),e).width;var i=+new Date-n;return i>16?Ia=La:i>2&&Ia++,t}}var Ia=0,La=5;function Ra(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=Fa(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap==null?e.asciiCharWidth:e.asciiWidthMap[t]:e.stWideCharWidth}function za(e,t){var n=e.strWidthCache,r=n.get(t);return r??(r=f.measureText(t,e.font).width,n.put(t,r)),r}function Ba(e,t,n,r){var i=za(Na(t),e),a=Wa(t);return new J(Ha(0,i,n),Ua(0,a,r),i,a)}function Va(e,t,n,r){var i=((e||``)+``).split(` +`);if(i.length===1)return Ba(i[0],t,n,r);for(var a=new J(0,0,0,0),o=0;o=0?parseFloat(e)/100*t:parseFloat(e):e}function Ka(e,t,n){var r=t.position||`inside`,i=t.distance==null?5:t.distance,a=n.height,o=n.width,s=a/2,c=n.x,l=n.y,u=`left`,d=`top`;if(r instanceof Array)c+=Ga(r[0],n.width),l+=Ga(r[1],n.height),u=null,d=null;else switch(r){case`left`:c-=i,l+=s,u=`right`,d=`middle`;break;case`right`:c+=i+o,l+=s,d=`middle`;break;case`top`:c+=o/2,l-=i,u=`center`,d=`bottom`;break;case`bottom`:c+=o/2,l+=a+i,u=`center`;break;case`inside`:c+=o/2,l+=s,u=`center`,d=`middle`;break;case`insideLeft`:c+=i,l+=s,d=`middle`;break;case`insideRight`:c+=o-i,l+=s,u=`right`,d=`middle`;break;case`insideTop`:c+=o/2,l+=i,u=`center`;break;case`insideBottom`:c+=o/2,l+=a-i,u=`center`,d=`bottom`;break;case`insideTopLeft`:c+=i,l+=i;break;case`insideTopRight`:c+=o-i,l+=i,u=`right`;break;case`insideBottomLeft`:c+=i,l+=a-i,d=`bottom`;break;case`insideBottomRight`:c+=o-i,l+=a-i,u=`right`,d=`bottom`;break}return e=e||{},e.x=c,e.y=l,e.align=u,e.verticalAlign=d,e}var qa=`__zr_normal__`,Ja=ja.concat([`ignore`]),Ya=oe(ja,function(e,t){return e[t]=!0,e},{ignore:!1}),Xa={},Za=new J(0,0,0,0),Qa=[],$a=function(){function e(e){this.id=O(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case`horizontal`:t=0;break;case`vertical`:e=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=t.innerTransformable,a=void 0,o=void 0,s=!1;i.parent=r?this:null;var c=!1;i.copyTransform(t);var l=n.position!=null,u=n.autoOverflowArea,d=void 0;if((u||l)&&(d=Za,n.layoutRect?d.copy(n.layoutRect):d.copy(this.getBoundingRect()),r||d.applyTransform(this.transform)),l){this.calculateTextPosition?this.calculateTextPosition(Xa,n,d):Ka(Xa,n,d),i.x=Xa.x,i.y=Xa.y,a=Xa.align,o=Xa.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var p=void 0,m=void 0;f===`center`?(p=d.width*.5,m=d.height*.5):(p=Ga(f[0],d.width),m=Ga(f[1],d.height)),c=!0,i.originX=-i.x+p+(r?0:d.x),i.originY=-i.y+m+(r?0:d.y)}}n.rotation!=null&&(i.rotation=n.rotation);var h=n.offset;h&&(i.x+=h[0],i.y+=h[1],c||(i.originX=-h[0],i.originY=-h[1]));var g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(u){var _=g.overflowRect=g.overflowRect||new J(0,0,0,0);i.getLocalTransform(Qa),Zt(Qa,Qa),J.copy(_,d),_.applyTransform(Qa)}else g.overflowRect=null;var v=n.inside==null?typeof n.position==`string`&&n.position.indexOf(`inside`)>=0:n.inside,y=void 0,b=void 0,x=void 0;v&&this.canBeInsideText()?(y=n.insideFill,b=n.insideStroke,(y==null||y===`auto`)&&(y=this.getInsideTextFill()),(b==null||b===`auto`)&&(b=this.getInsideTextStroke(y),x=!0)):(y=n.outsideFill,b=n.outsideStroke,(y==null||y===`auto`)&&(y=this.getOutsideFill()),(b==null||b===`auto`)&&(b=this.getOutsideStroke(y),x=!0)),y=y||`#000`,(y!==g.fill||b!==g.stroke||x!==g.autoStroke||a!==g.align||o!==g.verticalAlign)&&(s=!0,g.fill=y,g.stroke=b,g.autoStroke=x,g.align=a,g.verticalAlign=o,t.setDefaultTextStyle(g)),t.__dirty|=1,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return`#fff`},e.prototype.getInsideTextStroke=function(e){return`#000`},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?ya:va},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n=typeof t==`string`&&Hr(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*r+(i?0:255)*(1-r);return n[3]=1,$r(n,`rgba`)},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){e===`textConfig`?this.setTextConfig(t):e===`textContent`?this.setTextContent(t):e===`clipPath`?this.setClipPath(t):e===`extra`?(this.extra=this.extra||{},M(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if(typeof e==`string`)this.attrKV(e,t);else if(U(e))for(var n=L(e),r=0;r0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(qa,!1,e)},e.prototype.useState=function(e,t,n,r){var i=e===qa;if(!(!this.hasState()&&i)){var a=this.currentStates,o=this.stateTransition;if(!(P(a,e)>=0&&(t||a.length===1))){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),!s&&!i){k(`State `+e+` not exists.`);return}i||this.saveCurrentToNormalState(s);var c=this._textContent,l=so(this,c,s,r);l&&!this.__inHover&&(this.__inHover=l),this._applyStateObj(e,s,this._normalState,t,lo(this,n,o),o);var u=this._textGuide;return c&&c.useState(e,t,n,!!l),u&&u.useState(e,t,n,!!l),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this.__inHover=0,this.__dirty&=-2),s}}},e.prototype.useStates=function(e,t,n){if(!e.length)this.clearStates();else{var r=[],i=this.currentStates,a=e.length,o=a===i.length;if(o){for(var s=0;s=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=P(r,e),a=P(r,t)>=0;i>=0?a?r.splice(i,1):r[i]=t:n&&!a&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t={},n,r=0;r=0&&t.splice(n,1)}),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],a=0;a0&&n.during&&a[0].during(function(e,t){n.during(t)});for(var f=0;f0||i.force&&!o.length){var C=void 0,w=void 0,T=void 0;if(s){w={},f&&(C={});for(var b=0;b0}var Y=function(e){n(t,e);function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=P(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=P(n,e);return r<0?this:(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;nvo,disposeAll:()=>yo,getElementSSRData:()=>Co,getInstance:()=>bo,init:()=>_o,registerPainter:()=>xo,registerSSRDataGetter:()=>wo,version:()=>To}),fo={},po={};function mo(e){delete po[e]}function ho(e){if(!e)return!1;if(typeof e==`string`)return ei(e,1)<_a;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t0){if(e<=i)return o;if(e>=a)return s}else if(e>=i)return o;else if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/c*l+o}var X=Vo;function Vo(e,t,n){switch(e){case`center`:case`middle`:e=`50%`;break;case`left`:case`top`:e=`0%`;break;case`right`:case`bottom`:e=`100%`;break}return Ho(e,t,n)}function Ho(e,t,n){return H(e)?Wo(e)?parseFloat(e)/100*t+(n||0):parseFloat(e):e==null?NaN:+e}function Uo(e){return H(e)&&Wo(e)}function Wo(e){return!!Oo(e).match(/%$/)}function Go(e,t,n){return isNaN(t)?n?``+e:+e:(t=ko(Ao(0,t),Do),e=(+e).toFixed(t),n?e:+e)}function Ko(e,t,n){return t??(t=10),Go(e,t,n)}function qo(e){return e.sort(function(e,t){return e-t}),e}function Jo(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Mo(e*t)/t===e)return n}return Yo(e)}function Yo(e){var t=e.toString().toLowerCase(),n=t.indexOf(`e`),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,a=t.indexOf(`.`);return Ao(0,(a<0?0:i-1-a)-r)}function Xo(e,t){var n=No(Io(e[1]-e[0])/Lo),r=Mo(Io(jo(t[1]-t[0]))/Lo),i=ko(Ao(-n+r,0),Do);return isFinite(i)?i:Do}function Zo(e,t,n){var r=jo(e[1]-e[0]);if(!isFinite(r)||r===0)return NaN;var i=Io(2*jo(n||1)*jo(r))/Lo,a=Io(jo(t))/Lo,o=Ao(0,Po(-i+a));return isFinite(o)||(o=NaN),o}function Qo(e,t,n){return e[t]&&$o(e,n)[t]||0}function $o(e,t){var n=oe(e,function(e,t){return e+(isNaN(t)?0:t)},0);if(n===0)return[];for(var r=Fo(10,t),i=I(e,function(e){return(isNaN(e)?0:e)/n*r*100}),a=r*100,o=I(i,function(e){return No(e)}),s=oe(o,function(e,t){return e+t},0),c=I(i,function(e,t){return e-o[t]});sl&&(l=c[d],u=d);++o[u],c[u]=0,++s}return I(o,function(e){return e/r})}function es(e,t){var n=Ao(Jo(e),Jo(t)),r=e+t;return n>Do?r:Go(r,n)}var ts=Fo(2,53)-1;function ns(e){var t=Ro*2;return(e%t+t)%t}function rs(e){return e>-Eo&&e=10&&t++,t}function cs(e,t){var n=ss(e),r=Fo(10,n),i=e/r;return e=(t===2?1:t?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,Go(e,-n)}function ls(e,t){var n=(e.length-1)*t+1,r=No(n),i=+e[r-1],a=n-r;return a?i+a*(e[r]-i):i}function us(e){e.sort(function(e,t){return s(e,t,0)?-1:1});for(var t=-1/0,n=1,r=0;r0?e.length:0),this.item=null,this.key=NaN,this},e.prototype.next=function(){return(this._step>0?this._idx=this._end)?(this.item=this._list[this._idx],this.key=this._idx+=this._step,!0):!1},e}();function cc(e){e.option=e.parentModel=e.ecModel=null}function lc(){return[1/0,-1/0]}function uc(e,t){mc(t)&&(te[1]&&(e[1]=t))}function dc(e,t){mc(t)&&te[1]&&(e[1]=t)}function pc(e,t){hc(t[0],t[1])&&(t[0]e[1]&&(e[1]=t[1]))}function mc(e){return e!=null&&isFinite(e)}function hc(e,t){return mc(e)&&mc(t)&&e<=t}function gc(e){var t=e[1]-e[0];return isFinite(t)&&t>=0}function _c(e){hc(e[0],e[1])&&e[0]>e[1]&&(e[0]=e[1])}function vc(){var e=`__ec_once_`+ yc++;return function(t,n){K(t,e)||(t[e]=1,n())}}var yc=ps();function bc(e,t,n){var r=G(),i=0;F(e,function(a){var o=t(a),s=r.get(o)||0;n&&n(a,s),!s&&!n&&(e[i++]=a),r.set(o,s+1)}),n||(e.length=i)}function xc(e){return e.value+``}function Sc(e){return e+``}function Cc(e,t){return W(t,!0)?e.seriesIndex+2:0}function wc(e,t,n){var r=e.getData().count();return{progressiveRender:n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,large:e.get(`large`)&&r>=e.get(`largeThreshold`),modDataCount:e.get(`progressiveChunkMode`)===`mod`?e.getData().count():null}}function Tc(e,t){return{seriesType:e,overallReset:t}}function Ec(e){return{overallReset:e}}var Dc=`.`,Oc=`___EC__COMPONENT__CONTAINER___`,kc=`___EC__EXTENDED_CLASS___`;function Ac(e){var t={main:``,sub:``};if(e){var n=e.split(Dc);t.main=n[0]||``,t.sub=n[1]||``}return t}function jc(e){Ce(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),`componentType "`+e+`" illegal`)}function Mc(e){return!!(e&&e[kc])}function Nc(e,t){e.$constructor=e,e.extend=function(e){var t=this,r;return Pc(t)?r=function(e){n(t,e);function t(){return e.apply(this,arguments)||this}return t}(t):(r=function(){(e.$constructor||t).apply(this,arguments)},re(r,this)),M(r.prototype,e),r[kc]=!0,r.extend=this.extend,r.superCall=Rc,r.superApply=zc,r.superClass=t,r}}function Pc(e){return V(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Fc(e,t){e.extend=t.extend}var Ic=Math.round(Math.random()*10);function Lc(e){var t=[`__\0is_clz`,Ic++].join(`_`);e.prototype[t]=!0,e.isInstance=function(e){return!!(e&&e[t])}}function Rc(e,t){var n=[...arguments].slice(2);return this.superClass.prototype[t].apply(e,n)}function zc(e,t,n){return this.superClass.prototype[t].apply(e,n)}function Bc(e){var t={};e.registerClass=function(e){var r=e.type||e.prototype.type;if(r){jc(r),e.prototype.type=r;var i=Ac(r);if(!i.sub)t[i.main]=e;else if(i.sub!==Oc){var a=n(i);a[i.sub]=e}}return e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[Oc]&&(i=n?i[n]:null),r&&!i)throw Error(n?`Component `+e+`.`+(n||``)+` is used but not imported.`:e+`.type should be specified.`);return i},e.getClassesByMainType=function(e){var n=Ac(e),r=[],i=t[n.main];return i&&i[Oc]?F(i,function(e,t){t!==Oc&&r.push(e)}):r.push(i),r},e.hasClass=function(e){return!!t[Ac(e).main]},e.getAllClassMainTypes=function(){var e=[];return F(t,function(t,n){e.push(n)}),e},e.hasSubTypes=function(e){var n=t[Ac(e).main];return n&&n[Oc]};function n(e){var n=t[e.main];return(!n||!n[Oc])&&(n=t[e.main]={},n[Oc]=!0),n}}function Vc(e,t){for(var n=0;n=0||i&&P(i,s)<0)){var c=n.getShallow(s,t);c!=null&&(a[e[o][0]]=c)}}return a}}var Hc=Vc([[`fill`,`color`],[`shadowBlur`],[`shadowOffsetX`],[`shadowOffsetY`],[`opacity`],[`shadowColor`]]),Uc=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return Hc(this,e,t)},e}(),Wc=new Dr(50);function Gc(e){if(typeof e==`string`){var t=Wc.get(e);return t&&t.image}else return e}function Kc(e,t,n,r,i){if(!e)return t;if(typeof e==`string`){if(t&&t.__zrImageSrc===e||!n)return t;var a=Wc.get(e),o={hostEl:n,cb:r,cbPayload:i};return a?(t=a.image,!Jc(t)&&a.pending.push(o)):(t=f.loadImage(e,qc,qc),t.__zrImageSrc=e,Wc.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e}function qc(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=s;l++)c-=s;var u=za(o,n);return u>c&&(n=``,u=0),c=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=c,i.containerWidth=e,i}function $c(e,t,n){var r=n.containerWidth,i=n.contentWidth,a=n.fontMeasureInfo;if(!r){e.textLine=``,e.isTruncated=!1;return}var o=za(a,t);if(o<=r){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=n.maxIterations){t+=n.ellipsis;break}var c=s===0?el(t,i,a):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,c),o=za(a,t)}t===``&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function el(e,t,n){for(var r=0,i=0,a=e.length;ig&&p){var y=Math.floor(g/f);m=m||_.length>y,_=_.slice(0,y),v=_.length*f}if(i&&u&&h!=null)for(var b=Qc(h,l,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),x={},S=0;S<_.length;S++)$c(x,_[S],b),_[S]=x.textLine,m=m||x.isTruncated;for(var C=g,w=0,T=Na(l),S=0;S<_.length;S++)w=Math.max(za(T,_[S]),w);h??(h=w);var E=h;return C+=c,E+=s,{lines:_,height:g,outerWidth:E,outerHeight:C,lineHeight:f,calculatedLineHeight:d,contentWidth:w,contentHeight:v,width:h,isTruncated:m}}var nl=function(){function e(){}return e}(),rl=function(){function e(e){this.tokens=[],e&&(this.tokens=e)}return e}(),il=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function al(e,t,n,r,i){var a=new il,o=ml(e);if(!o)return a;var s=t.padding,c=s?s[1]+s[3]:0,l=s?s[0]+s[2]:0,u=t.width;u==null&&n!=null&&(u=n-c);var d=t.height;d==null&&r!=null&&(d=r-l);for(var f=t.overflow,p=(f===`break`||f===`breakAll`)&&u!=null?{width:u,accumWidth:0,breakAll:f===`breakAll`}:null,m=Yc.lastIndex=0,h;(h=Yc.exec(o))!=null;){var g=h.index;g>m&&ol(a,o.substring(m,g),t,p),ol(a,h[2],t,p,h[1]),m=Yc.lastIndex}md){var N=a.lines.length;O>0?(T.tokens=T.tokens.slice(0,O),C(T,D,E),a.lines=a.lines.slice(0,w+1)):a.lines=a.lines.slice(0,w),a.isTruncated=a.isTruncated||a.lines.length0&&m+r.accumWidth>r.width&&(u=t.split(` +`),l=!0),r.accumWidth=m}else{var h=ul(t,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=h.accumWidth+p,d=h.linesWidths,u=h.lines}}u||(u=t.split(` +`));for(var g=Na(c),_=0;_=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var cl=oe(`,&?/;] `.split(``),function(e,t){return e[t]=!0,e},{});function ll(e){return sl(e)?!!cl[e]:!0}function ul(e,t,n,r,i){for(var a=[],o=[],s=``,c=``,l=0,u=0,d=Na(t),f=0;fn:i+u+m>n){u?(s||c)&&(h?(s||(s=c,c=``,l=0,u=l),a.push(s),o.push(u-l),c+=p,l+=m,s=``,u=l):(c&&(s+=c,c=``,l=0),a.push(s),o.push(u),s=p,u=m)):h?(a.push(c),o.push(l),c=p,l=m):(a.push(p),o.push(m));continue}u+=m,h?(c+=p,l+=m):(c&&(s+=c,c=``,l=0),s+=p)}return c&&(s+=c),s&&(a.push(s),o.push(u)),a.length===1&&(u+=i),{accumWidth:u,lines:a,linesWidths:o}}function dl(e,t,n,r,i,a){if(e.baseX=n,e.baseY=r,e.outerWidth=e.outerHeight=null,t){var o=t.width*2,s=t.height*2;J.set(fl,Ha(n,o,i),Ua(r,s,a),o,s),J.intersect(t,fl,null,pl);var c=pl.outIntersectRect;e.outerWidth=c.width,e.outerHeight=c.height,e.baseX=Ha(c.x,c.width,i,!0),e.baseY=Ua(c.y,c.height,a,!0)}}var fl=new J(0,0,0,0),pl={outIntersectRect:{},clamp:!0};function ml(e){return e==null?e=``:e+=``}function hl(e){var t=ml(e.text),n=e.font;return gl(e,za(Na(n),t),Wa(n),null)}function gl(e,t,n,r){var i=new J(Ha(e.x||0,t,e.textAlign),Ua(e.y||0,n,e.textBaseline),t,n),a=r??(_l(e)?e.lineWidth:0);return a>0&&(i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a),i}function _l(e){var t=e.stroke;return t!=null&&t!==`none`&&e.lineWidth>0}var vl=`__zr_style_`+Math.round(Math.random()*10),yl={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:`#000`,opacity:1,blend:`source-over`},bl={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};yl[vl]=!0;var xl=[`z`,`z2`,`invisible`],Sl=[`invisible`],Cl=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype._init=function(t){for(var n=L(t),r=0;r1e-4){s[0]=e-n,s[1]=t-r,c[0]=e+n,c[1]=t+r;return}if(Ml[0]=Al(i)*n+e,Ml[1]=kl(i)*r+t,Nl[0]=Al(a)*n+e,Nl[1]=kl(a)*r+t,l(s,Ml,Nl),u(c,Ml,Nl),i%=jl,i<0&&(i+=jl),a%=jl,a<0&&(a+=jl),i>a&&!o?a+=jl:ii&&(Pl[0]=Al(p)*n+e,Pl[1]=kl(p)*r+t,l(s,Pl,s),u(c,Pl,c))}var Hl={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ul=[],Wl=[],Gl=[],Kl=[],ql=[],Jl=[],Yl=Math.min,Xl=Math.max,Zl=Math.cos,Ql=Math.sin,$l=Math.abs,eu=Math.PI,tu=eu*2,nu=typeof Float32Array<`u`,ru=[];function iu(e){return Math.round(e/eu*1e8)/1e8%2*eu}function au(e,t){var n=iu(e[0]);n<0&&(n+=tu);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=tu?i=n+tu:t&&n-i>=tu?i=n-tu:!t&&n>i?i=n+(tu-iu(n-i)):t&&n0&&(this._ux=$l(n/ga/e)||0,this._uy=$l(n/ga/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Hl.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=$l(e-this._xi),r=$l(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(Hl.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var a=n*n+r*r;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,a){return this._drawPendingPt(),this.addData(Hl.C,e,t,n,r,i,a),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,a),this._xi=i,this._yi=a,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(Hl.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,a){this._drawPendingPt(),ru[0]=r,ru[1]=i,au(ru,a),r=ru[0],i=ru[1];var o=i-r;return this.addData(Hl.A,e,t,n,n,r,o,0,+!a),this._ctx&&this._ctx.arc(e,t,n,r,i,a),this._xi=Zl(i)*n+e,this._yi=Ql(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(Hl.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(Hl.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){if(this._saveData){var t=e.length;!(this.data&&this.data.length===t)&&nu&&(this.data=new Float32Array(t));for(var n=0;n0&&a))for(var o=0;ol.length&&(this._expandData(),l=this.data);for(var u=0;u0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){Gl[0]=Gl[1]=ql[0]=ql[1]=Number.MAX_VALUE,Kl[0]=Kl[1]=Jl[0]=Jl[1]=-Number.MAX_VALUE;var e=this.data,t=0,n=0,r=0,i=0,a;for(a=0;an||$l(v)>r||d===t-1)&&(m=Math.sqrt(_*_+v*v),i=h,a=g);break;case Hl.C:var y=e[d++],b=e[d++],h=e[d++],g=e[d++],x=e[d++],S=e[d++];m=mr(i,a,y,b,h,g,x,S,10),i=x,a=S;break;case Hl.Q:var y=e[d++],b=e[d++],h=e[d++],g=e[d++];m=xr(i,a,y,b,h,g,10),i=h,a=g;break;case Hl.A:var C=e[d++],w=e[d++],T=e[d++],E=e[d++],D=e[d++],O=e[d++],k=O+D;d+=1,p&&(o=Zl(D)*T+C,s=Ql(D)*E+w),m=Xl(T,E)*Yl(tu,Math.abs(O)),i=Zl(k)*T+C,a=Ql(k)*E+w;break;case Hl.R:o=i=e[d++],s=a=e[d++];var A=e[d++],j=e[d++];m=A*2+j*2;break;case Hl.Z:var _=o-i,v=s-a;m=Math.sqrt(_*_+v*v),i=o,a=s;break}m>=0&&(c[u++]=m,l+=m)}return this._pathLen=l,l},e.prototype.rebuildPath=function(e,t){var n=this.data,r=this._ux,i=this._uy,a=this._len,o,s,c,l,u,d,f=t<1,p,m,h=0,g=0,_,v=0,y,b;if(!(f&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,m=this._pathLen,_=t*m,!_)))lo:for(var x=0;x0&&(e.lineTo(y,b),v=0),S){case Hl.M:o=c=n[x++],s=l=n[x++],e.moveTo(c,l);break;case Hl.L:u=n[x++],d=n[x++];var w=$l(u-c),T=$l(d-l);if(w>r||T>i){if(f){var E=p[g++];if(h+E>_){var D=(_-h)/E;e.lineTo(c*(1-D)+u*D,l*(1-D)+d*D);break lo}h+=E}e.lineTo(u,d),c=u,l=d,v=0}else{var O=w*w+T*T;O>v&&(y=u,b=d,v=O)}break;case Hl.C:var k=n[x++],A=n[x++],j=n[x++],ee=n[x++],M=n[x++],te=n[x++];if(f){var E=p[g++];if(h+E>_){var D=(_-h)/E;fr(c,k,j,M,D,Ul),fr(l,A,ee,te,D,Wl),e.bezierCurveTo(Ul[1],Wl[1],Ul[2],Wl[2],Ul[3],Wl[3]);break lo}h+=E}e.bezierCurveTo(k,A,j,ee,M,te),c=M,l=te;break;case Hl.Q:var k=n[x++],A=n[x++],j=n[x++],ee=n[x++];if(f){var E=p[g++];if(h+E>_){var D=(_-h)/E;yr(c,k,j,D,Ul),yr(l,A,ee,D,Wl),e.quadraticCurveTo(Ul[1],Wl[1],Ul[2],Wl[2]);break lo}h+=E}e.quadraticCurveTo(k,A,j,ee),c=j,l=ee;break;case Hl.A:var N=n[x++],ne=n[x++],P=n[x++],re=n[x++],ie=n[x++],ae=n[x++],F=n[x++],I=!n[x++],oe=P>re?P:re,se=$l(P-re)>.001,ce=ie+ae,L=!1;if(f){var E=p[g++];h+E>_&&(ce=ie+ae*(_-h)/E,L=!0),h+=E}if(se&&e.ellipse?e.ellipse(N,ne,P,re,F,ie,ce,I):e.arc(N,ne,oe,ie,ce,I),L)break lo;C&&(o=Zl(ie)*P+N,s=Ql(ie)*re+ne),c=Zl(ce)*P+N,l=Ql(ce)*re+ne;break;case Hl.R:o=c=n[x],s=l=n[x+1],u=n[x++],d=n[x++];var le=n[x++],R=n[x++];if(f){var E=p[g++];if(h+E>_){var z=_-h;e.moveTo(u,d),e.lineTo(u+Yl(z,le),d),z-=le,z>0&&e.lineTo(u+le,d+Yl(z,R)),z-=R,z>0&&e.lineTo(u+Xl(le-z,0),d+R),z-=le,z>0&&e.lineTo(u,d+Xl(R-z,0));break lo}h+=E}e.rect(u,d,le,R);break;case Hl.Z:if(f){var E=p[g++];if(h+E>_){var D=(_-h)/E;e.lineTo(c*(1-D)+o*D,l*(1-D)+s*D);break lo}h+=E}e.closePath(),c=o,l=s}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=Hl,e.initDefaultProps=(function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),e}();function su(e,t,n,r,i,a,o){if(i===0)return!1;var s=i,c=0,l=e;if(o>t+s&&o>r+s||oe+s&&a>n+s||at+d&&u>r+d&&u>a+d&&u>s+d||ue+d&&l>n+d&&l>i+d&&l>o+d||lt+l&&c>r+l&&c>a+l||ce+l&&s>n+l&&s>i+l||sn||u+li&&(i+=fu);var f=Math.atan2(c,s);return f<0&&(f+=fu),f>=r&&f<=i||f+fu>=r&&f+fu<=i}function mu(e,t,n,r,i,a){if(a>t&&a>r||ai?s:0}var hu=ou.CMD,gu=Math.PI*2,_u=1e-4;function vu(e,t){return Math.abs(e-t)<_u}var yu=[-1,-1,-1],bu=[-1,-1];function xu(){var e=bu[0];bu[0]=bu[1],bu[1]=e}function Su(e,t,n,r,i,a,o,s,c,l){if(l>t&&l>r&&l>a&&l>s||l1&&xu(),p=cr(t,r,a,s,bu[0]),f>1&&(m=cr(t,r,a,s,bu[1]))),f===2?gt&&s>r&&s>a||s=0&&l<=1){for(var u=0,d=hr(t,r,a,l),f=0;fn||s<-n)return 0;var c=Math.sqrt(n*n-s*s);yu[0]=-c,yu[1]=c;var l=Math.abs(r-i);if(l<1e-4)return 0;if(l>=gu-1e-4){r=0,i=gu;var u=a?1:-1;return o>=yu[0]+e&&o<=yu[1]+e?u:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=gu,i+=gu);for(var f=0,p=0;p<2;p++){var m=yu[p];if(m+e>o){var h=Math.atan2(s,m),u=a?1:-1;h<0&&(h=gu+h),(h>=r&&h<=i||h+gu>=r&&h+gu<=i)&&(h>Math.PI/2&&h1&&(n||(s+=mu(c,l,u,d,r,i))),g&&(c=a[m],l=a[m+1],u=c,d=l),h){case hu.M:u=a[m++],d=a[m++],c=u,l=d;break;case hu.L:if(n){if(su(c,l,a[m],a[m+1],t,r,i))return!0}else s+=mu(c,l,a[m],a[m+1],r,i)||0;c=a[m++],l=a[m++];break;case hu.C:if(n){if(cu(c,l,a[m++],a[m++],a[m++],a[m++],a[m],a[m+1],t,r,i))return!0}else s+=Su(c,l,a[m++],a[m++],a[m++],a[m++],a[m],a[m+1],r,i)||0;c=a[m++],l=a[m++];break;case hu.Q:if(n){if(lu(c,l,a[m++],a[m++],a[m],a[m+1],t,r,i))return!0}else s+=Cu(c,l,a[m++],a[m++],a[m],a[m+1],r,i)||0;c=a[m++],l=a[m++];break;case hu.A:var _=a[m++],v=a[m++],y=a[m++],b=a[m++],x=a[m++],S=a[m++];m+=1;var C=!!(1-a[m++]);f=Math.cos(x)*y+_,p=Math.sin(x)*b+v,g?(u=f,d=p):s+=mu(c,l,f,p,r,i);var w=(r-_)*b/y+_;if(n){if(pu(_,v,b,x,x+S,C,t,w,i))return!0}else s+=wu(_,v,b,x,x+S,C,w,i);c=Math.cos(x+S)*y+_,l=Math.sin(x+S)*b+v;break;case hu.R:u=c=a[m++],d=l=a[m++];var T=a[m++],E=a[m++];if(f=u+T,p=d+E,n){if(su(u,d,f,d,t,r,i)||su(f,d,f,p,t,r,i)||su(f,p,u,p,t,r,i)||su(u,p,u,d,t,r,i))return!0}else s+=mu(f,d,f,p,r,i),s+=mu(u,p,u,d,r,i);break;case hu.Z:if(n){if(su(c,l,u,d,t,r,i))return!0}else s+=mu(c,l,u,d,r,i);c=u,l=d;break}}return!n&&!vu(l,d)&&(s+=mu(c,l,u,d,r,i)||0),s!==0}function Eu(e,t,n){return Tu(e,0,!1,t,n)}function Du(e,t,n,r){return Tu(e,t,!0,n,r)}var Ou=N({fill:`#000`,stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:`butt`,miterLimit:10,strokeNoScale:!1,strokeFirst:!1},yl),ku={style:N({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},bl.style)},Au=ja.concat([`invisible`,`culling`,`z`,`z2`,`zlevel`,`parent`]),ju=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var a=i.style;for(var o in r)a[o]!==r[o]&&(a[o]=r[o]);a.fill=r.fill?r.decal:null,a.decal=null,a.shadowColor=null,r.strokeFirst&&(a.stroke=null);for(var s=0;s.5?va:t>.2?ba:ya}else if(e)return ya}return va},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(H(t)){var n=this.__zr;if(!!(n&&n.isDarkMode())==ei(e,0)<.4)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=-5},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new ou(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(t==null||t===`none`||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style.fill;return e!=null&&e!==`none`},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&4)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){a.copy(e);var o=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;s=Math.max(s,c??4)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var a=this.path;if(this.hasStroke()){var o=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),Du(a,o/s,e,t)))return!0}if(this.hasFill())return Eu(a,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate(`shape`,e)},t.prototype.updateDuringAnimation=function(e){e===`style`?this.dirtyStyle():e===`shape`?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){t===`shape`?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),typeof e==`string`?n[e]=t:M(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&4)},t.prototype.createStyle=function(e){return Ne(Ou,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=M({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,a,o){if(e.prototype._applyStateObj.call(this,t,n,r,i,a,o),this.__inHover!==1){var s=!(n&&i),c;if(n&&n.shape?a?i?c=n.shape:(c=M({},r.shape),M(c,n.shape)):(c=M({},i?this.shape:r.shape),M(c,n.shape)):s&&(c=r.shape),c)if(a){this.shape=M({},this.shape);for(var l={},u=L(c),d=0;di&&(d=s+c,s*=i/d,c*=i/d),l+u>i&&(d=l+u,l*=i/d,u*=i/d),c+l>a&&(d=c+l,c*=a/d,l*=a/d),s+u>a&&(d=s+u,s*=a/d,u*=a/d),e.moveTo(n+s,r),e.lineTo(n+i-c,r),c!==0&&e.arc(n+i-c,r+c,c,-Math.PI/2,0),e.lineTo(n+i,r+a-l),l!==0&&e.arc(n+i-l,r+a-l,l,0,Math.PI/2),e.lineTo(n+u,r+a),u!==0&&e.arc(n+u,r+a-u,u,Math.PI/2,Math.PI),e.lineTo(n,r+s),s!==0&&e.arc(n+s,r+s,s,Math.PI,Math.PI*1.5),e.closePath()}var zu=Math.round;function Bu(e,t,n){if(t){var r=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=r,e.x2=i,e.y1=a,e.y2=o;var s=n&&n.lineWidth;return s?(zu(r*2)===zu(i*2)&&(e.x1=e.x2=Hu(r,s,!0)),zu(a*2)===zu(o*2)&&(e.y1=e.y2=Hu(a,s,!0)),e):e}}function Vu(e,t,n){if(t){var r=t.x,i=t.y,a=t.width,o=t.height;e.x=r,e.y=i,e.width=a,e.height=o;var s=n&&n.lineWidth;return s?(e.x=Hu(r,s,!0),e.y=Hu(i,s,!0),e.width=Math.max(Hu(r+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(Hu(i+o,s,!1)-e.y,o===0?0:1),e):e}}function Hu(e,t,n){if(!t)return e;var r=zu(e*2);return(r+zu(t))%2==0?r/2:(r+(n?1:-1))/2}var Uu=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Wu={},Gu=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype.getDefaultShape=function(){return new Uu},t.prototype.buildPath=function(e,t){var n,r,i,a;if(this.subPixelOptimize){var o=Vu(Wu,t,this.style);n=o.x,r=o.y,i=o.width,a=o.height,o.r=t.r,t=o}else n=t.x,r=t.y,i=t.width,a=t.height;t.r?Ru(e,t):e.rect(n,r,i,a)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(ju);Gu.prototype.type=`rect`;var Ku={fill:`#000`},qu=2,Ju={},Yu={style:N({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},bl.style)},Xu=function(e){n(t,e);function t(t){var n=e.call(this)||this;return n.type=`text`,n._children=[],n._defaultStyle=Ku,n.attr(t),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t0,T=0;T=0&&(D=y[E],D.align===`right`);)this._placeToken(D,e,x,m,T,`right`,g),S-=D.width,T-=D.width,E--;for(w+=(s-(w-p)-(h-T)-S)/2;C<=E;)D=y[C],this._placeToken(D,e,x,m,w+D.width/2,`center`,g),w+=D.width,C++;m+=x}},t.prototype._placeToken=function(e,t,n,r,i,a,o){var s=t.rich[e.styleName]||{};s.text=e.text;var c=e.verticalAlign,l=r+n/2;c===`top`?l=r+e.height/2:c===`bottom`&&(l=r+n-e.height/2),!e.isLineHolder&&ld(s)&&this._renderBackground(s,t,a===`right`?i-e.width:a===`center`?i-e.width/2:i,l-e.height/2,e.width,e.height);var u=!!s.backgroundColor,d=e.textPadding;d&&(i=sd(i,a,d),l-=e.height/2-d[0]-e.innerHeight/2);var f=this._getOrCreateChild(Nu),p=f.createStyle();f.useStyle(p);var m=this._defaultStyle,h=!1,g=0,_=!1,v=od(`fill`in s?s.fill:`fill`in t?t.fill:(h=!0,m.fill)),y=ad(`stroke`in s?s.stroke:`stroke`in t?t.stroke:!u&&!o&&(!m.autoStroke||h)?(g=qu,_=!0,m.stroke):null),b=s.textShadowBlur>0||t.textShadowBlur>0;p.text=e.text,p.x=i,p.y=l,b&&(p.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,p.shadowColor=s.textShadowColor||t.textShadowColor||`transparent`,p.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),p.textAlign=a,p.textBaseline=`middle`,p.font=e.font||`12px sans-serif`,p.opacity=be(s.opacity,t.opacity,1),td(p,s),y&&(p.lineWidth=be(s.lineWidth,t.lineWidth,g),p.lineDash=W(s.lineDash,t.lineDash),p.lineDashOffset=t.lineDashOffset||0,p.stroke=y),v&&(p.fill=v),f.setBoundingRect(gl(p,e.contentWidth,e.contentHeight,_?0:null))},t.prototype._renderBackground=function(e,t,n,r,i,a){var o=e.backgroundColor,s=e.borderWidth,c=e.borderColor,l=o&&o.image,u=o&&!l,d=e.borderRadius,f=this,p,m;if(u||e.lineHeight||s&&c){p=this._getOrCreateChild(Gu),p.useStyle(p.createStyle()),p.style.fill=null;var h=p.shape;h.x=n,h.y=r,h.width=i,h.height=a,h.r=d,p.dirtyShape()}if(u){var g=p.style;g.fill=o||null,g.fillOpacity=W(e.fillOpacity,1)}else if(l){m=this._getOrCreateChild(Lu),m.onload=function(){f.dirtyStyle()};var _=m.style;_.image=o.image,_.x=n,_.y=r,_.width=i,_.height=a}if(s&&c){var g=p.style;g.lineWidth=s,g.stroke=c,g.strokeOpacity=W(e.strokeOpacity,1),g.lineDash=e.borderDash,g.lineDashOffset=e.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(g.strokeFirst=!0,g.lineWidth*=2)}var v=(p||m).style;v.shadowBlur=e.shadowBlur||0,v.shadowColor=e.shadowColor||`transparent`,v.shadowOffsetX=e.shadowOffsetX||0,v.shadowOffsetY=e.shadowOffsetY||0,v.opacity=be(e.opacity,t.opacity,1)},t.makeFont=function(e){var t=``;return nd(e)&&(t=[e.fontStyle,e.fontWeight,ed(e.fontSize),e.fontFamily||`sans-serif`].join(` `)),t&&we(t)||e.textFont||e.font},t}(Cl),Zu={left:!0,right:1,center:1},Qu={top:1,bottom:1,middle:1},$u=[`fontStyle`,`fontWeight`,`fontSize`,`fontFamily`];function ed(e){return typeof e==`string`&&(e.indexOf(`px`)!==-1||e.indexOf(`rem`)!==-1||e.indexOf(`em`)!==-1)?e:isNaN(+e)?`12px`:e+`px`}function td(e,t){for(var n=0;n<$u.length;n++){var r=$u[n],i=t[r];i!=null&&(e[r]=i)}}function nd(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function rd(e){return id(e),F(e.rich,id),e}function id(e){if(e){e.font=Xu.makeFont(e);var t=e.align;t===`middle`&&(t=`center`),e.align=t==null||Zu[t]?t:`left`;var n=e.verticalAlign;n===`center`&&(n=`middle`),e.verticalAlign=n==null||Qu[n]?n:`top`,e.padding&&(e.padding=Se(e.padding))}}function ad(e,t){return e==null||t<=0||e===`transparent`||e===`none`?null:e.image||e.colorStops?`#000`:e}function od(e){return e==null||e===`none`?null:e.image||e.colorStops?`#000`:e}function sd(e,t,n){return t===`right`?e-n[1]:t===`center`?e+n[3]/2-n[1]/2:e+n[3]}function cd(e){var t=e.text;return t!=null&&(t+=``),t}function ld(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Z=Js(),ud=function(e,t,n,r){if(r){var i=Z(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,i.ssrType=`chart`,r.type===`group`&&r.traverse(function(r){var i=Z(r);i.seriesIndex=e,i.dataIndex=n,i.dataType=t,i.ssrType=`chart`})}},dd=`series`,fd=G([`tooltip`,`label`,`itemName`,`itemId`,`itemGroupId`,`itemChildGroupId`,`seriesName`]),pd=`original`,md=`arrayRows`,hd=`objectRows`,gd=`keyedColumns`,_d=`typedArray`,vd=`unknown`,yd=`column`,bd=`Roam`,xd=[`getDom`,`getZr`,`getWidth`,`getHeight`,`getDevicePixelRatio`,`dispatchAction`,`isSSR`,`isDisposed`,`on`,`off`,`getDataURL`,`getConnectedDataURL`,`getOption`,`getId`,`updateLabelLayout`],Sd=function(){function e(e){F(xd,function(t){this[t]=R(e[t],e)},this)}return e}();function Cd(e,t){return t.mainType===`series`?e.getViewOfSeriesModel(t):e.getViewOfComponentModel(t)}var wd=1,Td={},Ed=Js(),Dd=Js(),Od=[`emphasis`,`blur`,`select`],kd=[`normal`,`emphasis`,`blur`,`select`],Ad=`highlight`,jd=`downplay`,Md=`select`,Nd=`unselect`,Pd=`toggleSelect`,Fd=`selectchanged`;function Id(e){return e!=null&&e!==`none`}function Ld(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function Rd(e){Ld(e,`emphasis`,2)}function zd(e){e.hoverState===2&&Ld(e,`normal`,0)}function Bd(e){Ld(e,`blur`,1)}function Vd(e){e.hoverState===1&&Ld(e,`normal`,0)}function Hd(e){e.selected=!0}function Ud(e){e.selected=!1}function Wd(e,t,n){t(e,n)}function Gd(e,t,n){Wd(e,t,n),e.isGroup&&e.traverse(function(e){Wd(e,t,n)})}function Kd(e,t){switch(t){case`emphasis`:e.hoverState=2;break;case`normal`:e.hoverState=0;break;case`blur`:e.hoverState=1;break;case`select`:e.selected=!0}}function qd(e,t,n,r){for(var i=e.style,a={},o=0;o=0,a=!1;if(e instanceof ju){var o=Ed(e),s=i&&o.selectFill||o.normalFill,c=i&&o.selectStroke||o.normalStroke;if(Id(s)||Id(c)){r=r||{};var l=r.style||{};l.fill===`inherit`?(a=!0,r=M({},r),l=M({},l),l.fill=s):!Id(l.fill)&&Id(s)?(a=!0,r=M({},r),l=M({},l),l.fill=ri(s)):!Id(l.stroke)&&Id(c)&&(a||(r=M({},r),l=M({},l)),l.stroke=ri(c)),r.style=l}}if(r&&r.z2==null){a||(r=M({},r));var u=e.z2EmphasisLift;r.z2=e.z2+(u??10)}return r}function Yd(e,t,n){if(n&&n.z2==null){n=M({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??9)}return n}function Xd(e,t,n){var r=P(e.currentStates,t)>=0,i=e.style.opacity,a=r?null:qd(e,[`opacity`],t,{opacity:1});n=n||{};var o=n.style||{};return o.opacity??(n=M({},n),o=M({opacity:r?i:a.opacity*.1},o),n.style=o),n}function Zd(e,t){var n=this.states[e];if(this.style){if(e===`emphasis`)return Jd(this,e,t,n);if(e===`blur`)return Xd(this,e,n);if(e===`select`)return Yd(this,e,n)}return n}function Qd(e){e.stateProxy=Zd;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=Zd),n&&(n.stateProxy=Zd)}function $d(e,t){!cf(e,t)&&!e.__highByOuter&&Gd(e,Rd)}function ef(e,t){!cf(e,t)&&!e.__highByOuter&&Gd(e,zd)}function tf(e,t){e.__highByOuter|=1<<(t||0),Gd(e,Rd)}function nf(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Gd(e,zd)}function rf(e){Gd(e,Bd)}function af(e){Gd(e,Vd)}function of(e){Gd(e,Hd)}function sf(e){Gd(e,Ud)}function cf(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function lf(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(t,i){var a=Dd(i),o=Cd(e,i),s=t===`series`;!s&&r.push(o),a.isBlured&&(o.group.traverse(function(e){Vd(e)}),s&&n.push(i)),a.isBlured=!1}),F(r,function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)})}function uf(e,t,n,r){var i=r.getModel();n=n||`coordinateSystem`;function a(e,t){for(var n=0;n0){var a={dataIndex:i,seriesIndex:e.seriesIndex};r!=null&&(a.dataType=r),t.push(a)}})}),t}function yf(e,t,n){Ef(e,!0),Gd(e,Qd),Sf(e,t,n)}function bf(e){Ef(e,!1)}function xf(e,t,n,r){r?bf(e):yf(e,t,n)}function Sf(e,t,n){var r=Z(e);t==null?r.focus&&(r.focus=null):(r.focus=t,r.blurScope=n)}var Cf=[`emphasis`,`blur`,`select`],wf={itemStyle:`getItemStyle`,lineStyle:`getLineStyle`,areaStyle:`getAreaStyle`};function Tf(e,t,n,r){n=n||`itemStyle`;for(var i=0;i1&&(o*=Rf(m),s*=Rf(m));var h=(i===a?-1:1)*Rf((o*o*(s*s)-o*o*(p*p)-s*s*(f*f))/(o*o*(p*p)+s*s*(f*f)))||0,g=h*o*p/s,_=h*-s*f/o,v=(e+n)/2+Bf(d)*g-zf(d)*_,y=(t+r)/2+zf(d)*g+Bf(d)*_,b=Wf([1,0],[(f-g)/o,(p-_)/s]),x=[(f-g)/o,(p-_)/s],S=[(-1*f-g)/o,(-1*p-_)/s],C=Wf(x,S);if(Uf(x,S)<=-1&&(C=Vf),Uf(x,S)>=1&&(C=0),C<0){var w=Math.round(C/Vf*1e6)/1e6;C=Vf*2+w%2*Vf}u.addData(l,v,y,o,s,b,C,d,a)}var Kf=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,qf=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Jf(e){var t=new ou;if(!e)return t;var n=0,r=0,i=n,a=r,o,s=ou.CMD,c=e.match(Kf);if(!c)return t;for(var l=0;lA*A+j*j&&(w=E,T=D),{cx:w,cy:T,x0:-u,y0:-d,x1:w*(i/x-1),y1:T*(i/x-1)}}function yp(e){var t;if(B(e)){var n=e.length;if(!n)return e;t=n===1?[e[0],e[0],0,0]:n===2?[e[0],e[0],e[1],e[1]]:n===3?e.concat(e[2]):e}else t=[e,e,e,e];return t}function bp(e,t){var n,r=mp(t.r,0),i=mp(t.r0||0,0),a=r>0;if(!(!a&&!(i>0))){if(a||(r=i,i=0),i>r){var o=r;r=i,i=o}var s=t.startAngle,c=t.endAngle;if(!(isNaN(s)||isNaN(c))){var l=t.cx,u=t.cy,d=!!t.clockwise,f=fp(c-s),p=f>sp&&f%sp;if(p>gp&&(f=p),!(r>gp))e.moveTo(l,u);else if(f>sp-gp)e.moveTo(l+r*lp(s),u+r*cp(s)),e.arc(l,u,r,s,c,!d),i>gp&&(e.moveTo(l+i*lp(c),u+i*cp(c)),e.arc(l,u,i,c,s,d));else{var m=void 0,h=void 0,g=void 0,_=void 0,v=void 0,y=void 0,b=void 0,x=void 0,S=void 0,C=void 0,w=void 0,T=void 0,E=void 0,D=void 0,O=void 0,k=void 0,A=r*lp(s),j=r*cp(s),ee=i*lp(c),M=i*cp(c),te=f>gp;if(te){var N=t.cornerRadius;N&&(n=yp(N),m=n[0],h=n[1],g=n[2],_=n[3]);var ne=fp(r-i)/2;if(v=hp(ne,g),y=hp(ne,_),b=hp(ne,m),x=hp(ne,h),w=S=mp(v,y),T=C=mp(b,x),(S>gp||C>gp)&&(E=r*lp(c),D=r*cp(c),O=i*lp(s),k=i*cp(s),fgp){var se=hp(g,w),ce=hp(_,w),L=vp(O,k,A,j,r,se,d),le=vp(E,D,ee,M,r,ce,d);e.moveTo(l+L.cx+L.x0,u+L.cy+L.y0),w0&&e.arc(l+L.cx,u+L.cy,se,dp(L.y0,L.x0),dp(L.y1,L.x1),!d),e.arc(l,u,r,dp(L.cy+L.y1,L.cx+L.x1),dp(le.cy+le.y1,le.cx+le.x1),!d),ce>0&&e.arc(l+le.cx,u+le.cy,ce,dp(le.y1,le.x1),dp(le.y0,le.x0),!d))}else e.moveTo(l+A,u+j),e.arc(l,u,r,s,c,!d);if(!(i>gp)||!te)e.lineTo(l+ee,u+M);else if(T>gp){var se=hp(m,T),ce=hp(h,T),L=vp(ee,M,E,D,i,-ce,d),le=vp(A,j,O,k,i,-se,d);e.lineTo(l+L.cx+L.x0,u+L.cy+L.y0),T0&&e.arc(l+L.cx,u+L.cy,ce,dp(L.y0,L.x0),dp(L.y1,L.x1),!d),e.arc(l,u,i,dp(L.cy+L.y1,L.cx+L.x1),dp(le.cy+le.y1,le.cx+le.x1),d),se>0&&e.arc(l+le.cx,u+le.cy,se,dp(le.y1,le.x1),dp(le.y0,le.x0),!d))}else e.lineTo(l+ee,u+M),e.arc(l,u,i,c,s,d)}e.closePath()}}}var xp=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),Sp=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype.getDefaultShape=function(){return new xp},t.prototype.buildPath=function(e,t){bp(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(ju);Sp.prototype.type=`sector`;var Cp=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),wp=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype.getDefaultShape=function(){return new Cp},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.PI*2;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(ju);wp.prototype.type=`ring`;function Tp(e,t,n,r){var i=[],a=[],o=[],s=[],c,l,u,d;if(r){u=[1/0,1/0],d=[-1/0,-1/0];for(var f=0,p=e.length;f=2){if(r){var a=Tp(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(n?o:o-1);s++){var c=a[s*2],l=a[s*2+1],u=i[(s+1)%o];e.bezierCurveTo(c[0],c[1],l[0],l[1],u[0],u[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,d=i.length;sJp[1]){if(i=!1,Yp.negativeSize||n)return i;var s=Kp(Jp[0]-qp[1]),c=Kp(qp[0]-Jp[1]);Wp(s,c)>Zp.len()&&(s=c||!Yp.bidirectional)&&(q.scale(Xp,o,-c*r),Yp.useDir&&Yp.calcDirMTV()))}}return i},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,a=t[0].dot(r)+i[e],o=a,s=a,c=1;c0){var d=u.duration,f=u.delay,p=u.easing,m={duration:d,delay:f||0,easing:p,done:a,force:!!a||!!o,setToFinal:!l,scope:e,during:o};s?t.animateFrom(n,m):t.animateTo(n,m)}else t.stopAnimation(),!s&&t.attr(n),o&&o(1),a&&a()}function im(e,t,n,r,i,a){rm(`update`,e,t,n,r,i,a)}function am(e,t,n,r,i,a){rm(`enter`,e,t,n,r,i,a)}function om(e){if(!e.__zr)return!0;for(var t=0;tzp,BezierCurve:()=>Lp,BoundingRect:()=>J,Circle:()=>rp,CompoundPath:()=>Bp,Ellipse:()=>ap,Group:()=>Y,HOVER_LAYER_FOR_INCREMENTAL:()=>2,HOVER_LAYER_FROM_THRESHOLD:()=>1,HOVER_LAYER_NO:()=>0,Image:()=>Lu,IncrementalDisplayable:()=>em,Line:()=>Np,LinearGradient:()=>Hp,OrientedBoundingRect:()=>Qp,Path:()=>ju,Point:()=>q,Polygon:()=>Op,Polyline:()=>Ap,RadialGradient:()=>Up,Rect:()=>Gu,Ring:()=>wp,Sector:()=>Sp,Text:()=>Xu,WH:()=>hm,XY:()=>mm,applyTransform:()=>Am,calcZ2Range:()=>$m,clipPointsByRect:()=>Fm,clipRectByRect:()=>Im,createIcon:()=>Lm,decomposeTransform:()=>rh,ensureCopyRect:()=>Xm,ensureCopyTransform:()=>Zm,expandOrShrinkRect:()=>Hm,extendPath:()=>vm,extendShape:()=>gm,getCurrentCanvasPainter:()=>ah,getShapeClass:()=>bm,getTransform:()=>km,groupTransition:()=>Pm,initProps:()=>am,isBoundingRectAxisAligned:()=>Jm,isElementRemoved:()=>om,lineLineIntersect:()=>zm,linePolygonIntersect:()=>Rm,makeImage:()=>Sm,makePath:()=>xm,mergePath:()=>wm,payloadDisableAnimation:()=>nh,registerShape:()=>ym,removeElement:()=>sm,removeElementWithFadeOut:()=>lm,resizePath:()=>Tm,retrieveZInfo:()=>Qm,setTooltipConfig:()=>Gm,subPixelOptimize:()=>Om,subPixelOptimizeLine:()=>Em,subPixelOptimizeRect:()=>Dm,transformDirection:()=>jm,traverseElements:()=>qm,traverseUpdateZ:()=>eh,updateProps:()=>im}),pm={},mm=[`x`,`y`],hm=[`width`,`height`];function gm(e){return ju.extend(e)}var _m=$f;function vm(e,t){return _m(e,t)}function ym(e,t){pm[e]=t}function bm(e){if(pm.hasOwnProperty(e))return pm[e]}function xm(e,t,n,r){var i=Qf(e,t);return n&&(r===`center`&&(n=Cm(n,i.getBoundingRect())),Tm(i,n)),i}function Sm(e,t,n){var r=new Lu({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if(n===`center`){var i={width:e.width,height:e.height};r.setStyle(Cm(t,i))}}});return r}function Cm(e,t){var n=t.width/t.height,r=e.height*n,i;r<=e.width?i=e.height:(r=e.width,i=r/n);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-r/2,y:o-i/2,width:r,height:i}}var wm=ep;function Tm(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function Em(e,t){return Bu(e,e,{lineWidth:t}),e}function Dm(e,t){return Vu(e,e,t),e}var Om=Hu;function km(e,t){for(var n=Gt([]);e&&e!==t;)qt(n,e.getLocalTransform(),n),e=e.parent;return n}function Am(e,t,n){return t&&!ae(t)&&(t=Oa.getLocalTransform(t)),n&&(t=Zt([],t)),st([],e,t)}function jm(e,t,n){var r=t[4]===0||t[5]===0||t[0]===0?1:jo(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:jo(2*t[4]/t[2]),a=[e===`left`?-r:e===`right`?r:0,e===`top`?-i:e===`bottom`?i:0];return a=Am(a,t,n),jo(a[0])>jo(a[1])?a[0]>0?`right`:`left`:a[1]>0?`bottom`:`top`}function Mm(e){return!e.isGroup}function Nm(e){return e.shape!=null}function Pm(e,t,n){if(!e||!t)return;function r(e){var t={};return e.traverse(function(e){Mm(e)&&e.anid&&(t[e.anid]=e)}),t}function i(e){var t={x:e.x,y:e.y,rotation:e.rotation};return Nm(e)&&(t.shape=A(e.shape)),t}var a=r(e);t.traverse(function(e){if(Mm(e)&&e.anid){var t=a[e.anid];if(t){var r=i(e);e.attr(i(t)),im(e,r,n,Z(e).dataIndex)}}})}function Fm(e,t){return I(e,function(e){var n=e[0];n=Ao(n,t.x),n=ko(n,t.x+t.width);var r=e[1];return r=Ao(r,t.y),r=ko(r,t.y+t.height),[n,r]})}function Im(e,t){var n=Ao(e.x,t.x),r=ko(e.x+e.width,t.x+t.width),i=Ao(e.y,t.y),a=ko(e.y+e.height,t.y+t.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function Lm(e,t,n){var r=M({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf(`image://`)===0?(i.image=e.slice(8),N(i,n),new Lu(r)):xm(e.replace(`path://`,``),r,n,`center`)}function Rm(e,t,n,r,i){for(var a=0,o=i[i.length-1];a1)return!1;var g=Bm(p,m,u,d)/f;return!(g<0||g>1)}function Bm(e,t,n,r){return e*r-n*t}function Vm(e){return e<=1e-6&&e>=-1e-6}function Hm(e,t,n,r,i){return t==null?e:(de(t)?Um[0]=Um[1]=Um[2]=Um[3]=t:(Um[0]=t[0],Um[1]=t[1],Um[2]=t[2],Um[3]=t[3]),r&&(Um[0]=Ao(0,Um[0]),Um[1]=Ao(0,Um[1]),Um[2]=Ao(0,Um[2]),Um[3]=Ao(0,Um[3])),n&&(Um[0]=-Um[0],Um[1]=-Um[1],Um[2]=-Um[2],Um[3]=-Um[3]),Wm(e,Um,`x`,`width`,3,1,i&&i[0]||0),Wm(e,Um,`y`,`height`,0,2,i&&i[1]||0),e)}var Um=[0,0,0,0];function Wm(e,t,n,r,i,a,o){var s=t[a]+t[i],c=e[r];e[r]+=s,o=Ao(0,ko(o,c)),e[r]=0?-t[i]:t[a]>=0?c+t[a]:jo(s)>1e-8?(c-o)*t[i]/s:0):e[n]-=t[i]}function Gm(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=H(t)?{formatter:t}:t,a=n.mainType,o=n.componentIndex,s={componentType:a,name:r,$vars:[`name`]};s[a+`Index`]=o;var c=e.formatterParamsExtra;c&&F(L(c),function(e){K(s,e)||(s[e]=c[e],s.$vars.push(e))});var l=Z(e.el);l.componentMainType=a,l.componentIndex=o,l.tooltipConfig={name:r,option:N({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function Km(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function qm(e,t){if(e)if(B(e))for(var n=0;nt&&(t=r),rt&&(n=t=0),{min:n,max:t}}function eh(e,t,n){th(e,t,n,-1/0)}function th(e,t,n,r){if(e.ignoreModelZ)return r;var i=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var o=e.childrenRef(),s=0;s=0&&n.push(e)}),n}}function zh(e,t){return j(j({},e,!0),t,!0)}var Bh={time:{month:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthAbbr:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],dayOfWeek:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],dayOfWeekAbbr:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`]},legend:{selector:{all:`All`,inverse:`Inv`}},toolbox:{brush:{title:{rect:`Box Select`,polygon:`Lasso Select`,lineX:`Horizontally Select`,lineY:`Vertically Select`,keep:`Keep Selections`,clear:`Clear Selections`}},dataView:{title:`Data View`,lang:[`Data View`,`Close`,`Refresh`]},dataZoom:{title:{zoom:`Zoom`,back:`Zoom Reset`}},magicType:{title:{line:`Switch to Line Chart`,bar:`Switch to Bar Chart`,stack:`Stack`,tiled:`Tile`}},restore:{title:`Restore`},saveAsImage:{title:`Save as Image`,lang:[`Right Click to Save Image`]}},series:{typeNames:{pie:`Pie chart`,bar:`Bar chart`,line:`Line chart`,scatter:`Scatter plot`,effectScatter:`Ripple scatter plot`,radar:`Radar chart`,tree:`Tree`,treemap:`Treemap`,boxplot:`Boxplot`,candlestick:`Candlestick`,k:`K line chart`,heatmap:`Heat map`,map:`Map`,parallel:`Parallel coordinate map`,lines:`Line graph`,graph:`Relationship graph`,sankey:`Sankey diagram`,funnel:`Funnel chart`,gauge:`Gauge`,pictorialBar:`Pictorial bar`,themeRiver:`Theme River Map`,sunburst:`Sunburst`,custom:`Custom chart`,chart:`Chart`}},aria:{general:{withTitle:`This is a chart about "{title}"`,withoutTitle:`This is a chart`},series:{single:{prefix:``,withName:` with type {seriesType} named {seriesName}.`,withoutName:` with type {seriesType}.`},multiple:{prefix:`. It consists of {seriesCount} series count.`,withName:` The {seriesId} series is a {seriesType} representing {seriesName}.`,withoutName:` The {seriesId} series is a {seriesType}.`,separator:{middle:``,end:``}}},data:{allData:`The data is as follows: `,partialData:`The first {displayCnt} items are: `,withName:`the data for {name} is {value}`,withoutName:`{value}`,separator:{middle:`, `,end:`. `}}}},Vh={time:{month:[`一月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`十一月`,`十二月`],monthAbbr:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],dayOfWeek:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`],dayOfWeekAbbr:[`日`,`一`,`二`,`三`,`四`,`五`,`六`]},legend:{selector:{all:`全选`,inverse:`反选`}},toolbox:{brush:{title:{rect:`矩形选择`,polygon:`圈选`,lineX:`横向选择`,lineY:`纵向选择`,keep:`保持选择`,clear:`清除选择`}},dataView:{title:`数据视图`,lang:[`数据视图`,`关闭`,`刷新`]},dataZoom:{title:{zoom:`区域缩放`,back:`区域缩放还原`}},magicType:{title:{line:`切换为折线图`,bar:`切换为柱状图`,stack:`切换为堆叠`,tiled:`切换为平铺`}},restore:{title:`还原`},saveAsImage:{title:`保存为图片`,lang:[`右键另存为图片`]}},series:{typeNames:{pie:`饼图`,bar:`柱状图`,line:`折线图`,scatter:`散点图`,effectScatter:`涟漪散点图`,radar:`雷达图`,tree:`树图`,treemap:`矩形树图`,boxplot:`箱型图`,candlestick:`K线图`,k:`K线图`,heatmap:`热力图`,map:`地图`,parallel:`平行坐标图`,lines:`线图`,graph:`关系图`,sankey:`桑基图`,funnel:`漏斗图`,gauge:`仪表盘图`,pictorialBar:`象形柱图`,themeRiver:`主题河流图`,sunburst:`旭日图`,custom:`自定义图表`,chart:`图表`}},aria:{general:{withTitle:`这是一个关于“{title}”的图表。`,withoutTitle:`这是一个图表,`},series:{single:{prefix:``,withName:`图表类型是{seriesType},表示{seriesName}。`,withoutName:`图表类型是{seriesType}。`},multiple:{prefix:`它由{seriesCount}个图表系列组成。`,withName:`第{seriesId}个系列是一个表示{seriesName}的{seriesType},`,withoutName:`第{seriesId}个系列是一个{seriesType},`,separator:{middle:`;`,end:`。`}}},data:{allData:`其数据是——`,partialData:`其中,前{displayCnt}项是——`,withName:`{name}的数据是{value}`,withoutName:`{value}`,separator:{middle:`,`,end:``}}}},Hh=`ZH`,Uh=`EN`,Wh=Uh,Gh={},Kh={},qh=i.domSupported?function(){return(document.documentElement.lang||navigator.language||navigator.browserLanguage||Wh).toUpperCase().indexOf(Hh)>-1?Hh:Wh}():Wh;function Jh(e,t){e=e.toUpperCase(),Kh[e]=new Ph(t),Gh[e]=t}function Yh(e){if(H(e)){var t=Gh[e.toUpperCase()]||{};return e===Hh||e===Uh?A(t):j(A(t),A(Gh[Wh]),!1)}else return j(A(e),A(Gh[Wh]),!1)}function Xh(e){return Kh[e]}function Zh(){return Kh[Wh]}Jh(Uh,Bh),Jh(Hh,Vh);var Qh=null;function $h(e){Qh||(Qh=e)}function eg(){return Qh}function tg(e,t){var n=eg(),r=t.breakOption,i=t.breakParsed;return!i&&n&&(i=n.parseAxisBreakOption(r,e)),i}function ng(e){var t=e.brk;return t?t.breaks:[]}function rg(e){var t=e.brk;return t?t.hasBreaks():!1}var ig=1e3,ag=ig*60,og=ag*60,sg=og*24,cg=sg*365,lg={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},ug={year:`{yyyy}`,month:`{MMM}`,day:`{d}`,hour:`{HH}:{mm}`,minute:`{HH}:{mm}`,second:`{HH}:{mm}:{ss}`,millisecond:`{HH}:{mm}:{ss} {SSS}`},dg=`{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}`,fg=`{yyyy}-{MM}-{dd}`,pg={year:`{yyyy}`,month:`{yyyy}-{MM}`,day:fg,hour:fg+` `+ug.hour,minute:fg+` `+ug.minute,second:fg+` `+ug.second,millisecond:dg},mg=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`],hg=[`year`,`half-year`,`quarter`,`month`,`week`,`half-week`,`day`,`half-day`,`quarter-day`,`hour`,`minute`,`second`,`millisecond`];function gg(e){return!H(e)&&!V(e)?_g(e):e}function _g(e){e=e||{};var t={},n=!0;return F(mg,function(t){n&&(n=e[t]==null)}),F(mg,function(r,i){var a=e[r];t[r]={};for(var o=null,s=i;s>=0;s--){var c=mg[s],l=U(a)&&!B(a)?a[c]:a,u=void 0;B(l)?(u=l.slice(),o=u[0]||``):H(l)?(o=l,u=[o]):(o==null?o=ug[r]:lg[c].test(o)||(o=t[c][c][0]+` `+o),u=[o],n&&(u[1]=`{primary|`+o+`}`)),t[r][c]=u}}),t}function vg(e,t){return e+=``,`0000`.substr(0,t-e.length)+e}function yg(e){switch(e){case`half-year`:case`quarter`:return`month`;case`week`:case`half-week`:return`day`;case`half-day`:case`quarter-day`:return`hour`;default:return e}}function bg(e){return e===yg(e)}function xg(e){switch(e){case`year`:case`month`:return`day`;case`millisecond`:return`millisecond`;default:return`second`}}function Sg(e,t,n,r){var i=as(e),a=i[Eg(n)](),o=i[Dg(n)]()+1,s=Math.floor((o-1)/3)+1,c=i[Og(n)](),l=i[`get`+(n?`UTC`:``)+`Day`](),u=i[kg(n)](),d=(u-1)%12+1,f=i[Ag(n)](),p=i[jg(n)](),m=i[Mg(n)](),h=u>=12?`pm`:`am`,g=h.toUpperCase(),_=(r instanceof Ph?r:Xh(r||qh)||Zh()).getModel(`time`),v=_.get(`month`),y=_.get(`monthAbbr`),b=_.get(`dayOfWeek`),x=_.get(`dayOfWeekAbbr`);return(t||``).replace(/{a}/g,h+``).replace(/{A}/g,g+``).replace(/{yyyy}/g,a+``).replace(/{yy}/g,vg(a%100+``,2)).replace(/{Q}/g,s+``).replace(/{MMMM}/g,v[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,vg(o,2)).replace(/{M}/g,o+``).replace(/{dd}/g,vg(c,2)).replace(/{d}/g,c+``).replace(/{eeee}/g,b[l]).replace(/{ee}/g,x[l]).replace(/{e}/g,l+``).replace(/{HH}/g,vg(u,2)).replace(/{H}/g,u+``).replace(/{hh}/g,vg(d+``,2)).replace(/{h}/g,d+``).replace(/{mm}/g,vg(f,2)).replace(/{m}/g,f+``).replace(/{ss}/g,vg(p,2)).replace(/{s}/g,p+``).replace(/{SSS}/g,vg(m,3)).replace(/{S}/g,m+``)}function Cg(e,t,n,r,i){var a=null;if(H(n))a=n;else if(V(n)){var o={time:e.time,level:e.time?e.time.level:0},s=eg();s&&s.makeAxisLabelFormatterParamBreak(o,e.break),a=n(e.value,t,o)}else{var c=e.time;if(c){var l=n[c.lowerTimeUnit][c.upperTimeUnit];a=l[Math.min(c.level,l.length-1)]||``}else{var u=wg(e.value,i);a=n[u][u][0]}}return Sg(new Date(e.value),a,i,r)}function wg(e,t){var n=as(e),r=n[Dg(t)]()+1,i=n[Og(t)](),a=n[kg(t)](),o=n[Ag(t)](),s=n[jg(t)](),c=n[Mg(t)]()===0,l=c&&s===0,u=l&&o===0,d=u&&a===0,f=d&&i===1;return f&&r===1?`year`:f?`month`:d?`day`:u?`hour`:l?`minute`:c?`second`:`millisecond`}function Tg(e,t,n){switch(t){case`year`:e[Pg(n)](0);case`month`:e[Fg(n)](1);case`day`:e[Ig(n)](0);case`hour`:e[Lg(n)](0);case`minute`:e[Rg(n)](0);case`second`:e[zg(n)](0)}return e}function Eg(e){return e?`getUTCFullYear`:`getFullYear`}function Dg(e){return e?`getUTCMonth`:`getMonth`}function Og(e){return e?`getUTCDate`:`getDate`}function kg(e){return e?`getUTCHours`:`getHours`}function Ag(e){return e?`getUTCMinutes`:`getMinutes`}function jg(e){return e?`getUTCSeconds`:`getSeconds`}function Mg(e){return e?`getUTCMilliseconds`:`getMilliseconds`}function Ng(e){return e?`setUTCFullYear`:`setFullYear`}function Pg(e){return e?`setUTCMonth`:`setMonth`}function Fg(e){return e?`setUTCDate`:`setDate`}function Ig(e){return e?`setUTCHours`:`setHours`}function Lg(e){return e?`setUTCMinutes`:`setMinutes`}function Rg(e){return e?`setUTCSeconds`:`setSeconds`}function zg(e){return e?`setUTCMilliseconds`:`setMilliseconds`}function Bg(e,t,n,r,i,a,o,s){return new Xu({style:{text:e,font:t,align:n,verticalAlign:r,padding:i,rich:a,overflow:o?`truncate`:null,lineHeight:s}}).getBoundingRect()}function Vg(e){if(!fs(e))return H(e)?e:`-`;var t=(e+``).split(`.`);return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,`$1,`)+(t.length>1?`.`+t[1]:``)}function Hg(e,t){return e=(e||``).toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Ug=Se;function Wg(e,t,n){var r=`{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}`;function i(e){return e&&we(e)?e:`-`}function a(e){return gs(e)}var o=t===`time`,s=e instanceof Date;if(o||s){var c=o?as(e):e;if(!isNaN(+c))return Sg(c,r,n);if(s)return`-`}if(t===`ordinal`)return ue(e)?i(e):de(e)&&a(e)?e+``:`-`;var l=ds(e);return a(l)?Vg(l):ue(e)?i(e):typeof e==`boolean`?e+``:`-`}var Gg=[`a`,`b`,`c`,`d`,`e`,`f`,`g`],Kg=function(e,t){return`{`+e+(t??``)+`}`};function qg(e,t,n){B(t)||(t=[t]);var r=t.length;if(!r)return``;for(var i=t[0].$vars||[],a=0;a`:``:{renderMode:a,content:`{`+(n.markerId||`markerX`)+`|} `,style:i===`subItem`?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:``}function Xg(e,t,n){(e===`week`||e===`month`||e===`quarter`||e===`half-year`||e===`year`)&&(e=`MM-dd +yyyy`);var r=as(t),i=n?`getUTC`:`get`,a=r[i+`FullYear`](),o=r[i+`Month`]()+1,s=r[i+`Date`](),c=r[i+`Hours`](),l=r[i+`Minutes`](),u=r[i+`Seconds`](),d=r[i+`Milliseconds`]();return e=e.replace(`MM`,vg(o,2)).replace(`M`,o).replace(`yyyy`,a).replace(`yy`,vg(a%100+``,2)).replace(`dd`,vg(s,2)).replace(`d`,s).replace(`hh`,vg(c,2)).replace(`h`,c).replace(`mm`,vg(l,2)).replace(`m`,l).replace(`ss`,vg(u,2)).replace(`s`,u).replace(`SSS`,vg(d,3)),e}function Zg(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)}function Qg(e,t){return t=t||`transparent`,H(e)?e:U(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function $g(e,t){if(t===`_blank`||t===`blank`){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var e_={},t_={},n_=function(){function e(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return e.prototype.create=function(e,t){this._nonSeriesBoxMasterList=n(e_,!0),this._normalMasterList=n(t_,!1);function n(n,r){var i=[];return F(n,function(n,r){var a=n.create(e,t);i=i.concat(a||[])}),i}},e.prototype.update=function(e,t){F(this._normalMasterList,function(n){n.update&&n.update(e,t)})},e.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},e.register=function(e,t){if(e===`matrix`||e===`calendar`){e_[e]=t;return}t_[e]=t},e.get=function(e){return t_[e]||e_[e]},e}();function r_(e){return!!e_[e]}function i_(e){a_.set(e.fullType,{getCoord2:void 0}).getCoord2=e.getCoord2}var a_=G();function o_(e){var t=e.getShallow(`coord`,!0),n=1;if(t==null){var r=a_.get(e.type);r&&r.getCoord2&&(n=2,t=r.getCoord2(e))}return{coord:t,from:n}}function s_(e,t){var n=e.getShallow(`coordinateSystem`),r=e.getShallow(`coordinateSystemUsage`,!0),i=0;if(n){var a=e.mainType===`series`;r??(r=a?`data`:`box`),r===`data`?(i=1,a||(i=0)):r===`box`&&(i=2,!a&&!r_(n)&&(i=0))}return{coordSysType:n,kind:i}}function c_(e){var t=e.targetModel,n=e.coordSysType,r=e.coordSysProvider,i=e.isDefaultDataCoordSys;e.allowNotFound;var a=s_(t,!0),o=a.kind,s=a.coordSysType;if(i&&o!==1&&(o=1,s=n),o===0||s!==n)return 0;var c=r(n,t);return c?(o===1?t.coordinateSystem=c:t.boxCoordinateSystem=c,o):0}var l_=function(e,t){var n=t.getReferringComponents(e,Qs).models[0];return n&&n.coordinateSystem},u_=F,d_=[`left`,`right`,`top`,`bottom`,`width`,`height`],f_=[[`width`,`left`,`right`],[`height`,`top`,`bottom`]];function p_(e,t,n,r,i){var a=0,o=0;r??(r=1/0),i??(i=1/0);var s=0;t.eachChild(function(c,l){var u=c.getBoundingRect(),d=t.childAt(l+1),f=d&&d.getBoundingRect(),p,m;if(e===`horizontal`){var h=u.width+(f?-f.x+u.x:0);p=a+h,p>r||c.newline?(a=0,p=h,o+=s+n,s=u.height):s=Math.max(s,u.height)}else{var g=u.height+(f?-f.y+u.y:0);m=o+g,m>i||c.newline?(a+=s+n,o=0,m=g,s=u.width):s=Math.max(s,u.width)}c.newline||(c.x=a,c.y=o,c.markRedraw(),e===`horizontal`?a=p+n:o=m+n)})}var m_=p_;z(p_,`vertical`),z(p_,`horizontal`);function h_(e,t){return{left:e.getShallow(`left`,t),top:e.getShallow(`top`,t),right:e.getShallow(`right`,t),bottom:e.getShallow(`bottom`,t),width:e.getShallow(`width`,t),height:e.getShallow(`height`,t)}}function g_(e,t){var n=x_(e,t,{enableLayoutOnlyByCenter:!0}),r=e.getBoxLayoutParams(),i,a;if(n.type===b_.point)a=n.refPoint,i=v_(r,{width:t.getWidth(),height:t.getHeight()});else{var o=e.get(`center`),s=B(o)?o:[o,o];i=v_(r,n.refContainer),a=n.boxCoordFrom===2?n.refPoint:[X(s[0],i.width)+i.x,X(s[1],i.height)+i.y]}return{viewRect:i,center:a}}function __(e,t){var n=g_(e,t),r=n.viewRect,i=n.center,a=e.get(`radius`);B(a)||(a=[0,a]);var o=X(r.width,t.getWidth()),s=X(r.height,t.getHeight()),c=Math.min(o,s),l=X(a[0],c/2),u=X(a[1],c/2);return{cx:i[0],cy:i[1],r0:l,r:u,viewRect:r}}function v_(e,t,n){n=Ug(n||0);var r=t.width,i=t.height,a=X(e.left,r),o=X(e.top,i),s=X(e.right,r),c=X(e.bottom,i),l=X(e.width,r),u=X(e.height,i),d=n[2]+n[0],f=n[1]+n[3],p=e.aspect;switch(isNaN(l)&&(l=r-s-f-a),isNaN(u)&&(u=i-c-d-o),p!=null&&(isNaN(l)&&isNaN(u)&&(p>r/i?l=r*.8:u=i*.8),isNaN(l)&&(l=p*u),isNaN(u)&&(u=l/p)),isNaN(a)&&(a=r-s-l-f),isNaN(o)&&(o=i-c-u-d),e.left||e.right){case`center`:a=r/2-l/2-n[3];break;case`right`:a=r-l-f;break}switch(e.top||e.bottom){case`middle`:case`center`:o=i/2-u/2-n[0];break;case`bottom`:o=i-u-d;break}a=a||0,o=o||0,isNaN(l)&&(l=r-f-a-(s||0)),isNaN(u)&&(u=i-d-o-(c||0));var m=new J((t.x||0)+a+n[3],(t.y||0)+o+n[0],l,u);return m.margin=n,m}function y_(e,t,n){var r=e.getShallow(`preserveAspect`,!0);if(!r)return t;var i=t.width/t.height;if(Math.abs(Math.atan(n)-Math.atan(i))<1e-9)return t;var a=e.getShallow(`preserveAspectAlign`,!0),o=e.getShallow(`preserveAspectVerticalAlign`,!0),s={width:t.width,height:t.height},c=r===`cover`;return i>n&&!c||i=u)return a;for(var d=0;d=0;o--)a=j(a,n[o],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+`Index`,r=e+`Id`;return ec(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){return h_(this,!1)},t.prototype.getZLevelKey=function(){return``},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type=`component`,e.id=``,e.name=``,e.mainType=``,e.subType=``,e.componentIndex=0}(),t}(Ph);Fc(k_,Ph),Bc(k_),Lh(k_),Rh(k_,A_);function A_(e){var t=[];return F(k_.getClassesByMainType(e),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=I(t,function(e){return Ac(e).main}),e!==`dataset`&&P(t,`dataset`)<=0&&t.unshift(`dataset`),t}var Q={color:{},darkColor:{},size:{}},j_=Q.color={theme:[`#5070dd`,`#b6d634`,`#505372`,`#ff994d`,`#0ca8df`,`#ffd10a`,`#fb628b`,`#785db0`,`#3fbe95`],neutral00:`#fff`,neutral05:`#f4f7fd`,neutral10:`#e8ebf0`,neutral15:`#dbdee4`,neutral20:`#cfd2d7`,neutral25:`#c3c5cb`,neutral30:`#b7b9be`,neutral35:`#aaacb2`,neutral40:`#9ea0a5`,neutral45:`#929399`,neutral50:`#86878c`,neutral55:`#797b7f`,neutral60:`#6d6e73`,neutral65:`#616266`,neutral70:`#54555a`,neutral75:`#48494d`,neutral80:`#3c3c41`,neutral85:`#303034`,neutral90:`#232328`,neutral95:`#17171b`,neutral99:`#000`,accent05:`#eff1f9`,accent10:`#e0e4f2`,accent15:`#d0d6ec`,accent20:`#c0c9e6`,accent25:`#b1bbdf`,accent30:`#a1aed9`,accent35:`#91a0d3`,accent40:`#8292cc`,accent45:`#7285c6`,accent50:`#6578ba`,accent55:`#5c6da9`,accent60:`#536298`,accent65:`#4a5787`,accent70:`#404c76`,accent75:`#374165`,accent80:`#2e3654`,accent85:`#252b43`,accent90:`#1b2032`,accent95:`#121521`,transparent:`rgba(0,0,0,0)`,highlight:`rgba(255,231,130,0.8)`};for(var M_ in M(j_,{primary:j_.neutral80,secondary:j_.neutral70,tertiary:j_.neutral60,quaternary:j_.neutral50,disabled:j_.neutral20,border:j_.neutral30,borderTint:j_.neutral20,borderShade:j_.neutral40,background:j_.neutral05,backgroundTint:`rgba(234,237,245,0.5)`,backgroundTransparent:`rgba(255,255,255,0)`,backgroundShade:j_.neutral10,shadow:`rgba(0,0,0,0.2)`,shadowTint:`rgba(129,130,136,0.2)`,axisLine:j_.neutral70,axisLineTint:j_.neutral40,axisTick:j_.neutral70,axisTickMinor:j_.neutral60,axisLabel:j_.neutral70,axisSplitLine:j_.neutral15,axisMinorSplitLine:j_.neutral05}),j_)if(j_.hasOwnProperty(M_)){var N_=j_[M_];M_===`theme`?Q.darkColor.theme=j_.theme.slice():M_===`highlight`?Q.darkColor.highlight=`rgba(255,231,130,0.4)`:M_.indexOf(`accent`)===0?Q.darkColor[M_]=Zr(N_,null,function(e){return e*.5},function(e){return Math.min(1,1.3-e)}):Q.darkColor[M_]=Zr(N_,null,function(e){return e*.9},function(e){return 1-e**1.5})}Q.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var P_=``;typeof navigator<`u`&&(P_=navigator.platform||``);var F_=`rgba(0, 0, 0, 0.2)`,I_=Q.color.theme[0],L_=Zr(I_,null,null,.9),R_={darkMode:`auto`,colorBy:`series`,color:Q.color.theme,gradientColor:[L_,I_],aria:{decal:{decals:[{color:F_,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:F_,symbol:`circle`,dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:F_,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:F_,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:F_,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:F_,symbol:`triangle`,dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:P_.match(/^Win/)?`Microsoft YaHei`:`sans-serif`,fontSize:12,fontStyle:`normal`,fontWeight:`normal`},blendMode:null,stateAnimation:{duration:300,easing:`cubicOut`},animation:`auto`,animationDuration:1e3,animationDurationUpdate:500,animationEasing:`cubicInOut`,animationEasingUpdate:`cubicInOut`,animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},z_={Must:1,Might:2,Not:3},B_=Js();function V_(e){B_(e).datasetMap=G()}function H_(e,t,n){var r={},i=W_(t);if(!i||!e)return r;var a=[],o=[],s=t.ecModel,c=B_(s).datasetMap,l=i.uid+`_`+n.seriesLayoutBy,u,d;e=e.slice(),F(e,function(t,n){var i=U(t)?t:e[n]={name:t};i.type===`ordinal`&&u==null&&(u=n,d=m(i)),r[i.name]=[]});var f=c.get(l)||c.set(l,{categoryWayDim:d,valueWayDim:0});F(e,function(e,t){var n=e.name,i=m(e);if(u==null){var s=f.valueWayDim;p(r[n],s,i),p(o,s,i),f.valueWayDim+=i}else if(u===t)p(r[n],0,i),p(a,0,i);else{var s=f.categoryWayDim;p(r[n],s,i),p(o,s,i),f.categoryWayDim+=i}});function p(e,t,n){for(var r=0;rt)return e[r];return e[n-1]}function nv(e,t,n,r,i,a,o){a=a||e;var s=t(a),c=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var u=o==null||!r?n:tv(r,o);if(u=u||n,!(!u||!u.length)){var d=u[c];return i&&(l[i]=d),s.paletteIdx=(c+1)%u.length,d}}function rv(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var iv,av,ov,sv=`\0_ec_inner`,cv=1,lv=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(e,t,n,r,i,a){r=r||{},this.option=null,this._theme=new Ph(r),this._locale=new Ph(i),this._optionManager=a},t.prototype.setOption=function(e,t,n){var r=mv(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,mv(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||e===`recreate`){var i=r.mountOption(e===`recreate`);!this.option||e===`recreate`?ov(this,i):(this.restoreData(),this._mergeOption(i,t)),n=!0}if((e===`timeline`||e===`media`)&&this.restoreData(),!e||e===`recreate`||e===`timeline`){var a=r.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,t))}if(!e||e===`recreate`||e===`media`){var o=r.getMediaOption(this);o.length&&F(o,function(e){n=!0,this._mergeOption(e,t)},this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,a=[],o=G(),s=t&&t.replaceMergeMainTypeMap;V_(this),F(e,function(e,t){e!=null&&(k_.hasClass(t)?t&&(a.push(t),o.set(t,!0)):n[t]=n[t]==null?A(e):j(n[t],e,!0))}),s&&s.each(function(e,t){k_.hasClass(t)&&!o.get(t)&&(a.push(t),o.set(t,!0))}),k_.topologicalTravel(a,k_.getAllClassMainTypes(),c,this);function c(t){var a=X_(this,t,Es(e[t])),o=r.get(t),c=js(o,a,o?s&&s.get(t)?`replaceMerge`:`normalMerge`:`replaceAll`);Ws(c,t,k_),n[t]=null,r.set(t,null),i.set(t,0);var l=[],u=[],d=0,f;F(c,function(e,n){var r=e.existing,i=e.newOption;if(!i)r&&(r.mergeOption({},this),r.optionUpdated({},!1));else{var a=t===`series`,o=k_.getClass(t,e.keyInfo.subType,!a);if(!o)return;if(t===`tooltip`){if(f)return;f=!0}if(r&&r.constructor===o)r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=M({componentIndex:n},e.keyInfo);r=new o(i,this,this,s),M(r,s),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}r?(l.push(r.option),u.push(r),d++):(l.push(void 0),u.push(void 0))},this),n[t]=l,r.set(t,u),i.set(t,d),t===`series`&&iv(this)}this._seriesIndices||iv(this)},t.prototype.getOption=function(){var e=A(this.option);return F(e,function(t,n){if(k_.hasClass(n)){for(var r=Es(t),i=r.length,a=!1,o=i-1;o>=0;o--)r[o]&&!Hs(r[o])?a=!0:(r[o]=null,!a&&i--);r.length=i,e[n]=r}}),delete e[sv],e},t.prototype.setTheme=function(e){this._theme=new Ph(e),this._resetOption(`recreate`,null)},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(t==null){for(var i=0;i=t:n===`max`?e<=t:e===t}function bv(e,t){return e.join(`,`)===t.join(`,`)}var xv=F,Sv=U,Cv=[`areaStyle`,`lineStyle`,`nodeStyle`,`linkStyle`,`chordStyle`,`label`,`labelLine`];function wv(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=Cv.length;n0?e[n-1].seriesModel:null)}),qv(e))})}function qv(e){F(e,function(t,n){var r=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,c=t.seriesModel.get(`stackStrategy`)||`samesign`;o.modify(a,function(a,l,u){var d=o.get(t.stackedDimension,u);if(isNaN(d))return i;var f,p;s?p=o.getRawIndex(u):f=o.get(t.stackedByDimension,u);for(var m=NaN,h=n-1;h>=0;h--){var g=e[h];if(s||(p=g.data.rawIndexOf(g.stackedByDimension,f)),p>=0){var _=g.data.getByRawIndex(g.stackResultDimension,p);if(c===`all`||c===`positive`&&_>0||c===`negative`&&_<0||c===`samesign`&&d>=0&&_>0||c===`samesign`&&d<=0&&_<0){d=es(d,_),m=_;break}}}return r[0]=d,r[1]=m,r})})}var Jv=function(){function e(e){this.data=e.data||(e.sourceFormat===`keyedColumns`?{}:[]),this.sourceFormat=e.sourceFormat||`unknown`,this.seriesLayoutBy=e.seriesLayoutBy||`column`,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;nl&&(l=p)}s[0]=c,s[1]=l}},r=function(){return this._data?this._data.length/this._dimSize:0};ly=(e={},e[md+`_`+yd]={pure:!0,appendData:i},e[md+`_row`]={pure:!0,appendData:function(){throw Error(`Do not support appendData when set seriesLayoutBy: "row".`)}},e[hd]={pure:!0,appendData:i},e[gd]={pure:!0,appendData:function(e){var t=this._data;F(e,function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])})}},e[pd]={appendData:i},e[_d]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(e){for(var t=0;t=0&&(s=a.interpolatedValue[c])}return s==null?``:s+``})},e.prototype.getRawValue=function(e,t){return Cy(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function Ey(e){var t,n;return U(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Dy(e){return new Oy(e)}var Oy=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t=this._upstream,n=e&&e.skip;if(this._dirty&&t){var r=this.context;r.data=r.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!n&&(i=this._plan(this.context));var a=l(this._modBy),o=this._modDataCount||0,s=l(e&&e.modBy),c=e&&e.modDataCount||0;(a!==s||o!==c)&&(i=`reset`);function l(e){return!(e>=1)&&(e=1),e}var u;(this._dirty||i===`reset`)&&(this._dirty=!1,u=this._doReset(n)),this._modBy=s,this._modDataCount=c;var d=e&&e.step;if(t?this._dueEnd=t._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,p=Math.min(d==null?1/0:this._dueIndex+d,this._dueEnd);if(!n&&(u||f1&&r>0?s:o}};return a;function o(){return t=e?null:at},gte:function(e,t){return e>=t}},Py=function(){function e(e,t){de(t)||Ss(``),this._opFn=Ny[e],this._rvalFloat=ds(t)}return e.prototype.evaluate=function(e){return de(e)?this._opFn(e,this._rvalFloat):this._opFn(ds(e),this._rvalFloat)},e}(),Fy=function(){function e(e,t){var n=e===`desc`;this._resultLT=n?1:-1,t??(t=n?`min`:`max`),this._incomparable=t===`min`?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=de(e)?e:ds(e),r=de(t)?t:ds(t),i=isNaN(n),a=isNaN(r);if(i&&(n=this._incomparable),a&&(r=this._incomparable),i&&a){var o=H(e),s=H(t);o&&(n=s?e:0),s&&(r=o?t:0)}return nr?-this._resultLT:0},e}(),Iy=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ds(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n!==this._rvalTypeof&&(n===`number`||this._rvalTypeof===`number`)&&(t=ds(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function Ly(e,t){return e===`eq`||e===`ne`?new Iy(e===`eq`,t):K(Ny,e)?new Py(e,t):null}function Ry(e){var t=``,n=-1/0,r=-1/0,i=1/0,a=1/0;return e&&(e.g!=null&&(t+=`G`+e.g,n=e.g),e.ge!=null&&(t+=`GE`+e.ge,r=e.ge),e.l!=null&&(t+=`L`+e.l,i=e.l),e.le!=null&&(t+=`LE`+e.le,a=e.le)),{key:t,g:n,ge:r,l:i,le:a}}function zy(e,t){return t>e.g&&t>=e.ge&&t`u`?Array:Uint32Array,Qy=typeof Uint16Array>`u`?Array:Uint16Array,$y=typeof Int32Array>`u`?Array:Int32Array,eb=typeof Float64Array>`u`?Array:Float64Array,tb={float:eb,int:$y,ordinal:Array,number:Array,time:eb},nb;function rb(e){return e>65535?Zy:Qy}function ib(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function ab(e,t,n,r,i){var a=tb[n||`float`];if(i){var o=e[t],s=o&&o.length;if(s!==r){for(var c=new a(r),l=0;lh[1]&&(h[1]=m)}return this._rawCount=this._count=s,{start:o,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,c=I(a,function(e){return e.property}),l=0;lg[1]&&(g[1]=h)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(n!=null&&ne)i=a-1;else return a}return-1},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i=l&&g<=u||isNaN(g))&&(o[s++]=p),p++}f=!0}else if(i===2){for(var m=d[r[0]],_=d[r[1]],v=e[r[1]][0],y=e[r[1]][1],h=0;h=l&&g<=u||isNaN(g))&&(b>=v&&b<=y||isNaN(b))&&(o[s++]=p),p++}f=!0}}if(!f)if(i===1)for(var h=0;h=l&&g<=u||isNaN(g))&&(o[s++]=x)}else for(var h=0;he[w][1])&&(S=!1)}S&&(o[s++]=t.getRawIndex(h))}return sg[1]&&(g[1]=h)}}}},e.prototype.lttbDownSample=function(e,t){var n=this.clone([e],!0),r=n._chunks[e],i=this.count(),a=0,o=Math.floor(1/t),s=this.getRawIndex(0),c,l,u,d=new(rb(this._rawCount))(Math.min((Math.ceil(i/o)+2)*2,i));d[a++]=s;for(var f=1;fc&&(c=l,u=v)}T>0&&To&&(m=o-l);for(var h=0;hp&&(p=g,f=l+h)}var _=this.getRawIndex(u),v=this.getRawIndex(f);ul-p&&(s=l-p,o.length=s);for(var m=0;mu[1]&&(u[1]=h),d[f++]=g}return i._count=f,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,a=this.count();id&&(d=p))}return o[c]=[u,d]},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Ay(e[r],this._dimensions[r])}nb={arrayRows:e,objectRows:function(e,t,n,r){return Ay(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(e.value==null?e:e.value);return Ay(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}(),sb=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+`_`+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),n=!!t.length,r,i;if(lb(e)){var a=e,o=void 0,s=void 0,c=void 0;if(n){var l=t[0];l.prepareSource(),c=l.getSource(),o=c.data,s=c.sourceFormat,i=[l._getVersionSign()]}else o=a.get(`data`,!0),s=pe(o)?_d:pd,i=[];var u=this._getSourceMetaRawOption()||{},d=c&&c.metaRawOption||{},f=W(u.seriesLayoutBy,d.seriesLayoutBy)||null,p=W(u.sourceHeader,d.sourceHeader),m=W(u.dimensions,d.dimensions);r=f!==d.seriesLayoutBy||!!p!=!!d.sourceHeader||m?[Xv(o,{seriesLayoutBy:f,sourceHeader:p,dimensions:m},s)]:[]}else{var h=e;if(n){var g=this._applyTransform(t);r=g.sourceList,i=g.upstreamSignList}else r=[Xv(h.get(`source`,!0),this._getSourceMetaRawOption(),null)],i=[]}this._setLocalSource(r,i)},e.prototype._applyTransform=function(e){var t=this._sourceHost,n=t.get(`transform`,!0),r=t.get(`fromTransformResult`,!0);r!=null&&e.length!==1&&ub(``);var i,a=[],o=[];return F(e,function(e){e.prepareSource();var t=e.getSource(r||0);r!=null&&!t&&ub(``),a.push(t),o.push(e._getVersionSign())}),n?i=Jy(n,a,{datasetIndex:t.componentIndex}):r!=null&&(i=[Qv(a[0])]),{sourceList:i,upstreamSignList:o}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t1||n>0&&!e.noHeader;return F(e.blocks,function(e){var n=yb(e);n>=t&&(t=n+ +(r&&(!n||_b(e)&&!e.noHeader)))}),t}return 0}function bb(e,t,n,r){var i=t.noHeader,a=Cb(yb(t)),o=[],s=t.blocks||[];Ce(!s||B(s)),s=s||[];var c=e.orderMode;if(t.sortBlocks&&c){s=s.slice();var l={valueAsc:`asc`,valueDesc:`desc`};if(K(l,c)){var u=new Fy(l[c],null);s.sort(function(e,t){return u.evaluate(e.sortParam,t.sortParam)})}else c===`seriesDesc`&&s.reverse()}F(s,function(n,i){var s=t.valueFormatter,c=vb(n)(s?M(M({},e),{valueFormatter:s}):e,n,i>0?a.html:0,r);c!=null&&o.push(c)});var d=e.renderMode===`richText`?o.join(a.richText):wb(r,o.join(``),i?n:a.html);if(i)return d;var f=Wg(t.header,`ordinal`,e.useUTC),p=pb(r,e.renderMode).nameStyle,m=fb(r);return e.renderMode===`richText`?Db(e,f,p)+a.richText+d:wb(r,`
`+Et(f)+`
`+d,n)}function xb(e,t,n,r){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,c=t.name,l=e.useUTC,u=t.valueFormatter||e.valueFormatter||function(e){return e=B(e)?e:[e],I(e,function(e,t){return Wg(e,B(p)?p[t]:p,l)})};if(!(a&&o)){var d=s?``:e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||Q.color.secondary,i),f=a?``:Wg(c,`ordinal`,l),p=t.valueType,m=o?[]:u(t.value,t.rawDataIndex),h=!s||!a,g=!s&&a,_=pb(r,i),v=_.nameStyle,y=_.valueStyle;return i===`richText`?(s?``:d)+(a?``:Db(e,f,v))+(o?``:Ob(e,m,h,g,y)):wb(r,(s?``:d)+(a?``:Tb(f,!s,v))+(o?``:Eb(m,h,g,y)),n)}}function Sb(e,t,n,r,i,a){if(e)return vb(e)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,a)}function Cb(e){return{html:mb[e],richText:hb[e]}}function wb(e,t,n){var r=`
`,i=`margin: `+n+`px 0 0`,a=fb(e);return`
`+t+r+`
`}function Tb(e,t,n){var r=t?`margin-left:2px`:``;return``+Et(e)+``}function Eb(e,t,n,r){var i=t?`float:right;margin-left:`+(n?`10px`:`20px`):``;return e=B(e)?e:[e],``+I(e,function(e){return Et(e)}).join(`  `)+``}function Db(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function Ob(e,t,n,r,i){var a=[i],o=r?10:20;return n&&a.push({padding:[0,0,0,o],align:`right`}),e.markupStyleCreator.wrapRichTextStyle(B(t)?t.join(` `):t,a)}function kb(e,t){var n=e.getData().getItemVisual(t,`style`)[e.visualDrawType];return Qg(n)}function Ab(e,t){return e.get(`padding`)??(t===`richText`?[8,10]:10)}var jb=function(){function e(){this.richTextStyles={},this._nextStyleNameId=ps()}return e.prototype._generateStyleName=function(){return`__EC_aUTo_`+ this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r=n===`richText`?this._generateStyleName():null,i=Yg({color:t,type:e,renderMode:n,markerId:r});return H(i)?i:(this.richTextStyles[r]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};B(t)?F(t,function(e){return M(n,e)}):M(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,`{`+r+`|`+e+`}`},e}();function Mb(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll(`defaultedTooltip`),o=a.length,s=t.getRawValue(n),c=B(s),l=kb(t,n),u,d,f,p;if(o>1||c&&!o){var m=Nb(s,t,n,a,l);u=m.inlineValues,d=m.inlineValueTypes,f=m.blocks,p=m.inlineValues[0]}else if(o){var h=i.getDimensionInfo(a[0]);p=u=Cy(i,n,a[0]),d=h.type}else p=u=c?s[0]:s;var g=Vs(t),_=g&&t.name||``,v=i.getName(n),y=r?_:v;return gb(`section`,{header:_,noHeader:r||!g,sortParam:p,blocks:[gb(`nameValue`,{markerType:`item`,markerColor:l,name:y,noName:!we(y),value:u,valueType:d,rawDataIndex:i.getRawIndex(n)})].concat(f||[])})}function Nb(e,t,n,r,i){var a=t.getData(),o=oe(e,function(e,t,n){var r=a.getDimensionInfo(n);return e=e||r&&r.tooltip!==!1&&r.displayName!=null},!1),s=[],c=[],l=[];r.length?F(r,function(e){u(Cy(a,n,e),e)}):F(e,u);function u(e,t){var n=a.getDimensionInfo(t);!n||n.otherDims.tooltip===!1||(o?l.push(gb(`nameValue`,{markerType:`subItem`,markerColor:i,name:n.displayName,value:e,valueType:n.type})):(s.push(e),c.push(n.type)))}return{inlineValues:s,inlineValueTypes:c,blocks:l}}var Pb=Js();function Fb(e,t){return e.getName(t)||e.getId(t)}var Ib=`__universalTransitionEnabled`,Lb=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Dy({count:Bb,reset:Vb}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(Pb(this).sourceManager=new sb(this)).prepareSource();var r=this.getInitialData(e,n);Ub(r,this),this.dataTask.context.data=r,Pb(this).dataBeforeProcessed=r,Rb(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=w_(this),r=n?E_(e):{},i=this.subType;k_.hasClass(i)&&(i+=`Series`),j(e,t.getTheme().get(this.subType)),j(e,this.getDefaultOption()),Ds(e,`label`,[`show`]),this.fillDataTextStyle(e.data),n&&T_(e,r,n)},t.prototype.mergeOption=function(e,t){e=j(this.option,e,!0),this.fillDataTextStyle(e.data);var n=w_(this);n&&T_(this.option,e,n);var r=Pb(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);Ub(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,Pb(this).dataBeforeProcessed=i,Rb(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!pe(e))for(var t=[`show`],n=0;n=0&&u<0)&&(l=v,u=_,d=0),_===u&&(c[d++]=m))}return c.length=d,c},t.prototype.formatTooltip=function(e,t,n){return Mb({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(i.node&&!(e&&e.ssr))return!1;var t=this.getShallow(`animation`);return t&&this.getData().count()>this.getShallow(`animationThreshold`)&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=$_.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get(`progressive`)},t.prototype.getProgressiveThreshold=function(){return this.get(`progressiveThreshold`)},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if(r===`series`||n===`all`){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var a=0;a=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return(n===`all`||n[Fb(r,e)])&&!r.getItemModel(e).get([`select`,`disabled`])},t.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,a=i.selectedMode,o=t.length;if(!(!a||!o)){if(a===`series`)i.selectedMap=`all`;else if(a===`multiple`){U(i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,c=0;c0&&this._innerSelect(e,t)}},t.registerClass=function(e){return k_.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type=`series.__base__`,e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol=`circle`,e.visualStyleAccessPath=`itemStyle`,e.visualDrawType=`fill`}(),t}(k_);ie(Lb,Ty),ie(Lb,$_),Fc(Lb,k_);function Rb(e){var t=e.name;Vs(e)||(e.name=zb(e)||t)}function zb(e){var t=e.getRawData(),n=t.mapDimensionsAll(`seriesName`),r=[];return F(n,function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)}),r.join(` `)}function Bb(e){return e.model.getRawData().count()}function Vb(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Hb}function Hb(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Ub(e,t){F(Me(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,z(Wb,t))})}function Wb(e,t){var n=Gb(e);return n&&n.setOutputEnd((t||this).count()),t}function Gb(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}var Kb=function(){function e(){this.group=new Y,this.uid=Ih(`viewComponent`)}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();Nc(Kb),Bc(Kb);function qb(){var e=Js();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,a=!!n.progressiveRender,o=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==o||a!==s)&&`reset`}}var Jb=Js(),Yb=qb(),Xb=function(){function e(){this.group=new Y,this.uid=Ih(`viewChart`),this.renderTask=Dy({plan:$b,reset:ex}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&Qb(i,r,`emphasis`)},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&Qb(i,r,`normal`)},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){qm(this.group,e)},e.markUpdateMethod=function(e,t){Jb(e).updateMethod=t},e.protoInitialize=function(){var t=e.prototype;t.type=`chart`}(),e}();function Zb(e,t,n){e&&Df(e)&&(t===`emphasis`?tf:nf)(e,n)}function Qb(e,t,n){var r=qs(e,t),i=t&&t.highlightKey!=null?kf(t.highlightKey):null;r==null?e.eachItemGraphicEl(function(e){Zb(e,n,i)}):F(Es(r),function(t){Zb(e.getItemGraphicEl(t),n,i)})}Nc(Xb,[`dispose`]),Bc(Xb);function $b(e){return Yb(e.model)}function ex(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&Jb(i).updateMethod,c=a?`incrementalPrepareRender`:s&&o[s]?s:`render`;return c!==`render`&&o[c](t,n,r,i),tx[c]}var tx={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},nx=`\0__throttleOriginMethod`,rx=`\0__throttleRate`,ix=`\0__throttleType`;function ax(e,t,n){var r,i=0,a=0,o=null,s,c,l,u;t=t||0;function d(){a=new Date().getTime(),o=null,e.apply(c,l||[])}var f=function(){var e=[...arguments];r=new Date().getTime(),c=this,l=e;var f=u||t,p=u||n;u=null,s=r-(p?i:a)-f,clearTimeout(o),p?o=setTimeout(d,f):s>=0?d():o=setTimeout(d,-s),i=r};return f.clear=function(){o&&(clearTimeout(o),o=null)},f.debounceNextCall=function(e){u=e},f}function ox(e,t,n,r){var i=e[t];if(i){var a=i[nx]||i,o=i[ix];if(i[rx]!==n||o!==r){if(n==null||!r)return e[t]=a;i=e[t]=ax(a,n,r===`debounce`),i[nx]=a,i[ix]=r,i[rx]=n}return i}}function sx(e,t){var n=e[t];n&&n[nx]&&(n.clear&&n.clear(),e[t]=n[nx])}var cx=Js(),lx={itemStyle:Vc(jh,!0),lineStyle:Vc(Oh,!0)},ux={lineStyle:`stroke`,itemStyle:`fill`};function dx(e,t){return e.visualStyleMapper||lx[t]||(console.warn(`Unknown style type '`+t+`'.`),lx.itemStyle)}function fx(e,t){return e.visualDrawType||ux[t]||(console.warn(`Unknown style type '`+t+`'.`),`fill`)}var px={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||`itemStyle`,i=e.getModel(r),a=dx(e,r)(i),o=i.getShallow(`decal`);o&&(n.setVisual(`decal`,o),o.dirty=!0);var s=fx(e,r),c=a[s],l=V(c)?c:null,u=a.fill===`auto`||a.stroke===`auto`;if(!a[s]||l||u){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[s]||(a[s]=d,n.setVisual(`colorFromPalette`,!0)),a.fill=a.fill===`auto`||V(a.fill)?d:a.fill,a.stroke=a.stroke===`auto`||V(a.stroke)?d:a.stroke}if(n.setVisual(`style`,a),n.setVisual(`drawType`,s),!t.isSeriesFiltered(e)&&l)return n.setVisual(`colorFromPalette`,!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=M({},a);i[s]=l(r),t.setItemVisual(n,`style`,i)}}}},mx=new Ph,hx={createOnAllSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData){var n=e.getData(),r=e.visualStyleAccessPath||`itemStyle`,i=dx(e,r),a=n.getVisual(`drawType`);return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){mx.option=n[r];var o=i(mx);M(e.ensureUniqueItemVisual(t,`style`),o),mx.option.decal&&(e.setItemVisual(t,`decal`,mx.option.decal),mx.option.decal.dirty=!0),a in o&&e.setItemVisual(t,`colorFromPalette`,!1)}}:null}}}},gx={performRawSeries:!0,overallReset:function(e){var t=G();e.eachSeries(function(e){if(!e.isColorBySeries()){var n=e.type+`-`+e.getColorBy();cx(e).scope=t.get(n)||t.set(n,{})}}),e.eachSeries(function(e){if(!e.isColorBySeries()){var t=e.getRawData(),n={},r=e.getData(),i=cx(e).scope,a=fx(e,e.visualStyleAccessPath||`itemStyle`);r.each(function(e){var t=r.getRawIndex(e);n[t]=e}),t.each(function(o){var s=n[o];if(r.getItemVisual(s,`colorFromPalette`)){var c=r.ensureUniqueItemVisual(s,`style`),l=t.getName(o)||o+``,u=t.count();c[a]=e.getColorFromPalette(l,i,u)}})}})}},_x=Math.PI;function vx(e,t){t=t||{},N(t,{text:`loading`,textColor:Q.color.primary,fontSize:12,fontWeight:`normal`,fontStyle:`normal`,fontFamily:`sans-serif`,maskColor:`rgba(255,255,255,0.8)`,showSpinner:!0,color:Q.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Y,r=new Gu({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new Xu({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Gu({style:{fill:`none`},textContent:i,textConfig:{position:`right`,distance:10},zlevel:t.zlevel,z:10001});n.add(a);var o;return t.showSpinner&&(o=new zp({shape:{startAngle:-_x/2,endAngle:-_x/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:`round`,lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:_x*3/2}).start(`circularInOut`),o.animateShape(!0).when(1e3,{startAngle:_x*3/2}).delay(300).start(`circularInOut`),n.add(o)),n.resize=function(){var n=i.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,c=(e.getWidth()-s*2-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:s),l=e.getHeight()/2;t.showSpinner&&o.setShape({cx:c,cy:l}),a.setShape({x:c-s,y:l-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var yx=function(){function e(e,t,n,r){this._stageTaskMap=G(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(e){var t=e.overallTask;t&&t.dirty()})},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,a=r&&r.modDataCount;return{step:i,modBy:a==null?null:Math.ceil(a/i),modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid);e.pipelineContext=n.context=e.__preparePipelineContext?e.__preparePipelineContext(t,n):wc(e,t,n)},e.prototype.restorePipelines=function(e,t){var n=this,r=n._pipelineMap=G();t.eachSeries(function(t){var i=e.painter.type===`canvas`&&t.getProgressive(),a=t.uid;r.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),n._pipe(t,t.dataTask)})},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;F(this._allHandlers,function(r){var i=e.get(r.uid)||e.set(r.uid,{});Ce(!(r.reset&&r.overallReset),``),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)},this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=n,a.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,a=this;F(e,function(e,s){if(!(r.visualType&&r.visualType!==e.visualType)){var c=a._stageTaskMap.get(e.uid),l=c.seriesTaskMap,u=c.overallTask;if(u){var d,f=u.agentStubMap;f.each(function(e){o(r,e)&&(e.dirty(),d=!0)}),d&&u.dirty(),a.updatePayload(u,n);var p=a.getPerformArgs(u,r.block);f.each(function(e){e.perform(p)}),u.perform(p)&&(i=!0)}else l&&l.each(function(s,c){o(r,s)&&s.dirty();var l=a.getPerformArgs(s,r.block);l.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),a.updatePayload(s,n),s.perform(l)&&(i=!0)})}});function o(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(e){t=e.dataTask.perform()||t}),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},e.prototype.updatePayload=function(e,t){t!==`remain`&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,a=t.seriesTaskMap,o=t.seriesTaskMap=G(),s=e.seriesType,c=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(l):s?n.eachRawSeriesByType(s,l):c&&c(n,r).each(l);function l(t){var s=t.uid,c=o.set(s,a&&a.get(s)||Dy({plan:Tx,reset:Ex,count:kx}));c.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,c)}},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,a=t.overallTask=t.overallTask||Dy({reset:bx});a.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var o=a.agentStubMap,s=a.agentStubMap=G(),c=e.seriesType,l=e.getTargetSeries,u=e.dirtyOnOverallProgress,d=!1;Ce(!e.createOnAllSeries,``),c?n.eachRawSeriesByType(c,f):l?l(n,r).each(f):F(n.getSeries(),f);function f(e){var t=e.uid,n=s.set(t,o&&o.get(t)||(d=!0,Dy({reset:xx,onDirty:Cx})));n.context={model:e,dirtyOnOverallProgress:u},n.agent=a,n.__block=u,i._pipe(e,n)}d&&a.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return V(e)&&(e={overallReset:e,seriesType:Ax(e)}),e.uid=Ih(`stageHandler`),t&&(e.visualType=t),e},e}();function bx(e){e.overallReset(e.ecModel,e.api,e.payload)}function xx(e){return e.dirtyOnOverallProgress&&Sx}function Sx(){this.agent.dirty(),this.getDownstream().dirty()}function Cx(){this.agent&&this.agent.dirty()}function Tx(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Ex(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Es(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?I(t,function(e,t){return Ox(t)}):Dx}var Dx=Ox(0);function Ox(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a0&&u===i.length-l.length){var d=i.slice(0,u);d!==`data`&&(t.mainType=d,t[l.toLowerCase()]=e,s=!0)}}o.hasOwnProperty(i)&&(n[i]=e,s=!0),s||(r[i]=e)})}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=t.cptQuery,c=t.dataQuery;return l(s,a,`mainType`)&&l(s,a,`subType`)&&l(s,a,`index`,`componentIndex`)&&l(s,a,`name`)&&l(s,a,`id`)&&l(c,i,`name`)&&l(c,i,`dataIndex`)&&l(c,i,`dataType`)&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,t.otherQuery,r,i));function l(e,t,n,r){return e[n]==null||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),Bx=[`symbol`,`symbolSize`,`symbolRotate`,`symbolOffset`],Vx=Bx.concat([`symbolKeepAspect`]),Hx={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual(`legendIcon`,e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},a=!1,o=0;o=0&&xS(c)?c:.5,e.createRadialGradient(o,s,0,o,s,c)}function wS(e,t,n){for(var r=t.type===`radial`?CS(e,t,n):SS(e,t,n),i=t.colorStops,a=0;a0)?null:e===`dashed`?[4*t,2*t]:e===`dotted`?[t]:de(e)?[e]:B(e)?e:null}function kS(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&OS(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=I(n,function(e){return e/i}),r/=i)}return[n,r]}var AS=new ou(!0);function jS(e){var t=e.stroke;return!(t==null||t===`none`||!(e.lineWidth>0))}function MS(e){return typeof e==`string`&&e!==`none`}function NS(e){var t=e.fill;return t!=null&&t!==`none`}function PS(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function FS(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function IS(e,t,n){var r=Kc(t.image,t.__image,n);if(Jc(r)){var i=e.createPattern(r,t.repeat||`repeat`);if(typeof DOMMatrix==`function`&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*Ie),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function LS(e,t,n,r,i){var a,o=jS(n),s=NS(n),c=n.strokePercent,l=c<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var d=t.path||AS,f=t.__dirty;if(!r){var p=n.fill,m=n.stroke,h=s&&!!p.colorStops,g=o&&!!m.colorStops,_=s&&!!p.image,v=o&&!!m.image,y=void 0,b=void 0,x=void 0,S=void 0,C=void 0;(h||g)&&(C=t.getBoundingRect()),h&&(y=f?wS(e,p,C):t.__canvasFillGradient,t.__canvasFillGradient=y),g&&(b=f?wS(e,m,C):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),_&&(x=f||!t.__canvasFillPattern?IS(e,p,t):t.__canvasFillPattern,t.__canvasFillPattern=x),v&&(S=f||!t.__canvasStrokePattern?IS(e,m,t):t.__canvasStrokePattern,t.__canvasStrokePattern=S),h?e.fillStyle=y:_&&(x?e.fillStyle=x:s=!1),g?e.strokeStyle=b:v&&(S?e.strokeStyle=S:o=!1)}var w=t.getGlobalScale();d.setScale(w[0],w[1],t.segmentIgnoreThreshold);var T,E;e.setLineDash&&n.lineDash&&(a=kS(t),T=a[0],E=a[1]);var D=!0;(u||f&4)&&(d.setDPR(e.dpr),l?d.setContext(null):(d.setContext(e),D=!1),d.reset(),t.buildPath(d,t.shape,r),d.toStatic(),t.pathUpdated()),D&&d.rebuildPath(e,l?c:1),T&&(e.setLineDash(T),e.lineDashOffset=E),r?(i.batchFill=s,i.batchStroke=o):n.strokeFirst?(o&&FS(e,n),s&&PS(e,n)):(s&&PS(e,n),o&&FS(e,n)),T&&e.setLineDash([])}function RS(e,t,n){var r=t.__image=Kc(n.image,t.__image,t,t.onload);if(!(!r||!Jc(r))){var i=n.x||0,a=n.y||0,o=t.getWidth(),s=t.getHeight(),c=r.width/r.height;if(o==null&&s!=null?o=s*c:s==null&&o!=null?s=o/c:o==null&&s==null&&(o=r.width,s=r.height),n.sWidth&&n.sHeight){var l=n.sx||0,u=n.sy||0;e.drawImage(r,l,u,n.sWidth,n.sHeight,i,a,o,s)}else if(n.sx&&n.sy){var l=n.sx,u=n.sy,d=o-l,f=s-u;e.drawImage(r,l,u,d,f,i,a,o,s)}else e.drawImage(r,i,a,o,s)}}function zS(e,t,n){var r,i=n.text;if(i!=null&&(i+=``),i){e.font=n.font||`12px sans-serif`,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var a=void 0,o=void 0;e.setLineDash&&n.lineDash&&(r=kS(t),a=r[0],o=r[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),n.strokeFirst?(jS(n)&&e.strokeText(i,n.x,n.y),NS(n)&&e.fillText(i,n.x,n.y)):(NS(n)&&e.fillText(i,n.x,n.y),jS(n)&&e.strokeText(i,n.x,n.y)),a&&e.setLineDash([])}}var BS=[`shadowBlur`,`shadowOffsetX`,`shadowOffsetY`],VS=[[`lineCap`,`butt`],[`lineJoin`,`miter`],[`miterLimit`,10]];function HS(e,t,n,r,i){var a=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){$S(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?yl.opacity:o}(r||t.blend!==n.blend)&&(a||($S(e,i),a=!0),e.globalCompositeOperation=t.blend||yl.blend);for(var s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[FC]){if(this._disposed){this.id;return}var r,i,a;if(U(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,a=t.transition,t=t.notMerge),this[FC]=!0,pw(this),!this._model||t){var o=new gv(this._api),s=this._theme,c=this._model=new lv;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,s,this._locale,o)}this._model.setOption(e,{replaceMerge:i},xw);var l={seriesTransition:a,optionChanged:!0};if(n)this[LC]={silent:r,updateParams:l},this[FC]=!1,this.getZr().wakeUp();else{try{YC(this),QC.update.call(this,null,l)}catch(e){throw this[LC]=null,this[FC]=!1,e}this._ssr||this._zr.flush(),this[LC]=null,this[FC]=!1,nw.call(this,r),rw.call(this,r)}}},t.prototype.setTheme=function(e,t){if(!this[FC]){if(this._disposed){this.id;return}var n=this._model;if(n){var r=t&&t.silent,i=null;this[LC]&&(r??(r=this[LC].silent),i=this[LC].updateParams,this[LC]=null),this[FC]=!0,pw(this);try{this._updateTheme(e),n.setTheme(this._theme),YC(this),QC.update.call(this,{type:`setTheme`},i)}catch(e){throw this[FC]=!1,e}this[FC]=!1,nw.call(this,r),rw.call(this,r)}}},t.prototype._updateTheme=function(e){H(e)&&(e=Cw[e]),e&&(e=A(e),e&&Wv(e,!0),this._theme=e)},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||i.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get(`backgroundColor`),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){var e=this._zr;return F(e.storage.getDisplayList(),function(e){e.stopAnimation(null,!0)}),e.painter.toDataURL()},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;F(t,function(e){n.eachComponent({mainType:e},function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)})});var a=this._zr.painter.getType()===`svg`?this.getSvgDataURL():this.renderToCanvas(e).toDataURL(`image/`+(e&&e.type||`png`));return F(r,function(e){e.group.ignore=!1}),a},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var t=e.type===`svg`,n=this.group,r=Math.min,i=Math.max,a=1/0;if(Ew[n]){var o=a,s=a,c=-a,l=-a,u=[],d=e&&e.pixelRatio||this.getDevicePixelRatio();F(Tw,function(a,d){if(a.group===n){var f=t?a.getZr().painter.getSvgDom().innerHTML:a.renderToCanvas(A(e)),p=a.getDom().getBoundingClientRect();o=r(p.left,o),s=r(p.top,s),c=i(p.right,c),l=i(p.bottom,l),u.push({dom:f,left:p.left,top:p.top})}}),o*=d,s*=d,c*=d,l*=d;var p=c-o,m=l-s,h=f.createCanvas(),g=_o(h,{renderer:t?`svg`:`canvas`});if(g.resize({width:p,height:m}),t){var _=``;return F(u,function(e){var t=e.left-o,n=e.top-s;_+=``+e.dom+``}),g.painter.getSvgRoot().innerHTML=_,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return e.connectedBackgroundColor&&g.add(new Gu({shape:{x:0,y:0,width:p,height:m},style:{fill:e.connectedBackgroundColor}})),F(u,function(e){var t=new Lu({style:{x:e.left*d-o,y:e.top*d-s,image:e.dom}});g.add(t)}),g.refreshImmediately(),h.toDataURL(`image/`+(e&&e.type||`png`))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,t,n){return $C(this,`convertToPixel`,e,t,n)},t.prototype.convertToLayout=function(e,t,n){return $C(this,`convertToLayout`,e,t,n)},t.prototype.convertFromPixel=function(e,t,n){return $C(this,`convertFromPixel`,e,t,n)},t.prototype.containPixel=function(e,t){if(this._disposed){this.id;return}var n=this._model,r;return F(Xs(n,e),function(e,n){n.indexOf(`Models`)>=0&&F(e,function(e){var i=e.coordinateSystem;if(i&&i.containPoint)r=r||!!i.containPoint(t);else if(n===`seriesModels`){var a=this._chartsMap[e.__viewId];a&&a.containPoint&&(r=r||a.containPoint(t,e))}},this)},this),!!r},t.prototype.getVisual=function(e,t){var n=this._model,r=Xs(n,e,{defaultMainType:`series`}),i=r.seriesModel.getData(),a=r.hasOwnProperty(`dataIndexInside`)?r.dataIndexInside:r.hasOwnProperty(`dataIndex`)?i.indexOfRawIndex(r.dataIndex):null;return a==null?Gx(i,t):Wx(i,a,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;F(gw,function(t){var n=function(n){var r=e.getModel(),i=n.target,a;if(t===`globalout`?a={}:i&&Xx(i,function(e){var t=Z(e);if(t&&t.dataIndex!=null){var n=t.dataModel||r.getSeriesByIndex(t.seriesIndex);return a=n&&n.getDataParams(t.dataIndex,t.dataType,i)||{},!0}else if(t.eventData)return a=M({},t.eventData),!0},!0),a){var o=a.componentType,s=a.componentIndex;(o===`markLine`||o===`markPoint`||o===`markArea`)&&(o=`series`,s=a.seriesIndex);var c=o&&s!=null&&r.getComponent(o,s),l=c&&e[c.mainType===`series`?`_chartsMap`:`_componentsMap`][c.__viewId];a.event=n,a.type=t,e._$eventProcessor.eventInfo={targetEl:i,packedEvent:a,model:c,view:l},e.trigger(t,a)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)});var t=this._messageCenter;F(yw,function(n,r){t.on(r,function(t){e.trigger(r,t)})}),Yx(t,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0,this.getDom()&&nc(this.getDom(),kw,``);var e=this,t=e._api,n=e._model;F(e._componentsViews,function(e){e.dispose(n,t)}),F(e._chartsViews,function(e){e.dispose(n,t)}),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Tw[e.id]},t.prototype.resize=function(e){if(!this[FC]){if(this._disposed){this.id;return}this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption(`media`),r=e&&e.silent;this[LC]&&(r??(r=this[LC].silent),n=!0,this[LC]=null),this[FC]=!0,pw(this);try{n&&YC(this),QC.update.call(this,{type:`resize`,animation:M({duration:0},e&&e.animation)})}catch(e){throw this[FC]=!1,e}this[FC]=!1,nw.call(this,r),rw.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed){this.id;return}if(U(e)&&(t=e,e=``),e=e||`default`,this.hideLoading(),ww[e]){var n=ww[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var t=M({},e);return t.type=vw[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed){this.id;return}if(U(t)||(t={silent:!!t}),_w[e.type]&&this._model){if(this[FC]){this._pendingActions.push(e);return}var n=t.silent;tw.call(this,e,n);var r=t.flush;r?this._zr.flush():r!==!1&&i.browser.weChat&&this._throttledZrFlush(),nw.call(this,n),rw.call(this,n)}},t.prototype.updateLabelLayout=function(){Zx.trigger(`series:layoutlabels`,this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){YC=function(e){aS(e._model);var t=e._scheduler;t.restorePipelines(e._zr,e._model),t.prepareStageTasks(),XC(e,!0),XC(e,!1),t.plan()},XC=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,a=t?e._componentsMap:e._chartsMap,o=e._zr,s=e._api,c=0;cW(t.get(`hoverLayerThreshold`),R_.hoverLayerThreshold)&&!i.node&&!i.worker;(e._usingTHL||o)&&(t.eachSeries(function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered(function(e){var t=e.states.emphasis;t&&t.hoverLayer!==2&&(t.hoverLayer=+!!o)})}}),e._usingTHL=o)}}function s(e,t){var n=e.get(`blendMode`)||null;t.eachRendered(function(e){e.isGroup||(e.style.blend=n)})}function c(e,t){if(!e.preventAutoZ){var n=Qm(e);t.eachRendered(function(e){return eh(e,n.z,n.zlevel),!0})}}function l(e,t){t.eachRendered(function(e){if(!om(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}})}function u(e,t){var n=e.getModel(`stateAnimation`),r=e.isAnimationEnabled(),i=n.get(`duration`),o=i>0?{duration:i,delay:n.get(`delay`),easing:n.get(`easing`)}:null;t.eachRendered(function(e){if(e.states&&e.states.emphasis){if(om(e))return;if(e instanceof ju&&Mf(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(r){e.stateTransition=o;var n=e.getTextContent(),i=e.getTextGuideLine();n&&(n.stateTransition=o),i&&(i.stateTransition=o)}e.__dirty&&a(e)}})}lw=function(e){return new(function(t){n(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},r.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(n!=null)return e._model.getComponent(n.mainType,n.index);t=t.parent}},r.prototype.enterEmphasis=function(t,n){tf(t,n),dw(e)},r.prototype.leaveEmphasis=function(t,n){nf(t,n),dw(e)},r.prototype.enterBlur=function(t){rf(t),dw(e)},r.prototype.leaveBlur=function(t){af(t),dw(e)},r.prototype.enterSelect=function(t){of(t),dw(e)},r.prototype.leaveSelect=function(t){sf(t),dw(e)},r.prototype.getModel=function(){return e.getModel()},r.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},r.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},r.prototype.getECUpdateCycleVersion=function(){return e[IC]},r.prototype.usingTHL=function(){return e._usingTHL},r}(Sd))(e)},uw=function(e){function t(e,t){for(var n=0;n=0)){Yw.push(n);var o=yx.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function Zw(e,t){ww[e]=t}function Qw(e){p({createCanvas:e})}function $w(e,t,n){var r=eS(`registerMap`);r&&r(e,t,n)}function eT(e){var t=eS(`getMap`);return t&&t(e)}var tT=qy;Jw(EC,px),Jw(kC,hx),Jw(kC,gx),Jw(EC,Hx),Jw(kC,Ux),Jw(NC,pC),Rw(Wv),zw(yC,Gv),Zw(`default`,vx),Uw({type:Ad,event:Ad,update:Ad},Fe),Uw({type:jd,event:jd,update:jd},Fe),Uw({type:Md,event:Fd,update:Md,action:Fe,refineEvent:nT,publishNonRefinedEvent:!0}),Uw({type:Nd,event:Fd,update:Nd,action:Fe,refineEvent:nT,publishNonRefinedEvent:!0}),Uw({type:Pd,event:Fd,update:Pd,action:Fe,refineEvent:nT,publishNonRefinedEvent:!0});function nT(e,t,n,r){return{eventContent:{selected:vf(n),isFromClick:t.isFromClick||!1}}}Lw(`default`,{}),Lw(`dark`,Rx);var rT={};function iT(e){return e==null?0:e.length||1}function aT(e){return e}var oT=function(){function e(e,t,n,r,i,a){this._old=e,this._new=t,this._oldKeyGetter=n||aT,this._newKeyGetter=r||aT,this.context=i,this._diffModeMultiple=a===`multiple`}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?`_executeMultiple`:`_executeOneToOne`]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=Array(e.length),i=Array(t.length);this._initIndexMap(e,null,r,`_oldKeyGetter`),this._initIndexMap(t,n,i,`_newKeyGetter`);for(var a=0;a1){var l=s.shift();s.length===1&&(n[o]=s[0]),this._update&&this._update(l,a)}else c===1?(n[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(i,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},i=[],a=[];this._initIndexMap(e,n,i,`_oldKeyGetter`),this._initIndexMap(t,r,a,`_newKeyGetter`);for(var o=0;o1&&d===1)this._updateManyToOne&&this._updateManyToOne(l,c),r[s]=null;else if(u===1&&d>1)this._updateOneToMany&&this._updateOneToMany(l,c),r[s]=null;else if(u===1&&d===1)this._update&&this._update(l,c),r[s]=null;else if(u>1&&d>1)this._updateManyToMany&&this._updateManyToMany(l,c),r[s]=null;else if(u>1)for(var f=0;f1)for(var o=0;o30}var bT=U,xT=I,ST=typeof Int32Array>`u`?Array:Int32Array,CT=`e\0\0`,wT=-1,TT=[`hasItemOption`,`_nameList`,`_idList`,`_invertedIndicesMap`,`_dimSummary`,`userOutput`,`_rawData`,`_dimValueGetter`,`_nameDimIdx`,`_idDimIdx`,`_nameRepeatCount`],ET=[`_approximateExtent`],DT,OT,kT,AT,jT,MT,NT,PT=function(){function e(e,t){this.type=`list`,this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=[`cloneShallow`,`downSample`,`minmaxDownSample`,`lttbDownSample`,`map`],this.CHANGABLE_METHODS=[`filterSelf`,`selectRange`],this.DOWNSAMPLE_METHODS=[`downSample`,`minmaxDownSample`,`lttbDownSample`];var n,r=!1;gT(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||[`x`,`y`];for(var i={},a=[],o={},s=!1,c={},l=0;l=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,i=this._idList;if(n.getSource().sourceFormat===`original`&&!n.pure)for(var a=[],o=e;o0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return i??(i=this.getVisual(t),B(i)?i=i.slice():bT(i)&&(i=M({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,bT(t)?M(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){bT(e)?M(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?M(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){ud(this.hostModel&&this.hostModel.seriesIndex,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){F(this._graphicEls,function(n,r){n&&e&&e.call(t,n,r)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:xT(this.dimensions,this._getDimInfo,this),this.hostModel)),jT(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];V(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(xe(arguments)))})},e.internalField=function(){DT=function(e){var t=e._invertedIndicesMap;F(t,function(n,r){var i=e._dimInfos[r],a=i.ordinalMeta,o=e._store;if(a){n=t[r]=new ST(a.categories.length);for(var s=0;s1&&(s+=`__ec__`+l),r[t]=s}}}(),e}();function FT(e,t){return IT(e,t).dimensions}function IT(e,t){Yv(e)||(e=Zv(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=G(),a=[],o=LT(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&yT(o),c=r===e.dimensionsDefine,l=c?vT(e):_T(r),u=t.encodeDefine;!u&&t.encodeDefaulter&&(u=t.encodeDefaulter(e,o));for(var d=G(u),f=new $y(o),p=0;p0&&(e.name+=t-1)}),new hT({source:e,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function LT(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return F(t,function(e){var t;U(e)&&(t=e.dimsDef)&&(i=Math.max(i,t.length))}),i}function RT(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var zT=function(){function e(e){this.coordSysDims=[],this.axisMap=G(),this.categoryAxisMap=G(),this.coordSysName=e}return e}();function BT(e){var t=e.get(`coordinateSystem`),n=new zT(t),r=VT[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var VT={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents(`xAxis`,Qs).models[0],a=e.getReferringComponents(`yAxis`,Qs).models[0];t.coordSysDims=[`x`,`y`],n.set(`x`,i),n.set(`y`,a),HT(i)&&(r.set(`x`,i),t.firstCategoryDimIndex=0),HT(a)&&(r.set(`y`,a),t.firstCategoryDimIndex??(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents(`singleAxis`,Qs).models[0];t.coordSysDims=[`single`],n.set(`single`,i),HT(i)&&(r.set(`single`,i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents(`polar`,Qs).models[0],a=i.findAxisModel(`radiusAxis`),o=i.findAxisModel(`angleAxis`);t.coordSysDims=[`radius`,`angle`],n.set(`radius`,a),n.set(`angle`,o),HT(a)&&(r.set(`radius`,a),t.firstCategoryDimIndex=0),HT(o)&&(r.set(`angle`,o),t.firstCategoryDimIndex??(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=[`lng`,`lat`]},parallel:function(e,t,n,r){var i=e.ecModel,a=i.getComponent(`parallel`,e.get(`parallelIndex`)),o=t.coordSysDims=a.dimensions.slice();F(a.parallelAxisIndex,function(e,a){var s=i.getComponent(`parallelAxis`,e),c=o[a];n.set(c,s),HT(s)&&(r.set(c,s),t.firstCategoryDimIndex??(t.firstCategoryDimIndex=a))})},matrix:function(e,t,n,r){var i=e.getReferringComponents(`matrix`,Qs).models[0];t.coordSysDims=[`x`,`y`];var a=i.getDimensionModel(`x`),o=i.getDimensionModel(`y`);n.set(`x`,a),n.set(`y`,o),r.set(`x`,a),r.set(`y`,o)}};function HT(e){return e.get(`type`)===`category`}function UT(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,a,o,s;WT(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var c=!!(e&&e.get(`stack`)),l,u,d,f,p=!0;function m(e){return e.type!==`ordinal`&&e.type!==`time`}if(F(a,function(e,t){H(e)&&(a[t]=e={name:e}),m(e)||(p=!1)}),F(a,function(e,t){c&&!e.isExtraCoord&&(!r&&!l&&e.ordinalMeta&&(l=e),!u&&m(e)&&(!p||e.coordDim!==`x`&&e.coordDim!==`angle`)&&(!i||i===e.coordDim)&&(u=e))}),u&&!r&&!l&&(r=!0),u){d=`__\0ecstackresult_`+e.id,f=`__\0ecstackedover_`+e.id,l&&(l.createInvertedIndices=!0);var h=u.coordDim,g=u.type,_=0;F(a,function(e){e.coordDim===h&&_++});var v={name:d,coordDim:h,coordDimIndex:_,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},y={name:f,coordDim:f,coordDimIndex:_+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(v.storeDimIndex=s.ensureCalculationDimension(f,g),y.storeDimIndex=s.ensureCalculationDimension(d,g)),o.appendCalculationDimension(v),o.appendCalculationDimension(y)):(a.push(v),a.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:r,stackedOverDimension:f,stackResultDimension:d}}function WT(e){return!gT(e.schema)}function GT(e,t){return!!t&&t===e.getCalculationInfo(`stackedDimension`)}function KT(e,t){return GT(e,t)?e.getCalculationInfo(`stackResultDimension`):t}function qT(e,t){var n=e.get(`coordinateSystem`),r=n_.get(n),i;return t&&t.coordSysDims&&(i=I(t.coordSysDims,function(e){var n={name:e},r=t.axisMap.get(e);return r&&(n.type=uT(r.get(`type`))),n})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||[`x`,`y`]),i}function JT(e,t,n){var r,i;return n&&F(e,function(e,a){var o=e.coordDim,s=n.categoryAxisMap.get(o);s&&(r??(r=a),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),e.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function YT(e,t,n){n=n||{};var r=t.getSourceManager(),i,a=!1;e?(a=!0,i=Zv(e)):(i=r.getSource(),a=i.sourceFormat===pd);var o=BT(t),s=qT(t,o),c=n.useEncodeDefaulter,l=V(c)?c:c?z(H_,s,t):null,u={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!a},d=IT(i,u),f=JT(d.dimensions,n.createInvertedIndices,o),p=a?null:r.getSharedDataStore(d),m=UT(t,{schema:d,store:p}),h=new PT(d,t);h.setCalculationInfo(m);var g=f!=null&&XT(i)?function(e,t,n,r){return r===f?n:this.defaultDimValueGetter(e,t,n,r)}:null;return h.hasItemOption=!1,h.initData(a?i:p,null,g),h}function XT(e){if(e.sourceFormat===`original`)return!B(ks(ZT(e.data||[])))}function ZT(e){for(var t=0;t=t[0]&&e<=t[1]},getExtent:function(){return this._extents[0].slice()},getExtentUnsafe:function(e){return this._extents[e]},setExtent:function(e,t){fE(this._extents,0,e,t)},setExtent2:function(e,t,n){var r=this._extents;r[e]||(r[e]=r[0].slice()),fE(r,e,t,n)},freeze:function(){}};function fE(e,t,n,r){hc(n,r)&&(e[t][0]=n,e[t][1]=r)}function pE(e){return mE(e)||gE(e)}function mE(e){return e.type===`interval`}function hE(e){return e.type===`time`}function gE(e){return e.type===`log`}function _E(e){return e.type===`ordinal`}function vE(e){var t=ss(e),n=Fo(10,t),r=Mo(e/n);return r?r===2?r=3:r===3?r=5:r*=2:r=1,Go(r*n,-t)}function yE(e){return Jo(e)+2}function bE(e,t){return Io(e)/Io(t)}function xE(e,t,n){var r=n&&n.lookup;if(r){for(var i=0;i1&&a/o>2&&(i=Math.round(Math.ceil(i/o)*o)),i!==r[0]&&c(r[0],!0,!0);for(var s=i;s<=r[1];s+=o)c(s,!1,s===r[0]||s===r[1]);s-o!==r[1]&&c(r[1],!0,!0);function c(e,t,r){n({value:e,offInterval:t},r)}}var EE=function(e){n(t,e);function t(n){var r=e.call(this)||this;r.type=`ordinal`,r.parse=t.parse,iE(r,t.decoratedMethods);var i=n.ordinalMeta;i||(i=new eE({})),B(i)&&(i=new eE({categories:I(i,function(e){return U(e)?e.value:e})})),r._ordinalMeta=i;var a=rE(null,null,n.extent||[0,i.categories.length-1]);return r._mapper=a.mapper,aE(r,a.mapper),r}return t.parse=function(e){return e==null?e=NaN:H(e)?(e=this._ordinalMeta.getOrdinal(e),e??(e=NaN)):e=Mo(e),e},t.prototype.getTicks=function(){var e=[];return TE(this,0,function(t){e.push(t)}),e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,a=this._ordinalMeta.categories.length,o=ko(a,t.length);i=0&&e=0&&e=0&&eo[0]&&mi[1]||!isFinite(p)||!isFinite(i[1]))break}else{if(m>f)break;p=ko(p,i[1]),m===f&&(p=i[1])}if(l.push({value:p}),p=Go(p+n,a),s){var h=s.calcNiceTickMultiple(p,d);h>=0&&(p=Go(p+h*n,a))}if(l.length>0&&p===l[l.length-1].value)break;if(l.length>u)return[]}var g=l.length?l[l.length-1].value:i[1];return r[1]>g&&l.push({value:e.expandToNicedExtent?Go(g+n,a):r[1]}),c&&o.pruneTicksByBreak(e.pruneByBreak,l,s.breaks,function(e){return e.value},t.interval,r),c&&e.breakTicks!==`none`&&o.addBreaksToTicks(l,s.breaks,r),l},t.prototype.getMinorTicks=function(e){return DE(this,e,ng(this),this._cfg.interval)},t.prototype.getLabel=function(e,t){if(e==null)return``;var n=t&&t.precision;return n==null?n=Jo(e.value)||0:n===`auto`&&(n=this._cfg.intervalPrecision),Vg(Go(e.value,n,!0))},t.type=`interval`,t}(QT);QT.registerClass(OE);var kE=function(e,t,n,r){for(;n>>1;e[i][1]16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function PE(e){var t=30*sg;return e/=t,e>6?6:e>3?3:e>2?2:1}function FE(e){return e/=og,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function IE(e,t){return e/=t?ag:ig,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function LE(e){return Ao(cs(e,!0),1)}function RE(e,t,n){var r=Math.max(0,P(mg,t)-1);return Tg(new Date(e),mg[r],n).getTime()}function zE(e,t){var n=new Date(0);n[e](1);var r=n.getTime();n[e](1+t);var i=n.getTime()-r;return function(e,t){return Math.max(0,Math.round((t-e)/i))}}function BE(e,t,n,r,i,a){var o=3e3,s=hg,c=0;function l(e,t,n,i,s,l,u){for(var d=zE(s,e),f=t,p=new Date(f);fo));)if(p[s](p[i]()+e),f=p.getTime(),a){var m=a.calcNiceTickMultiple(f,d);m>0&&(p[s](p[i]()+m*e),f=p.getTime())}u.push({value:f,notAdd:f>r[1]})}function u(e,i,a){var o=[],s=!i.length;if(!ME(yg(e),r[0],r[1],n)){s&&(i=[{value:RE(r[0],e,n)},{value:r[1]}]);for(var c=0;c=r[0]&&u<=r[1]&&l(f,u,d,p,m,h,o),e===`year`&&a.length>1&&c===0&&a.unshift({value:a[0].value-f})}}for(var c=0;c=r[0]&&y<=r[1]&&p++)}var b=i/t;if(p>b*1.5&&m>b/1.5||(d.push(_),p>b||e===s[h]))break}f=[]}}for(var x=se(I(d,function(e){return se(e,function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd})}),function(e){return e.length>0}),S=x.length-1,C=[],h=0;hr[0])&&C.unshift({value:r[0],time:{level:0,upperTimeUnit:k,lowerTimeUnit:k},notNice:!0}),(!O||O.values&&(a=s);var c=jE.length,l=Math.min(kE(jE,a,0,c),c-1),u=jE[l][1],d=jE[Math.max(l-1,0)][0];e.setTimeInterval({approxInterval:a,interval:u,minLevelUnit:d})};QT.registerClass(AE);var HE=0,UE=1,WE=2,GE=function(e){n(t,e);function t(n){var r=e.call(this)||this;r.type=`log`,r.parse=OE.parse,r.base=n.logBase||10;var i=[],a=[],o=r._lookup={from:i,to:a};i[HE]=i[UE]=a[HE]=a[UE]=NaN,iE(r,t.mapperMethods);var s=eg(),c=n.breakOption,l={lookup:o};return s&&s.parseAxisBreakOptionInwardTransform(c,r,{noNegative:!0},WE,l),r.powStub=new OE({breakParsed:l.original}),r.intervalStub=new OE({breakParsed:l.transformed}),aE(r,r.intervalStub),r}return t.prototype.getTicks=function(e){var t=this.base,n=this.powStub,r=eg(),i=this.intervalStub,a={lookup:{from:i.getExtent(),to:n.getExtent()}};return I(i.getTicks(e||{}),function(e){var i=e.value,o=xE(i,t,a),s;if(r){var c=r.getTicksBreakOutwardTransform(this,e,ng(n),this._lookup);c&&(s=c.vBreak,o=c.tickVal)}return{value:o,break:s}},this)},t.prototype.getMinorTicks=function(e){return DE(this,e,ng(this.powStub),this.intervalStub.getConfig().interval)},t.prototype.getLabel=function(e,t){return this.intervalStub.getLabel(e,t)},t.type=`log`,t.mapperMethods={needTransform:function(){return!0},normalize:function(e){return this.intervalStub.normalize(bE(e,this.base))},scale:function(e){return xE(this.intervalStub.scale(e),this.base,null)},transformIn:function(e,t){return e=bE(e,this.base),t&&t.depth===2?e:this.intervalStub.transformIn(e,t)},transformOut:function(e,t){var n=t?t.depth:null;return KE.depth=n,qE.lookup=this._lookup,xE(n===2?e:this.intervalStub.transformOut(e,KE),this.base,qE)},contain:function(e){return this.powStub.contain(e)},setExtent:function(e,t){this.setExtent2(0,e,t)},setExtent2:function(e,t,n){if(!(!hc(t,n)||t<=0||n<=0)){var r=JE,i=JE;if(e===0){var a=this._lookup;r=a.to,i=a.from}this.powStub.setExtent2(e,r[HE]=t,r[UE]=n);var o=this.base;this.intervalStub.setExtent2(e,i[HE]=bE(t,o),i[UE]=bE(n,o))}},getFilter:function(){return{g:0}},sanitize:function(e,t){return hc(t[0],t[1])&&gs(e)&&e<=0&&(e=t[0]),e},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(e,t){return t===null?this.powStub.getExtentUnsafe(e,null):this.intervalStub.getExtentUnsafe(e,t)}},t}(QT);QT.registerClass(GE);var KE={},qE={},JE=[],YE={value:1,category:1,time:1,log:1},XE=Js();function ZE(e){var t=e.get(`type`);return(t==null||!K(YE,t)&&!QT.getClass(t))&&(t=`value`),t}function QE(e,t,n){var r=eg(),i;switch(r&&(i=lD(e,t,n)),t){case`category`:return new EE({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:lc()});case`time`:return new AE({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get(`useUTC`),breakOption:i});case`log`:return new GE({logBase:e.get(`logBase`),breakOption:i});case`value`:return new OE({breakOption:i});default:return new((QT.getClass(t))||OE)({})}}function $E(e,t,n){var r=n?sE(e,null):e.getExtentUnsafe(0,null),i=r[0],a=r[1];return hc(i,a)?i===t||a===t?2:it?1:3:3}function eD(e){XE(e).noOnMyZero=!0}function tD(e){return XE(e).noOnMyZero}function nD(e){var t=e.getLabelModel().get(`formatter`);if(e.type===`time`){var n=gg(t);return function(t,r){return e.scale.getFormattedLabel(t,r,n)}}else if(H(t))return function(n){var r=e.scale.getLabel(n);return t.replace(`{value}`,r??``)};else if(V(t)){if(e.type===`category`)return function(n,r){return t(rD(e,n),n.value-e.scale.getExtent()[0],null)};var r=eg();return function(n,i){var a=null;return r&&(a=r.makeAxisLabelFormatterParamBreak(a,n.break)),t(rD(e,n),i,a)}}else return function(t){return e.scale.getLabel(t)}}function rD(e,t){var n=e.scale;return _E(n)?n.getLabel(t):t.value}function iD(e){return e.get(`interval`)??`auto`}function aD(e){return e.type===`category`&&iD(e.getLabelModel())===0}function oD(e,t){var n={};return F(e.mapDimensionsAll(t),function(t){n[KT(e,t)]=!0}),L(n)}function sD(e){return e===`middle`||e===`center`}function cD(e){return e.getShallow(`show`)}function lD(e,t,n){var r=e.get(`breaks`,!0);if(r!=null)return!eg()||!n||!uD(t)?void 0:r}function uD(e){return e!==`category`}function dD(e,t,n,r,i,a){var o=gE(e),s=o?e.intervalStub:e;if(s.setExtent(r[0],r[1]),o){var c=e.powStub,l={depth:2},u=e.transformOut(r[0],l),d=e.transformOut(r[1],l),f=CE(n,r);t[0]&&!f[0]&&(u=i[0]),t[1]&&!f[1]&&(d=i[1]),c.setExtent(u,d)}s.setConfig(a)}function fD(e,t){return _E(e)?e.getRawOrdinalNumber(t.value):t.value}function pD(e,t){return _E(e)&&!!t.get(`boundaryGap`)}var mD=function(){function e(){}return e.prototype.needIncludeZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}(),hD=vc(),gD=Js(),_D=Js();function vD(e,t){var n=e.model,r=gD(cS(n.ecModel)).keyed,i=r&&r.get(t);return i&&i.get(n.uid)}function yD(e,t){return SD(vD(e,t))}function bD(e,t){var n=[];return xD(e.model.ecModel,function(e){for(var r=0;r0&&u[1]>0&&!d[0]&&(u[0]=0),u[0]<0&&u[1]<0&&!d[1]&&(u[1]=0));var y=!1;u[0]>u[1]&&(u.reverse(),y=!0);var b=BD(e,t.get(`startValue`,!0)),x=b!=null;!gs(b)&&r&&(b=e.getDefaultStartValue?e.getDefaultStartValue():0),gs(b)&&(x||!_||v)&&(bu[1]&&!d[1]&&(u[1]=b,d[1]=!0)),zD(this._i={scale:e,dataMM:l,noZoomEffMM:u,zoomMM:[],fixMM:d,zoomFixMM:[!1,!1],startValue:b,isBlank:g,incl0:v,tggAxInv:y,ctnShp:i},u)}return e.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},e.prototype.makeFinal=function(){var e=this._i,t=e.zoomMM,n=e.noZoomEffMM,r=e.zoomFixMM,i=e.fixMM,a={fixMM:i,zoomFixMM:r,isBlank:e.isBlank,incl0:e.incl0,tggAxInv:e.tggAxInv,ctnShp:e.ctnShp,effMM:n.slice()},o=a.effMM;return t[0]!=null&&(o[0]=t[0],i[0]=r[0]=!0),t[1]!=null&&(o[1]=t[1],i[1]=r[1]=!0),zD(e,o),a},e.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},e.prototype.setZoomMM=function(e,t){this._i.zoomMM[e]=t},e}();function zD(e,t){var n=e.scale,r=e.dataMM;n.sanitize&&(t[0]=n.sanitize(t[0],r),t[1]=n.sanitize(t[1],r),_c(t))}function BD(e,t){return t==null?null:ve(t)?NaN:e.parse(t)}function VD(e,t){var n;if(_E(e))n=[0,0];else{var r=t.get(`boundaryGap`);typeof r==`boolean`&&(r=null),n=B(r)?r:[r,r]}return[HD(n[0]),HD(n[1])]}function HD(e){return Ga(typeof e==`boolean`?0:e,1)||0}function UD(e){var t=ID(e.scale);return t.extent||(t.extent=lc()),t}function WD(e,t){UD(e).dimIdxInCoord=t.get(e.dim)}function GD(e,t){var n=e.scale,r=e.model,i=e.dim;n.rawExtentInfo||KD(n,e,i,r,t)}function KD(e,t,n,r,i){var a=UD(t),o=a.extent,s=!1;CD(t,function(r){if(r.boxCoordinateSystem){var i=o_(r).coord,c=a.dimIdxInCoord;if(c>=0&&B(i)){var l=i[c];l!=null&&!B(l)&&uc(o,e.parse(l))}}else if(r.coordinateSystem){var u=r.getData();if(u){var d=e.getFilter?e.getFilter():null;F(oD(u,n),function(e){pc(o,u.getApproximateExtent(e,d))})}r.__requireStartValue&&r.__requireStartValue(t)&&(s=!0)}});var c=QD(e,t,r);JD(e,new RD(e,r,o,s,c),i),a.extent=null}function qD(e,t){var n=e.scale;JD(n,new RD(n,e.model,t,!1,!1),LD)}function JD(e,t,n){e.rawExtentInfo=t,t.from=n}function YD(e,t){XD.set(e,t)}var XD=G();function ZD(e,t,n,r,i){e.rawExtentInfo||qD({scale:e,model:t},i||lc());var a=e.rawExtentInfo.makeFinal(),o=a.effMM;return e.setExtent(o[0],o[1]),e.setBlank(a.isBlank),r&&a.tggAxInv&&n&&!n.get(`legacyMinMaxDontInverseAxis`)&&(r.inverse=!r.inverse),a}function QD(e,t,n){var r=pD(e,n),i=n.get(`containShape`,!0);if(i==null&&!r&&(i=!0),!i)return!1;var a=!1;return OD(t,function(e){a=!!XD.get(e)||a}),a}function $D(e,t,n,r){if(n.ctnShp){var i;if(OD(e,function(t){var n=XD.get(t);if(n){var a=n(e,r);a&&(i=i||[0,0],dc(i,a[0]),fc(i,a[1]),eD(e))}}),i){var a=t.getExtent();if(_E(t))e.onBand||t.setExtent2(1,ko(a[0],a[0]+i[0]),Ao(a[1],a[1]+i[1]));else{var o=a.slice();n.zoomFixMM[0]||(o[0]=ko(o[0],t.transformOut(t.transformIn(o[0],null)+i[0],null))),n.zoomFixMM[1]||(o[1]=Ao(o[1],t.transformOut(t.transformIn(o[1],null)+i[1],null))),(o[0]a[1])&&t.setExtent2(1,o[0],o[1])}}}}function eO(e,t){var n=gE(e),r=n?e.intervalStub:e,i=t.fixMinMax||[],a=n?e.getExtent():null,o=r.getExtent(),s=SE(o,i,t.rawExtentResult);r.setExtent(s[0],s[1]),s=r.getExtent();var c=n?nO(r,t):tO(r,t),l=c.intervalPrecision,u=c.interval,d=t.userInterval;d!=null&&(c.interval=d,c.intervalPrecision=yE(d)),i[0]||(s[0]=Go(No(s[0]/u)*u,l)),i[1]||(s[1]=Go(Po(s[1]/u)*u,l)),d!=null&&(c.niceExtent=s.slice()),dD(e,i,o,s,a,c)}function tO(e,t){var n=wE(t.splitNumber,5),r=lE(e),i=t.minInterval,a=t.maxInterval,o=cs(r/n,!0);i!=null&&oa&&(o=a);var s=yE(o),c=e.getExtent(),l=[Go(Po(c[0]/o)*o,s),Go(No(c[1]/o)*o,s)];return{interval:o,intervalPrecision:s,niceExtent:l}}function nO(e,t){var n=wE(t.splitNumber,10),r=e.getExtent(),i=lE(e),a=Ao(os(i),1);n/i*a<=.5&&(a*=10);var o=yE(a),s=[Go(Po(r[0]/a)*a,o),Go(No(r[1]/a)*a,o)];return{intervalPrecision:o,interval:a,niceExtent:s}}function rO(e){var t=e.scale,n=e.model,r=n.axis,i=n.ecModel;iO(t,n,r,i,null)}function iO(e,t,n,r,i){var a=ZD(e,t,r,n,i),o=mE(e)||hE(e);aO(e,{splitNumber:t.get(`splitNumber`),fixMinMax:a.fixMM,userInterval:t.get(`interval`),minInterval:o?t.get(`minInterval`):null,maxInterval:o?t.get(`maxInterval`):null,rawExtentResult:a}),n&&r&&$D(n,e,a,r)}function aO(e,t){oO[e.type](e,t)}var oO={interval:eO,log:eO,time:VE,ordinal:Fe},sO=e({createDimensions:()=>FT,createList:()=>cO,createScale:()=>uO,createSymbol:()=>vS,createTextStyle:()=>fO,dataStack:()=>lO,enableHoverEmphasis:()=>yf,getECData:()=>Z,getLayoutRect:()=>v_,mixinAxisModelCommonMethods:()=>dO});function cO(e){return YT(null,e)}var lO={isDimensionStacked:GT,enableDataStack:UT,getStackedDimension:KT};function uO(e,t){var n=t;t instanceof Ph||(n=new Ph(t));var r=ZE(n),i=QE(n,r,!1);return e[1]=0||(pO.push(e),V(e)&&(e={install:e}),e.install(mO))}var gO=1e-8;function _O(e,t){return Math.abs(e-t)n&&(t=i,n=o)}if(t)return SO(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return F(i,function(t){t.type===`polygon`?xO(t.exterior,n,r,e):F(t.points,function(t){xO(t,n,r,e)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new J(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;loopGeo:for(var r=0,i=n.length;r>1^-(s&1),c=c>>1^-(c&1),s+=i,c+=a,i=s,a=c,r.push([s/n,c/n])}return r}function jO(e,t){return e=OO(e),I(se(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var n=e.properties,r=e.geometry,i=[];switch(r.type){case`Polygon`:var a=r.coordinates;i.push(new wO(a[0],a.slice(1)));break;case`MultiPolygon`:F(r.coordinates,function(e){e[0]&&i.push(new wO(e[0],e.slice(1)))});break;case`LineString`:i.push(new TO([r.coordinates]));break;case`MultiLineString`:i.push(new TO(r.coordinates))}var o=new EO(n[t||`name`],i,n.cp);return o.properties=n,o})}var MO=e({MAX_SAFE_INTEGER:()=>ts,asc:()=>qo,getPercentWithPrecision:()=>Qo,getPixelPrecision:()=>Xo,getPrecision:()=>Jo,getPrecisionSafe:()=>Yo,isNumeric:()=>fs,isRadianAroundZero:()=>rs,linearMap:()=>Bo,nice:()=>cs,numericToNumber:()=>ds,parseDate:()=>as,parsePercent:()=>X,quantile:()=>ls,quantity:()=>os,quantityExponent:()=>ss,reformIntervals:()=>us,remRadian:()=>ns,round:()=>Ko}),NO=e({format:()=>Sg,parse:()=>as,roundTime:()=>Tg}),PO=e({Arc:()=>zp,BezierCurve:()=>Lp,BoundingRect:()=>J,Circle:()=>rp,CompoundPath:()=>Bp,Ellipse:()=>ap,Group:()=>Y,Image:()=>Lu,IncrementalDisplayable:()=>em,Line:()=>Np,LinearGradient:()=>Hp,Polygon:()=>Op,Polyline:()=>Ap,RadialGradient:()=>Up,Rect:()=>Gu,Ring:()=>wp,Sector:()=>Sp,Text:()=>Xu,clipPointsByRect:()=>Fm,clipRectByRect:()=>Im,createIcon:()=>Lm,extendPath:()=>vm,extendShape:()=>gm,getShapeClass:()=>bm,getTransform:()=>km,initProps:()=>am,makeImage:()=>Sm,makePath:()=>xm,mergePath:()=>wm,registerShape:()=>ym,resizePath:()=>Tm,updateProps:()=>im}),FO=e({addCommas:()=>Vg,capitalFirst:()=>Zg,encodeHTML:()=>Et,formatTime:()=>Xg,formatTpl:()=>qg,getTextRect:()=>Bg,getTooltipMarker:()=>Yg,normalizeCssArray:()=>Ug,toCamelCase:()=>Hg,truncateText:()=>Xc}),IO=e({bind:()=>R,clone:()=>A,curry:()=>z,defaults:()=>N,each:()=>F,extend:()=>M,filter:()=>se,indexOf:()=>P,inherits:()=>re,isArray:()=>B,isFunction:()=>V,isObject:()=>U,isString:()=>H,map:()=>I,merge:()=>j,reduce:()=>oe}),LO=Js(),RO=Js(),zO={estimate:1,determine:2};function BO(e){return{out:{noPxChangeTryDetermine:[]},kind:e}}function VO(e,t){var n=e.getLabelModel().get(`customValues`);if(n){var r=e.scale;return{labels:I(UO(n,r),function(t,n){return{formattedLabel:nD(e)(t,n),rawLabel:r.getLabel(t),tick:t}})}}return e.type===`category`?WO(e,t):qO(e)}function HO(e,t,n){var r=e.scale,i=e.getTickModel().get(`customValues`);return i?{ticks:UO(i,r)}:e.type===`category`?KO(e,t):{ticks:r.getTicks(n)}}function UO(e,t){var n=t.getExtent(),r=[];return F(e,function(e){e=t.parse(e),e>=n[0]&&e<=n[1]&&r.push(e)}),bc(r,Sc,null),qo(r),I(r,function(e){return{value:e}})}function WO(e,t){var n=e.getLabelModel(),r=GO(e,n,t);return!n.get(`show`)||e.scale.isBlank()?{labels:[]}:r}function GO(e,t,n){var r=YO(e),i=iD(t),a=n.kind===zO.estimate;if(!a){var o=ZO(r,i);if(o)return o}var s,c;V(i)?s=ik(e,i,!1):(c=i===`auto`?$O(e,n):i,s=ik(e,c,!1));var l={labels:s,labelCategoryInterval:c};return a?n.out.noPxChangeTryDetermine.push(function(){return QO(r,i,l),!0}):QO(r,i,l),l}function KO(e,t){var n=JO(e),r=iD(t),i=ZO(n,r);if(i)return i;var a,o;if((!t.get(`show`)||e.scale.isBlank())&&(a=[]),V(r))a=ik(e,r,!0);else if(r===`auto`){var s=GO(e,e.getLabelModel(),BO(zO.determine));o=s.labelCategoryInterval,a=I(s.labels,function(e){return e.tick})}else o=r,a=ik(e,o,!0);return QO(n,r,{ticks:a,tickCategoryInterval:o})}function qO(e){var t=e.scale.getTicks(),n=nD(e);return{labels:I(t,function(t,r){return{formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tick:t}})}}var JO=XO(`axisTick`),YO=XO(`axisLabel`);function XO(e){return function(t){return RO(t)[e]||(RO(t)[e]={list:[]})}}function ZO(e,t){for(var n=0;nu&&(l=Math.max(1,Math.floor(c/u)));for(var d=s[0],f=e.dataToCoord(d+1)-e.dataToCoord(d),p=Math.abs(f*Math.cos(a)),m=Math.abs(f*Math.sin(a)),h=0,g=0;d<=s[1];d+=l){var _=0,v=0,y=Va(i({value:d}),r.font,`center`,`top`);_=y.width*1.3,v=y.height*1.3,h=Math.max(h,_,7),g=Math.max(g,v,7)}var b=h/p,x=g/m;isNaN(b)&&(b=1/0),isNaN(x)&&(x=1/0);var S=Math.max(0,Math.floor(Math.min(b,x)));return n===zO.estimate?(t.out.noPxChangeTryDetermine.push(R(tk,null,e,S,c)),S):nk(e,S,c)??S}function tk(e,t,n){return nk(e,t,n)==null}function nk(e,t,n){var r=LO(e.model),i=e.getExtent(),a=r.lastAutoInterval,o=r.lastTickCount;if(a!=null&&o!=null&&Math.abs(a-t)<=1&&Math.abs(o-n)<=1&&a>t&&r.axisExtent0===i[0]&&r.axisExtent1===i[1])return a;r.lastTickCount=n,r.lastAutoInterval=t,r.axisExtent0=i[0],r.axisExtent1=i[1]}function rk(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get(`rotate`)||0,font:t.getFont()}}function ik(e,t,n){var r=nD(e),i=e.scale,a=[],o=V(t);return TE(i,o?0:t,function(e,s){var c=i.getLabel(e);if(o){var l=!!t(e.value,c);if(e.offInterval=!l,!l&&!s)return}a.push(n?e:{formattedLabel:r(e),rawLabel:c,tick:e})}),a}var ak=.8;function ok(e,t){t=t||{};var n={w:NaN,w2:NaN},r=e.scale,i=t.fromStat,a=t.min,o=cE(r);gs(o)||(o=NaN);var s=e.getExtent(),c=jo(s[1]-s[0]);return _E(r)?sk(n,e,o,c):i&&ck(n,e,o,c,i),a!=null&&(n.w=gs(n.w)?Ao(a,n.w):a),n}function sk(e,t,n,r){var i=t.onBand,a=n+ +!!i;a===0&&(a=1),e.w=r/a,!i&&n&&r&&(e.w2=e.w*n/r)}function ck(e,t,n,r,i){var a=!1,o=-1/0;F(i.key?[yD(t,i.key)]:bD(t,i.sers||[]),function(e){var t=e.liPosMinGap;t!=null&&(t>0?(t>o&&(o=t),a=!1):t===-2&&(a=!0))}),gs(n)&&n>0&&gs(o)?(e.w=r/n*o,e.w2=o):a&&(e.w=r*ak,e.w2=e.w*n/r)}var lk=[0,1],uk=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(this.scale.parse(e))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this.scale;return e=n.normalize(n.parse(e)),Bo(e,lk,dk(this),t)},e.prototype.coordToData=function(e,t){var n=Bo(e,dk(this),lk,t);return this.scale.scale(n)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=I(HO(this,t,{breakTicks:e.breakTicks,pruneByBreak:e.pruneByBreak}).ticks,function(e){return{coord:this.dataToCoord(fD(this.scale,e)),tick:e}},this),r=t.get(`alignWithLabel`),i=fk(this,n,r);return I(n,function(e){return{coord:e.coord,tickValue:e.tick.value,onBand:i}})},e.prototype.getMinorTicksCoords=function(){if(_E(this.scale))return[];var e=this.model.getModel(`minorTick`).get(`splitNumber`);return e>0&&e<100||(e=5),I(this.scale.getMinorTicks(e),function(e){return I(e,function(e){return{coord:this.dataToCoord(e),tickValue:e}},this)},this)},e.prototype.getViewLabels=function(e){return e=e||BO(zO.determine),VO(this,e).labels},e.prototype.getLabelModel=function(){return this.model.getModel(`axisLabel`)},e.prototype.getTickModel=function(){return this.model.getModel(`axisTick`)},e.prototype.getBandWidth=function(){return ok(this,{min:1}).w},e.prototype.calculateCategoryInterval=function(e){return e=e||BO(zO.determine),ek(this,e)},e}();function dk(e){var t=e.getExtent();if(e.onBand){var n=(t[1]-t[0])/e.scale.count()/2;t[0]+=n,t[1]-=n}return t}function fk(e,t,n){var r=t.length;if(!e.onBand||n||!r)return!1;var i=ok(e).w;if(!i)return!1;F(t,function(e){e.coord-=i/2});var a=e.scale.getExtent(),o=t[r-1];return o.tick.offInterval&&t.pop(),t.push({coord:o.coord+i,tick:{value:a[1]+1}}),!0}function pk(e){var t=k_.extend(e);return k_.registerClass(t),t}function mk(e){var t=Kb.extend(e);return Kb.registerClass(t),t}function hk(e){var t=Lb.extend(e);return Lb.registerClass(t),t}function gk(e){var t=Xb.extend(e);return Xb.registerClass(t),t}var _k=Math.PI*2,vk=ou.CMD,yk=[`top`,`right`,`bottom`,`left`];function bk(e,t,n,r,i){var a=n.width,o=n.height;switch(e){case`top`:r.set(n.x+a/2,n.y-t),i.set(0,-1);break;case`bottom`:r.set(n.x+a/2,n.y+o+t),i.set(0,1);break;case`left`:r.set(n.x-t,n.y+o/2),i.set(-1,0);break;case`right`:r.set(n.x+a+t,n.y+o/2),i.set(1,0);break}}function xk(e,t,n,r,i,a,o,s,c){o-=e,s-=t;var l=Math.sqrt(o*o+s*s);o/=l,s/=l;var u=o*n+e,d=s*n+t;if(Math.abs(r-i)%_k<1e-4)return c[0]=u,c[1]=d,l-n;if(a){var f=r;r=du(i),i=du(f)}else r=du(r),i=du(i);r>i&&(i+=_k);var p=Math.atan2(s,o);if(p<0&&(p+=_k),p>=r&&p<=i||p+_k>=r&&p+_k<=i)return c[0]=u,c[1]=d,l-n;var m=n*Math.cos(r)+e,h=n*Math.sin(r)+t,g=n*Math.cos(i)+e,_=n*Math.sin(i)+t,v=(m-o)*(m-o)+(h-s)*(h-s),y=(g-o)*(g-o)+(_-s)*(_-s);return v0){t=t/180*Math.PI,Dk.fromArray(e[0]),Ok.fromArray(e[1]),kk.fromArray(e[2]),q.sub(Ak,Dk,Ok),q.sub(jk,kk,Ok);var n=Ak.len(),r=jk.len();if(!(n<.001||r<.001)){Ak.scale(1/n),jk.scale(1/r);var i=Ak.dot(jk);if(Math.cos(t)1&&q.copy(Pk,kk),Pk.toArray(e[1])}}}}function Ik(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Dk.fromArray(e[0]),Ok.fromArray(e[1]),kk.fromArray(e[2]),q.sub(Ak,Ok,Dk),q.sub(jk,kk,Ok);var r=Ak.len(),i=jk.len();if(!(r<.001||i<.001)&&(Ak.scale(1/r),jk.scale(1/i),Ak.dot(t)=o)q.copy(Pk,kk);else{Pk.scaleAndAdd(jk,a/Math.tan(Math.PI/2-s));var c=kk.x===Ok.x?(Pk.y-Ok.y)/(kk.y-Ok.y):(Pk.x-Ok.x)/(kk.x-Ok.x);if(isNaN(c))return;c<0?q.copy(Pk,Ok):c>1&&q.copy(Pk,kk)}Pk.toArray(e[1])}}}function Lk(e,t,n,r){var i=n===`normal`,a=i?e:e.ensureState(n);a.ignore=t;var o=r.get(`smooth`);o=o===!0?.3:Math.max(+o,0)||0,a.shape=a.shape||{},a.shape.smooth=o;var s=r.getModel(`lineStyle`).getLineStyle();i?e.useStyle(s):a.style=s}function Rk(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=nt(r[0],r[1]),a=nt(r[1],r[2]);if(!i||!a){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var o=Math.min(i,a)*n,s=ot([],r[1],r[0],o/i),c=ot([],r[1],r[2],o/a),l=ot([],s,c,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],l[0],l[1]),e.bezierCurveTo(c[0],c[1],c[0],c[1],r[2][0],r[2][1])}else for(var u=1;u0&&i&&S(-d/a,0,a);var g=e[0],_=e[a-1],v,y;b(),v<0&&C(-v,.8),y<0&&C(y,.8),b(),x(v,y,1),x(y,v,-1),b(),v<0&&w(-v),y<0&&w(y);function b(){v=g.rect[o]-n,y=r-_.rect[o]-_.rect[s]}function x(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){S(r*n,0,a);var i=r+e;i<0&&C(-i*n,1)}else C(-e*n,1)}}function S(t,n,r){t!==0&&(u=!0);for(var i=n;i0)for(var c=0;c0;c--){var f=r[c-1]*d;S(-f,c,a)}}}function w(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r0?S(n,0,r+1):S(-n,a-r-1,a),e-=n,e<=0)return}return u}function tA(e){for(var t=0;t=0&&n.attr(i.oldLayoutSelect),P(u,`emphasis`)>=0&&n.attr(i.oldLayoutEmphasis)),im(n,c,t,s)}else if(n.attr(c),!bh(n).valueAnimation){var d=W(n.style.opacity,1);n.style.opacity=0,am(n,{style:{opacity:d}},t,s)}if(i.oldLayout=c,n.states.select){var f=i.oldLayoutSelect={};uA(f,c,dA),uA(f,n.states.select,dA)}if(n.states.emphasis){var p=i.oldLayoutEmphasis={};uA(p,c,dA),uA(p,n.states.emphasis,dA)}Sh(n,s,l,t,t)}if(r&&!r.ignore&&!r.invisible){var i=lA(r),a=i.oldLayout,m={points:r.shape.points};a?(r.attr({shape:a}),im(r,{shape:m},t)):(r.setShape(m),r.style.strokePercent=0,am(r,{style:{strokePercent:1}},t)),i.oldLayout=m}},e}(),pA=Js();function mA(e){e.registerUpdateLifecycle(`series:beforeupdate`,function(e,t,n){var r=pA(t).labelManager;r||(r=pA(t).labelManager=new fA),r.clearLabels()}),e.registerUpdateLifecycle(`series:layoutlabels`,function(e,t,n){var r=pA(t).labelManager;F(n.updatedSeries,function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))}),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()})}var hA=e({Axis:()=>uk,ChartView:()=>Xb,ComponentModel:()=>k_,ComponentView:()=>Kb,List:()=>PT,Model:()=>Ph,PRIORITY:()=>PC,SeriesModel:()=>Lb,color:()=>Or,connect:()=>jw,dataTool:()=>rT,dependencies:()=>gC,disConnect:()=>Nw,disconnect:()=>Mw,dispose:()=>Pw,env:()=>i,extendChartView:()=>gk,extendComponentModel:()=>pk,extendComponentView:()=>mk,extendSeriesModel:()=>hk,format:()=>FO,getCoordinateSystemDimensions:()=>Gw,getInstanceByDom:()=>Fw,getInstanceById:()=>Iw,getMap:()=>eT,graphic:()=>PO,helper:()=>sO,init:()=>Aw,innerDrawElementOnCanvas:()=>eC,matrix:()=>Ut,number:()=>MO,parseGeoJSON:()=>jO,parseGeoJson:()=>jO,registerAction:()=>Uw,registerCoordinateSystem:()=>Ww,registerCustomSeries:()=>Kw,registerLayout:()=>qw,registerLoading:()=>Zw,registerLocale:()=>Jh,registerMap:()=>$w,registerPostInit:()=>Bw,registerPostUpdate:()=>Vw,registerPreprocessor:()=>Rw,registerProcessor:()=>zw,registerTheme:()=>Lw,registerTransform:()=>tT,registerUpdateLifecycle:()=>Hw,registerVisual:()=>Jw,setCanvasCreator:()=>Qw,setPlatformAPI:()=>p,throttle:()=>ax,time:()=>NO,use:()=>hO,util:()=>IO,vector:()=>Re,version:()=>hC,zrUtil:()=>m,zrender:()=>uo}),gA=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(e){return YT(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new Y,n=vS(`line`,0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual(`symbol`),i=this.getData().getVisual(`symbolRotate`),a=r===`none`?`circle`:r,o=e.itemHeight*.8,s=vS(a,(e.itemWidth-o)/2,(e.itemHeight-o)/2,o,o,e.itemStyle.fill);return t.add(s),s.setStyle(e.itemStyle),s.rotation=(e.iconRotate===`inherit`?i:e.iconRotate||0)*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),a.indexOf(`empty`)>-1&&(s.style.stroke=s.style.fill,s.style.fill=Q.color.neutral00,s.style.lineWidth=2),t},t.type=`series.line`,t.dependencies=[`grid`,`polar`],t.defaultOption={z:3,coordinateSystem:`cartesian2d`,legendHoverLink:!0,clip:!0,label:{position:`top`},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:`solid`},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:`emptyCircle`,symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:`auto`,connectNulls:!1,sampling:`none`,animationEasing:`linear`,progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:`clone`},triggerLineEvent:!1,triggerEvent:!1},t}(Lb);function _A(e,t){var n=e.mapDimensionsAll(`defaultedLabel`),r=n.length;if(r===1){var i=Cy(e,t,n[0]);return i==null?null:i+``}else if(r){for(var a=[],o=0;o=0&&r.push(t[a])}return r.join(` `)}var yA=function(e){n(t,e);function t(t,n,r,i){var a=e.call(this)||this;return a.updateData(t,n,r,i),a}return t.prototype._createSymbol=function(e,t,n,r,i,a){this.removeAll();var o=vS(e,-1,-1,2,2,null,a);o.attr({z2:W(i,100),culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=bA,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){tf(this.childAt(0))},t.prototype.downplay=function(){nf(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?`move`:n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var a=e.getItemVisual(n,`symbol`)||`circle`,o=e.hostModel,s=t.getSymbolSize(e,n),c=t.getSymbolZ2(e,n),l=a!==this._symbolType,u=i&&i.disableAnimation;if(l){var d=e.getItemVisual(n,`symbolKeepAspect`);this._createSymbol(a,e,n,s,c,d)}else{var f=this.childAt(0);f.silent=!1;var p={scaleX:s[0]/2,scaleY:s[1]/2};u?f.attr(p):im(f,p,o,n),um(f)}if(this._updateCommon(e,n,s,r,i),l){var f=this.childAt(0);if(!u){var p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,am(f,p,o,n)}}u&&this.childAt(0).stopAnimation(`leave`)},t.prototype._updateCommon=function(e,t,n,r,i){var a=this.childAt(0),o=e.hostModel,s,c,l,u,d,f,p,m,h;if(r&&(s=r.emphasisItemStyle,c=r.blurItemStyle,l=r.selectItemStyle,u=r.focus,d=r.blurScope,p=r.labelStatesModels,m=r.hoverScale,h=r.cursorStyle,f=r.emphasisDisabled),!r||e.hasItemOption){var g=r&&r.itemModel?r.itemModel:e.getItemModel(t),_=g.getModel(`emphasis`);s=_.getModel(`itemStyle`).getItemStyle(),l=g.getModel([`select`,`itemStyle`]).getItemStyle(),c=g.getModel([`blur`,`itemStyle`]).getItemStyle(),u=_.get(`focus`),d=_.get(`blurScope`),f=_.get(`disabled`),p=uh(g),m=_.getShallow(`scale`),h=g.getShallow(`cursor`)}var v=e.getItemVisual(t,`symbolRotate`);a.attr(`rotation`,(v||0)*Math.PI/180||0);var y=bS(e.getItemVisual(t,`symbolOffset`),n);y&&(a.x=y[0],a.y=y[1]),h&&a.attr(`cursor`,h);var b=e.getItemVisual(t,`style`),x=b.fill;if(a instanceof Lu){var S=a.style;a.useStyle(M({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},b))}else a.__isEmptyBrush?a.useStyle(M({},b)):a.useStyle(b),a.style.decal=null,a.setColor(x,i&&i.symbolInnerColor),a.style.strokeNoScale=!0;var C=e.getItemVisual(t,`liftZ`),w=this._z2;C==null?w!=null&&(a.z2=w,this._z2=null):w??(this._z2=a.z2,a.z2+=C);var T=i&&i.useNameLabel;lh(a,p,{labelFetcher:o,labelDataIndex:t,defaultText:E,inheritColor:x,defaultOpacity:b.opacity});function E(t){return T?e.getName(t):_A(e,t)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var D=a.ensureState(`emphasis`);D.style=s,a.ensureState(`select`).style=l,a.ensureState(`blur`).style=c;var O=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;D.scaleX=this._sizeX*O,D.scaleY=this._sizeY*O,this.setSymbolScale(1),xf(this,u,d,f)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Z(this).dataIndex,a=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var o=r.getTextContent();o&&sm(o,{style:{opacity:0}},t,{dataIndex:i,removeOpt:a,cb:function(){r.removeTextContent()}})}else r.removeTextContent();sm(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:a})},t.getSymbolSize=function(e,t){return yS(e.getItemVisual(t,`symbolSize`))},t.getSymbolZ2=function(e,t){return e.getItemVisual(t,`z2`)},t}(Y);function bA(e,t){this.parent.drift(e,t)}function xA(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r&&r.isIgnore&&r.isIgnore(n))&&!(r&&r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,`symbol`)!==`none`}function SA(e){return e!=null&&!U(e)&&(e={isIgnore:e}),e||{}}function CA(e){var t=e.hostModel,n=t.getModel(`emphasis`);return{emphasisItemStyle:n.getModel(`itemStyle`).getItemStyle(),blurItemStyle:t.getModel([`blur`,`itemStyle`]).getItemStyle(),selectItemStyle:t.getModel([`select`,`itemStyle`]).getItemStyle(),focus:n.get(`focus`),blurScope:n.get(`blurScope`),emphasisDisabled:n.get(`disabled`),hoverScale:n.get(`scale`),labelStatesModels:uh(t),cursorStyle:t.get(`cursor`)}}function wA(e,t,n,r,i,a,o){var s=new e(t,n,r,i);return s.setPosition(a),t.setItemGraphicEl(n,s),o.add(s),s}var TA=function(){function e(e){this.group=new Y,this._SymbolCtor=e||yA}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=SA(t);var n=this.group,r=e.hostModel,i=this._data,a=this._SymbolCtor,o=t.disableAnimation,s=this._seriesScope=CA(e),c={disableAnimation:o},l=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add(function(r){var i=l(r);xA(e,i,r,t)&&wA(a,e,r,s,c,i,n)}).update(function(u,d){var f=i.getItemGraphicEl(d),p=l(u);if(!xA(e,p,u,t)){n.remove(f);return}var m=e.getItemVisual(u,`symbol`)||`circle`,h=f&&f.getSymbolType&&f.getSymbolType();if(!f||h&&h!==m)n.remove(f),f=new a(e,u,s,c),f.setPosition(p);else{f.updateData(e,u,s,c);var g={x:p[0],y:p[1]};o?f.attr(g):im(f,g,r)}n.add(f),e.setItemGraphicEl(u,f)}).remove(function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut(function(){n.remove(t)},r)}).execute(),this._getSymbolPoint=l,this._data=e},e.prototype.updateLayout=function(e){var t=this._data;if(t)for(var n=this,r=t.getStore(),i=0,a=r.count();i0?n=r[0]:r[1]<0&&(n=r[1]),n}function OA(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo(`stackedOverDimension`),r)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=n.get(e.baseDim,r),o[1-a]=i,t.dataToPoint(o)}function kA(e,t){return!isFinite(e)||!isFinite(t)}var AA=typeof Float32Array<`u`?Float32Array:void 0,jA=typeof Float64Array<`u`?Float64Array:void 0;function MA(e){return NA({ctor:AA},e).arr}function NA(e,t){var n=e.arr,r=e.ctor;if(t>ts&&(t=ts),!n||e.typed&&n.length=i||h<0)break;if(kA(_,v)){if(c){h+=a;continue}break}if(h===n)e[a>0?`moveTo`:`lineTo`](_,v),d=_,f=v;else{var y=_-l,b=v-u;if(y*y+b*b<.5){h+=a;continue}if(o>0){for(var x=h+a,S=t[x*2],C=t[x*2+1];S===_&&C===v&&g=r||kA(S,C))p=_,m=v;else{E=S-l,D=C-u;var A=_-l,j=S-_,ee=v-u,M=C-v,te=void 0,N=void 0;if(s===`x`){te=Math.abs(A),N=Math.abs(j);var ne=E>0?1:-1;p=_-ne*te*o,m=v,O=_+ne*N*o,k=v}else if(s===`y`){te=Math.abs(ee),N=Math.abs(M);var P=D>0?1:-1;p=_,m=v-P*te*o,O=_,k=v+P*N*o}else te=Math.sqrt(A*A+ee*ee),N=Math.sqrt(j*j+M*M),T=N/(N+te),p=_-E*o*(1-T),m=v-D*o*(1-T),O=_+E*o*T,k=v+D*o*T,O=IA(O,LA(S,_)),k=IA(k,LA(C,v)),O=LA(O,IA(S,_)),k=LA(k,IA(C,v)),E=O-_,D=k-v,p=_-E*te/N,m=v-D*te/N,p=IA(p,LA(l,_)),m=IA(m,LA(u,v)),p=LA(p,IA(l,_)),m=LA(m,IA(u,v)),E=_-p,D=v-m,O=_+E*N/te,k=v+D*N/te}e.bezierCurveTo(d,f,p,m,_,v),d=O,f=k}else e.lineTo(_,v)}l=_,u=v,h+=a}return g}var zA=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),BA=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`ec-polyline`,n}return t.prototype.getDefaultStyle=function(){return{stroke:Q.color.neutral99,fill:null}},t.prototype.getDefaultShape=function(){return new zA},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0&&kA(n[i*2-2],n[i*2-1]);i--);for(;r=0){var _=o?(d-a)*g+a:(u-i)*g+i;return o?[e,_]:[_,e]}i=u,a=d;break;case r.C:u=n[c++],d=n[c++],f=n[c++],p=n[c++],m=n[c++],h=n[c++];var v=o?ur(i,u,f,m,e,s):ur(a,d,p,h,e,s);if(v>0)for(var y=0;y=0){var _=o?cr(a,d,p,h,b):cr(i,u,f,m,b);return o?[e,_]:[_,e]}}i=m,a=h;break}}},t}(ju),VA=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(zA),HA=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`ec-polygon`,n}return t.prototype.getDefaultShape=function(){return new VA},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,a=n.length/2,o=t.smoothMonotone;if(t.connectNulls){for(;a>0&&kA(n[a*2-2],n[a*2-1]);a--);for(;i=0,a=e.fill||Q.color.neutral99;ej(r,t);var o=r.textFill==null;return i?o&&(r.textFill=n.insideFill||Q.color.neutral00,!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=a),r.textStrokeWidth??(r.textStrokeWidth=2)):(o&&(r.textFill=e.fill||n.outsideFill||Q.color.neutral00),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,F(t.rich,function(e){ej(e,e)}),r}function ej(e,t){t&&(K(t,`fill`)&&(e.textFill=t.fill),K(t,`stroke`)&&(e.textStroke=t.fill),K(t,`lineWidth`)&&(e.textStrokeWidth=t.lineWidth),K(t,`font`)&&(e.font=t.font),K(t,`fontStyle`)&&(e.fontStyle=t.fontStyle),K(t,`fontWeight`)&&(e.fontWeight=t.fontWeight),K(t,`fontSize`)&&(e.fontSize=t.fontSize),K(t,`fontFamily`)&&(e.fontFamily=t.fontFamily),K(t,`align`)&&(e.textAlign=t.align),K(t,`verticalAlign`)&&(e.textVerticalAlign=t.verticalAlign),K(t,`lineHeight`)&&(e.textLineHeight=t.lineHeight),K(t,`width`)&&(e.textWidth=t.width),K(t,`height`)&&(e.textHeight=t.height),K(t,`backgroundColor`)&&(e.textBackgroundColor=t.backgroundColor),K(t,`padding`)&&(e.textPadding=t.padding),K(t,`borderColor`)&&(e.textBorderColor=t.borderColor),K(t,`borderWidth`)&&(e.textBorderWidth=t.borderWidth),K(t,`borderRadius`)&&(e.textBorderRadius=t.borderRadius),K(t,`shadowColor`)&&(e.textBoxShadowColor=t.shadowColor),K(t,`shadowBlur`)&&(e.textBoxShadowBlur=t.shadowBlur),K(t,`shadowOffsetX`)&&(e.textBoxShadowOffsetX=t.shadowOffsetX),K(t,`shadowOffsetY`)&&(e.textBoxShadowOffsetY=t.shadowOffsetY),K(t,`textShadowColor`)&&(e.textShadowColor=t.textShadowColor),K(t,`textShadowBlur`)&&(e.textShadowBlur=t.textShadowBlur),K(t,`textShadowOffsetX`)&&(e.textShadowOffsetX=t.textShadowOffsetX),K(t,`textShadowOffsetY`)&&(e.textShadowOffsetY=t.textShadowOffsetY))}function tj(e,t){if(e.length===t.length){for(var n=0;nt){a?n.push(o(a,c,t)):i&&n.push(o(i,c,0),o(i,c,t));break}else i&&(n.push(o(i,c,0)),i=null),n.push(c),a=c}return n}function cj(e,t,n){var r=e.getVisual(`visualMeta`);if(!(!r||!r.length||!e.count())&&t.type===`cartesian2d`){for(var i,a,o=r.length-1;o>=0;o--){var s=e.getDimensionInfo(r[o].dimension);if(i=s&&s.coordDim,i===`x`||i===`y`){a=r[o];break}}if(a){var c=t.getAxis(i),l=I(a.stops,function(e){return{coord:c.toGlobalCoord(c.dataToCoord(e.value)),color:e.color}}),u=l.length,d=a.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),d.reverse());var f=sj(l,i===`x`?n.getWidth():n.getHeight()),p=f.length;if(!p&&u)return l[0].coord<0?d[1]?d[1]:l[u-1].color:d[0]?d[0]:l[0].color;var m=10,h=f[0].coord-m,g=f[p-1].coord+m,_=g-h;if(_<.001)return`transparent`;F(f,function(e){e.offset=(e.coord-h)/_}),f.push({offset:p?f[p-1].offset:.5,color:d[1]||`transparent`}),f.unshift({offset:p?f[0].offset:.5,color:d[0]||`transparent`});var v=new Hp(0,0,0,0,f,!0);return v[i]=h,v[i+`2`]=g,v}}}function lj(e,t,n){var r=e.get(`showAllSymbol`),i=r===`auto`;if(!(r&&!i)){var a=n.getAxesByScale(`ordinal`)[0];if(a&&!(i&&uj(a,t))){var o=t.mapDimension(a.dim),s={};return F(a.getViewLabels(),function(e){e.tick.offInterval||(s[fD(a.scale,e.tick)]=1)}),function(e){return!s.hasOwnProperty(t.get(o,e))}}}}function uj(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;or)return!1;return!0}function dj(e){for(var t=e.length/2;t>0&&kA(e[t*2-2],e[t*2-1]);t--);return t-1}function fj(e,t){return[e[t*2],e[t*2+1]]}function pj(e,t,n){for(var r=e.length/2,i=n===`x`?0:1,a,o,s=0,c=-1,l=0;l=t||a>=t&&o<=t){c=l;break}s=l,a=o}return{range:[s,c],t:(t-a)/(o-a)}}function mj(e){if(e.get([`endLabel`,`show`]))return!0;for(var t=0;t0&&e.get([`emphasis`,`lineStyle`,`width`])===`bolder`){var ee=f.getState(`emphasis`).style;ee.lineWidth=+f.style.lineWidth+1}Z(f).seriesIndex=e.seriesIndex,xf(f,k,A,j);var M=ij(e.get(`smooth`)),te=e.get(`smoothMonotone`);if(f.setShape({smooth:M,smoothMonotone:te,connectNulls:x}),p){var ne=a.getCalculationInfo(`stackedOnSeries`),P=0;p.useStyle(N(s.getAreaStyle(),{fill:E,opacity:.7,lineJoin:`bevel`,decal:a.getVisual(`style`).decal})),ne&&(P=ij(ne.get(`smooth`))),p.setShape({smooth:M,stackedOnSmooth:P,smoothMonotone:te,connectNulls:x}),Tf(p,e,`areaStyle`),Z(p).seriesIndex=e.seriesIndex,xf(p,k,A,j)}var re=this._changePolyState;a.eachItemGraphicEl(function(e){e&&(e.onHoverStateChange=re)}),this._polyline.onHoverStateChange=re,this._data=a,this._coordSys=r,this._stackedOnPoints=y,this._points=c,this._step=w,this._valueOrigin=_;var ie=e.get(`triggerEvent`),ae=e.get(`triggerLineEvent`),F=ae===!0||ie===!0||ie===`line`,I=ae===!0||ie===!0||ie===`area`;this.packEventData(e,f,F),p&&this.packEventData(e,p,I)},t.prototype.packEventData=function(e,t,n){Z(t).eventData=n?{componentType:`series`,componentSubType:`line`,componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:`line`,selfType:t===this._polygon?`area`:`line`}:null},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),a=qs(i,r);if(this._changePolyState(`emphasis`),!(a instanceof Array)&&a!=null&&a>=0){var o=i.getLayout(`points`),s=i.getItemGraphicEl(a);if(!s){var c=o[a*2],l=o[a*2+1];if(kA(c,l)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,l))return;var u=e.get(`zlevel`)||0,d=e.get(`z`)||0;s=new yA(i,a),s.x=c,s.y=l,s.setZ(u,d);var f=s.getSymbolPath().getTextContent();f&&(f.zlevel=u,f.z=d,f.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Xb.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),a=qs(i,r);if(this._changePolyState(`normal`),a!=null&&a>=0){var o=i.getItemGraphicEl(a);o&&(o.__temp?(i.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else Xb.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;Kd(this._polyline,e),t&&Kd(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new BA({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new HA({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,a=t.getBaseAxis(),o=a.inverse;t.type===`cartesian2d`?(r=a.isHorizontal(),i=!1):t.type===`polar`&&(r=a.dim===`angle`,i=!0);var s=e.hostModel,c=s.get(`animationDuration`);V(c)&&(c=c(null));var l=s.get(`animationDelay`)||0,u=V(l)?l(null):l;e.eachItemGraphicEl(function(e,a){var s=e;if(s){var d=[e.x,e.y],f=void 0,p=void 0,m=void 0;if(n)if(i){var h=n,g=t.pointToCoord(d);r?(f=h.startAngle,p=h.endAngle,m=-g[1]/180*Math.PI):(f=h.r0,p=h.r,m=g[0])}else{var _=n;r?(f=_.x,p=_.x+_.width,m=e.x):(f=_.y+_.height,p=_.y,m=e.y)}var v=p===f?0:(m-f)/(p-f);o&&(v=1-v);var y=V(l)?l(a):c*v+u,b=s.getSymbolPath(),x=b.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:y}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:y}),b.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel(`endLabel`);if(mj(e)){var i=e.getData(),a=this._polyline,o=i.getLayout(`points`);if(!o){a.removeTextContent(),this._endLabel=null;return}var s=this._endLabel;s||(s=this._endLabel=new Xu({z2:200}),s.ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var c=dj(o);c>=0&&(lh(a,uh(e,`endLabel`),{inheritColor:n,labelFetcher:e,labelDataIndex:c,defaultText:function(e,t,n){return n==null?_A(i,e):vA(i,n)},enableTextSetter:!0},gj(r,t)),a.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,a,o){var s=this._endLabel,c=this._polyline;if(s){e<1&&r.originalX==null&&(r.originalX=s.x,r.originalY=s.y);var l=n.getLayout(`points`),u=n.hostModel,d=u.get(`connectNulls`),f=a.get(`precision`),p=a.get(`distance`)||0,m=o.getBaseAxis(),h=m.isHorizontal(),g=m.inverse,_=t.shape,v=g?h?_.x:_.y+_.height:h?_.x+_.width:_.y,y=(h?p:0)*(g?-1:1),b=(h?0:-p)*(g?-1:1),x=h?`x`:`y`,S=pj(l,v,x),C=S.range,w=C[1]-C[0],T=void 0;if(w>=1){if(w>1&&!d){var E=fj(l,C[0]);s.attr({x:E[0]+y,y:E[1]+b}),i&&(T=u.getRawValue(C[0]))}else{var E=c.getPointOn(v,x);E&&s.attr({x:E[0]+y,y:E[1]+b});var D=u.getRawValue(C[0]),O=u.getRawValue(C[1]);i&&(T=oc(n,f,D,O,S.t))}r.lastFrameIndex=C[0]}else{var k=e===1||r.lastFrameIndex>0?C[0]:0,E=fj(l,k);i&&(T=u.getRawValue(k)),s.attr({x:E[0]+y,y:E[1]+b})}if(i){var A=bh(s);typeof A.setLabelText==`function`&&A.setLabelText(T)}}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,a,o){var s=this._polyline,c=this._polygon,l=e.hostModel,u=FA(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,a),d=u.current,f=u.stackedOnCurrent,p=u.next,m=u.stackedOnNext;if(i&&(f=oj(u.stackedOnCurrent,u.current,n,i,o),d=oj(u.current,null,n,i,o),m=oj(u.stackedOnNext,u.next,n,i,o),p=oj(u.next,null,n,i,o)),rj(d,p)>3e3||c&&rj(f,m)>3e3){s.stopAnimation(),s.setShape({points:p}),c&&(c.stopAnimation(),c.setShape({points:p,stackedOnPoints:m}));return}s.shape.__points=u.current,s.shape.points=d;var h={shape:{points:p}};u.current!==d&&(h.shape.__points=u.next),s.stopAnimation(),im(s,h,l),c&&(c.setShape({points:d,stackedOnPoints:f}),c.stopAnimation(),im(c,{shape:{stackedOnPoints:m}},l),s.shape.points!==c.shape.points&&(c.shape.points=s.shape.points));for(var g=[],_=u.status,v=0;v<_.length;v++)if(_[v].cmd===`=`){var y=e.getItemGraphicEl(_[v].idx1);y&&g.push({el:y,ptIdx:v})}s.animators&&s.animators.length&&s.animators[0].during(function(){c&&c.dirtyShape();for(var e=s.shape.__points,t=0;tt&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&a.type===`cartesian2d`&&i){var s=a.getBaseAxis(),c=a.getOtherAxis(s),l=s.getExtent(),u=n.getDevicePixelRatio(),d=Math.abs(l[1]-l[0])*(u||1),f=Math.round(o/d);if(isFinite(f)&&f>1){i===`lttb`?e.setData(r.lttbDownSample(r.mapDimension(c.dim),1/f)):i===`minmax`&&e.setData(r.minmaxDownSample(r.mapDimension(c.dim),1/f));var p=void 0;H(i)?p=yj[i]:V(i)&&(p=i),p&&e.setData(r.downSample(r.mapDimension(c.dim),1/f,p,bj))}}}}}function Sj(e){e.registerChartView(_j),e.registerSeriesModel(gA),e.registerLayout(vj(`line`,!0)),e.registerVisual({seriesType:`line`,reset:function(e){var t=e.getData(),n=e.getModel(`lineStyle`).getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual(`style`).fill),t.setVisual(`legendLineStyle`,n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,xj(`line`))}var Cj=function(e){n(t,e);function t(t,n,r,i,a){var o=e.call(this,t,n,r)||this;return o.index=0,o.type=i||`value`,o.position=a||`bottom`,o}return t.prototype.isHorizontal=function(){var e=this.position;return e===`top`||e===`bottom`},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e[this.dim===`x`?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if(this.type!==`category`)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(uk),wj=null;function Tj(e){wj||(wj=e)}function Ej(){return wj}var Dj=`expandAxisBreak`,Oj=`collapseAxisBreak`,kj=`toggleAxisBreak`,Aj=`axisbreakchanged`,jj={type:Dj,event:Aj,update:`update`,refineEvent:Pj},Mj={type:Oj,event:Aj,update:`update`,refineEvent:Pj},Nj={type:kj,event:Aj,update:`update`,refineEvent:Pj};function Pj(e,t,n,r){var i=[];return F(e,function(e){i=i.concat(e.eventBreaks)}),{eventContent:{breaks:i}}}function Fj(e){e.registerAction(jj,t),e.registerAction(Mj,t),e.registerAction(Nj,t);function t(e,t){var n=[],r=Xs(t,e);function i(t,i){F(r[t],function(t){F(t.updateAxisBreaks(e).breaks,function(e){var r;n.push(N((r={},r[i]=t.componentIndex,r),e))})})}return i(`xAxisModels`,`xAxisIndex`),i(`yAxisModels`,`yAxisIndex`),i(`singleAxisModels`,`singleAxisIndex`),{eventBreaks:n}}}var Ij=Math.PI,Lj=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],Rj=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],zj=Js(),Bj=Js(),Vj=function(){function e(e){this.recordMap={},this.resolveAxisNameOverlap=e}return e.prototype.ensureRecord=function(e){var t=e.axis.dim,n=e.componentIndex,r=this.recordMap,i=r[t]||(r[t]=[]);return i[n]||(i[n]={ready:{}})},e}();function Hj(e,t,n,r){var i=n.axis,a=t.ensureRecord(n),o=[],s,c=fM(e.axisName)&&sD(e.nameLocation);F(r,function(e){var t=qk(e);if(!(!t||t.label.ignore)){o.push(t);var n=a.transGroup;c&&(n.transform?Zt(Uj,n.transform):Gt(Uj),t.transform&&qt(Uj,Uj,t.transform),J.copy(Wj,t.localRect),Wj.applyTransform(Uj),s?s.union(Wj):J.copy(s=new J(0,0,0,0),Wj))}});var l=Math.abs(a.dirVec.x)>.1?`x`:`y`,u=a.transGroup[l];if(o.sort(function(e,t){return Math.abs(e.label[l]-u)-Math.abs(t.label[l]-u)}),c&&s){var d=i.getExtent(),f=Math.min(d[0],d[1]),p=Math.max(d[0],d[1])-f;s.union(new J(f,0,p,1))}a.stOccupiedRect=s,a.labelInfoList=o}var Uj=Wt(),Wj=new J(0,0,0,0),Gj=function(e,t,n,r,i,a){if(sD(e.nameLocation)){var o=a.stOccupiedRect;o&&Kj(Xk({},o,a.transGroup.transform),r,i)}else qj(a.labelInfoList,a.dirVec,r,i)};function Kj(e,t,n){var r=new q;rA(e,t,r,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&Zk(t,r)}function qj(e,t,n,r){for(var i=q.dot(r,t)>=0,a=0,o=e.length;a0?`top`:`bottom`,i=`center`):rs(r-Ij)?(a=n>0?`bottom`:`top`,i=`center`):(a=`middle`,i=r>0&&r0?`right`:`left`:n>0?`left`:`right`),{rotation:r,textAlign:i,textVerticalAlign:a}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+`Index`]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get(`tooltip`);return e.get(`silent`)||!(e.get(`triggerEvent`)||t&&t.show)},e}(),Yj=[`axisLine`,`axisTickLabelEstimate`,`axisTickLabelDetermine`,`axisName`],Xj={axisLine:function(e,t,n,r,i,a,o){var s=r.get([`axisLine`,`show`]);if(s===`auto`&&(s=!0,e.raw.axisLineAutoShow!=null&&(s=!!e.raw.axisLineAutoShow)),s){var c=r.axis.getExtent(),l=a.transform,u=[c[0],0],d=[c[1],0],f=u[0]>d[0];l&&(st(u,u,l),st(d,d,l));var p=M({lineCap:`round`},r.getModel([`axisLine`,`lineStyle`]).getLineStyle()),m={strokeContainThreshold:e.raw.strokeContainThreshold||5,silent:!0,z2:1,style:p};if(r.get([`axisLine`,`breakLine`])&&rg(r.axis.scale))Ej().buildAxisBreakLine(r,i,a,m);else{var h=new Np(M({shape:{x1:u[0],y1:u[1],x2:d[0],y2:d[1]}},m));Em(h.shape,h.style.lineWidth),h.anid=`line`,i.add(h)}var g=r.get([`axisLine`,`symbol`]);if(g!=null){var _=r.get([`axisLine`,`symbolSize`]);H(g)&&(g=[g,g]),(H(_)||de(_))&&(_=[_,_]);var v=bS(r.get([`axisLine`,`symbolOffset`])||0,_),y=_[0],b=_[1];F([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((u[0]-d[0])*(u[0]-d[0])+(u[1]-d[1])*(u[1]-d[1]))}],function(t,n){if(g[n]!==`none`&&g[n]!=null){var r=vS(g[n],-y/2,-b/2,y,b,p.stroke,!0),a=t.r+t.offset,o=f?d:u;r.attr({rotation:t.rotate,x:o[0]+a*Math.cos(e.rotation),y:o[1]-a*Math.sin(e.rotation),silent:!0,z2:11}),i.add(r)}})}}},axisTickLabelEstimate:function(e,t,n,r,i,a,o,s){aM(t,i,s)&&Zj(e,t,n,r,i,a,o,zO.estimate)},axisTickLabelDetermine:function(e,t,n,r,i,a,o,s){aM(t,i,s)&&Zj(e,t,n,r,i,a,o,zO.determine);var c=rM(e,i,a,r);eM(e,t.labelLayoutList,c),iM(e,i,a,r,e.tickDirection)},axisName:function(e,t,n,r,i,a,o,s){var c=n.ensureRecord(r);t.nameEl&&(i.remove(t.nameEl),t.nameEl=c.nameLayout=c.nameLocation=null);var l=e.axisName;if(fM(l)){var u=e.nameLocation,d=e.nameDirection,f=r.getModel(`nameTextStyle`),p=r.get(`nameGap`)||0,m=r.axis.getExtent(),h=r.axis.inverse?-1:1,g=new q(0,0),_=new q(0,0);u===`start`?(g.x=m[0]-h*p,_.x=-h):u===`end`?(g.x=m[1]+h*p,_.x=h):(g.x=(m[0]+m[1])/2,g.y=e.labelOffset+d*p,_.y=d);var v=Wt();_.transform(Yt(v,v,e.rotation));var y=r.get(`nameRotate`);y!=null&&(y=y*Ij/180);var b,x;sD(u)?b=Jj.innerTextLayout(e.rotation,y??e.rotation,d):(b=Qj(e.rotation,u,y||0,m),x=e.raw.axisNameAvailableWidth,x!=null&&(x=Math.abs(x/Math.sin(b.rotation)),!isFinite(x)&&(x=null)));var S=f.getFont(),C=r.get(`nameTruncate`,!0)||{},w=C.ellipsis,T=ye(e.raw.nameTruncateMaxWidth,C.maxWidth,x),E=s.nameMarginLevel||0,D=new Xu({x:g.x,y:g.y,rotation:b.rotation,silent:Jj.isLabelSilent(r),style:dh(f,{text:l,font:S,overflow:`truncate`,width:T,ellipsis:w,fill:f.getTextColor()||r.get([`axisLine`,`lineStyle`,`color`]),align:f.get(`align`)||b.textAlign,verticalAlign:f.get(`verticalAlign`)||b.textVerticalAlign}),z2:1});if(Gm({el:D,componentModel:r,itemName:l}),D.__fullText=l,D.anid=`name`,r.get(`triggerEvent`)){var O=Jj.makeAxisEventDataBase(r);O.targetType=`axisName`,O.name=l,Z(D).eventData=O}a.add(D),D.updateTransform(),t.nameEl=D;var k=c.nameLayout=qk({label:D,priority:D.z2,defaultAttr:{ignore:D.ignore},marginDefault:sD(u)?Lj[E]:Rj[E]});if(c.nameLocation=u,i.add(D),D.decomposeTransform(),e.shouldNameMoveOverlap&&k){var A=n.ensureRecord(r);n.resolveAxisNameOverlap(e,n,r,k,_,A)}}}};function Zj(e,t,n,r,i,a,o,s){sM(t)||oM(e,t,i,s,r,o);var c=t.labelLayoutList;lM(e,r,c,a),mM(r,e.rotation,c);var l=e.optionHideOverlap;$j(r,c,l),l&&nA(se(c,function(e){return e&&!e.label.ignore})),Hj(e,n,r,c)}function Qj(e,t,n,r){var i=ns(n-e),a,o,s=r[0]>r[1],c=t===`start`&&!s||t!==`start`&&s;return rs(i-Ij/2)?(o=c?`bottom`:`top`,a=`center`):rs(i-Ij*1.5)?(o=c?`top`:`bottom`,a=`center`):(o=`middle`,a=iIj/2?c?`left`:`right`:c?`right`:`left`),{rotation:i,textAlign:a,textVerticalAlign:o}}function $j(e,t,n){var r=e.axis,i=e.get([`axisLabel`,`customValues`]);if(aD(r))return;function a(e,a,o){var s=qk(t[a]),c=qk(t[o]),l=r.scale;if(!(!s||!c)){if(e==null){if(!n&&i)return;var u=zj(s.label).labelInfo.tick;if(hE(l)&&u.notNice||_E(l)&&u.offInterval){tM(s.label);return}}if(e===!1||s.suggestIgnore){tM(s.label);return}if(c.suggestIgnore){tM(c.label);return}var d=.1;if(!n){var f=[0,0,0,0];s=Qk({marginForce:f},s),c=Qk({marginForce:f},c)}rA(s,c,null,{touchThreshold:d})&&tM(e?c.label:s.label)}}var o=e.get([`axisLabel`,`showMinLabel`]),s=e.get([`axisLabel`,`showMaxLabel`]),c=t.length;a(o,0,1),a(s,c-1,c-2)}function eM(e,t,n){e.showMinorTicks||F(t,function(e){if(e&&e.label.ignore)for(var t=0;t=0&&n(r,e,t.getStore())})}var p=0;if(f(function(e,t,n){r.set(t.uid,1),(!i||!i.hasKey(t.uid))&&(o=!0),p+=n.count()}),(!i||i.keys().length!==r.keys().length)&&(o=!0),!o&&a!=null){t.liPosMinGap=a;return}NA(CM,p);var m=0;f(function(e,t,n){for(var r=0,i=n.count();r0&&v0?-2:-1,n.serUids=r}var CM=NA({ctor:jA},50);function wM(e){return function(t,n){var r=ok(t,{fromStat:{key:e}});if(gs(r.w2))return[-r.w2/2,r.w2/2]}}function TM(e){return e+`|&`}function EM(e,t){return e+`|&`+t}function DM(e){return xM(),{liPosMinGap:!_E(e.scale)}}var OM=`pictorialBar`;function kM(e,t,n,r){PD(e,{key:t,seriesType:n,coordSysType:r,getMetrics:DM})}function AM(e){return e.scale.rawExtentInfo.makeRenderInfo().startValue}var jM={left:0,right:0,top:0,bottom:0},MM=[`25%`,`25%`],NM=`cartesian2d`,PM=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.mergeDefaultAndTheme=function(t,n){var r=E_(t.outerBounds);e.prototype.mergeDefaultAndTheme.apply(this,arguments),r&&t.outerBounds&&T_(t.outerBounds,r)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&t.outerBounds&&T_(this.option.outerBounds,t.outerBounds)},t.type=`grid`,t.dependencies=[`xAxis`,`yAxis`],t.layoutMode=`box`,t.defaultOption={show:!1,z:0,left:`15%`,top:65,right:`10%`,bottom:80,containLabel:!1,outerBoundsMode:`auto`,outerBounds:jM,outerBoundsContain:`all`,outerBoundsClampWidth:MM[0],outerBoundsClampHeight:MM[1],backgroundColor:Q.color.transparent,borderWidth:1,borderColor:Q.color.neutral30},t}(k_),FM=vc(),IM=`__ec_stack_`;function LM(e){return e.get(`stack`)||IM+e.seriesIndex}function RM(e){if(_E(e.axis.scale)){for(var t=ok(e.axis),n=[],r=0;ro&&(o=a),o!==u&&(t.width=o,n-=o+l*o,r--)}}),u=(n-c)/(r+(r-1)*l),u=Ao(u,0);var d=0,f;F(o,function(e){var t=s[e];t.width||(t.width=u),f=t,d+=t.width*(1+l)}),f&&(d-=f.width*l);var p={},m=-d/2;return F(o,function(e){var n=s[e];p[e]=p[e]||{bandWidth:t,offset:m,width:n.width},m+=n.width*(1+l)}),p}function HM(e){return{seriesType:e,overallReset:function(t){var n=EM(e,NM);DD(t,n,function(t){var r=zM(t,e);wD(t,n,function(e){var t=r.columnMap[LM(e)];e.getData().setLayout({bandWidth:t.bandWidth,offset:t.offset,size:t.width})})})}}}function UM(e){return{seriesType:e,plan:qb(),reset:function(e){if(gM(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),a=t.getDimensionIndex(t.mapDimension(i.dim)),o=t.getDimensionIndex(t.mapDimension(r.dim)),s=e.get(`showBackground`,!0),c=t.mapDimension(i.dim),l=t.getCalculationInfo(`stackResultDimension`),u=GT(t,c)&&!!t.getCalculationInfo(`stackedOnSeries`),d=i.isHorizontal(),f=i.toGlobalCoord(i.dataToCoord(AM(i))),p=WM(e),m=e.get(`barMinHeight`)||0,h=l&&t.getDimensionIndex(l),g=t.getLayout(`size`),_=t.getLayout(`offset`);return{progress:function(e,t){for(var r=e.count,i=p&&MA(r*3),c=p&&s&&MA(r*3),l=p&&MA(r),v=n.master.getRect(),y=d?v.width:v.height,b,x=t.getStore(),S=0;(b=e.next())!=null;){var C=x.get(u?h:a,b),w=x.get(o,b),T=f,E=void 0;u&&(E=+C-x.get(a,b));var D=void 0,O=void 0,k=void 0,A=void 0;if(d){var j=n.dataToPoint([C,w]);u&&(T=n.dataToPoint([E,w])[0]),D=T,O=j[1]+_,k=j[0]-T,A=g,jo(k)s){u=(p+l)/2;break}f===1&&(d=m-r[0].tickValue)}u??(l?l&&(u=r[r.length-1].coord):u=r[0].coord),a[n]=e.toGlobalCoord(u)}});else{var o=this.getData(),s=o.getLayout(`offset`),c=o.getLayout(`size`),l=+!r.getBaseAxis().isHorizontal();a[l]+=s+c/2}return a}return[NaN,NaN]},t.prototype.__requireStartValue=function(e){return this.getBaseAxis()!==e},t.type=`series.__base_bar__`,t.defaultOption={z:2,coordinateSystem:`cartesian2d`,legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:`mod`,defaultBarGap:`10%`},t}(Lb);Lb.registerClass(qM);var JM=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return YT(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get(`realtimeSort`,!0)||null})},t.prototype.getProgressive=function(){return this.get(`large`)?this.get(`progressive`):!1},t.prototype.__preparePipelineContext=function(e,t){var n=wc(this,e,t);return n.progressiveRender&&(n.large=!0),n},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type=`series.bar`,t.dependencies=[`grid`,`polar`],t.defaultOption=zh(qM.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:`rgba(180, 180, 180, 0.2)`,borderColor:null,borderWidth:0,borderType:`solid`,borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:Q.color.primary,borderWidth:2}},realtimeSort:!1}),t}(qM),YM=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),XM=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`sausage`,n}return t.prototype.getDefaultShape=function(){return new YM},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),a=Math.max(t.r,0),o=(a-i)*.5,s=i+o,c=t.startAngle,l=t.endAngle,u=t.clockwise,d=Math.PI*2,f=u?l-cMath.PI/2&&ua)return!0;a=l}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),a=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=a;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:`changeAxisOrder`,componentType:n.dim+`Axis`,axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)});n.dispatchAction({type:`changeAxisOrder`,componentType:r.dim+`Axis`,isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off(`rendered`,this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(t){lm(t,e,Z(t).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type=`bar`,t}(Xb),aN={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,a=e.y+e.height,o=nN(t.x,e.x),s=rN(t.x+t.width,i),c=nN(t.y,e.y),l=rN(t.y+t.height,a),u=si?s:o,t.y=d&&c>a?l:c,t.width=u?0:s-o,t.height=d?0:l-c,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),u||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=rN(t.r,e.r),a=nN(t.r0,e.r0);t.r=i,t.r0=a;var o=i-a<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return o}},oN={cartesian2d:function(e,t,n,r,i,a,o,s,c){var l=new Gu({shape:M({},r),z2:1});if(l.__dataIndex=n,l.name=`item`,a){var u=l.shape,d=i?`height`:`width`;u[d]=0}return l},polar:function(e,t,n,r,i,a,o,s,c){var l=!i&&c?XM:Sp,u=new l({shape:r,z2:1});if(u.name=`item`,u.calculateTextPosition=ZM(hN(i),{isRoundCap:l===XM}),a){var d=u.shape,f=i?`r`:`endAngle`,p={};d[f]=i?r.r0:r.startAngle,p[f]=r[f],(s?im:am)(u,{shape:p},a)}return u}};function sN(e,t){var n=e.get(`realtimeSort`,!0),r=t.getBaseAxis();if(n&&r.type===`category`&&t.type===`cartesian2d`)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function cN(e,t,n,r,i,a,o,s){var c,l;a?(l={x:r.x,width:r.width},c={y:r.y,height:r.height}):(l={y:r.y,height:r.height},c={x:r.x,width:r.width}),s||(o?im:am)(n,{shape:c},t,i,null);var u=t?e.baseAxis.model:null;(o?im:am)(n,{shape:l},u,i)}function lN(e,t){for(var n=0;n0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function mN(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function hN(e){return function(e){var t=e?`Arc`:`Angle`;return function(e){switch(e){case`start`:case`insideStart`:case`end`:case`insideEnd`:return e+t;default:return e}}}(e)}function gN(e,t,n,r,i,a,o,s){var c=t.getItemVisual(n,`style`);if(!s){var l=r.get([`itemStyle`,`borderRadius`])||0;e.setShape(`r`,l)}else if(!a.get(`roundCap`)){var u=e.shape;M(u,tN(r.getModel(`itemStyle`),u,!0)),e.setShape(u)}e.useStyle(c);var d=r.getShallow(`cursor`);d&&e.attr(`cursor`,d);var f=s?o?i.r>=i.r0?`endArc`:`startArc`:i.endAngle>=i.startAngle?`endAngle`:`startAngle`:o?TN(i,a.coordinateSystem):EN(i,a.coordinateSystem),p=uh(r);lh(e,p,{labelFetcher:a,labelDataIndex:n,defaultText:_A(a.getData(),n),inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:f});var m=e.getTextContent();if(s&&m){var h=r.get([`label`,`position`]);e.textConfig.inside=h===`middle`?!0:null,QM(e,h===`outside`?f:h,hN(o),r.get([`label`,`rotate`]))}xh(m,p,a.getRawValue(n),function(e){return vA(t,e)});var g=r.getModel([`emphasis`]);xf(e,g.get(`focus`),g.get(`blurScope`),g.get(`disabled`)),Tf(e,r),mN(i)&&(e.style.fill=`none`,e.style.stroke=`none`,F(e.states,function(e){e.style&&(e.style.fill=e.style.stroke=`none`)}))}function _N(e,t){var n=e.get([`itemStyle`,`borderColor`]);if(!n||n===`none`)return 0;var r=e.get([`itemStyle`,`borderWidth`])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,a)}var vN=function(){function e(){}return e}(),yN=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`largeBar`,n}return t.prototype.getDefaultShape=function(){return new vN},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,c=0;c=0?n:null},30,!1);function SN(e,t,n){for(var r=e.baseDimIdx,i=1-r,a=e.shape.points,o=e.largeDataIndices,s=[],c=[],l=e.barWidth,u=0,d=a.length/3;u=s[0]&&t<=s[0]+c[0]&&n>=s[1]&&n<=s[1]+c[1])return o[u]}return-1}function CN(e,t,n){if(JA(n,`cartesian2d`)){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:a.r0,r:e?i.r:a.r,startAngle:e?a.startAngle:0,endAngle:e?a.endAngle:Math.PI*2}}}function wN(e,t,n){return new(e.type===`polar`?Sp:Gu)({shape:CN(t,n,e),silent:!0,z2:0})}function TN(e,t){return e.height===0?t.getOtherAxis(t.getBaseAxis()).inverse?`bottom`:`top`:e.height>0?`bottom`:`top`}function EN(e,t){return e.width===0?t.getOtherAxis(t.getBaseAxis()).inverse?`left`:`right`:e.width>=0?`right`:`left`}function DN(e){e.registerChartView(iN),e.registerSeriesModel(JM),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,HM(`bar`)),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,UM(`bar`)),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,xj(`bar`)),e.registerAction({type:`changeAxisOrder`,event:`changeAxisOrder`,update:`update`},function(e,t){var n=e.componentType||`series`;t.eachComponent({mainType:n,query:e},function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)})}),KM(e)}function ON(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:`legend`});if(!(!n||!n.length)){var r=e.getData();r.filterSelf(function(e){for(var t=r.getName(e),i=0;i=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}(),jN=Js(),MN=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new AN(R(this.getData,this),R(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return kN(this,{coordDimensions:[`value`],encodeDefaulter:z(U_,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=jN(n),i=r.seats;if(!i){var a=[];n.each(n.mapDimension(`value`),function(e){a.push(e)}),i=r.seats=$o(a,n.hostModel.get(`percentPrecision`))}var o=e.prototype.getDataParams.call(this,t);return o.percent=i[t]||0,o.$vars.push(`percent`),o},t.prototype._defaultLabelLine=function(e){Ds(e,`labelLine`,[`show`]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type=`series.pie`,t.defaultOption={z:2,legendHoverLink:!0,colorBy:`data`,center:[`50%`,`50%`],radius:[0,`50%`],clockwise:!0,startAngle:90,endAngle:`auto`,padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:`box`,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:`truncate`,position:`outer`,alignTo:`none`,edgeDistance:`25%`,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:`solid`}},itemStyle:{borderWidth:1,borderJoin:`round`},showEmptyCircle:!0,emptyCircleStyle:{color:`lightgray`,opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:`expansion`,animationDuration:1e3,animationTypeUpdate:`transition`,animationEasingUpdate:`cubicInOut`,animationDurationUpdate:500,animationEasing:`cubicInOut`},t}(Lb);i_({fullType:MN.type,getCoord2:function(e){return e.getShallow(`center`)}});var NN=Math.PI/180;function PN(e,t,n,r,i,a,o,s,c,l){if(e.length<2)return;function u(e){for(var a=e.rB,o=a*a,s=0;sn?o:a,d=Math.abs(c.label.y-n);if(d>=l.maxY){var f=c.label.x-t-c.len2*i,p=r+c.len;l.rB=Math.abs(f)e.unconstrainedWidth?null:f:null;r.setStyle(`width`,p)}LN(a,r)}}}function LN(e,t){zN.rect=e,Jk(zN,t,RN)}var RN={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},zN={};function BN(e){return e.position===`center`}function VN(e){var t=e.getData(),n=[],r,i,a=!1,o=(e.get(`minShowLabelAngle`)||0)*NN,s=t.getLayout(`viewRect`),c=t.getLayout(`r`),l=s.width,u=s.x,d=s.y,f=s.height;function p(e){e.ignore=!0}function m(e){if(!e.ignore)return!0;for(var t in e.states)if(e.states[t].ignore===!1)return!0;return!1}t.each(function(e){var s=t.getItemGraphicEl(e),d=s.shape,h=s.getTextContent(),g=s.getTextGuideLine(),_=t.getItemModel(e),v=_.getModel(`label`),y=v.get(`position`)||_.get([`emphasis`,`label`,`position`]),b=v.get(`distanceToLabelLine`),x=v.get(`alignTo`),S=X(v.get(`edgeDistance`),l),C=v.get(`bleedMargin`);C??(C=Math.min(l,f)>200?10:2);var w=_.getModel(`labelLine`),T=w.get(`length`);T=X(T,l);var E=w.get(`length2`);if(E=X(E,l),Math.abs(d.endAngle-d.startAngle)0?`right`:`left`:O>0?`left`:`right`}var I=Math.PI,oe=0,se=v.get(`rotate`);if(de(se))oe=I/180*se;else if(y===`center`)oe=0;else if(se===`radial`||se===!0)oe=O<0?-D+I:-D;else if(se===`tangential`||se===`tangential-noflip`&&y!==`outside`&&y!==`outer`){var ce=Math.atan2(O,k);ce<0&&(ce=I*2+ce),k>0&&se!==`tangential-noflip`&&(ce=I+ce),oe=ce-I}if(a=!!oe,h.x=A,h.y=j,h.rotation=oe,h.setStyle({verticalAlign:`middle`}),te){h.setStyle({align:M});var L=h.states.select;L&&(L.x+=h.x,L.y+=h.y)}else{var le=new J(0,0,0,0);LN(le,h),n.push({label:h,labelLine:g,position:y,len:T,len2:E,minTurnAngle:w.get(`minTurnAngle`),maxSurfaceAngle:w.get(`maxSurfaceAngle`),surfaceNormal:new q(O,k),linePoints:ee,textAlign:M,labelDistance:b,labelAlignTo:x,edgeDistance:S,bleedMargin:C,rect:le,unconstrainedWidth:le.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:te})}}),!a&&e.get(`avoidLabelOverlap`)&&FN(n,r,i,c,l,f,u,d);for(var h=0;hr?(l=O+x*r/2,u=l):(l=O+C,u=i-C),n.setItemLayout(t,{angle:r,startAngle:l,endAngle:u,clockwise:_,cx:a,cy:o,r0:c,r:v?Bo(e,b,[c,s]):s}),O=i}),E0){for(var c=i.getItemLayout(0),l=1;isNaN(c&&c.startAngle)&&l=n.r0}},t.type=`pie`,t}(Xb);function YN(e){return{seriesType:e,reset:function(e,t){var n=e.getData();n.filterSelf(function(e){var t=n.mapDimension(`value`),r=n.get(t,e);return!(de(r)&&!isNaN(r)&&r<0)})}}}function XN(e){e.registerChartView(JN),e.registerSeriesModel(MN),qx(`pie`,e.registerAction),e.registerLayout(WN),e.registerProcessor(ON(`pie`)),e.registerProcessor(YN(`pie`))}var ZN=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(e,t){return YT(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){return this.option.progressive??(this.option.large?5e3:this.get(`progressive`))},t.prototype.getProgressiveThreshold=function(){return this.option.progressiveThreshold??(this.option.large?1e4:this.get(`progressiveThreshold`))},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:``},t.type=`series.scatter`,t.dependencies=[`grid`,`polar`,`geo`,`singleAxis`,`calendar`,`matrix`],t.defaultOption={coordinateSystem:`cartesian2d`,z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:Q.color.primary}},universalTransition:{divideShape:`clone`}},t}(Lb),QN=4,$N=function(){function e(){}return e}(),eP=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new $N},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.beforeBrush=function(e){e&&!e.contentRetained&&this.reset()},t.prototype.buildPath=function(e,t){var n=t.points,r=t.size,i=this.symbolProxy,a=i.shape,o=e.getContext?e.getContext():e,s=o&&r[0]=0;s--){var c=s*2,l=r[c]-a/2,u=r[c+1]-o/2;if(e>=l&&t>=u&&e<=l+a&&t<=u+o)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,i=r[0],a=r[1],o=1/0,s=1/0,c=-1/0,l=-1/0,u=0;u=0&&(c.dataIndex=n+(e.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),nP=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).updateData(r,rP(e)),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),Cc(t),rP(t)),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),this._finished){var i=vj(``).reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(rP(e))}else return{update:!0}},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext.large;return(!n||r!==this._isLargeDraw)&&(n&&n.remove(),n=this._symbolDraw=r?new tP:new TA,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type=`scatter`,t}(Xb);function rP(e){return{clipShape:qA(e)}}var iP=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents(`grid`,Qs).models[0]},t.type=`cartesian2dAxis`,t}(k_);ie(iP,mD);var aP={show:!0,z:0,inverse:!1,name:``,nameLocation:`end`,nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:`...`,placeholder:`.`},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:`auto`,onZeroAxisIndex:null,lineStyle:{color:Q.color.axisLine,width:1,type:`solid`},symbol:[`none`,`none`],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:Q.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:Q.color.axisSplitLine,width:1,type:`solid`}},splitArea:{show:!1,areaStyle:{color:[Q.color.backgroundTint,Q.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:Q.color.neutral00,borderColor:Q.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:`auto`}},oP=j({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:`auto`,show:`auto`},axisLabel:{interval:`auto`}},aP),sP=j({boundaryGap:[0,0],axisLine:{show:`auto`},axisTick:{show:`auto`},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:Q.color.axisMinorSplitLine,width:1}}},aP),cP={category:oP,value:sP,time:j({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:`bold`}}},splitLine:{show:!1}},sP),log:N({logBase:10},sP)};function lP(e,t,r,i){F(YE,function(a,o){var s=j(j({},cP[o],!0),i,!0),c=function(e){n(r,e);function r(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t+`Axis.`+o,n}return r.prototype.mergeDefaultAndTheme=function(e,t){var n=w_(this),r=n?E_(e):{};j(e,t.getTheme().get(o+`Axis`)),j(e,this.getDefaultOption()),e.type=uP(e),n&&T_(e,r,n)},r.prototype.optionUpdated=function(){this.option.type===`category`&&(this.__ordinalMeta=eE.createByAxisModel(this))},r.prototype.getCategories=function(e){var t=this.option;if(t.type===`category`)return e?t.data:this.__ordinalMeta.categories},r.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},r.prototype.updateAxisBreaks=function(e){var t=Ej();return t?t.updateModelAxisBreak(this,e):{breaks:[]}},r.type=t+`Axis.`+o,r.defaultOption=s,r}(r);e.registerComponentModel(c)}),e.registerSubTypeDefaulter(t+`Axis`,uP)}function uP(e){return e.type||(e.data?`category`:`value`)}var dP=function(){function e(e){this.type=`cartesian`,this._dimList=[],this._axes={},this.name=e||``}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return I(this._dimList,function(e){return this._axes[e]},this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),se(this.getAxes(),function(t){return t.scale.type===e})},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}(),fP=[`x`,`y`];function pP(e){return(e.type===`interval`||e.type===`time`)&&!rg(e)}var mP=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=NM,t.dimensions=fP,t}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis(`x`).scale,t=this.getAxis(`y`).scale;if(!(!pP(e)||!pP(t))){var n=sE(e,null),r=sE(t,null),i=this.dataToPoint([n[0],r[0]]),a=this.dataToPoint([n[1],r[1]]),o=n[1]-n[0],s=r[1]-r[0];if(!(!o||!s)){var c=(a[0]-i[0])/o,l=(a[1]-i[1])/s,u=i[0]-n[0]*c,d=i[1]-r[0]*l,f=this._transform=[c,0,0,l,u,d];this._invTransform=Zt([],f)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale(`ordinal`)[0]||this.getAxesByScale(`time`)[0]||this.getAxis(`x`)},t.prototype.containPoint=function(e){var t=this.getAxis(`x`),n=this.getAxis(`y`);return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis(`x`).containData(e[0])&&this.getAxis(`y`).containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),a=new J(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(a)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&r!=null&&isFinite(r)&&i!=null&&isFinite(i))return st(n,e,this._transform);var a=this.getAxis(`x`),o=this.getAxis(`y`);return n[0]=a.toGlobalCoord(a.dataToCoord(r,t)),n[1]=o.toGlobalCoord(o.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis(`x`).scale,r=this.getAxis(`y`).scale,i=n.getExtent(),a=r.getExtent(),o=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},t.prototype.pointToData=function(e,t,n){if(n=n||[],this._invTransform)return st(n,e,this._invTransform);var r=this.getAxis(`x`),i=this.getAxis(`y`);return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim===`x`?`y`:`x`)},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis(`x`).getGlobalExtent(),n=this.getAxis(`y`).getGlobalExtent(),r=Math.min(t[0],t[1])-e,i=Math.min(n[0],n[1])-e;return new J(r,i,Math.max(t[0],t[1])-r+e,Math.max(n[0],n[1])-i+e)},t}(dP);function hP(e,t){var n=e.scale,r=e.model,i=ZD(n,r,r.ecModel,e,null),a=gE(n),o=gE(t)?t.intervalStub:t,s=a?n.intervalStub:n,c=n.base,l=o.getTicks(),u=o.getTicks({expandToNicedExtent:!0}),d=l.length-1,f,p,m;if(d===1)f=p=0,m=1;else if(d===2){var h=jo(l[0].value-l[1].value),g=jo(l[1].value-l[2].value);f=p=0,h===g?m=2:(m=1,h=C[1])return!0})):b[1]?(T=C[1],A(function(){if(te(),k=Go(O-E*m,D),j(),w<=C[0])return!0})):A(function(){k=Go(Po(C[0]/E)*E,D),O=Go(No(C[1]/E)*E,D);var e=Mo((O-k)/E);if(e<=m){var t=m-e,n=void 0,r=i.incl0||a;if(r&&C[0]===0)n=[0,t];else if(r&&C[1]===0)n=[t,0];else{var o=No(t/2);n=t%2==0?[o,o]:w+T=C[1])return!0}})}dD(n,b,S,[w,T],x,{interval:E,intervalCount:m,intervalPrecision:D,niceExtent:[k,O]})}var gP=[[3,1],[0,2]],_P=function(){function e(e,t,n){this.type=`grid`,this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=fP,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;F(this._axesList,function(e){GD(e,1);var t=e.scale;_E(t)&&t.setSortInfo(e.model.get(`categorySortInfo`))});function r(e){for(var t=L(e),n=[],r=t.length-1;r>=0;r--){var i=e[+t[r]];i.__alignTo?n.push(i):rO(i)}F(n,function(e){SP(e,e.__alignTo)?rO(e):hP(e,e.__alignTo.scale)})}r(n.x),r(n.y);var i={};F(n.x,function(e){yP(n,`y`,e,i)}),F(n.y,function(e){yP(n,`x`,e,i)}),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=x_(e,t),i=this._rect=v_(e.getBoxLayoutParams(),r.refContainer),a=this._axesMap,o=this._coordsList,s=e.get(`containLabel`);if(wP(a,i),!n){var c=kP(i,o,a,s,t),l=void 0;if(s)EP?(EP(this._axesList,i),wP(a,i)):l=OP(i.clone(),`axisLabel`,null,i,a,c,r);else{var u=jP(e,i,r),d=u.outerBoundsRect,f=u.parsedOuterBoundsContain,p=u.outerBoundsClamp;d&&(l=OP(d,f,p,i,a,c,r))}AP(i,a,zO.determine,null,l,r),F(this._coordsList,function(e){e.calcAffineTransform()})}},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(n!=null)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var n=`x`+e+`y`+t;return this._coordsMap[n]}U(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r=0;i--){var a=e[+t[i]];pE(a.scale)&&lD(a.model,a.type,!0)==null&&(a.model.get(`alignTicks`)&&a.model.get(`interval`)==null?r.push(a):n=a)}n||(n=r.pop()),n&&F(r,function(e){e.__alignTo=n})}function SP(e,t){return rg(e.scale)||rg(t.scale)||t.scale.getTicks().length<2}function CP(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord=e.dim===`x`?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=e.dim===`x`?function(e){return e-t}:function(e){return r-e+t}}function wP(e,t){F(e.x,function(e){return TP(e,t.x,t.width)}),F(e.y,function(e){return TP(e,t.y,t.height)})}function TP(e,t,n){var r=[0,n],i=+!!e.inverse;e.setExtent(r[i],r[1-i]),CP(e,t)}var EP;function DP(e){EP=e}function OP(e,t,n,r,i,a,o){AP(r,i,zO.estimate,t,!1,o);var s=[0,0,0,0];l(0),l(1),u(r,0,NaN),u(r,1,NaN);var c=ce(s,function(e){return e>0})==null;return Hm(r,s,!0,!0,n),wP(i,r),c;function l(e){F(i[mm[e]],function(t){if(cD(t.model)){var n=a.ensureRecord(t.model),r=n.labelInfoList;if(r)for(var i=0;i0&&!ve(t)&&t>1e-4&&(e/=t),e}}function kP(e,t,n,r,i){var a=new Vj(MP);return F(n,function(n){return F(n,function(n){if(cD(n.model)){var o=!r;n.axisBuilder=vM(e,t,n.model,i,a,o)}})}),a}function AP(e,t,n,r,i,a){var o=n===zO.determine;F(t,function(t){return F(t,function(t){cD(t.model)&&(yM(t.axisBuilder,e,t.model),t.axisBuilder.build(o?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:i}))})});var s={x:0,y:0};c(0),c(1);function c(t){s[mm[1-t]]=e[hm[t]]<=a.refContainer[hm[t]]*.5?0:1-t==1?2:1}F(t,function(e,t){return F(e,function(e){cD(e.model)&&((r===`all`||o)&&e.axisBuilder.build({axisName:!0},{nameMarginLevel:s[t]}),o&&e.axisBuilder.build({axisLine:!0}))})})}function jP(e,t,n){var r,i=e.get(`outerBoundsMode`,!0);i===`same`?r=t.clone():(i==null||i===`auto`)&&(r=v_(e.get(`outerBounds`,!0)||jM,n.refContainer));var a=e.get(`outerBoundsContain`,!0),o=a==null||a===`auto`||P([`all`,`axisLabel`],a)<0?`all`:a,s=[Ho(W(e.get(`outerBoundsClampWidth`,!0),MM[0]),t.width),Ho(W(e.get(`outerBoundsClampHeight`,!0),MM[1]),t.height)];return{outerBoundsRect:r,parsedOuterBoundsContain:o,outerBoundsClamp:s}}var MP=function(e,t,n,r,i,a){var o=n.axis.dim===`x`?`y`:`x`;Gj(e,t,n,r,i,a),sD(e.nameLocation)||F(t.recordMap[o],function(e){e&&e.labelInfoList&&e.dirVec&&qj(e.labelInfoList,e.dirVec,r,i)})};function NP(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return PP(n,e,t),n.seriesInvolved&&IP(n,e),n}function PP(e,t,n){var r=t.getComponent(`tooltip`),i=t.getComponent(`axisPointer`),a=i.get(`link`,!0)||[],o=[];F(n.getCoordinateSystems(),function(n){if(!n.axisPointerEnabled)return;var s=UP(n.model),c=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var l=n.model.getModel(`tooltip`,r);if(F(n.getAxes(),z(p,!1,null)),n.getTooltipAxes&&r&&l.get(`show`)){var u=l.get(`trigger`)===`axis`,d=l.get([`axisPointer`,`type`])===`cross`,f=n.getTooltipAxes(l.get([`axisPointer`,`axis`]));(u||d)&&F(f.baseAxes,z(p,d?`cross`:!0,u)),d&&F(f.otherAxes,z(p,`cross`,!1))}function p(r,s,u){var d=u.model.getModel(`axisPointer`,i),f=d.get(`show`);if(!(!f||f===`auto`&&!r&&!HP(d))){s??(s=d.get(`triggerTooltip`)),d=r?FP(u,l,i,t,r,s):d;var p=d.get(`snap`),m=d.get(`triggerEmphasis`),h=UP(u.model),g=s||p||u.type===`category`,_=e.axesInfo[h]={key:h,axis:u,coordSys:n,axisPointerModel:d,triggerTooltip:s,triggerEmphasis:m,involveSeries:g,snap:p,useHandle:HP(d),seriesModels:[],linkGroup:null};c[h]=_,e.seriesInvolved=e.seriesInvolved||g;var v=LP(a,u);if(v!=null){var y=o[v]||(o[v]={axesInfo:{}});y.axesInfo[h]=_,y.mapper=a[v].mapper,_.linkGroup=y}}}})}function FP(e,t,n,r,i,a){var o=t.getModel(`axisPointer`),s=[`type`,`snap`,`lineStyle`,`shadowStyle`,`label`,`animation`,`animationDurationUpdate`,`animationEasingUpdate`,`z`],c={};F(s,function(e){c[e]=A(o.get(e))}),c.snap=e.type!==`category`&&!!a,o.get(`type`)===`cross`&&(c.type=`line`);var l=c.label||(c.label={});if(l.show??(l.show=!1),i===`cross`&&(l.show=o.get([`label`,`show`])??!0,!a)){var u=c.lineStyle=o.get(`crossStyle`);u&&N(l,u.textStyle)}return e.model.getModel(`axisPointer`,new Ph(c,n,r))}function IP(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,r=t.get([`tooltip`,`trigger`],!0),i=t.get([`tooltip`,`show`],!0);!n||!n.model||r===`none`||r===!1||r===`item`||i===!1||t.get([`axisPointer`,`show`],!0)===!1||F(e.coordSysAxesInfo[UP(n.model)],function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),e.seriesDataCount??(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})})}function LP(e,t){for(var n=t.model,r=t.dim,i=0;i=0||e===t}function zP(e){var t=BP(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,a=n.get(`status`),o=n.get(`value`);o!=null&&(o=r.parse(o));var s=HP(n);a??(i.status=s?`show`:`hide`);var c=r.getExtent();(o==null||o>c[1])&&(o=c[1]),o0;return o&&s}var sF=Js();function cF(e,t,n,r){if(e instanceof Cj&&e.scale.type!==`ordinal`)return n;var i=e.model,a=i.get(`jitter`);if(!(a>0))return n;var o=i.get(`jitterOverlap`),s=i.get(`jitterMargin`)||0,c=_E(e.scale)?ok(e).w:null;return o?lF(n,a,c,r):uF(e,t,n,r,a,s)}function lF(e,t,n,r){if(n===null)return e+(Math.random()-.5)*t;var i=n-r*2,a=Math.min(Math.max(0,t),i);return e+(Math.random()-.5)*a}function uF(e,t,n,r,i,a){var o=sF(e);o.items||(o.items=[]);var s=o.items,c=dF(s,t,n,r,i,a,1),l=dF(s,t,n,r,i,a,-1),u=Math.abs(c-n)i/2||d&&f>d/2-r?lF(n,i,d,r):(s.push({fixedCoord:t,floatCoord:u,r}),u)}function dF(e,t,n,r,i,a,o){for(var s=n,c=0;ci/2)return Number.MAX_VALUE;if(o===1&&m>s||o===-1&&m0&&!f.min?f.min=0:f.min!=null&&f.min<0&&!f.max&&(f.max=0);var p=s;f.color!=null&&(p=N({color:f.color},s));var m=j(A(f),{boundaryGap:e,splitNumber:t,clockwise:n,scale:r,axisLine:i,axisTick:a,axisLabel:o,name:f.text,showName:c,nameLocation:`end`,nameGap:u,nameTextStyle:p,triggerEvent:d},!1);if(H(l)){var h=m.name;m.name=l.replace(`{value}`,h??``)}else V(l)&&(m.name=l(m.name,m));var g=new Ph(m,null,this.ecModel);return ie(g,mD.prototype),g.mainType=`radar`,g.componentIndex=this.componentIndex,g.uid=Ih(`ec_radar`),g},this);this._indicatorModels=f},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type=xF,t.defaultOption={z:0,center:[`50%`,`50%`],radius:`50%`,startAngle:90,clockwise:!1,axisName:{show:!0,color:Q.color.axisLabel},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:`polygon`,axisLine:j({lineStyle:{color:Q.color.neutral20}},yF.axisLine),axisLabel:CF(yF.axisLabel,!1),axisTick:CF(yF.axisTick,!1),splitLine:CF(yF.splitLine,!0),splitArea:CF(yF.splitArea,!0),indicator:[]},t}(k_),TF=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){this.group.removeAll(),this._buildAxes(e,n),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e,t){var n=e.coordinateSystem;F(I(n.getIndicatorAxes(),function(e){var r=e.model.get(`showName`)?e.name:``;return new Jj(e.model,t,{axisName:r,position:[n.cx,n.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(e){e.build(),this.group.add(e.group)},this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(!n.length)return;var r=e.get(`shape`),i=e.getModel(`splitLine`),a=e.getModel(`splitArea`),o=i.getModel(`lineStyle`),s=a.getModel(`areaStyle`),c=i.get(`show`),l=a.get(`show`),u=o.get(`color`),d=s.get(`color`),f=B(u)?u:[u],p=B(d)?d:[d],m=[],h=[];function g(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}if(r===`circle`)for(var _=n[0].getTicksCoords(),v=t.cx,y=t.cy,b=0;b<_.length;b++){if(c){var x=g(m,f,b);m[x].push(new rp({shape:{cx:v,cy:y,r:_[b].coord}}))}if(l&&b<_.length-1){var x=g(h,p,b);h[x].push(new wp({shape:{cx:v,cy:y,r0:_[b].coord,r:_[b+1].coord}}))}}else for(var S,C=I(n,function(e,n){var r=e.getTicksCoords();return S=S==null?r.length-1:Math.min(r.length-1,S),I(r,function(e){return t.coordToPoint(e.coord,n)})}),w=[],b=0;b<=S;b++){for(var T=[],E=0;E3?1.4:i>1?1.2:1.1,c=r>0?s:1/s;this._checkTriggerMoveZoom(this,`zoom`,`zoomOnMouseWheel`,e,{scale:c,originX:a,originY:o,isAvailableBehavior:null})}if(n){var l=Math.abs(r),u=(r>0?1:-1)*(l>3?.4:l>1?.15:.05);this._checkTriggerMoveZoom(this,`scrollMove`,`moveOnMouseWheel`,e,{scrollDelta:u,originX:a,originY:o,isAvailableBehavior:null})}}}},t.prototype._pinchHandler=function(e){if(!(LF(this._zr,`globalPan`)||VF(e))){var t=e.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,`zoom`,null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t.prototype._checkTriggerMoveZoom=function(e,t,n,r,i){e._checkPointer(r,i.originX,i.originY)&&(Lt(r.event),r.__ecRoamConsumed=!0,JF(e,t,n,r,i))},t}(ft);function VF(e){return e.__ecRoamConsumed}var HF=Js();function UF(e){var t=HF(e);return t.roam=t.roam||{},t.uniform=t.uniform||{},t}function WF(e,t,n,r){for(var i=UF(e).roam,a=i[t]=i[t]||[],o=0;o=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&o!=null&&s!=null&&(u=xI(l,{x:0,y:0,width:o,height:s}),!t.ignoreViewBox)){var f=r;r=new Y,r.add(f),f.scaleX=f.scaleY=u.scale,f.x=u.x,f.y=u.y}return!t.ignoreRootClip&&o!=null&&s!=null&&r.setClipPath(new Gu({shape:{x:0,y:0,width:o,height:s}})),{root:r,width:o,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},e.prototype._parseNode=function(e,t,n,r,i,a){var o=e.nodeName.toLowerCase(),s,c=r;if(o===`defs`&&(i=!0),o===`text`&&(a=!0),o===`defs`||o===`switch`)s=t;else{if(!i){var l=ZF[o];if(l&&K(ZF,o)){s=l.call(this,e,t);var u=e.getAttribute(`name`);if(u){var d={name:u,namedFrom:null,svgNodeTagLower:o,el:s};n.push(d),o===`g`&&(c=d)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:o,el:s});t.add(s)}}var f=rI[o];if(f&&K(rI,o)){var p=f.call(this,e),m=e.getAttribute(`id`);m&&(this._defs[m]=p)}}if(s&&s.isGroup)for(var h=e.firstChild;h;)h.nodeType===1?this._parseNode(h,s,n,c,i,a):h.nodeType===3&&a&&this._parseText(h,s),h=h.nextSibling},e.prototype._parseText=function(e,t){var n=new Nu({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});oI(t,n),cI(e,n,this._defsUsePending,!1,!1),lI(n,t);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9),r.font=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+`px`,r.fontFamily||`sans-serif`].join(` `);var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=(function(){ZF={g:function(e,t){var n=new Y;return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new Gu;return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute(`x`)||`0`),y:parseFloat(e.getAttribute(`y`)||`0`),width:parseFloat(e.getAttribute(`width`)||`0`),height:parseFloat(e.getAttribute(`height`)||`0`)}),n.silent=!0,n},circle:function(e,t){var n=new rp;return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute(`cx`)||`0`),cy:parseFloat(e.getAttribute(`cy`)||`0`),r:parseFloat(e.getAttribute(`r`)||`0`)}),n.silent=!0,n},line:function(e,t){var n=new Np;return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute(`x1`)||`0`),y1:parseFloat(e.getAttribute(`y1`)||`0`),x2:parseFloat(e.getAttribute(`x2`)||`0`),y2:parseFloat(e.getAttribute(`y2`)||`0`)}),n.silent=!0,n},ellipse:function(e,t){var n=new ap;return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute(`cx`)||`0`),cy:parseFloat(e.getAttribute(`cy`)||`0`),rx:parseFloat(e.getAttribute(`rx`)||`0`),ry:parseFloat(e.getAttribute(`ry`)||`0`)}),n.silent=!0,n},polygon:function(e,t){var n=e.getAttribute(`points`),r;n&&(r=sI(n));var i=new Op({shape:{points:r||[]},silent:!0});return oI(t,i),cI(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var n=e.getAttribute(`points`),r;n&&(r=sI(n));var i=new Ap({shape:{points:r||[]},silent:!0});return oI(t,i),cI(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var n=new Lu;return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute(`xlink:href`)||e.getAttribute(`href`),x:+e.getAttribute(`x`),y:+e.getAttribute(`y`),width:+e.getAttribute(`width`),height:+e.getAttribute(`height`)}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute(`x`)||`0`,r=e.getAttribute(`y`)||`0`,i=e.getAttribute(`dx`)||`0`,a=e.getAttribute(`dy`)||`0`;this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(a);var o=new Y;return oI(t,o),cI(e,o,this._defsUsePending,!1,!0),o},tspan:function(e,t){var n=e.getAttribute(`x`),r=e.getAttribute(`y`);n!=null&&(this._textX=parseFloat(n)),r!=null&&(this._textY=parseFloat(r));var i=e.getAttribute(`dx`)||`0`,a=e.getAttribute(`dy`)||`0`,o=new Y;return oI(t,o),cI(e,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(a),o},path:function(e,t){var n=Qf(e.getAttribute(`d`)||``);return oI(t,n),cI(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}})(),e}(),rI={lineargradient:function(e){var t=new Hp(parseInt(e.getAttribute(`x1`)||`0`,10),parseInt(e.getAttribute(`y1`)||`0`,10),parseInt(e.getAttribute(`x2`)||`10`,10),parseInt(e.getAttribute(`y2`)||`0`,10));return iI(e,t),aI(e,t),t},radialgradient:function(e){var t=new Up(parseInt(e.getAttribute(`cx`)||`0`,10),parseInt(e.getAttribute(`cy`)||`0`,10),parseInt(e.getAttribute(`r`)||`0`,10));return iI(e,t),aI(e,t),t}};function iI(e,t){e.getAttribute(`gradientUnits`)===`userSpaceOnUse`&&(t.global=!0)}function aI(e,t){for(var n=e.firstChild;n;){if(n.nodeType===1&&n.nodeName.toLocaleLowerCase()===`stop`){var r=n.getAttribute(`offset`),i=void 0;i=r&&r.indexOf(`%`)>0?parseInt(r,10)/100:r?parseFloat(r):0;var a={};yI(n,a,a);var o=a.stopColor||n.getAttribute(`stop-color`)||`#000000`,s=a.stopOpacity||n.getAttribute(`stop-opacity`);if(s){var c=Hr(o);c&&c[3]&&(c[3]*=Pr(s),o=$r(c,`rgba`))}t.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function oI(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),N(t.__inheritedStyle,e.__inheritedStyle))}function sI(e){for(var t=mI(e),n=[],r=0;r0;a-=2){var o=r[a],s=r[a-1],c=mI(o);switch(i=i||Wt(),s){case`translate`:Jt(i,i,[parseFloat(c[0]),parseFloat(c[1]||`0`)]);break;case`scale`:Xt(i,i,[parseFloat(c[0]),parseFloat(c[1]||c[0])]);break;case`rotate`:Yt(i,i,-parseFloat(c[0])*gI,[parseFloat(c[1]||`0`),parseFloat(c[2]||`0`)]);break;case`skewX`:var l=Math.tan(parseFloat(c[0])*gI);qt(i,[1,0,l,1,0,0],i);break;case`skewY`:var u=Math.tan(parseFloat(c[0])*gI);qt(i,[1,u,0,1,0,0],i);break;case`matrix`:i[0]=parseFloat(c[0]),i[1]=parseFloat(c[1]),i[2]=parseFloat(c[2]),i[3]=parseFloat(c[3]),i[4]=parseFloat(c[4]),i[5]=parseFloat(c[5]);break}}t.setLocalTransform(i)}}var vI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function yI(e,t,n){var r=e.getAttribute(`style`);if(r){vI.lastIndex=0;for(var i;(i=vI.exec(r))!=null;){var a=i[1],o=K(QF,a)?QF[a]:null;o&&(t[o]=i[2]);var s=K(eI,a)?eI[a]:null;s&&(n[s]=i[2])}}}function bI(e,t,n){for(var r=0;r<$F.length;r++){var i=$F[r],a=e.getAttribute(i);a!=null&&(t[QF[i]]=a)}for(var r=0;r1e-6;PL[0]=o?(i[0]-r.x)/a:i[0],PL[1]=o?(i[1]-r.y)/a:i[1],st(PL,PL,e.mtRawInv);var s=AL(e,PL);FL(t,s,a),F(n,function(e){e!==t&&FL(e,s.slice(),a)})}var PL=[];function FL(e,t,n){var r=e.option;r.center=t,r.zoom=n}function IL(e,t){if(t){var n=t.min||0,r=t.max||1/0;e=Math.max(Math.min(r,e),n)}return e}function LL(e,t){var n=t.getShallow(`nodeScaleRatio`,!0)||1,r=UI(e);return((r.zoom-1)*n+1)/(r.trans[2].scaleX||1)}function RL(e,t,n,r,i,a,o,s){if(!TL(e)){n.disable();return}n.enable(W(e.get(`roam`),o),{api:t,zInfo:{component:e},triggerInfo:{roamTrigger:e.get(`roamTrigger`),isInSelf:r,isInClip:function(e,t,n){return!i||i.contain(t,n)}}});function c(n){var r=e.mainType,i=nh(N({type:HL(r,e.subType,bd)},n));s&&(i.componentType=r),i[r+`Id`]=e.id,t.dispatchAction(i)}n.off(`pan`).off(`zoom`).on(`pan`,function(e){a&&a(`pan`),c({dx:e.dx,dy:e.dy})}).on(`zoom`,function(e){a&&a(`zoom`),c({zoom:e.scale,originX:e.originX,originY:e.originY})})}function zL(e){return function(t,n,r){return BL.copy(e.getBoundingRect()),BL.applyTransform(e.getComputedTransform()),BL.contain(n,r)}}var BL=new J(0,0,0,0);function VL(e,t,n){var r=HL(t,n,bd);e.registerAction({type:r,event:r,update:`none`},function(e,r,i){r.eachComponent(tc(e,t,n),function(t){wL(e,t),EL(e,t,r,i)})})}function HL(e,t,n){return(e===`series`?t===`map`?`geo`:t:e)+n}function UL(e){return e.zoom!=null}function WL(e,t,n,r,i,a,o){var s=new GI(null,ML(e.ecModel,t));return rL(s,n,r,i,a),o?iL(s,o.x,o.y,o.width,o.height):iL(s,n,r,i,a),nL(s,e),s}var GL=[`rect`,`circle`,`line`,`ellipse`,`polygon`,`polyline`,`path`],KL=G(GL),qL=G(GL.concat([`g`])),JL=G(GL.concat([`g`])),YL=Js();function XL(e){var t=e.getItemStyle(),n=e.get(`areaColor`);return n!=null&&(t.fill=n),t}function ZL(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var QL=function(){function e(e){var t=this.group=new Y,n=this._transformGroup=new Y;t.add(n),this.uid=Ih(`ec_map_draw`),this._controller=new BF(e.getZr()),n.add(this._regionsGroup=new Y),n.add(this._svgGroup=new Y)}return e.prototype.draw=function(e,t,n,r,i){var a=this,o=e.getData&&e.getData();aR(e)&&t.eachComponent({mainType:`series`,subType:`map`},function(t){!o&&t.getHostGeoModel()===e&&(o=t.getData())});var s=e.coordinateSystem,c=s.view,l=this._regionsGroup,u=this._transformGroup,d=!l.childAt(0)||i,f;s.shouldClip()?(f=XI(null,c),this.group.setClipPath(new Gu({shape:f.clone()}))):this.group.removeClipPath(),bL(u,1,c,d?null:e);var p=o&&o.getVisual(`visualMeta`)&&o.getVisual(`visualMeta`).length>0;s.resourceType===`geoJSON`?this._buildGeoJSON(c,n,s,e,o,p):s.resourceType===`geoSVG`&&this._buildSVG(c,n,s,e,o,p),RL(e,n,this._controller,function(t,n,r){return e.coordinateSystem.containPoint([n,r])},f,function(){a._mouseDownFlag=!1},!1,!0),this._updateMapSelectHandler(e,l,n,r)},e.prototype.__updateOnOwnRoam=function(e){bL(this._transformGroup,1,e.coordinateSystem.view,null)},e.prototype._buildGeoJSON=function(e,t,n,r,i,a){var o=this._regionsGroupByName=G(),s=G(),c=this._regionsGroup,l=n.projection,u=l&&l.stream,d=ka(ZI(null,e,0));function f(e,t){return t&&(e=t(e)),e&&st([],e,d)}function p(e){for(var t=[],n=!u&&l&&l.project,r=0;r=0)&&(u=e);var d=o?{normal:{align:`center`,verticalAlign:`middle`}}:null;lh(n,uh(i),{labelFetcher:u,labelDataIndex:l,defaultText:r},d);var f=n.getTextContent();if(f&&(YL(f).ignore=f.ignore,n.textConfig&&o)){var p=n.getBoundingRect().clone();n.textConfig.layoutRect=p,n.textConfig.position=[(o[0]-p.x)/p.width*100+`%`,(o[1]-p.y)/p.height*100+`%`]}n.disableLabelAnimation=!0}else n.removeTextContent(),n.removeTextConfig(),n.disableLabelAnimation=null}function tR(e,t,n,r,i,a){t?t.setItemGraphicEl(a,n):Z(n).eventData={componentType:`geo`,componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:r,region:i&&i.option||{}}}function nR(e,t,n,r,i){t||Gm({el:n,componentModel:e,itemName:r,itemTooltipOption:i.get(`tooltip`)})}function rR(e,t,n,r){t.highDownSilentOnTouch=!!e.get(`selectedMode`);var i=r.getModel(`emphasis`),a=i.get(`focus`);return xf(t,a,i.get(`blurScope`),i.get(`disabled`)),aR(e)&&Of(t,e,n),a}function iR(e,t,n){var r=[],i;function a(){i=[]}function o(){i.length&&(r.push(i),i=[])}var s=t({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(e,t){isFinite(e)&&isFinite(t)&&i.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),F(e,function(e){s.lineStart();for(var t=0;t-1&&(n.style.stroke=n.style.fill,n.style.fill=Q.color.neutral00,n.style.lineWidth=2),n},t.prototype.__ownRoamView=function(){return cR(this)?this.coordinateSystem.view:null},t.type=`series.map`,t.dependencies=[`geo`],t.layoutMode=`box`,t.defaultOption={z:2,coordinateSystem:`geo`,map:``,left:`center`,top:`center`,aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:Q.color.tertiary},itemStyle:{borderWidth:.5,borderColor:Q.color.border,areaColor:Q.color.background},emphasis:{label:{show:!0,color:Q.color.primary},itemStyle:{areaColor:Q.color.highlight}},select:{label:{show:!0,color:Q.color.primary},itemStyle:{color:Q.color.highlight}},nameProperty:`name`},t}(Lb);function sR(e){return e.indexOf(`i`)===0}function cR(e){return lR(e.seriesGroup)===e&&!e.getHostGeoModel()}function lR(e){return e.f[0]}function uR(e,t){var n={};return e.eachRawSeriesByType(`map`,function(r){var i=r.getHostGeoModel(),a=i?`o`+i.id:`i`+r.getMapType(),o=n[a]=n[a]||{f:[],r:[]};!e.isSeriesFiltered(r)&&!t&&o.f.push(r),o.r.push(r)}),n}var dR=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=`map`,t}return t.prototype.render=function(e,t,n,r){if(!(r&&r.type===`mapToggleSelect`&&r.from===this.uid)){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){var a=this._mapDraw;a&&r&&r.type===`geoRoam`&&a.resetForLabelLayout(),r&&r.type===`geoRoam`&&r.componentType===`series`&&r.seriesId===e.id?a&&i.add(a.group):cR(e)?(a=a||(this._mapDraw=new QL(n)),i.add(a.group),a.draw(e,t,n,this,r)):this._clearMapDraw(),e.get(`showLegendSymbol`)&&t.getComponent(`legend`)&&this._renderSymbols(e)}}},t.prototype.__updateOnOwnRoam=function(e,t,n){var r=this._mapDraw;cR(t)&&r&&r.__updateOnOwnRoam(t)},t.prototype.remove=function(){this._clearMapDraw(),this.group.removeAll()},t.prototype.dispose=function(){this._clearMapDraw()},t.prototype._clearMapDraw=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e){var t=e.originalData,n=this.group;t.each(t.mapDimension(`value`),function(r,i){if(!isNaN(r)){var a=t.getItemLayout(i);if(!(!a||!a.point)){var o=a.point,s=a.offset,c=new rp({style:{fill:e.getData().getVisual(`style`).fill},shape:{cx:o[0]+s*9,cy:o[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var l=lR(e.seriesGroup).getData(),u=t.getName(i),d=l.indexOfName(u),f=t.getItemModel(i),p=f.getModel(`label`),m=l.getItemGraphicEl(d);lh(c,uh(f),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(d,n)}},defaultText:u}),c.disableLabelAnimation=!0,p.get(`position`)||c.setTextConfig({position:`bottom`}),m.onHoverStateChange=function(e){Kd(c,e)}}n.add(c)}}})},t.type=`map`,t}(Xb),fR={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},pR=[`lng`,`lat`],mR=function(e){n(t,e);function t(t,n,r){var i=e.call(this)||this;i.dimensions=pR,i.type=`geo`,i._nameCoordMap=G(),i.name=t;var a=r.projection,o=HI.load(n,r.nameMap,r.nameProperty),s=HI.getGeoResource(n);i.resourceType=s?s.type:null;var c=i.regions=o.regions,l=fR[s.type];i._clip=r.clip,i.view=new GI(a?!1:l.invertLongitute,ML(r.ecModel,r.api),i),i.map=n,i._regionsMap=o.regionsMap,i.regions=o.regions,i.projection=a;var u;if(a)for(var d=0;d1?(b.width=y,b.height=y/g):(b.height=y,b.width=y*g),b.y=v[1]-b.height/2,b.x=v[0]-b.width/2;else{var x=e.getBoxLayoutParams();x.aspect=g,b=v_(x,h),b=y_(e,b,g)}iL(n,b.x,b.y,b.width,b.height),nL(n,e)}function _R(e,t){F(t.get(`geoCoord`),function(t,n){e.addGeoCoord(n,t)})}var vR=new(function(){function e(){this.dimensions=pR}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get(`nameProperty`),aspectScale:e.get(`aspectScale`),projection:e.get(`projection`),clip:e.getShallow(`clip`,!0)}}return e.eachComponent(`geo`,function(i,a){var o=i.get(`map`),s=new mR(o+a,o,M({nameMap:i.get(`nameMap`),api:t,ecModel:e},r(i)));n.push(s),i.coordinateSystem=s,s.model=i,s.resize=gR,s.resize(i,t)}),e.eachSeries(function(e){c_({targetModel:e,coordSysType:`geo`,coordSysProvider:function(){var t=e.subType===`map`?e.getHostGeoModel():e.getReferringComponents(`geo`,Qs).models[0];return t&&t.coordinateSystem},allowNotFound:!0})}),F(uR(e,!0),function(i,a){if(sR(a)){var o=i.r[0],s=[];F(i.r,function(e){s.push(e.get(`nameMap`)),e.seriesGroup=null});var c=a.slice(1),l=new mR(c,c,M({nameMap:ee(s),api:t,ecModel:e},r(o))),u;F(i.r,function(e){u=W(u,e.get(`scaleLimit`))}),n.push(l),l.resize=gR,l.resize(o,t),F(i.r,function(e){e.coordinateSystem=l,_R(l,e)})}}),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var i=(e||[]).slice(),a=G(),o=0;o=0;a--){var o=i[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},n.push(o)}}function AR(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){PR(e);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=FR(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function jR(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function MR(e){return arguments.length?e:BR}function NR(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function PR(e){for(var t=e.children,n=t.length,r=0,i=0;--n>=0;){var a=t[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,i+=a.hierNode.change,r+=a.hierNode.shift+i}}function FR(e,t,n,r){if(t){for(var i=e,a=e,o=a.parentNode.children[0],s=t,c=i.hierNode.modifier,l=a.hierNode.modifier,u=o.hierNode.modifier,d=s.hierNode.modifier;s=IR(s),a=LR(a),s&&a;){i=IR(i),o=LR(o),i.hierNode.ancestor=e;var f=s.hierNode.prelim+d-a.hierNode.prelim-l+r(s,a);f>0&&(zR(RR(s,e,n),e,f),l+=f,c+=f),d+=s.hierNode.modifier,l+=a.hierNode.modifier,c+=i.hierNode.modifier,u+=o.hierNode.modifier}s&&!IR(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-c),a&&!LR(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=l-u,n=e)}return n}function IR(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function LR(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function RR(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function zR(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function BR(e,t){return e.parentNode===t.parentNode?1:2}var VR=Js();function HR(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:`data`}),e.datas=e.mainData=null,YR(t,n,e),F(n,function(n){F(t.TRANSFERABLE_METHODS,function(t){n.wrapMethod(t,z(UR,e))})}),t.wrapMethod(`cloneShallow`,z(GR,e)),F(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,z(WR,e))}),Ce(n[t.dataType]===t)}function UR(e,t){if(JR(this)){var n=M({},VR(this).datas);n[this.dataType]=t,YR(t,n,e)}else XR(t,this.dataType,VR(this).mainData,e);return t}function WR(e,t){return e.struct&&e.struct.update(),t}function GR(e,t){return F(VR(t).datas,function(n,r){n!==t&&XR(n.cloneShallow(),r,t,e)}),t}function KR(e){var t=VR(this).mainData;return e==null||t==null?t:VR(t).datas[e]}function qR(){var e=VR(this).mainData;return e==null?[{data:e}]:I(L(VR(e).datas),function(t){return{type:t,data:VR(e).datas[t]}})}function JR(e){return VR(e).mainData===e}function YR(e,t,n){VR(e).datas={},F(t,function(t,r){XR(t,r,e,n)})}function XR(e,t,n,r){VR(n).datas[t]=e,VR(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=KR,e.getLinkedDataAll=qR}var ZR=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||``,this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,n){V(e)&&(n=t,t=e,e=null),e=e||{},H(e)&&(e={order:e});var r=e.order||`preorder`,i=this[e.attr||`children`],a;r===`preorder`&&(a=t.call(n,this));for(var o=0;!a&&ot&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t=0){var r=n.getData().tree.root,i=e.targetNode;if(H(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var a=e.targetNodeId;if(a!=null&&(i=r.getNodeById(a)))return{node:i}}}function tz(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function nz(e,t){return P(tz(e),t)>=0}function rz(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var iz=`tree`,az=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=new Ph(e.leaves||{},this,this.ecModel),r=QR.createTree(t,this,i);function i(e){e.wrapMethod(`getItemModel`,function(e,t){var i=r.getNodeByDataIndex(t);return i&&i.children.length&&i.isExpand||(e.parentModel=n),e})}var a=0;r.eachNode(`preorder`,function(e){e.depth>a&&(a=e.depth)});var o=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:a;return r.root.eachNode(`preorder`,function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&t.collapsed!=null?!t.collapsed:e.depth<=o}),r.data},t.prototype.getOrient=function(){var e=this.get(`orient`);return e===`horizontal`?e=`LR`:e===`vertical`&&(e=`TB`),e},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData().tree,i=r.root.children[0],a=r.getNodeByDataIndex(e),o=a.getValue(),s=a.name;a&&a!==i;)s=a.parentNode.name+`.`+s,a=a.parentNode;return gb(`nameValue`,{name:s,value:o,noValue:isNaN(o)||o==null})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=rz(r,this),n.collapsed=!r.isExpand,n},t.prototype.__ownRoamView=function(){return this.coordinateSystem},t.type=`series.`+iz,t.layoutMode=`box`,t.defaultOption={z:2,coordinateSystemUsage:`box`,left:`12%`,top:`12%`,right:`12%`,bottom:`12%`,layout:`orthogonal`,edgeShape:`curve`,edgeForkPosition:`50%`,roam:!1,roamTrigger:`global`,nodeScaleRatio:.4,center:null,zoom:1,orient:`LR`,symbol:`emptyCircle`,symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:Q.color.borderTint,width:1.5,curveness:.5},itemStyle:{color:`lightsteelblue`,borderWidth:1.5},label:{show:!0},animationEasing:`linear`,animationDuration:700,animationDurationUpdate:500},t}(Lb),oz=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),sz=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype.getDefaultStyle=function(){return{stroke:Q.color.neutral99,fill:null}},t.prototype.getDefaultShape=function(){return new oz},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,a=n[0],o=n[r-1];if(r===1){e.moveTo(i[0],i[1]),e.lineTo(a[0],a[1]);return}var s=t.orient,c=s===`TB`||s===`BT`?0:1,l=1-c,u=X(t.forkPosition,1),d=[];d[c]=i[c],d[l]=i[l]+(o[l]-i[l])*u,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(a[0],a[1]),d[c]=a[c],e.lineTo(d[0],d[1]),d[c]=o[c],e.lineTo(d[0],d[1]),e.lineTo(o[0],o[1]);for(var f=1;fv.x,x||(b-=Math.PI));var C=x?`left`:`right`,w=s.getModel(`label`),T=w.get(`rotate`),E=Math.PI/180*T,D=g.getTextContent();D&&(g.setTextConfig({position:w.get(`position`)||C,rotation:T==null?-b:E,origin:`center`}),D.setStyle(`verticalAlign`,`middle`))}var O=s.get([`emphasis`,`focus`]),k=O===`relative`?Me(o.getAncestorsIndices(),o.getDescendantIndices()):O===`ancestor`?o.getAncestorsIndices():O===`descendant`?o.getDescendantIndices():null;k&&(Z(n).focus=k),dz(i,o,u,n,m,p,h,r),n.__edge&&(n.onHoverStateChange=function(t){if(t!==`blur`){var r=o.parentNode&&e.getItemGraphicEl(o.parentNode.dataIndex);r&&r.hoverState===1||Kd(n.__edge,t)}})}function dz(e,t,n,r,i,a,o,s){var c=t.getModel(),l=e.get(`edgeShape`),u=e.get(`layout`),d=e.getOrient(),f=e.get([`lineStyle`,`curveness`]),p=e.get(`edgeForkPosition`),m=c.getModel(`lineStyle`).getLineStyle(),h=r.__edge;if(l===`curve`)t.parentNode&&t.parentNode!==n&&(h||(h=r.__edge=new Lp({shape:hz(u,d,f,i,i)})),im(h,{shape:hz(u,d,f,a,o)},e));else if(l===`polyline`&&u===`orthogonal`&&t!==n&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,_=[],v=0;v=0;a--)n.push(i[a])}}function vz(e,t){e.eachSeriesByType(`tree`,function(e){yz(e,t)})}function yz(e,t){var n=x_(e,t).refContainer,r=v_(e.getBoxLayoutParams(),n);e.layoutInfo=r;var i=e.get(`layout`),a=0,o=0,s=null;i===`radial`?(a=2*Math.PI,o=Math.min(r.height,r.width)/2,s=MR(function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth})):(a=r.width,o=r.height,s=MR());var c=e.getData().tree.root,l=c.children[0];if(l){kR(c),gz(l,AR,s),c.hierNode.modifier=-l.hierNode.prelim,_z(l,jR);var u=l,d=l,f=l;_z(l,function(e){var t=e.getLayout().x;td.getLayout().x&&(d=e),e.depth>f.depth&&(f=e)});var p=u===d?1:s(u,d)/2,m=p-u.getLayout().x,h=0,g=0,_=0,v=0;if(i===`radial`)h=a/(d.getLayout().x+p+m),g=o/(f.depth-1||1),_z(l,function(e){_=(e.getLayout().x+m)*h,v=(e.depth-1)*g;var t=NR(_,v);e.setLayout({x:t.x,y:t.y,rawX:_,rawY:v},!0)});else{var y=e.getOrient();y===`RL`||y===`LR`?(g=o/(d.getLayout().x+p+m),h=a/(f.depth-1||1),_z(l,function(e){v=(e.getLayout().x+m)*g,_=y===`LR`?(e.depth-1)*h:a-(e.depth-1)*h,e.setLayout({x:_,y:v},!0)})):(y===`TB`||y===`BT`)&&(h=a/(d.getLayout().x+p+m),g=o/(f.depth-1||1),_z(l,function(e){_=(e.getLayout().x+m)*h,v=y===`TB`?(e.depth-1)*g:o-(e.depth-1)*g,e.setLayout({x:_,y:v},!0)}))}}}function bz(e){e.registerAction({type:`treeExpandAndCollapse`,event:`treeExpandAndCollapse`,update:`update`},function(e,t){t.eachComponent({mainType:dd,subType:iz,query:e},function(t){var n=e.dataIndex,r=t.getData().tree.getNodeByDataIndex(n);r.isExpand=!r.isExpand})}),VL(e,dd,iz)}var xz=Tc(iz,Sz);function Sz(e){e.eachSeriesByType(iz,function(e){var t=e.getData();t.tree.eachNode(function(e){var n=e.getModel().getModel(`itemStyle`).getItemStyle();M(t.ensureUniqueItemVisual(e.dataIndex,`style`),n)})})}function Cz(e){e.registerChartView(cz),e.registerSeriesModel(az),e.registerLayout(vz),e.registerVisual(xz),bz(e)}var wz=[`treemapZoomToNode`,`treemapRender`,`treemapMove`];function Tz(e){for(var t=0;t1;)r=r.parentNode;var i=ev(e.ecModel,r.name||r.dataIndex+``,n);t.setVisual(`decal`,i)})}var Dz=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};Oz(n);var r=e.levels||[],i=new Ph({itemStyle:this.designatedVisualItemStyle={}},this,t);r=e.levels=kz(r,t);var a=I(r||[],function(e){return new Ph(e,i,t)},this),o=QR.createTree(n,this,s);function s(e){e.wrapMethod(`getItemModel`,function(e,t){var n=o.getNodeByDataIndex(t);return e.parentModel=(n?a[n.depth]:null)||i,e})}return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e);return gb(`nameValue`,{name:r.getName(e),value:i})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments);return n.treeAncestors=rz(this.getData().tree.getNodeByDataIndex(t),this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},M(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=G(),this._idIndexMapCount=0);var n=t.get(e);return n??t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;(!e||e!==t&&!t.contains(e))&&(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){Ez(this)},t.type=`series.treemap`,t.layoutMode=`box`,t.defaultOption={progressive:0,coordinateSystemUsage:`box`,left:Q.size.l,top:Q.size.xxxl,right:Q.size.l,bottom:Q.size.xxxl,sort:!0,clipWindow:`origin`,squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:`▶`,zoomToNodeRatio:.32*.32,scaleLimit:{max:5,min:.2},roam:!0,roamTrigger:`global`,nodeClick:`zoomToNode`,animation:!0,animationDurationUpdate:900,animationEasing:`quinticInOut`,breadcrumb:{show:!0,height:22,left:`center`,bottom:Q.size.m,emptyItemWidth:25,itemStyle:{color:Q.color.backgroundShade,textStyle:{color:Q.color.secondary}},emphasis:{itemStyle:{color:Q.color.background}}},label:{show:!0,distance:0,padding:5,position:`inside`,color:Q.color.neutral00,overflow:`truncate`},upperLabel:{show:!1,position:[0,`50%`],height:20,overflow:`truncate`,verticalAlign:`middle`},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:Q.color.neutral00,borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,`50%`],overflow:`truncate`,verticalAlign:`middle`}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:`index`,visibleMin:10,childrenVisibleMin:null,levels:[]},t}(Lb);function Oz(e){var t=0;F(e.children,function(e){Oz(e);var n=e.value;B(n)&&(n=n[0]),t+=n});var n=e.value;B(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),B(e.value)?e.value[0]=n:e.value=n}function kz(e,t){var n=Es(t.get(`color`)),r=Es(t.get([`aria`,`decal`,`decals`]));if(n){e=e||[];var i,a;F(e,function(e){var t=new Ph(e),n=t.get(`color`),r=t.get(`decal`);(t.get([`itemStyle`,`color`])||n&&n!==`none`)&&(i=!0),(t.get([`itemStyle`,`decal`])||r&&r!==`none`)&&(a=!0)});var o=e[0]||(e[0]={});return i||(o.color=n.slice()),!a&&r&&(o.decal=r.slice()),e}}var Az=8,jz=8,Mz=5,Nz=function(){function e(e){this.group=new Y,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var i=e.getModel(`breadcrumb`),a=this.group;if(a.removeAll(),!(!i.get(`show`)||!n)){var o=i.getModel(`itemStyle`),s=i.getModel(`emphasis`),c=o.getModel(`textStyle`),l=s.getModel([`itemStyle`,`textStyle`]),u=x_(e,t).refContainer,d={left:i.get(`left`),right:i.get(`right`),top:i.get(`top`),bottom:i.get(`bottom`)},f={emptyItemWidth:i.get(`emptyItemWidth`),totalWidth:0,renderList:[]},p=v_(d,u);this._prepare(n,f,c),this._renderContent(e,f,p,o,s,c,l,r),S_(a,d,u)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var i=Bs(r.getModel().get(`name`),``),a=n.getTextRect(i),o=Math.max(a.width+Az*2,t.emptyItemWidth);t.totalWidth+=o+jz,t.renderList.push({node:r,text:i,width:o})}},e.prototype._renderContent=function(e,t,n,r,i,a,o,s){for(var c=0,l=t.emptyItemWidth,u=e.get([`breadcrumb`,`height`]),d=t.totalWidth,f=t.renderList,p=i.getModel(`itemStyle`).getItemStyle(),m=f.length-1;m>=0;m--){var h=f[m],g=h.node,_=h.width,v=h.text;d>n.width&&(d-=_-l,_=l,v=null);var y=new Op({shape:{points:Pz(c,0,_,u,m===f.length-1,m===0)},style:N(r.getItemStyle(),{lineJoin:`bevel`}),textContent:new Xu({style:dh(a,{text:v})}),textConfig:{position:`inside`},z2:10*1e4,onclick:z(s,g)});y.disableLabelAnimation=!0,y.getTextContent().ensureState(`emphasis`).style=dh(o,{text:v}),y.ensureState(`emphasis`).style=p,xf(y,i.get(`focus`),i.get(`blurScope`),i.get(`disabled`)),this.group.add(y),Fz(y,e,g),c+=_+jz}},e.prototype.remove=function(){this.group.removeAll()},e}();function Pz(e,t,n,r,i,a){var o=[[i?e:e-Mz,t],[e+n,t],[e+n,t+r],[i?e:e-Mz,t+r]];return!a&&o.splice(2,0,[e+n+Mz,t+r/2]),!i&&o.push([e,t+r/2]),o}function Fz(e,t,n){Z(e).eventData={componentType:`series`,componentSubType:`treemap`,componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:`treemap`,selfType:`breadcrumb`,nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&rz(n,t)}}var Iz=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,i){return this._elExistsMap[e.id]?!1:(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:i}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,i=this._storage.length;r=0;c--){var l=i[r===`asc`?o-c-1:c].getValue();l/n*ts[1]&&(s[1]=t)})),{sum:r,dataExtent:s}}function Zz(e,t,n){for(var r=0,i=1/0,a=0,o=void 0,s=e.length;ar&&(r=o));var c=e.area*e.area,l=t*t*n;return c?Rz(l*r/c,c/(l*i)):1/0}function Qz(e,t,n,r,i){var a=t===n.width?0:1,o=1-a,s=[`x`,`y`],c=[`width`,`height`],l=n[s[a]],u=t?e.area/t:0;(i||u>n[c[o]])&&(u=n[c[o]]);for(var d=0,f=e.length;dts&&(u=ts),i=c}usB||Math.abs(e.dy)>sB)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:`treemapMove`,from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY,r=e.scale,i=this.seriesModel;if(this._state!==`animating`){var a=i.getData().tree.root;if(!a)return;var o=a.getLayout();if(!o)return;var s=new J(o.x,o.y,o.width,o.height),c=i.layoutInfo,l=rB(c,o),u=l*r;u=iB(u,i);var d=u/l;t-=c.x,n-=c.y;var f=Wt();Jt(f,f,[-t,-n]),Xt(f,f,[d,d]),Jt(f,f,[t,n]),s.applyTransform(f),this.api.dispatchAction({type:`treemapRender`,from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(e){var t=this;e.on(`click`,function(e){if(t._state===`ready`){var n=t.seriesModel.get(`nodeClick`,!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)t._rootToNode(r);else if(n===`zoomToNode`)t._zoomToNode(r);else if(n===`link`){var a=i.hostTree.data.getItemModel(i.dataIndex),o=a.get(`link`,!0),s=a.get(`target`,!0)||`blank`;o&&$g(o,s)}}}}},this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=e.get(`leafDepth`,!0)==null?this.findTarget(t.getWidth()/2,t.getHeight()/2):{node:e.getViewRoot()},n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Nz(this.group))).render(e,t,n.node,function(t){r._state!==`animating`&&(nz(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=_B(),this._state=`ready`,this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:`treemapZoomToNode`,from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:`treemapRootToNode`,from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:`viewChildren`,order:`preorder`},function(r){var i=this._storage.background[r.getRawIndex()];if(i){var a=i.transformCoordToLocal(e,t),o=i.shape;if(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height)n={node:r,offsetX:a[0],offsetY:a[1]};else return!1}},this),n},t.type=`treemap`,t}(Xb);function _B(){return{nodeGroup:[],background:[],content:[]}}function vB(e,t,n,r,i,a,o,s,c,l){if(!o)return;var u=o.getLayout(),d=e.getData(),f=o.getModel();if(d.setItemGraphicEl(o.dataIndex,null),!u||!u.isInView)return;var p=u.width,m=u.height,h=u.borderWidth,g=u.invisible,_=o.getRawIndex(),v=s&&s.getRawIndex(),y=o.viewChildren,b=u.upperHeight,x=y&&y.length,S=f.getModel(`itemStyle`),C=f.getModel([`emphasis`,`itemStyle`]),w=f.getModel([`blur`,`itemStyle`]),T=f.getModel([`select`,`itemStyle`]),E=S.get(`borderRadius`)||0,D=I(`nodeGroup`,aB);if(!D)return;if(c.add(D),D.x=u.x||0,D.y=u.y||0,D.markRedraw(),hB(D).nodeWidth=p,hB(D).nodeHeight=m,u.isAboveViewRoot)return D;var O=I(`background`,oB,l,dB);O&&P(D,O,x&&u.upperLabelHeight);var k=f.getModel(`emphasis`),A=k.get(`focus`),j=k.get(`blurScope`),ee=k.get(`disabled`),te=A===`ancestor`?o.getAncestorsIndices():A===`descendant`?o.getDescendantIndices():A;if(x)Df(D)&&Ef(D,!1),O&&(Ef(O,!ee),d.setItemGraphicEl(o.dataIndex,O),Sf(O,te,j));else{var N=I(`content`,oB,l,fB);N&&re(D,N),O.disableMorphing=!0,O&&Df(O)&&Ef(O,!1),Ef(D,!ee),d.setItemGraphicEl(o.dataIndex,D);var ne=f.getShallow(`cursor`);ne&&N.attr(`cursor`,ne),Sf(D,te,j)}return D;function P(t,n,r){var i=Z(n);if(i.dataIndex=o.dataIndex,i.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:p,height:m,r:E}),g)ie(n);else{n.invisible=!1;var a=o.getVisual(`style`),s=a.stroke,c=mB(S);c.fill=s;var l=pB(C);l.fill=C.get(`borderColor`);var u=pB(w);u.fill=w.get(`borderColor`);var d=pB(T);if(d.fill=T.get(`borderColor`),r){var f=p-2*h;ae(n,s,a.opacity,{x:h,y:0,width:f,height:b})}else n.removeTextContent();n.setStyle(c),n.ensureState(`emphasis`).style=l,n.ensureState(`blur`).style=u,n.ensureState(`select`).style=d,Qd(n)}t.add(n)}function re(t,n){var r=Z(n);r.dataIndex=o.dataIndex,r.seriesIndex=e.seriesIndex;var i=Math.max(p-2*h,0),a=Math.max(m-2*h,0);if(n.culling=!0,n.setShape({x:h,y:h,width:i,height:a,r:E}),g)ie(n);else{n.invisible=!1;var s=o.getVisual(`style`),c=s.fill,l=mB(S);l.fill=c,l.decal=s.decal;var u=pB(C),d=pB(w),f=pB(T);ae(n,c,s.opacity,null),n.setStyle(l),n.ensureState(`emphasis`).style=u,n.ensureState(`blur`).style=d,n.ensureState(`select`).style=f,Qd(n)}t.add(n)}function ie(e){!e.invisible&&a.push(e)}function ae(t,n,r,i){var a=f.getModel(i?lB:cB),s=Bs(f.get(`name`),null),c=a.getShallow(`show`);lh(t,uh(f,i?lB:cB),{defaultText:c?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:e,labelDataIndex:o.dataIndex});var l=t.getTextContent();if(l){var d=l.style,p=Se(d.padding||0);i&&(t.setTextConfig({layoutRect:i}),l.disableLabelLayout=!0),l.beforeUpdate=function(){var e=Math.max((i?i.width:t.shape.width)-p[1]-p[3],0),n=Math.max((i?i.height:t.shape.height)-p[0]-p[2],0);(d.width!==e||d.height!==n)&&l.setStyle({width:e,height:n})},d.truncateMinChar=2,d.lineOverflow=`truncate`,F(d,i,u);var m=l.getState(`emphasis`);F(m?m.style:null,i,u)}}function F(t,n,r){var i=t?t.text:null;if(!n&&r.isLeafRoot&&i!=null){var a=e.get(`drillDownIcon`,!0);t.text=a?a+` `+i:i}}function I(e,r,a,o){var s=v!=null&&n[e][v],c=i[e];return s?(n[e][v]=null,oe(c,s)):g||(s=new r,s instanceof Cl&&(s.z2=yB(a,o)),se(c,s)),t[e][_]=s}function oe(e,t){var n=e[_]={};t instanceof aB?(n.oldX=t.x,n.oldY=t.y):n.oldShape=M({},t.shape)}function se(e,t){var n=e[_]={},a=o.parentNode,s=t instanceof Y;if(a&&(!r||r.direction===`drillDown`)){var c=0,l=0,u=i.background[a.getRawIndex()];!r&&u&&u.oldShape&&(c=u.oldShape.width,l=u.oldShape.height),s?(n.oldX=0,n.oldY=l):n.oldShape={x:c,y:l,width:0,height:0}}n.fadein=!s}}function yB(e,t){return e*uB+t}var bB=F,xB=U,SB=-1,CB=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=A(t);this.type=r,this.mappingMethod=n,this._normalizeData=FB[n];var a=e.visualHandlers[r];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],n===`piecewise`?(EB(i),wB(i)):n===`category`?i.categories?TB(i):EB(i,!0):(Ce(n!==`linear`||i.dataExtent),EB(i))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return R(this._normalizeData,this)},e.listVisualTypes=function(){return L(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){U(e)?F(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var i,a=B(t)?[]:U(t)?{}:(i=!0,null);return e.eachVisual(t,function(e,t){var o=n.call(r,e,t);i?a=o:a[t]=o}),a},e.retrieveVisuals=function(t){var n={},r;return t&&bB(e.visualHandlers,function(e,i){t.hasOwnProperty(i)&&(n[i]=t[i],r=!0)}),r?n:null},e.prepareVisualTypes=function(e){if(B(e))e=e.slice();else if(xB(e)){var t=[];bB(e,function(e,n){t.push(n)}),e=t}else return[];return e.sort(function(e,t){return t===`color`&&e!==`color`&&e.indexOf(`color`)===0?1:-1}),e},e.dependsOn=function(e,t){return t===`color`?!!(e&&e.indexOf(t)===0):e===t},e.findPieceIndex=function(e,t,n){for(var r,i=1/0,a=0,o=t.length;a=0;a--)r[a]??(delete n[t[a]],t.pop())}function EB(e,t){var n=e.visual,r=[];U(n)?bB(n,function(e){r.push(e)}):n!=null&&r.push(n),!t&&r.length===1&&!{color:1,symbol:1}.hasOwnProperty(e.type)&&(r[1]=r[0]),PB(e,r)}function DB(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r(`color`,e(n(`color`),i))},_normalizedToVisual:MB([0,1])}}function OB(e){var t=this.option.visual;return t[Math.round(Bo(e,[0,1],[0,t.length-1],!0))]||{}}function kB(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function AB(e){var t=this.option.visual;return t[this.option.loop&&e!==SB?e%t.length:e]}function jB(){return this.option.visual[0]}function MB(e){return{linear:function(t){return Bo(t,e,this.option.visual,!0)},category:AB,piecewise:function(t,n){var r=NB.call(this,n);return r??(r=Bo(t,e,this.option.visual,!0)),r},fixed:jB}}function NB(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=n[CB.findPieceIndex(e,n)];if(r&&r.visual)return r.visual[this.type]}}function PB(e,t){return e.visual=t,e.type===`color`&&(e.parsedVisual=I(t,function(e){return Hr(e)||[0,0,0,1]})),t}var FB={linear:function(e){return Bo(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=CB.findPieceIndex(e,t,!0);if(n!=null)return Bo(n,[0,t.length-1],[0,1],!0)},category:function(e){return(this.option.categories?this.option.categoryMap[e]:e)??SB},fixed:Fe};function IB(e,t,n){return e?t<=n:t=n.length||e===n[e.depth])&&BB(e,qB(i,c,e,t,m,r),n,r)})}}}function VB(e,t,n){var r=M({},t),i=n.designatedVisualItemStyle;return F([`color`,`colorAlpha`,`colorSaturation`],function(n){i[n]=t[n];var a=e.get(n);i[n]=null,a!=null&&(r[n]=a)}),r}function HB(e){var t=WB(e,`color`);if(t){var n=WB(e,`colorAlpha`),r=WB(e,`colorSaturation`);return r&&(t=Zr(t,null,null,r)),n&&(t=Qr(t,n)),t}}function UB(e,t){return t==null?null:Zr(t,null,null,e)}function WB(e,t){var n=e[t];if(n!=null&&n!==`none`)return n}function GB(e,t,n,r,i,a){if(!(!a||!a.length)){var o=KB(t,`color`)||i.color!=null&&i.color!==`none`&&(KB(t,`colorAlpha`)||KB(t,`colorSaturation`));if(o){var s=t.get(`visualMin`),c=t.get(`visualMax`),l=n.dataExtent.slice();s!=null&&sl[1]&&(l[1]=c);var u=t.get(`colorMappingBy`),d={type:o.name,dataExtent:l,visual:o.range};d.type===`color`&&(u===`index`||u===`id`)?(d.mappingMethod=`category`,d.loop=!0):d.mappingMethod=`linear`;var f=new CB(d);return RB(f).drColorMappingBy=u,f}}}function KB(e,t){var n=e.get(t);return B(n)&&n.length?{name:t,range:n}:null}function qB(e,t,n,r,i,a){var o=M({},t);if(i){var s=i.type,c=s===`color`&&RB(i).drColorMappingBy,l=c===`index`?r:c===`id`?a.mapIdToIndex(n.getId()):n.getValue(e.get(`visualDimension`));o[s]=i.mapValueToVisual(l)}return o}function JB(e){e.registerSeriesModel(Dz),e.registerChartView(gB),e.registerVisual(zB),e.registerLayout(Gz),Tz(e)}function YB(e){return`_EC_`+e}var XB=function(){function e(e){this.type=`graph`,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=e==null?``+t:``+e;var n=this._nodesMap;if(!n[YB(e)]){var r=new ZB(e,t);return r.hostGraph=this,this.nodes.push(r),n[YB(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[YB(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if(de(e)&&(e=this.nodes[e]),de(t)&&(t=this.nodes[t]),e instanceof ZB||(e=r[YB(e)]),t instanceof ZB||(t=r[YB(t)]),!(!e||!t)){var a=e.id+`-`+t.id,o=new QB(e,t,n);return o.hostGraph=this,this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),i[a]=o,o}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof ZB&&(e=e.id),t instanceof ZB&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+`-`+t]:n[e+`-`+t]||n[t+`-`+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i=0&&e.call(t,n[i],i)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof ZB||(t=this._nodesMap[YB(t)]),t){for(var i=n===`out`?`outEdges`:n===`in`?`inEdges`:`edges`,a=0;a=0&&n.node2.dataIndex>=0});for(var i=0,a=r.length;i=0&&!e.hasKey(p)&&(e.set(p,!0),a.push(f.node1))}for(s=0;s=0&&!e.hasKey(v)&&(e.set(v,!0),o.push(_.node2))}}}return{edge:e.keys(),node:t.keys()}},e}(),QB=function(){function e(e,t,n){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=n??-1}return e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var e=G(),t=G();e.set(this.dataIndex,!0);for(var n=[this.node1],r=[this.node2],i=0;i=0&&!e.hasKey(u)&&(e.set(u,!0),n.push(l.node1))}for(i=0;i=0&&!e.hasKey(m)&&(e.set(m,!0),r.push(p.node2))}return{edge:e.keys(),node:t.keys()}},e}();function $B(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||`value`),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}ie(ZB,$B(`hostGraph`,`data`)),ie(QB,$B(`hostGraph`,`edgeData`));function eV(e,t,n,r,i){for(var a=new XB(r),o=0;o `+f)),l++)}var p=n.get(`coordinateSystem`),m;if(p===`cartesian2d`||p===`polar`||p===`matrix`)m=YT(e,n);else{var h=n_.get(p),g=h&&h.dimensions||[];P(g,`value`)<0&&g.concat([`value`]);var _=IT(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;m=new PT(_,n),m.initData(e)}var v=new PT([`value`],n);return v.initData(c,s),i&&i(m,v),HR({mainData:m,struct:a,structAttr:`graph`,datas:{node:m,edge:v},datasAttr:{node:`data`,edge:`edgeData`}}),a.update(),a}var tV=`-->`,nV=function(e){return e.get(`autoCurveness`)||null},rV=function(e,t){var n=nV(e),r=20,i=[];if(de(n))r=n;else if(B(n)){e.__curvenessList=n;return}t>r&&(r=t);var a=r%2?r+2:r+3;i=[];for(var o=0;o `),value:i.value,noValue:i.value==null})}return Mb({series:this,dataIndex:e,multipleSeries:t})},t.prototype._updateCategoriesData=function(){var e=I(this.option.categories||[],function(e){return e.value==null?M({value:0},e):e}),t=new PT([`value`],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e)})},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!(this.get(`layout`)===`force`&&this.get([`force`,`layoutAnimation`]))},t.prototype.__ownRoamView=function(){var e=this.coordinateSystem;return yL(e)&&e},t.type=`series.`+fV,t.dependencies=[`grid`,`polar`,`geo`,`singleAxis`,`calendar`],t.defaultOption={z:2,coordinateSystem:`view`,legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:`center`,top:`center`,symbol:`circle`,symbolSize:10,edgeSymbol:[`none`,`none`],edgeSymbolSize:10,edgeLabel:{position:`middle`,distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:`{b}`},itemStyle:{},lineStyle:{color:Q.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:Q.color.primary}}},t}(Lb);function mV(e){return e instanceof Array||(e=[e,e]),e}var hV=Tc(fV,gV);function gV(e){e.eachSeriesByType(fV,function(e){var t=e.getGraph(),n=e.getEdgeData(),r=mV(e.get(`edgeSymbol`)),i=mV(e.get(`edgeSymbolSize`));n.setVisual(`fromSymbol`,r&&r[0]),n.setVisual(`toSymbol`,r&&r[1]),n.setVisual(`fromSymbolSize`,i&&i[0]),n.setVisual(`toSymbolSize`,i&&i[1]),n.setVisual(`style`,e.getModel(`lineStyle`).getLineStyle()),n.each(function(e){var r=n.getItemModel(e),i=t.getEdgeByIndex(e),a=mV(r.getShallow(`symbol`,!0)),o=mV(r.getShallow(`symbolSize`,!0)),s=r.getModel(`lineStyle`).getLineStyle(),c=n.ensureUniqueItemVisual(e,`style`);switch(M(c,s),c.stroke){case`source`:var l=i.node1.getVisual(`style`);c.stroke=l&&l.fill;break;case`target`:var l=i.node2.getVisual(`style`);c.stroke=l&&l.fill;break}a[0]&&i.setVisual(`fromSymbol`,a[0]),a[1]&&i.setVisual(`toSymbol`,a[1]),o[0]&&i.setVisual(`fromSymbolSize`,o[0]),o[1]&&i.setVisual(`toSymbolSize`,o[1])})})}function _V(e){var t=e.coordinateSystem;if(!(t&&t.type!==`view`)){var n=e.getGraph();n.eachNode(function(e){var t=e.getModel();e.setLayout([+t.get(`x`),+t.get(`y`)])}),vV(n,e)}}function vV(e,t){e.eachEdge(function(e,n){var r=be(e.getModel().get([`lineStyle`,`curveness`]),-dV(e,t,n,!0),0),i=Ve(e.node1.getLayout()),a=Ve(e.node2.getLayout()),o=[i,a];+r&&o.push([(i[0]+a[0])/2-(i[1]-a[1])*r,(i[1]+a[1])/2-(a[0]-i[0])*r]),e.setLayout(o)})}var yV=Tc(fV,bV);function bV(e,t){e.eachSeriesByType(fV,function(e){var t=e.get(`layout`),n=e.coordinateSystem;if(n&&n.type!==`view`){var r=e.getData(),i=[];F(n.dimensions,function(e){i=i.concat(r.mapDimensionsAll(e))});for(var a=0;a0&&(y[0]=-y[0],y[1]=-y[1]);var x=v[0]<0?-1:1;if(r.__position!==`start`&&r.__position!==`end`){var S=-Math.atan2(v[1],v[0]);l[0].8?`left`:u[0]<-.8?`right`:`center`,p=u[1]>.8?`top`:u[1]<-.8?`bottom`:`middle`;break;case`start`:r.x=-u[0]*h+c[0],r.y=-u[1]*g+c[1],f=u[0]>.8?`right`:u[0]<-.8?`left`:`center`,p=u[1]>.8?`bottom`:u[1]<-.8?`top`:`middle`;break;case`insideStartTop`:case`insideStart`:case`insideStartBottom`:r.x=h*x+c[0],r.y=c[1]+C,f=v[0]<0?`right`:`left`,r.originX=-h*x,r.originY=-C;break;case`insideMiddleTop`:case`insideMiddle`:case`insideMiddleBottom`:case`middle`:r.x=b[0],r.y=b[1]+C,f=`center`,r.originY=-C;break;case`insideEndTop`:case`insideEnd`:case`insideEndBottom`:r.x=-h*x+l[0],r.y=l[1]+C,f=v[0]>=0?`right`:`left`,r.originX=h*x,r.originY=-C;break}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||p,align:r.__align||f})}},t}(Y),JV=function(){function e(e){this.group=new Y,this._LineCtor=e||qV}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=e,i||r.removeAll();var a=XV(e);e.diff(i).add(function(n){t._doAdd(e,n,a)}).update(function(n,r){t._doUpdate(i,e,r,n,a)}).remove(function(e){r.remove(i.getItemGraphicEl(e))}).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,n){t.updateLayout(e,n)},this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=XV(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){this._progressiveEls=[];function r(e){!e.isGroup&&!YV(e)&&(e.incremental=n,e.ensureState(`emphasis`).hoverLayer=2)}for(var i=e.start;i0}function XV(e){var t=e.hostModel,n=t.getModel(`emphasis`);return{lineStyle:t.getModel(`lineStyle`).getLineStyle(),emphasisLineStyle:n.getModel([`lineStyle`]).getLineStyle(),blurLineStyle:t.getModel([`blur`,`lineStyle`]).getLineStyle(),selectLineStyle:t.getModel([`select`,`lineStyle`]).getLineStyle(),emphasisDisabled:n.get(`disabled`),blurScope:n.get(`blurScope`),focus:n.get(`focus`),labelStatesModels:uh(t)}}function ZV(e){return isNaN(e[0])||isNaN(e[1])}function QV(e){return e&&!ZV(e[0])&&!ZV(e[1])}var $V=[],eH=[],tH=[],nH=hr,rH=it,iH=Math.abs;function aH(e,t,n){for(var r=e[0],i=e[1],a=e[2],o=1/0,s,c=n*n,l=.1,u=.1;u<=.9;u+=.1){$V[0]=nH(r[0],i[0],a[0],u),$V[1]=nH(r[1],i[1],a[1],u);var d=iH(rH($V,t)-c);d=0?s+=l:s-=l:m>=0?s-=l:s+=l}return s}function oH(e,t){var n=[],r=yr,i=[[],[],[]],a=[[],[]],o=[];t/=2,e.eachEdge(function(e,s){var c=e.getLayout(),l=e.getVisual(`fromSymbol`),u=e.getVisual(`toSymbol`);c.__original||(c.__original=[Ve(c[0]),Ve(c[1])],c[2]&&c.__original.push(Ve(c[2])));var d=c.__original;if(c[2]!=null){if(Be(i[0],d[0]),Be(i[1],d[2]),Be(i[2],d[1]),l&&l!==`none`){var f=SV(e.node1),p=aH(i,d[0],f*t);r(i[0][0],i[1][0],i[2][0],p,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],p,n),i[0][1]=n[3],i[1][1]=n[4]}if(u&&u!==`none`){var f=SV(e.node2),p=aH(i,d[1],f*t);r(i[0][0],i[1][0],i[2][0],p,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],p,n),i[1][1]=n[1],i[2][1]=n[2]}Be(c[0],i[0]),Be(c[1],i[2]),Be(c[2],i[1])}else{if(Be(a[0],d[0]),Be(a[1],d[1]),Ge(o,a[1],a[0]),et(o,o),l&&l!==`none`){var f=SV(e.node1);We(a[0],a[0],o,f*t)}if(u&&u!==`none`){var f=SV(e.node2);We(a[1],a[1],o,-f*t)}Be(c[0],a[0]),Be(c[1],a[1])}})}var sH=Js();function cH(e){if(e)return sH(e).bridge}function lH(e,t){e&&(sH(e).bridge=t)}var uH=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=fV,t}return t.prototype.init=function(e,t){var n=new TA,r=new JV,i=this.group,a=new Y;this._controller=new BF(t.getZr()),a.add(n.group),a.add(r.group),i.add(a),this._symbolDraw=n,this._lineDraw=r,this._mainGroup=a,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,i=TL(e),a=!1;this._model=e,this._api=n,this._active=!0;var o=this._mainGroup,s=this._getThumbnailInfo();s&&s.bridge.reset(n);var c=this._symbolDraw,l=this._lineDraw;i&&bL(o,2,i,this._firstRender?null:e),oH(e.getGraph(),xV(e));var u=e.getData();c.updateData(u);var d=e.getEdgeData();l.updateData(d),this._updateNodeAndLinkScale(),i&&RL(e,n,this._controller,function(t,n,r){return e.coordinateSystem.containPoint([n,r])},null),clearTimeout(this._layoutTimeout);var f=e.forceLayout,p=e.get([`force`,`layoutAnimation`]);f&&(a=!0,this._startForceLayoutIteration(f,n,p));var m=e.get(`layout`);u.graph.eachNode(function(t){var i=t.dataIndex,a=t.getGraphicEl(),o=t.getModel();if(a){a.off(`drag`).off(`dragend`);var s=o.get(`draggable`);s&&a.on(`drag`,function(o){switch(m){case`force`:f.warmUp(),!r._layouting&&r._startForceLayoutIteration(f,n,p),f.setFixed(i),u.setItemLayout(i,[a.x,a.y]);break;case`circular`:u.setItemLayout(i,[a.x,a.y]),t.setLayout({fixed:!0},!0),TV(e,`symbolSize`,t,[o.offsetX,o.offsetY]),r.updateLayout(e);break;default:u.setItemLayout(i,[a.x,a.y]),vV(e.getGraph(),e),r.updateLayout(e);break}}).on(`dragend`,function(){f&&f.setUnfixed(i)}),a.setDraggable(s,!!o.get(`cursor`)),o.get([`emphasis`,`focus`])===`adjacency`&&(Z(a).focus=t.getAdjacentDataIndices())}}),u.graph.eachEdge(function(e){var t=e.getGraphicEl(),n=e.getModel().get([`emphasis`,`focus`]);t&&n===`adjacency`&&(Z(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})});var h=e.get(`layout`)===`circular`&&e.get([`circular`,`rotateLabel`]),g=u.getLayout(`cx`),_=u.getLayout(`cy`);u.graph.eachNode(function(e){DV(e,h,g,_)}),this._firstRender=!1,a||this._renderThumbnail(e,n,this._symbolDraw,this._lineDraw)},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose()},t.prototype._startForceLayoutIteration=function(e,t,n){var r=this,i=!1;(function a(){e.step(function(e){r.updateLayout(r._model),(e||!i)&&(i=!0,r._renderThumbnail(r._model,t,r._symbolDraw,r._lineDraw)),(r._layouting=!e)&&(n?r._layoutTimeout=setTimeout(a,16):a())})})()},t.prototype.__updateOnOwnRoam=function(e,t,n){var r=TL(t);!this._active||!r||(bL(this._mainGroup,2,r,null),UL(e)&&(this._updateNodeAndLinkScale(),oH(t.getGraph(),xV(t)),this._lineDraw.updateLayout(),n.updateLabelLayout()),this._updateThumbnailWindow())},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=xV(e);t.eachItemGraphicEl(function(e,t){e&&e.setSymbolScale(n)})},t.prototype.updateLayout=function(e){this._active&&(oH(e.getGraph(),xV(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout())},t.prototype.remove=function(){this._active=!1,clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove(),this._controller&&this._controller.disable()},t.prototype._getThumbnailInfo=function(){var e=this._model,t=e.coordinateSystem;if(t.type===`view`){var n=cH(e);if(n)return{bridge:n,coordSys:t}}},t.prototype._updateThumbnailWindow=function(){var e=this._getThumbnailInfo();e&&e.bridge.updateWindow(qI(null,e.coordSys),this._api)},t.prototype._renderThumbnail=function(e,t,n,r){var i=this._getThumbnailInfo();if(i){var a=new Y,o=n.group.children(),s=r.group.children(),c=new Y,l=new Y;a.add(l),a.add(c);for(var u=0;u `),value:r.value,noValue:r.value==null})}return gb(`nameValue`,{name:r.name,value:r.value,noValue:r.value==null})},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(n===`node`){var i=this.getData(),a=this.getGraph().getNodeByIndex(t);r.name??(r.name=i.getName(t)),r.value??(r.value=a.getLayout().value)}return r},t.type=`series.`+gH,t.defaultOption={z:2,coordinateSystem:`none`,legendHoverLink:!0,colorBy:`data`,left:0,top:0,right:0,bottom:0,width:null,height:null,center:[`50%`,`50%`],radius:[`70%`,`80%`],clockwise:!0,startAngle:90,endAngle:`auto`,minAngle:0,padAngle:3,itemStyle:{borderRadius:[0,0,5,5]},lineStyle:{width:0,color:`source`,opacity:.2},label:{show:!0,position:`outside`,distance:5},emphasis:{focus:`adjacency`,lineStyle:{opacity:.5}}},t}(Lb),vH=function(e){n(t,e);function t(t,n,r){var i=e.call(this)||this;Z(i).dataType=`node`,i.z2=2;var a=new Xu;return i.setTextContent(a),i.updateData(t,n,r,!0),i}return t.prototype.updateData=function(e,t,n,r){var i=this,a=e.graph.getNodeByIndex(t),o=e.hostModel,s=a.getModel(),c=s.getModel(`emphasis`),l=e.getItemLayout(t),u=M(tN(s.getModel(`itemStyle`),l,!0),l),d=this;if(isNaN(u.startAngle)){d.setShape(u);return}r?d.setShape(u):im(d,{shape:u},o,t);var f=M(tN(s.getModel(`itemStyle`),l,!0),l);i.setShape(f),i.useStyle(e.getItemVisual(t,`style`)),Tf(i,s),this._updateLabel(o,s,a),e.setItemGraphicEl(t,d),Tf(d,s,`itemStyle`);var p=c.get(`focus`);xf(this,p===`adjacency`?a.getAdjacentDataIndices():p,c.get(`blurScope`),c.get(`disabled`))},t.prototype._updateLabel=function(e,t,n){var r=this.getTextContent(),i=n.getLayout(),a=(i.startAngle+i.endAngle)/2,o=Math.cos(a),s=Math.sin(a),c=t.getModel(`label`);r.ignore=!c.get(`show`);var l=uh(t),u=n.getVisual(`style`);lh(r,l,{labelFetcher:{getFormattedLabel:function(n,r,i,a,o,s){return e.getFormattedLabel(n,r,`node`,a,be(o,l.normal&&l.normal.get(`formatter`),t.get(`name`)),s)}},labelDataIndex:n.dataIndex,defaultText:n.dataIndex+``,inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:`startArc`});var d=c.get(`position`)||`outside`,f=c.get(`distance`)||0,p=d===`outside`?i.r+f:(i.r+i.r0)/2;this.textConfig={inside:d!==`outside`};var m=d===`outside`?o>0?`left`:`right`:c.get(`align`)||`center`,h=d===`outside`?s>0?`top`:`bottom`:c.get(`verticalAlign`)||`middle`;r.attr({x:o*p+i.cx,y:s*p+i.cy,rotation:0,style:{align:m,verticalAlign:h}})},t}(Sp);(function(){function e(){this.s1=[0,0],this.s2=[0,0],this.sStartAngle=0,this.sEndAngle=0,this.t1=[0,0],this.t2=[0,0],this.tStartAngle=0,this.tEndAngle=0,this.cx=0,this.cy=0,this.r=0,this.clockwise=!0}return e})();var yH=function(e){n(t,e);function t(t,n,r,i){var a=e.call(this)||this;return Z(a).dataType=`edge`,a.updateData(t,n,r,i,!0),a}return t.prototype.buildPath=function(e,t){e.moveTo(t.s1[0],t.s1[1]);var n=.7,r=t.clockwise;e.arc(t.cx,t.cy,t.r,t.sStartAngle,t.sEndAngle,!r),e.bezierCurveTo((t.cx-t.s2[0])*n+t.s2[0],(t.cy-t.s2[1])*n+t.s2[1],(t.cx-t.t1[0])*n+t.t1[0],(t.cy-t.t1[1])*n+t.t1[1],t.t1[0],t.t1[1]),e.arc(t.cx,t.cy,t.r,t.tStartAngle,t.tEndAngle,!r),e.bezierCurveTo((t.cx-t.t2[0])*n+t.t2[0],(t.cy-t.t2[1])*n+t.t2[1],(t.cx-t.s1[0])*n+t.s1[0],(t.cy-t.s1[1])*n+t.s1[1],t.s1[0],t.s1[1]),e.closePath()},t.prototype.updateData=function(e,t,n,r,i){var a=e.hostModel,o=t.graph.getEdgeByIndex(n),s=o.getLayout(),c=o.node1.getModel(),l=t.getItemModel(o.dataIndex),u=l.getModel(`lineStyle`),d=l.getModel(`emphasis`),f=d.get(`focus`),p=M(tN(c.getModel(`itemStyle`),s,!0),s),m=this;if(isNaN(p.sStartAngle)||isNaN(p.tStartAngle)){m.setShape(p);return}i?(m.setShape(p),bH(m,o,e,u)):(um(m),bH(m,o,e,u),im(m,{shape:p},a,n)),xf(this,f===`adjacency`?o.getAdjacentDataIndices():f,d.get(`blurScope`),d.get(`disabled`)),Tf(m,l,`lineStyle`),t.setItemGraphicEl(o.dataIndex,m)},t}(ju);function bH(e,t,n,r){var i=t.node1,a=t.node2,o=e.style;switch(e.setStyle(r.getLineStyle()),r.get(`color`)){case`source`:o.fill=n.getItemVisual(i.dataIndex,`style`).fill,o.decal=i.getVisual(`style`).decal;break;case`target`:o.fill=n.getItemVisual(a.dataIndex,`style`).fill,o.decal=a.getVisual(`style`).decal;break;case`gradient`:var s=n.getItemVisual(i.dataIndex,`style`).fill,c=n.getItemVisual(a.dataIndex,`style`).fill;if(H(s)&&H(c)){var l=e.shape;o.fill=new Hp((l.s1[0]+l.s2[0])/2,(l.s1[1]+l.s2[1])/2,(l.t1[0]+l.t2[0])/2,(l.t1[1]+l.t2[1])/2,[{offset:0,color:s},{offset:1,color:c}],!0)}break}}var xH=Math.PI/180,SH=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=gH,t}return t.prototype.init=function(e,t){},t.prototype.render=function(e,t,n){var r=e.getData(),i=this._data,a=this.group,o=-e.get(`startAngle`)*xH;if(r.diff(i).add(function(e){if(r.getItemLayout(e)){var t=new vH(r,e,o);Z(t).dataIndex=e,a.add(t)}}).update(function(t,n){var s=i.getItemGraphicEl(n);if(!r.getItemLayout(t)){s&&lm(s,e,n);return}s?s.updateData(r,t,o):s=new vH(r,t,o),a.add(s)}).remove(function(t){var n=i.getItemGraphicEl(t);n&&lm(n,e,t)}).execute(),!i){var s=e.get(`center`);this.group.scaleX=.01,this.group.scaleY=.01,this.group.originX=X(s[0],n.getWidth()),this.group.originY=X(s[1],n.getHeight()),am(this.group,{scaleX:1,scaleY:1},e)}this._data=r,this.renderEdges(e,o)},t.prototype.renderEdges=function(e,t){var n=e.getData(),r=e.getEdgeData(),i=this._edgeData,a=this.group;r.diff(i).add(function(e){var i=new yH(n,r,e,t);Z(i).dataIndex=e,a.add(i)}).update(function(e,o){var s=i.getItemGraphicEl(o);s.updateData(n,r,e,t),a.add(s)}).remove(function(t){var n=i.getItemGraphicEl(t);n&&lm(n,e,t)}).execute(),this._edgeData=r},t.prototype.dispose=function(){},t.type=gH,t}(Xb),CH=Math.PI/180,wH=Tc(gH,TH);function TH(e,t){e.eachSeriesByType(gH,function(e){EH(e,t)})}function EH(e,t){var n=e.getData(),r=n.graph,i=e.getEdgeData();if(i.count()){var a=__(e,t),o=a.cx,s=a.cy,c=a.r,l=a.r0,u=Math.max((e.get(`padAngle`)||0)*CH,0),d=Math.max((e.get(`minAngle`)||0)*CH,0),f=-e.get(`startAngle`)*CH,p=f+Math.PI*2,m=e.get(`clockwise`),h=m?1:-1,g=[f,p];au(g,!m);var _=g[0],v=g[1]-_,y=n.getSum(`value`)===0&&i.getSum(`value`)===0,b=[],x=0;r.eachEdge(function(e){var t=y?1:e.getValue(`value`);y&&(t>0||d)&&(x+=2);var n=e.node1.dataIndex,r=e.node2.dataIndex;b[n]=(b[n]||0)+t,b[r]=(b[r]||0)+t});var S=0;if(r.eachNode(function(e){var t=e.getValue(`value`);isNaN(t)||(b[e.dataIndex]=Math.max(t,b[e.dataIndex]||0)),!y&&(b[e.dataIndex]>0||d)&&x++,S+=b[e.dataIndex]||0}),!(x===0||S===0)){u*x>=Math.abs(v)&&(u=Math.max(0,(Math.abs(v)-d*x)/x)),(u+d)*x>=Math.abs(v)&&(d=(Math.abs(v)-u*x)/x);var C=(v-u*x*h)/S,w=0,T=0,E=0,D=1/0;r.eachNode(function(e){var t=b[e.dataIndex]||0,n=C*(S?t:1)*h;Math.abs(n)T){var k=w/T;r.eachNode(function(e){var t=e.getLayout().angle;Math.abs(t)>=d?e.setLayout({angle:t*k,ratio:k},!0):e.setLayout({angle:d,ratio:d===0?1:t/d},!0)})}else r.eachNode(function(e){if(!O){var t=e.getLayout().angle;t-Math.min(t/E,1)*wd&&d>0){var n=O?1:Math.min(t/E,1),r=t-d,i=Math.min(r,Math.min(A,w*n));A-=i,e.setLayout({angle:t-i,ratio:(t-i)/t},!0)}else d>0&&e.setLayout({angle:d,ratio:t===0?1:d/t},!0)}});var j=_,ee=[];r.eachNode(function(e){var t=Math.max(e.getLayout().angle,d);e.setLayout({cx:o,cy:s,r0:l,r:c,startAngle:j,endAngle:j+t*h,clockwise:m},!0),ee[e.dataIndex]=j,j+=(t+u)*h}),r.eachEdge(function(e){var t=y?1:e.getValue(`value`),n=C*(S?t:1)*h,r=e.node1.dataIndex,i=ee[r]||0,a=i+Math.abs((e.node1.getLayout().ratio||1)*n)*h,c=[o+l*Math.cos(i),s+l*Math.sin(i)],u=[o+l*Math.cos(a),s+l*Math.sin(a)],d=e.node2.dataIndex,f=ee[d]||0,p=f+Math.abs((e.node2.getLayout().ratio||1)*n)*h,g=[o+l*Math.cos(f),s+l*Math.sin(f)],_=[o+l*Math.cos(p),s+l*Math.sin(p)];e.setLayout({s1:c,s2:u,sStartAngle:i,sEndAngle:a,t1:g,t2:_,tStartAngle:f,tEndAngle:p,cx:o,cy:s,r:l,value:t,clockwise:m}),ee[r]=a,ee[d]=p})}}}function DH(e){e.registerChartView(SH),e.registerSeriesModel(_H),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,wH),e.registerProcessor(ON(`chord`))}var OH=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),kH=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`pointer`,n}return t.prototype.getDefaultShape=function(){return new OH},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,i=t.r,a=t.width,o=t.angle,s=t.x-n(o)*a*(a>=i/3?1:2),c=t.y-r(o)*a*(a>=i/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,c),e.lineTo(t.x+n(o)*a,t.y+r(o)*a),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(o)*a,t.y-r(o)*a),e.lineTo(s,c)},t}(ju);function AH(e,t){var n=e.get(`center`),r=t.getWidth(),i=t.getHeight(),a=Math.min(r,i);return{cx:X(n[0],t.getWidth()),cy:X(n[1],t.getHeight()),r:X(e.get(`radius`),a/2)}}function jH(e,t){var n=e==null?``:e+``;return t&&(H(t)?n=t.replace(`{value}`,n):V(t)&&(n=t(e))),n}var MH=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get([`axisLine`,`lineStyle`,`color`]),i=AH(e,n);this._renderMain(e,t,n,r,i),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,i){var a=this.group,o=e.get(`clockwise`),s=-e.get(`startAngle`)/180*Math.PI,c=-e.get(`endAngle`)/180*Math.PI,l=e.getModel(`axisLine`),u=l.get(`roundCap`)?XM:Sp,d=l.get(`show`),f=l.getModel(`lineStyle`),p=f.get(`width`),m=[s,c];au(m,!o),s=m[0],c=m[1];for(var h=c-s,g=s,_=[],v=0;d&&v=e&&(t===0?0:r[t-1][0])Math.PI/2&&(re+=Math.PI)):P===`tangential`?re=-S-Math.PI/2:de(P)&&(re=P*Math.PI/180),re===0?l.add(new Xu({style:dh(_,{text:M,x:N,y:ne,verticalAlign:k<-.8?`top`:k>.8?`bottom`:`middle`,align:O<-.4?`left`:O>.4?`right`:`center`},{inheritColor:te}),silent:!0})):l.add(new Xu({style:dh(_,{text:M,x:N,y:ne,verticalAlign:`middle`,align:`center`},{inheritColor:te}),silent:!0,originX:N,originY:ne,rotation:re}))}if(g.get(`show`)&&A!==v){var j=g.get(`distance`);j=j?j+c:c;for(var ie=0;ie<=y;ie++){O=Math.cos(S),k=Math.sin(S);var ae=new Np({shape:{x1:O*(f-j)+u,y1:k*(f-j)+d,x2:O*(f-x-j)+u,y2:k*(f-x-j)+d},silent:!0,style:E});E.stroke===`auto`&&ae.setStyle({stroke:r((A+ie/y)/v)}),l.add(ae),S+=w}S-=w}else S+=C}},t.prototype._renderPointer=function(e,t,n,r,i,a,o,s,c){var l=this.group,u=this._data,d=this._progressEls,f=[],p=e.get([`pointer`,`show`]),m=e.getModel(`progress`),h=m.get(`show`),g=e.getData(),_=g.mapDimension(`value`),v=+e.get(`min`),y=+e.get(`max`),b=[v,y],x=[a,o];function S(t,n){var r=g.getItemModel(t).getModel(`pointer`),a=X(r.get(`width`),i.r),o=X(r.get(`length`),i.r),s=e.get([`pointer`,`icon`]),c=r.get(`offsetCenter`),l=X(c[0],i.r),u=X(c[1],i.r),d=r.get(`keepAspect`),f=s?vS(s,l-a/2,u-o,a,o,null,d):new kH({shape:{angle:-Math.PI/2,width:a,r:o,x:l,y:u}});return f.rotation=-(n+Math.PI/2),f.x=i.cx,f.y=i.cy,f}function C(e,t){var n=m.get(`roundCap`)?XM:Sp,r=m.get(`overlap`),o=r?m.get(`width`):c/g.count(),l=r?i.r-o:i.r-(e+1)*o,u=r?i.r:i.r-e*o,d=new n({shape:{startAngle:a,endAngle:t,cx:i.cx,cy:i.cy,clockwise:s,r0:l,r:u}});return r&&(d.z2=Bo(g.get(_,e),[v,y],[100,0],!0)),d}(h||p)&&(g.diff(u).add(function(t){var n=g.get(_,t);if(p){var r=S(t,a);am(r,{rotation:-((isNaN(+n)?x[0]:Bo(n,b,x,!0))+Math.PI/2)},e),l.add(r),g.setItemGraphicEl(t,r)}if(h){var i=C(t,a);am(i,{shape:{endAngle:Bo(n,b,x,m.get(`clip`))}},e),l.add(i),ud(e.seriesIndex,g.dataType,t,i),f[t]=i}}).update(function(t,n){var r=g.get(_,t);if(p){var i=u.getItemGraphicEl(n),o=i?i.rotation:a,s=S(t,o);s.rotation=o,im(s,{rotation:-((isNaN(+r)?x[0]:Bo(r,b,x,!0))+Math.PI/2)},e),l.add(s),g.setItemGraphicEl(t,s)}if(h){var c=d[n],v=C(t,c?c.shape.endAngle:a);im(v,{shape:{endAngle:Bo(r,b,x,m.get(`clip`))}},e),l.add(v),ud(e.seriesIndex,g.dataType,t,v),f[t]=v}}).execute(),g.each(function(e){var t=g.getItemModel(e),n=t.getModel(`emphasis`),i=n.get(`focus`),a=n.get(`blurScope`),o=n.get(`disabled`),s=r(Bo(g.get(_,e),b,[0,1],!0));if(p){var c=g.getItemGraphicEl(e),l=g.getItemVisual(e,`style`),u=l.fill;if(c instanceof Lu){var d=c.style;c.useStyle(M({image:d.image,x:d.x,y:d.y,width:d.width,height:d.height},l))}else c.useStyle(l),c.type!==`pointer`&&c.setColor(u);c.setStyle(t.getModel([`pointer`,`itemStyle`]).getItemStyle()),c.style.fill===`auto`&&c.setStyle(`fill`,s),c.z2EmphasisLift=0,Tf(c,t),xf(c,i,a,o)}if(h){var m=f[e];m.useStyle(g.getItemVisual(e,`style`)),m.setStyle(t.getModel([`progress`,`itemStyle`]).getItemStyle()),m.style.fill===`auto`&&m.setStyle(`fill`,s),m.z2EmphasisLift=0,Tf(m,t),xf(m,i,a,o)}}),this._progressEls=f)},t.prototype._renderAnchor=function(e,t){var n=e.getModel(`anchor`);if(n.get(`show`)){var r=n.get(`size`),i=n.get(`icon`),a=n.get(`offsetCenter`),o=n.get(`keepAspect`),s=vS(i,t.cx-r/2+X(a[0],t.r),t.cy-r/2+X(a[1],t.r),r,r,null,o);s.z2=+!!n.get(`showAbove`),s.setStyle(n.getModel(`itemStyle`).getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,i){var a=this,o=e.getData(),s=o.mapDimension(`value`),c=+e.get(`min`),l=+e.get(`max`),u=new Y,d=[],f=[],p=e.isAnimationEnabled(),m=e.get([`pointer`,`showAbove`]);o.diff(this._data).add(function(e){d[e]=new Xu({silent:!0}),f[e]=new Xu({silent:!0})}).update(function(e,t){d[e]=a._titleEls[t],f[e]=a._detailEls[t]}).execute(),o.each(function(t){var n=o.getItemModel(t),a=o.get(s,t),h=new Y,g=r(Bo(a,[c,l],[0,1],!0)),_=n.getModel(`title`);if(_.get(`show`)){var v=_.get(`offsetCenter`),y=i.cx+X(v[0],i.r),b=i.cy+X(v[1],i.r),x=d[t];x.attr({z2:m?0:2,style:dh(_,{x:y,y:b,text:o.getName(t),align:`center`,verticalAlign:`middle`},{inheritColor:g})}),h.add(x)}var S=n.getModel(`detail`);if(S.get(`show`)){var C=S.get(`offsetCenter`),w=i.cx+X(C[0],i.r),T=i.cy+X(C[1],i.r),E=X(S.get(`width`),i.r),D=X(S.get(`height`),i.r),O=e.get([`progress`,`show`])?o.getItemVisual(t,`style`).fill:g,x=f[t],k=S.get(`formatter`);x.attr({z2:m?0:2,style:dh(S,{x:w,y:T,text:jH(a,k),width:isNaN(E)?null:E,height:isNaN(D)?null:D,align:`center`,verticalAlign:`middle`},{inheritColor:O})}),xh(x,{normal:S},a,function(e){return jH(e,k)}),p&&Sh(x,t,o,e,{getFormattedLabel:function(e,t,n,r,i,o){return jH(o?o.interpolatedValue:a,k)}}),h.add(x)}u.add(h)}),this.group.add(u),this._titleEls=d,this._detailEls=f},t.type=`gauge`,t}(Xb),NH=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath=`itemStyle`,n}return t.prototype.getInitialData=function(e,t){return kN(this,[`value`])},t.type=`series.gauge`,t.defaultOption={z:2,colorBy:`data`,center:[`50%`,`50%`],legendHoverLink:!0,radius:`75%`,startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,Q.color.neutral10]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:Q.color.axisTick,width:3,type:`solid`}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:Q.color.axisTickMinor,width:1,type:`solid`}},axisLabel:{show:!0,distance:15,color:Q.color.axisLabel,fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:`60%`,width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:`circle`,offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:Q.color.neutral00,borderWidth:0,borderColor:Q.color.theme[0]}},title:{show:!0,offsetCenter:[0,`20%`],color:Q.color.secondary,fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:Q.color.transparent,borderWidth:0,borderColor:Q.color.neutral40,width:100,height:null,padding:[5,10],offsetCenter:[0,`40%`],color:Q.color.primary,fontSize:30,fontWeight:`bold`,lineHeight:30,valueAnimation:!1}},t}(Lb);function PH(e){e.registerChartView(MH),e.registerSeriesModel(NH)}var FH=`funnel`,IH=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new AN(R(this.getData,this),R(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return kN(this,{coordDimensions:[`value`],encodeDefaulter:z(U_,this)})},t.prototype._defaultLabelLine=function(e){Ds(e,`labelLine`,[`show`]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),i=n.mapDimension(`value`),a=n.getSum(i);return r.percent=a?+(n.get(i,t)/a*100).toFixed(2):0,r.$vars.push(`percent`),r},t.type=`series.`+FH,t.defaultOption={coordinateSystemUsage:`box`,z:2,legendHoverLink:!0,colorBy:`data`,left:80,top:60,right:80,bottom:65,minSize:`0%`,maxSize:`100%`,sort:`descending`,orient:`vertical`,gap:0,funnelAlign:`center`,label:{show:!0,position:`outer`},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:Q.color.neutral00,borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:Q.color.primary}}},t}(Lb),LH=[`itemStyle`,`opacity`],RH=function(e){n(t,e);function t(t,n){var r=e.call(this)||this,i=r,a=new Ap,o=new Xu;return i.setTextContent(o),r.setTextGuideLine(a),r.updateData(t,n,!0),r}return t.prototype.updateData=function(e,t,n){var r=this,i=e.hostModel,a=e.getItemModel(t),o=e.getItemLayout(t),s=a.getModel(`emphasis`),c=a.get(LH);c=c??1,n||um(r),r.useStyle(e.getItemVisual(t,`style`)),r.style.lineJoin=`round`,n?(r.setShape({points:o.points}),r.style.opacity=0,am(r,{style:{opacity:c}},i,t)):im(r,{style:{opacity:c},shape:{points:o.points}},i,t),Tf(r,a),this._updateLabel(e,t),xf(this,s.get(`focus`),s.get(`blurScope`),s.get(`disabled`))},t.prototype._updateLabel=function(e,t){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),a=e.hostModel,o=e.getItemModel(t),s=e.getItemLayout(t).label,c=e.getItemVisual(t,`style`),l=c.fill;lh(i,uh(o),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:c.opacity,defaultText:e.getName(t)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}});var u=o.getModel(`label`).get(`color`)===`inherit`?l:null;n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var d=s.linePoints;r.setShape({points:d}),n.textGuideLineConfig={anchor:d?new q(d[0][0],d[0][1]):null},im(i,{style:{x:s.x,y:s.y}},a,t),i.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),zk(n,Bk(o),{stroke:l})},t}(Op),zH=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=FH,t.ignoreLabelLineUpdate=!0,t}return t.prototype.render=function(e,t,n){var r=e.getData(),i=this._data,a=this.group;r.diff(i).add(function(e){var t=new RH(r,e);r.setItemGraphicEl(e,t),a.add(t)}).update(function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),a.add(n),r.setItemGraphicEl(e,n)}).remove(function(t){lm(i.getItemGraphicEl(t),e,t)}).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type=FH,t}(Xb);function BH(e,t){for(var n=e.mapDimension(`value`),r=e.mapArray(n,function(e){return e}),i=[],a=t===`ascending`,o=0,s=e.count();o-1&&(i=`left`),n&&P([`left`,`right`],i)>-1&&(i=`bottom`)),i===`left`?(p=(s[3][0]+s[0][0])/2,m=(s[3][1]+s[0][1])/2,h=p-_,u=h-5,l=`right`):i===`right`?(p=(s[1][0]+s[2][0])/2,m=(s[1][1]+s[2][1])/2,h=p+_,u=h+5,l=`left`):i===`top`?(p=(s[3][0]+s[0][0])/2,m=(s[3][1]+s[0][1])/2,g=m-_,d=g-5,l=`center`):i===`bottom`?(p=(s[1][0]+s[2][0])/2,m=(s[1][1]+s[2][1])/2,g=m+_,d=g+5,l=`center`):i===`rightTop`?(p=n?s[3][0]:s[1][0],m=n?s[3][1]:s[1][1],n?(g=m-_,d=g-5,l=`center`):(h=p+_,u=h+5,l=`top`)):i===`rightBottom`?(p=s[2][0],m=s[2][1],n?(g=m+_,d=g+5,l=`center`):(h=p+_,u=h+5,l=`bottom`)):i===`leftTop`?(p=s[0][0],m=n?s[0][1]:s[1][1],n?(g=m-_,d=g-5,l=`center`):(h=p-_,u=h-5,l=`right`)):i===`leftBottom`?(p=n?s[1][0]:s[3][0],m=n?s[1][1]:s[2][1],n?(g=m+_,d=g+5,l=`center`):(h=p-_,u=h-5,l=`right`)):(p=(s[1][0]+s[2][0])/2,m=(s[1][1]+s[2][1])/2,n?(g=m+_,d=g+5,l=`center`):(h=p+_,u=h+5,l=`left`)),n?(h=p,u=h):(g=m,d=g),f=[[p,m],[h,g]]}o.label={linePoints:f,x:u,y:d,verticalAlign:`middle`,textAlign:l,inside:c}})}var HH=Tc(FH,UH);function UH(e,t){e.eachSeriesByType(FH,function(e){var n=e.getData(),r=n.mapDimension(`value`),i=e.get(`sort`),a=x_(e,t),o=v_(e.getBoxLayoutParams(),a.refContainer),s=WH(e),c=o.width,l=o.height,u=BH(n,i),d=o.x,f=o.y,p=s?[X(e.get(`minSize`),l),X(e.get(`maxSize`),l)]:[X(e.get(`minSize`),c),X(e.get(`maxSize`),c)],m=n.getDataExtent(r),h=e.get(`min`),g=e.get(`max`);h??(h=Math.min(m[0],0)),g??(g=m[1]);var _=e.get(`funnelAlign`),v=e.get(`gap`),y=((s?c:l)-v*(n.count()-1))/n.count(),b=function(e,t){if(s){var i=Bo(n.get(r,e)||0,[h,g],p,!0),a=void 0;switch(_){case`top`:a=f;break;case`center`:a=f+(l-i)/2;break;case`bottom`:a=f+(l-i);break}return[[t,a],[t,a+i]]}var o=Bo(n.get(r,e)||0,[h,g],p,!0),u;switch(_){case`left`:u=d;break;case`center`:u=d+(c-o)/2;break;case`right`:u=d+c-o;break}return[[u,t],[u+o,t]]};i===`ascending`&&(y=-y,v=-v,s?d+=c:f+=l,u=u.reverse());for(var x=0;xcU)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);r.behavior!==`none`&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!(this._mouseDownPoint||!dU(this,`mousemove`))){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;r===`jump`&&this._throttledDispatchExpand.debounceNextCall(t.get(`axisExpandDebounce`)),this._throttledDispatchExpand(r===`none`?null:{axisExpandWindow:n.axisExpandWindow,animation:r===`jump`?null:{duration:0}})}}};function dU(e,t){var n=e._model;return n.get(`axisExpandable`)&&n.get(`axisExpandTriggerOn`)===t}var fU=`parallel`,pU=fU,mU=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&j(t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get(`parallelIndex`);return n!=null&&t.getComponent(`parallel`,n)===this},t.prototype.setAxisExpand=function(e){F([`axisExpandable`,`axisExpandCenter`,`axisExpandCount`,`axisExpandWidth`,`axisExpandWindow`],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[];F(se(this.ecModel.queryComponents({mainType:`parallelAxis`}),function(e){return(e.get(`parallelIndex`)||0)===this.componentIndex},this),function(n){e.push(`dim`+n.get(`dim`)),t.push(n.componentIndex)})},t.type=pU,t.dependencies=[`parallelAxis`],t.layoutMode=`box`,t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:`horizontal`,axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:`click`,parallelAxisDefault:null},t}(k_),hU=function(e){n(t,e);function t(t,n,r,i,a){var o=e.call(this,t,n,r)||this;return o.type=i||`value`,o.axisIndex=a,o}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get(`layout`)!==`horizontal`},t}(uk);function gU(e,t,n,r,i,a){e=e||0;var o=es(n[1],-n[0]);if(i!=null&&(i=vU(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),r===`all`){var s=Math.abs(es(t[1],-t[0]));s=vU(s,[0,o]),i=a=vU(s,[i,a]),r=0}t[0]=vU(t[0],n),t[1]=vU(t[1],n);var c=_U(t,r);t[r]+=e;var l=i||0,u=n.slice();c.sign<0?u[0]=es(u[0],l):u[1]=es(u[1],-l),t[r]=vU(t[r],u);var d=_U(t,r);return i!=null&&(d.sign!==c.sign||d.spana&&(t[1-r]=es(t[r],d.sign*a)),t}function _U(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function vU(e,t){return Math.min(t[1]==null?1/0:t[1],Math.max(t[0]==null?-1/0:t[0],e))}var yU=function(){function e(e,t,n){this.type=fU,this._axesMap=G(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;F(r,function(e,n){var r=i[n],a=t.getComponent(`parallelAxis`,r),o=ZE(a),s=this._axesMap.set(e,new hU(e,QE(a,o,!1),[0,0],o,r));s.onBand=pD(s.scale,a),s.inverse=a.get(`inverse`),a.axis=s,s.model=a,s.coordinateSystem=a.coordinateSystem=this},this)},e.prototype.update=function(e,t){F(this.dimensions,function(e){var t=this._axesMap.get(e);GD(t,1),rO(t)},this)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,a=e[1-i],o=e[i];return a>=n&&a<=n+t.axisLength&&o>=r&&o<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype.resize=function(e,t){var n=x_(e,t).refContainer;this._rect=v_(e.getBoxLayoutParams(),n),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e=this._model,t=this._rect,n=[`x`,`y`],r=[`width`,`height`],i=e.get(`layout`),a=i===`horizontal`?0:1,o=t[r[a]],s=[0,o],c=this.dimensions.length,l=bU(e.get(`axisExpandWidth`),s),u=bU(e.get(`axisExpandCount`)||0,[0,c]),d=e.get(`axisExpandable`)&&c>3&&c>u&&u>1&&l>0&&o>0,f=e.get(`axisExpandWindow`),p;f?(p=bU(f[1]-f[0],s),f[1]=f[0]+p):(p=bU(l*(u-1),s),f=[l*(e.get(`axisExpandCenter`)||No(c/2))-p/2],f[1]=f[0]+p);var m=(o-p)/(c-u);m<3&&(m=0);var h=[No(Go(f[0]/l,1))+1,Po(Go(f[1]/l,1))-1],g=m/l*f[0];return{layout:i,pixelDimIndex:a,layoutBase:t[n[a]],layoutLength:o,axisBase:t[n[1-a]],axisLength:t[r[1-a]],axisExpandable:d,axisExpandWidth:l,axisCollapseWidth:m,axisExpandWindow:f,axisCount:c,winInnerIndices:h,axisExpandWindow0Pos:g}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;t.each(function(e){var t=[0,r.axisLength],n=+!!e.inverse;e.setExtent(t[n],t[1-n])}),F(n,function(t,n){var a=(r.axisExpandable?SU:xU)(n,r),o={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},s={horizontal:Ro/2,vertical:0},c=[o[i].x+e.x,o[i].y+e.y],l=s[i],u=Wt();Yt(u,u,l),Jt(u,u,c),this._axesLayout[t]={position:c,rotation:l,transform:u,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){n??(n=0),r??(r=e.count());var i=this._axesMap,a=this.dimensions,o=[],s=[];F(a,function(t){o.push(e.mapDimension(t)),s.push(i.get(t).model)});for(var c=this.hasAxisBrushed(),l=n;li*(1-u[0])?(c=`jump`,s=o-i*(1-u[2])):(s=o-i*u[1])>=0&&(s=o-i*(1-u[1]))<=0&&(s=0),s*=t.axisExpandWidth/l,s?gU(s,r,a,`all`):c=`none`;else{var f=r[1]-r[0];r=[Ao(0,a[1]*o/f-f/2)],r[1]=ko(a[1],r[0]+f),r[0]=r[1]-f}return{axisExpandWindow:r,behavior:c}},e}();function bU(e,t){return ko(Ao(e,t[0]),t[1])}function xU(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function SU(e,t){var n=t.layoutLength,r=t.axisExpandWidth,i=t.axisCount,a=t.axisCollapseWidth,o=t.winInnerIndices,s,c=a,l=!1,u;return e=0;n--)qo(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return`normal`;if(e==null||isNaN(+e))return`inactive`;if(t.length===1){var n=t[0];if(n[0]<=e&&e<=n[1])return`active`}else for(var r=0,i=t.length;rjU}function XU(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function ZU(e,t,n,r){var i=new Y;return i.add(new Gu({name:`main`,style:tW(n),silent:!0,draggable:!0,cursor:`move`,drift:z(oW,e,t,i,[`n`,`s`,`w`,`e`]),ondragend:z(JU,t,{isEnd:!0})})),F(r,function(n){i.add(new Gu({name:n.join(``),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:z(oW,e,t,i,n),ondragend:z(JU,t,{isEnd:!0})}))}),i}function QU(e,t,n,r){var i=r.brushStyle.lineWidth||0,a=OU(i,MU),o=n[0][0],s=n[1][0],c=o-i/2,l=s-i/2,u=n[0][1],d=n[1][1],f=u-a+i/2,p=d-a+i/2,m=u-o,h=d-s,g=m+i,_=h+i;eW(e,t,`main`,o,s,m,h),r.transformable&&(eW(e,t,`w`,c,l,a,_),eW(e,t,`e`,f,l,a,_),eW(e,t,`n`,c,l,g,a),eW(e,t,`s`,c,p,g,a),eW(e,t,`nw`,c,l,a,a),eW(e,t,`ne`,f,l,a,a),eW(e,t,`sw`,c,p,a,a),eW(e,t,`se`,f,p,a,a))}function $U(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(tW(n)),i.attr({silent:!r,cursor:r?`move`:`default`}),F([[`w`],[`e`],[`n`],[`s`],[`s`,`e`],[`s`,`w`],[`n`,`e`],[`n`,`w`]],function(n){var i=t.childOfName(n.join(``)),a=n.length===1?iW(e,n[0]):aW(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?FU[a]+`-resize`:null})})}function eW(e,t,n,r,i,a,o){var s=t.childOfName(n);s&&s.setShape(uW(lW(e,t,[[r,i],[r+a,i+o]])))}function tW(e){return N({strokeNoScale:!0},e.brushStyle)}function nW(e,t,n,r){var i=[DU(e,n),DU(t,r)],a=[OU(e,n),OU(t,r)];return[[i[0],a[0]],[i[1],a[1]]]}function rW(e){return km(e.group)}function iW(e,t){return{left:`w`,right:`e`,top:`n`,bottom:`s`}[jm({w:`left`,e:`right`,n:`top`,s:`bottom`}[t],rW(e))]}function aW(e,t){var n=[iW(e,t[0]),iW(e,t[1])];return(n[0]===`e`||n[0]===`w`)&&n.reverse(),n.join(``)}function oW(e,t,n,r,i,a){var o=n.__brushOption,s=e.toRectRange(o.range),c=cW(t,i,a);F(r,function(e){var t=PU[e];s[t[0]][t[1]]+=c[t[0]]}),o.range=e.fromRectRange(nW(s[0][0],s[1][0],s[0][1],s[1][1])),UU(t,n),JU(t,{isEnd:!1})}function sW(e,t,n,r){var i=t.__brushOption.range,a=cW(e,n,r);F(i,function(e){e[0]+=a[0],e[1]+=a[1]}),UU(e,t),JU(e,{isEnd:!1})}function cW(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),a=r.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function lW(e,t,n){var r=KU(e,t);return r&&r!==EU?r.clipPath(n,e._transform):A(n)}function uW(e){var t=DU(e[0][0],e[1][0]),n=DU(e[0][1],e[1][1]),r=OU(e[0][0],e[1][0]),i=OU(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function dW(e,t,n){if(!(!e._brushType||vW(e,t.offsetX,t.offsetY))){var r=e._zr,i=e._covers,a=GU(e,t,n);if(!e._dragging)for(var o=0;or.getWidth()||n<0||n>r.getHeight()}var yW={lineX:bW(0),lineY:bW(1),rect:{createCover:function(e,t){function n(e){return e}return ZU({toRectRange:n,fromRectRange:n},e,t,[[`w`],[`e`],[`n`],[`s`],[`s`,`e`],[`s`,`w`],[`n`,`e`],[`n`,`w`]])},getCreatingRange:function(e){var t=XU(e);return nW(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){QU(e,t,n,r)},updateCommon:$U,contain:pW},polygon:{createCover:function(e,t){var n=new Y;return n.add(new Ap({name:`main`,style:tW(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Op({name:`main`,draggable:!0,drift:z(sW,e,t),ondragend:z(JU,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:lW(e,t,n)})},updateCommon:$U,contain:pW}};function bW(e){return{createCover:function(t,n){return ZU({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[[`w`],[`e`]],[[`n`],[`s`]]][e])},getCreatingRange:function(t){var n=XU(t);return[DU(n[0][e],n[1][e]),OU(n[0][e],n[1][e])]},updateCoverShape:function(t,n,r,i){var a,o=KU(t,n);if(o!==EU&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(e);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var c=[r,a];e&&c.reverse(),QU(t,n,c,i)},updateCommon:$U,contain:pW}}function xW(e){return e=wW(e),function(t){return Fm(t,e)}}function SW(e,t){return e=wW(e),function(n){var r=t??n,i=r?e.width:e.height,a=r?e.x:e.y;return[a,a+(i||0)]}}function CW(e,t,n){var r=wW(e);return function(e,i){return r.contain(i[0],i[1])&&!zF(e,t,n)}}function wW(e){return J.create(e)}var TW=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new RU(n.getZr())).on(`brush`,R(this._onBrush,this))},t.prototype.render=function(e,t,n,r){if(!EW(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new Y,this.group.add(this._axisGroup),e.get(`show`)){var a=OW(e,t),o=a.coordinateSystem,s=e.getAreaSelectStyle(),c=s.width,l=e.axis.dim,u=o.getAxisLayout(l),d=M({strokeContainThreshold:c},u),f=new Jj(e,n,d);f.build(),this._axisGroup.add(f.group),this._refreshBrushController(d,s,e,a,c,n),Pm(i,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,r,i,a){var o=n.axis.getExtent(),s=o[1]-o[0],c=Math.min(30,Math.abs(s)*.1),l=J.create({x:o[0],y:-i/2,width:s,height:i});l.x-=c,l.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:`pl`,clipPath:xW(l),isTargetByCursor:CW(l,a,r),getLinearBrushOtherExtent:SW(l,0)}]).enableBrush({brushType:`lineX`,brushStyle:t,removeOnClick:!0}).updateCovers(DW(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,r=n.axis,i=I(t,function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]});(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:`axisAreaSelect`,parallelAxisId:n.id,intervals:i})},t.prototype.dispose=function(){this._brushController.dispose()},t.type=`parallelAxis`,t}(Kb);function EW(e,t,n){return n&&n.type===`axisAreaSelect`&&t.findComponents({mainType:`parallelAxis`,query:n})[0]===e}function DW(e){var t=e.axis;return I(e.activeIntervals,function(e){return{brushType:`lineX`,panelId:`pl`,range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}function OW(e,t){return t.getComponent(`parallel`,e.get(`parallelIndex`))}var kW={type:`axisAreaSelect`,event:`axisAreaSelected`};function AW(e){e.registerAction(kW,function(e,t){t.eachComponent({mainType:`parallelAxis`,query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),e.registerAction(`parallelAxisExpand`,function(e,t){t.eachComponent({mainType:`parallel`,query:e},function(t){t.setAxisExpand(e)})})}var jW={type:`value`,areaSelectStyle:{width:20,borderWidth:1,borderColor:`rgba(160,197,232)`,color:`rgba(160,197,232)`,opacity:.3},realtime:!0,z:10};function MW(e){e.registerComponentView(lU),e.registerComponentModel(mU),e.registerCoordinateSystem(`parallel`,wU),e.registerPreprocessor(aU),e.registerComponentModel(TU),e.registerComponentView(TW),lP(e,`parallel`,TU,jW),AW(e)}function NW(e){hO(MW),e.registerChartView(qH),e.registerSeriesModel(eU),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,iU)}var PW=`sankey`,FW=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=e.levels||[];this.levelModels=[];for(var a=this.levelModels,o=0;o=0&&(a[i[o].depth]=new Ph(i[o],this,t));return eV(r,n,this,!0,s).data;function s(e,t){e.wrapMethod(`getItemModel`,function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var i=r.depth,a=n.levelModels[i];a&&(e.parentModel=a)}return e}),t.wrapMethod(`getItemModel`,function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t).node1.getLayout();if(r){var i=r.depth,a=n.levelModels[i];a&&(e.parentModel=a)}return e})}},t.prototype.setNodePosition=function(e,t){var n=(this.option.data||this.option.nodes)[e];n.localX=t[0],n.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||e==null}if(n===`edge`){var i=this.getDataParams(e,n),a=i.data,o=i.value;return gb(`nameValue`,{name:a.source+` -- `+a.target,value:o,noValue:r(o)})}else{var s=this.getGraph().getNodeByIndex(e).getLayout().value,c=this.getDataParams(e,n).data.name;return gb(`nameValue`,{name:c==null?null:c+``,value:s,noValue:r(s)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);return r.value==null&&n===`node`&&(r.value=this.getGraph().getNodeByIndex(t).getLayout().value),r},t.prototype.__ownRoamView=function(){return this.coordinateSystem},t.type=`series.`+PW,t.layoutMode=`box`,t.defaultOption={z:2,coordinateSystemUsage:`box`,left:`5%`,top:`5%`,right:`20%`,bottom:`5%`,orient:`horizontal`,nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,roam:!1,roamTrigger:`global`,center:null,zoom:1,label:{show:!0,position:`right`,fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:`justify`,lineStyle:{color:Q.color.neutral50,opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:Q.color.primary}},animationEasing:`linear`,animationDuration:1e3},t}(Lb),IW=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),LW=function(e){n(t,e);function t(t){return e.call(this,t)||this}return t.prototype.getDefaultShape=function(){return new IW},t.prototype.buildPath=function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient===`vertical`?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},t.prototype.highlight=function(){tf(this)},t.prototype.downplay=function(){nf(this)},t}(ju),RW=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=PW,t._mainGroup=new Y,t}return t.prototype.init=function(e,t){this._controller=new BF(t.getZr()),this.group.add(this._mainGroup),this._firstRender=!0},t.prototype.render=function(e,t,n){var r=e.getGraph(),i=this._mainGroup,a=e.layoutInfo,o=a.width,s=a.height,c=e.getData(),l=e.getData(`edge`),u=e.get(`orient`);i.removeAll(),i.x=a.x,i.y=a.y,this._updateViewCoordSys(e,n),RL(e,n,this._controller,zL(i),null),r.eachEdge(function(t){var n=new LW,r=Z(n);r.dataIndex=t.dataIndex,r.seriesIndex=e.seriesIndex,r.dataType=`edge`;var a=t.getModel(),c=a.getModel(`lineStyle`),d=c.get(`curveness`),f=t.node1.getLayout(),p=t.node1.getModel(),m=p.get(`localX`),h=p.get(`localY`),g=t.node2.getLayout(),_=t.node2.getModel(),v=_.get(`localX`),y=_.get(`localY`),b=t.getLayout(),x,S,C,w,T,E,D,O;n.shape.extent=Math.max(1,b.dy),n.shape.orient=u,u===`vertical`?(x=(m==null?f.x:m*o)+b.sy,S=(h==null?f.y:h*s)+f.dy,C=(v==null?g.x:v*o)+b.ty,w=y==null?g.y:y*s,T=x,E=S*(1-d)+w*d,D=C,O=S*d+w*(1-d)):(x=(m==null?f.x:m*o)+f.dx,S=(h==null?f.y:h*s)+b.sy,C=v==null?g.x:v*o,w=(y==null?g.y:y*s)+b.ty,T=x*(1-d)+C*d,E=S,D=x*d+C*(1-d),O=w),n.setShape({x1:x,y1:S,x2:C,y2:w,cpx1:T,cpy1:E,cpx2:D,cpy2:O}),n.useStyle(c.getItemStyle()),zW(n.style,u,t);var k=``+a.get(`value`),A=uh(a,`edgeLabel`);lh(n,A,{labelFetcher:{getFormattedLabel:function(t,n,r,i,a,o){return e.getFormattedLabel(t,n,`edge`,i,be(a,A.normal&&A.normal.get(`formatter`),k),o)}},labelDataIndex:t.dataIndex,defaultText:k}),n.setTextConfig({position:`inside`});var j=a.getModel(`emphasis`);Tf(n,a,`lineStyle`,function(e){var n=e.getItemStyle();return zW(n,u,t),n}),i.add(n),l.setItemGraphicEl(t.dataIndex,n);var ee=j.get(`focus`);xf(n,ee===`adjacency`?t.getAdjacentDataIndices():ee===`trajectory`?t.getTrajectoryDataIndices():ee,j.get(`blurScope`),j.get(`disabled`))}),r.eachNode(function(t){var n=t.getLayout(),r=t.getModel(),a=r.get(`localX`),l=r.get(`localY`),u=r.getModel(`emphasis`),d=r.get([`itemStyle`,`borderRadius`])||0,f=new Gu({shape:{x:a==null?n.x:a*o,y:l==null?n.y:l*s,width:n.dx,height:n.dy,r:d},style:r.getModel(`itemStyle`).getItemStyle(),z2:10});lh(f,uh(r),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(t,n,`node`)}},labelDataIndex:t.dataIndex,defaultText:t.id}),f.disableLabelAnimation=!0,f.setStyle(`fill`,t.getVisual(`color`)),f.setStyle(`decal`,t.getVisual(`style`).decal),Tf(f,r),i.add(f),c.setItemGraphicEl(t.dataIndex,f),Z(f).dataType=`node`;var p=u.get(`focus`);xf(f,p===`adjacency`?t.getAdjacentDataIndices():p===`trajectory`?t.getTrajectoryDataIndices():p,u.get(`blurScope`),u.get(`disabled`))}),c.eachItemGraphicEl(function(t,r){c.getItemModel(r).get(`draggable`)&&(t.drift=function(t,i){this.shape.x+=t,this.shape.y+=i,this.dirty(),n.dispatchAction({type:`dragNode`,seriesId:e.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/o,localY:this.shape.y/s})},t.draggable=!0,t.cursor=`move`)}),!this._data&&e.isAnimationEnabled()&&i.setClipPath(BW(i.getBoundingRect(),e,function(){i.removeClipPath()})),this._data=e.getData(),this._firstRender=!1},t.prototype.__updateOnOwnRoam=function(e,t,n){bL(this.group,2,t.coordinateSystem,null)},t.prototype.dispose=function(){this._controller&&this._controller.dispose()},t.prototype._updateViewCoordSys=function(e,t){var n=e.layoutInfo,r=e.coordinateSystem=WL(e,t,n.x,n.y,n.width,n.height);bL(this.group,2,r,this._firstRender?null:e)},t.type=PW,t}(Xb);function zW(e,t,n){switch(e.fill){case`source`:e.fill=n.node1.getVisual(`color`),e.decal=n.node1.getVisual(`style`).decal;break;case`target`:e.fill=n.node2.getVisual(`color`),e.decal=n.node2.getVisual(`style`).decal;break;case`gradient`:var r=n.node1.getVisual(`color`),i=n.node2.getVisual(`color`);H(r)&&H(i)&&(e.fill=new Hp(0,0,+(t===`horizontal`),+(t===`vertical`),[{color:r,offset:0},{color:i,offset:1}]))}}function BW(e,t,n){var r=new Gu({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return am(r,{shape:{width:e.width+20}},t,n),r}var VW=Tc(PW,HW);function HW(e,t){e.eachSeriesByType(PW,function(e){var n=e.get(`nodeWidth`),r=e.get(`nodeGap`),i=x_(e,t).refContainer,a=v_(e.getBoxLayoutParams(),i);e.layoutInfo=a;var o=a.width,s=a.height,c=e.getGraph(),l=c.nodes,u=c.edges;WW(l),UW(l,u,n,r,o,s,se(l,function(e){return e.getLayout().value===0}).length===0?e.get(`layoutIterations`):0,e.get(`orient`),e.get(`nodeAlign`))})}function UW(e,t,n,r,i,a,o,s,c){GW(e,t,n,i,a,s,c),XW(e,t,a,i,r,o,s),lG(e,s)}function WW(e){F(e,function(e){var t=sG(e.outEdges,oG),n=sG(e.inEdges,oG),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)})}function GW(e,t,n,r,i,a,o){for(var s=[],c=[],l=[],u=[],d=0,f=0;f=0;_&&g.depth>p&&(p=g.depth),h.setLayout({depth:_?g.depth:d},!0),a===`vertical`?h.setLayout({dy:n},!0):h.setLayout({dx:n},!0);for(var v=0;vd-1?p:d-1;o&&o!==`left`&&qW(e,o,a,C),YW(e,a===`vertical`?(i-n)/C:(r-n)/C,a)}function KW(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function qW(e,t,n,r){if(t===`right`){for(var i=[],a=e,o=0;a.length;){for(var s=0;s0;a--)c*=.99,eG(s,c,o),$W(s,i,n,r,o),cG(s,c,o),$W(s,i,n,r,o)}function ZW(e,t){var n=[],r=t===`vertical`?`y`:`x`,i=ac(e,function(e){return e.getLayout()[r]});return qo(i.keys),F(i.keys,function(e){n.push(i.buckets.get(e))}),n}function QW(e,t,n,r,i,a){var o=1/0;F(e,function(e){var t=e.length,s=0;F(e,function(e){s+=e.getLayout().value});var c=a===`vertical`?(r-(t-1)*i)/s:(n-(t-1)*i)/s;c0&&(o=s.getLayout()[a]+c,i===`vertical`?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),l=s.getLayout()[a]+s.getLayout()[d]+t;var p=i===`vertical`?r:n;if(c=l-t-p,c>0){o=s.getLayout()[a]-c,i===`vertical`?s.setLayout({x:o},!0):s.setLayout({y:o},!0),l=o;for(var f=u-2;f>=0;--f)s=e[f],c=s.getLayout()[a]+s.getLayout()[d]+t-l,c>0&&(o=s.getLayout()[a]-c,i===`vertical`?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),l=s.getLayout()[a]}})}function eG(e,t,n){F(e.slice().reverse(),function(e){F(e,function(e){if(e.outEdges.length){var r=sG(e.outEdges,tG,n)/sG(e.outEdges,oG);if(isNaN(r)){var i=e.outEdges.length;r=i?sG(e.outEdges,nG,n)/i:0}if(n===`vertical`){var a=e.getLayout().x+(r-aG(e,n))*t;e.setLayout({x:a},!0)}else{var o=e.getLayout().y+(r-aG(e,n))*t;e.setLayout({y:o},!0)}}})})}function tG(e,t){return aG(e.node2,t)*e.getValue()}function nG(e,t){return aG(e.node2,t)}function rG(e,t){return aG(e.node1,t)*e.getValue()}function iG(e,t){return aG(e.node1,t)}function aG(e,t){return t===`vertical`?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function oG(e){return e.getValue()}function sG(e,t,n){for(var r=0,i=e.length,a=-1;++aa&&(a=t)}),F(n,function(t){var n=new CB({type:`color`,mappingMethod:`linear`,dataExtent:[i,a],visual:e.get(`color`)}).mapValueToVisual(t.getLayout().value),r=t.getModel().get([`itemStyle`,`color`]);r==null?(t.setVisual(`color`,n),t.setVisual(`style`,{fill:n})):(t.setVisual(`color`,r),t.setVisual(`style`,{fill:r}))})}r.length&&F(r,function(e){var t=e.getModel().get(`lineStyle`);e.setVisual(`style`,t)})})}function fG(e){e.registerChartView(RW),e.registerSeriesModel(FW),e.registerLayout(VW),e.registerVisual(uG),e.registerAction({type:`dragNode`,event:`dragnode`,update:`update`},function(e,t){t.eachComponent({mainType:dd,subType:PW,query:e},function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])})}),VL(e,dd,PW)}var pG=function(){function e(){}return e.prototype._hasEncodeRule=function(e){var t=this.getEncode();return t&&t.get(e)!=null},e.prototype.getInitialData=function(e,t){var n,r=t.getComponent(`xAxis`,this.get(`xAxisIndex`)),i=t.getComponent(`yAxis`,this.get(`yAxisIndex`)),a=r.get(`type`),o=i.get(`type`),s,c=e.layout;a===`category`?(c=`horizontal`,n=r.getOrdinalMeta(),s=!this._hasEncodeRule(`x`)):o===`category`&&(c=`vertical`,n=i.getOrdinalMeta(),s=!this._hasEncodeRule(`y`)),c||(c=o===`time`?`vertical`:`horizontal`),this._layout=c;var l=[`x`,`y`],u=c===`horizontal`?0:1,d=this._baseAxisDim=l[u],f=l[1-u],p=[r,i],m=p[u].get(`type`),h=p[1-u].get(`type`),g=e.data;if(g&&s){var _=[];F(g,function(e,t){var n;B(e)?(n=e.slice(),e.unshift(t)):B(e.value)?(n=M({},e),n.value=n.value.slice(),e.value.unshift(t)):n=e,_.push(n)}),e.data=_}var v=this.defaultValueDimensions,y=[{name:d,type:uT(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:[`base`]},{name:f,type:uT(h),dimsDef:v.slice()}];return kN(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:z(H_,y,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+`Axis`,this.get(e+`AxisIndex`)).axis},e.prototype.getWhiskerBoxesLayout=function(){return this._layout},e}();function mG(e,t){for(var n=t.ends.length,r=0,i=0;ih){var b=[_,y];r.push(b)}}}return{boxData:n,outliers:r}}var AG={type:`echarts:boxplot`,transform:function(e){var t=e.upstream;t.sourceFormat!==`arrayRows`&&Ss(``);var n=kG(t.getRawData(),e.config);return[{dimensions:[`ItemName`,`Low`,`Q1`,`Q2`,`Q3`,`High`],data:n.boxData},{data:n.outliers}]}};function jG(e){e.registerSeriesModel(gG),e.registerChartView(_G),e.registerLayout(wG),e.registerTransform(AG),OG(e)}var MG=`candlestick`,NG=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:`open`,defaultTooltip:!0},{name:`close`,defaultTooltip:!0},{name:`lowest`,defaultTooltip:!0},{name:`highest`,defaultTooltip:!0}],n}return t.prototype.getShadowDim=function(){return`open`},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type=`series.`+MG,t.dependencies=[`xAxis`,`yAxis`,`grid`],t.defaultOption={z:2,coordinateSystem:`cartesian2d`,legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:`#eb5454`,color0:`#47b262`,borderColor:`#eb5454`,borderColor0:`#47b262`,borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:`mod`,animationEasing:`linear`,animationDuration:300},t}(Lb);ie(NG,pG,!0);var PG=[`itemStyle`,`borderColor`],FG=[`itemStyle`,`borderColor0`],IG=[`itemStyle`,`borderColorDoji`],LG=[`itemStyle`,`color`],RG=[`itemStyle`,`color0`];function zG(e,t){return t.get(e>0?LG:RG)}function BG(e,t){return t.get(e===0?IG:e>0?PG:FG)}var VG={seriesType:MG,plan:qb(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){for(var n;(n=e.next())!=null;){var r=t.getItemModel(n),i=t.getItemLayout(n).sign,a=r.getItemStyle();a.fill=zG(i,r),a.stroke=BG(i,r)||a.fill,M(t.ensureUniqueItemVisual(n,`style`),a)}}}}},HG=[`color`,`borderColor`],UG=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){qm(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;(this._isLargeDraw==null||t!==this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout(`isSimpleBox`),a=e.get(`clip`,!0),o=e.coordinateSystem,s=o.getArea&&o.getArea(),c=a&&GA(o,!1,e);this._data||r.removeAll();var l=YG(e);t.diff(n).add(function(n){if(t.hasValue(n)){var o=t.getItemLayout(n),u=a?mG(s,o):0;if(u===2)return;var d=KG(o,n,l,!0);am(d,{shape:{points:o.ends}},e,n),KA(u===1,d,c),qG(d,t,n,i),r.add(d),t.setItemGraphicEl(n,d)}}).update(function(o,u){var d=n.getItemGraphicEl(u);if(!t.hasValue(o)){r.remove(d);return}var f=t.getItemLayout(o),p=a?mG(s,f):0;if(p===2){r.remove(d);return}d?(im(d,{shape:{points:f.ends}},e,o),um(d)):d=KG(f,o,l),qG(d,t,o,i),KA(p===1,d,c),r.add(d),t.setItemGraphicEl(o,d)}).remove(function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)}).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),QG(e,this.group);var t=e.get(`clip`,!0)?GA(e.coordinateSystem,!1,e):null;KA(!!t,this.group,t)},t.prototype._incrementalRenderNormal=function(e,t){for(var n=t.getData(),r=n.getLayout(`isSimpleBox`),i=YG(t),a;(a=e.next())!=null;){var o=KG(n.getItemLayout(a),a,i);qG(o,n,a,r),o.incremental=Cc(t),this.group.add(o),this._progressiveEls.push(o)}},t.prototype._incrementalRenderLarge=function(e,t){QG(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),KA(!1,this.group,null),this._data=null},t.type=MG,t}(Xb),WG=function(){function e(){}return e}(),GG=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`normalCandlestickBox`,n}return t.prototype.getDefaultShape=function(){return new WG},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}(ju);function KG(e,t,n,r){var i=e.ends;return new GG({shape:{points:r?JG(i,n,e):i},z2:100})}function qG(e,t,n,r){var i=t.getItemModel(n);e.useStyle(t.getItemVisual(n,`style`)),e.style.strokeNoScale=!0;var a=i.getShallow(`cursor`);a&&e.attr(`cursor`,a),e.__simpleBox=r,Tf(e,i);var o=t.getItemLayout(n).sign;F(e.states,function(e,t){var n=i.getModel(t),r=zG(o,n),a=BG(o,n)||r,s=e.style||(e.style={});r&&(s.fill=r),a&&(s.stroke=a)});var s=i.getModel(`emphasis`);xf(e,s.get(`focus`),s.get(`blurScope`),s.get(`disabled`))}function JG(e,t,n){return I(e,function(e){return e=e.slice(),e[t]=n.initBaseline,e})}function YG(e){return+(e.getWhiskerBoxesLayout()===`horizontal`)}var XG=function(){function e(){}return e}(),ZG=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n.type=`largeCandlestickBox`,n}return t.prototype.getDefaultShape=function(){return new XG},t.prototype.buildPath=function(e,t){for(var n=t.points,r=0;rh?x[a]:b[a],ends:w,brushRect:O(g,_,p)})}function E(e,n){var r=[];return r[i]=n,r[a]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function D(e,t,n){var a=t.slice(),o=t.slice();a[i]=Om(a[i]+r/2,1,!1),o[i]=Om(o[i]-r/2,1,!0),n?e.push(a,o):e.push(o,a)}function O(e,t,n){var o=E(e,n),s=E(t,n);return o[i]-=r/2,s[i]-=r/2,{x:o[0],y:o[1],width:a?r:s[0]-o[0],height:a?s[1]-o[1]:r}}function k(e){return e[i]=Om(e[i],1),e}}function m(n,r){for(var o=MA(n.count*4),c=0,p,m=[],h=[],g,_=r.getStore(),v=!!e.get([`itemStyle`,`borderColorDoji`]);(g=n.next())!=null;){var y=_.get(s,g),b=_.get(l,g),x=_.get(u,g),S=_.get(d,g),C=_.get(f,g);if(isNaN(y)||isNaN(S)||isNaN(C)){o[c++]=NaN,c+=3;continue}o[c++]=rK(_,g,b,x,u,v),m[i]=y,m[a]=S,p=t.dataToPoint(m,null,h),o[c++]=p?p[0]:NaN,o[c++]=p?p[1]:NaN,m[a]=C,p=t.dataToPoint(m,null,h),o[c++]=p?p[1]:NaN}r.setLayout(`largePoints`,o)}}};function rK(e,t,n,r,i,a){return n>r?-1:n0?e.get(i,t-1)<=r?1:-1:1}function iK(e,t){var n=ok(e.getBaseAxis(),{fromStat:{key:TM(MG)},min:1}).w,r=X(W(e.get(`barMaxWidth`),n),n),i=X(W(e.get(`barMinWidth`),1),n),a=e.get(`barWidth`);return a==null?Ao(ko(n/2,r),i):X(a,n)}function aK(e){tK(e,function(){var t=TM(MG);PD(e,{key:t,seriesType:MG,getMetrics:DM}),YD(t,wM(t))})}function oK(e){e.registerChartView(UG),e.registerSeriesModel(NG),e.registerPreprocessor(eK),e.registerVisual(VG),e.registerLayout(nK),aK(e)}function sK(e,t){var n=t.rippleEffectColor||t.color;e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType===`stroke`?n:null,fill:t.brushType===`fill`?n:null}})})}var cK=function(e){n(t,e);function t(t,n){var r=e.call(this)||this,i=new yA(t,n),a=new Y;return r.add(i),r.add(a),r.updateData(t,n),r}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,i=this.childAt(1),a=0;a0&&(a=this._getLineLength(r)/c*1e3),a!==this._period||o!==this._loop||s!==this._roundTrip){r.stopAnimation();var u=void 0;u=V(l)?l(n):l,r.__t>0&&(u=-a*r.__t),this._animateSymbol(r,a,u,o,s)}this._period=a,this._loop=o,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,i){if(t>0){e.__t=0;var a=this,o=e.animate(``,r).when(i?t*2:t,{__t:i?2:1}).delay(n).during(function(){a._updateSymbolPosition(e)});r||o.done(function(){a.remove(e)}),o.start()}},t.prototype._getLineLength=function(e){return nt(e.__p1,e.__cp1)+nt(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t<=1?e.__t:2-e.__t,a=[e.x,e.y],o=a.slice(),s=hr,c=gr;a[0]=s(t[0],r[0],n[0],i),a[1]=s(t[1],r[1],n[1],i);var l=e.__t<=1?c(t[0],r[0],n[0],i):c(n[0],r[0],t[0],1-i),u=e.__t<=1?c(t[1],r[1],n[1],i):c(n[1],r[1],t[1],1-i);e.rotation=-Math.atan2(u,l)-Math.PI/2,(this._symbolType===`line`||this._symbolType===`rect`||this._symbolType===`roundRect`)&&(e.__lastT!==void 0&&e.__lastT=0&&!(r[o]<=t);o--);o=Math.min(o,i-2)}else{for(o=a;ot);o++);o=Math.min(o-1,i-2)}var s=(t-r[o])/(r[o+1]-r[o]),c=n[o],l=n[o+1];e.x=c[0]*(1-s)+s*l[0],e.y=c[1]*(1-s)+s*l[1];var u=e.__t<=1?l[0]-c[0]:c[0]-l[0],d=e.__t<=1?l[1]-c[1]:c[1]-l[1];e.rotation=-Math.atan2(d,u)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(pK),gK=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),_K=function(e){n(t,e);function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.beforeBrush=function(e){e&&!e.contentRetained&&this.reset()},t.prototype.getDefaultStyle=function(){return{stroke:Q.color.neutral99,fill:null}},t.prototype.getDefaultShape=function(){return new gK},t.prototype.buildPath=function(e,t){var n=t.segs,r=t.curveness,i;if(t.polyline)for(i=this._off;i0){e.moveTo(n[i++],n[i++]);for(var o=1;o0){var d=(s+l)/2-(c-u)*r,f=(c+u)/2-(l-s)*r;e.quadraticCurveTo(d,f,l,u)}else e.lineTo(l,u)}this.incremental&&(this._off=i,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,i=n.curveness,a=this.style.lineWidth;if(n.polyline)for(var o=0,s=0;s0)for(var l=r[s++],u=r[s++],d=1;d0){if(lu(l,u,(l+f)/2-(u-p)*i,(u+p)/2-(f-l)*i,f,p,a,e,t))return o}else if(su(l,u,f,p,a,e,t))return o;o++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape.segs,n=1/0,r=1/0,i=-1/0,a=-1/0,o=0;o0&&(a.dataIndex=n+e.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),yK={seriesType:`lines`,plan:qb(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get(`polyline`),r=e.pipelineContext.large;return{progress:function(i,a){var o=[];if(r){var s=void 0,c=i.end-i.start;if(n){for(var l=0,u=i.start;u0&&c&&s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)}),i.updateData(r);var l=e.get(`clip`,!0)&&GA(e.coordinateSystem,!1,e);l?this.group.setClipPath(l):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateLineDraw(r,e).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData(),Cc(t)),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),i=this._lineDraw;if(!this._finished||!i||!i.updateLayout)return{update:!0};var a=yK.reset(e,t,n);a.progress&&a.progress({start:0,end:r.count(),count:r.count()},r),i.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get(`polyline`),a=t.pipelineContext.large;return(!n||r!==this._hasEffet||i!==this._isPolyline||a!==this._isLargeDraw)&&(n&&n.remove(),n=this._lineDraw=a?new vK:new JV(i?r?hK:mK:r?pK:qV),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=a),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get([`effect`,`show`])},t.prototype._clearLayer=function(e){var t=ah(e);t&&this._lastZlevel!=null&&t.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type=`lines`,t}(Xb),xK=typeof Uint32Array>`u`?Array:Uint32Array,SK=typeof Float64Array>`u`?Array:Float64Array;function CK(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=I(t,function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),ee([t,e[0],e[1]])}))}var wK=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath=`lineStyle`,n.visualDrawType=`stroke`,n}return t.prototype.init=function(t){t.data=t.data||[],CK(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(CK(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Me(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Me(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e);return t.option instanceof Array?t.option:t.getShallow(`coords`)},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[e*2+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[e*2],r=this._flatCoordsOffset[e*2+1],i=0;i `)}return gb(`nameValue`,{name:o,value:i,noValue:i==null||isNaN(i)})},t.prototype.preventIncremental=function(){return!!this.get([`effect`,`show`])},t.prototype.getProgressive=function(){return this.option.progressive??(this.option.large?1e4:this.get(`progressive`))},t.prototype.getProgressiveThreshold=function(){return this.option.progressiveThreshold??(this.option.large?2e4:this.get(`progressiveThreshold`))},t.prototype.getZLevelKey=function(){var e=this.getModel(`effect`),t=e.get(`trailLength`);return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get(`show`)&&t>0?t+``:``},t.type=`series.lines`,t.dependencies=[`grid`,`polar`,`geo`,`calendar`],t.defaultOption={coordinateSystem:`geo`,z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:[`none`,`none`],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:`circle`,symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:`end`},lineStyle:{opacity:.5}},t}(Lb);function TK(e){return e instanceof Array||(e=[e,e]),e}var EK={seriesType:`lines`,reset:function(e){var t=TK(e.get(`symbol`)),n=TK(e.get(`symbolSize`)),r=e.getData();r.setVisual(`fromSymbol`,t&&t[0]),r.setVisual(`toSymbol`,t&&t[1]),r.setVisual(`fromSymbolSize`,n&&n[0]),r.setVisual(`toSymbolSize`,n&&n[1]);function i(e,t){var n=e.getItemModel(t),r=TK(n.getShallow(`symbol`,!0)),i=TK(n.getShallow(`symbolSize`,!0));r[0]&&e.setItemVisual(t,`fromSymbol`,r[0]),r[1]&&e.setItemVisual(t,`toSymbol`,r[1]),i[0]&&e.setItemVisual(t,`fromSymbolSize`,i[0]),i[1]&&e.setItemVisual(t,`toSymbolSize`,i[1])}return{dataEach:r.hasItemOption?i:null}}};function DK(e){e.registerChartView(bK),e.registerSeriesModel(wK),e.registerLayout(yK),e.registerVisual(EK)}var OK=256,kK=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=f.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,i,a){var o=this._getBrush(),s=this._getGradient(i,`inRange`),c=this._getGradient(i,`outOfRange`),l=this.pointSize+this.blurSize,u=this.canvas,d=u.getContext(`2d`),f=e.length;u.width=t,u.height=n;for(var p=0;p0){var E=a(v)?s:c;v>0&&(v=v*w+C),b[x++]=E[T],b[x++]=E[T+1],b[x++]=E[T+2],b[x++]=E[T+3]*v*256}else x+=4}return d.putImageData(y,0,0),u},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=f.createCanvas()),t=this.pointSize+this.blurSize,n=t*2;e.width=n,e.height=n;var r=e.getContext(`2d`);return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor=Q.color.neutral99,r.beginPath(),r.arc(-t,t,this.pointSize,0,Math.PI*2,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],a=0,o=0;o<256;o++)e[t](o/255,!0,i),r[a++]=i[0],r[a++]=i[1],r[a++]=i[2],r[a++]=i[3];return r},e}();function AK(e,t,n){var r=e[1]-e[0];t=I(t,function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}});var i=t.length,a=0;return function(e){var r;for(r=a;r=0;r--){var o=t[r].interval;if(o[0]<=e&&e<=o[1]){a=r;break}}return r>=0&&r=t[0]&&e<=t[1]}}var MK=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){var r;t.eachComponent(`visualMap`,function(t){t.eachTargetSeries(function(n){n===e&&(r=t)})}),this._progressiveEls=null,this.group.removeAll();var i=e.coordinateSystem;i.type===`cartesian2d`||i.type===`calendar`||i.type===`matrix`?this._renderOnGridLike(e,n,0,e.getData().count()):YA(i)&&this._renderOnGeo(i,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var i=t.coordinateSystem;i&&(YA(i)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnGridLike(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){qm(this._progressiveEls||this.group,e)},t.prototype._renderOnGridLike=function(e,t,n,r,i){var a=e.coordinateSystem,o=JA(a,`cartesian2d`),s=JA(a,`matrix`),c,l,u,d;if(o){var f=a.getAxis(`x`),p=a.getAxis(`y`);c=ok(f).w+.5,l=ok(p).w+.5,u=f.scale.getExtent(),d=p.scale.getExtent()}for(var m=this.group,h=e.getData(),g=e.getModel([`emphasis`,`itemStyle`]).getItemStyle(),_=e.getModel([`blur`,`itemStyle`]).getItemStyle(),v=e.getModel([`select`,`itemStyle`]).getItemStyle(),y=e.get([`itemStyle`,`borderRadius`]),b=uh(e),x=e.getModel(`emphasis`),S=x.get(`focus`),C=x.get(`blurScope`),w=x.get(`disabled`),T=o||s?[h.mapDimension(`x`),h.mapDimension(`y`),h.mapDimension(`value`)]:[h.mapDimension(`time`),h.mapDimension(`value`)],E=n;Eu[1]||Ad[1])continue;var j=a.dataToPoint([k,A]);D=new Gu({shape:{x:j[0]-c/2,y:j[1]-l/2,width:c,height:l},style:O})}else if(s){var ee=a.dataToLayout([h.get(T[0],E),h.get(T[1],E)]).rect;if(ve(ee.x))continue;D=new Gu({z2:1,shape:ee,style:O})}else{if(isNaN(h.get(T[1],E)))continue;var M=a.dataToLayout([h.get(T[0],E)]),ee=M.contentRect||M.rect;if(ve(ee.x)||ve(ee.y))continue;D=new Gu({z2:1,shape:ee,style:O})}if(h.hasItemOption){var te=h.getItemModel(E),N=te.getModel(`emphasis`);g=N.getModel(`itemStyle`).getItemStyle(),_=te.getModel([`blur`,`itemStyle`]).getItemStyle(),v=te.getModel([`select`,`itemStyle`]).getItemStyle(),y=te.get([`itemStyle`,`borderRadius`]),S=N.get(`focus`),C=N.get(`blurScope`),w=N.get(`disabled`),b=uh(te)}D.shape.r=y;var ne=e.getRawValue(E),P=`-`;ne&&ne[2]!=null&&(P=ne[2]+``),lh(D,b,{labelFetcher:e,labelDataIndex:E,defaultOpacity:O.opacity,defaultText:P}),D.ensureState(`emphasis`).style=g,D.ensureState(`blur`).style=_,D.ensureState(`select`).style=v,xf(D,S,C,w),D.incremental=Cc(e,i),i&&(D.states.emphasis.hoverLayer=2),m.add(D),h.setItemGraphicEl(E,D),this._progressiveEls&&this._progressiveEls.push(D)}},t.prototype._renderOnGeo=function(e,t,n,r){var i=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,o=t.getData(),s=this._hmLayer||this._hmLayer||new kK;s.blurSize=t.get(`blurSize`),s.pointSize=t.get(`pointSize`),s.minOpacity=t.get(`minOpacity`),s.maxOpacity=t.get(`maxOpacity`);var c=e.getViewRect().clone(),l=e.getRoamTransform();c.applyTransform(l);var u=Math.max(c.x,0),d=Math.max(c.y,0),f=Math.min(c.width+c.x,r.getWidth()),p=Math.min(c.height+c.y,r.getHeight()),m=f-u,h=p-d,g=[o.mapDimension(`lng`),o.mapDimension(`lat`),o.mapDimension(`value`)],_=o.mapArray(g,function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=u,i[1]-=d,i.push(r),i}),v=n.getExtent(),y=n.type===`visualMap.continuous`?jK(v,n.option.range):AK(v,n.getPieceList(),n.option.selected);s.update(_,m,h,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:a.color.getColorMapper()},y);var b=new Lu({style:{width:m,height:h,x:u,y:d,image:s.canvas},silent:!0});this.group.add(b)},t.type=`heatmap`,t}(Xb),NK=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(e,t){return YT(null,this,{generateCoord:`value`})},t.prototype.preventIncremental=function(){var e=n_.get(this.get(`coordinateSystem`));if(e&&e.dimensions)return e.dimensions[0]===`lng`&&e.dimensions[1]===`lat`},t.type=`series.heatmap`,t.dependencies=[`grid`,`geo`,`calendar`,`matrix`],t.defaultOption={coordinateSystem:`cartesian2d`,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:Q.color.primary}}},t}(Lb);function PK(e){e.registerChartView(MK),e.registerSeriesModel(NK)}var FK=[`itemStyle`,`borderWidth`],IK=[{xy:`x`,wh:`width`,index:0,posDesc:[`left`,`right`]},{xy:`y`,wh:`height`,index:1,posDesc:[`top`,`bottom`]}],LK=new rp,RK=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=OM,t}return t.prototype.render=function(e,t,n){var r=this.group,i=e.getData(),a=this._data,o=e.coordinateSystem,s=o.getBaseAxis().isHorizontal(),c=o.master.getRect(),l={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:o,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:s,valueDim:IK[+s],categoryDim:IK[1-s]};i.diff(a).add(function(e){if(i.hasValue(e)){var t=zK(i,e,XK(i,e),l),n=$K(i,l,t);i.setItemGraphicEl(e,n),r.add(n),aq(n,l,t)}}).update(function(e,t){var n=a.getItemGraphicEl(t);if(!i.hasValue(e)){r.remove(n);return}var o=zK(i,e,XK(i,e),l),s=nq(i,o);n&&s!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?eq(n,l,o):n=$K(i,l,o,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=o,r.add(n),aq(n,l,o)}).remove(function(e){var t=a.getItemGraphicEl(e);t&&tq(a,e,t.__pictorialSymbolMeta.animationModel,t)}).execute();var u=e.get(`clip`,!0)?GA(e.coordinateSystem,!1,e):null;return u?r.setClipPath(u):r.removeClipPath(),this._data=i,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get(`animation`)?r&&r.eachItemGraphicEl(function(t){tq(r,Z(t).dataIndex,e,t)}):n.removeAll()},t.type=OM,t}(Xb);function zK(e,t,n,r){var i=e.getItemLayout(t),a=n.get(`symbolRepeat`),o=n.get(`symbolClip`),s=n.get(`symbolPosition`)||`start`,c=(n.get(`symbolRotate`)||0)*Math.PI/180||0,l=n.get(`symbolPatternSize`)||2,u=n.isAnimationEnabled(),d={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,`symbol`)||`circle`,style:e.getItemVisual(t,`style`),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:n.get(`symbolRepeatDirection`),symbolPatternSize:l,rotation:c,animationModel:u?n:null,hoverScale:u&&n.get([`emphasis`,`scale`]),z2:n.getShallow(`z`,!0)||0};BK(n,a,i,r,d),HK(e,t,i,a,o,d.boundingLength,d.pxSign,l,r,d),UK(n,d.symbolScale,c,r,d);var f=d.symbolSize;return WK(n,f,i,a,o,bS(n.get(`symbolOffset`),f),s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function BK(e,t,n,r,i){var a=r.valueDim,o=e.get(`symbolBoundingData`),s=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=s.toGlobalCoord(s.dataToCoord(0)),l=1-(n[a.wh]<=0),u;if(B(o)){var d=[VK(s,o[0])-c,VK(s,o[1])-c];d[1]=0?1:-1:u>0?1:-1}function VK(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function HK(e,t,n,r,i,a,o,s,c,l){var u=c.valueDim,d=c.categoryDim,f=Math.abs(n[d.wh]),p=e.getItemVisual(t,`symbolSize`),m=B(p)?p.slice():p==null?[`100%`,`100%`]:[p,p];m[d.index]=X(m[d.index],f),m[u.index]=X(m[u.index],r?f:Math.abs(a)),l.symbolSize=m;var h=l.symbolScale=[m[0]/s,m[1]/s];h[u.index]*=(c.isHorizontal?-1:1)*o}function UK(e,t,n,r,i){var a=e.get(FK)||0;a&&(LK.attr({scaleX:t[0],scaleY:t[1],rotation:n}),LK.updateTransform(),a/=LK.getLineScale(),a*=t[r.valueDim.index]),i.valueLineWidth=a||0}function WK(e,t,n,r,i,a,o,s,c,l,u,d){var f=u.categoryDim,p=u.valueDim,m=d.pxSign,h=Math.max(t[p.index]+s,0),g=h;if(r){var _=Math.abs(c),v=ye(e.get(`symbolMargin`),`15%`)+``,y=!1;v.lastIndexOf(`!`)===v.length-1&&(y=!0,v=v.slice(0,v.length-1));var b=X(v,t[p.index]),x=Math.max(h+b*2,0),S=y?0:b*2,C=fs(r),w=C?r:oq((_+S)/x);b=(_-w*h)/2/(y?w:Math.max(w-1,1)),x=h+b*2,S=y?0:b*2,!C&&r!==`fixed`&&(w=l?oq((Math.abs(l)+S)/x):0),g=w*x-S,d.repeatTimes=w,d.symbolMargin=b}var T=g/2*m,E=d.pathPosition=[];E[f.index]=n[f.wh]/2,E[p.index]=o===`start`?T:o===`end`?c-T:c/2,a&&(E[0]+=a[0],E[1]+=a[1]);var D=d.bundlePosition=[];D[f.index]=n[f.xy],D[p.index]=n[p.xy];var O=d.barRectShape=M({},n);O[p.wh]=m*Math.max(Math.abs(n[p.wh]),Math.abs(E[p.index]+T)),O[f.wh]=n[f.wh];var k=d.clipShape={};k[f.xy]=-n[f.xy],k[f.wh]=u.ecSize[f.wh],k[p.xy]=0,k[p.wh]=n[p.wh]}function GK(e){var t=e.symbolPatternSize,n=vS(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),n.type!==`image`&&n.setStyle({strokeNoScale:!0}),n}function KK(e,t,n,r){var i=e.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,c=t.valueDim,l=n.repeatTimes||0,u=0,d=a[t.valueDim.index]+o+n.symbolMargin*2;for(rq(e,function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=l,u0:r<0)&&(i=l-1-e),t[c.index]=d*(i-l/2+.5)+s[c.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function qK(e,t,n,r){var i=e.__pictorialBundle,a=e.__pictorialMainPath;a?iq(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(a=e.__pictorialMainPath=GK(n),i.add(a),iq(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function JK(e,t,n){var r=M({},t.barRectShape),i=e.__pictorialBarRect;i?iq(i,null,{shape:r},t,n):(i=e.__pictorialBarRect=new Gu({z2:2,shape:r,silent:!0,style:{stroke:`transparent`,fill:`transparent`,lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function YK(e,t,n,r){if(n.symbolClip){var i=e.__pictorialClipPath,a=M({},n.clipShape),o=t.valueDim,s=n.animationModel,c=n.dataIndex;if(i)im(i,{shape:a},s,c);else{a[o.wh]=0,i=new Gu({shape:a}),e.__pictorialBundle.setClipPath(i),e.__pictorialClipPath=i;var l={};l[o.wh]=n.clipShape[o.wh],fm[r?`updateProps`:`initProps`](i,{shape:l},s,c)}}}function XK(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=ZK,n.isAnimationEnabled=QK,n}function ZK(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function QK(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow(`animation`)}function $K(e,t,n,r){var i=new Y,a=new Y;return i.add(a),i.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?KK(i,t,n):qK(i,t,n),JK(i,n,r),YK(i,t,n,r),i.__pictorialShapeStr=nq(e,n),i.__pictorialSymbolMeta=n,i}function eq(e,t,n){var r=n.animationModel,i=n.dataIndex,a=e.__pictorialBundle;im(a,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?KK(e,t,n,!0):qK(e,t,n,!0),JK(e,n,!0),YK(e,t,n,!0)}function tq(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var a=[];rq(r,function(e){a.push(e)}),r.__pictorialMainPath&&a.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),F(a,function(e){sm(e,{scaleX:0,scaleY:0},n,t,function(){r.parent&&r.parent.remove(r)})}),e.setItemGraphicEl(t,null)}function nq(e,t){return[e.getItemVisual(t.dataIndex,`symbol`)||`none`,!!t.symbolRepeat,!!t.symbolClip].join(`:`)}function rq(e,t,n){F(e.__pictorialBundle.children(),function(r){r!==e.__pictorialBarRect&&t.call(n,r)})}function iq(e,t,n,r,i,a){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&fm[i?`updateProps`:`initProps`](e,n,r.animationModel,r.dataIndex,a)}function aq(e,t,n){var r=n.dataIndex,i=n.itemModel,a=i.getModel(`emphasis`),o=a.getModel(`itemStyle`).getItemStyle(),s=i.getModel([`blur`,`itemStyle`]).getItemStyle(),c=i.getModel([`select`,`itemStyle`]).getItemStyle(),l=i.getShallow(`cursor`),u=a.get(`focus`),d=a.get(`blurScope`),f=a.get(`scale`);rq(e,function(e){if(e instanceof Lu){var t=e.style;e.useStyle(M({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState(`emphasis`);r.style=o,f&&(r.scaleX=e.scaleX*1.1,r.scaleY=e.scaleY*1.1),e.ensureState(`blur`).style=s,e.ensureState(`select`).style=c,l&&(e.cursor=l),e.z2=n.z2});var p=t.valueDim.posDesc[+(n.boundingLength>0)],m=e.__pictorialBarRect;m.ignoreClip=!0,lh(m,uh(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:_A(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),xf(e,u,d,a.get(`disabled`))}function oq(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var sq=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol=`roundRect`,n}return t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type=`series.`+OM,t.dependencies=[`grid`],t.defaultOption=zh(qM.defaultOption,{symbol:`circle`,symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:`end`,symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:`-100%`,clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:Q.color.primary}}}),t}(qM);function cq(e){e.registerChartView(RK),e.registerSeriesModel(sq),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,HM(OM)),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,UM(OM)),KM(e)}var lq=2,uq=`themeRiver`,dq=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new AN(R(this.getData,this),R(this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},r=ac(e,function(e){return n.hasOwnProperty(e[0]+``)||(n[e[0]+``]=-1),e[2]}),i=[];r.buckets.each(function(e,t){i.push({name:t,dataList:e})});for(var a=i.length,o=0;oa&&(a=s),r.push(s)}for(var l=0;la&&(a=d)}return{y0:i,max:a}}function vq(e){e.registerChartView(fq),e.registerSeriesModel(dq),e.registerLayout(mq),e.registerProcessor(ON(uq))}var yq=2,bq=4,xq=function(e){n(t,e);function t(t,n,r,i){var a=e.call(this)||this;a.z2=yq,a.textConfig={inside:!0},Z(a).seriesIndex=n.seriesIndex;var o=new Xu({z2:bq,silent:t.getModel().get([`label`,`silent`])});return a.setTextContent(o),a.updateData(!0,t,n,r,i),a}return t.prototype.updateData=function(e,t,n,r,i){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var a=this;Z(a).dataIndex=t.dataIndex;var o=t.getModel(),s=o.getModel(`emphasis`),c=t.getLayout(),l=M({},c);l.label=null;var u=t.getVisual(`style`);u.lineJoin=`bevel`;var d=t.getVisual(`decal`);d&&(u.decal=sC(d,i)),M(l,tN(o.getModel(`itemStyle`),l,!0)),F(Od,function(e){var t=a.ensureState(e),n=o.getModel([e,`itemStyle`]);t.style=n.getItemStyle();var r=tN(n,l);r&&(t.shape=r)}),e?(a.setShape(l),a.shape.r=c.r0,am(a,{shape:{r:c.r}},n,t.dataIndex)):(im(a,{shape:l},n),um(a)),a.useStyle(u),this._updateLabel(n);var f=o.getShallow(`cursor`);f&&a.attr(`cursor`,f),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var p=s.get(`focus`),m=p===`relative`?Me(t.getAncestorsIndices(),t.getDescendantIndices()):p===`ancestor`?t.getAncestorsIndices():p===`descendant`?t.getDescendantIndices():p;xf(this,m,s.get(`blurScope`),s.get(`disabled`))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),r=n.getModel(`label`),i=this.node.getLayout(),a=i.endAngle-i.startAngle,o=(i.startAngle+i.endAngle)/2,s=Math.cos(o),c=Math.sin(o),l=this,u=l.getTextContent(),d=this.node.dataIndex,f=r.get(`minAngle`)/180*Math.PI;u.ignore=!(r.get(`show`)&&!(f!=null&&Math.abs(a)T&&!rs(D-T)&&D0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,e,t,n):(i.virtualPiece=new xq(r,e,t,n),c.add(i.virtualPiece)),a.piece.off(`click`),i.virtualPiece.on(`click`,function(e){i._rootToNode(a.parentNode)})):i.virtualPiece&&(c.remove(i.virtualPiece),i.virtualPiece=null)}},t.prototype._initEvents=function(){var e=this;this.group.off(`click`),this.group.on(`click`,function(t){var n=!1;e.seriesModel.getViewRoot().eachNode(function(r){if(!n&&r.piece&&r.piece===t.target){var i=r.getModel().get(`nodeClick`);if(i===`rootToNode`)e._rootToNode(r);else if(i===`link`){var a=r.getModel(),o=a.get(`link`);o&&$g(o,a.get(`target`,!0)||`_blank`)}n=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Tq,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,i=e[1]-n.cy,a=Math.sqrt(r*r+i*i);return a<=n.r&&a>=n.r0}},t.type=Sq,t}(Xb),Aq=Tc(Sq,jq);function jq(e){var t={};function n(e,n,r){if(e.depth===0)return Q.color.neutral50;for(var i=e;i&&i.depth>1;)i=i.parentNode;var a=n.getColorFromPalette(i.name||i.dataIndex+``,t);return e.depth>1&&H(a)&&(a=Gr(a,(e.depth-1)/(r-1)*.5)),a}e.eachSeriesByType(Sq,function(e){var t=e.getData(),r=t.tree;r.eachNode(function(i){var a=i.getModel().getModel(`itemStyle`).getItemStyle();a.fill||(a.fill=n(i,e,r.root.height)),M(t.ensureUniqueItemVisual(i.dataIndex,`style`),a)})})}var Mq=Math.PI/180,Nq=Tc(Sq,Pq);function Pq(e,t){e.eachSeriesByType(Sq,function(e){var n=e.get(`center`),r=e.get(`radius`);B(r)||(r=[0,r]),B(n)||(n=[n,n]);var i=t.getWidth(),a=t.getHeight(),o=Math.min(i,a),s=X(n[0],i),c=X(n[1],a),l=X(r[0],o/2),u=X(r[1],o/2),d=-e.get(`startAngle`)*Mq,f=e.get(`minAngle`)*Mq,p=e.getData().tree.root,m=e.getViewRoot(),h=m.depth,g=e.get(`sort`);g!=null&&Fq(m,g);var _=0;F(m.children,function(e){!isNaN(e.getValue())&&_++});var v=m.getValue(),y=Math.PI/(v||_)*2,b=m.depth>0,x=m.height-(b?-1:1),S=(u-l)/(x||1),C=e.get(`clockwise`),w=e.get(`stillShowZeroSum`),T=C?1:-1,E=function(t,n){if(t){var r=n;if(t!==p){var i=t.getValue(),a=v===0&&w?y:i*y;ar[1]&&r.reverse(),{coordSys:{type:`polar`,cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=t.dataToRadius(r[0]),a=n.dataToAngle(r[1]),o=e.coordToPoint([i,a]);return o.push(i,a*Math.PI/180),o},size:R(Jq,e)}}}function Xq(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:`calendar`,x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)},layout:function(t,n){return e.dataToLayout(t,n)}}}}function Zq(e){var t=e.getRect();return{coordSys:{type:`matrix`,x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t,n){return e.dataToPoint(t,n)},layout:function(t,n){return e.dataToLayout(t,n)}}}}var Qq={position:[`x`,`y`],scale:[`scaleX`,`scaleY`],origin:[`originX`,`originY`]},$q=L(Qq);oe(ja,function(e,t){return e[t]=1,e},{}),ja.join(`, `);var eJ=[``,`style`,`shape`,`extra`],tJ=Js();function nJ(e,t,n,r,i){var a=e+`Animation`,o=nm(e,r,i)||{},s=tJ(t).userDuring;return o.duration>0&&(o.during=s?R(fJ,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=e),M(o,n[a]),o}function rJ(e,t,n,r){r=r||{};var i=r.dataIndex,a=r.isInit,o=r.clearStyle,s=n.isAnimationEnabled(),c=tJ(e),l=t.style;c.userDuring=t.during;var u={},d={};if(gJ(e,t,d),e.type===`compound`)for(var f=e.shape.paths,p=t.shape.paths,m=0;m0&&e.animateFrom(g,_)}else cJ(e,t,i||0,n,u);iJ(e,t),l?e.dirty():e.markRedraw()}function iJ(e,t){for(var n=tJ(e).leaveToProps,r=0;r0&&e.animateFrom(i,a)}}function lJ(e,t){K(t,`silent`)&&(e.silent=t.silent),K(t,`ignore`)&&(e.ignore=t.ignore),e instanceof Cl&&K(t,`invisible`)&&(e.invisible=t.invisible),e instanceof ju&&K(t,`autoBatch`)&&(e.autoBatch=t.autoBatch)}var uJ={},dJ={setTransform:function(e,t){return uJ.el[e]=t,this},getTransform:function(e){return uJ.el[e]},setShape:function(e,t){var n=uJ.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=uJ.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=uJ.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=uJ.el.style;if(t)return t[e]},setExtra:function(e,t){var n=uJ.el.extra||(uJ.el.extra={});return n[e]=t,this},getExtra:function(e){var t=uJ.el.extra;if(t)return t[e]}};function fJ(){var e=this,t=e.el;if(t){var n=tJ(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}uJ.el=t,r(dJ)}}function pJ(e,t,n,r){var i=n[e];if(i){var a=t[e],o;if(a){var s=n.transition,c=i.transition;if(c)if(!o&&(o=r[e]={}),oJ(c))M(o,a);else for(var l=Es(c),u=0;u=0){!o&&(o=r[e]={});for(var p=L(a),u=0;u=0)){var f=e.getAnimationStyleProps(),p=f?f.style:null;if(p){!a&&(a=r.style={});for(var m=L(n),l=0;l=0?t.getStore().get(i,n):void 0}var a=t.get(r.name,n),o=r&&r.ordinalMeta;return o?o.categories[a]:a}function C(n,r){r??(r=u);var i=t.getItemVisual(r,`style`),a=i&&i.fill,o=i&&i.opacity,s=y(r,wJ).getItemStyle();a!=null&&(s.fill=a),o!=null&&(s.opacity=o);var c={inheritColor:H(a)?a:Q.color.neutral99},l=b(r,wJ),d=dh(l,null,c,!1,!0);d.text=l.getShallow(`show`)?W(e.getFormattedLabel(r,wJ),_A(t,r)):null;var f=fh(l,c,!1);return E(n,s),s=$A(s,d,f),n&&T(s,n),s.legacy=!0,s}function w(n,r){r??(r=u);var i=y(r,CJ).getItemStyle(),a=b(r,CJ),o=dh(a,null,null,!0,!0);o.text=a.getShallow(`show`)?be(e.getFormattedLabel(r,CJ),e.getFormattedLabel(r,wJ),_A(t,r)):null;var s=fh(a,null,!0);return E(n,i),i=$A(i,o,s),n&&T(i,n),i.legacy=!0,i}function T(e,t){for(var n in t)K(t,n)&&(e[n]=t[n])}function E(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}function D(e,n){if(n??(n=u),K(Rq,e)){var r=t.getItemVisual(n,`style`);return r?r[Rq[e]]:null}if(K(zq,e))return t.getItemVisual(n,e)}function O(e){if(o.type===`cartesian2d`)return RM(N({axis:o.getBaseAxis()},e))}function k(){return n.getCurrentSeriesIndices()}function A(e){return yh(e,n)}}function WJ(e){var t={};return F(e.dimensions,function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,a=t[i]=t[i]||[];a[r.coordDimIndex]=e.getDimensionIndex(n)}}),t}function GJ(e,t,n,r,i,a,o){if(!r){a.remove(t);return}var s=KJ(e,t,n,r,i,a);return s&&o.setItemGraphicEl(n,s),s&&xf(s,r.focus,r.blurScope,r.emphasisDisabled),s}function KJ(e,t,n,r,i,a){var o=-1,s=t;t&&qJ(t,r,i)&&(o=P(a.childrenRef(),t),t=null);var c=!t,l=t;l?l.clearStates():(l=RJ(r),s&&IJ(s,l)),r.morph===!1?l.disableMorphing=!0:l.disableMorphing&&(l.disableMorphing=!1),r.tooltipDisabled&&(l.tooltipDisabled=!0),MJ.normal.cfg=MJ.normal.conOpt=MJ.emphasis.cfg=MJ.emphasis.conOpt=MJ.blur.cfg=MJ.blur.conOpt=MJ.select.cfg=MJ.select.conOpt=null,MJ.isLegacy=!1,YJ(l,n,r,i,c,MJ),JJ(l,n,r,i,c),zJ(e,l,n,r,MJ,i,c),K(r,`info`)&&(Bq(l).info=r.info);for(var u=0;u=0?a.replaceAt(l,o):a.add(l),l}function qJ(e,t,n){var r=Bq(e),i=t.type,a=t.shape,o=t.style;return n.isUniversalTransitionEnabled()||i!=null&&i!==r.customGraphicType||i===`path`&&oY(a)&&aY(a)!==r.customPathData||i===`image`&&K(o,`image`)&&o.image!==r.customImagePath}function JJ(e,t,n,r,i){var a=n.clipPath;if(a===!1)e&&e.getClipPath()&&e.removeClipPath();else if(a){var o=e.getClipPath();o&&qJ(o,a,r)&&(o=null),o||(o=RJ(a),e.setClipPath(o)),zJ(null,o,t,a,null,r,i)}}function YJ(e,t,n,r,i,a){if(!(e.isGroup||e.type===`compoundPath`)){XJ(n,null,a),XJ(n,CJ,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,c=a.blur.conOpt,l=a.select.conOpt;if(o!=null||s!=null||l!=null||c!=null){var u=e.getTextContent();if(o===!1)u&&e.removeTextContent();else{o=a.normal.conOpt=o||{type:`text`},u?u.clearStates():(u=RJ(o),e.setTextContent(u)),zJ(null,u,t,o,null,r,i);for(var d=o&&o.style,f=0;f=u;p--)eY(t,t.childAt(p),i)}}function eY(e,t,n){t&&aJ(t,Bq(e).option,n)}function tY(e){new oT(e.oldChildren,e.newChildren,nY,nY,e).add(rY).update(rY).remove(iY).execute()}function nY(e,t){return(e&&e.name)??jJ+t}function rY(e,t){var n=this.context,r=e==null?null:n.newChildren[e],i=t==null?null:n.oldChildren[t];KJ(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function iY(e){var t=this.context,n=t.oldChildren[e];n&&aJ(n,Bq(n).option,t.seriesModel)}function aY(e){return e&&(e.pathData||e.d)}function oY(e){return e&&(K(e,`pathData`)||K(e,`d`))}function sY(e){e.registerChartView(LJ),e.registerSeriesModel(Vq)}var cY=Js(),lY=A,uY=R,dY=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var i=t.get(`value`),a=t.get(`status`);if(this._axisModel=e,this._axisPointerModel=t,this._api=n,!(!r&&this._lastValue===i&&this._lastStatus===a)){this._lastValue=i,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||a===`hide`){o&&o.hide(),s&&s.hide();return}o&&o.show(),s&&s.show();var c={};this.makeElOption(c,i,e,t,n);var l=c.graphicKey;l!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=l;var u=this._moveAnimation=this.determineAnimation(e,t);if(!o)o=this._group=new Y,this.createPointerEl(o,c,e,t),this.createLabelEl(o,c,e,t),n.getZr().add(o);else{var d=z(fY,t,u);this.updatePointerEl(o,c,d),this.updateLabelEl(o,c,d,t)}gY(o,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get(`animation`),r=e.axis,i=r.type===`category`,a=t.get(`snap`);if(!a&&!i)return!1;if(n===`auto`||n==null){var o=this.animationThreshold;if(i&&ok(r).w>o)return!0;if(a){var s=BP(e).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/s>o}return!1}return n===!0},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;if(i){var a=cY(e).pointerEl=new fm[i.type](lY(t.pointer));e.add(a)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=cY(e).labelEl=new Xu(lY(t.label));e.add(i),mY(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=cY(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=cY(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),mY(i,r))},e.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,n=this._api.getZr(),r=this._handle,i=t.getModel(`handle`),a=t.get(`status`);if(!i.get(`show`)||!a||a===`hide`){r&&n.remove(r),this._handle=null;return}var o;this._handle||(o=!0,r=this._handle=Lm(i.get(`icon`),{cursor:`move`,draggable:!0,onmousemove:function(e){Lt(e.event)},onmousedown:uY(this._onHandleDragMove,this,0,0),drift:uY(this._onHandleDragMove,this),ondragend:uY(this._onHandleDragEnd,this)}),n.add(r)),gY(r,t,!1),r.setStyle(i.getItemStyle(null,[`color`,`borderColor`,`borderWidth`,`opacity`,`shadowColor`,`shadowBlur`,`shadowOffsetX`,`shadowOffsetY`]));var s=i.get(`size`);B(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,ox(this,`_doDispatchAxisPointer`,i.get(`throttle`)||0,`fixRate`),this._moveHandleToValue(e,o)}},e.prototype._moveHandleToValue=function(e,t){fY(this._axisPointerModel,!t&&this._moveAnimation,this._handle,hY(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(hY(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(hY(r)),cY(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:`updateAxisPointer`,x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get(`value`);this._moveHandleToValue(e),this._api.dispatchAction({type:`hideTip`})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),sx(this,`_doDispatchAxisPointer`)},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},e}();function fY(e,t,n,r){pY(cY(n).lastProp,r)||(cY(n).lastProp=r,t?im(n,r,e):(n.stopAnimation(),n.attr(r)))}function pY(e,t){if(U(e)&&U(t)){var n=!0;return F(t,function(t,r){n=n&&pY(e[r],t)}),!!n}else return e===t}function mY(e,t){e[t.get([`label`,`show`])?`show`:`hide`]()}function hY(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function gY(e,t,n){var r=t.get(`z`),i=t.get(`zlevel`);e&&e.traverse(function(e){e.type!==`group`&&(r!=null&&(e.z=r),i!=null&&(e.zlevel=i),e.silent=n)})}function _Y(e){var t=e.get(`type`),n=e.getModel(t+`Style`),r;return t===`line`?(r=n.getLineStyle(),r.fill=null):t===`shadow`&&(r=n.getAreaStyle(),r.stroke=null),r}function vY(e,t,n,r,i){var a=bY(n.get(`value`),t.axis,t.ecModel,n.get(`seriesDataIndices`),{precision:n.get([`label`,`precision`]),formatter:n.get([`label`,`formatter`])}),o=n.getModel(`label`),s=Ug(o.get(`padding`)||0),c=o.getFont(),l=Va(a,c),u=i.position,d=l.width+s[1]+s[3],f=l.height+s[0]+s[2],p=i.align;p===`right`&&(u[0]-=d),p===`center`&&(u[0]-=d/2);var m=i.verticalAlign;m===`bottom`&&(u[1]-=f),m===`middle`&&(u[1]-=f/2),yY(u,d,f,r);var h=o.get(`backgroundColor`);(!h||h===`auto`)&&(h=t.get([`axisLine`,`lineStyle`,`color`])),e.label={x:u[0],y:u[1],style:dh(o,{text:a,font:c,fill:o.getTextColor(),padding:s,backgroundColor:h}),z2:10}}function yY(e,t,n,r){var i=r.getWidth(),a=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,a)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function bY(e,t,n,r,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:rD(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};F(r,function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&s.seriesData.push(i)}),H(o)?a=o.replace(`{value}`,a):V(o)&&(a=o(s))}return a}function xY(e,t,n){var r=Wt();return Yt(r,r,n.rotation),Jt(r,r,n.position),Am([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function SY(e,t,n,r,i,a){var o=Jj.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get([`label`,`margin`]),vY(t,r,i,a,{position:xY(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function CY(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function wY(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function TY(e,t,n,r,i,a){return{cx:e,cy:t,r0:n,r,startAngle:i,endAngle:a,clockwise:!0}}function EY(e,t,n){return ok(e,{fromStat:{sers:I(t,function(e){return n.getSeriesByIndex(e.seriesIndex)})},min:1}).w}function DY(e,t,n){return[Ao(ko(t[0],t[1]),e-n/2),ko(e+n/2,Ao(t[0],t[1]))]}var OY=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,t,n,r,i){var a=n.axis,o=a.grid,s=r.get(`type`),c=a.getGlobalExtent(),l=kY(o,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(t,!0));if(s&&s!==`none`){var d=_Y(r),f=AY[s](a,u,c,l,r.get(`seriesDataIndices`),r.ecModel);f.style=d,e.graphicKey=f.type,e.pointer=f}SY(t,e,hM(o.getRect(),n),n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=hM(t.axis.grid.getRect(),t,{labelInside:!1});r.labelMargin=n.get([`handle`,`margin`]);var i=xY(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,a=i.grid,o=i.getGlobalExtent(!0),s=kY(a,i).getOtherAxis(i).getGlobalExtent(),c=i.dim===`x`?0:1,l=[e.x,e.y];l[c]+=t[c],l[c]=ko(o[1],l[c]),l[c]=Ao(o[0],l[c]);var u=(s[1]+s[0])/2,d=[u,u];return d[c]=l[c],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:`middle`},{align:`center`}][c]}},t}(dY);function kY(e,t){var n={};return n[t.dim+`AxisIndex`]=t.index,e.getCartesian(n)}var AY={line:function(e,t,n,r){return{type:`Line`,subPixelOptimize:!0,shape:CY([t,r[0]],[t,r[1]],jY(e))}},shadow:function(e,t,n,r,i,a){var o=EY(e,i,a),s=r[1]-r[0],c=DY(t,n,o),l=c[0],u=c[1];return{type:`Rect`,shape:wY([l,r[0]],[u-l,s],jY(e))}}};function jY(e){return e.dim===`x`?0:1}var MY=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`axisPointer`,t.defaultOption={show:`auto`,z:50,type:`line`,snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:Q.color.border,width:1,type:`dashed`},shadowStyle:{color:Q.color.shadowTint},label:{show:!0,formatter:null,precision:`auto`,margin:3,color:Q.color.neutral00,padding:[5,7,5,7],backgroundColor:Q.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:`M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z`,size:45,margin:50,color:Q.color.accent40,throttle:40}},t}(k_),NY=Js(),PY=F;function FY(e,t,n){if(!i.node){var r=t.getZr();NY(r).records||(NY(r).records={}),IY(r,t);var a=NY(r).records[e]||(NY(r).records[e]={});a.handler=n}}function IY(e,t){if(NY(e).initialized)return;NY(e).initialized=!0,n(`click`,z(zY,`click`)),n(`mousemove`,z(zY,`mousemove`)),n(`mousewheel`,z(zY,`mousewheel`)),n(`globalout`,RY);function n(n,r){e.on(n,function(n){var i=BY(t);PY(NY(e).records,function(e){e&&r(e,n,i.dispatchAction)}),LY(i.pendings,t)})}}function LY(e,t){var n=e.showTip.length,r=e.hideTip.length,i;n?i=e.showTip[n-1]:r&&(i=e.hideTip[r-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function RY(e,t,n){e.handler(`leave`,null,n)}function zY(e,t,n,r){t.handler(e,n,r)}function BY(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function VY(e,t){if(!i.node){var n=t.getZr();(NY(n).records||{})[e]&&(NY(n).records[e]=null)}}var HY=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){var r=t.getComponent(`tooltip`),i=e.get(`triggerOn`)||r&&r.get(`triggerOn`)||`mousemove|click|mousewheel`;FY(`axisPointer`,n,function(e,t,n){i!==`none`&&(e===`leave`||i.indexOf(e)>=0)&&n({type:`updateAxisPointer`,currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},t.prototype.remove=function(e,t){VY(`axisPointer`,t)},t.prototype.dispose=function(e,t){VY(`axisPointer`,t)},t.type=`axisPointer`,t}(Kb);function UY(e,t){var n=[],r=e.seriesIndex,i;if(r==null||!(i=t.getSeriesByIndex(r)))return{point:[]};var a=i.getData(),o=qs(a,e);if(o==null||o<0||B(o))return{point:[]};var s=a.getItemGraphicEl(o),c=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(o)||[];else if(c&&c.dataToPoint)if(e.isStacked){var l=c.getBaseAxis(),u=c.getOtherAxis(l).dim,d=l.dim,f=+(u===`x`||u===`radius`),p=a.mapDimension(d),m=[];m[f]=a.get(p,o),m[1-f]=a.get(a.getCalculationInfo(`stackResultDimension`),o),n=c.dataToPoint(m)||[]}else n=c.dataToPoint(a.getValues(I(c.dimensions,function(e){return a.mapDimension(e)}),o))||[];else if(s){var h=s.getBoundingRect().clone();h.applyTransform(s.transform),n=[h.x+h.width/2,h.y+h.height/2]}return{point:n,el:s}}var WY=Js();function GY(e,t,n){var r=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||R(n.dispatchAction,n),s=t.getComponent(`axisPointer`).coordSysAxesInfo;if(s){tX(i)&&(i=UY({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var c=tX(i),l=a.axesInfo,u=s.axesInfo,d=r===`leave`||tX(i),f={},p={},m={list:[],map:{}},h={showPointer:z(JY,p),showTooltip:z(YY,m)};F(s.coordSysMap,function(e,t){var n=c||e.containPoint(i);F(s.coordSysAxesInfo[t],function(e,t){var r=e.axis,a=$Y(l,e);if(!d&&n&&(!l||a)){var o=a&&a.value;o==null&&!c&&(o=r.pointToData(i)),o!=null&&KY(e,o,h,!1,f)}})});var g={};return F(u,function(e,t){var n=e.linkGroup;n&&!p[t]&&F(n.axesInfo,function(t,r){var i=p[r];if(t!==e&&i){var a=i.value;n.mapper&&(a=e.axis.scale.parse(n.mapper(a,eX(t),eX(e)))),g[e.key]=a}})}),F(g,function(e,t){KY(u[t],e,h,!0,f)}),XY(p,u,f),ZY(m,i,e,o),QY(u,o,n),f}}function KY(e,t,n,r,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var o=qY(t,e),s=o.payloadBatch,c=o.snapToValue;s[0]&&i.seriesIndex==null&&M(i,s[0]),!r&&e.snap&&a.containData(c)&&c!=null&&(t=c),n.showPointer(e,t,s),n.showTooltip(e,o,c)}}function qY(e,t){var n=t.axis,r=n.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return F(t.seriesModels,function(t,c){var l=t.getData().mapDimensionsAll(r),u,d;if(t.getAxisTooltipData){var f=t.getAxisTooltipData(l,e,n);d=f.dataIndices,u=f.nestestValue}else{if(d=t.indicesOfNearest(r,l[0],e,n.type===`category`?.5:null),!d.length)return;u=t.getData().get(l[0],d[0])}if(gs(u)){var p=e-u,m=Math.abs(p);m<=o&&((m=0&&s<0)&&(o=m,s=p,i=u,a.length=0),F(d,function(e){a.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:a,snapToValue:i}}function JY(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function YY(e,t,n,r){var i=n.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var c=t.coordSys.model,l=UP(c),u=e.map[l];u||(u=e.map[l]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:s.get([`label`,`precision`]),formatter:s.get([`label`,`formatter`])},seriesDataIndices:i.slice()})}}function XY(e,t,n){var r=n.axesInfo=[];F(t,function(t,n){var i=t.axisPointerModel.option,a=e[n];a?(!t.useHandle&&(i.status=`show`),i.value=a.value,i.seriesDataIndices=(a.payloadBatch||[]).slice()):!t.useHandle&&(i.status=`hide`),i.status===`show`&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})})}function ZY(e,t,n,r){if(tX(t)||!e.list.length){r({type:`hideTip`});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:`showTip`,escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function QY(e,t,n){var r=n.getZr(),i=`axisPointerLastHighlights`,a=WY(r)[i]||{},o=WY(r)[i]={};F(e,function(e,t){var n=e.axisPointerModel.option;n.status===`show`&&e.triggerEmphasis&&F(n.seriesDataIndices,function(e){o[e.seriesIndex+`|`+e.dataIndex]=e})});var s=[],c=[];function l(e){return{seriesIndex:e.seriesIndex,dataIndex:e.dataIndex}}F(a,function(e,t){!o[t]&&c.push(l(e))}),F(o,function(e,t){!a[t]&&s.push(l(e))}),c.length&&n.dispatchAction({type:`downplay`,escapeConnect:!0,notBlur:!0,batch:c}),s.length&&n.dispatchAction({type:`highlight`,escapeConnect:!0,notBlur:!0,batch:s})}function $Y(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function eX(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+`AxisIndex`]=t.componentIndex,n.axisName=n[r+`AxisName`]=t.name,n.axisId=n[r+`AxisId`]=t.id,n}function tX(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function nX(e){GP.registerAxisPointerClass(`CartesianAxisPointer`,OY),e.registerComponentModel(MY),e.registerComponentView(HY),e.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!B(t)&&(e.axisPointer.link=[t])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,{overallReset:function(e,t){e.getComponent(`axisPointer`).coordSysAxesInfo=NP(e,t)}}),e.registerAction({type:`updateAxisPointer`,event:`updateAxisPointer`,update:`:updateAxisPointer`},GY)}function rX(e){hO(nF),hO(nX)}var iX=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,t,n,r,i){var a=n.axis;a.dim===`angle`&&(this.animationThreshold=Math.PI/18);var o=a.polar,s=a.getExtent(),c=o.getOtherAxis(a).getExtent(),l=a.dataToCoord(t),u=r.get(`type`);if(u&&u!==`none`){var d=_Y(r),f=oX[u](a,o,l,s,c,r.get(`seriesDataIndices`),r.ecModel);f.style=d,e.graphicKey=f.type,e.pointer=f}vY(e,n,r,i,aX(t,n,r,o,r.get([`label`,`margin`])))},t}(dY);function aX(e,t,n,r,i){var a=t.axis,o=a.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var c=r.getRadiusAxis().getExtent(),l,u,d;if(a.dim===`radius`){var f=Wt();Yt(f,f,s),Jt(f,f,[r.cx,r.cy]),l=Am([o,-i],f);var p=t.getModel(`axisLabel`).get(`rotate`)||0,m=Jj.innerTextLayout(s,p*Math.PI/180,-1);u=m.textAlign,d=m.textVerticalAlign}else{var h=c[1];l=r.coordToPoint([h+i,o]);var g=r.cx,_=r.cy;u=Math.abs(l[0]-g)/h<.3?`center`:l[0]>g?`left`:`right`,d=Math.abs(l[1]-_)/h<.3?`middle`:l[1]>_?`top`:`bottom`}return{position:l,align:u,verticalAlign:d}}var oX={line:function(e,t,n,r,i){return e.dim===`angle`?{type:`Line`,shape:CY(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:`Circle`,shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r,i,a,o){var s=Math.PI/180,c=EY(e,a,o),l;if(e.dim===`angle`)l=TY(t.cx,t.cy,i[0],i[1],(-n-c/2)*s,(-n+c/2)*s);else{var u=DY(n,r,c),d=u[0],f=u[1];l=TY(t.cx,t.cy,d,f,0,Math.PI*2)}return{type:`Sector`,shape:l}}},sX=`polar`,cX=sX,lX=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.findAxisModel=function(e){var t;return this.ecModel.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},t.type=sX,t.dependencies=[`radiusAxis`,`angleAxis`],t.defaultOption={z:0,center:[`50%`,`50%`],radius:`80%`},t}(k_),uX=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents(`polar`,Qs).models[0]},t.type=`polarAxis`,t}(k_);ie(uX,mD);var dX=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`angleAxis`,t}(uX),fX=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`radiusAxis`,t}(uX),pX=function(e){n(t,e);function t(t,n){return e.call(this,`radius`,t,n)||this}return t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)[this.dim===`radius`?0:1]},t}(uk);pX.prototype.dataToRadius=uk.prototype.dataToCoord,pX.prototype.radiusToData=uk.prototype.coordToData;var mX=Js(),hX=function(e){n(t,e);function t(t,n){return e.call(this,`angle`,t,n||[0,360])||this}return t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)[this.dim===`radius`?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var a=r[0],o=e.dataToCoord(a+1)-e.dataToCoord(a),s=Math.abs(o),c=Va(a==null?``:a+``,t.getFont(),`center`,`top`),l=Math.max(c.height,7)/s;isNaN(l)&&(l=1/0);var u=Math.max(0,Math.floor(l)),d=mX(e.model),f=d.lastAutoInterval,p=d.lastTickCount;return f!=null&&p!=null&&Math.abs(f-u)<=1&&Math.abs(p-i)<=1&&f>u?u=f:(d.lastTickCount=i,d.lastAutoInterval=u),u},t}(uk);hX.prototype.dataToAngle=uk.prototype.dataToCoord,hX.prototype.angleToData=uk.prototype.coordToData;var gX=[`radius`,`angle`],_X=function(){function e(e){this.dimensions=gX,this.type=sX,this.cx=0,this.cy=0,this._radiusAxis=new pX,this._angleAxis=new hX,this.axisPointerEnabled=!0,this.name=e||``,this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){var t=`_`+e+`Axis`;return this[t]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale(`ordinal`)[0]||this.getAxesByScale(`time`)[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=e!=null&&e!==`auto`?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t,n){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)],n)},e.prototype.pointToData=function(e,t,n){n=n||[];var r=this.pointToCoord(e);return n[0]=this._radiusAxis.radiusToData(r[0],t),n[1]=this._angleAxis.angleToData(r[1],t),n},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),a=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]);r.inverse?a=o-360:o=a+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var c=Math.atan2(-n,t)/Math.PI*180,l=co;)c+=l*360;return[s,c]},e.prototype.coordToPoint=function(e,t){t=t||[];var n=e[0],r=e[1]/180*Math.PI;return t[0]=Math.cos(r)*n+this.cx,t[1]=-Math.sin(r)*n+this.cy,t},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),r=Math.PI/180,i=1e-4;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,a=n*n+r*r,o=this.r,s=this.r0;return o!==s&&a-i<=o*o&&a+i>=s*s},x:this.cx-t[1],y:this.cy-t[1],width:t[1]*2,height:t[1]*2}},e.prototype.convertToPixel=function(e,t,n){return vX(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return vX(t)===this?this.pointToData(n):null},e}();function vX(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function yX(e,t,n){var r=t.get(`center`),i=x_(t,n).refContainer;e.cx=X(r[0],i.width)+i.x,e.cy=X(r[1],i.height)+i.y;var a=e.getRadiusAxis(),o=Math.min(i.width,i.height)/2,s=t.get(`radius`);s==null?s=[0,`100%`]:B(s)||(s=[0,s]);var c=[X(s[0],o),X(s[1],o)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function bX(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(GD(r,1),GD(i,1),rO(r),rO(i),r.type===`category`&&!r.onBand){var a=r.getExtent(),o=360/r.scale.count();r.inverse?a[1]+=o:a[1]-=o,r.setExtent(a[0],a[1])}}function xX(e){return e.mainType===`angleAxis`}function SX(e,t){if(e.type=ZE(t),e.scale=QE(t,e.type,!1),e.onBand=pD(e.scale,t),e.inverse=t.get(`inverse`),xX(t)){e.inverse=e.inverse!==t.get(`clockwise`);var n=t.get(`startAngle`),r=t.get(`endAngle`)??n+(e.inverse?-360:360);e.setExtent(n,r)}t.axis=e,e.model=t}var CX={dimensions:gX,create:function(e,t){var n=[];return e.eachComponent(cX,function(e,r){var i=new _X(r+``);i.update=bX;var a=i.getRadiusAxis(),o=i.getAngleAxis(),s=e.findAxisModel(`radiusAxis`),c=e.findAxisModel(`angleAxis`);SX(a,s),SX(o,c),yX(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e}),e.eachSeries(function(e){if(e.get(`coordinateSystem`)===`polar`){var t=e.coordinateSystem=e.getReferringComponents(cX,Qs).models[0].coordinateSystem;t&&(MD(t.getRadiusAxis(),e,sX),MD(t.getAngleAxis(),e,sX))}}),n}},wX=[`axisLine`,`axisLabel`,`axisTick`,`minorTick`,`splitLine`,`minorSplitLine`,`splitArea`];function TX(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function EX(e){return+!e.getRadiusAxis().inverse}function DX(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var OX=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass=`PolarAxisPointer`,n}return t.prototype.render=function(e,t){if(this.group.removeAll(),e.get(`show`)){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),a=n.getTicksCoords({breakTicks:`none`}),o=n.getMinorTicksCoords(),s=[];F(n.getViewLabels(),function(e){if(!e.tick.offInterval){e=A(e);var t=n.scale;e.coord=n.dataToCoord(fD(t,e.tick)),s.push(e)}}),DX(s),DX(a),F(wX,function(t){e.get([t,`show`])&&(!n.scale.isBlank()||t===`axisLine`)&&kX[t](this.group,e,r,a,o,i,s)},this)}},t.type=`angleAxis`,t}(GP),kX={axisLine:function(e,t,n,r,i,a){var o=t.getModel([`axisLine`,`lineStyle`]),s=n.getAngleAxis(),c=Math.PI/180,l=s.getExtent(),u=EX(n),d=+!u,f,p=Math.abs(l[1]-l[0])===360?`Circle`:`Arc`;f=a[d]===0?new fm[p]({shape:{cx:n.cx,cy:n.cy,r:a[u],startAngle:-l[0]*c,endAngle:-l[1]*c,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):new wp({shape:{cx:n.cx,cy:n.cy,r:a[u],r0:a[d]},style:o.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,e.add(f)},axisTick:function(e,t,n,r,i,a){var o=t.getModel(`axisTick`),s=(o.get(`inside`)?-1:1)*o.get(`length`),c=a[EX(n)],l=I(r,function(e){return new Np({shape:TX(n,[c,c+s],e.coord)})});e.add(wm(l,{style:N(o.getModel(`lineStyle`).getLineStyle(),{stroke:t.get([`axisLine`,`lineStyle`,`color`])})}))},minorTick:function(e,t,n,r,i,a){if(i.length){for(var o=t.getModel(`axisTick`),s=t.getModel(`minorTick`),c=(o.get(`inside`)?-1:1)*s.get(`length`),l=a[EX(n)],u=[],d=0;dm?`left`:`right`,_=Math.abs(p[1]-h)/f<.3?`middle`:p[1]>h?`top`:`bottom`;if(s&&s[d]){var v=s[d];U(v)&&v.textStyle&&(o=new Ph(v.textStyle,c,c.ecModel))}var y=new Xu({silent:Jj.isLabelSilent(t),style:dh(o,{x:p[0],y:p[1],fill:o.getTextColor()||t.get([`axisLine`,`lineStyle`,`color`]),text:r.formattedLabel,align:g,verticalAlign:_})});if(e.add(y),Gm({el:y,componentModel:t,itemName:r.formattedLabel,formatterParamsExtra:{isTruncated:function(){return y.isTruncated},value:r.rawLabel,tickIndex:i}}),u){var b=Jj.makeAxisEventDataBase(t);b.targetType=`axisLabel`,b.value=r.rawLabel,Z(y).eventData=b}},this)},splitLine:function(e,t,n,r,i,a){var o=t.getModel(`splitLine`).getModel(`lineStyle`),s=o.get(`color`),c=0;s=s instanceof Array?s:[s];for(var l=[],u=0;u=0?`p`:`n`,T=y;_&&(r[a][C]||(r[a][C]={p:y,n:y}),T=r[a][C][w]);var E=void 0,D=void 0,O=void 0,k=void 0;if(u.dim===`radius`){var A=u.dataToCoord(S)-y,j=e.dataToCoord(C);jo(A)=k})}}function zX(e,t){var n=EM(t,sX),r=ok(e,{fromStat:{key:n},min:1}).w,i=r,a=0,o=`20%`,s=`30%`,c={};wD(e,n,function(e){var t=FX(e);c[t]||a++,c[t]=c[t]||{width:0,maxWidth:0};var n=X(e.get(`barWidth`),r),l=X(e.get(`barMaxWidth`),r),u=e.get(`barGap`),d=e.get(`barCategoryGap`);n&&!c[t].width&&(n=ko(i,n),c[t].width=n,i-=n),l&&(c[t].maxWidth=l),u!=null&&(s=u),d!=null&&(o=d)});var l={},u=X(o,r),d=X(s,1),f=(i-u)/(a+(a-1)*d);f=Ao(f,0),F(c,function(e,t){var n=e.maxWidth;n&&n=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e,t,n){n=n||[];var r=this.getAxis();return n[0]=r.coordToData(r.toLocalCoord(e[r.orient===`horizontal`?0:1])),n},e.prototype.dataToPoint=function(e,t,n){var r=this.getAxis(),i=this.getRect();n=n||[];var a=r.orient===`horizontal`?0:1;return e instanceof Array&&(e=e[0]),n[a]=r.toGlobalCoord(r.dataToCoord(+e)),n[1-a]=a===0?i.y+i.height/2:i.x+i.width/2,n},e.prototype.convertToPixel=function(e,t,n){return QX(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return QX(t)===this?this.pointToData(n):null},e}();function QX(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function $X(e,t){var n=[];return e.eachComponent(iF,function(r,i){var a=new ZX(r,e,t);a.name=`single_`+i,a.resize(r,t),r.coordinateSystem=a,n.push(a)}),e.eachSeries(function(e){if(e.get(`coordinateSystem`)===`singleAxis`){var t=e.getReferringComponents(iF,Qs).models[0],n=e.coordinateSystem=t&&t.coordinateSystem;n&&MD(n.getAxis(),e,rF)}}),n}var eZ={create:$X,dimensions:XX},tZ=[`x`,`y`],nZ=[`width`,`height`],rZ=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,t,n,r,i){var a=n.axis,o=a.coordinateSystem,s=aZ(a),c=oZ(o,s),l=oZ(o,1-s),u=o.dataToPoint(t)[0],d=r.get(`type`);if(d&&d!==`none`){var f=_Y(r),p=iZ[d](a,u,c,l,r.get(`seriesDataIndices`),r.ecModel);p.style=f,e.graphicKey=p.type,e.pointer=p}SY(t,e,GX(n),n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=GX(t,{labelInside:!1});r.labelMargin=n.get([`handle`,`margin`]);var i=xY(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,a=i.coordinateSystem,o=aZ(i),s=oZ(a,o),c=[e.x,e.y];c[o]+=t[o],c[o]=Math.min(s[1],c[o]),c[o]=Math.max(s[0],c[o]);var l=oZ(a,1-o),u=(l[1]+l[0])/2,d=[u,u];return d[o]=c[o],{x:c[0],y:c[1],rotation:e.rotation,cursorPoint:d,tooltipOption:{verticalAlign:`middle`}}},t}(dY),iZ={line:function(e,t,n,r){return{type:`Line`,subPixelOptimize:!0,shape:CY([t,r[0]],[t,r[1]],aZ(e))}},shadow:function(e,t,n,r,i,a){var o=EY(e,i,a),s=r[1]-r[0],c=DY(t,n,o),l=c[0],u=c[1];return{type:`Rect`,shape:wY([l,r[0]],[u-l,s],aZ(e))}}};function aZ(e){return+!e.isHorizontal()}function oZ(e,t){var n=e.getRect();return[n[tZ[t]],n[tZ[t]]+n[nZ[t]]]}var sZ=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`single`,t}(Kb);function cZ(e){hO(nX),GP.registerAxisPointerClass(`SingleAxisPointer`,rZ),e.registerComponentView(sZ),e.registerComponentView(qX),e.registerComponentModel(aF),lP(e,`single`,aF,aF.defaultOption),e.registerCoordinateSystem(`single`,eZ)}var lZ=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(t,n,r){var i=E_(t);e.prototype.init.apply(this,arguments),uZ(t,i)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),uZ(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type=`calendar`,t.layoutMode=`box`,t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:`horizontal`,splitLine:{show:!0,lineStyle:{color:Q.color.axisLine,width:1,type:`solid`}},itemStyle:{color:Q.color.neutral00,borderWidth:1,borderColor:Q.color.neutral10},dayLabel:{show:!0,firstDay:0,position:`start`,margin:Q.size.s,color:Q.color.secondary},monthLabel:{show:!0,position:`start`,margin:Q.size.s,align:`center`,formatter:null,color:Q.color.secondary},yearLabel:{show:!0,position:null,margin:Q.size.xl,formatter:null,color:Q.color.quaternary,fontFamily:`sans-serif`,fontWeight:`bolder`,fontSize:20}},t}(k_);function uZ(e,t){var n=e.cellSize,r=B(n)?n:e.cellSize=[n,n];r.length===1&&(r[1]=r[0]),T_(e,t,{type:`box`,ignoreSize:I([0,1],function(e){return C_(t,e)&&(r[e]=`auto`),r[e]!=null&&r[e]!==`auto`})})}var dZ=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,a=i.getRangeInfo(),o=i.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,a,r),this._renderLines(e,a,o,r),this._renderYearText(e,a,o,r),this._renderMonthText(e,s,o,r),this._renderWeekText(e,s,a,o,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel(`itemStyle`).getItemStyle(),a=r.getCellWidth(),o=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var c=r.dataToCalendarLayout([s],!1).tl,l=new Gu({shape:{x:c[0],y:c[1],width:a,height:o},cursor:`default`,style:i});n.add(l)}},t.prototype._renderLines=function(e,t,n,r){var i=this,a=e.coordinateSystem,o=e.getModel([`splitLine`,`lineStyle`]).getLineStyle(),s=e.get([`splitLine`,`show`]),c=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var l=t.start,u=0;l.time<=t.end.time;u++){f(l.formatedDate),u===0&&(l=a.getDateInfo(t.start.y+`-`+t.start.m));var d=l.date;d.setMonth(d.getMonth()+1),l=a.getDateInfo(d)}f(a.getNextNDay(t.end.time,1).formatedDate);function f(t){i._firstDayOfMonth.push(a.getDateInfo(t)),i._firstDayPoints.push(a.dataToCalendarLayout([t],!1).tl);var c=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(c[0]),i._blpoints.push(c[c.length-1]),s&&i._drawSplitline(c,o,r)}s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,c,n),o,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,c,n),o,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i=n===`horizontal`?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new Ap({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,i=r.getDateInfo(t),a=[],o=0;o<7;o++){var s=r.getNextNDay(i.time,o),c=r.dataToCalendarLayout([s.time],!1);a[2*s.day]=c.tl,a[2*s.day+1]=c[n===`horizontal`?`bl`:`tr`]}return a},t.prototype._formatterLabel=function(e,t){return H(e)&&e?Jg(e,t):V(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,r,i){var a=t[0],o=t[1],s=[`center`,`bottom`];r===`bottom`?(o+=i,s=[`center`,`top`]):r===`left`?a-=i:r===`right`?(a+=i,s=[`center`,`top`]):o-=i;var c=0;return(r===`left`||r===`right`)&&(c=Math.PI/2),{rotation:c,x:a,y:o,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var i=e.getModel(`yearLabel`);if(i.get(`show`)){var a=i.get(`margin`),o=i.get(`position`);o||(o=n===`horizontal`?`left`:`top`);var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(s[0][0]+s[1][0])/2,l=(s[0][1]+s[1][1])/2,u=n===`horizontal`?0:1,d={top:[c,s[u][1]],bottom:[c,s[1-u][1]],left:[s[1-u][0],l],right:[s[u][0],l]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+`-`+t.end.y);var p=i.get(`formatter`),m={start:t.start.y,end:t.end.y,nameMap:f},h=new Xu({z2:30,style:dh(i,{text:this._formatterLabel(p,m)}),silent:i.get(`silent`)});h.attr(this._yearTextPositionControl(h,d[o],n,o,a)),r.add(h)}},t.prototype._monthTextPositionControl=function(e,t,n,r,i){var a=`left`,o=`top`,s=e[0],c=e[1];return n===`horizontal`?(c+=i,t&&(a=`center`),r===`start`&&(o=`bottom`)):(s+=i,t&&(o=`middle`),r===`start`&&(a=`right`)),{x:s,y:c,align:a,verticalAlign:o}},t.prototype._renderMonthText=function(e,t,n,r){var i=e.getModel(`monthLabel`);if(i.get(`show`)){var a=i.get(`nameMap`),o=i.get(`margin`),s=i.get(`position`),c=i.get(`align`),l=[this._tlpoints,this._blpoints];(!a||H(a))&&(a&&(t=Xh(a)||t),a=t.get([`time`,`monthAbbr`])||[]);var u=s===`start`?0:1,d=n===`horizontal`?0:1;o=s===`start`?-o:o;for(var f=c===`center`,p=i.get(`silent`),m=0;m=i.start.time&&r.timeo.end.time&&t.reverse(),t},e.prototype._getRangeInfo=function(e){var t=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],n;t[0].time>t[1].time&&(n=!0,t.reverse());var r=Math.floor(t[1].time/fZ)-Math.floor(t[0].time/fZ)+1,i=new Date(t[0].time),a=i.getDate(),o=t[1].date.getDate();i.setDate(a+r-1);var s=i.getDate();if(s!==o)for(var c=i.getTime()-t[1].time>0?1:-1;(s=i.getDate())!==o&&(i.getTime()-t[1].time)*c>0;)r-=c,i.setDate(s-c);var l=Math.floor((r+t[0].day+6)/7),u=n?-l+1:l-1;return n&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:r,weeks:l,nthWeek:u,fweek:t[0].day,lweek:t[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||e===0&&tr.lweek)return null;var i=(e-1)*7-r.fweek+t,a=new Date(r.start.time);return a.setDate(+r.start.d+i),this.getDateInfo(a)},e.create=function(t,n){var r=[];return t.eachComponent(`calendar`,function(i){var a=new e(i,t,n);r.push(a),i.coordinateSystem=a}),t.eachComponent(function(e,t){c_({targetModel:t,coordSysType:`calendar`,coordSysProvider:l_})}),r},e.dimensions=[`time`,`value`],e}();function mZ(e){var t=e.calendarModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}function hZ(e){e.registerComponentModel(lZ),e.registerComponentView(dZ),e.registerCoordinateSystem(`calendar`,pZ)}var gZ={level:1,leaf:2,nonLeaf:3},_Z={none:0,all:1,body:2,corner:3};function vZ(e,t,n){var r=t[mm[n]].getCell(e);return!r&&de(e)&&e<0&&(r=t[mm[1-n]].getUnitLayoutInfo(n,Math.round(e))),r}function yZ(e){var t=e||[];return t[0]=t[0]||[],t[1]=t[1]||[],t[0][0]=t[0][1]=t[1][0]=t[1][1]=NaN,t}function bZ(e,t,n,r,i){xZ(e[0],t,i,n,r,0),xZ(e[1],t,i,n,r,1)}function xZ(e,t,n,r,i,a){e[0]=1/0,e[1]=-1/0;var o=r[a],s=B(o)?o:[o],c=s.length,l=!!n;if(c>=1?(SZ(e,t,s,l,i,a,0),c>1&&SZ(e,t,s,l,i,a,c-1)):e[0]=e[1]=NaN,l){var u=-i[mm[1-a]].getLocatorCount(a),d=i[mm[a]].getLocatorCount(a)-1;n===_Z.body?u=Ao(0,u):n===_Z.corner&&(d=ko(-1,d)),d=t[0]&&e[0]<=t[1]}function OZ(e,t){e.id.set(t[0][0],t[1][0]),e.span.set(t[0][1]-e.id.x+1,t[1][1]-e.id.y+1)}function kZ(e,t){e[0][0]=t[0][0],e[0][1]=t[0][1],e[1][0]=t[1][0],e[1][1]=t[1][1]}function AZ(e,t,n,r){var i=vZ(t[r][0],n,r),a=vZ(t[r][1],n,r);e[mm[r]]=e[hm[r]]=NaN,i&&a&&(e[mm[r]]=i.xy,e[hm[r]]=a.xy+a.wh-i.xy)}function jZ(e,t,n,r){return e[mm[t]]=n,e[mm[1-t]]=r,e}function MZ(e){return e&&(e.type===gZ.leaf||e.type===gZ.nonLeaf)?e:null}function NZ(){return{x:NaN,y:NaN,width:NaN,height:NaN}}var PZ=function(){function e(e,t){this._cells=[],this._levels=[],this.dim=e,this.dimIdx=e===`x`?0:1,this._model=t,this._uniqueValueGen=FZ(e);var n=t.get(`data`,!0),r=t.get(`length`,!0);if(n!=null&&!B(n)&&(n=[]),n)this._initByDimModelData(n);else if(r!=null){n=Array(r);for(var i=0;i=1,y=n[mm[r]],b=a.getLocatorCount(r)-1,x=new sc;for(o.resetLayoutIterator(x,r);x.next();)S(x.item);for(a.resetLayoutIterator(x,r);x.next();)S(x.item);function S(e){ve(e.wh)&&(e.wh=_),e.xy=y,e.id[mm[r]]===b&&!v&&(e.wh=n[mm[r]]+n[hm[r]]-e.xy),y+=e.wh}}function dQ(e,t){for(var n=t[mm[e]].resetCellIterator();n.next();){var r=n.item;pQ(r.rect,e,r.id,r.span,t),pQ(r.rect,1-e,r.id,r.span,t),r.type===gZ.nonLeaf&&(r.xy=r.rect[mm[e]],r.wh=r.rect[hm[e]])}}function fQ(e,t){e.travelExistingCells(function(e){var n=e.span;if(n){var r=e.spanRect,i=e.id;pQ(r,0,i,n,t),pQ(r,1,i,n,t)}})}function pQ(e,t,n,r,i){e[hm[t]]=0;var a=n[mm[t]]<0?i[mm[1-t]]:i[mm[t]],o=a.getUnitLayoutInfo(t,n[mm[t]]);if(e[mm[t]]=o.xy,e[hm[t]]=o.wh,r[mm[t]]>1){var s=a.getUnitLayoutInfo(t,n[mm[t]]+r[mm[t]]-1);e[hm[t]]=s.xy+s.wh-o.xy}}function mQ(e,t,n){return hQ(Ho(e,n[hm[t]]),n[hm[t]])}function hQ(e,t){return Math.max(Math.min(e,W(t,1/0)),0)}function gQ(e){var t=e.matrixModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}var _Q={inBody:1,inCorner:2,outside:3},vQ={x:null,y:null,point:[]};function yQ(e,t,n,r,i){var a=n[mm[t]],o=n[mm[1-t]],s=a.getUnitLayoutInfo(t,a.getLocatorCount(t)-1),c=a.getUnitLayoutInfo(t,0),l=o.getUnitLayoutInfo(t,-o.getLocatorCount(t)),u=o.shouldShow()?o.getUnitLayoutInfo(t,-1):null,d=e.point[t]=r[t];if(!c&&!u){e[mm[t]]=_Q.outside;return}if(i===_Z.body){c?(e[mm[t]]=_Q.inBody,d=ko(s.xy+s.wh,Ao(c.xy,d)),e.point[t]=d):e[mm[t]]=_Q.outside;return}else if(i===_Z.corner){u?(e[mm[t]]=_Q.inCorner,d=ko(u.xy+u.wh,Ao(l.xy,d)),e.point[t]=d):e[mm[t]]=_Q.outside;return}var f=c?c.xy:u?u.xy+u.wh:NaN,p=l?l.xy:f,m=s?s.xy+s.wh:f;if(dm){if(!i){e[mm[t]]=_Q.outside;return}d=m}e.point[t]=d,e[mm[t]]=f<=d&&d<=m?_Q.inBody:p<=d&&d<=f?_Q.inCorner:_Q.outside}function bQ(e,t,n,r){var i=1-n;if(e[mm[n]]!==_Q.outside)for(r[mm[n]].resetCellIterator(lQ);lQ.next();){var a=lQ.item;if(CQ(e.point[n],a.rect,n)&&CQ(e.point[i],a.rect,i)){t[n]=a.ordinal,t[i]=a.id[mm[i]];return}}}function xQ(e,t,n,r){if(e[mm[n]]!==_Q.outside){for((e[mm[n]]===_Q.inCorner?r[mm[1-n]]:r[mm[n]]).resetLayoutIterator(cQ,n);cQ.next();)if(SQ(e.point[n],cQ.item)){t[n]=cQ.item.id[mm[n]];return}}}function SQ(e,t){return t.xy<=e&&e<=t.xy+t.wh}function CQ(e,t,n){return t[mm[n]]<=e&&e<=t[mm[n]]+t[hm[n]]}function wQ(e){e.registerComponentModel(UZ),e.registerComponentView(XZ),e.registerCoordinateSystem(`matrix`,oQ)}function TQ(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),t.parentId==null){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function EQ(e,t){var n;return F(t,function(t){e[t]!=null&&e[t]!==`auto`&&(n=!0)}),n}function DQ(e,t,n){var r=M({},n),i=e[t],a=n.$action||`merge`;a===`merge`?i?(j(i,r,!0),T_(i,r,{ignoreSize:!0}),D_(n,i),AQ(n,i),AQ(n,i,`shape`),AQ(n,i,`style`),AQ(n,i,`extra`),n.clipPath=i.clipPath):e[t]=r:a===`replace`?e[t]=r:a===`remove`&&i&&(e[t]=null)}var OQ=[`transition`,`enterFrom`,`leaveTo`],kQ=OQ.concat([`enterAnimation`,`updateAnimation`,`leaveAnimation`]);function AQ(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),!(!e||!t))for(var r=n?OQ:kQ,i=0;i=0;c--){var l=n[c],u=Bs(l.id,null),d=u==null?null:i.get(u);if(d){var f=d.parent,h=PQ(f),g=f===r?{width:a,height:o}:{width:h.width,height:h.height},_={},v=S_(d,l,g,null,{hv:l.hv,boundingMode:l.bounding},_);if(!PQ(d).isNew&&v){for(var y=l.transition,b={},x=0;x=0)?b[S]=C:d[S]=C}im(d,b,e,0)}else d.attr(_)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each(function(n){RQ(n,PQ(n).option,t,e._lastGraphicModel)}),this._elMap=G()},t.prototype.dispose=function(){this._clear()},t.type=`graphic`,t}(Kb);function IQ(e){var t=new(K(NQ,e)?NQ[e]:bm(e))({});return PQ(t).type=e,t}function LQ(e,t,n,r){var i=IQ(n);return t.add(i),r.set(e,i),PQ(i).id=e,PQ(i).isNew=!0,i}function RQ(e,t,n,r){e&&e.parent&&(e.type===`group`&&e.traverse(function(e){RQ(e,t,n,r)}),aJ(e,t,r),n.removeKey(PQ(e).id))}function zQ(e,t,n,r){e.isGroup||F([[`cursor`,Cl.prototype.cursor],[`zlevel`,r||0],[`z`,n||0],[`z2`,0]],function(n){var r=n[0];K(t,r)?e[r]=W(t[r],n[1]):e[r]??(e[r]=n[1])}),F(L(t),function(n){if(n.indexOf(`on`)===0){var r=t[n];e[n]=V(r)?r:null}}),K(t,`draggable`)&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function BQ(e){return e=M({},e),F([`id`,`parentId`,`$action`,`hv`,`bounding`,`textContent`,`clipPath`].concat(d_),function(t){delete e[t]}),e}function VQ(e,t,n){var r=Z(e).eventData;!e.silent&&!e.ignore&&!r&&(r=Z(e).eventData={componentType:`graphic`,componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function HQ(e){e.registerComponentModel(MQ),e.registerComponentView(FQ),e.registerPreprocessor(function(e){var t=e.graphic;B(t)?!t[0]||!t[0].elements?e.graphic=[{elements:t}]:e.graphic=[e.graphic[0]]:t&&!t.elements&&(e.graphic=[{elements:[t]}])})}var UQ=[`x`,`y`,`radius`,`angle`,`single`],WQ=Js(),GQ=[`cartesian2d`,`polar`,`singleAxis`];function KQ(e){return P(GQ,e.get(`coordinateSystem`))>=0}function qQ(e){return e+`Axis`}function JQ(e,t){var n=G(),r=[],i=G();e.eachComponent({mainType:`dataZoom`,query:t},function(e){i.get(e.uid)||s(e)});var a;do a=!1,e.eachComponent(`dataZoom`,o);while(a);function o(e){!i.get(e.uid)&&c(e)&&(s(e),a=!0)}function s(e){i.set(e.uid,!0),r.push(e),l(e)}function c(e){var t=!1;return e.eachTargetAxis(function(e,r){var i=n.get(e);i&&i[r]&&(t=!0)}),t}function l(e){e.eachTargetAxis(function(e,t){(n.get(e)||n.set(e,[]))[t]=!0})}return r}function YQ(e){var t=e.ecModel,n={infoList:[],infoMap:G()};return e.eachTargetAxis(function(e,r){var i=t.getComponent(qQ(e),r);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,s=n.infoMap.get(o);s||(s={model:a,axisModels:[]},n.infoList.push(s),n.infoMap.set(o,s)),s.axisModels.push(i)}}}),n}function XQ(e){var t=WQ(sS(e));return t.axisProxyMap||(t.axisProxyMap=G())}function ZQ(e){if(e)return XQ(e.ecModel).get(e.uid)}function QQ(e,t){XQ(e.ecModel).set(e.uid,t)}function $Q(e,t){var n=t.getAxisModel().axis.__alignTo;return n&&e.getAxisProxy(n.dim,n.model.componentIndex)?ZQ(n.model):null}var e$=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),t$=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=[`percent`,`percent`],n}return t.prototype.init=function(e,t,n){var r=n$(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=n$(e);j(this.option,e,!0),j(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;F([[`start`,`startValue`],[`end`,`endValue`]],function(e,r){this._rangePropMode[r]===`value`&&(t[e[0]]=n[e[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get(`orient`,!0),t=this._targetAxisInfoMap=G();this._fillSpecifiedTargetAxis(t)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||`horizontal`,this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each(function(e){e.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return F(UQ,function(n){var r=this.getReferringComponents(qQ(n),$s);if(r.specified){t=!0;var i=new e$;F(r.models,function(e){i.add(e.componentIndex)}),e.set(n,i)}},this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i=t===`vertical`?`y`:`x`,a=n.findComponents({mainType:i+`Axis`});o(a,i)}if(r){var a=n.findComponents({mainType:`singleAxis`,filter:function(e){return e.get(`orient`,!0)===t}});o(a,`single`)}function o(t,n){var i=t[0];if(i){var a=new e$;if(a.add(i.componentIndex),e.set(n,a),r=!1,n===`x`||n===`y`){var o=i.getReferringComponents(`grid`,Qs).models[0];o&&F(t,function(e){i.componentIndex!==e.componentIndex&&o===e.getReferringComponents(`grid`,Qs).models[0]&&a.add(e.componentIndex)})}}}r&&F(UQ,function(t){if(r){var i=n.findComponents({mainType:qQ(t),filter:function(e){return e.get(`type`,!0)===`category`}});if(i[0]){var a=new e$;a.add(i[0].componentIndex),e.set(t,a),r=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(t){!e&&(e=t)},this),e===`y`?`vertical`:`horizontal`},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty(`throttle`)&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get(`rangeMode`);F([[`start`,`startValue`],[`end`,`endValue`]],function(r,i){var a=e[r[0]]!=null,o=e[r[1]]!=null;a&&!o?t[i]=`percent`:!a&&o?t[i]=`value`:n?t[i]=n[i]:a&&(t[i]=`percent`)})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(t,n){e??(e=this.ecModel.getComponent(qQ(t),n))},this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each(function(n,r){F(n.indexList,function(n){e.call(t,r,n)})})},t.prototype.getAxisProxy=function(e,t){return ZQ(this.getAxisModel(e,t))},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(qQ(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;F([[`start`,`startValue`],[`end`,`endValue`]],function(r){(e[r[0]]!=null||e[r[1]]!=null)&&(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;F([`start`,`startValue`,`end`,`endValue`],function(n){t[n]=e[n]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getWindow().percent},t.prototype.getValueRange=function(e,t){if(e==null&&t==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getWindow().value}else return this.getAxisProxy(e,t).getWindow().value},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return ZQ(e);for(var t,n=this._targetAxisInfoMap.keys(),r=0;ra[1];if(u&&!d&&!f)return!0;u&&(i=!0),d&&(t=!0),f&&(n=!0)}return i&&t&&n})}else F(r,function(n){if(i===`empty`)e.setData(t=t.map(n,function(e){return o(e)?e:NaN}));else{var r={};r[n]=a,t.selectRange(r)}});F(r,function(e){t.setApproximateExtent(a,e)})}});function o(e){return e>=a[0]&&e<=a[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._extent;F([`min`,`max`],function(r){var i=t.get(r+`Span`),a=t.get(r+`ValueSpan`);a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a==null?i!=null&&(a=Bo(i,[0,100],n,!0)-n[0]):i=Bo(n[0]+a,n,[0,100],!0),e[r+`Span`]=i,e[r+`ValueSpan`]=a},this)},e}(),s$={dirtyOnOverallProgress:!0,getTargetSeries:function(e){function t(t){e.eachComponent(`dataZoom`,function(n){n.eachTargetAxis(function(r,i){t(r,i,e.getComponent(qQ(r),i),n)})})}var n=[];t(function(t,r,i,a){if(!ZQ(i)){var o=new o$(t,r,a,e);n.push(o),QQ(i,o)}});var r=G();return F(n,function(e){F(e.getTargetSeriesModels(),function(e){r.set(e.uid,e)})}),r},overallReset:function(e,t){e.eachComponent(`dataZoom`,function(e){var n=[];e.eachTargetAxis(function(t,r){var i=e.getAxisProxy(t,r),a=$Q(e,i);a?n.push([i,a]):i.reset(e,null)}),F(n,function(t){t[0].reset(e,t[1].getWindow().percentInverted)}),e.eachTargetAxis(function(n,r){e.getAxisProxy(n,r).filterData(e,t)})}),e.eachComponent(`dataZoom`,function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getWindow(),r=n.percent,i=n.value;e.setCalculatedRange({start:r[0],end:r[1],startValue:i[0],endValue:i[1]})}})}};function c$(e){e.registerAction(`dataZoom`,function(e,t){F(JQ(t,e),function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var l$=vc();function u$(e){l$(e,function(){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,s$),c$(e),e.registerSubTypeDefaulter(`dataZoom`,function(){return`slider`})})}function d$(e){e.registerComponentModel(r$),e.registerComponentView(a$),u$(e)}var f$=function(){function e(){}return e}(),p$={};function m$(e,t){p$[e]=t}function h$(e){return p$[e]}var g$=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(t,n,r){var i=r.getTheme().get(`toolbox`),a=i?i.feature:null;a&&(this._themeFeatureOption=M({},a),i.feature={}),e.prototype.init.call(this,t,n,r),a&&(i.feature=a)},t.prototype.optionUpdated=function(){F(this.option.feature,function(e,t){var n=this._themeFeatureOption,r=h$(t);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(this.ecModel)),n&&n[t]&&(j(e,n[t]),n[t]=null),j(e,r.defaultOption))},this)},t.type=`toolbox`,t.layoutMode={type:`box`,ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:`horizontal`,left:`right`,top:`top`,backgroundColor:`transparent`,borderColor:Q.color.border,borderRadius:0,borderWidth:0,padding:Q.size.m,itemSize:15,itemGap:Q.size.s,showTitle:!0,iconStyle:{borderColor:Q.color.accent50,color:`none`},emphasis:{iconStyle:{borderColor:Q.color.accent70}},tooltip:{show:!1,position:`bottom`}},t}(k_);function _$(e,t){var n=Ug(t.get(`padding`)),r=t.getItemStyle([`color`,`opacity`]);return r.fill=t.get(`backgroundColor`),new Gu({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get(`borderRadius`)},style:r,silent:!0,z2:-1})}var v$=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),!e.get(`show`))return;var a=+e.get(`itemSize`),o=e.get(`orient`)===`vertical`,s=e.get(`feature`)||{},c=this._features||(this._features=G()),l=[];F(s,function(e,t){l.push(t)}),new oT(this._featureNames||[],l).add(u).update(u).remove(z(u,null)).execute(),this._featureNames=se(l,function(e){return c.hasKey(e)});function u(i,a){var o=i!=null&&a==null,u=i!=null&&a!=null,f=i==null,p=o||u?l[i]:l[a],m=s[p],h=o||u?new Ph(m,e,t):null,g=h&&h.get(`show`),_;if(o){if(!g)return;if(y$(p))_={onclick:h.option.onclick,featureName:p};else{var v=h$(p);if(!v)return;_=new v}c.set(p,_)}else _=c.get(p);if(f||!g){b$(_)&&_.dispose&&_.dispose(t,n),c.removeKey(p);return}r&&r.newTitle!=null&&r.featureName===p&&(m.title=r.newTitle),o&&(_.uid=Ih(`toolbox-feature`)),_.model=h,_.ecModel=t,_.api=n,d(h,_,p),h.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&(t===`emphasis`?tf:nf)(r[e])},b$(_)&&_.render&&_.render(h,t,n,r)}function d(r,s,c){var l=r.getModel(`iconStyle`),u=r.getModel([`emphasis`,`iconStyle`]),d=s instanceof f$&&s.getIcons?s.getIcons():r.get(`icon`),f=r.get(`title`)||{},p,m;H(d)?(p={},p[c]=d):p=d,H(f)?(m={},m[c]=f):m=f;var h=r.iconPaths={};F(p,function(c,d){var f=Lm(c,{},{x:-a/2,y:-a/2,width:a,height:a});f.setStyle(l.getItemStyle());var p=f.ensureState(`emphasis`);p.style=u.getItemStyle();var g=new Xu({style:{text:m[d],align:u.get(`textAlign`),borderRadius:u.get(`textBorderRadius`),padding:u.get(`textPadding`),fill:null,font:yh({fontStyle:u.get(`textFontStyle`),fontFamily:u.get(`textFontFamily`),fontSize:u.get(`textFontSize`),fontWeight:u.get(`textFontWeight`)},t)},ignore:!0});f.setTextContent(g),Gm({el:f,componentModel:e,itemName:d,formatterParamsExtra:{title:m[d]}}),f.__title=m[d],f.on(`mouseover`,function(){var t=u.getItemStyle(),r=o?e.get(`right`)==null&&e.get(`left`)!==`right`?`right`:`left`:e.get(`bottom`)==null&&e.get(`top`)!==`bottom`?`bottom`:`top`;g.setStyle({fill:u.get(`textFill`)||t.fill||t.stroke||Q.color.neutral99,backgroundColor:u.get(`textBackgroundColor`)}),f.setTextConfig({position:u.get(`textPosition`)||r}),g.ignore=!e.get(`showTitle`),n.enterEmphasis(this)}).on(`mouseout`,function(){r.get([`iconStatus`,d])!==`emphasis`&&n.leaveEmphasis(this),g.hide()}),(r.get([`iconStatus`,d])===`emphasis`?tf:nf)(f),i.add(f),f.on(`click`,R(s.onclick,s,t,n,d)),h[d]=f})}var f=x_(e,n).refContainer,p=e.getBoxLayoutParams(),m=e.get(`padding`),h=v_(p,f,m);m_(e.get(`orient`),i,e.get(`itemGap`),h.width,h.height),S_(i,p,f,m),i.add(_$(i.getBoundingRect(),e)),o||i.eachChild(function(e){var t=e.__title,r=e.ensureState(`emphasis`),o=r.textConfig||(r.textConfig={}),s=e.getTextContent(),c=s&&s.ensureState(`emphasis`);if(c&&!V(c)&&t){var l=c.style||(c.style={}),u=Va(t,Xu.makeFont(l)),d=e.x+i.x,f=e.y+i.y+a,p=!1;f+u.height>n.getHeight()&&(o.position=`top`,p=!0);var m=p?-5-u.height:a+10;d+u.width/2>n.getWidth()?(o.position=[`100%`,m],l.align=`right`):d-u.width/2<0&&(o.position=[0,m],l.align=`left`)}})},t.prototype.updateView=function(e,t,n,r){F(this._features,function(e){e&&e instanceof f$&&e.updateView&&e.updateView(e.model,t,n,r)})},t.prototype.dispose=function(e,t){F(this._features,function(n){n&&n instanceof f$&&n.dispose&&n.dispose(e,t)})},t.type=`toolbox`,t}(Kb);function y$(e){return e.indexOf(`my`)===0}function b$(e){return e instanceof f$}var x$=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(e,t){var n=this.model,r=n.get(`name`)||e.get(`title.0.text`)||`echarts`,a=t.getZr().painter.getType()===`svg`,o=a?`svg`:n.get(`type`,!0)||`png`,s=t.getConnectedDataURL({type:o,backgroundColor:n.get(`backgroundColor`,!0)||e.get(`backgroundColor`)||Q.color.neutral00,connectedBackgroundColor:n.get(`connectedBackgroundColor`),excludeComponents:n.get(`excludeComponents`),pixelRatio:n.get(`pixelRatio`)}),c=i.browser;if(typeof MouseEvent==`function`&&(c.newEdge||!c.ie&&!c.edge)){var l=document.createElement(`a`);l.download=r+`.`+o,l.target=`_blank`,l.href=s;var u=new MouseEvent(`click`,{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||a){var d=s.split(`,`),f=d[0].indexOf(`base64`)>-1,p=a?decodeURIComponent(d[1]):d[1];f&&(p=window.atob(p));var m=r+`.`+o;if(window.navigator.msSaveOrOpenBlob){for(var h=p.length,g=new Uint8Array(h);h--;)g[h]=p.charCodeAt(h);var _=new Blob([g]);window.navigator.msSaveOrOpenBlob(_,m)}else{var v=document.createElement(`iframe`);document.body.appendChild(v);var y=v.contentWindow,b=y.document;b.open(`image/svg+xml`,`replace`),b.write(p),b.close(),y.focus(),b.execCommand(`SaveAs`,!0,m),document.body.removeChild(v)}}else{var x=n.get(`lang`),S=``,C=window.open();C.document.write(S),C.document.title=r}},t.getDefaultOption=function(e){return{show:!0,icon:`M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0`,title:e.getLocaleModel().get([`toolbox`,`saveAsImage`,`title`]),type:`png`,connectedBackgroundColor:Q.color.neutral00,name:``,excludeComponents:[`toolbox`],lang:e.getLocaleModel().get([`toolbox`,`saveAsImage`,`lang`])}},t}(f$),S$=`__ec_magicType_stack__`,C$=[[`line`,`bar`],[`stack`]],w$=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,t=e.get(`icon`),n={};return F(e.get(`type`),function(e){t[e]&&(n[e]=t[e])}),n},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:`M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4`,bar:`M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7`,stack:`M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z`},title:e.getLocaleModel().get([`toolbox`,`magicType`,`title`]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get([`seriesIndex`,n]);if(T$[n]){var a={series:[]};F(C$,function(e){P(e,n)>=0&&F(e,function(e){r.setIconStatus(e,`normal`)})}),r.setIconStatus(n,`emphasis`),e.eachComponent({mainType:`series`,query:i==null?null:{seriesIndex:i}},function(e){var t=e.subType,i=e.id,o=T$[n](t,i,e,r);o&&(N(o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&s.type===`cartesian2d`&&(n===`line`||n===`bar`)){var c=s.getAxesByScale(`ordinal`)[0];if(c){var l=c.dim+`Axis`,u=e.getReferringComponents(l,Qs).models[0].componentIndex;a[l]=a[l]||[];for(var d=0;d<=u;d++)a[l][u]=a[l][u]||{};a[l][u].boundaryGap=n===`bar`}}});var o,s=n;n===`stack`&&(o=j({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),r.get([`iconStatus`,n])!==`emphasis`&&(s=`tiled`)),t.dispatchAction({type:`changeMagicType`,currentType:s,newOption:a,newTitle:o,featureName:`magicType`})}},t}(f$),T$={line:function(e,t,n,r){if(e===`bar`)return j({id:t,type:`line`,data:n.get(`data`),stack:n.get(`stack`),markPoint:n.get(`markPoint`),markLine:n.get(`markLine`)},r.get([`option`,`line`])||{},!0)},bar:function(e,t,n,r){if(e===`line`)return j({id:t,type:`bar`,data:n.get(`data`),stack:n.get(`stack`),markPoint:n.get(`markPoint`),markLine:n.get(`markLine`)},r.get([`option`,`bar`])||{},!0)},stack:function(e,t,n,r){var i=n.get(`stack`)===S$;if(e===`line`||e===`bar`)return r.setIconStatus(`stack`,i?`normal`:`emphasis`),j({id:t,stack:i?``:S$},r.get([`option`,`stack`])||{},!0)}};Uw({type:`changeMagicType`,event:`magicTypeChanged`,update:`prepareAndUpdate`},function(e,t){t.mergeOption(e.newOption)});var E$=Array(60).join(`-`),D$=` `;function O$(e){var t={},n=[],r=[];return e.eachRawSeries(function(e){var i=e.coordinateSystem;if(i&&(i.type===`cartesian2d`||i.type===`polar`)){var a=i.getBaseAxis();if(a.type===`category`){var o=bM(a);t[o]||(t[o]={categoryAxis:a,valueAxis:i.getOtherAxis(a),series:[]},r.push({axisDim:a.dim,axisIndex:a.index})),t[o].series.push(e)}else n.push(e)}else n.push(e)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function k$(e){var t=[];return F(e,function(e,n){var r=e.categoryAxis,i=e.valueAxis.dim,a=[` `].concat(I(e.series,function(e){return e.name})),o=[r.model.getCategories()];F(e.series,function(e){var t=e.getRawData();o.push(e.getRawData().mapArray(t.mapDimension(i),function(e){return e}))});for(var s=[a.join(D$)],c=0;c=0)return!0}var P$=RegExp(`[`+D$+`]+`,`g`);function F$(e){for(var t=e.split(/\n+/g),n=M$(t.shift()).split(P$),r=[],i=I(n,function(e){return{name:e,data:[]}}),a=0;a=0&&!n[i][r];i--);if(i<0){var a=e.queryComponents({mainType:`dataZoom`,subType:`select`,id:r})[0];if(a){var o=a.getPercentRange();n[0][r]={dataZoomId:r,start:o[0],end:o[1]}}}}),n.push(t)}function U$(e){var t=K$(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return B$(n,function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n],e){r[n]=e;break}}),r}function W$(e){V$(e).snapshots=null}function G$(e){return K$(e).length}function K$(e){var t=V$(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var q$=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(e,t){W$(e),t.dispatchAction({type:`restore`,from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:`M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5`,title:e.getLocaleModel().get([`toolbox`,`restore`,`title`])}},t}(f$);Uw({type:`restore`,event:`restore`,update:`prepareAndUpdate`},function(e,t){t.resetOption(`recreate`)});var J$=[`grid`,`xAxis`,`yAxis`,`geo`,`graph`,`polar`,`radiusAxis`,`angleAxis`,`bmap`],Y$=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=Z$(t,e);F(Q$,function(e,t){(!n||!n.include||P(n.include,t)>=0)&&e(i,r._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=t1[e.brushType](0,n,t);e.__rangeOffset={offset:r1[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,n){F(e,function(e){var r=this.findTargetInfo(e,t);r&&r!==!0&&F(r.coordSyses,function(r){n(e,t1[e.brushType](1,r,e.range,!0).values,r,t)})},this)},e.prototype.setInputRanges=function(e,t){F(e,function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&n!==!0){e.panelId=n.panelId;var r=t1[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?r1[e.brushType](r.values,i.offset,a1(r.xyMinMax,i.xyMinMax)):r.values}},this)},e.prototype.makePanelOpts=function(e,t){return I(this._targetInfoList,function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:xW(r),isTargetByCursor:CW(r,e,n.coordSysModel),getLinearBrushOtherExtent:SW(r)}})},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return r===!0||r&&P(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=Z$(t,e),i=0;ie[1]&&e.reverse(),e}function Z$(e,t){return Xs(e,t,{includeMainTypes:J$})}var Q$={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,a=G(),o={},s={};!n&&!r&&!i||(F(n,function(e){var t=e.axis.grid.model;a.set(t.id,t),o[t.id]=!0}),F(r,function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0}),F(i,function(e){a.set(e.id,e),o[e.id]=!0,s[e.id]=!0}),a.each(function(e){var i=e.coordinateSystem,a=[];F(i.getCartesians(),function(e,t){(P(n,e.getAxis(`x`).model)>=0||P(r,e.getAxis(`y`).model)>=0)&&a.push(e)}),t.push({panelId:`grid--`+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:e1.grid,xAxisDeclared:o[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){F(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:`geo--`+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:e1.geo})})}},$$=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],e1={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys.view,t=YI(null,e);return _n(t,t,qI(null,e)),t}},t1={lineX:z(n1,0),lineY:z(n1,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),a=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),o=[X$([i[0],a[0]]),X$([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,r){var i=[lc(),lc()];return{values:I(n,function(n){var a=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],a[0]),i[1][0]=Math.min(i[1][0],a[1]),i[0][1]=Math.max(i[0][1],a[0]),i[1][1]=Math.max(i[1][1],a[1]),a}),xyMinMax:i}}};function n1(e,t,n,r){var i=n.getAxis([`x`,`y`][e]),a=X$(I([0,1],function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))})),o=[];return o[e]=a,o[1-e]=[NaN,NaN],{values:a,xyMinMax:o}}var r1={lineX:z(i1,0),lineY:z(i1,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return I(e,function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]})}};function i1(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function a1(e,t){var n=o1(e),r=o1(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function o1(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var s1=F,c1=Us(`toolbox-dataZoom_`),l1={x:`width`,y:`height`},u1=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new RU(n.getZr()),this._brushController.on(`brush`,R(this._onBrush,this)).mount()),m1(e,t,this,r,n),p1(e,t)},t.prototype.onclick=function(e,t,n){d1[n].call(this)},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(!e.isEnd||!t.length)return;var n={},r=this.ecModel;this._brushController.updateCovers([]),new Y$(f1(this.model),r,{include:[`grid`]}).matchOutputRanges(t,r,function(e,t,n){if(n.type===`cartesian2d`){var r=n.master.getRect().clone(),a=e.brushType;a===`rect`?(i(`x`,n,r,t[0]),i(`y`,n,r,t[1])):i({lineX:`x`,lineY:`y`}[a],n,r,t)}}),H$(r,n),this._dispatchZoomAction(n);function i(e,t,i,o){var s=t.getAxis(e),c=s.model,l=a(e,c,r),u=l.findRepresentativeAxisProxy(c).getMinMaxSpan(),d=s.scale.getExtent();(u.minValueSpan!=null||u.maxValueSpan!=null)&&(o=gU(0,o.slice(),d,0,u.minValueSpan,u.maxValueSpan));var f=Zo(d,i[l1[e]],.5);l&&(n[l.id]={dataZoomId:l.id,startValue:isFinite(f)?Go(o[0],f):o[0],endValue:isFinite(f)?Go(o[1],f):o[1]})}function a(e,t,n){var r;return n.eachComponent({mainType:`dataZoom`,subType:`select`},function(n){n.getAxisModel(e,t.componentIndex)&&(r=n)}),r}},t.prototype._dispatchZoomAction=function(e){var t=[];s1(e,function(e,n){t.push(A(e))}),t.length&&this.api.dispatchAction({type:`dataZoom`,from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:`filter`,icon:{zoom:`M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1`,back:`M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26`},title:e.getLocaleModel().get([`toolbox`,`dataZoom`,`title`]),brushStyle:{borderWidth:0,color:Q.color.backgroundTint}}},t}(f$),d1={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:`takeGlobalCursor`,key:`dataZoomSelect`,dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(U$(this.ecModel))}};function f1(e){var t={xAxisIndex:e.get(`xAxisIndex`,!0),yAxisIndex:e.get(`yAxisIndex`,!0),xAxisId:e.get(`xAxisId`,!0),yAxisId:e.get(`yAxisId`,!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex=`all`),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex=`all`),t}function p1(e,t){e.setIconStatus(`back`,G$(t)>1?`emphasis`:`normal`)}function m1(e,t,n,r,i){var a=n._isZoomActive;r&&r.type===`takeGlobalCursor`&&(a=r.key===`dataZoomSelect`?r.dataZoomSelectActive:!1),n._isZoomActive=a,e.setIconStatus(`zoom`,a?`emphasis`:`normal`);var o=new Y$(f1(e),t,{include:[`grid`]}).makePanelOpts(i,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?`lineX`:!e.xAxisDeclared&&e.yAxisDeclared?`lineY`:`rect`});n._brushController.setPanels(o).enableBrush(a&&o.length?{brushType:`auto`,brushStyle:e.getModel(`brushStyle`).getItemStyle()}:!1)}Y_(`dataZoom`,function(e){var t=e.getComponent(`toolbox`,0),n=[`feature`,`dataZoom`];if(!t||t.get(n)==null)return;var r=t.getModel(n),i=[],a=Xs(e,f1(r));s1(a.xAxisModels,function(e){return o(e,`xAxis`,`xAxisIndex`)}),s1(a.yAxisModels,function(e){return o(e,`yAxis`,`yAxisIndex`)});function o(e,t,n){var a=e.componentIndex,o={type:`select`,$fromToolbox:!0,filterMode:r.get(`filterMode`,!0)||`filter`,id:c1+t+a};o[n]=a,i.push(o)}return i});function h1(e){e.registerComponentModel(g$),e.registerComponentView(v$),m$(`saveAsImage`,x$),m$(`magicType`,w$),m$(`dataView`,R$),m$(`dataZoom`,u1),m$(`restore`,q$),hO(d$)}var g1=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`tooltip`,t.dependencies=[`axisPointer`],t.defaultOption={z:60,show:!0,showContent:!0,trigger:`item`,triggerOn:`mousemove|click|mousewheel`,alwaysShowContent:!1,renderMode:`auto`,confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:Q.color.neutral00,shadowBlur:10,shadowColor:`rgba(0, 0, 0, .2)`,shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:Q.color.border,padding:null,extraCssText:``,axisPointer:{type:`line`,axis:`auto`,animation:`auto`,animationDurationUpdate:200,animationEasingUpdate:`exponentialOut`,crossStyle:{color:Q.color.borderShade,width:1,type:`dashed`,textStyle:{}}},textStyle:{color:Q.color.tertiary,fontSize:14}},t}(k_);function _1(e){var t=e.get(`confine`);return t==null?e.get(`renderMode`)===`richText`:!!t}function v1(e){if(i.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n-1?(s+=`top:50%`,c+=`translateY(-50%) rotate(`+(l=a===`left`?-225:-45)+`deg)`):(s+=`left:50%`,c+=`translateX(-50%) rotate(`+(l=a===`top`?225:45)+`deg)`);var u=l*Math.PI/180,d=o+i,f=d*Math.abs(Math.cos(u))+d*Math.abs(Math.sin(u)),p=Math.round(((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-d)/2)*100)/100;s+=`;`+a+`:-`+p+`px`;var m=t+` solid `+i+`px;`;return`
`}function O1(e,t,n){var r=`cubic-bezier(0.23,1,0.32,1)`,a=``,o=``;return n&&(a=` `+e/2+`s `+r,o=`opacity`+a+`,visibility`+a),t||(a=` `+e+`s `+r,o+=(o.length?`,`:``)+(i.transformSupported?``+w1+a:`,left`+a+`,top`+a)),C1+`:`+o}function k1(e,t,n){var r=e.toFixed(0)+`px`,a=t.toFixed(0)+`px`;if(!i.transformSupported)return n?`top:`+a+`;left:`+r+`;`:[[`top`,a],[`left`,r]];var o=i.transform3dSupported,s=`translate`+(o?`3d`:``)+`(`+r+`,`+a+(o?`,0`:``)+`)`;return n?`top:0;left:0;`+w1+`:`+s+`;`:[[`top`,0],[`left`,0],[y1,s]]}function A1(e){var t=[],n=e.get(`fontSize`),r=e.getTextColor();r&&t.push(`color:`+r),t.push(`font:`+e.getFont());var i=W(e.get(`lineHeight`),Math.round(n*3/2));n&&t.push(`line-height:`+i+`px`);var a=e.get(`textShadowColor`),o=e.get(`textShadowBlur`)||0,s=e.get(`textShadowOffsetX`)||0,c=e.get(`textShadowOffsetY`)||0;return a&&o&&t.push(`text-shadow:`+s+`px `+c+`px `+o+`px `+a),F([`decoration`,`align`],function(n){var r=e.get(n);r&&t.push(`text-`+n+`:`+r)}),t.join(`;`)}function j1(e,t,n,r){var i=[],a=e.get(`transitionDuration`),o=e.get(`backgroundColor`),s=e.get(`shadowBlur`),c=e.get(`shadowColor`),l=e.get(`shadowOffsetX`),u=e.get(`shadowOffsetY`),d=e.getModel(`textStyle`),f=Ab(e,`html`),p=l+`px `+u+`px `+s+`px `+c;return i.push(`box-shadow:`+p),t&&a>0&&i.push(O1(a,n,r)),o&&i.push(`background-color:`+o),F([`width`,`color`,`radius`],function(t){var n=`border-`+t,r=Hg(n),a=e.get(r);a!=null&&i.push(n+`:`+a+(t===`color`?``:`px`))}),i.push(A1(d)),f!=null&&i.push(`padding:`+Ug(f).join(`px `)+`px`),i.join(`;`)+`;`}function M1(e,t,n,r,i){var a=t&&t.painter;if(n){var o=a&&a.getViewportRoot();o&&vt(e,o,n,r,i)}else{e[0]=r,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var N1=function(){function e(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,i.wxa)return null;var n=document.createElement(`div`);n.domBelongToZr=!0,this.el=n;var r=this._zr=e.getZr(),a=t.appendTo,o=a&&(H(a)?document.querySelector(a):me(a)?a:V(a)&&a(e.getDom()));M1(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),(o||e.getDom()).appendChild(n),this._api=e,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!s._enterable){var t=r.handler;Nt(r.painter.getViewportRoot(),e,!0),t.dispatch(`mousemove`,e)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),n=S1(t,`position`),r=t.style;r.position!==`absolute`&&n!==`absolute`&&(r.position=`relative`)}var i=e.get(`alwaysShowContent`);i&&this._moveIfResized(),this._alwaysShowContent=i,this._enableDisplayTransition=e.get(`displayTransition`)&&e.get(`transitionDuration`)>0,this.el.className=e.get(`className`)||``},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=T1+j1(e,!this._firstShow,this._longHide,this._enableDisplayTransition)+k1(i[0],i[1],!0)+(`border-color:`+Qg(t)+`;`)+(e.get(`extraCssText`)||``)+(`;pointer-events:`+(this._enterable?`auto`:`none`)):r.display=`none`,this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var a=this.el;if(e==null){a.innerHTML=``;return}var o=``;if(H(i)&&n.get(`trigger`)===`item`&&!_1(n)&&(o=D1(n,r,i)),H(e))a.innerHTML=e+o;else if(e){a.innerHTML=``,B(e)||(e=[e]);for(var s=0;s=0?this._tryShow(n,r):t===`leave`&&this._hide(r))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get(`triggerOn`);if(e.get(`trigger`)!==`axis`&&(this._lastDataByCoordSys=null,this._cbParamsList=null),this._lastX!=null&&this._lastY!=null&&r!==`none`&&r!==`click`){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,t,n,r){if(!(r.from===this.uid||i.node||!n.getDom())){var a=V1(r,n);this._ticket=``;var o=r.dataByCoordSys,s=K1(r,t,n);if(s){var c=s.el.getBoundingRect().clone();c.applyTransform(s.el.transform),this._tryShow({offsetX:c.x+c.width/2,offsetY:c.y+c.height/2,target:s.el,position:r.position,positionDefault:`bottom`},a)}else if(r.tooltip&&r.x!=null&&r.y!=null){var l=R1;l.x=r.x,l.y=r.y,l.update(),Z(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},a)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},a);else if(r.seriesIndex!=null){if(this._manuallyAxisShowTip(e,t,n,r))return;var u=UY(r,t),d=u.point[0],f=u.point[1];d!=null&&f!=null&&this._tryShow({offsetX:d,offsetY:f,target:u.el,position:r.position,positionDefault:`bottom`},a)}else r.x!=null&&r.y!=null&&(n.dispatchAction({type:`updateAxisPointer`,x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},a))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get(`hideDelay`)),this._lastX=this._lastY=this._lastDataByCoordSys=null,this._cbParamsList=null,r.from!==this.uid&&this._hide(V1(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,a=r.dataIndex,o=t.getComponent(`axisPointer`).coordSysAxesInfo;if(!(i==null||a==null||o==null)){var s=t.getSeriesByIndex(i);if(s&&B1([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel).get(`trigger`)===`axis`)return n.dispatchAction({type:`updateAxisPointer`,seriesIndex:i,dataIndex:a,position:r.position}),!0}},t.prototype._tryShow=function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,e);else if(n){if(Z(n).ssrType===`legend`)return;this._lastDataByCoordSys=null,this._cbParamsList=null;var i,a;Xx(n,function(e){if(e.tooltipDisabled)return i=a=null,!0;i||a||(Z(e).dataIndex==null?Z(e).tooltipConfig!=null&&(a=e):i=e)},!0),i?this._showSeriesItemTooltip(e,i,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._cbParamsList=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get(`showDelay`);t=R(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],a=B1([t.tooltipOption],r),o=this._renderMode,s=[],c=gb(`section`,{blocks:[],noHeader:!0}),l=[],u=new jb;F(e,function(e){F(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+`Axis`,e.axisIndex),i=e.value,a=t.axis,d=a.scale.parse(i);if(!(!t||i==null)){var f=bY(i,a,n,e.seriesDataIndices,e.valueLabelOpt),p=gb(`section`,{header:f,noHeader:!we(f),sortBlocks:!0,blocks:[]});c.blocks.push(p),F(e.seriesDataIndices,function(i){var a=n.getSeriesByIndex(i.seriesIndex),c=i.dataIndexInside,m=a.getDataParams(c);if(!(m.dataIndex<0)){m.axisDim=e.axisDim,m.axisIndex=e.axisIndex,m.axisType=e.axisType,m.axisId=e.axisId,m.axisValue=rD(t.axis,{value:d}),m.axisValueLabel=f,m.marker=u.makeTooltipMarker(`item`,Qg(m.color),o);var h=Ey(a.formatTooltip(c,!0,null)),g=h.frag;if(g){var _=B1([a],r).get(`valueFormatter`);p.blocks.push(_?M({valueFormatter:_},g):g)}h.text&&l.push(h.text),s.push(m)}})}})}),c.blocks.reverse(),l.reverse();var d=t.position,f=Sb(c,u,o,a.get(`order`),n.get(`useUTC`),a.get(`textStyle`));f&&l.unshift(f);var p=o===`richText`?` + +`:`
`,m=l.join(p);this._showOrMove(a,function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(a,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(a,m,s,Math.random()+``,i[0],i[1],d,null,u)})},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=Z(t),a=i.seriesIndex,o=r.getSeriesByIndex(a),s=i.dataModel||o,c=i.dataIndex,l=i.dataType,u=s.getData(l),d=this._renderMode,f=e.positionDefault,p=B1([u.getItemModel(c),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),m=p.get(`trigger`);if(!(m!=null&&m!==`item`)){var h=s.getDataParams(c,l),g=new jb;h.marker=g.makeTooltipMarker(`item`,Qg(h.color),d);var _=Ey(s.formatTooltip(c,!1,l)),v=p.get(`order`),y=p.get(`valueFormatter`),b=_.frag,x=b?Sb(y?M({valueFormatter:y},b):b,g,d,v,r.get(`useUTC`),p.get(`textStyle`)):_.text,S=`item_`+s.name+`_`+c;this._showOrMove(p,function(){this._showTooltipContent(p,x,h,S,e.offsetX,e.offsetY,e.position,e.target,g)}),n({type:`showTip`,dataIndexInside:c,dataIndex:u.getRawIndex(c),seriesIndex:a,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r=this._renderMode===`html`,i=Z(t),a=i.tooltipConfig.option||{},o=a.encodeHTMLContent;if(H(a)){var s=a;a={content:s,formatter:s},o=!0}o&&r&&a.content&&(a=A(a),a.content=Et(a.content));var c=[a],l=this._ecModel.getComponent(i.componentMainType,i.componentIndex);l&&c.push(l),c.push({formatter:a.content});var u=e.positionDefault,d=B1(c,this._tooltipModel,u?{position:u}:null),f=d.get(`content`),p=Math.random()+``,m=new jb;this._showOrMove(d,function(){var n=A(d.get(`formatterParams`)||{});this._showTooltipContent(d,f,n,p,e.offsetX,e.offsetY,e.position,t,m)}),n({type:`showTip`,from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,a,o,s,c){if(this._ticket=``,!(!e.get(`showContent`)||!e.get(`show`))){var l=this._tooltipContent;l.setEnterable(e.get(`enterable`));var u=e.get(`formatter`);o=o||e.get(`position`);var d=t,f=this._getNearestPoint([i,a],n,e.get(`trigger`),e.get(`borderColor`),e.get(`defaultBorderColor`,!0)).color;if(u)if(H(u)){var p=e.ecModel.get(`useUTC`),m=B(n)?n[0]:n,h=m&&m.axisType&&m.axisType.indexOf(`time`)>=0;d=u,h&&(d=Sg(m.axisValue,d,p)),d=qg(d,n,!0)}else if(V(u)){var g=R(function(t,r){t===this._ticket&&(l.setContent(r,c,e,f,o),this._updatePosition(e,o,i,a,l,n,s))},this);this._ticket=r,d=u(n,r,g)}else d=u;l.setContent(d,c,e,f,o),l.show(e,f),this._updatePosition(e,o,i,a,l,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r,i){if(n===`axis`||B(t))return{color:r||i};if(!B(t))return{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,a,o){var s=this._api.getWidth(),c=this._api.getHeight();t=t||e.get(`position`);var l=i.getSize(),u=e.get(`align`),d=e.get(`verticalAlign`),f=o&&o.getBoundingRect().clone();if(o&&f.applyTransform(o.transform),V(t)&&(t=t([n,r],a,i.el,f,{viewSize:[s,c],contentSize:l.slice()})),B(t))n=X(t[0],s),r=X(t[1],c);else if(U(t)){var p=t;p.width=l[0],p.height=l[1];var m=v_(p,{width:s,height:c});n=m.x,r=m.y,u=null,d=null}else if(H(t)&&o){var h=W1(t,f,l,e.get(`borderWidth`));n=h[0],r=h[1]}else{var h=H1(n,r,i,s,c,u?null:20,d?null:20);n=h[0],r=h[1]}if(u&&(n-=G1(u)?l[0]/2:u===`right`?l[0]:0),d&&(r-=G1(d)?l[1]/2:d===`bottom`?l[1]:0),_1(e)){var h=U1(n,r,i,s,c);n=h[0],r=h[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&F(n,function(n,a){var o=n.dataByAxis||[],s=(e[a]||{}).dataByAxis||[];i=i&&o.length===s.length,i&&F(o,function(e,n){var a=s[n]||{},o=e.seriesDataIndices||[],c=a.seriesDataIndices||[];i=i&&e.value===a.value&&e.axisType===a.axisType&&e.axisId===a.axisId&&o.length===c.length,i&&F(o,function(e,t){var n=c[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}),r&&F(e.seriesDataIndices,function(e){var n=e.seriesIndex,a=t[n],o=r[n];a&&o&&o.data!==a.data&&(i=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,this._cbParamsList=null,e({type:`hideTip`,from:this.uid})},t.prototype.dispose=function(e,t){i.node||!t.getDom()||(sx(this,`_updatePosition`),this._tooltipContent.dispose(),VY(`itemTooltip`,t),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},t.type=`tooltip`,t}(Kb);function B1(e,t,n){var r=t.ecModel,i;n?(i=new Ph(n,r,r),i=new Ph(t.option,i,r)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof Ph&&(o=o.get(`tooltip`,!0)),H(o)&&(o={formatter:o}),o&&(i=new Ph(o,i,r)))}return i}function V1(e,t){return e.dispatchAction||R(t.dispatchAction,t)}function H1(e,t,n,r,i,a,o){var s=n.getSize(),c=s[0],l=s[1];return a!=null&&(e+c+a+2>r?e-=c+a:e+=a),o!=null&&(t+l+o>i?t-=l+o:t+=o),[e,t]}function U1(e,t,n,r,i){var a=n.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,r)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function W1(e,t,n,r){var i=n[0],a=n[1],o=Math.ceil(Math.SQRT2*r)+8,s=0,c=0,l=t.width,u=t.height;switch(e){case`inside`:s=t.x+l/2-i/2,c=t.y+u/2-a/2;break;case`top`:s=t.x+l/2-i/2,c=t.y-a-o;break;case`bottom`:s=t.x+l/2-i/2,c=t.y+u+o;break;case`left`:s=t.x-i-o,c=t.y+u/2-a/2;break;case`right`:s=t.x+l+o,c=t.y+u/2-a/2}return[s,c]}function G1(e){return e===`center`||e===`middle`}function K1(e,t,n){var r=Zs(e).queryOptionMap,i=r.keys()[0];if(!(!i||i===`series`)){var a=ec(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a){var o=n.getViewOfComponentModel(a),s;if(o.group.traverse(function(t){var n=Z(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0}),s)return{componentMainType:i,componentIndex:a.componentIndex,el:s}}}}function q1(e){hO(nX),e.registerComponentModel(g1),e.registerComponentView(z1),e.registerAction({type:`showTip`,event:`showTip`,update:`tooltip:manuallyShowTip`},Fe),e.registerAction({type:`hideTip`,event:`hideTip`,update:`tooltip:manuallyHideTip`},Fe)}var J1=[`rect`,`polygon`,`keep`,`clear`];function Y1(e,t){var n=Es(e?e.brush:[]);if(n.length){var r=[];F(n,function(e){var t=e.hasOwnProperty(`toolbox`)?e.toolbox:[];t instanceof Array&&(r=r.concat(t))});var i=e&&e.toolbox;B(i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var a=i.feature||(i.feature={}),o=a.brush||(a.brush={}),s=o.type||(o.type=[]);s.push.apply(s,r),bc(s,function(e){return e+``},null),t&&!s.length&&s.push.apply(s,J1)}}var X1=F;function Z1(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function Q1(e,t,n){var r={};return X1(t,function(t){var a=r[t]=i();X1(e[t],function(e,r){if(CB.isValidType(r)){var i={type:r,visual:e};n&&n(i,t),a[r]=new CB(i),r===`opacity`&&(i=A(i),i.type=`colorAlpha`,a.__hidden.__alphaForOpacity=new CB(i))}})}),r;function i(){var e=function(){};return e.prototype.__hidden=e.prototype,new e}}function $1(e,t,n){var r;F(n,function(e){t.hasOwnProperty(e)&&Z1(t[e])&&(r=!0)}),r&&F(n,function(n){t.hasOwnProperty(n)&&Z1(t[n])?e[n]=A(t[n]):delete e[n]})}function e0(e,t,n,r,i,a){var o={};F(e,function(e){o[e]=CB.prepareVisualTypes(t[e])});var s;function c(e){return Wx(n,s,e)}function l(e,t){Kx(n,s,e,t)}a==null?n.each(u):n.each([a],u);function u(e,u){s=a==null?e:u;var d=n.getRawDataItem(s);if(!(d&&d.visualMap===!1))for(var f=r.call(i,e),p=t[f],m=o[f],h=0,g=m.length;ht[0][1]&&(t[0][1]=a[0]),a[1]t[1][1]&&(t[1][1]=a[1])}return t&&_0(t)}};function _0(e){return new J(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var v0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new RU(t.getZr())).on(`brush`,R(this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){l0(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:`brush`,brushId:t,areas:A(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:`brushEnd`,brushId:t,areas:A(n),$from:t})},t.type=`brush`,t}(Kb),y0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&$1(n,e,[`inBrush`,`outOfBrush`]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:this.option.defaultOutOfBrushColor},r.hasOwnProperty(`liftZ`)||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=I(e,function(e){return b0(this.option,e)},this))},t.prototype.setBrushOption=function(e){this.brushOption=b0(this.option,e),this.brushType=this.brushOption.brushType},t.type=`brush`,t.dependencies=[`geo`,`grid`,`xAxis`,`yAxis`,`parallel`,`series`],t.defaultOption={seriesIndex:`all`,brushType:`rect`,brushMode:`single`,transformable:!0,brushStyle:{borderWidth:1,color:Q.color.backgroundTint,borderColor:Q.color.borderTint},throttleType:`fixRate`,throttleDelay:0,removeOnClick:!0,z:1e4,defaultOutOfBrushColor:Q.color.disabled},t}(k_);function b0(e,t){return j({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Ph(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var x0=[`rect`,`polygon`,`lineX`,`lineY`,`keep`,`clear`],S0=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(e,t,n){var r,i,a;t.eachComponent({mainType:`brush`},function(e){r=e.brushType,i=e.brushOption.brushMode||`single`,a=a||!!e.areas.length}),this._brushType=r,this._brushMode=i,F(e.get(`type`,!0),function(t){e.setIconStatus(t,(t===`keep`?i===`multiple`:t===`clear`?a:t===r)?`emphasis`:`normal`)})},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get(`icon`,!0),n={};return F(e.get(`type`,!0),function(e){t[e]&&(n[e]=t[e])}),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;n===`clear`?(t.dispatchAction({type:`axisAreaSelect`,intervals:[]}),t.dispatchAction({type:`brush`,command:`clear`,areas:[]})):t.dispatchAction({type:`takeGlobalCursor`,key:`brush`,brushOption:{brushType:n===`keep`?r:r===n?!1:n,brushMode:n===`keep`?i===`multiple`?`single`:`multiple`:i}})},t.getDefaultOption=function(e){return{show:!0,type:x0.slice(),icon:{rect:`M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13`,polygon:`M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2`,lineX:`M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4`,lineY:`M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4`,keep:`M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z`,clear:`M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2`},title:e.getLocaleModel().get([`toolbox`,`brush`,`title`])}},t}(f$);function C0(e){e.registerComponentView(v0),e.registerComponentModel(y0),e.registerPreprocessor(Y1),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,u0),e.registerAction({type:`brush`,event:`brush`,update:`updateVisual`},function(e,t){t.eachComponent({mainType:`brush`,query:e},function(t){t.setAreas(e.areas)})}),e.registerAction({type:`brushSelect`,event:`brushSelected`,update:`none`},Fe),e.registerAction({type:`brushEnd`,event:`brushEnd`,update:`none`},Fe),m$(`brush`,S0)}var w0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:`box`,ignoreSize:!0},n}return t.type=`title`,t.defaultOption={z:6,show:!0,text:``,target:`blank`,subtext:``,subtarget:`blank`,left:`center`,top:Q.size.m,backgroundColor:Q.color.transparent,borderColor:Q.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:`bold`,color:Q.color.primary},subtextStyle:{fontSize:12,color:Q.color.quaternary}},t}(k_),T0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get(`show`)){var r=this.group,i=e.getModel(`textStyle`),a=e.getModel(`subtextStyle`),o=e.get(`textAlign`),s=W(e.get(`textBaseline`),e.get(`textVerticalAlign`)),c=new Xu({style:dh(i,{text:e.get(`text`),fill:i.getTextColor()},{disableBox:!0}),z2:10}),l=c.getBoundingRect(),u=e.get(`subtext`),d=new Xu({style:dh(a,{text:u,fill:a.getTextColor(),y:l.height+e.get(`itemGap`),verticalAlign:`top`},{disableBox:!0}),z2:10}),f=e.get(`link`),p=e.get(`sublink`),m=e.get(`triggerEvent`,!0);c.silent=!f&&!m,d.silent=!p&&!m,f&&c.on(`click`,function(){$g(f,`_`+e.get(`target`))}),p&&d.on(`click`,function(){$g(p,`_`+e.get(`subtarget`))}),Z(c).eventData=Z(d).eventData=m?{componentType:`title`,componentIndex:e.componentIndex}:null,r.add(c),u&&r.add(d);var h=r.getBoundingRect(),g=e.getBoxLayoutParams();g.width=h.width,g.height=h.height;var _=v_(g,x_(e,n).refContainer,e.get(`padding`));o||(o=e.get(`left`)||e.get(`right`),o===`middle`&&(o=`center`),o===`right`?_.x+=_.width:o===`center`&&(_.x+=_.width/2)),s||(s=e.get(`top`)||e.get(`bottom`),s===`center`&&(s=`middle`),s===`bottom`?_.y+=_.height:s===`middle`&&(_.y+=_.height/2),s=s||`top`),r.x=_.x,r.y=_.y,r.markRedraw();var v={align:o,verticalAlign:s};c.setStyle(v),d.setStyle(v),h=r.getBoundingRect();var y=_.margin,b=e.getItemStyle([`color`,`opacity`]);b.fill=e.get(`backgroundColor`);var x=new Gu({shape:{x:h.x-y[3],y:h.y-y[0],width:h.width+y[1]+y[3],height:h.height+y[0]+y[2],r:e.get(`borderRadius`)},style:b,subPixelOptimize:!0,silent:!0});r.add(x)}},t.type=`title`,t}(Kb);function E0(e){e.registerComponentModel(w0),e.registerComponentView(T0)}var D0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode=`box`,n}return t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){e??(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e=this.option,t=e.data||[],n=e.axisType,r=this._names=[],i;n===`category`?(i=[],F(t,function(e,t){var n=Bs(ks(e),``),a;U(e)?(a=A(e),a.value=t):a=t,i.push(a),r.push(n)})):i=t;var a={category:`ordinal`,time:`time`,value:`number`}[n]||`number`;(this._data=new PT([{name:`value`,type:a}],this)).initData(i,r)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get(`axisType`)===`category`)return this._names.slice()},t.type=`timeline`,t.defaultOption={z:4,show:!0,axisType:`time`,realtime:!0,left:`20%`,top:null,right:`20%`,bottom:0,width:null,height:40,padding:Q.size.m,controlPosition:`left`,autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:Q.color.secondary},data:[]},t}(k_),O0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`timeline.slider`,t.defaultOption=zh(D0.defaultOption,{backgroundColor:`rgba(0,0,0,0)`,borderColor:Q.color.border,borderWidth:0,orient:`horizontal`,inverse:!1,tooltip:{trigger:`item`},symbol:`circle`,symbolSize:12,lineStyle:{show:!0,width:2,color:Q.color.accent10},label:{position:`auto`,show:!0,interval:`auto`,rotate:0,color:Q.color.tertiary},itemStyle:{color:Q.color.accent20,borderWidth:0},checkpointStyle:{symbol:`circle`,symbolSize:15,color:Q.color.accent50,borderColor:Q.color.accent50,borderWidth:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:`rgba(0, 0, 0, 0)`,animation:!0,animationDuration:300,animationEasing:`quinticInOut`},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:`left`,playIcon:`path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10.6699C11.5 9.90014 12.3333 9.41887 13 9.80371L20.5 14.1338C21.1667 14.5187 21.1667 15.4813 20.5 15.8662L13 20.1963C12.3333 20.5811 11.5 20.0999 11.5 19.3301V10.6699Z`,stopIcon:`path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10C12.3284 10 13 10.6716 13 11.5V18.5C13 19.3284 12.3284 20 11.5 20C10.6716 20 10 19.3284 10 18.5V11.5C10 10.6716 10.6716 10 11.5 10ZM18.5 10C19.3284 10 20 10.6716 20 11.5V18.5C20 19.3284 19.3284 20 18.5 20C17.6716 20 17 19.3284 17 18.5V11.5C17 10.6716 17.6716 10 18.5 10Z`,nextIcon:`path://M0.838834 18.7383C0.253048 18.1525 0.253048 17.2028 0.838834 16.617L7.55635 9.89949L0.838834 3.18198C0.253048 2.59619 0.253048 1.64645 0.838834 1.06066C1.42462 0.474874 2.37437 0.474874 2.96015 1.06066L10.7383 8.83883L10.8412 8.95277C11.2897 9.50267 11.2897 10.2963 10.8412 10.8462L10.7383 10.9602L2.96015 18.7383C2.37437 19.3241 1.42462 19.3241 0.838834 18.7383Z`,prevIcon:`path://M10.9602 1.06066C11.5459 1.64645 11.5459 2.59619 10.9602 3.18198L4.24264 9.89949L10.9602 16.617C11.5459 17.2028 11.5459 18.1525 10.9602 18.7383C10.3744 19.3241 9.42462 19.3241 8.83883 18.7383L1.06066 10.9602L0.957771 10.8462C0.509245 10.2963 0.509245 9.50267 0.957771 8.95277L1.06066 8.83883L8.83883 1.06066C9.42462 0.474874 10.3744 0.474874 10.9602 1.06066Z`,prevBtnSize:18,nextBtnSize:18,color:Q.color.accent50,borderColor:Q.color.accent50,borderWidth:0},emphasis:{label:{show:!0,color:Q.color.accent60},itemStyle:{color:Q.color.accent60,borderColor:Q.color.accent60},controlStyle:{color:Q.color.accent70,borderColor:Q.color.accent70}},progress:{lineStyle:{color:Q.color.accent30},itemStyle:{color:Q.color.accent40}},data:[]}),t}(D0);ie(O0,Ty.prototype);var k0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`timeline`,t}(Kb),A0=function(e){n(t,e);function t(t,n,r,i){var a=e.call(this,t,n,r)||this;return a.type=i||`value`,a}return t.prototype.getLabelModel=function(){return this.model.getModel(`label`)},t.prototype.isHorizontal=function(){return this.model.get(`orient`)===`horizontal`},t}(uk),j0=Math.PI,M0=Js(),N0=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get(`show`,!0)){var r=this._layout(e,n),i=this._createGroup(`_mainGroup`),a=this._createGroup(`_labelGroup`),o=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){return gb(`nameValue`,{noName:!0,value:o.scale.getLabel({value:e})})},F([`AxisLine`,`AxisTick`,`Control`,`CurrentPointer`],function(t){this[`_render`+t](r,i,o,e)},this),this._renderAxisLabel(r,a,o,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n=e.get([`label`,`position`]),r=e.get(`orient`),i=P0(e,t),a=n==null||n===`auto`?r===`horizontal`?i.y+i.height/2=0||a===`+`?`left`:`right`},s={horizontal:a>=0||a===`+`?`top`:`bottom`,vertical:`middle`},c={horizontal:0,vertical:j0/2},l=r===`vertical`?i.height:i.width,u=e.getModel(`controlStyle`),d=u.get(`show`,!0),f=d?u.get(`itemSize`):0,p=d?u.get(`itemGap`):0,m=f+p,h=e.get([`label`,`rotate`])||0;h=h*j0/180;var g,_,v,y=u.get(`position`,!0),b=d&&u.get(`showPlayBtn`,!0),x=d&&u.get(`showPrevBtn`,!0),S=d&&u.get(`showNextBtn`,!0),C=0,w=l;y===`left`||y===`bottom`?(b&&(g=[0,0],C+=m),x&&(_=[C,0],C+=m),S&&(v=[w-f,0],w-=m)):(b&&(g=[w-f,0],w-=m),x&&(_=[0,0],C+=m),S&&(v=[w-f,0],w-=m));var T=[C,w];return e.get(`inverse`)&&T.reverse(),{viewRect:i,mainLength:l,orient:r,rotation:c[r],labelRotation:h,labelPosOpt:a,labelAlign:e.get([`label`,`align`])||o[r],labelBaseline:e.get([`label`,`verticalAlign`])||e.get([`label`,`baseline`])||s[r],playPosition:g,prevBtnPosition:_,nextBtnPosition:v,axisExtent:T,controlSize:f,controlGap:p}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if(e.orient===`vertical`){var a=Wt(),o=i.x,s=i.y+i.height;Jt(a,a,[-o,-s]),Yt(a,a,-j0/2),Jt(a,a,[o,s]),i=i.clone(),i.applyTransform(a)}var c=g(i),l=g(n.getBoundingRect()),u=g(r.getBoundingRect()),d=[n.x,n.y],f=[r.x,r.y];f[0]=d[0]=c[0][0];var p=e.labelPosOpt;if(p==null||H(p)){var m=p===`+`?0:1;_(d,l,c,1,m),_(f,u,c,1,1-m)}else{var m=p>=0?0:1;_(d,l,c,1,m),f[1]=d[1]+p}n.setPosition(d),r.setPosition(f),n.rotation=r.rotation=e.rotation,h(n),h(r);function h(e){e.originX=c[0][0]-e.x,e.originY=c[1][0]-e.y}function g(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function _(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get(`axisType`)||t.get(`type`);r!==`category`&&r!==`time`&&(r=`value`);var i=QE(t,r,!1);i.getTicks=function(){return n.mapArray([`value`],function(e){return{value:e}})};var a=n.getDataExtent(`value`);i.setExtent(a[0],a[1]),aO(i,{fixMinMax:[!0,!0]});var o=new A0(`value`,i,e.axisExtent,r);return o.model=t,o},t.prototype._createGroup=function(e){var t=this[e]=new Y;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var i=n.getExtent();if(r.get([`lineStyle`,`show`])){var a=new Np({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:M({lineCap:`round`},r.getModel(`lineStyle`).getLineStyle()),silent:!0,z2:1});t.add(a);var o=this._progressLine=new Np({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:N({lineCap:`round`,lineWidth:a.style.lineWidth},r.getModel([`progress`,`lineStyle`]).getLineStyle()),silent:!0,z2:1});t.add(o)}},t.prototype._renderAxisTick=function(e,t,n,r){var i=this,a=r.getData(),o=n.scale.getTicks();this._tickSymbols=[],F(o,function(e){var o=n.dataToCoord(e.value),s=a.getItemModel(e.value),c=s.getModel(`itemStyle`),l=s.getModel([`emphasis`,`itemStyle`]),u=s.getModel([`progress`,`itemStyle`]),d=I0(s,c,t,{x:o,y:0,onclick:R(i._changeTimeline,i,e.value)});d.ensureState(`emphasis`).style=l.getItemStyle(),d.ensureState(`progress`).style=u.getItemStyle(),yf(d);var f=Z(d);s.get(`tooltip`)?(f.dataIndex=e.value,f.dataModel=r):f.dataIndex=f.dataModel=null,i._tickSymbols.push(d)})},t.prototype._renderAxisLabel=function(e,t,n,r){var i=this;if(n.getLabelModel().get(`show`)){var a=r.getData(),o=n.getViewLabels();this._tickLabels=[],F(o,function(r){if(!r.tick.offInterval){var o=r.tick.value,s=a.getItemModel(o),c=s.getModel(`label`),l=s.getModel([`emphasis`,`label`]),u=s.getModel([`progress`,`label`]),d=new Xu({x:n.dataToCoord(o),y:0,rotation:e.labelRotation-e.rotation,onclick:R(i._changeTimeline,i,o),silent:!1,style:dh(c,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});d.ensureState(`emphasis`).style=dh(l),d.ensureState(`progress`).style=dh(u),t.add(d),yf(d),M0(d).dataIndex=o,i._tickLabels.push(d)}})}},t.prototype._renderControl=function(e,t,n,r){var i=e.controlSize,a=e.rotation,o=r.getModel(`controlStyle`).getItemStyle(),s=r.getModel([`emphasis`,`controlStyle`]).getItemStyle(),c=r.getPlayState(),l=r.get(`inverse`,!0);u(e.nextBtnPosition,`next`,R(this._changeTimeline,this,l?`-`:`+`)),u(e.prevBtnPosition,`prev`,R(this._changeTimeline,this,l?`+`:`-`)),u(e.playPosition,c?`stop`:`play`,R(this._handlePlayClick,this,!c),!0);function u(e,n,c,l){if(e){var u=Ga(W(r.get([`controlStyle`,n+`BtnSize`]),i),i),d=[0,-u/2,u,u],f=F0(r,n+`Icon`,d,{x:e[0],y:e[1],originX:i/2,originY:0,rotation:l?-a:0,rectHover:!0,style:o,onclick:c});f.ensureState(`emphasis`).style=s,t.add(f),yf(f)}}},t.prototype._renderCurrentPointer=function(e,t,n,r){var i=r.getData(),a=r.getCurrentIndex(),o=i.getItemModel(a).getModel(`checkpointStyle`),s=this,c={onCreate:function(e){e.draggable=!0,e.drift=R(s._handlePointerDrag,s),e.ondragend=R(s._handlePointerDragend,s),L0(e,s._progressLine,a,n,r,!0)},onUpdate:function(e){L0(e,s._progressLine,a,n,r)}};this._currentPointer=I0(o,o,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:`timelinePlayChange`,playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=qo(r.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(s[o]=+s[o].toFixed(f)),[s,d]}var Q0={min:z(Z0,`min`),max:z(Z0,`max`),average:z(Z0,`average`),median:z(Z0,`median`)};function $0(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!X0(t)&&!B(t.coord)&&B(i)){var a=e2(t,n,r,e);if(t=A(t),t.type&&Q0[t.type]&&a.baseAxis&&a.valueAxis){var o=P(i,a.baseAxis.dim),s=P(i,a.valueAxis.dim),c=Q0[t.type](n,a.valueAxis.dim,a.baseDataDim,a.valueDataDim,o,s);t.coord=c[0],t.value=c[1]}else t.coord=[t.xAxis==null?t.radiusAxis:t.xAxis,t.yAxis==null?t.angleAxis:t.yAxis]}if(t.coord==null||!B(i)){t.coord=[];var l=e.getBaseAxis();if(l&&t.type&&Q0[t.type]){var u=r.getOtherAxis(l);u&&(t.value=a2(n,n.mapDimension(u.dim),t.type))}}else for(var d=t.coord,f=0;f<2;f++)Q0[d[f]]&&(d[f]=a2(n,n.mapDimension(i[f]),d[f]));return t}}function e2(e,t,n,r){var i={};return e.valueIndex!=null||e.valueDim!=null?(i.valueDataDim=e.valueIndex==null?e.valueDim:t.getDimension(e.valueIndex),i.valueAxis=n.getAxis(t2(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function t2(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function n2(e,t){return e&&e.containData&&t.coord&&!Y0(t)?e.containData(t.coord):!0}function r2(e,t,n){return e&&e.containZone&&t.coord&&n.coord&&!Y0(t)&&!Y0(n)?e.containZone(t.coord,n.coord):!0}function i2(e,t){return e?function(e,n,r,i){return Ay(i<2?e.coord&&e.coord[i]:e.value,t[i])}:function(e,n,r,i){return Ay(e.value,t[i])}}function a2(e,t,n){if(n===`average`){var r=0,i=0;return e.each(t,function(e,t){isNaN(e)||(r+=e,i++)}),r/i}else if(n===`median`)return e.getMedian(t);else return e.getDataExtent(t)[+(n===`max`)]}var o2=Js(),s2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this.markerGroupMap=G()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each(function(e){o2(e).keep=!1}),t.eachSeries(function(e){var i=q0.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)}),i.each(function(e){!o2(e).keep&&r.group.remove(e.group)}),c2(t,i,this.type)},t.prototype.markKeep=function(e){o2(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;F(e,function(e){var r=q0.getMarkerModelFromSeries(e,n.type);r&&r.getData().eachItemGraphicEl(function(e){e&&(t?rf(e):af(e))})})},t.type=`marker`,t}(Kb);function c2(e,t,n){e.eachSeries(function(e){var r=q0.getMarkerModelFromSeries(e,n),i=t.get(e.id);if(r&&i&&i.group){var a=Qm(r),o=a.z,s=a.zlevel;eh(i.group,o,s)}})}function l2(e,t,n){var r=t.coordinateSystem,i=n.getWidth(),a=n.getHeight(),o=r&&r.getArea&&r.getArea();e.each(function(n){var s=e.getItemModel(n),c=s.get(`relativeTo`)===`coordinate`,l=c?o?o.width:0:i,u=c?o?o.height:0:a,d=c&&o?o.x:0,f=c&&o?o.y:0,p,m=X(s.get(`x`),l)+d,h=X(s.get(`y`),u)+f;if(!isNaN(m)&&!isNaN(h))p=[m,h];else if(t.getMarkerPosition)p=t.getMarkerPosition(e.getValues(e.dimensions,n));else if(r){var g=e.get(r.dimensions[0],n),_=e.get(r.dimensions[1],n);p=r.dataToPoint([g,_])}isNaN(m)||(p[0]=m),isNaN(h)||(p[1]=h),e.setItemLayout(n,p)})}var u2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=q0.getMarkerModelFromSeries(e,`markPoint`);t&&(l2(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())},this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,a=e.id,o=e.getData(),s=this.markerGroupMap,c=s.get(a)||s.set(a,new TA),l=d2(i,e,t);t.setData(l),l2(t.getData(),e,r),l.each(function(e){var n=l.getItemModel(e),r=n.getShallow(`symbol`),i=n.getShallow(`symbolSize`),a=n.getShallow(`symbolRotate`),s=n.getShallow(`symbolOffset`),c=n.getShallow(`symbolKeepAspect`);if(V(r)||V(i)||V(a)||V(s)){var u=t.getRawValue(e),d=t.getDataParams(e);V(r)&&(r=r(u,d)),V(i)&&(i=i(u,d)),V(a)&&(a=a(u,d)),V(s)&&(s=s(u,d))}var f=n.getModel(`itemStyle`).getItemStyle(),p=n.get(`z2`),m=Gx(o,`color`);f.fill||(f.fill=m),l.setItemVisual(e,{z2:W(p,0),symbol:r,symbolSize:i,symbolRotate:a,symbolOffset:s,symbolKeepAspect:c,style:f})}),c.updateData(l),this.group.add(c.group),l.eachItemGraphicEl(function(e){e.traverse(function(e){Z(e).dataModel=t})}),this.markKeep(c),c.group.silent=t.get(`silent`)||e.get(`silent`)},t.type=`markPoint`,t}(s2);function d2(e,t,n){var r=e?I(e&&e.dimensions,function(e){var n=t.getData();return M(M({},n.getDimensionInfo(n.mapDimension(e))||{}),{name:e,ordinalMeta:null})}):[{name:`value`,type:`float`}],i=new PT(r,n),a=I(n.get(`data`),z($0,t));e&&(a=se(a,z(n2,e)));var o=i2(!!e,r);return i.initData(a,null,o),i}function f2(e){e.registerComponentModel(J0),e.registerComponentView(u2),e.registerPreprocessor(function(e){W0(e.series,`markPoint`)&&(e.markPoint=e.markPoint||{})})}var p2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type=`markLine`,t.defaultOption={z:5,symbol:[`circle`,`arrow`],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:`item`},label:{show:!0,position:`end`,distance:5},lineStyle:{type:`dashed`},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:`linear`},t}(q0),m2=Js(),h2=function(e,t,n,r){var i=e.getData(),a;if(B(r))a=r;else{var o=r.type;if(o===`min`||o===`max`||o===`average`||o===`median`||r.xAxis!=null||r.yAxis!=null){var s=void 0,c=void 0;if(r.yAxis!=null||r.xAxis!=null)s=t.getAxis(r.yAxis==null?`x`:`y`),c=ye(r.yAxis,r.xAxis);else{var l=e2(r,i,t,e);s=l.valueAxis,c=a2(i,KT(i,l.valueDataDim),o)}var u=s.dim===`x`?0:1,d=1-u,f=A(r),p={coord:[]};f.type=null,f.coord=[],f.coord[d]=-1/0,p.coord[d]=1/0;var m=n.get(`precision`);m>=0&&de(c)&&(c=+c.toFixed(Math.min(m,20))),f.coord[u]=p.coord[u]=c,a=[f,p,{type:o,valueIndex:r.valueIndex,value:c}]}else a=[]}var h=[$0(e,a[0]),$0(e,a[1]),M({},a[2])];return h[2].type=h[2].type||null,j(h[2],h[0]),j(h[2],h[1]),h};function g2(e){return!isNaN(e)&&!isFinite(e)}function _2(e,t,n,r){var i=1-e,a=r.dimensions[e];return g2(t[i])&&g2(n[i])&&t[e]===n[e]&&r.getAxis(a).containData(t[e])}function v2(e,t){if(e.type===`cartesian2d`){var n=t[0].coord,r=t[1].coord;if(n&&r&&(_2(1,n,r,e)||_2(0,n,r,e)))return!0}return n2(e,t[0])&&n2(e,t[1])}function y2(e,t,n,r,i){var a=r.coordinateSystem,o=e.getItemModel(t),s,c=X(o.get(`x`),i.getWidth()),l=X(o.get(`y`),i.getHeight());if(!isNaN(c)&&!isNaN(l))s=[c,l];else{if(r.getMarkerPosition)s=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var u=a.dimensions,d=e.get(u[0],t),f=e.get(u[1],t);s=a.dataToPoint([d,f])}if(JA(a,`cartesian2d`)){var p=a.getAxis(`x`),m=a.getAxis(`y`),u=a.dimensions;g2(e.get(u[0],t))?s[0]=p.toGlobalCoord(p.getExtent()[+!n]):g2(e.get(u[1],t))&&(s[1]=m.toGlobalCoord(m.getExtent()[+!n]))}isNaN(c)||(s[0]=c),isNaN(l)||(s[1]=l)}e.setItemLayout(t,s)}var b2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=q0.getMarkerModelFromSeries(e,`markLine`);if(t){var r=t.getData(),i=m2(t).from,a=m2(t).to;i.each(function(t){y2(i,t,!0,e,n),y2(a,t,!1,e,n)}),r.each(function(e){r.setItemLayout(e,[i.getItemLayout(e),a.getItemLayout(e)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,a=e.id,o=e.getData(),s=this.markerGroupMap,c=s.get(a)||s.set(a,new JV);this.group.add(c.group);var l=x2(i,e,t),u=l.from,d=l.to,f=l.line;m2(t).from=u,m2(t).to=d,t.setData(f);var p=t.get(`symbol`),m=t.get(`symbolSize`),h=t.get(`symbolRotate`),g=t.get(`symbolOffset`);B(p)||(p=[p,p]),B(m)||(m=[m,m]),B(h)||(h=[h,h]),B(g)||(g=[g,g]),l.from.each(function(e){_(u,e,!0),_(d,e,!1)}),f.each(function(e){var t=f.getItemModel(e),n=t.getModel(`lineStyle`).getLineStyle();f.setItemLayout(e,[u.getItemLayout(e),d.getItemLayout(e)]);var r=t.get(`z2`);n.stroke??(n.stroke=u.getItemVisual(e,`style`).fill),f.setItemVisual(e,{z2:W(r,0),fromSymbolKeepAspect:u.getItemVisual(e,`symbolKeepAspect`),fromSymbolOffset:u.getItemVisual(e,`symbolOffset`),fromSymbolRotate:u.getItemVisual(e,`symbolRotate`),fromSymbolSize:u.getItemVisual(e,`symbolSize`),fromSymbol:u.getItemVisual(e,`symbol`),toSymbolKeepAspect:d.getItemVisual(e,`symbolKeepAspect`),toSymbolOffset:d.getItemVisual(e,`symbolOffset`),toSymbolRotate:d.getItemVisual(e,`symbolRotate`),toSymbolSize:d.getItemVisual(e,`symbolSize`),toSymbol:d.getItemVisual(e,`symbol`),style:n})}),c.updateData(f),l.line.eachItemGraphicEl(function(e){Z(e).dataModel=t,e.traverse(function(e){Z(e).dataModel=t})});function _(t,n,i){var a=t.getItemModel(n);y2(t,n,i,e,r);var s=a.getModel(`itemStyle`).getItemStyle();s.fill??(s.fill=Gx(o,`color`)),t.setItemVisual(n,{symbolKeepAspect:a.get(`symbolKeepAspect`),symbolOffset:W(a.get(`symbolOffset`,!0),g[+!i]),symbolRotate:W(a.get(`symbolRotate`,!0),h[+!i]),symbolSize:W(a.get(`symbolSize`),m[+!i]),symbol:W(a.get(`symbol`,!0),p[+!i]),style:s})}this.markKeep(c),c.group.silent=t.get(`silent`)||e.get(`silent`)},t.type=`markLine`,t}(s2);function x2(e,t,n){var r=e?I(e&&e.dimensions,function(e){var n=t.getData();return M(M({},n.getDimensionInfo(n.mapDimension(e))||{}),{name:e,ordinalMeta:null})}):[{name:`value`,type:`float`}],i=new PT(r,n),a=new PT(r,n),o=new PT([],n),s=I(n.get(`data`),z(h2,t,e,n));e&&(s=se(s,z(v2,e)));var c=i2(!!e,r);return i.initData(I(s,function(e){return e[0]}),null,c),a.initData(I(s,function(e){return e[1]}),null,c),o.initData(I(s,function(e){return e[2]})),o.hasItemOption=!0,{from:i,to:a,line:o}}function S2(e){e.registerComponentModel(p2),e.registerComponentView(b2),e.registerPreprocessor(function(e){W0(e.series,`markLine`)&&(e.markLine=e.markLine||{})})}var C2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type=`markArea`,t.defaultOption={z:1,tooltip:{trigger:`item`},animation:!1,label:{show:!0,position:`top`},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:`top`}}},t}(q0),w2=Js(),T2=function(e,t,n,r){var i=r[0],a=r[1];if(!(!i||!a)){var o=$0(e,i),s=$0(e,a),c=o.coord,l=s.coord;c[0]=ye(c[0],-1/0),c[1]=ye(c[1],-1/0),l[0]=ye(l[0],1/0),l[1]=ye(l[1],1/0);var u=ee([{},o,s]);return u.coord=[o.coord,s.coord],u.x0=o.x,u.y0=o.y,u.x1=s.x,u.y1=s.y,u}};function E2(e){return!isNaN(e)&&!isFinite(e)}function D2(e,t,n,r){var i=1-e;return E2(t[i])&&E2(n[i])}function O2(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},a={coord:r,x:t.x1,y:t.y1};return JA(e,`cartesian2d`)?n&&r&&(D2(1,n,r,e)||D2(0,n,r,e))?!0:r2(e,i,a):n2(e,i)||n2(e,a)}function k2(e,t,n,r,i){var a=r.coordinateSystem,o=e.getItemModel(t),s,c=X(o.get(n[0]),i.getWidth()),l=X(o.get(n[1]),i.getHeight());if(!isNaN(c)&&!isNaN(l))s=[c,l];else{if(r.getMarkerPosition){var u=e.getValues([`x0`,`y0`],t),d=e.getValues([`x1`,`y1`],t),f=a.clampData(u),p=a.clampData(d),m=[];n[0]===`x0`?m[0]=f[0]>p[0]?d[0]:u[0]:m[0]=f[0]>p[0]?u[0]:d[0],n[1]===`y0`?m[1]=f[1]>p[1]?d[1]:u[1]:m[1]=f[1]>p[1]?u[1]:d[1],s=r.getMarkerPosition(m,n,!0)}else{var h=e.get(n[0],t),g=e.get(n[1],t),_=[h,g];a.clampData&&a.clampData(_,_),s=a.dataToPoint(_,!0)}if(JA(a,`cartesian2d`)){var v=a.getAxis(`x`),y=a.getAxis(`y`),h=e.get(n[0],t),g=e.get(n[1],t);E2(h)?s[0]=v.toGlobalCoord(v.getExtent()[n[0]===`x0`?0:1]):E2(g)&&(s[1]=y.toGlobalCoord(y.getExtent()[n[1]===`y0`?0:1]))}isNaN(c)||(s[0]=c),isNaN(l)||(s[1]=l)}return s}var A2=[[`x0`,`y0`],[`x1`,`y0`],[`x1`,`y1`],[`x0`,`y1`]],j2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=q0.getMarkerModelFromSeries(e,`markArea`);if(t){var r=t.getData();r.each(function(t){var i=I(A2,function(i){return k2(r,t,i,e,n)});r.setItemLayout(t,i),r.getItemGraphicEl(t).setShape(`points`,i)})}},this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,a=e.id,o=e.getData(),s=this.markerGroupMap,c=s.get(a)||s.set(a,{group:new Y});this.group.add(c.group),this.markKeep(c);var l=M2(i,e,t);t.setData(l),l.each(function(t){var n=I(A2,function(n){return k2(l,t,n,e,r)}),a=i.getAxis(`x`).scale,s=i.getAxis(`y`).scale,c=a.getExtent(),u=s.getExtent(),d=[a.parse(l.get(`x0`,t)),a.parse(l.get(`x1`,t))],f=[s.parse(l.get(`y0`,t)),s.parse(l.get(`y1`,t))];qo(d),qo(f);var p=c[0]>d[1]||c[1]f[1]||u[1]=0},t.prototype.getOrient=function(){return this.get(`orient`)===`vertical`?{index:1,name:`vertical`}:{index:0,name:`horizontal`}},t.type=`legend.plain`,t.dependencies=[`series`],t.defaultOption={z:4,show:!0,orient:`horizontal`,left:`center`,bottom:Q.size.m,align:`auto`,backgroundColor:Q.color.transparent,borderColor:Q.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:`inherit`,symbolKeepAspect:!0,inactiveColor:Q.color.disabled,inactiveBorderColor:Q.color.disabled,inactiveBorderWidth:`auto`,itemStyle:{color:`inherit`,opacity:`inherit`,borderColor:`inherit`,borderWidth:`auto`,borderCap:`inherit`,borderJoin:`inherit`,borderDashOffset:`inherit`,borderMiterLimit:`inherit`},lineStyle:{width:`auto`,color:`inherit`,inactiveColor:Q.color.disabled,inactiveWidth:2,opacity:`inherit`,type:`inherit`,cap:`inherit`,join:`inherit`,dashOffset:`inherit`,miterLimit:`inherit`},textStyle:{color:Q.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:`sans-serif`,color:Q.color.tertiary,borderWidth:1,borderColor:Q.color.border},emphasis:{selectorLabel:{show:!0,color:Q.color.quaternary}},selectorPosition:`auto`,selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},t}(k_),I2=z,L2=F,R2=Y,z2=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new R2),this.group.add(this._selectorGroup=new R2),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get(`show`,!0)){var i=e.get(`align`),a=e.get(`orient`);(!i||i===`auto`)&&(i=e.get(`left`)===`right`&&a===`vertical`?`right`:`left`);var o=e.get(`selector`,!0),s=e.get(`selectorPosition`,!0);o&&(!s||s===`auto`)&&(s=a===`horizontal`?`end`:`start`),this.renderInner(i,e,t,n,o,a,s);var c=x_(e,n).refContainer,l=e.getBoxLayoutParams(),u=e.get(`padding`),d=v_(l,c,u),f=this.layoutInner(e,i,d,r,o,s),p=v_(N({width:f.width,height:f.height},l),c,u);this.group.x=p.x-f.x,this.group.y=p.y-f.y,this.group.markRedraw(),this.group.add(this._backgroundEl=_$(f,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,a,o){var s=this.getContentGroup(),c=G(),l=t.get(`selectedMode`),u=t.get(`triggerEvent`),d=[];n.eachRawSeries(function(e){!e.get(`legendHoverLink`)&&d.push(e.id)}),L2(t.getData(),function(i,a){var o=this,f=i.get(`name`);if(!this.newlineDisabled&&(f===``||f===` +`)){var p=new R2;p.newline=!0,s.add(p);return}var m=n.getSeriesByName(f)[0];if(!c.get(f))if(m){var h=m.getData(),g=h.getVisual(`legendLineStyle`)||{},_=h.getVisual(`legendIcon`),v=h.getVisual(`style`),y=this._createItem(m,f,a,i,t,e,g,v,_,l,r);y.on(`click`,I2(H2,f,null,r,d)).on(`mouseover`,I2(U2,m.name,null,r,d)).on(`mouseout`,I2(W2,m.name,null,r,d)),n.ssr&&y.eachChild(function(e){var t=Z(e);t.seriesIndex=m.seriesIndex,t.dataIndex=a,t.ssrType=`legend`}),u&&y.eachChild(function(e){o.packEventData(e,t,m,a,f)}),c.set(f,!0)}else n.eachRawSeries(function(o){var s=this;if(!c.get(f)&&o.legendVisualProvider){var p=o.legendVisualProvider;if(!p.containName(f))return;var m=p.indexOfName(f),h=p.getItemVisual(m,`style`),g=p.getItemVisual(m,`legendIcon`),_=Hr(h.fill);_&&_[3]===0&&(_[3]=.2,h=M(M({},h),{fill:$r(_,`rgba`)}));var v=this._createItem(o,f,a,i,t,e,{},h,g,l,r);v.on(`click`,I2(H2,null,f,r,d)).on(`mouseover`,I2(U2,null,f,r,d)).on(`mouseout`,I2(W2,null,f,r,d)),n.ssr&&v.eachChild(function(e){var t=Z(e);t.seriesIndex=o.seriesIndex,t.dataIndex=a,t.ssrType=`legend`}),u&&v.eachChild(function(e){s.packEventData(e,t,o,a,f)}),c.set(f,!0)}},this)},this),i&&this._createSelector(i,t,r,a,o)},t.prototype.packEventData=function(e,t,n,r,i){var a={componentType:`legend`,componentIndex:t.componentIndex,dataIndex:r,value:i,seriesIndex:n.seriesIndex};Z(e).eventData=a},t.prototype._createSelector=function(e,t,n,r,i){var a=this.getSelectorGroup();L2(e,function(e){var r=e.type,i=new Xu({style:{x:0,y:0,align:`center`,verticalAlign:`middle`},onclick:function(){n.dispatchAction({type:r===`all`?`legendAllSelect`:`legendInverseSelect`,legendId:t.id})}});a.add(i),lh(i,{normal:t.getModel(`selectorLabel`),emphasis:t.getModel([`emphasis`,`selectorLabel`])},{defaultText:e.title}),yf(i)})},t.prototype._createItem=function(e,t,n,r,i,a,o,s,c,l,u){var d=e.visualDrawType,f=i.get(`itemWidth`),p=i.get(`itemHeight`),m=i.isSelected(t),h=r.get(`symbolRotate`),g=r.get(`symbolKeepAspect`),_=r.get(`icon`);c=_||c||`roundRect`;var v=B2(c,r,o,s,d,m,u),y=new R2,b=r.getModel(`textStyle`);if(V(e.getLegendIcon)&&(!_||_===`inherit`))y.add(e.getLegendIcon({itemWidth:f,itemHeight:p,icon:c,iconRotate:h,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:g}));else{var x=_===`inherit`&&e.getData().getVisual(`symbol`)?h===`inherit`?e.getData().getVisual(`symbolRotate`):h:0;y.add(V2({itemWidth:f,itemHeight:p,icon:c,iconRotate:x,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:g}))}var S=a===`left`?f+5:-5,C=a,w=i.get(`formatter`),T=t;H(w)&&w?T=w.replace(`{name}`,t??``):V(w)&&(T=w(t));var E=m?b.getTextColor():r.get(`inactiveColor`);y.add(new Xu({style:dh(b,{text:T,x:S,y:p/2,fill:E,align:C,verticalAlign:`middle`},{inheritColor:E})}));var D=new Gu({shape:y.getBoundingRect(),style:{fill:`transparent`}}),O=r.getModel(`tooltip`);return O.get(`show`)&&Gm({el:D,componentModel:i,itemName:t,itemTooltipOption:O.option}),y.add(D),y.eachChild(function(e){e.silent=!0}),D.silent=!l,this.getContentGroup().add(y),yf(y),y.__legendDataIndex=n,y},t.prototype.layoutInner=function(e,t,n,r,i,a){var o=this.getContentGroup(),s=this.getSelectorGroup();m_(e.get(`orient`),o,e.get(`itemGap`),n.width,n.height);var c=o.getBoundingRect(),l=[-c.x,-c.y];if(s.markRedraw(),o.markRedraw(),i){m_(`horizontal`,s,e.get(`selectorItemGap`,!0));var u=s.getBoundingRect(),d=[-u.x,-u.y],f=e.get(`selectorButtonGap`,!0),p=e.getOrient().index,m=p===0?`width`:`height`,h=p===0?`height`:`width`,g=p===0?`y`:`x`;a===`end`?d[p]+=c[m]+f:l[p]+=u[m]+f,d[1-p]+=c[h]/2-u[h]/2,s.x=d[0],s.y=d[1],o.x=l[0],o.y=l[1];var _={x:0,y:0};return _[m]=c[m]+f+u[m],_[h]=Math.max(c[h],u[h]),_[g]=Math.min(0,u[g]+d[1-p]),_}else return o.x=l[0],o.y=l[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type=`legend.plain`,t}(Kb);function B2(e,t,n,r,i,a,o){function s(e,t){e.lineWidth===`auto`&&(e.lineWidth=t.lineWidth>0?2:0),L2(e,function(n,r){e[r]===`inherit`&&(e[r]=t[r])})}var c=t.getModel(`itemStyle`),l=c.getItemStyle(),u=e.lastIndexOf(`empty`,0)===0?`fill`:`stroke`,d=c.getShallow(`decal`);l.decal=!d||d===`inherit`?r.decal:sC(d,o),l.fill===`inherit`&&(l.fill=r[i]),l.stroke===`inherit`&&(l.stroke=r[u]),l.opacity===`inherit`&&(l.opacity=(i===`fill`?r:n).opacity),s(l,r);var f=t.getModel(`lineStyle`),p=f.getLineStyle();if(s(p,n),l.fill===`auto`&&(l.fill=r.fill),l.stroke===`auto`&&(l.stroke=r.fill),p.stroke===`auto`&&(p.stroke=r.fill),!a){var m=t.get(`inactiveBorderWidth`),h=l[u];l.lineWidth=m===`auto`?r.lineWidth>0&&h?2:0:l.lineWidth,l.fill=t.get(`inactiveColor`),l.stroke=t.get(`inactiveBorderColor`),p.stroke=f.get(`inactiveColor`),p.lineWidth=f.get(`inactiveWidth`)}return{itemStyle:l,lineStyle:p}}function V2(e){var t=e.icon||`roundRect`,n=vS(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf(`empty`)>-1&&(n.style.stroke=n.style.fill,n.style.fill=Q.color.neutral00,n.style.lineWidth=2),n}function H2(e,t,n,r){W2(e,t,n,r),n.dispatchAction({type:`legendToggleSelect`,name:e??t}),U2(e,t,n,r)}function U2(e,t,n,r){n.usingTHL()||n.dispatchAction({type:`highlight`,seriesName:e,name:t,excludeSeriesId:r})}function W2(e,t,n,r){n.usingTHL()||n.dispatchAction({type:`downplay`,seriesName:e,name:t,excludeSeriesId:r})}function G2(e,t,n){var r=e===`allSelect`||e===`inverseSelect`,i={},a=[];n.eachComponent({mainType:`legend`,query:t},function(n){r?n[e]():n[e](t.name),K2(n,i),a.push(n.componentIndex)});var o={};return n.eachComponent(`legend`,function(e){F(i,function(t,n){e[t?`select`:`unSelect`](n)}),K2(e,o)}),r?{selected:o,legendIndex:a}:{name:t.name,selected:o}}function K2(e,t){var n=t||{};return F(e.getData(),function(t){var r=t.get(`name`);if(!(r===` +`||r===``)){var i=e.isSelected(r);K(n,r)?n[r]=n[r]&&i:n[r]=i}}),n}function q2(e){e.registerAction(`legendToggleSelect`,`legendselectchanged`,z(G2,`toggleSelected`)),e.registerAction(`legendAllSelect`,`legendselectall`,z(G2,`allSelect`)),e.registerAction(`legendInverseSelect`,`legendinverseselect`,z(G2,`inverseSelect`)),e.registerAction(`legendSelect`,`legendselected`,z(G2,`select`)),e.registerAction(`legendUnSelect`,`legendunselected`,z(G2,`unSelect`))}var J2=Ec(Y2);function Y2(e){var t=e.findComponents({mainType:`legend`});t&&t.length&&e.filterSeries(function(e){for(var n=0;nn[i],m=[-d.x,-d.y];t||(m[r]=c[s]);var h=[0,0],g=[-f.x,-f.y],_=W(e.get(`pageButtonGap`,!0),e.get(`itemGap`,!0));p&&(e.get(`pageButtonPosition`,!0)===`end`?g[r]+=n[i]-f[i]:h[r]+=f[i]+_),g[1-r]+=d[a]/2-f[a]/2,c.setPosition(m),l.setPosition(h),u.setPosition(g);var v={x:0,y:0};if(v[i]=p?n[i]:d[i],v[a]=Math.max(d[a],f[a]),v[o]=Math.min(0,f[o]+g[1-r]),l.__rectSize=n[i],p){var y={x:0,y:0};y[i]=Math.max(n[i]-f[i]-_,0),y[a]=v[a],l.setClipPath(new Gu({shape:y})),l.__rectSize=y[i]}else u.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(e);return b.pageIndex!=null&&im(c,{x:b.contentPosition[0],y:b.contentPosition[1]},p?e:null),this._updatePageInfoView(e,b),v},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];r!=null&&n.dispatchAction({type:`legendScroll`,scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;F([`pagePrev`,`pageNext`],function(r){var i=t[r+`DataIndex`]!=null,a=n.childOfName(r);a&&(a.setStyle(`fill`,i?e.get(`pageIconColor`,!0):e.get(`pageIconInactiveColor`,!0)),a.cursor=i?`pointer`:`default`)});var r=n.childOfName(`pageText`),i=e.get(`pageFormatter`),a=t.pageIndex,o=a==null?0:a+1,s=t.pageCount;r&&i&&r.setStyle(`text`,H(i)?i.replace(`{current}`,o==null?``:o+``).replace(`{total}`,s==null?``:s+``):i({current:o,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get(`scrollDataIndex`,!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,a=e4[i],o=t4[i],s=this._findTargetItemIndex(t),c=n.children(),l=c[s],u=c.length,d=+!!u,f={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!l)return f;var p=v(l);f.contentPosition[i]=-p.s;for(var m=s+1,h=p,g=p,_=null;m<=u;++m)_=v(c[m]),(!_&&g.e>h.s+r||_&&!y(_,h.s))&&(h=g.i>h.i?g:_,h&&(f.pageNextDataIndex??(f.pageNextDataIndex=h.i),++f.pageCount)),g=_;for(var m=s-1,h=p,g=p,_=null;m>=-1;--m)_=v(c[m]),(!_||!y(g,_.s))&&h.i=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n=this.getContentGroup(),r;return n.eachChild(function(n,i){var a=n.__legendDataIndex;r==null&&a!=null&&(r=i),a===e&&(t=i)}),t??r},t.type=`legend.scroll`,t}(z2);function r4(e){e.registerAction(`legendScroll`,`legendscroll`,function(e,t){var n=e.scrollDataIndex;n!=null&&t.eachComponent({mainType:`legend`,subType:`scroll`,query:e},function(e){e.setScrollDataIndex(n)})})}function i4(e){hO(X2),e.registerComponentModel(Z2),e.registerComponentView(n4),r4(e)}function a4(e){hO(X2),hO(i4)}var o4=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`dataZoom.inside`,t.defaultOption=zh(t$.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(t$),s4=Js();function c4(e,t,n){s4(e).coordSysRecordMap.each(function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)})}function l4(e,t){for(var n=s4(e).coordSysRecordMap,r=n.keys(),i=0;ia[i+r]&&(r=n),o=o&&t.get(`preventDefaultMouseMove`,!0),s=W(t.get(`cursorGrab`,!0),s),c=W(t.get(`cursorGrabbing`,!0),c)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o,api:n,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint},cursorGrab:s,cursorGrabbing:c}}}function h4(e){e.registerUpdateLifecycle(`coordsys:aftercreate`,function(e,t){var n=s4(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=G());r.each(function(e){e.dataZoomInfoMap=null}),e.eachComponent({mainType:`dataZoom`,subType:`inside`},function(e){F(YQ(e).infoList,function(n){var i=n.model.uid,a=r.get(i)||r.set(i,d4(t,n.model));(a.dataZoomInfoMap||(a.dataZoomInfoMap=G())).set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})})}),r.each(function(e){var n=e.controller,i,a=e.dataZoomInfoMap;if(a){var o=a.keys()[0];o!=null&&(i=a.get(o))}if(!i){u4(r,e);return}var s=m4(a,e,t);n.enable(s.controlType,s.opt),ox(e,`dispatchAction`,i.model.get(`throttle`,!0),`fixRate`)})})}var g4=function(e){n(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=`dataZoom.inside`,t}return t.prototype.render=function(t,n,r){if(e.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),c4(r,t,{pan:R(_4.pan,this),zoom:R(_4.zoom,this),scrollMove:R(_4.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){l4(this.api,this.dataZoomModel),this.range=null},t.type=`dataZoom.inside`,t}(i$),_4={zoom:function(e,t,n,r){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=y4[t](null,[r.originX,r.originY],o,n,e),c=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],l=Math.max(1/r.scale,0);a[0]=(a[0]-c)*l+c,a[1]=(a[1]-c)*l+c;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(gU(0,a,[0,100],0,u.minSpan,u.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:v4(function(e,t,n,r,i,a){var o=y4[r]([a.oldX,a.oldY],[a.newX,a.newY],t,i,n);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:v4(function(e,t,n,r,i,a){return y4[r]([0,0],[a.scrollDelta,a.scrollDelta],t,i,n).signal*(e[1]-e[0])*a.scrollDelta})};function v4(e){return function(t,n,r,i){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s&&(gU(e(o,s,t,n,r,i),o,[0,100],`all`),this.range=o,a[0]!==o[0]||a[1]!==o[1]))return o}}var y4={grid:function(e,t,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],a.dim===`x`?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(e,t,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem,c=s.getRadiusAxis().getExtent(),l=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),n.mainType===`radiusAxis`?(o.pixel=t[0]-e[0],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?-1:1),o},singleAxis:function(e,t,n,r,i){var a=n.axis,o=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],a.orient===`horizontal`?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};function b4(e){u$(e),e.registerComponentModel(o4),e.registerComponentView(g4),h4(e)}var x4=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type=`dataZoom.slider`,t.layoutMode=`box`,t.defaultOption=zh(t$.defaultOption,{show:!0,right:`ph`,top:`ph`,width:`ph`,height:`ph`,left:null,bottom:null,borderColor:Q.color.accent10,borderRadius:0,backgroundColor:Q.color.transparent,dataBackground:{lineStyle:{color:Q.color.accent30,width:.5},areaStyle:{color:Q.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:Q.color.accent40,width:.5},areaStyle:{color:Q.color.accent20,opacity:.3}},fillerColor:`rgba(135,175,274,0.2)`,handleIcon:`path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z`,handleSize:`100%`,handleStyle:{color:Q.color.neutral00,borderColor:Q.color.accent20},moveHandleSize:7,moveHandleIcon:`path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z`,moveHandleStyle:{color:Q.color.accent40,opacity:.5},showDetail:!0,showDataShadow:`auto`,realtime:!0,zoomLock:!1,textStyle:{color:Q.color.tertiary},brushSelect:!0,brushStyle:{color:Q.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:Q.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),t}(t$),S4=Gu,C4=1,w4=30,T4=7,E4=`horizontal`,D4=`vertical`,O4=5,k4=[`line`,`bar`,`candlestick`,`scatter`],A4={easing:`cubicOut`,duration:100,delay:0},j4=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(e,t){this.api=t,this._onBrush=R(this._onBrush,this),this._onBrushEnd=R(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,i){if(e.prototype.render.apply(this,arguments),ox(this,`_dispatchZoomAction`,t.get(`throttle`),`fixRate`),this._orient=t.getOrient(),t.get(`show`)===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!==`dataZoom`||i.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){sx(this,`_dispatchZoomAction`);var e=this.api.getZr();e.off(`mousemove`,this._onBrush),e.off(`mouseup`,this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new Y;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get(`brushSelect`)?T4:0,r=x_(e,t).refContainer,i=this._findCoordRect(),a=e.get(`defaultLocationEdgeGap`,!0)||0,o=this._orient===E4?{right:r.width-i.x-i.width,top:r.height-w4-a-n,width:i.width,height:w4}:{right:a,top:i.y,width:w4,height:i.height},s=E_(e.option);F([`right`,`top`,`width`,`height`],function(e){s[e]===`ph`&&(s[e]=o[e])});var c=v_(s,r);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===D4&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get(`inverse`),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(n===E4&&!i?{scaleY:o?1:-1,scaleX:1}:n===E4&&i?{scaleY:o?1:-1,scaleX:-1}:n===D4&&!i?{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2});var s=e.getBoundingRect([a]),c=isNaN(s.x)?0:s.x,l=isNaN(s.y)?0:s.y;e.x=t.x-c,e.y=t.y-l,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get(`brushSelect`);n.add(new S4({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get(`backgroundColor`)},z2:-40}));var i=new S4({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:`transparent`},z2:0,onclick:R(this._onClickPanel,this)}),a=this.api.getZr();r?(i.on(`mousedown`,this._onBrushStart,this),i.cursor=`crosshair`,a.on(`mousemove`,this._onBrush),a.on(`mouseup`,this._onBrushEnd)):(a.off(`mousemove`,this._onBrush),a.off(`mouseup`,this._onBrushEnd)),n.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var t=this._size,n=this._shadowSize||[],r=e.series,i=r.getRawData(),a=r.getShadowDim&&r.getShadowDim(),o=a&&i.getDimensionInfo(a)?r.getShadowDim():e.otherDim;if(o==null)return;var s=this._shadowPolygonPts,c=this._shadowPolylinePts;if(i!==this._shadowData||o!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var l=i.getDataExtent(e.thisDim),u=i.getDataExtent(o),d=(u[1]-u[0])*.3;u=[u[0]-d,u[1]+d];var f=[0,t[1]],p=[0,t[0]],m=[[t[0],0],[0,0]],h=[],g=p[1]/Math.max(1,i.count()-1),_=t[0]/(l[1]-l[0]),v=e.thisAxis.type===`time`,y=-g,b=Math.round(i.count()/t[0]),x;i.each([e.thisDim,o],function(e,t,n){if(b>0&&n%b){v||(y+=g);return}y=v?(+e-l[0])*_:y+g;var r=t==null||isNaN(t)||t===``,i=r?0:Bo(t,u,f,!0);r&&!x&&n?(m.push([m[m.length-1][0],0]),h.push([h[h.length-1][0],0])):!r&&x&&(m.push([y,0]),h.push([y,0])),r||(m.push([y,i]),h.push([y,i])),x=r}),s=this._shadowPolygonPts=m,c=this._shadowPolylinePts=h}this._shadowData=i,this._shadowDim=o,this._shadowSize=[t[0],t[1]];var S=this.dataZoomModel;function C(e){var t=S.getModel(e?`selectedDataBackground`:`dataBackground`),n=new Y,r=new Op({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel(`areaStyle`).getAreaStyle(),silent:!0,z2:-20}),i=new Ap({shape:{points:c},segmentIgnoreThreshold:1,style:t.getModel(`lineStyle`).getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}for(var w=0;w<3;w++){var T=C(w===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get(`showDataShadow`);if(t!==!1){var n,r=this.ecModel;return e.eachTargetAxis(function(i,a){F(e.getAxisProxy(i,a).getTargetSeriesModels(),function(e){if(!n&&!(t!==!0&&P(k4,e.get(`type`))<0)){var o=r.getComponent(qQ(i),a).axis,s=N4(i),c,l=e.coordinateSystem;s!=null&&l.getOtherAxis&&(c=l.getOtherAxis(o).inverse),s=e.getData().mapDimension(s),n={thisAxis:o,series:e,thisDim:e.getData().mapDimension(i),otherDim:s,otherAxisInverse:c}}},this)},this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],i=this._displayables.sliderGroup,a=this._size,o=this.dataZoomModel,s=this.api,c=o.get(`borderRadius`)||0,l=o.get(`brushSelect`),u=t.filler=new S4({silent:l,style:{fill:o.get(`fillerColor`)},textConfig:{position:`inside`}});i.add(u),i.add(new S4({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:c},style:{stroke:o.get(`dataBackgroundColor`)||o.get(`borderColor`),lineWidth:C4,fill:Q.color.transparent}})),F([0,1],function(t){var a=o.get(`handleIcon`);!hS[a]&&a.indexOf(`path://`)<0&&a.indexOf(`image://`)<0&&(a=`path://`+a);var s=vS(a,-1,0,2,2,null,!0);s.attr({cursor:P4(this._orient),draggable:!0,drift:R(this._onDragMove,this,t),ondragend:R(this._onDragEnd,this),onmouseover:R(this._onOverDataInfoTriggerArea,this,!0),onmouseout:R(this._onOverDataInfoTriggerArea,this,!1),z2:5});var c=s.getBoundingRect(),l=o.get(`handleSize`);this._handleHeight=X(l,this._size[1]),this._handleWidth=c.width/c.height*this._handleHeight,s.setStyle(o.getModel(`handleStyle`).getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState(`emphasis`).style=o.getModel([`emphasis`,`handleStyle`]).getItemStyle(),yf(s);var u=o.get(`handleColor`);u!=null&&(s.style.fill=u),i.add(n[t]=s);var d=o.getModel(`textStyle`),f=(o.get(`handleLabel`)||{}).show||!1;e.add(r[t]=new Xu({silent:!0,invisible:!f,style:dh(d,{x:0,y:0,text:``,verticalAlign:`middle`,align:`center`,fill:d.getTextColor(),font:d.getFont()}),z2:10}))},this);var d=u;if(l){var f=X(o.get(`moveHandleSize`),a[1]),p=t.moveHandle=new Gu({style:o.getModel(`moveHandleStyle`).getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:f}}),m=f*.8,h=t.moveHandleIcon=vS(o.get(`moveHandleIcon`),-m/2,-m/2,m,m,Q.color.neutral00,!0);h.silent=!0,h.y=a[1]+f/2-.5,p.ensureState(`emphasis`).style=o.getModel([`emphasis`,`moveHandleStyle`]).getItemStyle();var g=Math.min(a[1]/2,Math.max(f,10));d=t.moveZone=new Gu({invisible:!0,shape:{y:a[1]-g,height:f+g}}),d.on(`mouseover`,function(){s.enterEmphasis(p)}).on(`mouseout`,function(){s.leaveEmphasis(p)}),i.add(p),i.add(h),i.add(d)}d.attr({draggable:!0,cursor:`grab`,drift:R(this._onActualMoveZoneDrift,this),ondragstart:R(this._onActualMoveZoneDragStart,this),ondragend:R(this._onActualMoveZoneDragEnd,this),onmouseover:R(this._onOverDataInfoTriggerArea,this,!0),onmouseout:R(this._onOverDataInfoTriggerArea,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[Bo(e[0],[0,100],t,!0),Bo(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];gU(t,r,i,n.get(`zoomLock`)?`all`:e,a.minSpan==null?null:Bo(a.minSpan,o,i,!0),a.maxSpan==null?null:Bo(a.maxSpan,o,i,!0));var s=this._range,c=this._range=qo([Bo(r[0],i,o,!0),Bo(r[1],i,o,!0)]);return!s||s[0]!==c[0]||s[1]!==c[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=qo(n.slice()),i=this._size;F([0,1],function(e){var r=t.handles[e],a=this._handleHeight;r.attr({scaleX:a/2,scaleY:a/2,x:n[e]+(e?-1:1),y:i[1]/2-a/2})},this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var a={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(a),t.moveZone.setShape(a),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr(`x`,a.x+a.width/2));for(var o=t.dataShadowSegs,s=[0,r[0],r[1],i[0]],c=0;ct[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,a=this._updateInterval(`all`,n[0]-i);this._updateView(),a&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new q(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr(`ignore`,!0);var n=t.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),i=[0,100],a=this._handleEnds=[n.x,n.x+n.width],o=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();gU(0,a,r,0,o.minSpan==null?null:Bo(o.minSpan,i,r,!0),o.maxSpan==null?null:Bo(o.maxSpan,i,r,!0)),this._range=qo([Bo(a[0],r,i,!0),Bo(a[1],r,i,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(Lt(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new S4({silent:!0,style:r.getModel(`brushStyle`).getItemStyle()}),n.sliderGroup.add(i)),i.attr(`ignore`,!1);var a=this._brushStart,o=this._displayables.sliderGroup,s=o.transformCoordToLocal(e,t),c=o.transformCoordToLocal(a.x,a.y),l=this._size;s[0]=Math.max(Math.min(l[0],s[0]),0),i.setShape({x:c[0],y:0,width:s[0]-c[0],height:l[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:`dataZoom`,from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?A4:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=YQ(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),i=this.api.getHeight();e={x:r*.2,y:i*.2,width:r*.6,height:i*.6}}return e},t.type=`dataZoom.slider`,t}(i$);function M4(e,t,n,r){var i=e.get(`labelFormatter`),a=e.get(`labelPrecision`);(a==null||a===`auto`)&&(a=n.valuePrecision);var o=n.value[t],s=o==null||isNaN(o)?``:_E(r)||hE(r)?r.getLabel({value:Math.round(o)}):isFinite(a)?Go(o,a,!0):o+``;return V(i)?i(o,s):H(i)?i.replace(`{value}`,s):s}function N4(e){return{x:`y`,y:`x`,radius:`angle`,angle:`radius`}[e]}function P4(e){return e===`vertical`?`ns-resize`:`ew-resize`}function F4(e){e.registerComponentModel(x4),e.registerComponentView(j4),u$(e)}function I4(e){hO(b4),hO(F4)}var L4={get:function(e,t,n){var r=A((R4[e]||{})[t]);return n&&B(r)?r[r.length-1]:r}},R4={color:{active:[`#006edd`,`#e0ffff`],inactive:[Q.color.transparent]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:[`circle`,`roundRect`,`diamond`],inactive:[`none`]},symbolSize:{active:[10,50],inactive:[0,0]}},z4=CB.mapVisual,B4=CB.eachVisual,V4=B,H4=F,U4=qo,W4=Bo,G4=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=[`inRange`,`outOfRange`],n.replacableOptionKeys=[`inRange`,`outOfRange`,`target`,`controller`,`color`],n.layoutMode={type:`box`,ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&$1(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel(`textStyle`),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=R(e,this),this.controllerVisuals=Q1(this.option.controller,t,e),this.targetVisuals=Q1(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this,t=this.option.seriesTargets;if(t){var n=[];return H4(t,function(t){if(t.seriesIndex!=null)n.push(t.seriesIndex);else if(t.seriesId!=null){var r;e.ecModel.eachSeries(function(e){e.id===t.seriesId&&(r=e)}),r&&n.push(r.componentIndex)}}),n}var r=this.option.seriesId,i=this.option.seriesIndex;i==null&&r==null&&(i=`all`);var a=ec(this.ecModel,`series`,{index:i,id:r},{useDefault:!1,enableAll:!0,enableNone:!1}).models;return I(a,function(e){return e.componentIndex})},t.prototype.eachTargetSeries=function(e,t){F(this.getTargetSeriesIndices(),function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)},this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries(function(n){n===e&&(t=!0)}),t},t.prototype.formatValueText=function(e,t,n){var r=this.option,i=r.precision,a=this.dataBound,o=r.formatter,s;n=n||[`<`,`>`],B(e)&&(e=e.slice(),s=!0);var c=t?e:s?[l(e[0]),l(e[1])]:l(e);if(H(o))return o.replace(`{value}`,s?c[0]:c).replace(`{value2}`,s?c[1]:c);if(V(o))return s?o(e[0],e[1]):o(e);if(s)return e[0]===a[0]?n[0]+` `+c[1]:e[1]===a[1]?n[1]+` `+c[0]:c[0]+` - `+c[1];return c;function l(e){return e===a[0]?`min`:e===a[1]?`max`:(+e).toFixed(Math.min(i,20))}},t.prototype.resetExtent=function(){var e=this.option,t=U4([e.min,e.max]);this._dataExtent=t},t.prototype.getDimension=function(e){var t=this,n=this.option.seriesTargets;if(n){var r=ce(n,function(n){return n.seriesIndex!=null&&n.seriesIndex===e||n.seriesId!=null&&n.seriesId===t.ecModel.getSeriesByIndex(e).id});if(r)return r.dimension}return this.option.dimension},t.prototype.getDataDimensionIndex=function(e){var t=e.hostModel.seriesIndex,n=this.getDimension(t);if(n!=null)return e.getDimensionIndex(n);for(var r=e.dimensions,i=r.length-1;i>=0;i--){var a=r[i],o=e.getDimensionInfo(a);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),i=t.controller||(t.controller={});j(r,n),j(i,n);var a=this.isCategory();o.call(this,r),o.call(this,i),s.call(this,r,`inRange`,`outOfRange`),c.call(this,i);function o(n){V4(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get(`gradientColor`)}}function s(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},H4(r,function(e,t){if(CB.isValidType(t)){var n=L4.get(t,`inactive`,a);n!=null&&(i[t]=n,t===`color`&&!i.hasOwnProperty(`opacity`)&&!i.hasOwnProperty(`colorAlpha`)&&(i.opacity=[0,0]))}}))}function c(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get(`inactiveColor`),i=this.getItemSymbol()||`roundRect`;H4(this.stateList,function(o){var s=this.itemSize,c=e[o];c||(c=e[o]={color:a?r:[r]}),c.symbol??(c.symbol=t&&A(t)||(a?i:[i])),c.symbolSize??(c.symbolSize=n&&A(n)||(a?s[0]:[s[0],s[0]])),c.symbol=z4(c.symbol,function(e){return e===`none`?i:e});var l=c.symbolSize;if(l!=null){var u=-1/0;B4(l,function(e){e>u&&(u=e)}),c.symbolSize=z4(l,function(e){return W4(e,[0,u],[0,s[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get(`itemWidth`)),parseFloat(this.get(`itemHeight`))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type=`visualMap`,t.dependencies=[`series`],t.defaultOption={show:!0,z:4,min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:`vertical`,backgroundColor:Q.color.transparent,borderColor:Q.color.borderTint,contentColor:Q.color.theme[0],inactiveColor:Q.color.disabled,borderWidth:0,padding:Q.size.m,textGap:10,precision:0,textStyle:{color:Q.color.secondary}},t}(k_),K4=[20,140],q4=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod=`linear`,e.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=K4[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=K4[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):B(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),F(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=qo((this.get(`range`)||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?`inRange`:`outOfRange`},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries(function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)},this),t.push({seriesId:n.id,dataIndex:r})},this),t},t.prototype.getVisualMeta=function(e){var t=J4(this,`outOfRange`,this.getExtent()),n=J4(this,`inRange`,this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var a=0,o=0,s=n.length,c=t.length;oe[1])break;r.push({color:this.getControllerVisual(o,`color`,t),offset:a/n})}return r.push({color:this.getControllerVisual(e[1],`color`,t),offset:1}),r},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get(`inverse`);return new Y(t===`horizontal`&&!n?{scaleX:e===`bottom`?1:-1,rotation:Math.PI/2}:t===`horizontal`&&n?{scaleX:e===`bottom`?-1:1,rotation:-Math.PI/2}:t===`vertical`&&!n?{scaleX:e===`left`?1:-1,scaleY:-1}:{scaleX:e===`left`?1:-1})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,a=n.handleLabels,o=r.itemSize,s=r.getExtent(),c=this._applyTransform(`left`,n.mainGroup);e3([0,1],function(l){var u=i[l];u.setStyle(`fill`,t.handlesColor[l]),u.y=e[l];var d=$4(e[l],[0,o[1]],s,!0),f=this.getControllerVisual(d,`symbolSize`);u.scaleX=u.scaleY=f/o[0],u.x=o[0]-f/2;var p=Am(n.handleLabelPoints[l],km(u,this.group));if(this._orient===`horizontal`){var m=c===`left`||c===`top`?(o[0]-f)/2:(o[0]-f)/-2;p[1]+=m}a[l].setStyle({x:p[0],y:p[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:`middle`,align:this._orient===`vertical`?this._applyTransform(`left`,n.mainGroup):`center`})},this)}},t.prototype._showIndicator=function(e,t,n,r){var i=this.visualMapModel,a=i.getExtent(),o=i.itemSize,s=[0,o[1]],c=this._shapes,l=c.indicator;if(l){l.attr(`invisible`,!1);var u=this.getControllerVisual(e,`color`,{convertOpacityToAlpha:!0}),d=this.getControllerVisual(e,`symbolSize`),f=$4(e,a,s,!0),p=o[0]-d/2,m={x:l.x,y:l.y};l.y=f,l.x=p;var h=Am(c.indicatorLabelPoint,km(l,this.group)),g=c.indicatorLabel;g.attr(`invisible`,!1);var _=this._applyTransform(`left`,c.mainGroup),v=this._orient===`horizontal`;g.setStyle({text:(n||``)+i.formatValueText(t),verticalAlign:v?_:`middle`,align:v?`center`:_});var y={x:p,y:f,style:{fill:u}},b={style:{x:h[0],y:h[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var x={duration:100,easing:`cubicInOut`,additive:!0};l.x=m.x,l.y=m.y,l.animateTo(y,x),g.animateTo(b,x)}else l.attr(y),g.attr(b);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var C=0;Ci[1]&&(l[1]=1/0),t&&(l[0]===-1/0?this._showIndicator(c,l[1],`< `,o):l[1]===1/0?this._showIndicator(c,l[0],`> `,o):this._showIndicator(c,c,`≈ `,o));var u=this._hoverLinkDataIndices,d=[];(t||c3(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var f=Ks(u,d);this._dispatchHighDown(`downplay`,Q4(f[0],n)),this._dispatchHighDown(`highlight`,Q4(f[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(Xx(e.target,function(e){var n=Z(e);if(n.dataIndex!=null)return t=n,!0},!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(t.dataType),a=i.getStore().get(r.getDataDimensionIndex(i),t.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr(`invisible`,!0),e.indicatorLabel&&e.indicatorLabel.attr(`invisible`,!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n=0&&(i.dimension=a,r.push(i))}}),e.getData().setVisual(`visualMeta`,r)}}];function p3(e,t,n,r){for(var i=t.targetVisuals[r],a=CB.prepareVisualTypes(i),o={color:Gx(e.getData(),`color`)},s=0,c=a.length;s0:e.splitNumber>0)||e.calculable)?`continuous`:`piecewise`}),e.registerAction(u3,d3),F(f3,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(h3))}function y3(e){e.registerComponentModel(q4),e.registerComponentView(a3),v3(e)}var b3=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],x3[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var i=this.option.categories;this.resetVisual(function(e,t){r===`categories`?(e.mappingMethod=`category`,e.categories=A(i)):(e.dataExtent=this.getExtent(),e.mappingMethod=`piecewise`,e.pieceList=I(this._pieceList,function(e){return e=A(e),t!==`inRange`&&(e.visual=null),e}))})},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=CB.listVisualTypes(),i=this.isCategory();F(t.pieces,function(e){F(r,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),F(n,function(e,n){var r=!1;F(this.stateList,function(e){r=r||a(t,e,n)||a(t.target,e,n)},this),!r&&F(this.stateList,function(e){(t[e]||(t[e]={}))[n]=L4.get(n,e===`inRange`?`active`:`inactive`,i)})},this);function a(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,i=(t?n:e).selected||{};if(n.selected=i,F(r,function(e,t){var n=this.getSelectedMapKey(e);i.hasOwnProperty(n)||(i[n]=!0)},this),n.selectedMode===`single`){var a=!1;F(r,function(e,t){var n=this.getSelectedMapKey(e);i[n]&&(a?i[n]=!1:a=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get(`itemSymbol`)},t.prototype.getSelectedMapKey=function(e){return this._mode===`categories`?e.value+``:e.index+``},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?`pieces`:this.option.categories?`categories`:`splitNumber`},t.prototype.setSelected=function(e){this.option.selected=A(e)},t.prototype.getValueState=function(e){var t=CB.findPieceIndex(e,this._pieceList);return t==null?`outOfRange`:this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?`inRange`:`outOfRange`},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries(function(r){var i=[],a=r.getData();a.each(this.getDataDimensionIndex(a),function(t,r){CB.findPieceIndex(t,n)===e&&i.push(r)},this),t.push({seriesId:r.id,dataIndex:i})},this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(e.value!=null)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(this.isCategory())return;var t=[],n=[``,``],r=this;function i(i,a){var o=r.getRepresentValue({interval:i});a||(a=r.getValueState(o));var s=e(o,a);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}var a=this._pieceList.slice();if(!a.length)a.push({interval:[-1/0,1/0]});else{var o=a[0].interval[0];o!==-1/0&&a.unshift({interval:[-1/0,o]}),o=a[a.length-1].interval[1],o!==1/0&&a.push({interval:[o,1/0]})}var s=-1/0;return F(a,function(e){var t=e.interval;t&&(t[0]>s&&i([s,t[0]],`outOfRange`),i(t.slice()),s=t[1])},this),{stops:t,outerColors:n}},t.type=`visualMap.piecewise`,t.defaultOption=zh(G4.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:`auto`,itemWidth:20,itemHeight:14,itemSymbol:`roundRect`,pieces:null,categories:null,splitNumber:5,selectedMode:`multiple`,itemGap:10,hoverLink:!0}),t}(G4),x3={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var a=(r[1]-r[0])/i;+a.toFixed(n)!==a&&n<5;)n++;t.precision=n,a=+a.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var o=0,s=r[0];o`,`≥`][t[0]]];e.text=e.text||this.formatValueText(e.value==null?e.interval:e.value,!1,n)},this)}};function S3(e,t){var n=e.inverse;(e.orient===`vertical`?!n:n)&&t.reverse()}var C3=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get(`textGap`),r=t.textStyleModel,i=this._getItemAlign(),a=t.itemSize,o=this._getViewData(),s=o.endsText,c=ye(t.get(`showLabel`,!0),!s),l=!t.get(`selectedMode`);s&&this._renderEndsText(e,s[0],a,c,i),F(o.viewPieceList,function(o){var s=o.piece,u=new Y;u.onclick=R(this._onItemClick,this,s),this._enableHoverLink(u,o.indexInModelPieceList);var d=t.getRepresentValue(s);if(this._createItemSymbol(u,d,[0,0,a[0],a[1]],l),c){var f=this.visualMapModel.getValueState(d),p=r.get(`align`)||i;u.add(new Xu({style:dh(r,{x:p===`right`?-n:a[0]+n,y:a[1]/2,text:s.text,verticalAlign:r.get(`verticalAlign`)||`middle`,align:p,opacity:W(r.get(`opacity`),f===`outOfRange`?.5:1)}),silent:l}))}e.add(u)},this),s&&this._renderEndsText(e,s[1],a,c,i),m_(t.get(`orient`),e,t.get(`itemGap`)),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on(`mouseover`,function(){return r(`highlight`)}).on(`mouseout`,function(){return r(`downplay`)});var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:Q4(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if(t.orient===`vertical`)return Z4(e,this.api,e.itemSize);var n=t.align;return(!n||n===`auto`)&&(n=`left`),n},t.prototype._renderEndsText=function(e,t,n,r,i){if(t){var a=new Y,o=this.visualMapModel.textStyleModel;a.add(new Xu({style:dh(o,{x:r?i===`right`?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:`middle`,align:r?i:`center`,text:t})})),e.add(a)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=I(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),n=e.get(`text`),r=e.get(`orient`),i=e.get(`inverse`);return(r===`horizontal`?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n,r){var i=vS(this.getControllerVisual(t,`symbol`),n[0],n[1],n[2],n[3],this.getControllerVisual(t,`color`));i.silent=r,e.add(i)},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var i=A(n.selected),a=t.getSelectedMapKey(e);r===`single`||r===!0?(i[a]=!0,F(i,function(e,t){i[t]=t===a})):i[a]=!i[a],this.api.dispatchAction({type:`selectDataRange`,from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type=`visualMap.piecewise`,t}(Y4);function w3(e){e.registerComponentModel(b3),e.registerComponentView(C3),v3(e)}function T3(e){hO(y3),hO(w3)}var E3=function(){function e(e){this._thumbnailModel=e}return e.prototype.reset=function(e){this._renderVersion=e.getECUpdateCycleVersion()},e.prototype.renderContent=function(e){var t=e.api.getViewOfComponentModel(this._thumbnailModel);t&&(e.group.silent=!0,t.renderContent({group:e.group,targetTrans:e.targetTrans,z2Range:$m(e.group),roamType:e.roamType,viewportRect:e.viewportRect,renderVersion:this._renderVersion}))},e.prototype.updateWindow=function(e,t){var n=t.getViewOfComponentModel(this._thumbnailModel);n&&n.updateWindow({targetTrans:e,renderVersion:this._renderVersion})},e}(),D3=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return t.prototype.optionUpdated=function(e,t){this._updateBridge()},t.prototype._updateBridge=function(){var e=this._birdge=this._birdge||new E3(this);this._target=null,this.ecModel.eachSeries(function(e){lH(e,null)}),this.shouldShow()&&lH(this.getTarget().baseMapProvider,e)},t.prototype.shouldShow=function(){return this.getShallow(`show`,!0)},t.prototype.getBridge=function(){return this._birdge},t.prototype.getTarget=function(){if(this._target)return this._target;var e=this.getReferringComponents(`series`,{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];return e?e.subType!==`graph`&&(e=null):e=this.ecModel.queryComponents({mainType:`series`,subType:`graph`})[0],this._target={baseMapProvider:e},this._target},t.type=`thumbnail`,t.layoutMode=`box`,t.dependencies=[`series`,`geo`],t.defaultOption={show:!0,right:1,bottom:1,height:`25%`,width:`25%`,itemStyle:{borderColor:Q.color.border,borderWidth:2},windowStyle:{borderWidth:1,color:Q.color.neutral30,borderColor:Q.color.neutral40,opacity:.3},z:10},t}(k_),O3=function(e){n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(e,t,n){if(this._api=n,this._model=e,this._coordSys||(this._coordSys=new GI),!this._isEnabled()){this._clear();return}this._renderVersion=n.getECUpdateCycleVersion();var r=this.group;r.removeAll();var i=e.getModel(`itemStyle`),a=i.getItemStyle();a.fill??(a.fill=t.get(`backgroundColor`)||Q.color.neutral00);var o=x_(e,n).refContainer,s=v_(h_(e,!0),o),c=a.lineWidth||0,l=this._contentRect=Hm(s.clone(),c/2,!0,!0),u=new Y;r.add(u),u.setClipPath(new Gu({shape:l.plain()}));var d=this._targetGroup=new Y;u.add(d);var f=s.plain();f.r=i.getShallow(`borderRadius`,!0),r.add(this._bgRect=new Gu({style:a,shape:f,silent:!1,cursor:`grab`}));var p=e.getModel(`windowStyle`),m=p.getShallow(`borderRadius`,!0);u.add(this._windowRect=new Gu({shape:{x:0,y:0,width:0,height:0,r:m},style:p.getItemStyle(),silent:!1,cursor:`grab`})),this._dealRenderContent(),this._dealUpdateWindow(),A3(e,this)},t.prototype.renderContent=function(e){this._bridgeRendered=e,this._isEnabled()&&(this._dealRenderContent(),this._dealUpdateWindow(),A3(this._model,this))},t.prototype._dealRenderContent=function(){var e=this._bridgeRendered;if(!(!e||e.renderVersion!==this._renderVersion)){var t=this._targetGroup,n=this._coordSys,r=this._contentRect;if(t.removeAll(),e){var i=e.group,a=i.getBoundingRect();t.add(i),this._bgRect.z2=e.z2Range.min-10,rL(n,a.x,a.y,a.width,a.height);var o=v_({left:`center`,top:`center`,aspect:a.width/a.height},r);iL(n,o.x,o.y,o.width,o.height),ZI(i,n,0),i.dirty(),this._windowRect.z2=e.z2Range.max+10,this._resetRoamController(e.roamType)}}},t.prototype.updateWindow=function(e){var t=this._bridgeRendered;t&&t.renderVersion===e.renderVersion&&(t.targetTrans=e.targetTrans),this._isEnabled()&&this._dealUpdateWindow()},t.prototype._dealUpdateWindow=function(){var e=this._bridgeRendered;if(!(!e||e.renderVersion!==this._renderVersion)){var t=Zt([],e.targetTrans),n=qt([],qI(null,this._coordSys),t);this._transThisToTarget=Zt([],n);var r=e.viewportRect;r=r?r.clone():new J(0,0,this._api.getWidth(),this._api.getHeight()),r.applyTransform(n);var i=this._windowRect,a=i.shape.r;i.setShape(N({r:a},r))}},t.prototype._resetRoamController=function(e){var t=this,n=this._api,r=this._roamController;if(r||(r=this._roamController=new BF(n.getZr())),!e||!this._isEnabled()){r.disable();return}r.enable(e,{api:n,zInfo:{component:this._model},triggerInfo:{roamTrigger:null,isInSelf:function(e,n,r){return t._contentRect.contain(n,r)}}}),r.off(`pan`).off(`zoom`).on(`pan`,R(this._onPan,this)).on(`zoom`,R(this._onZoom,this))},t.prototype._onPan=function(e){var t=this._transThisToTarget;if(!(!this._isEnabled()||!t)){var n=st([],[e.oldX,e.oldY],t),r=st([],[e.oldX-e.dx,e.oldY-e.dy],t);this._api.dispatchAction(k3(this._model.getTarget().baseMapProvider,{dx:r[0]-n[0],dy:r[1]-n[1]}))}},t.prototype._onZoom=function(e){var t=this._transThisToTarget;if(!(!this._isEnabled()||!t)){var n=st([],[e.originX,e.originY],t);this._api.dispatchAction(k3(this._model.getTarget().baseMapProvider,{zoom:1/e.scale,originX:n[0],originY:n[1]}))}},t.prototype._isEnabled=function(){var e=this._model;return!(!e||!e.shouldShow()||!e.getTarget().baseMapProvider)},t.prototype._clear=function(){this.group.removeAll(),this._bridgeRendered=null,this._roamController&&this._roamController.disable()},t.prototype.remove=function(){this._clear()},t.prototype.dispose=function(){this._clear()},t.type=`thumbnail`,t}(Kb);function k3(e,t){var n={type:e.mainType===`series`?e.subType+`Roam`:e.mainType+`Roam`};return n[e.mainType+`Id`]=e.id,M(n,t),n}function A3(e,t){var n=Qm(e);eh(t.group,n.z,n.zlevel)}function j3(e){e.registerComponentModel(D3),e.registerComponentView(O3)}var M3={label:{enabled:!0},decal:{show:!1}},N3=Js(),P3=Js(),F3=Ec(I3);function I3(e,t){var n=e.getModel(`aria`);if(!n.get(`enabled`))return;var r=P3(e).scope||(P3(e).scope={}),i=A(M3);j(i.label,e.getLocaleModel().get(`aria`),!1),j(n.option,i,!1),a(),o();function a(){if(n.getModel(`decal`).get(`show`)){var t=G();e.eachSeries(function(e){e.isColorBySeries()||(N3(e).scope=t.get(e.type)||t.set(e.type,{}))}),e.eachSeries(function(t){if(V(t.enableAriaDecal)){t.enableAriaDecal();return}var n=t.getData();if(t.isColorBySeries()){var i=ev(t.ecModel,t.name,r,e.getSeriesCount()),a=n.getVisual(`decal`);n.setVisual(`decal`,u(a,i))}else{var o=t.getRawData(),s={},c=N3(t).scope;n.each(function(e){var t=n.getRawIndex(e);s[t]=e});var l=o.count();o.each(function(e){var r=s[e],i=o.getName(e)||e+``,a=ev(t.ecModel,i,c,l),d=n.getItemVisual(r,`decal`);n.setItemVisual(r,`decal`,u(d,a))})}function u(e,t){var n=e?M(M({},t),e):t;return n.dirty=!0,n}})}}function o(){var r=t.getZr().dom;if(r){var i=e.getLocaleModel().get(`aria`),a=n.getModel(`label`);if(a.option=N(a.option,i),a.get(`enabled`)){if(r.setAttribute(`role`,`img`),a.get(`description`)){r.setAttribute(`aria-label`,a.get(`description`));return}var o=e.getSeriesCount(),u=a.get([`data`,`maxCount`])||10,d=a.get([`series`,`maxCount`])||10,f=Math.min(o,d),p;if(!(o<1)){var m=c();p=m?s(a.get([`general`,`withTitle`]),{title:m}):a.get([`general`,`withoutTitle`]);var h=[],g=o>1?a.get([`series`,`multiple`,`prefix`]):a.get([`series`,`single`,`prefix`]);p+=s(g,{seriesCount:o}),e.eachSeries(function(e,t){if(t1?a.get([`series`,`multiple`,r]):a.get([`series`,`single`,r]),n=s(n,{seriesId:e.seriesIndex,seriesName:e.get(`name`),seriesType:l(e.subType)});var i=e.getData();if(i.count()>u){var c=a.get([`data`,`partialData`]);n+=s(c,{displayCnt:u})}else n+=a.get([`data`,`allData`]);for(var d=a.get([`data`,`separator`,`middle`]),p=a.get([`data`,`separator`,`end`]),m=a.get([`data`,`excludeDimensionId`]),g=[],_=0;_":`gt`,">=":`gte`,"=":`eq`,"!=":`ne`,"<>":`ne`},B3=function(){function e(e){(this._condVal=H(e)?new RegExp(e):_e(e)?e:null)??Ss(``)}return e.prototype.evaluate=function(e){var t=typeof e;return H(t)?this._condVal.test(e):de(t)?this._condVal.test(e+``):!1},e}(),V3=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),H3=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&r.push(i),i=[e,t]}function u(e,t,n,r){o6(e,n)&&o6(t,r)||i.push(e,t,n,r,n,r)}function d(e,t,n,r,a,o){var s=Math.abs(t-e),c=Math.tan(s/4)*4/3,l=tw:D2&&r.push(i),r}function c6(e,t,n,r,i,a,o,s,c,l){if(o6(e,n)&&o6(t,r)&&o6(i,o)&&o6(a,s)){c.push(o,s);return}var u=2/l,d=u*u,f=o-e,p=s-t,m=Math.sqrt(f*f+p*p);f/=m,p/=m;var h=n-e,g=r-t,_=i-o,v=a-s,y=h*h+g*g,b=_*_+v*v;if(y=0&&w=0){c.push(o,s);return}var T=[],E=[];fr(e,n,i,o,.5,T),fr(t,r,a,s,.5,E),c6(T[0],E[0],T[1],E[1],T[2],E[2],T[3],E[3],c,l),c6(T[4],E[4],T[5],E[5],T[6],E[6],T[7],E[7],c,l)}function l6(e,t){var n=s6(e),r=[];t=t||1;for(var i=0;i0)for(var l=0;lMath.abs(l),d=u6([c,l],+!u,t),f=(u?s:l)/d.length,p=0;pi,o=u6([r,i],+!a,t),s=a?`width`:`height`,c=a?`height`:`width`,l=a?`x`:`y`,u=a?`y`:`x`,d=e[s]/o.length,f=0;f1?null:new q(p*c+e,p*l+t)}function h6(e,t,n){var r=new q;q.sub(r,n,t),r.normalize();var i=new q;return q.sub(i,e,t),i.dot(r)}function g6(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function _6(e,t,n){for(var r=e.length,i=[],a=0;ao?(l.x=u.x=s+a/2,l.y=c,u.y=c+o):(l.y=u.y=c+o/2,l.x=s,u.x=s+a),_6(t,l,u)}function y6(e,t,n,r){if(n===1)r.push(t);else{var i=Math.floor(n/2),a=e(t);y6(e,a[0],i,r),y6(e,a[1],n-i,r)}return r}function b6(e,t){for(var n=[],r=0;r0)for(var x=r/n,S=-r/2;S<=r/2;S+=x){for(var C=Math.sin(S),w=Math.cos(S),T=0,y=0;y0;l/=2){var u=0,d=0;(e&l)>0&&(u=1),(t&l)>0&&(d=1),s+=l*l*(3*u^d),d===0&&(u===1&&(e=l-1-e,t=l-1-t),c=e,e=t,t=c)}return s}function z6(e){var t=1/0,n=1/0,r=-1/0,i=-1/0;return I(I(e,function(e){var a=e.getBoundingRect(),o=e.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),c=a.y+a.height/2+(o?o[5]:0);return t=Math.min(s,t),n=Math.min(c,n),r=Math.max(s,r),i=Math.max(c,i),[s,c]}),function(a,o){return{cp:a,z:R6(a[0],a[1],t,n,r,i),path:e[o]}}).sort(function(e,t){return e.z-t.z}).map(function(e){return e.path})}function B6(e){return C6(e.path,e.count)}function V6(){return{fromIndividuals:[],toIndividuals:[],count:0}}function H6(e,t,n){var r=[];function i(e){for(var t=0;t=0;i--)if(!n[i].many.length){var c=n[s].many;if(c.length<=1)if(s)s=0;else return n;var a=c.length,l=Math.ceil(a/2);n[i].many=c.slice(l,a),n[s].many=c.slice(0,l),s++}return n}var K6={clone:function(e){for(var t=[],n=1-(1-e.path.style.opacity)**(1/e.count),r=0;r0))return;var s=r.getModel(`universalTransition`).get(`delay`),c=M({setToFinal:!0},o),l,u;W6(e)&&(l=e,u=t),W6(t)&&(l=t,u=e);function d(e,t,r,i,o){var l=e.many,u=e.one;if(l.length===1&&!o){var f=t?l[0]:u,p=t?u:l[0];if(j6(f))d({many:[f],one:p},!0,r,i,!0);else{var m=s?N({delay:s(r,i)},c):c;L6(f,p,m),a(f,p,f,p,m)}}else for(var h=N({dividePath:K6[n],individualDelay:s&&function(e,t,n,a){return s(e+r,i)}},c),g=t?H6(l,u,h):U6(u,l,h),_=g.fromIndividuals,v=g.toIndividuals,y=_.length,b=0;bt.length,p=l?G6(u,l):G6(f?t:e,[f?e:t]),m=0,h=0;hY6))for(var i=n.getIndices(),a=0;a0&&r.group.traverse(function(e){e instanceof ju&&!e.animators.length&&e.animateFrom({style:{opacity:0}},i)})})}function u8(e){return e.getModel(`universalTransition`).get(`seriesKey`)||e.id}function d8(e){return B(e)?e.sort().join(`,`):e}function f8(e){if(e.hostModel)return e.hostModel.getModel(`universalTransition`).get(`divideShape`)}function p8(e,t){var n=G(),r=G(),i=G();return F(e.oldSeries,function(t,n){var a=e.oldDataGroupIds[n],o=e.oldData[n],s=u8(t),c=d8(s);r.set(c,{dataGroupId:a,data:o}),B(s)&&F(s,function(e){i.set(e,{key:c,dataGroupId:a,data:o})})}),F(t.updatedSeries,function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get(`dataGroupId`),a=e.getData(),o=u8(e),s=d8(o),c=r.get(s);if(c)n.set(s,{oldSeries:[{dataGroupId:c.dataGroupId,divide:f8(c.data),data:c.data}],newSeries:[{dataGroupId:t,divide:f8(a),data:a}]});else if(B(o)){var l=[];F(o,function(e){var t=r.get(e);t.data&&l.push({dataGroupId:t.dataGroupId,divide:f8(t.data),data:t.data})}),l.length&&n.set(s,{oldSeries:l,newSeries:[{dataGroupId:t,data:a,divide:f8(a)}]})}else{var u=i.get(o);if(u){var d=n.get(u.key);d||(d={oldSeries:[{dataGroupId:u.dataGroupId,data:u.data,divide:f8(u.data)}],newSeries:[]},n.set(u.key,d)),d.newSeries.push({dataGroupId:t,data:a,divide:f8(a)})}}}}),n}function m8(e,t){for(var n=0;n=0&&i.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:f8(t.oldData[n]),groupIdDim:e.dimension})}),F(Es(e.to),function(e){var r=m8(n.updatedSeries,e);if(r>=0){var i=n.updatedSeries[r].getData();a.push({dataGroupId:t.oldDataGroupIds[r],data:i,divide:f8(i),groupIdDim:e.dimension})}}),i.length>0&&a.length>0&&l8(i,a,r)}function g8(e){e.registerUpdateLifecycle(`series:beforeupdate`,function(e,t,n){F(Es(n.seriesTransition),function(e){F(Es(e.to),function(e){for(var t=n.updatedSeries,r=0;ro.vmin?n+=o.vmin-r+(e-o.vmin)/(o.vmax-o.vmin)*o.gapReal:n+=e-r,r=o.vmax,i=!1;break}n+=o.vmin-r+o.gapReal,r=o.vmax}return i&&(n+=e-r),n},transformOut:function(e,t){if(t&&t.depth===2)return e;for(var n=y8,r=b8,i=!0,a=0,o=0;oc?s.vmin+(e-c)/(l-c)*(s.vmax-s.vmin):r+e-n,r=s.vmax,i=!1;break}n=l,r=s.vmax}return i&&(a=r+e-n),a}},e}();function v8(e,t){return new _8(e,t)}var y8=0,b8=0;function x8(e,t){var n=0,r={tpAbs:{span:0,val:0},tpPrct:{span:0,val:0}},i=function(){return{has:!1,span:NaN,inExtFrac:NaN,val:NaN}},a={S:{tpAbs:i(),tpPrct:i()},E:{tpAbs:i(),tpPrct:i()}};F(e.breaks,function(e){var i=e.gapParsed;i.type===`tpPrct`&&(n+=i.val);var o=w8(e,t);if(o){var s=o.vmin!==e.vmin,c=o.vmax!==e.vmax,l=o.vmax-o.vmin;if(!(s&&c))if(s||c){var u=s?`S`:`E`;a[u][i.type].has=!0,a[u][i.type].span=l,a[u][i.type].inExtFrac=l/(e.vmax-e.vmin),a[u][i.type].val=i.val}else r[i.type].span+=l,r[i.type].val+=i.val}});var o=n*(0+(t[1]-t[0])+(r.tpAbs.val-r.tpAbs.span)+(a.S.tpAbs.has?(a.S.tpAbs.val-a.S.tpAbs.span)*a.S.tpAbs.inExtFrac:0)+(a.E.tpAbs.has?(a.E.tpAbs.val-a.E.tpAbs.span)*a.E.tpAbs.inExtFrac:0)-r.tpPrct.span-(a.S.tpPrct.has?a.S.tpPrct.span*a.S.tpPrct.inExtFrac:0)-(a.E.tpPrct.has?a.E.tpPrct.span*a.E.tpPrct.inExtFrac:0))/(1-r.tpPrct.val-(a.S.tpPrct.has?a.S.tpPrct.val*a.S.tpPrct.inExtFrac:0)-(a.E.tpPrct.has?a.E.tpPrct.val*a.E.tpPrct.inExtFrac:0));F(e.breaks,function(e){var t=e.gapParsed;t.type===`tpPrct`&&(e.gapReal=n===0?0:Ao(o,0)*t.val/n),t.type===`tpAbs`&&(e.gapReal=t.val),e.gapReal??(e.gapReal=0)})}function S8(e,t,n,r,i,a){e!==`no`&&F(n,function(n){var o=w8(n,a);if(o)for(var s=t.length-1;s>=0;s--){var c=t[s],l=r(c),u=i*3/4;l>o.vmin-u&&lt[0]&&n=0&&e<.99999}F(e,function(e){if(!(!e||e.start==null||e.end==null)&&!e.isExpanded){var a={breakOption:A(e),vmin:t.parse(e.start),vmax:t.parse(e.end),gapParsed:{type:`tpAbs`,val:0},gapReal:null};if(e.gap!=null){var o=!1;if(H(e.gap)){var s=we(e.gap);if(s.match(/%$/)){var c=parseFloat(s)/100;i(c,`Percent gap`)||(c=0),a.gapParsed.type=`tpPrct`,a.gapParsed.val=c,o=!0}}if(!o){var l=t.parse(e.gap);(!isFinite(l)||l<0)&&(l=0),a.gapParsed.type=`tpAbs`,a.gapParsed.val=l}}if(a.vmin===a.vmax&&(a.gapParsed.type=`tpAbs`,a.gapParsed.val=0),n&&n.noNegative&&F([`vmin`,`vmax`],function(e){a[e]<0&&(a[e]=0)}),a.vmin>a.vmax){var u=a.vmax;a.vmax=a.vmin,a.vmin=u}r.push(a)}}),r.sort(function(e,t){return e.vmin-t.vmin});var a=-1/0;return F(r,function(e,t){a>e.vmin&&(r[t]=null),a=e.vmax}),{breaks:se(r,function(e){return!!e})}}function E8(e,t){return D8(t)===D8(e)}function D8(e){return e.start+`_\0_`+e.end}function O8(e,t,n){var r=[];F(e,function(e,n){var i=t(e);i&&i.type===`vmin`&&r.push([n])}),F(e,function(n,i){var a=t(n);if(a&&a.type===`vmax`){var o=ce(r,function(n){return E8(t(e[n[0]]).parsedBreak.breakOption,a.parsedBreak.breakOption)});o&&o.push(i)}});var i=[];return F(r,function(t){t.length===2&&i.push(n?t:[e[t[0]],e[t[1]]])}),i}function k8(e,t,n,r){if(t.break){var i=t.break.parsedBreak,a=ce(n,function(e){return E8(e.breakOption,t.break.parsedBreak.breakOption)}),o={lookup:r,depth:2},s={vmin:e.transformOut(i.vmin,o),vmax:e.transformOut(i.vmax,o),breakOption:i.breakOption,gapParsed:A(a.gapParsed),gapReal:i.gapReal};return{tickVal:s[t.break.type],vBreak:{type:t.break.type,parsedBreak:s}}}}function A8(e,t,n,r,i){i.original=T8(e,t,n);var a=i.transformed=T8(e,t,n),o=i.lookup;a.breaks=I(a.breaks,function(e,n){var i={depth:2},a=t.transformIn(e.vmin,i),s=t.transformIn(e.vmax,i),c={type:e.gapParsed.type,val:e.gapParsed.type===`tpAbs`?t.transformIn(e.vmin+e.gapParsed.val,i)-a:e.gapParsed.val};return o.from[r+n]=a,o.to[r+n]=e.vmin,o.from[r+n+1]=s,o.to[r+n+1]=e.vmax,{vmin:a,vmax:s,gapParsed:c,gapReal:e.gapReal,breakOption:e.breakOption}})}var j8={vmin:`start`,vmax:`end`};function M8(e,t){return t&&(e=e||{},e.break={type:j8[t.type],start:t.parsedBreak.vmin,end:t.parsedBreak.vmax}),e}function N8(){$h({createBreakScaleMapper:v8,pruneTicksByBreak:S8,addBreaksToTicks:C8,parseAxisBreakOption:T8,identifyAxisBreak:E8,serializeAxisBreakIdentifier:D8,retrieveAxisBreakPairs:O8,getTicksBreakOutwardTransform:k8,parseAxisBreakOptionInwardTransform:A8,makeAxisLabelFormatterParamBreak:M8})}var P8=Js();function F8(e,t){var n=ce(e,function(e){return eg().identifyAxisBreak(e.parsedBreak.breakOption,t.breakOption)});return n||e.push(n={zigzagRandomList:[],parsedBreak:t,shouldRemove:!1}),n}function I8(e){F(e,function(e){return e.shouldRemove=!0})}function L8(e){for(var t=e.length-1;t>=0;t--)e[t].shouldRemove&&e.splice(t,1)}function R8(e,t,n,r,i){var a=n.axis;if(a.scale.isBlank()||!eg())return;var o=eg().retrieveAxisBreakPairs(a.scale.getTicks({breakTicks:`only_break`}),function(e){return e.break},!1);if(!o.length)return;var s=n.getModel(`breakArea`),c=s.get(`zigzagAmplitude`),l=s.get(`zigzagMinSpan`),u=s.get(`zigzagMaxSpan`);l=Math.max(2,l||0),u=Math.max(l,u||0);var d=s.get(`expandOnClick`),f=s.get(`zigzagZ`),p=s.getModel(`itemStyle`).getItemStyle(),m=p.stroke,h=p.lineWidth,g=p.lineDash,_=p.fill,v=new Y({ignoreModelZ:!0}),y=a.isHorizontal(),b=P8(t).visualList||(P8(t).visualList=[]);I8(b);for(var x=function(e){var t=o[e][0].break.parsedBreak,r=[];r[0]=a.toGlobalCoord(a.dataToCoord(t.vmin,!0)),r[1]=a.toGlobalCoord(a.dataToCoord(t.vmax,!0)),r[1]=y;D&&(w=y);var O=[],k=[];O[d]=n,k[d]=i,!E&&!D&&(O[d]+=C?-c:c,k[d]-=C?c:-c),O[v]=w,k[v]=w,x.push(O),S.push(k);var A=void 0;if(Tn[1]&&n.reverse(),{coordPair:n,brkId:eg().serializeAxisBreakIdentifier(t.breakOption)}});s.sort(function(e,t){return e.coordPair[0]-t.coordPair[0]});for(var c=o[0],l=null,u=0;u=0?c[0].width:c[1].width)+u.x)/2-l.x,f=Math.min(d,d-u.x),p=Math.max(d,d-u.x);s=(d-(p<0?p:f>0?f:0))/u.x}var m=new q,h=new q;q.scale(m,r,-s),q.scale(h,r,1-s),Zk(n[0],m),Zk(n[1],h)}function V8(e,t){var n={breaks:[]};return F(t.breaks,function(r){if(r){var i=ce(e.get(`breaks`,!0),function(e){return eg().identifyAxisBreak(e,r)});if(i){var a=t.type,o={isExpanded:!!i.isExpanded};i.isExpanded=a===`expandAxisBreak`?!0:a===`collapseAxisBreak`?!1:a===`toggleAxisBreak`?!i.isExpanded:i.isExpanded,n.breaks.push({start:i.start,end:i.end,isExpanded:!!i.isExpanded,old:o})}}}),n}function H8(){Tj({adjustBreakLabelPair:B8,buildAxisBreakLine:z8,rectCoordBuildBreakAxis:R8,updateModelAxisBreak:V8})}function U8(e){Fj(e),N8(),H8()}function W8(){DP(G8)}function G8(e,t){F(e,function(e){if(!e.model.get([`axisLabel`,`inside`])){var n=K8(e);if(n){var r=e.isHorizontal()?`height`:`width`,i=e.model.get([`axisLabel`,`margin`]);t[r]-=n[r]+i,e.position===`top`?t.y+=n.height+i:e.position===`left`&&(t.x+=n.width+i)}}})}function K8(e){var t=e.model,n=e.scale;if(!t.get([`axisLabel`,`show`])||n.isBlank())return;var r,i,a=n.getExtent();n instanceof EE?i=n.count():(r=n.getTicks(),i=r.length);var o=e.getLabelModel(),s=nD(e),c,l=1;i>40&&(l=Math.ceil(i/40));for(var u=0;u=X8:-c>=X8),f=c>0?c%X8:c%X8+X8,p=!1;p=d?!0:si(u)?!1:f>=Y8==!!l;var m=e+n*J8(a),h=t+r*q8(a);this._start&&this._add(`M`,m,h);var g=Math.round(i*Z8);if(d){var _=1/this._p,v=(l?1:-1)*(X8-_);this._add(`A`,n,r,g,1,+l,e+n*J8(a+v),t+r*q8(a+v)),_>.01&&this._add(`A`,n,r,g,0,+l,m,h)}else{var y=e+n*J8(o),b=t+r*q8(o);this._add(`A`,n,r,g,+p,+l,y,b)}},e.prototype.rect=function(e,t,n,r){this._add(`M`,e,t),this._add(`l`,n,0),this._add(`l`,0,r),this._add(`l`,-n,0),this._add(`Z`)},e.prototype.closePath=function(){this._d.length>0&&this._add(`Z`)},e.prototype._add=function(e,t,n,r,i,a,o,s,c){for(var l=[],u=this._p,d=1;d`}function m5(e){return``}function h5(e,t){t=t||{};var n=t.newline?` +`:``;function r(e){var t=e.children,i=e.tag,a=e.attrs,o=e.text;return p5(i,a)+(i===`style`?o||``:Et(o))+(t?``+n+I(t,function(e){return r(e)}).join(n)+n:``)+m5(i)}return r(e)}function g5(e,t,n){n=n||{};var r=n.newline?` +`:``,i=` {`+r,a=r+`}`,o=I(L(e),function(t){return t+i+I(L(e[t]),function(n){return n+`:`+e[t][n]+`;`}).join(r)+a}).join(r),s=I(L(t),function(e){return`@keyframes `+e+i+I(L(t[e]),function(n){return n+i+I(L(t[e][n]),function(r){var i=t[e][n][r];return r===`d`&&(i=`path("`+i+`")`),r+`:`+i+`;`}).join(r)+a}).join(r)+a}).join(r);return!o&&!s?``:[``].join(r)}function _5(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function v5(e,t,n,r){return f5(`svg`,`root`,{width:e,height:t,xmlns:o5,"xmlns:xlink":s5,version:`1.1`,baseProfile:`full`,viewBox:r?`0 0 `+e+` `+t:!1},n)}var y5=0;function b5(){return y5++}var x5={cubicIn:`0.32,0,0.67,0`,cubicOut:`0.33,1,0.68,1`,cubicInOut:`0.65,0,0.35,1`,quadraticIn:`0.11,0,0.5,0`,quadraticOut:`0.5,1,0.89,1`,quadraticInOut:`0.45,0,0.55,1`,quarticIn:`0.5,0,0.75,0`,quarticOut:`0.25,1,0.5,1`,quarticInOut:`0.76,0,0.24,1`,quinticIn:`0.64,0,0.78,0`,quinticOut:`0.22,1,0.36,1`,quinticInOut:`0.83,0,0.17,1`,sinusoidalIn:`0.12,0,0.39,0`,sinusoidalOut:`0.61,1,0.88,1`,sinusoidalInOut:`0.37,0,0.63,1`,exponentialIn:`0.7,0,0.84,0`,exponentialOut:`0.16,1,0.3,1`,exponentialInOut:`0.87,0,0.13,1`,circularIn:`0.55,0,1,0.45`,circularOut:`0,0.55,0.45,1`,circularInOut:`0.85,0,0.15,1`},S5=`transform-origin`;function C5(e,t,n){var r=M({},e.shape);M(r,t),e.buildPath(n,r);var i=new Q8;return i.reset(Si(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function w5(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[S5]=n+`px `+r+`px`)}var T5={fill:`fill`,opacity:`opacity`,lineWidth:`stroke-width`,lineDashOffset:`stroke-dashoffset`};function E5(e,t){var n=t.zrId+`-ani-`+ t.cssAnimIdx++;return t.cssAnims[n]=e,n}function D5(e,t,n){var r=e.shape.paths,i={},a,o;if(F(r,function(e){var t=_5(n.zrId);t.animation=!0,k5(e,{},t,!0);var r=t.cssAnims,s=t.cssNodes,c=L(r),l=c.length;if(l){o=c[l-1];var u=r[o];for(var d in u){var f=u[d];i[d]=i[d]||{d:``},i[d].d+=f.d||``}for(var p in s){var m=s[p].animation;m.indexOf(o)>=0&&(a=m)}}}),a){t.d=!1;var s=E5(i,n);return a.replace(o,s)}}function O5(e){return H(e)?x5[e]?`cubic-bezier(`+x5[e]+`)`:Cr(e)?e:``:``}function k5(e,t,n,r){var i=e.animators,a=i.length,o=[];if(e instanceof Bp){var s=D5(e,t,n);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var c={},l=0;l0}).length)return E5(l,n)+` `+i[0]+` both`}for(var g in c){var s=h(c[g]);s&&o.push(s)}if(o.length){var _=n.zrId+`-cls-`+b5();n.cssNodes[`.`+_]={animation:o.join(`,`)},t.class=_}}function A5(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":`none`};j5(r,t,n,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},a=i.fill;if(!a){var o=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,c=e.currentStates.indexOf(`select`)>=0&&s||o;c&&(a=ri(c))}var l=i.lineWidth;if(l){var u=!i.strokeNoScale&&e.transform?e.transform[0]:1;l/=u}var r={cursor:`pointer`};a&&(r.fill=a),i.stroke&&(r.stroke=i.stroke),l&&(r[`stroke-width`]=l),j5(r,t,n,!0)}}function j5(e,t,n,r){var i=JSON.stringify(e),a=n.cssStyleCache[i];a||(a=n.zrId+`-cls-`+b5(),n.cssStyleCache[i]=a,n.cssNodes[`.`+a+(r?`:hover`:``)]=e),t.class=t.class?t.class+` `+a:a}var M5=Math.round;function N5(e){return e&&H(e.src)}function P5(e){return e&&V(e.toDataURL)}function F5(e,t,n,r){a5(function(i,a){var o=i===`fill`||i===`stroke`;o&&bi(a)?X5(t,e,i,r):o&&_i(a)?Z5(n,e,i,r):e[i]=a,o&&r.ssr&&a===`none`&&(e[`pointer-events`]=`visible`)},t,n,!1),Y5(n,e,r)}function I5(e,t){var n=Co(t);n&&(n.each(function(t,n){t!=null&&(e[(`ecmeta_`+n).toLowerCase()]=t+``)}),t.isSilent()&&(e[u5+`silent`]=`true`))}function L5(e){return si(e[0]-1)&&si(e[1])&&si(e[2])&&si(e[3]-1)}function R5(e){return si(e[4])&&si(e[5])}function z5(e,t,n){if(t&&!(R5(t)&&L5(t))){var r=n?10:1e4;e.transform=L5(t)?`translate(`+M5(t[4]*r)/r+` `+M5(t[5]*r)/r+`)`:ui(t)}}function B5(e,t,n){for(var r=e.points,i=[],a=0;a`u`){var g=`Image width/height must been given explictly in svg-ssr renderer.`;Ce(f,g),Ce(p,g)}else if(f==null||p==null){var _=function(e,t){if(e){var n=e.elm,r=f||t.width,i=p||t.height;e.tag===`pattern`&&(l?(i=1,r/=a.width):u&&(r=1,i/=a.height)),e.attrs.width=r,e.attrs.height=i,n&&(n.setAttribute(`width`,r),n.setAttribute(`height`,i))}},v=Kc(m,null,e,function(e){c||_(S,e),_(d,e)});v&&v.width&&v.height&&(f=f||v.width,p=p||v.height)}d=f5(`image`,`img`,{href:m,width:f,height:p}),o.width=f,o.height=p}else i.svgElement&&(d=A(i.svgElement),o.width=i.svgWidth,o.height=i.svgHeight);if(d){var y,b;c?y=b=1:l?(b=1,y=o.width/a.width):u?(y=1,b=o.height/a.height):o.patternUnits=`userSpaceOnUse`,y!=null&&!isNaN(y)&&(o.width=y),b!=null&&!isNaN(b)&&(o.height=b);var x=Ci(i);x&&(o.patternTransform=x);var S=f5(`pattern`,``,o,[d]),C=h5(S),w=r.patternCache,T=w[C];T||(T=r.zrId+`-p`+ r.patternIdx++,w[C]=T,o.id=T,S=r.defs[T]=f5(`pattern`,T,o,[d])),t[n]=xi(T)}}function Q5(e,t,n){var r=n.clipPathCache,i=n.defs,a=r[e.id];if(!a){a=n.zrId+`-c`+ n.clipPathIdx++;var o={id:a};r[e.id]=a,i[a]=f5(`clipPath`,a,o,[G5(e,n)])}t[`clip-path`]=xi(a)}function $5(e){return document.createTextNode(e)}function e7(e,t,n){e.insertBefore(t,n)}function t7(e,t){e.removeChild(t)}function n7(e,t){e.appendChild(t)}function r7(e){return e.parentNode}function i7(e){return e.nextSibling}function a7(e,t){e.textContent=t}var o7=58,s7=120,c7=f5(``,``);function l7(e){return e===void 0}function u7(e){return e!==void 0}function d7(e,t,n){for(var r={},i=t;i<=n;++i){var a=e[i].key;a!==void 0&&(r[a]=i)}return r}function f7(e,t){var n=e.key===t.key;return e.tag===t.tag&&n}function p7(e){var t,n=e.children,r=e.tag;if(u7(r)){var i=e.elm=d5(r);if(g7(c7,e),B(n))for(t=0;ta?(m=n[c+1]==null?null:n[c+1].elm,m7(e,m,n,i,c)):h7(e,t,r,a))}function v7(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(g7(e,t),l7(t.text)?u7(r)&&u7(i)?r!==i&&_7(n,r,i):u7(i)?(u7(e.text)&&a7(n,``),m7(n,null,i,0,i.length-1)):u7(r)?h7(n,r,0,r.length-1):u7(e.text)&&a7(n,``):e.text!==t.text&&(u7(r)&&h7(n,r,0,r.length-1),a7(n,t.text)))}function y7(e,t){if(f7(e,t))v7(e,t);else{var n=e.elm,r=r7(n);p7(t),r!==null&&(e7(r,t.elm,i7(n)),h7(r,[e],0,0))}return t}var b7=0,x7=function(){function e(e,t,n){if(this.type=`svg`,this.configLayer=S7(`configLayer`),this.storage=t,this._opts=n=M({},n),this.root=e,this._id=`zr`+ b7++,this._oldVNode=v5(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement(`div`);r.style.cssText=`position:relative;overflow:hidden`;var i=this._svgDom=this._oldVNode.elm=d5(`svg`);g7(null,this._oldVNode),r.appendChild(i),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style=`position:absolute;left:0;top:0;user-select:none`,y7(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return J5(e,_5(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=_5(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress,i.emphasis=e.emphasis,i.ssr=this._opts.ssr;var a=[],o=this._bgVNode=C7(n,r,this._backgroundColor,i);o&&a.push(o);var s=e.compress?null:this._mainVNode=f5(`g`,`main`,{},[]);this._paintList(t,i,s?s.children:a),s&&a.push(s);var c=I(L(i.defs),function(e){return i.defs[e]});if(c.length&&a.push(f5(`defs`,`defs`,{},c)),e.animation){var l=g5(i.cssNodes,i.cssAnims,{newline:!0});if(l){var u=f5(`style`,`stl`,{},[],l);a.push(u)}}return v5(n,r,a,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},h5(this.renderToVNode({animation:W(e.cssAnimation,!0),emphasis:W(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:W(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r=e.length,i=[],a=0,o,s,c=0,l=0;l=0&&!(d&&s&&d[m]===s[m]);m--);for(var h=p-1;h>m;h--)a--,o=i[a-1];for(var g=m+1;g=a)}}for(var l=D7(this),u=l.startIdx;u=0)&&(a=!0)}),!(!a&&!i.__dirty)){var o=n._opts.useDirtyRect&&!E7(i)?i.createRepaintRects(e,t,n._width,n._height):null,s=n._i.layerStack[0],c=!0;if(i.__dirty){c=!1,i.__dirty=!1;var l=i.zlevel===s.zl&&i.zlevel2===s.zl2?n._backgroundColor:null;i.clear(!1,l,o)}B7(i,function(t){var a=n._paintPerCursor(i,t,e,o,c);r=r&&a})}},K7),i.wxa&&H7(this._i,function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()}),r},e.prototype._paintPerCursor=function(e,t,n,r,i){var a=e.ctx;if(r)if(!r.length)t.drawIdx=t.endIdx;else for(var o=this.dpr,s=0;s=t.endIdx},e.prototype._paintPerCursorInRect=function(e,t,n,r,i){for(var a={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:i}},o=e.ctx,s=E7(e),c=s&&f.getTime(),l=t.drawIdx,u=t.notClearIdx,d=u>=0?Math.min(u,l):l;d15){d++;break}}}nC(o,a),t.drawIdx=Math.max(d,l)},e.prototype.getLayer=function(e,t){return this._ensureLayer(e,0,t)},e.prototype._ensureLayer=function(e,t,n){t=t||0;var r=this._singleCanvas;r&&!this._needsManuallyCompositing&&(e=A7,t=0);var i=V7(this._i,e)[t];return i||(i=I7(`zr_`+e+`.`+t,this,e,t),this._layerConfig[e]&&j(i,this._layerConfig[e],!0),(n||r&&e!==A7)&&(i.virtual=!0),this._insertLayer(i,e,t,!1),i.initContext()),i},e.prototype.insertLayer=function(e,t){this._insertLayer(t,e,0,!1)},e.prototype._insertLayer=function(e,t,n,r){var i=this._i,a=i.layers,o=i.layerStack,s=this._domRoot,c=null;if(!(a[t]&&a[t][n])&&P7(e)){for(var l=o.length,u=0;u0&&(c=V7(i,o[u-1].zl)[o[u-1].zl2]),o.splice(u,0,{zl:t,zl2:n}),V7(i,t)[n]=e,!r&&!e.virtual)if(c){var d=c.dom;d.nextSibling?s.insertBefore(e.dom,d.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom);e.painter||(e.painter=this)}},e.prototype.eachLayer=function(e,t){return H7(this._i,function(n,r){e.call(t,n,r)})},e.prototype.eachBuiltinLayer=function(e,t){return H7(this._i,function(n,r){e.call(t,n,r)},U7)},e.prototype.eachOtherLayer=function(e,t){return H7(this._i,function(n,r){e.call(t,n,r)},W7)},e.prototype.getLayers=function(){var e={};return H7(this._i,function(t,n,r){e[t.id]=t}),e},e.prototype._updateLayerStatus=function(e,t){var n=this;if(n._singleCanvas)for(var r=1;r=0;a--){var o=i.get(r[a]);if(!o.used)t.__dirty=!0,i.removeKey(r[a]),r.splice(a,1);else{var s=o.endIdxNew;(E7(t)?s=0;r--){var i=t[r];if(i.zl===e){var a=n[e][i.zl2];if(a.__builtin__)continue;if(t.splice(r,1),n[e][i.zl2]=void 0,!a.virtual){var o=a.dom.parentNode;o&&o.removeChild(a.dom)}}}},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display=`none`;var r=this._opts,i=this.root;e!=null&&(r.width=e),t!=null&&(r.height=t),e=DS(i,0,r),t=DS(i,1,r),n.style.display=``,(this._width!==e||t!==this._height)&&(n.style.width=e+`px`,n.style.height=t+`px`,H7(this._i,function(n){n.resize(e,t)}),this.refresh({paintAll:!0})),this._width=e,this._height=t}else{if(e==null||t==null)return;this._width=e,this._height=t,this._ensureLayer(A7).resize(e,t)}return this},e.prototype.clearLayer=function(e){F(this._i.layers[e],function(e){e&&!e.__builtin__&&e.clear()})},e.prototype.dispose=function(){this.root.innerHTML=``,this.root=this.storage=this._domRoot=this._i=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[A7][0].dom;var t=new O7(`image`,this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;H7(this._i,function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())})}else{for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},o=this.storage.getDisplayList(!0),s=0,c=o.length;s=S&&(w=0),w++}function DM(){for(var t=[],e=0;e>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return e.clearMarkers=function(){VM(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})},n}(e,a),a,r);if(s)return s(t,n,i),!0}return!1}function YI(t){return"CANVAS"===t.nodeName.toUpperCase()}function XI(t){return null==t?"":(t+"").replace(W,function(t,e){return U[e]})}function ZI(t,e,n,i){return n=n||{},i?jI(t,e,n):Z&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):jI(t,e,n),n}function jI(t,e,n){if(o.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(YI(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(UI(X,t,i,r))return n.zrX=X[0],void(n.zrY=X[1])}n.zrX=n.zrY=0}function qI(t){return t||window.event}function KI(t,e,n){if(null!=(e=qI(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&ZI(t,r,e,n)}else{ZI(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&Y.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function $I(t,e,n,i){t.addEventListener(e,n,i)}function JI(t,e,n,i){t.removeEventListener(e,n,i)}function QI(t){return 2===t.which||3===t.which}function tT(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function eT(){return[1,0,0,1,0,0]}function nT(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function iT(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function rT(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function oT(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function aT(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+s*c,t[1]=-r*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-i[0])+c*(u-i[1])+i[0],t[5]=h*(u-i[1])-c*(a-i[0])+i[1],t}function sT(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function lT(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function uT(t){var e=[1,0,0,1,0,0];return iT(e,t),e}function cT(t,e,n,i,r,o,a,s){var l=et(e-n),u=et(i-t),c=Q(l,u),h=nt[r],d=nt[1-r],p=it[r];e=u||!lt.bidirectional)&&(ut[h]=-u,ut[d]=0,lt.useDir&<.calcDirMTV())))}function hT(){var t=0,e=new J,n=new J,i={minTv:new J,maxTv:new J,useDir:!1,dirMinTv:new J,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(r,o){i.touchThreshold=0,r&&null!=r.touchThreshold&&(i.touchThreshold=tt(0,r.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,r&&null!=r.direction&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),n.copy(i.minTv),t=r.direction,i.bidirectional=null==r.bidirectional||!!r.bidirectional,i.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var o=i.minTv,a=i.dirMinTv,s=o.y*o.y+o.x*o.x,l=Math.sin(t),u=Math.cos(t),c=l*o.y+u*o.x;r(c)?r(o.x)&&r(o.y)&&a.set(0,0):(n.x=s*u/c,n.y=s*l/c,r(n.x)&&r(n.y)?a.set(0,0):(i.bidirectional||e.dot(n)>0)&&n.len()=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=pT(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==wt)){e.target=a;break}}}function gT(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}function yT(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function vT(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function mT(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function xT(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function _T(t,e){var n,i,r=At,o=0,a=[];function s(s){var l=n[s],u=i[s],c=n[s+1],h=i[s+1];i[s]=u+h,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var d=xT(t[c],t,l,u,0,e);l+=d,0!==(u-=d)&&0!==(h=mT(t[l+u-1],t,c,h,h-1,e))&&(u<=h?function(n,i,o,s){var l=0;for(l=0;l=At||p>=At);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[p+l]=t[d+l];if(0===i){v=!0;break}}if(t[h--]=a[c--],1===--s){v=!0;break}if(0!==(y=s-mT(t[u],a,0,s,s-1,e))){for(s-=y,p=1+(h-=y),d=1+(c-=y),l=0;l=At||y>=At);if(v)break;f<0&&(f=0),f+=2}if((r=f)<1&&(r=1),1===s){for(p=1+(h-=i),d=1+(u-=i),l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=a[c]}else{if(0===s)throw new Error;for(d=h-(s-1),l=0;l=0;l--)t[p+l]=t[d+l];t[h]=a[c]}else for(d=h-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=Dt;)e|=1&t,t>>=1;return t+e}(r);do{if((o=yT(t,n,i,e))s&&(l=s),vT(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}function wT(){kt||(kt=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ST(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function MT(t){return t>-Et&&tEt||t<-Et}function TT(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function CT(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function DT(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,h=s*l-9*a*u,d=l*l-3*s*u,p=0;if(MT(c)&&MT(h))MT(s)?o[0]=0:(M=-l/s)>=0&&M<=1&&(o[p++]=M);else{var f=h*h-4*c*d;if(MT(f)){var g=h/c,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[p++]=M),y>=0&&y<=1&&(o[p++]=y)}else if(f>0){var v=Nt(f),m=c*s+1.5*a*(-h+v),x=c*s+1.5*a*(-h-v);(M=(-s-((m=m<0?-Rt(-m,Vt):Rt(m,Vt))+(x=x<0?-Rt(-x,Vt):Rt(x,Vt))))/(3*a))>=0&&M<=1&&(o[p++]=M)}else{var _=(2*c*s-3*a*h)/(2*Nt(c*c*c)),b=Math.acos(_)/3,w=Nt(c),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+Bt*Math.sin(b)))/(3*a),(-s+w*(S-Bt*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[p++]=M),y>=0&&y<=1&&(o[p++]=y),I>=0&&I<=1&&(o[p++]=I)}}return p}function AT(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(MT(a))IT(o)&&(c=-s/o)>=0&&c<=1&&(r[l++]=c);else{var u=o*o-4*a*s;if(MT(u))r[0]=-o/(2*a);else if(u>0){var c,h=Nt(u),d=(-o-h)/(2*a);(c=(-o+h)/(2*a))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}function kT(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function LT(t,e,n,i,r,o,a,s,l,u,c){var h,d,p,f,g,y=.005,v=1/0;Gt[0]=l,Gt[1]=u;for(var m=0;m<1;m+=.05)Ft[0]=TT(t,n,r,a,m),Ft[1]=TT(e,i,o,s,m),(f=E(Gt,Ft))=0&&f=0&&y=1?1:DT(0,i,o,1,t,s)&&TT(0,r,a,1,s[0])}}}function GT(t){return(t=Math.round(t))<0?0:t>255?255:t}function FT(t){return t<0?0:t>1?1:t}function HT(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?GT(parseFloat(e)/100*255):GT(parseInt(e,10))}function WT(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?FT(parseFloat(e)/100):FT(parseFloat(e))}function UT(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function YT(t,e,n){return t+(e-t)*n}function XT(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function ZT(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function jT(t,e){$t&&ZT($t,e),$t=Kt.put(t,$t||e.slice())}function qT(t,e){if(t){e=e||[];var n=Kt.get(t);if(n)return ZT(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in qt)return ZT(e,qt[i]),jT(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(XT(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),jT(t,e),e):void XT(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(XT(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),jT(t,e),e):void XT(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?XT(e,+u[0],+u[1],+u[2],1):XT(e,0,0,0,1);c=WT(u.pop());case"rgb":return u.length>=3?(XT(e,HT(u[0]),HT(u[1]),HT(u[2]),3===u.length?c:WT(u[3])),jT(t,e),e):void XT(e,0,0,0,1);case"hsla":return 4!==u.length?void XT(e,0,0,0,1):(u[3]=WT(u[3]),KT(u,e),jT(t,e),e);case"hsl":return 3!==u.length?void XT(e,0,0,0,1):(KT(u,e),jT(t,e),e);default:return}}XT(e,0,0,0,1)}}function KT(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=WT(t[1]),r=WT(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return XT(e=e||[],GT(255*UT(a,o,n+1/3)),GT(255*UT(a,o,n)),GT(255*UT(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function $T(t,e){var n=qT(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return iC(n,4===n.length?"rgba":"rgb")}}function JT(t){var e=qT(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function QT(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=GT(YT(a[0],s[0],l)),n[1]=GT(YT(a[1],s[1],l)),n[2]=GT(YT(a[2],s[2],l)),n[3]=FT(YT(a[3],s[3],l)),n}}function tC(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=qT(e[r]),s=qT(e[o]),l=i-r,u=iC([GT(YT(a[0],s[0],l)),GT(YT(a[1],s[1],l)),GT(YT(a[2],s[2],l)),FT(YT(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}function eC(t,e,n,i){var r=qT(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(jM(e)?e(r[0]):e)),null!=n&&(r[1]=WT(jM(n)?n(r[1]):n)),null!=i&&(r[2]=WT(jM(i)?i(r[2]):i)),iC(KT(r),"rgba")}function nC(t,e){var n=qT(t);if(n&&null!=e)return n[3]=FT(e),iC(n,"rgba")}function iC(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function rC(t,e){var n=qT(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function oC(){return iC([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}function aC(t){if(qM(t)){var e=te.get(t);return e||(e=$T(t,-.1),te.put(t,e)),e}if(nI(t)){var n=PM({},t);return n.colorStops=GM(t.colorStops,function(t){return{offset:t.offset,color:$T(t.color,-.1)}}),n}return t}function sC(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=qT(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function lC(t){return t-ne}function uC(t){return ee(1e3*t)/1e3}function cC(t){return ee(1e4*t)/1e4}function hC(t){return t&&!!t.image}function dC(t){return hC(t)||function(t){return t&&!!t.svgElement}(t)}function pC(t){return"linear"===t.type}function fC(t){return"radial"===t.type}function gC(t){return t&&("linear"===t.type||"radial"===t.type)}function yC(t){return"url(#"+t+")"}function vC(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function mC(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*k,r=sI(t.scaleX,1),o=sI(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+ee(a*k)+"deg, "+ee(s*k)+"deg)"),l.join(" ")}function xC(t,e,n){return(e-t)*n+t}function _C(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;sAe||t<-Ae}function BC(){return new Re}function VC(t,e){return OM(t,e,Ee)}function GC(t){ze||(ze=new Zt(100)),t=t||"12px sans-serif";var e=ze.get(t);return e||(e={font:t,strWidthCache:new Zt(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:u.measureText("国",t).width,asciiCharWidth:u.measureText("a",t).width},ze.put(t,e)),e}function FC(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(Be>=Ve)){t=t||"12px sans-serif";for(var e=[],n=+new Date,i=0;i<=127;i++)e[i]=u.measureText(String.fromCharCode(i),t).width;var r=+new Date-n;return r>16?Be=Ve:r>2&&Be++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth}function HC(t,e){var n=t.strWidthCache,i=n.get(e);return null==i&&(i=u.measureText(e,t.font).width,n.put(e,i)),i}function WC(t,e,n,i){var r=HC(GC(e),t),o=ZC(e);return new dt(YC(0,r,n),XC(0,o,i),r,o)}function UC(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return WC(r[0],e,n,i);for(var o=new dt(0,0,0,0),a=0;a=0?parseFloat(t)/100*e:parseFloat(t):t}function qC(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=jC(i[0],n.width),u+=jC(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}function KC(t,e,n,i,r){var o=[];QC(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},h=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during(function(t,e){n.during(e)});for(var d=0;d0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s)for(M={},d&&(S={}),_=0;_0}function iD(t,e){var n=new $e(CM(),t,e);return Ke[n.id]=n,n}function rD(t){t.dispose()}function oD(){for(var t in Ke)Ke.hasOwnProperty(t)&&Ke[t].dispose();Ke={}}function aD(t){return Ke[t]}function sD(t,e){qe[t]=e}function lD(t){if("function"==typeof Je)return Je(t)}function uD(t){Je=t}function cD(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function hD(t,e,n){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return dD(t,e,n)}function dD(t,e,n){return qM(t)?pD(t)?parseFloat(t)/100*e+(n||0):parseFloat(t):null==t?NaN:+t}function pD(t){return!!(e=t,e.replace(/^\s+|\s+$/g,"")).match(/%$/);var e}function fD(t,e,n){return isNaN(e)?n?""+t:+t:(e=nn(rn(0,e),en),t=(+t).toFixed(e),n?t:+t)}function gD(t,e,n){return null==e&&(e=10),fD(t,e,n)}function yD(t){return t.sort(function(t,e){return t-e}),t}function vD(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(an(t*e)/e===t)return n;return mD(t)}function mD(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf(".");return rn(0,(o<0?0:r-1-o)-i)}function xD(t,e){var n=sn(cn(t[1]-t[0])/hn),i=an(cn(on(e[1]-e[0]))/hn),r=nn(rn(-n+i,0),en);return isFinite(r)?r:en}function _D(t,e,n){var i=on(t[1]-t[0]);if(!isFinite(i)||0===i)return NaN;var r=cn(2*on(n||1)*on(i))/hn,o=cn(on(e))/hn,a=rn(0,ln(-r+o));return isFinite(a)||(a=NaN),a}function bD(t,e,n){return t[e]&&wD(t,n)[e]||0}function wD(t,e){var n=FM(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=un(10,e),r=GM(t,function(t){return(isNaN(t)?0:t)/n*i*100}),o=100*i,a=GM(r,function(t){return sn(t)}),s=FM(a,function(t,e){return t+e},0),l=GM(r,function(t,e){return t-a[e]});su&&(u=l[h],c=h);++a[c],l[c]=0,++s}return GM(a,function(t){return t/i})}function SD(t,e){var n=rn(vD(t),vD(e)),i=t+e;return n>en?i:fD(i,n)}function MD(t){var e=2*dn;return(t%e+e)%e}function ID(t){return t>-tn&&t=10&&e++,e}function AD(t,e){var n=DD(t),i=un(10,n),r=t/i;return fD(t=(2===e?1:e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,-n)}function kD(t,e){var n=(t.length-1)*e+1,i=sn(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function LD(t){t.sort(function(t,e){return s(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;it[1]&&(t[1]=e))}function uA(t,e){hA(e)&&et[1]&&(t[1]=e)}function hA(t){return null!=t&&isFinite(t)}function dA(t,e){return hA(t)&&hA(e)&&t<=e}function pA(t){dA(t[0],t[1])&&t[0]>t[1]&&(t[0]=t[1])}function fA(){var t="__ec_once_"+Cn++;return function(e,n){xI(e,t)||(e[t]=1,n())}}function gA(t,e,n){var i=gI(),r=0;VM(t,function(o){var a=e(o),s=i.get(a)||0;n&&n(o,s),s||n||(t[r++]=o),i.set(a,s+1)}),n||(t.length=r)}function yA(t){return t.value+""}function vA(t){return t+""}function mA(t,e){return sI(e,!0)?t.seriesIndex+2:0}function xA(t,e,n){var i=t.getData().count();return{progressiveRender:n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,large:t.get("large")&&i>=t.get("largeThreshold"),modDataCount:"mod"===t.get("progressiveChunkMode")?t.getData().count():null}}function _A(t,e){return{seriesType:t,overallReset:e}}function bA(t){return{overallReset:t}}function wA(t){var e={main:"",sub:""};if(t){var n=t.split(Dn);e.main=n[0]||"",e.sub=n[1]||""}return e}function SA(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return jM(n=i)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return IM(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},EM(e,this)),PM(e.prototype,t),e[kn]=!0,e.extend=this.extend,e.superCall=IA,e.superApply=TA,e.superClass=i,e}}function MA(t,e){t.extend=e.extend}function IA(t,e){for(var n=[],i=2;i=0||r&&NM(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}function AA(t){if("string"==typeof t){var e=Rn.get(t);return e&&e.image}return t}function kA(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Rn.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!PA(e=o.image)&&o.pending.push(a):((e=u.loadImage(t,LA,LA)).__zrImageSrc=t,Rn.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function LA(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=s;u++)l-=s;var c=HC(a,n);return c>l&&(n="",c=0),l=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=l,r.containerWidth=t,r}function EA(t,e,n){var i=n.containerWidth,r=n.contentWidth,o=n.fontMeasureInfo;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=HC(o,e);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=r||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?zA(e,r,o):a>0?Math.floor(e.length*r/a):0;a=HC(o,e=e.substr(0,l))}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function zA(t,e,n){for(var i=0,r=0,o=t.length;r0&&f+i.accumWidth>i.width&&(o=e.split("\n"),h=!0),i.accumWidth=f}else{var g=GA(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}o||(o=e.split("\n"));for(var y=GC(c),v=0;v=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Vn[t]}function GA(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,c=0,h=GC(e),d=0;dn:r+c+f>n)?c?(s||l)&&(g?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=p,s="",c=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=p,c=f)):g?(o.push(l),a.push(u),l=p,u=f):(o.push(p),a.push(f)):(c+=f,g?(l+=p,u+=f):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}function FA(t,e,n,i,r,o){if(t.baseX=n,t.baseY=i,t.outerWidth=t.outerHeight=null,e){var a=2*e.width,s=2*e.height;dt.set(Gn,YC(n,a,r),XC(i,s,o),a,s),dt.intersect(e,Gn,null,Fn);var l=Fn.outIntersectRect;t.outerWidth=l.width,t.outerHeight=l.height,t.baseX=YC(l.x,l.width,r,!0),t.baseY=XC(l.y,l.height,o,!0)}}function HA(t){return null!=t?t+="":t=""}function WA(t,e,n,i){var r=new dt(YC(t.x||0,e,t.textAlign),XC(t.y||0,n,t.textBaseline),e,n),o=null!=i?i:UA(t)?t.lineWidth:0;return o>0&&(r.x-=o/2,r.y-=o/2,r.width+=o,r.height+=o),r}function UA(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function YA(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(ei[0]=Qn(r)*n+t,ei[1]=Jn(r)*i+e,ni[0]=Qn(o)*n+t,ni[1]=Jn(o)*i+e,u(s,ei,ni),c(l,ei,ni),(r%=ti)<0&&(r+=ti),(o%=ti)<0&&(o+=ti),r>o&&!a?o+=ti:rr&&(ii[0]=Qn(p)*n+t,ii[1]=Jn(p)*i+e,u(s,ii,s),c(l,ii,l))}function KA(t){return Math.round(t/mi*1e8)/1e8%2*mi}function $A(t,e){var n=KA(t[0]);n<0&&(n+=xi);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=xi?r=n+xi:e&&n-r>=xi?r=n-xi:!e&&n>r?r=n+(xi-KA(n-r)):e&&ne+s&&a>i+s||at+s&&o>n+s||oe+h&&c>i+h&&c>o+h&&c>s+h||ct+h&&u>n+h&&u>r+h&&u>a+h||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||c+ur&&(r+=Mi);var d=Math.atan2(l,s);return d<0&&(d+=Mi),d>=i&&d<=r||d+Mi>=i&&d+Mi<=r}function ik(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}function rk(){var t=Ai[0];Ai[0]=Ai[1],Ai[1]=t}function ok(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&rk(),p=TT(e,i,o,s,Ai[0]),d>1&&(f=TT(e,i,o,s,Ai[1]))),2===d?ye&&s>i&&s>o||s=0&&c<=1&&(r[l++]=c);else{var u=a*a-4*o*s;if(MT(u))(c=-a/(2*o))>=0&&c<=1&&(r[l++]=c);else if(u>0){var c,h=Nt(u),d=(-a-h)/(2*o);(c=(-a+h)/(2*o))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,o,s,Di);if(0===l)return 0;var u=NT(e,i,o);if(u>=0&&u<=1){for(var c=0,h=OT(e,i,o,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Di[0]=-l,Di[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Ti-1e-4){i=0,r=Ti;var c=o?1:-1;return a>=Di[0]+t&&a<=Di[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=Ti,r+=Ti);for(var d=0,p=0;p<2;p++){var f=Di[p];if(f+t>a){var g=Math.atan2(s,f);c=o?1:-1,g<0&&(g=Ti+g),(g>=i&&g<=r||g+Ti>=i&&g+Ti<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function lk(t,e,n,i,r){for(var o,a,s,l,u=t.data,c=t.len(),h=0,d=0,p=0,f=0,g=0,y=0;y1&&(n||(h+=ik(d,p,f,g,i,r))),m&&(f=d=u[y],g=p=u[y+1]),v){case Ii.M:d=f=u[y++],p=g=u[y++];break;case Ii.L:if(n){if(JA(d,p,u[y],u[y+1],e,i,r))return!0}else h+=ik(d,p,u[y],u[y+1],i,r)||0;d=u[y++],p=u[y++];break;case Ii.C:if(n){if(QA(d,p,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else h+=ok(d,p,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;d=u[y++],p=u[y++];break;case Ii.Q:if(n){if(tk(d,p,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else h+=ak(d,p,u[y++],u[y++],u[y],u[y+1],i,r)||0;d=u[y++],p=u[y++];break;case Ii.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):h+=ik(d,p,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(nk(x,_,w,S,S+M,I,e,T,r))return!0}else h+=sk(x,_,w,S,S+M,I,T,r);d=Math.cos(S+M)*b+x,p=Math.sin(S+M)*w+_;break;case Ii.R:if(f=d=u[y++],g=p=u[y++],o=f+u[y++],a=g+u[y++],n){if(JA(f,g,o,g,e,i,r)||JA(o,g,o,a,e,i,r)||JA(o,a,f,a,e,i,r)||JA(f,a,f,g,e,i,r))return!0}else h+=ik(o,g,o,a,i,r),h+=ik(f,a,f,g,i,r);break;case Ii.Z:if(n){if(JA(d,p,f,g,e,i,r))return!0}else h+=ik(d,p,f,g,i,r);d=f,p=g}}return n||(s=p,l=g,Math.abs(s-l)=0,o=!1;if(t instanceof Oi){var a=dr(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(wk(s)||wk(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=PM({},i),(u=PM({},u)).fill=s):!wk(u.fill)&&wk(s)?(o=!0,i=PM({},i),(u=PM({},u)).fill=aC(s)):!wk(u.stroke)&&wk(l)&&(o||(i=PM({},i),u=PM({},u)),u.stroke=aC(l)),i.style=u}}if(i&&null==i.z2){o||(i=PM({},i));var c=t.z2EmphasisLift;i.z2=t.z2+(null!=c?c:10)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=NM(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function Kk(t,e,n){tL(t,!0),Lk(t,Rk),Jk(t,e,n)}function $k(t,e,n,i){i?function(t){tL(t,!1)}(t):Kk(t,e,n)}function Jk(t,e,n){var i=Ki(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}function Qk(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=Dr(f),s*=Dr(f));var g=(r===o?-1:1)*Dr((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,y=g*a*p/s,v=g*-s*d/a,m=(t+n)/2+kr(h)*y-Ar(h)*v,x=(e+i)/2+Ar(h)*y+kr(h)*v,_=sL([1,0],[(d-y)/a,(p-v)/s]),b=[(d-y)/a,(p-v)/s],w=[(-1*d-y)/a,(-1*p-v)/s],S=sL(b,w);if(aL(b,w)<=-1&&(S=Lr),aL(b,w)>=1&&(S=0),S<0){var M=Math.round(S/Lr*1e6)/1e6;S=2*Lr+M%2*Lr}c.addData(u,m,x,a,s,_,S,h,o)}function uL(t){return null!=t.setData}function cL(t,e){var n=function(t){var e=new wi;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=wi.CMD,l=t.match(Pr);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-c,y0:-h,x1:M*(r/b-1),y1:I*(r/b-1)}}function yL(t,e){var n,i=Zr(e.r,0),r=Zr(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,h=!!e.clockwise,d=Yr(l-s),p=d>Gr&&d%Gr;if(p>qr&&(d=p),i>qr)if(d>Gr-qr)t.moveTo(u+i*Hr(s),c+i*Fr(s)),t.arc(u,c,i,s,l,!h),r>qr&&(t.moveTo(u+r*Hr(l),c+r*Fr(l)),t.arc(u,c,r,l,s,h));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*Hr(s),L=i*Fr(s),P=r*Hr(l),O=r*Fr(l),R=d>qr;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(ZM(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],y=n[2],v=n[3]);var E=Yr(i-r)/2;if(m=jr(E,y),x=jr(E,v),_=jr(E,f),b=jr(E,g),M=w=Zr(m,x),I=S=Zr(_,b),(w>qr||S>qr)&&(T=i*Hr(l),C=i*Fr(l),D=r*Hr(s),A=r*Fr(s),dqr){var U=jr(y,M),Y=jr(v,M),X=gL(D,A,k,L,i,U,h),Z=gL(T,C,P,O,i,Y,h);t.moveTo(u+X.cx+X.x0,c+X.cy+X.y0),M0&&t.arc(u+X.cx,c+X.cy,U,Ur(X.y0,X.x0),Ur(X.y1,X.x1),!h),t.arc(u,c,i,Ur(X.cy+X.y1,X.cx+X.x1),Ur(Z.cy+Z.y1,Z.cx+Z.x1),!h),Y>0&&t.arc(u+Z.cx,c+Z.cy,Y,Ur(Z.y1,Z.x1),Ur(Z.y0,Z.x0),!h))}else t.moveTo(u+k,c+L),t.arc(u,c,i,s,l,!h);else t.moveTo(u+k,c+L);r>qr&&R?I>qr?(U=jr(f,I),X=gL(P,O,T,C,r,-(Y=jr(g,I)),h),Z=gL(k,L,D,A,r,-U,h),t.lineTo(u+X.cx+X.x0,c+X.cy+X.y0),I0&&t.arc(u+X.cx,c+X.cy,Y,Ur(X.y0,X.x0),Ur(X.y1,X.x1),!h),t.arc(u,c,r,Ur(X.cy+X.y1,X.cx+X.x1),Ur(Z.cy+Z.y1,Z.cx+Z.x1),h),U>0&&t.arc(u+Z.cx,c+Z.cy,U,Ur(Z.y1,Z.x1),Ur(Z.y0,Z.x0),!h))):(t.lineTo(u+P,c+O),t.arc(u,c,r,l,s,h)):t.lineTo(u+P,c+O)}else t.moveTo(u,c);t.closePath()}}}function vL(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],c=[],h=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;d0){var h={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function bL(t,e,n,i,r,o){_L("update",t,e,n,i,r,o)}function wL(t,e,n,i,r,o){_L("enter",t,e,n,i,r,o)}function SL(t){if(!t.__zr)return!0;for(var e=0;eon(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function FL(t){return!t.isGroup}function HL(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){FL(t)&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(FL(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),bL(t,i,n,Ki(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=AM(t.shape)),e}}function WL(t,e){return GM(t,function(t){var n=t[0];n=rn(n,e.x),n=nn(n,e.x+e.width);var i=t[1];return i=rn(i,e.y),[n,i=nn(i,e.y+e.height)]})}function UL(t,e){var n=rn(t.x,e.x),i=nn(t.x+t.width,e.x+e.width),r=rn(t.y,e.y),o=nn(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function YL(t,e,n){var i=PM({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),RM(r,n),new Bi(i)):PL(t.replace("path://",""),i,n,"center")}function XL(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=jL(f,g,u,c)/p;if(y<0||y>1)return!1;var v=jL(f,g,h,d)/p;return!(v<0||v>1)}function jL(t,e,n,i){return t*i-n*e}function qL(t,e,n,i,r){return null==e||($M(e)?Eo[0]=Eo[1]=Eo[2]=Eo[3]=e:(Eo[0]=e[0],Eo[1]=e[1],Eo[2]=e[2],Eo[3]=e[3]),i&&(Eo[0]=rn(0,Eo[0]),Eo[1]=rn(0,Eo[1]),Eo[2]=rn(0,Eo[2]),Eo[3]=rn(0,Eo[3])),n&&(Eo[0]=-Eo[0],Eo[1]=-Eo[1],Eo[2]=-Eo[2],Eo[3]=-Eo[3]),KL(t,Eo,"x","width",3,1,r&&r[0]||0),KL(t,Eo,"y","height",0,2,r&&r[1]||0)),t}function KL(t,e,n,i,r,o,a){var s=e[o]+e[r],l=t[i];t[i]+=s,a=rn(0,nn(a,l)),t[i]=0?-e[r]:e[o]>=0?l+e[o]:on(s)>1e-8?(l-a)*e[r]/s:0):t[n]-=e[r]}function $L(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=qM(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&VM(UM(l),function(t){xI(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=Ki(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:RM({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function JL(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function QL(t,e){if(t)if(ZM(t))for(var n=0;ne&&(e=i),ie&&(n=e=0),{min:n,max:e}}function oP(t,e,n){aP(t,e,n,-1/0)}function aP(t,e,n,i){if(t.ignoreModelZ)return i;var r=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var a=t.childrenRef(),s=0;s=0&&n.push(t)}),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),VM(s,function(t){NM(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);NM(e.successor,t)<0&&e.successor.push(o)})}),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(VM(t,function(t){u[t]=!0});l.length;){var c=l.pop(),h=s[c],d=!!u[c];d&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),VM(h.successor,d?f:p)}VM(u,function(){throw new Error("")})}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}function wP(t,e){return kM(kM({},t,!0),e,!0)}function SP(t,e){t=t.toUpperCase(),ua[t]=new ea(e),la[t]=e}function MP(t){return ua[t]}function IP(){return ha}function TP(t,e){var n=IP(),i=e.breakOption,r=e.breakParsed;return!r&&n&&(r=n.parseAxisBreakOption(i,t)),r}function CP(t){var e=t.brk;return e?e.breaks:[]}function DP(t){var e=t.brk;return!!e&&e.hasBreaks()}function AP(t){return qM(t)||jM(t)?t:function(t){t=t||{};var e={},n=!0;return VM(ba,function(e){n&&(n=null==t[e])}),VM(ba,function(i,r){var o=t[i];e[i]={};for(var a=null,s=r;s>=0;s--){var l=ba[s],u=JM(o)&&!ZM(o)?o[l]:o,c=void 0;ZM(u)?a=(c=u.slice())[0]||"":qM(u)?c=[a=u]:(null==a?a=ma[i]:va[l].test(a)||(a=e[l][l][0]+" "+a),c=[a],n&&(c[1]="{primary|"+a+"}")),e[i][l]=c}}),e}(t)}function kP(t,e){return"0000".substr(0,e-(t+="").length)+t}function LP(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function PP(t){return t===LP(t)}function OP(t,e,n,i){var r=TD(t),o=r[EP(n)](),a=r[zP(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[BP(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[VP(n)](),h=(c-1)%12+1,d=r[GP(n)](),p=r[FP(n)](),f=r[HP(n)](),g=c>=12?"pm":"am",y=g.toUpperCase(),v=(i instanceof ea?i:MP(i||ca)||ua[sa]).getModel("time"),m=v.get("month"),x=v.get("monthAbbr"),_=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,kP(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,kP(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,kP(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,kP(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,kP(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,kP(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,kP(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,kP(f,3)).replace(/{S}/g,f+"")}function RP(t,e){var n=TD(t),i=n[zP(e)]()+1,r=n[BP(e)](),o=n[VP(e)](),a=n[GP(e)](),s=n[FP(e)](),l=0===n[HP(e)](),u=l&&0===s,c=u&&0===a,h=c&&0===o,d=h&&1===r;return d&&1===i?"year":d?"month":h?"day":c?"hour":u?"minute":l?"second":"millisecond"}function NP(t,e,n){switch(e){case"year":t[UP(n)](0);case"month":t[YP(n)](1);case"day":t[XP(n)](0);case"hour":t[ZP(n)](0);case"minute":t[jP(n)](0);case"second":t[qP(n)](0)}return t}function EP(t){return t?"getUTCFullYear":"getFullYear"}function zP(t){return t?"getUTCMonth":"getMonth"}function BP(t){return t?"getUTCDate":"getDate"}function VP(t){return t?"getUTCHours":"getHours"}function GP(t){return t?"getUTCMinutes":"getMinutes"}function FP(t){return t?"getUTCSeconds":"getSeconds"}function HP(t){return t?"getUTCMilliseconds":"getMilliseconds"}function WP(t){return t?"setUTCFullYear":"setFullYear"}function UP(t){return t?"setUTCMonth":"setMonth"}function YP(t){return t?"setUTCDate":"setDate"}function XP(t){return t?"setUTCHours":"setHours"}function ZP(t){return t?"setUTCMinutes":"setMinutes"}function jP(t){return t?"setUTCSeconds":"setSeconds"}function qP(t){return t?"setUTCMilliseconds":"setMilliseconds"}function KP(t,e,n,i,r,o,a,s){return new Xi({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}function $P(t){if(!OD(t))return qM(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function JP(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}function QP(t,e,n){function i(t){return t&&dI(t)?t:"-"}function r(t){return zD(t)}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?TD(t):t;if(!isNaN(+s))return OP(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return KM(t)?i(t):$M(t)&&r(t)?t+"":"-";var l=PD(t);return r(l)?$P(l):KM(t)?i(t):"boolean"==typeof t?t+"":"-"}function tO(t,e,n){ZM(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function iO(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=TD(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),c=i[r+"Seconds"](),h=i[r+"Milliseconds"]();return t=t.replace("MM",kP(a,2)).replace("M",a).replace("yyyy",o).replace("yy",kP(o%100+"",2)).replace("dd",kP(s,2)).replace("d",s).replace("hh",kP(l,2)).replace("h",l).replace("mm",kP(u,2)).replace("m",u).replace("ss",kP(c,2)).replace("s",c).replace("SSS",kP(h,3))}function rO(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function oO(t,e){return e=e||"transparent",qM(t)?t:JM(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function aO(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}function sO(t){var e=t.getShallow("coord",!0),n=1;if(null==e){var i=Aa.get(t.type);i&&i.getCoord2&&(n=2,e=i.getCoord2(t))}return{coord:e,from:n}}function lO(t,e){var n=t.getShallow("coordinateSystem"),i=t.getShallow("coordinateSystemUsage",!0),r=0;if(n){var o="series"===t.mainType;null==i&&(i=o?"data":"box"),"data"===i?(r=1,o||(r=0)):"box"===i&&(r=2,o||function(t){return!!Ta[t]}(n)||(r=0))}return{coordSysType:n,kind:r}}function uO(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,r=t.isDefaultDataCoordSys;t.allowNotFound;var o=lO(e),a=o.kind,s=o.coordSysType;if(r&&1!==a&&(a=1,s=n),0===a||s!==n)return 0;var l=i(n,e);return l?(1===a?e.coordinateSystem=l:e.boxCoordinateSystem=l,a):0}function cO(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(c=o+g)>i||l.newline?(o=0,c=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var y=d.height+(f?-f.y+d.y:0);(h=a+y)>r||l.newline?(o+=s+n,a=0,h=y,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)})}function hO(t,e){return{left:t.getShallow("left",e),top:t.getShallow("top",e),right:t.getShallow("right",e),bottom:t.getShallow("bottom",e),width:t.getShallow("width",e),height:t.getShallow("height",e)}}function dO(t,e){var n=function(t,e){var n,i,r=gO(t,e,{enableLayoutOnlyByCenter:!0}),o=t.getBoxLayoutParams();if(r.type===Na.point)i=r.refPoint,n=pO(o,{width:e.getWidth(),height:e.getHeight()});else{var a=t.get("center"),s=ZM(a)?a:[a,a];n=pO(o,r.refContainer),i=2===r.boxCoordFrom?r.refPoint:[fn(s[0],n.width)+n.x,fn(s[1],n.height)+n.y]}return{viewRect:n,center:i}}(t,e),i=n.viewRect,r=n.center,o=t.get("radius");ZM(o)||(o=[0,o]);var a=fn(i.width,e.getWidth()),s=fn(i.height,e.getHeight()),l=Math.min(a,s),u=fn(o[0],l/2),c=fn(o[1],l/2);return{cx:r[0],cy:r[1],r0:u,r:c,viewRect:i}}function pO(t,e,n){n=Sa(n||0);var i=e.width,r=e.height,o=fn(t.left,i),a=fn(t.top,r),s=fn(t.right,i),l=fn(t.bottom,r),u=fn(t.width,i),c=fn(t.height,r),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(c)&&(c=r-l-h-a),null!=p&&(isNaN(u)&&isNaN(c)&&(p>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-n[0];break;case"bottom":a=r-c-h}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));var f=new dt((e.x||0)+o+n[3],(e.y||0)+a+n[0],u,c);return f.margin=n,f}function fO(t,e,n){var i=t.getShallow("preserveAspect",!0);if(!i)return e;var r=e.width/e.height;if(Math.abs(Math.atan(n)-Math.atan(r))<1e-9)return e;var o=t.getShallow("preserveAspectAlign",!0),a=t.getShallow("preserveAspectVerticalAlign",!0),s={width:e.width,height:e.height},l="cover"===i;return r>n&&!l||r=2)return o;for(var c=0;ce)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}function AO(t,e,n){if(ZM(e)){var i=gI();return VM(e,function(t){null!=t&&null!=jD(t,null)&&i.set(t,!0)}),HM(n,function(e){return e&&i.get(e[t])})}var r=jD(e,null);return HM(n,function(e){return e&&null!=r&&e[t]===r})}function kO(t,e){return e.hasOwnProperty("subType")?HM(t,function(t){return t&&t.subType===e.subType}):t}function LO(t){var e=gI();return t&&VM(FD(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}function PO(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return VM(t,function(t,e){var n=e.match(rs);if(n&&n[1]&&n[2]){var o=n[1];(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[n[2].toLowerCase()],t,o)||(r=!1)}}),r}function OO(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=ls.length;n0?t[n-1].seriesModel:null)}),function(t){VM(t,function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,d,p=a.get(e.stackedDimension,c);if(isNaN(p))return r;s?d=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var f=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(d=y.data.rawIndexOf(y.stackedByDimension,h)),d>=0){var v=y.data.getByRawIndex(y.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&p>=0&&v>0||"samesign"===l&&p<=0&&v<0){p=SD(p,v),f=v;break}}}return i[0]=p,i[1]=f,i})})}(t))})}function jO(t){return t instanceof ps}function qO(t,e,n){n=n||$O(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:JO(r),startIndex:a,dimensionsDetectedCount:o};if("arrayRows"===e){var s=t;"auto"===i||null==i?QO(function(t){null!=t&&"-"!==t&&(qM(t)?a??(a=1):a=0)},n,s,10):a=$M(i)?i:i?1:0,r||1!==a||(r=[],QO(function(t,e){r[e]=null!=t?t+"":""},n,s,1/0)),o=r?r.length:"row"===n?s.length:s[0]?s[0].length:null}else if("objectRows"===e)r||(r=function(t){for(var e,n=0;nt.g&&e>=t.ge&&e65535?Vs:Gs}function bR(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function wR(t,e,n,i,r){var o=Ws[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u1||n>0&&!t.noHeader;return VM(t.blocks,function(t){var n=LR(t);n>=e&&(e=n+ +(i&&(!n||AR(t)&&!t.noHeader)))}),e}return 0}function PR(t,e,n,i){var r,o=e.noHeader,a=(r=LR(e),{html:js[r],richText:qs[r]}),s=[],l=e.blocks||[];hI(!l||ZM(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(xI(c,u)){var h=new Ns(c[u],null);l.sort(function(t,e){return h.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===u&&l.reverse()}VM(l,function(n,r){var o=e.valueFormatter,l=kR(n)(o?PM(PM({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)});var d="richText"===t.renderMode?s.join(a.richText):NR(i,s.join(""),o?n:a.html);if(o)return d;var p=QP(e.header,"ordinal",t.useUTC),f=CR(i,t.renderMode).nameStyle,g=TR(i);return"richText"===t.renderMode?ER(t,p,f)+a.richText+d:NR(i,'
'+XI(p)+"
"+d,n)}function OR(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return GM(t=ZM(t)?t:[t],function(t,e){return QP(t,ZM(p)?p[e]:p,u)})};if(!o||!a){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||Ba.color.secondary,r),d=o?"":QP(l,"ordinal",u),p=e.valueType,f=a?[]:c(e.value,e.rawDataIndex),g=!s||!o,y=!s&&o,v=CR(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":h)+(o?"":ER(t,d,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(ZM(e)?e.join(" "):e,o)}(t,f,g,y,x)):NR(i,(s?"":h)+(o?"":function(t,e,n){return''+XI(t)+""}(d,!s,m))+(a?"":function(t,e,n,i){var r=e?"float:right;margin-left:"+(n?"10px":"20px"):"";return t=ZM(t)?t:[t],''+GM(t,function(t){return XI(t)}).join("  ")+""}(f,g,y,x)),n)}}function RR(t,e,n,i,r,o){if(t)return kR(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function NR(t,e,n){return'
'+e+'
'}function ER(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function zR(t,e){return oO(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function BR(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}function VR(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,h=o.getRawValue(a),d=ZM(h),p=zR(o,a);if(c>1||d&&!c){var f=function(t,e,n,i,r){var o=e.getData(),a=FM(t,function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),s=[],l=[],u=[];function c(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(DR("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?VM(i,function(t){c(oR(o,n,t),t)}):VM(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(h,o,a,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);r=e=oR(l,a,u[0]),n=g.type}else r=e=d?h[0]:h;var y=qD(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return DR("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[DR("nameValue",{markerType:"item",markerColor:p,name:x,noName:!dI(x),value:e,valueType:n,rawDataIndex:l.getRawIndex(a)})].concat(i||[])})}function GR(t,e){return t.getName(e)||t.getId(e)}function FR(t){var e=t.name;qD(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return VM(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}(t)||e)}function HR(t){return t.model.getRawData().count()}function WR(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),UR}function UR(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function YR(t,e){VM(yI(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,XM(XR,e))})}function XR(t,e){var n=ZR(t);return n&&n.setOutputEnd((e||this).count()),e}function ZR(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}function jR(){var t=JD();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}function qR(t,e,n){t&&eL(t)&&("emphasis"===e?zk:Bk)(t,n)}function KR(t,e,n){var i=$D(t,e),r=e&&null!=e.highlightKey?function(t){var e=hr[t];return null==e&&cr<=32&&(e=hr[t]=cr++),e}(e.highlightKey):null;null!=i?VM(FD(i),function(e){qR(t.getItemGraphicEl(e),n,r)}):t.eachItemGraphicEl(function(t){qR(t,n,r)})}function $R(t){return nl(t.model)}function JR(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&el(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),rl[l]}function QR(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function tN(t,e,n,i){var r=t[e];if(r){var o=r[ol]||r,a=r[sl];if(r[al]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=QR(o,n,"debounce"===i))[ol]=o,r[sl]=i,r[al]=n}return r}}function eN(t,e){var n=t[e];n&&n[ol]&&(n.clear&&n.clear(),t[e]=n[ol])}function nN(t,e){var n=t.visualStyleMapper||ul[e];return n||(console.warn("Unknown style type '"+e+"'."),ul.itemStyle)}function iN(t,e){var n=t.visualDrawType||cl[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}function rN(t,e){RM(e=e||{},{text:"loading",textColor:Ba.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:Ba.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Ze,i=new Hi({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Xi({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Hi({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new ho({shape:{startAngle:-gl/2,endAngle:-gl/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*gl/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*gl/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}function oN(t){t.overallReset(t.ecModel,t.api,t.payload)}function aN(t){return t.dirtyOnOverallProgress&&sN}function sN(){this.agent.dirty(),this.getDownstream().dirty()}function lN(){this.agent&&this.agent.dirty()}function uN(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function cN(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=FD(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?GM(e,function(t,e){return hN(e)}):vl}function hN(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o=0&&kN(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=kN(i)?i:0,r=kN(r)?r:1,o=kN(o)?o:0,a=kN(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:$M(e)?[e]:ZM(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=GM(r,function(t){return t/a}),o/=a)}return[r,o]}function NN(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function EN(t){return"string"==typeof t&&"none"!==t}function zN(t){var e=t.fill;return null!=e&&"none"!==e}function BN(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function VN(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function GN(t,e,n){var i=kA(e.image,e.__image,n);if(PA(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*k),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}function FN(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){UN(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Wn.opacity:a}(i||e.blend!==n.blend)&&(o||(UN(t,r),o=!0),t.globalCompositeOperation=e.blend||Wn.blend);for(var s=0;s=0)){Qu.push(n);var a=yl.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function bE(t,e){Xu[t]=e}function wE(t){TM({createCanvas:t})}function SE(t,e,n){var i=wN("registerMap");i&&i(t,e,n)}function ME(t){var e=wN("getMap");return e&&e(t)}function IE(t,e,n,i){return{eventContent:{selected:qk(n),isFromClick:e.isFromClick||!1}}}function TE(t){return null==t?0:t.length||1}function CE(t){return t}function DE(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function AE(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function kE(t){return t instanceof sc}function LE(t){for(var e=gI(),n=0;n<(t||[]).length;n++){var i=t[n],r=JM(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function PE(t){var e=oc(t);return e.dimNameMap||(e.dimNameMap=LE(t.dimensionsDefine))}function OE(t){return t>30}function RE(t,e){return NE(t,e).dimensions}function NE(t,e){jO(t)||(t=KO(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=gI(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return VM(e,function(t){var e;JM(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))}),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&OE(a),l=i===t.dimensionsDefine,u=l?PE(t):LE(i),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var h=gI(c),d=new Fs(a),p=0;p0&&(t.name=t.name+(e-1))}),new sc({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function EE(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}function zE(t){return"category"===t.get("type")}function BE(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!kE(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,c,h,d=!(!t||!t.get("stack")),p=!0;function f(t){return"ordinal"!==t.type&&"time"!==t.type}if(VM(i,function(t,e){qM(t)&&(i[e]=t={name:t}),f(t)||(p=!1)}),VM(i,function(t,e){d&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||!f(t)||p&&("x"===t.coordDim||"angle"===t.coordDim)||s&&s!==t.coordDim||(u=t))}),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var g=u.coordDim,y=u.type,v=0;VM(i,function(t){t.coordDim===g&&v++});var m={name:c,coordDim:g,coordDimIndex:v,type:y,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},x={name:h,coordDim:h,coordDimIndex:v+1,type:y,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(m.storeDimIndex=o.ensureCalculationDimension(h,y),x.storeDimIndex=o.ensureCalculationDimension(c,y)),r.appendCalculationDimension(m),r.appendCalculationDimension(x)):(i.push(m),i.push(x))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:c}}function VE(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function GE(t,e){return VE(t,e)?t.getCalculationInfo("stackResultDimension"):e}function FE(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=KO(t)):o=(i=r.getSource()).sourceFormat===tr;var a=function(t){var e=t.get("coordinateSystem"),n=new bc(e),i=wc[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Da.get(i);return e&&e.coordSysDims&&(n=GM(e.coordSysDims,function(t){var n={name:t},i=e.axisMap.get(t);return i&&(n.type=AE(i.get("type"))),n})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=jM(l)?l:l?XM(wO,s,e):null,c=NE(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),h=function(t,e,n){var i,r;return n&&VM(t,function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)}),r||null==i||(t[i].otherDims.itemName=0),i}(c.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(c),p=BE(e,{schema:c,store:d}),f=new _c(c,e);f.setCalculationInfo(p);var g=null!=h&&function(t){if("original"===t.sourceFormat){var e=function(t){for(var e=0;e1&&o/a>2&&(r=Math.round(Math.ceil(r/a)*a)),r!==i[0]&&l(i[0],!0,!0);for(var s=r;s<=i[1];s+=a)l(s,!1,s===i[0]||s===i[1]);function l(t,e,i){n({value:t,offInterval:e},i)}s-a!==i[1]&&l(i[1],!0,!0)}function uz(t,e,n,i){for(var r=t.getTicks({expandToNicedExtent:!0}),o=[],a=t.getExtent(),s=1;sa[0]&&f16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function dz(t){return(t/=30*ga)>6?6:t>3?3:t>2?2:1}function pz(t){return(t/=fa)>12?12:t>6?6:t>3.5?4:t>2?2:1}function fz(t,e){return(t/=e?pa:da)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function gz(t){return rn(AD(t,!0),1)}function yz(t,e,n){var i=Math.max(0,NM(ba,e)-1);return NP(new Date(t),ba[i],n).getTime()}function vz(t,e,n,i,r,o){var a=wa,s=0;function l(t,e,n,r,a,l,u){for(var c=function(t,e){var n=new Date(0);n[t](1);var i=n.getTime();n[t](1+e);var r=n.getTime()-i;return function(t,e){return Math.max(0,Math.round((e-t)/r))}}(a,t),h=e,d=new Date(h);h3e3));)if(d[a](d[r]()+t),h=d.getTime(),o){var p=o.calcNiceTickMultiple(h,c);p>0&&(d[a](d[r]()+p*t),h=d.getTime())}u.push({value:h,notAdd:h>i[1]})}function u(t,r,o){var a=[],s=!r.length;if(!cz(LP(t),i[0],i[1],n)){s&&(r=[{value:yz(i[0],t,n)},{value:i[1]}]);for(var u=0;u=i[0]&&c<=i[1]&&l(d,c,h,p,f,0,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u=i[0]&&m<=i[1]&&d++)}var x=r/e;if(d>1.5*x&&p>x/1.5)break;if(c.push(y),d>x||t===a[f])break}h=[]}}var _=HM(GM(c,function(t){return HM(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),b=_.length-1,w=[];for(f=0;f<_.length;++f)for(var S=_[f],M=0;Mi[0])&&w.unshift({value:i[0],time:{level:0,upperTimeUnit:D,lowerTimeUnit:D},notNice:!0}),(!C||C.value=0&&ZM(r)){var u=r[l];null==u||ZM(u)||lA(a,t.parse(u))}}else if(i.coordinateSystem){var c=i.getData();if(c){var h=t.getFilter?t.getFilter():null;VM(function(t,e){var n={};return VM(t.mapDimensionsAll(e),function(e){n[GE(t,e)]=!0}),UM(n)}(c,n),function(t){var e,n;e=a,dA((n=c.getApproximateExtent(t,h))[0],n[1])&&(n[0]e[1]&&(e[1]=n[1]))})}i.__requireStartValue&&i.__requireStartValue(e)&&(s=!0)}});var l=function(t,e,n){var i=Dz(t,n),r=n.get("containShape",!0);if(null!=r||i||(r=!0),!r)return!1;var o=!1;return Ez(e,function(t){o=!!qc.get(t)||o}),o}(t,e,i);Xz(t,new jc(t,i,a,s,l),r),o.extent=null}(n,t,r,i,e)}function Xz(t,e,n){t.rawExtentInfo=e,e.from=n}function Zz(t,e){qc.set(t,e)}function jz(t,e,n,i,r){t.rawExtentInfo||function(t,e){var n=t.scale;Xz(n,new jc(n,t.model,e,!1,!1),Zc)}({scale:t,model:e},r||[1/0,-1/0]);var o=t.rawExtentInfo.makeFinal(),a=o.effMM;return t.setExtent(a[0],a[1]),t.setBlank(o.isBlank),i&&o.tggAxInv&&n&&!n.get("legacyMinMaxDontInverseAxis")&&(i.inverse=!i.inverse),o}function qz(t,e,n,i){var r;if(n.ctnShp&&(Ez(t,function(e){var n=qc.get(e);if(n){var o=n(t,i);o&&(uA(r=r||[0,0],o[0]),cA(r,o[1]),function(t){Vc(t).noOnMyZero=!0}(t))}}),r)){var o=e.getExtent();if(ez(e))t.onBand||e.setExtent2(1,nn(o[0],o[0]+r[0]),rn(o[1],o[1]+r[1]));else{var a=o.slice();n.zoomFixMM[0]||(a[0]=nn(a[0],e.transformOut(e.transformIn(a[0],null)+r[0],null))),n.zoomFixMM[1]||(a[1]=rn(a[1],e.transformOut(e.transformIn(a[1],null)+r[1],null))),(a[0]o[1])&&e.setExtent2(1,a[0],a[1])}}}function Kz(t,e){var n=tz(t),i=n?t.intervalStub:t,r=e.fixMinMax||[],o=n?t.getExtent():null,a=i.getExtent(),s=az(a,r,e.rawExtentResult);i.setExtent(s[0],s[1]),s=i.getExtent();var l=n?function(t,e){var n=sz(e.splitNumber,10),i=t.getExtent(),r=jE(t),o=rn(CD(r),1);n/r*o<=.5&&(o*=10);var a=iz(o),s=[fD(ln(i[0]/o)*o,a),fD(sn(i[1]/o)*o,a)];return{intervalPrecision:a,interval:o,niceExtent:s}}(i,e):function(t,e){var n=sz(e.splitNumber,5),i=jE(t),r=e.minInterval,o=e.maxInterval,a=AD(i/n,!0);null!=r&&ao&&(a=o);var s=iz(a),l=t.getExtent(),u=[fD(ln(l[0]/a)*a,s),fD(sn(l[1]/a)*a,s)];return{interval:a,intervalPrecision:s,niceExtent:u}}(i,e),u=l.intervalPrecision,c=l.interval,h=e.userInterval;null!=h&&(l.interval=h,l.intervalPrecision=iz(h)),r[0]||(s[0]=fD(sn(s[0]/c)*c,u)),r[1]||(s[1]=fD(ln(s[1]/c)*c,u)),null!=h&&(l.niceExtent=s.slice()),Tz(t,r,a,s,o,l)}function $z(t){var e=t.scale,n=t.model;Jz(e,n,n.axis,n.ecModel,null)}function Jz(t,e,n,i,r){var o=jz(t,e,i,n,r),a=JE(t)||QE(t);Qz(t,{splitNumber:e.get("splitNumber"),fixMinMax:o.fixMM,userInterval:e.get("interval"),minInterval:a?e.get("minInterval"):null,maxInterval:a?e.get("maxInterval"):null,rawExtentResult:o}),n&&i&&qz(n,t,o,i)}function Qz(t,e){Kc[t.type](t,e)}function tB(t){return FE(null,t)}function eB(t,e){var n=e;e instanceof ea||(n=new ea(e));var i=xz(n,mz(n),!1);return t[1]=0||(Qc.push(t),jM(t)&&(t={install:t}),t.install(th))}function oB(t,e){return Math.abs(t-e)>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function hB(t,e){return GM(HM((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),VM(e.features,function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=cB(r,i,n);break;case"Polygon":case"MultiLineString":uB(r,i,n);break;case"MultiPolygon":VM(r,function(t,e){return uB(t,i[e],n)})}}),e.UTF8Encoding=!1,e}(t)).features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new rh(o[0],o.slice(1)));break;case"MultiPolygon":VM(i.coordinates,function(t){t[0]&&r.push(new rh(t[0],t.slice(1)))});break;case"LineString":r.push(new oh([i.coordinates]));break;case"MultiLineString":r.push(new oh(i.coordinates))}var a=new ah(n[e||"name"],r,n.cp);return a.properties=n,a})}function dB(t){return{out:{noPxChangeTryDetermine:[]},kind:t}}function pB(t,e){var n=t.getLabelModel().get("customValues");if(n){var i=t.scale;return{labels:GM(gB(n,i),function(e,n){return{formattedLabel:_z(t)(e,n),rawLabel:i.getLabel(e),tick:e}})}}return"category"===t.type?function(t,e){var n=t.getLabelModel(),i=yB(t,n,e);return!n.get("show")||t.scale.isBlank()?{labels:[]}:i}(t,e):function(t){var e=t.scale.getTicks(),n=_z(t);return{labels:GM(e,function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tick:e}})}}(t)}function fB(t,e,n){var i=t.scale,r=t.getTickModel().get("customValues");return r?{ticks:gB(r,i)}:"category"===t.type?function(t,e){var n,i,r=yh(t),o=wz(e),a=mB(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),jM(o))n=wB(t,o,!0);else if("auto"===o){var s=yB(t,t.getLabelModel(),dB(gh.determine));i=s.labelCategoryInterval,n=GM(s.labels,function(t){return t.tick})}else n=wB(t,i=o,!0);return xB(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:i.getTicks(n)}}function gB(t,e){var n=e.getExtent(),i=[];return VM(t,function(t){(t=e.parse(t))>=n[0]&&t<=n[1]&&i.push(t)}),gA(i,vA,null),yD(i),GM(i,function(t){return{value:t}})}function yB(t,e,n){var i,r,o=vh(t),a=wz(e),s=n.kind===gh.estimate;if(!s){var l=mB(o,a);if(l)return l}jM(a)?i=wB(t,a,!1):(r="auto"===a?function(t,e){if(e.kind===gh.estimate){var n=t.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return fh(t).autoInterval=n,!0}),n}var i=fh(t).autoInterval;return null!=i?i:fh(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):a,i=wB(t,r,!1));var u={labels:i,labelCategoryInterval:r};return s?n.out.noPxChangeTryDetermine.push(function(){return xB(o,a,u),!0}):xB(o,a,u),u}function vB(t){return function(e){return fh(e)[t]||(fh(e)[t]={list:[]})}}function mB(t,e){for(var n=0;ne&&i.axisExtent0===r[0]&&i.axisExtent1===r[1])return o;i.lastTickCount=n,i.lastAutoInterval=e,i.axisExtent0=r[0],i.axisExtent1=r[1]}function wB(t,e,n){var i=_z(t),r=t.scale,o=[],a=jM(e);return lz(r,a?0:e,function(t,s){var l=r.getLabel(t);if(a){var u=!!e(t.value,l);if(t.offInterval=!u,!u&&!s)return}o.push(n?t:{formattedLabel:i(t),rawLabel:l,tick:t})}),o}function SB(t,e){e=e||{};var n,i={w:NaN,w2:NaN},r=t.scale,o=e.fromStat,a=e.min,s=(n=ZE(r,3))[1]-n[0];zD(s)||(s=NaN);var l=t.getExtent(),u=on(l[1]-l[0]);return ez(r)?function(t,e,n,i){var r=e.onBand,o=n+(r?1:0);0===o&&(o=1),t.w=i/o,!r&&n&&i&&(t.w2=t.w*n/i)}(i,t,s,u):o&&function(t,e,n,i,r){var o=!1,a=-1/0;VM(r.key?[kz(e,r.key)]:function(t,e){var n=[];return Lz(t.model.ecModel,function(t){for(var i=0;i0?(e>a&&(a=e),o=!1):-2===e&&(o=!0))}),zD(n)&&n>0&&zD(a)?(t.w=i/n*a,t.w2=a):o&&(t.w=i*mh,t.w2=t.w*n/i)}(i,t,s,u,o),null!=a&&(i.w=zD(i.w)?rn(a,i.w):a),i}function MB(t){var e=t.getExtent();if(t.onBand){var n=(e[1]-e[0])/t.scale.count()/2;e[0]+=n,e[1]-=n}return e}function IB(t){var e=za.extend(t);return za.registerClass(e),e}function TB(t){var e=tl.extend(t);return tl.registerClass(e),e}function CB(t){var e=Qs.extend(t);return Qs.registerClass(e),e}function DB(t){var e=il.extend(t);return il.registerClass(e),e}function AB(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function kB(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+t,h=(s/=u)*n+e;if(Math.abs(i-r)%bh<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var d=i;i=ek(r),r=ek(d)}else i=ek(i),r=ek(r);i>r&&(r+=bh);var p=Math.atan2(s,a);if(p<0&&(p+=bh),p>=i&&p<=r||p+bh>=i&&p+bh<=r)return l[0]=c,l[1]=h,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,Ih.fromArray(t[0]),Th.fromArray(t[1]),Ch.fromArray(t[2]),J.sub(Dh,Ih,Th),J.sub(Ah,Ch,Th);var n=Dh.len(),i=Ah.len();if(!(n<.001||i<.001)){Dh.scale(1/n),Ah.scale(1/i);var r=Dh.dot(Ah);if(Math.cos(e)1&&J.copy(Lh,Ch),Lh.toArray(t[1])}}}}function zB(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Ih.fromArray(t[0]),Th.fromArray(t[1]),Ch.fromArray(t[2]),J.sub(Dh,Th,Ih),J.sub(Ah,Ch,Th);var i=Dh.len(),r=Ah.len();if(!(i<.001||r<.001)&&(Dh.scale(1/i),Ah.scale(1/r),Dh.dot(e)=a)J.copy(Lh,Ch);else{Lh.scaleAndAdd(Ah,o/Math.tan(Math.PI/2-s));var l=Ch.x!==Th.x?(Lh.x-Th.x)/(Ch.x-Th.x):(Lh.y-Th.y)/(Ch.y-Th.y);if(isNaN(l))return;l<0?J.copy(Lh,Th):l>1&&J.copy(Lh,Ch)}Lh.toArray(t[1])}}}function BB(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a=!0===a?.3:Math.max(+a,0)||0,o.shape=o.shape||{},o.shape.smooth=a;var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function VB(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=N(i[0],i[1]),o=N(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=BI([],i[1],i[0],a/r),l=BI([],i[1],i[2],a/o),u=BI([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c0&&r&&b(-h/o,0,o);var g,y,v=t[0],m=t[o-1];function x(){g=v.rect[a]-n,y=i-m.rect[a]-m.rect[s]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){b(i*n,0,o);var r=i+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function b(e,n,i){0!==e&&(c=!0);for(var r=n;r0)for(l=0;l0;l--)b(-i[l-1]*h,l,o)}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),i=0;i0?b(n,0,i+1):b(-n,o-i-1,o),(t-=n)<=0)return}return x(),g<0&&w(-g,.8),y<0&&w(y,.8),x(),_(g,y,1),_(y,g,-1),x(),g<0&&S(-g),y<0&&S(y),c}function KB(t){var e=[];function n(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}t.sort(function(t,e){return(e.suggestIgnore?1:0)-(t.suggestIgnore?1:0)||e.priority-t.priority});for(var i=0;i=0&&i.push(e[o])}return i.join(" ")}function rV(t,e){this.parent.drift(t,e)}function oV(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i&&i.isIgnore&&i.isIgnore(n))&&!(i&&i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function aV(t){return null==t||JM(t)||(t={isIgnore:t}),t||{}}function sV(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:pP(e),cursorStyle:e.get("cursor")}}function lV(t,e,n,i,r,o,a){var s=new t(e,n,i,r);return s.setPosition(o),e.setItemGraphicEl(n,s),a.add(s),s}function uV(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:$M(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radius"===s?1:0,h=GM(t.dimensions,function(t){return e.mapDimension(t)}),d=!1,p=e.getCalculationInfo("stackResultDimension");return VE(e,h[0])&&(d=!0,h[0]=p),VE(e,h[1])&&(d=!0,h[1]=p),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function cV(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}function hV(t,e){return!isFinite(t)||!isFinite(e)}function dV(t){return pV({ctor:Xh},t).arr}function pV(t,e){var n=t.arr,i=t.ctor;if(e>gn&&(e=gn),!n||t.typed&&n.length=r||g<0)break;if(hV(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),h=v,d=m;else{var x=v-u,_=m-c;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||hV(w,S))p=v,f=m;else{T=w-u,C=S-c;var k=v-u,L=w-v,P=m-c,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;p=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;p=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),p=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=jh(D=v+T*a*I,qh(w,v)),A=jh(A,qh(S,m)),D=qh(D,jh(w,v)),f=m-(C=(A=qh(A,jh(S,m)))-m)*R/N,p=jh(p=v-(T=D-v)*R/N,qh(u,v)),f=jh(f,qh(c,m)),D=v+(T=v-(p=qh(p,jh(u,v))))*N/R,A=m+(C=m-(f=qh(f,jh(c,m))))*N/R}t.bezierCurveTo(h,d,p,f,v,m),h=D,d=A}else t.lineTo(v,m)}u=v,c=m,g+=o}return y}function gV(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||0;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var h=new Hi({shape:{x:a,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),p=d.isHorizontal(),f=d.inverse;p?(f&&(h.shape.x+=l),h.shape.width=0):(f||(h.shape.y+=u),h.shape.height=0);var g=jM(r)?function(t){r(t,h)}:null;wL(h,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return h}function yV(t,e,n){var i=t.getArea(),r=fD(i.r0,1),o=fD(i.r,1),a=new $r({shape:{cx:fD(t.cx,1),cy:fD(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,wL(a,{shape:{endAngle:i.endAngle,r:o}},n)),a}function vV(t,e,n,i,r){return t?"polar"===t.type?yV(t,e,n):"cartesian2d"===t.type?gV(t,e,n,i,r):null:null}function mV(t,e,n){t?e.setClipPath(n):e.removeClipPath()}function xV(t){var e=t.coordinateSystem;if(t.get("clip",!0)&&e&&(!e.shouldClip||e.shouldClip()))return e.getArea&&e.getArea(.1)}function _V(t,e){return t.type===e}function bV(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]&&!!t.getViewRect}function wV(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||xI(t,"text")))}function SV(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},xI(a,"text")&&(o.text=a.text),xI(a,"rich")&&(o.rich=a.rich),xI(a,"textFill")&&(o.fill=a.textFill),xI(a,"textStroke")&&(o.stroke=a.textStroke),xI(a,"fontFamily")&&(o.fontFamily=a.fontFamily),xI(a,"fontSize")&&(o.fontSize=a.fontSize),xI(a,"fontStyle")&&(o.fontStyle=a.fontStyle),xI(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=xI(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),xI(a,"textPosition")&&(i.position=a.textPosition),xI(a,"textOffset")&&(i.offset=a.textOffset),xI(a,"textRotation")&&(i.rotation=a.textRotation),xI(a,"textDistance")&&(i.distance=a.textDistance)}return MV(o,t),VM(o.rich,function(t){MV(t,t)}),{textConfig:i,textContent:r}}function MV(t,e){e&&(e.font=e.textFont||e.font,xI(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),xI(e,"textAlign")&&(t.align=e.textAlign),xI(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),xI(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),xI(e,"textWidth")&&(t.width=e.textWidth),xI(e,"textHeight")&&(t.height=e.textHeight),xI(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),xI(e,"textPadding")&&(t.padding=e.textPadding),xI(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),xI(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),xI(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),xI(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),xI(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),xI(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),xI(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function IV(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||Ba.color.neutral99;TV(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||Ba.color.neutral00,!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),i.textStrokeWidth??(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||Ba.color.neutral00),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,VM(e.rich,function(t){TV(t,t)}),i}function TV(t,e){e&&(xI(e,"fill")&&(t.textFill=e.fill),xI(e,"stroke")&&(t.textStroke=e.fill),xI(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),xI(e,"font")&&(t.font=e.font),xI(e,"fontStyle")&&(t.fontStyle=e.fontStyle),xI(e,"fontWeight")&&(t.fontWeight=e.fontWeight),xI(e,"fontSize")&&(t.fontSize=e.fontSize),xI(e,"fontFamily")&&(t.fontFamily=e.fontFamily),xI(e,"align")&&(t.textAlign=e.align),xI(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),xI(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),xI(e,"width")&&(t.textWidth=e.width),xI(e,"height")&&(t.textHeight=e.height),xI(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),xI(e,"padding")&&(t.textPadding=e.padding),xI(e,"borderColor")&&(t.textBorderColor=e.borderColor),xI(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),xI(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),xI(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),xI(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),xI(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),xI(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),xI(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),xI(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),xI(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),xI(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}function CV(t,e){if(t.length===e.length){for(var n=0;n=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=GM(o.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),c=u.length,h=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),h.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:tC((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),p=d.length;if(!p&&c)return u[0].coord<0?h[1]?h[1]:u[c-1].color:h[0]?h[0]:u[0].color;var f=d[0].coord-10,g=d[p-1].coord+10,y=g-f;if(y<.001)return"transparent";VM(d,function(t){t.offset=(t.coord-f)/y}),d.push({offset:p?d[p-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:h[0]||"transparent"});var v=new go(0,0,0,0,d,!0);return v[r]=f,v[r+"2"]=g,v}}}function OV(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return VM(o.getViewLabels(),function(t){t.tick.offInterval||(s[Cz(o.scale,t.tick)]=1)}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function RV(t,e){return[t[2*e],t[2*e+1]]}function NV(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(u[1]-u[0])*(c||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/d));var p=void 0;qM(r)?p=ed[r]:jM(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,nd))}}}}}function VV(t){t.registerChartView(td),t.registerSeriesModel(Wh),t.registerLayout(zV("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,BV("line"))}function GV(){return rd}function FV(t,e,n,i){var r=[];return VM(t,function(t){r=r.concat(t.eventBreaks)}),{eventContent:{breaks:r}}}function HV(t,e,n){var i=new J;$B(t,e,i,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&XB(e,i)}function WV(t,e,n,i){for(var r=J.dot(i,e)>=0,o=0,a=t.length;o.1?"x":"y",c=a.transGroup[u];if(s.sort(function(t,e){return Math.abs(t.label[u]-c)-Math.abs(e.label[u]-c)}),l&&r){var h=o.getExtent(),d=Math.min(h[0],h[1]),p=Math.max(h[0],h[1])-d;r.union(new dt(d,0,p,1))}a.stOccupiedRect=r,a.labelInfoList=s}(t,n,i,l)}function YV(t){t&&(t.ignore=!0)}function XV(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0&&n(i,t,e.getStore())})}var p=0;if(d(function(t,e,n){r.set(e.uid,1),o&&o.hasKey(e.uid)||(i=!0),p+=n.count()}),o&&o.keys().length===r.keys().length||(i=!0),i||null==a){pV(Md,p);var f=0;d(function(t,e,n){for(var i=0,r=n.count();i0&&m0?-2:-1,n.serUids=r}else e.liPosMinGap=a}function tG(t){return function(e,n){var i=SB(e,{fromStat:{key:t}});if(zD(i.w2))return[-i.w2/2,i.w2/2]}}function eG(t){return t+"|&"}function nG(t,e){return t+"|&"+e}function iG(t){return JV(),{liPosMinGap:!ez(t.scale)}}function rG(t,e,n,i){Gz(t,{key:e,seriesType:n,coordSysType:i,getMetrics:iG})}function oG(t){return t.scale.rawExtentInfo.makeRenderInfo().startValue}function aG(t){return t.get("stack")||Ld+t.seriesIndex}function sG(t,e){var n=function(t,e){var n=nG(e,Dd),i=[],r=SB(t,{fromStat:{key:n},min:1});return Oz(t,n,function(t){i.push({barWidth:fn(t.get("barWidth"),r.w),barMaxWidth:fn(t.get("barMaxWidth"),r.w),barMinWidth:fn(t.get("barMinWidth")||(hG(t)?.5:1),r.w),barGap:t.get("barGap"),barCategoryGap:t.get("barCategoryGap"),defaultBarGap:t.get("defaultBarGap"),stackId:aG(t)})}),{bandWidthResult:r,seriesInfo:i}}(t,e);return n.columnMap=lG(n),n}function lG(t){var e,n,i=t.bandWidthResult.w,r=i,o=0,a=[],s={};VM(t.seriesInfo,function(t,i){i||(n=t.defaultBarGap||0);var l=t.stackId;xI(s,l)||o++;var u=s[l];u||(u=s[l]={width:0,maxWidth:0},a.push(l));var c=t.barWidth;c&&!u.width&&(u.width=c,c=nn(r,c),r-=c);var h=t.barMaxWidth;h&&(u.maxWidth=h);var d=t.barMinWidth;d&&(u.minWidth=d);var p=t.barGap;null!=p&&(n=p);var f=t.barCategoryGap;null!=f&&(e=f)}),null==e&&(e=rn(35-4*a.length,15)+"%");var l=fn(e,i),u=fn(n,1),c=(r-l)/(o+(o-1)*u);c=rn(c,0),VM(a,function(t){var e=s[t],n=e.maxWidth,i=e.minWidth;if(e.width)a=e.width,n&&(a=nn(a,n)),i&&(a=rn(a,i)),e.width=a,r-=a+u*a,o--;else{var a=c;n&&na&&(a=i),a!==c&&(e.width=a,r-=a+u*a,o--)}}),c=rn(c=(r-l)/(o+(o-1)*u),0);var h,d=0;VM(a,function(t){var e=s[t];e.width||(e.width=c),h=e,d+=e.width*(1+u)}),h&&(d-=h.width*u);var p={},f=-d/2;return VM(a,function(t){var e=s[t];p[t]=p[t]||{bandWidth:i,offset:f,width:e.width},f+=e.width*(1+u)}),p}function uG(t){return{seriesType:t,overallReset:function(e){var n=nG(t,Dd);Nz(e,n,function(e){var i=sG(e,t);Oz(e,n,function(t){var e=i.columnMap[aG(t)];t.getData().setLayout({bandWidth:e.bandWidth,offset:e.offset,size:e.width})})})}}}function cG(t){return{seriesType:t,plan:jR(),reset:function(t){if(function(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=VE(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=r.toGlobalCoord(r.dataToCoord(oG(r))),p=hG(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&dV(3*r),u=p&&s&&dV(3*r),m=p&&dV(r),x=n.master.getRect(),_=h?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(c?g:o,i),M=b.get(a,i),I=d,T=void 0;c&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(h){var L=n.dataToPoint([S,M]);c&&(I=n.dataToPoint([T,M])[0]),C=I,D=L[1]+v,A=L[0]-I,k=y,on(A)=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?function(t,e){return 0===t.height?e.getOtherAxis(e.getBaseAxis()).inverse?"bottom":"top":t.height>0?"bottom":"top"}(r,o.coordinateSystem):function(t,e){return 0===t.width?e.getOtherAxis(e.getBaseAxis()).inverse?"left":"right":t.width>=0?"right":"left"}(r,o.coordinateSystem),p=pP(i);dP(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:nV(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if($M(i))t.setTextConfig({rotation:i});else if(ZM(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===g?d:g,mG(a),i.get(["label","rotate"]))}mP(f,p,o.getRawValue(n),function(t){return iV(e,t)});var y=i.getModel(["emphasis"]);$k(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),Qk(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",VM(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}function _G(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints"),c=i?mA(t):0;if(u){var h=new Xd({shape:{points:u},incremental:c,silent:!0,z2:0});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,h.useStyle(l.getItemStyle()),e.add(h),n&&n.push(h)}var d=new Xd({shape:{points:r.getLayout("largePoints")},incremental:c,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,e.add(d),d.useStyle(r.getVisual("style")),d.style.stroke=null,Ki(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",Zd),d.on("mousemove",Zd)),n&&n.push(d)}function bG(t,e,n){if(_V(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function wG(t){t.registerChartView(Bd),t.registerSeriesModel(Od),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,uG("bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,cG("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,BV("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})}),dG(t)}function SG(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),r=0;rn?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,d=i+l.len;u.rB=Math.abs(h)t.unconstrainedWidth?null:d:null;i.setStyle("width",p)}CG(o,i)}}}function CG(t,e){Qd.rect=t,YB(Qd,e,Jd)}function DG(t){return"center"===t.position}function AG(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*$d,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,h=s.y,d=s.height;function p(t){t.ignore=!0}i.each(function(t){var s=i.getItemGraphicEl(t),h=s.shape,f=s.getTextContent(),g=s.getTextGuideLine(),y=i.getItemModel(t),v=y.getModel("label"),m=v.get("position")||y.get(["emphasis","label","position"]),x=v.get("distanceToLabelLine"),_=v.get("alignTo"),b=fn(v.get("edgeDistance"),u),w=v.get("bleedMargin");null==w&&(w=Math.min(u,d)>200?10:2);var S=y.getModel("labelLine"),M=S.get("length");M=fn(M,u);var I=S.get("length2");if(I=fn(I,u),Math.abs(h.endAngle-h.startAngle)0?"right":"left":L>0?"left":"right"}var V=Math.PI,G=0,F=v.get("rotate");if($M(F))G=F*(V/180);else if("center"===m)G=0;else if("radial"===F||!0===F)G=L<0?-k+V:-k;else if("tangential"===F||"tangential-noflip"===F&&"outside"!==m&&"outer"!==m){var H=Math.atan2(L,P);H<0&&(H=2*V+H),P>0&&"tangential-noflip"!==F&&(H=V+H),G=H-V}if(o=!!G,f.x=T,f.y=C,f.rotation=G,f.setStyle({verticalAlign:"middle"}),O){f.setStyle({align:A});var W=f.states.select;W&&(W.x+=f.x,W.y+=f.y)}else{var U=new dt(0,0,0,0);CG(U,f),r.push({label:f,labelLine:g,position:m,len:M,len2:I,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new J(L,P),linePoints:D,textAlign:A,labelDistance:x,labelAlignTo:_,edgeDistance:b,bleedMargin:w,rect:U,unconstrainedWidth:U.width,labelStyleWidth:f.style.width})}s.setTextConfig({inside:O})}}),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;di?c=u=D+b*i/2:(u=D+S,c=r-S),n.setItemLayout(e,{angle:i,startAngle:u,endAngle:c,clockwise:v,cx:o,cy:a,r0:l,r:m?cD(t,_,[l,s]):s}),D=r}}),T=A[1])return!0})):T[1]?(x=A[1],k(function(){if(R(),S=fD(w-_*r,b),L(),m<=A[0])return!0})):k(function(){S=fD(ln(A[0]/_)*_,b),w=fD(sn(A[1]/_)*_,b);var t=an((w-S)/_);if(t<=r){var e=r-t,n=void 0,i=s.incl0||l;if(i&&0===A[0])n=[0,e];else if(i&&0===A[1])n=[e,0];else{var o=sn(e/2);n=e%2==0?[o,o]:m+x=A[1])return!0}})}Tz(o,T,D,[m,x],C,{interval:_,intervalCount:r,intervalPrecision:b,niceExtent:[S,w]})}function zG(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)BG(s,o[l])&&(r=o[l]);else for(var u in o)if(xI(o,u)&&BG(s,o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function BG(t,e){if(!e)return!1;var n=function(t,e,n){var i=n?ZE(t,null):t.getExtentUnsafe(0,null),r=i[0],o=i[1];return dA(r,o)?r===e||o===e?2:re?1:3:3}(e.scale,0,!1),i=e&&"category"!==e.type&&"time"!==e.type&&3!==n;return i&&"auto"===t&&function(t){return Vc(t).noOnMyZero}(e)&&(i=!1),i}function VG(t){for(var e,n=UM(t),i=[],r=n.length-1;r>=0;r--){var o=t[+n[r]];$E(o.scale)&&null==Iz(o.model,o.type,!0)&&(o.model.get("alignTicks")&&null==o.model.get("interval")?i.push(o):e=o)}e||(e=i.pop()),e&&VM(i,function(t){t.__alignTo=e})}function GG(t,e){VM(t.x,function(t){return FG(t,e.x,e.width)}),VM(t.y,function(t){return FG(t,e.y,e.height)})}function FG(t,e,n){var i=[0,n],r=t.inverse?1:0;t.setExtent(i[r],i[1-r]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e)}function HG(t,e,n,i,r,o,a){UG(i,r,gh.estimate,e,!1,a);var s=[0,0,0,0];u(0),u(1),c(i,0,NaN),c(i,1,NaN);var l=null==WM(s,function(t){return t>0});return qL(i,s,!0,!0,n),GG(r,i),l;function u(t){VM(r[Lo[t]],function(e){if(Mz(e.model)){var n=o.ensureRecord(e.model),i=n.labelInfoList;if(i)for(var r=0;r0&&!oI(e)&&e>1e-4&&(t/=e),t}}function WG(t,e,n,i,r){var o=new gd(Mp);return VM(n,function(n){return VM(n,function(n){if(Mz(n.model)){var a=!i;n.axisBuilder=function(t,e,n,i,r,o){for(var a=$V(t,n),s=!1,l=!1,u=0;u=0||t===e}function ZG(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[qG(t)]}function jG(t){return!!t.get(["handle","show"])}function qG(t){return t.type+"||"+t.id}function KG(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(u.length){var c=s.length,h=Cp(t).splitAreaColors,d=gI(),p=0;if(h)for(var f=0;f0))return n;var a=r.get("jitterOverlap"),s=r.get("jitterMargin")||0,l=ez(t.scale)?SB(t).w:null;return a?tF(n,o,l,i):function(t,e,n,i,r,o){var a=Bp(t);a.items||(a.items=[]);var s=a.items,l=eF(s,e,n,i,r,o,1),u=eF(s,e,n,i,r,o,-1),c=Math.abs(l-n)r/2||h&&d>h/2-i?tF(n,r,h,i):(s.push({fixedCoord:e,floatCoord:c,r:i}),c)}(t,e,n,i,o,s)}function tF(t,e,n,i){if(null===n)return t+(Math.random()-.5)*e;var r=n-2*i,o=Math.min(Math.max(0,e),r);return t+(Math.random()-.5)*o}function eF(t,e,n,i,r,o,a){for(var s=n,l=0;lr/2)return Number.MAX_VALUE;if(1===a&&f>s||-1===a&&f0;return a&&s}(t,n)){var i=n.dim,r=n.orient,o="horizontal"===r&&"category"!==n.type||"vertical"===r&&"category"===n.type,a="y"===i||"single"===i&&o,s="x"===i||"single"===i&&!o;if(a||s)return{progress:function(t,e){for(var i=e.getLayout("points"),r=!!i,o=t.start;o0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};DF(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000",s=o.stopOpacity||n.getAttribute("stop-opacity");if(s){var l=qT(a);l&&l[3]&&(l[3]*=WT(s),a=iC(l,"rgba"))}e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function SF(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),RM(e.__inheritedStyle,t.__inheritedStyle))}function MF(t){for(var e=CF(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=CF(a);switch(r=r||eT(),s){case"translate":oT(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":sT(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":aT(r,r,-parseFloat(l[0])*df,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":rT(r,[1,0,Math.tan(parseFloat(l[0])*df),1,0,0],r);break;case"skewY":rT(r,[1,Math.tan(parseFloat(l[0])*df),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),DF(t,a,s),i||function(t,e,n){for(var i=0;i1e-6;zf[0]=a?(r[0]-i.x)/o:r[0],zf[1]=a?(r[1]-i.y)/o:r[1],VI(zf,zf,t.mtRawInv);var s=function(t,e){var n=t.centerOption,i=t.dataRect;return!n||t.lgCt?e.slice():[QF(0,e,n,i),QF(1,e,n,i)]}(t,zf);eH(e,s,o),VM(n,function(t){t!==e&&eH(t,s.slice(),o)})}(r,e,n,Nf)}function qF(t,e,n){var i=KF(e);i&&(jF(i,e,n,t),BF(i,e))}function KF(t){return t.__ownRoamView?t.__ownRoamView():null}function $F(t,e,n,i){n.setUpdatePayload(sP(t));var r=bk(i,e);r&&r.__updateOnOwnRoam&&r.__updateOnOwnRoam(t,e,i)}function JF(t){return t.scaleX}function QF(t,e,n,i){return n&&i&&i[Po[t]]&&qM(r=n[t])&&pD(r)?(e[t]-i[Lo[t]])/i[Po[t]]*100+"%":e[t];var r}function tH(t,e){return e&&t&&t.getShallow("legacyViewCoordSysCenterBase")?{w:e.getWidth(),h:e.getHeight()}:null}function eH(t,e,n){var i=t.option;i.center=e,i.zoom=n}function nH(t,e){if(e){var n=e.min||0,i=e.max||1/0;t=Math.max(Math.min(i,t),n)}return t}function iH(t,e){var n=e.getShallow("nodeScaleRatio",!0)||1,i=t;return((i.zoom-1)*n+1)/(i.trans[2].scaleX||1)}function rH(t,e,n,i,r,o,a,s){function l(n){var i=t.mainType,r=sP(RM({type:sH(i,t.subType,sr)},n));s&&(r.componentType=i),r[i+"Id"]=t.id,e.dispatchAction(r)}KF(t)?(n.enable(sI(t.get("roam"),a),{api:e,zInfo:{component:t},triggerInfo:{roamTrigger:t.get("roamTrigger"),isInSelf:i,isInClip:function(t,e,n){return!r||r.contain(e,n)}}}),n.off("pan").off("zoom").on("pan",function(t){o&&o("pan"),l({dx:t.dx,dy:t.dy})}).on("zoom",function(t){o&&o("zoom"),l({zoom:t.scale,originX:t.originX,originY:t.originY})})):n.disable()}function oH(t){return function(e,n,i){return Bf.copy(t.getBoundingRect()),Bf.applyTransform(t.getComputedTransform()),Bf.contain(n,i)}}function aH(t,e,n){var i=sH(e,n,sr);t.registerAction({type:i,event:i,update:"none"},function(t,i,r){i.eachComponent(nA(t,e,n),function(e){qF(t,e),$F(t,e,i,r)})})}function sH(t,e,n){return("series"!==t?t:"map"===e?"geo":e)+n}function lH(t){return null!=t.zoom}function uH(t,e,n,i,r,o,a){var s=new Tf(null,tH(t.ecModel,e));return VF(s,n,i,r,o),a?GF(s,a.x,a.y,a.width,a.height):GF(s,n,i,r,o),BF(s,t),s}function cH(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function hH(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}function dH(t,e,n,i,r,o){var a=o.getModel("itemStyle"),s=o.getModel(["emphasis","itemStyle"]),l=o.getModel(["blur","itemStyle"]),u=o.getModel(["select","itemStyle"]),c=cH(a),h=cH(s),d=cH(u),p=cH(l);if(e){var f=e.getItemVisual(r,"style"),g=e.getItemVisual(r,"decal");n&&f.fill&&(c.fill=f.fill),g&&(c.decal=jN(g,t))}i.setStyle(c),i.style.strokeNoScale=!0,i.ensureState("emphasis").style=h,i.ensureState("select").style=d,i.ensureState("blur").style=p,Rk(i)}function pH(t,e,n,i,r,o,a){var s=e&&isNaN(e.get(e.mapDimension("value"),o)),l=e&&e.getItemLayout(o);if(mH(t)||s||l&&l.showLabel){var u=mH(t)?i:o,c=void 0;(!e||o>=0)&&(c=t);var h=a?{normal:{align:"center",verticalAlign:"middle"}}:null;dP(n,pP(r),{labelFetcher:c,labelDataIndex:u,defaultText:i},h);var d=n.getTextContent();if(d&&(Wf(d).ignore=d.ignore,n.textConfig&&a)){var p=n.getBoundingRect().clone();n.textConfig.layoutRect=p,n.textConfig.position=[(a[0]-p.x)/p.width*100+"%",(a[1]-p.y)/p.height*100+"%"]}n.disableLabelAnimation=!0}else n.removeTextContent(),n.removeTextConfig(),n.disableLabelAnimation=null}function fH(t,e,n,i,r,o){e?e.setItemGraphicEl(o,n):Ki(n).eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:i,region:r&&r.option||{}}}function gH(t,e,n,i,r){e||$L({el:n,componentModel:t,itemName:i,itemTooltipOption:r.get("tooltip")})}function yH(t,e,n,i){e.highDownSilentOnTouch=!!t.get("selectedMode");var r=i.getModel("emphasis"),o=r.get("focus");return $k(e,o,r.get("blurScope"),r.get("disabled")),mH(t)&&function(t,e,n){var i=Ki(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,t,n),o}function vH(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),VM(t,function(t){s.lineStart();for(var e=0;e1?(f.width=p,f.height=p/x):(f.height=p,f.width=p*x),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,f=fO(t,f=pO(b,m),x)}GF(n,f.x,f.y,f.width,f.height),BF(n,t)}function IH(t,e,n){If.registerMap(t,e,n)}function TH(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name),VM(n.coordinateSystem.regions,function(t){i[t.name]=n.isSelected(t.name)||!1});var o=[];VM(i,function(t,e){i[e]&&o.push(e)}),r.push({geoIndex:n.componentIndex,name:o})}),{selected:i,allSelected:r,name:t.name}})}t.registerCoordinateSystem("geo",Kf),t.registerComponentModel($f),t.registerComponentView(Jf),t.registerImpl("registerMap",IH),t.registerImpl("getMap",function(t){return If.getMapForUser(t)}),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e,n){var i=t.componentType||(null!=t.geoId||null!=t.geoName||null!=t.geoIndex?"geo":"series"),r=i===Ji;if("geo"===i||r){var o=r?"map":null;e.eachComponent(nA(t,i,o),function(i){r&&!_H(i)||(qF(t,i,r?i.seriesGroup.r:null),$F(t,i,e,n))})}})}function CH(t){VM(wH(t),function(e,n){if(bH(e)&&xH(n)){var i={};VM(e.f,function(e){var n=e.coordinateSystem,r=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&r.each(r.mapDimension("value"),function(t,e){var o=r.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=i[o]||0,l=n.dataToPoint(a.getCenter());i[o]=s+1,r.setItemLayout(e,{point:l,offset:s})}})});var r=bH(e).getData();r.each(function(t){var e=r.getName(t),n=r.getItemLayout(t)||{};n.showLabel=!i[e],r.setItemLayout(t,n)})}})}function DH(t){VM(wH(t),function(t){var e=bH(t);if(e){var n,i,r,o=(n=GM(t.f,function(t){return t.getData()}),i=e.get("mapValueCalculation"),r={},VM(n,function(t){t.each(t.mapDimension("value"),function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)})}),n[0].map(n[0].mapDimension("value"),function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,c=0;c=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;s=RH(s),o=NH(o),s&&o;){r=RH(r),a=NH(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);d>0&&(zH(EH(s,t,n),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!RH(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!NH(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function LH(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function PH(t){return arguments.length?t:BH}function OH(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function RH(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function NH(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function EH(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function zH(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function BH(t,e){return t.parentNode===e.parentNode?1:2}function VH(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,YH(e,n,t),VM(n,function(n){VM(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,XM(GH,t))})}),e.wrapMethod("cloneShallow",XM(HH,t)),VM(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,XM(FH,t))}),hI(n[e.dataType]===e)}function GH(t,e){if(eg(i=this).mainData===i){var n=PM({},eg(this).datas);n[this.dataType]=e,YH(e,n,t)}else XH(e,this.dataType,eg(this).mainData,t);var i;return e}function FH(t,e){return t.struct&&t.struct.update(),e}function HH(t,e){return VM(eg(e).datas,function(n,i){n!==e&&XH(n.cloneShallow(),i,e,t)}),e}function WH(t){var e=eg(this).mainData;return null==t||null==e?e:eg(e).datas[t]}function UH(){var t=eg(this).mainData;return null==t?[{data:t}]:GM(UM(eg(t).datas),function(e){return{type:e,data:eg(t).datas[e]}})}function YH(t,e,n){eg(t).datas={},VM(e,function(e,i){XH(e,i,t,n)})}function XH(t,e,n,i){eg(n).datas[e]=t,eg(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=WH,t.getLinkedDataAll=UH}function ZH(t,e,n){if(t&&NM(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(qM(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function jH(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function qH(t,e){return NM(jH(t),e)>=0}function KH(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}function $H(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function JH(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:Ba.color.neutral00,c=t.tree.root,h=a.parentNode===c?a:a.parentNode||a,d=t.getItemGraphicEl(h.dataIndex),p=h.getLayout(),f=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:p,g=a.getLayout();o?((n=new Uh(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=f.x,n.y=f.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,bL(n,{x:g.x,y:g.y},r);var y=n.getSymbolPath();if("radial"===r.get("layout")){var v=c.children[0],m=v.getLayout(),x=v.children.length,_=void 0,b=void 0;if(g.x===m.x&&!0===a.isExpand&&v.children.length){var w={x:(v.children[0].getLayout().x+v.children[x-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[x-1].getLayout().y)/2};(_=Math.atan2(w.y-m.y,w.x-m.x))<0&&(_=2*Math.PI+_),(b=w.xm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),A="relative"===D?yI(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;A&&(Ki(n).focus=A),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new uo({shape:nW(c,h,d,r,r)})),bL(g,{shape:nW(c,h,d,o,a)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;m=0;o--)i.push(r[o])}}function rW(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=gO(t,e).refContainer,i=pO(t.getBoxLayoutParams(),n);t.layoutInfo=i;var r=t.get("layout"),o=0,a=0,s=null;"radial"===r?(o=2*Math.PI,a=Math.min(i.height,i.width)/2,s=PH(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=i.width,a=i.height,s=PH());var l=t.getData().tree.root,u=l.children[0];if(u){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(l),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>d.depth&&(d=t)});var p=c===h?1:s(c,h)/2,f=p-c.getLayout().x,g=0,y=0,v=0,m=0;if("radial"===r)g=o/(h.getLayout().x+p+f),y=a/(d.depth-1||1),iW(u,function(t){v=(t.getLayout().x+f)*g,m=(t.depth-1)*y;var e=OH(v,m);t.setLayout({x:e.x,y:e.y,rawX:v,rawY:m},!0)});else{var x=t.getOrient();"RL"===x||"LR"===x?(y=a/(h.getLayout().x+p+f),g=o/(d.depth-1||1),iW(u,function(t){m=(t.getLayout().x+f)*y,v="LR"===x?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:v,y:m},!0)})):"TB"!==x&&"BT"!==x||(g=o/(h.getLayout().x+p+f),y=a/(d.depth-1||1),iW(u,function(t){v=(t.getLayout().x+f)*g,m="TB"===x?(t.depth-1)*y:a-(t.depth-1)*y,t.setLayout({x:v,y:m},!0)}))}}}(t,e)})}function oW(t){t.eachSeriesByType(rg,function(t){var e=t.getData();e.tree.eachNode(function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();PM(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)})})}function aW(t){t.registerChartView(lg),t.registerSeriesModel(og),t.registerLayout(rW),t.registerVisual(ug),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:Ji,subType:rg,query:t},function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand})}),aH(t,Ji,rg)}(t)}function sW(t){var e=t.getData().tree,n={};e.eachNode(function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=CO(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)})}function lW(t){var e=0;VM(t.children,function(t){lW(t);var n=t.value;ZM(n)&&(n=n[0]),e+=n});var n=t.value;ZM(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),ZM(t.value)?t.value[0]=n:t.value=n}function uW(t,e,n,i,r,o){var a=[[r?t:t-dg,e],[t+n,e],[t+n,e+i],[r?t:t-dg,e+i]];return!o&&a.splice(2,0,[t+n+dg,e+i/2]),!r&&a.push([t,e+i/2]),a}function cW(t,e,n){Ki(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&KH(n,e)}}function hW(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(mg),u=s.get(xg)/2,c=gW(s),h=Math.max(l,c),d=l-u,p=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0);var f=(r=gg(r-2*d,0))*(o=gg(o-d-p,0)),g=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=HM(a,function(t){return!t.isRemoved()}),function(t,e){e&&t.sort(function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})}(a,s);var u=function(t,e,n){for(var i=0,r=0,o=e.length;ra[1]&&(a[1]=e)})):a=[NaN,NaN],{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?gg(u*i/l,l/(u*r)):1/0}function pW(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(r||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,d=t.length;hu[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new zg(h);return Gg(d).drColorMappingBy=c,d}}}(0,r,o,0,u,p);VM(p,function(t,e){(t.depth>=n.length||t===n[t.depth])&&AW(t,function(t,e,n,i,r,o){var a=PM({},e);if(r){var s=r.type,l="color"===s&&Gg(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i),n,i)})}else s=kW(u),c.fill=s}}function kW(t){var e=LW(t,"color");if(e){var n=LW(t,"colorAlpha"),i=LW(t,"colorSaturation");return i&&(e=eC(e,null,null,i)),n&&(e=nC(e,n)),e}}function LW(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function PW(t,e){var n=t.get(e);return ZM(n)&&n.length?{name:e,range:n}:null}function OW(t){t.registerSeriesModel(hg),t.registerChartView(Og),t.registerVisual(Fg),t.registerLayout(wg),function(t){for(var e=0;e=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function EW(t,e,n,i,r){for(var o=new Hg(i),a=0;a "+d)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f||"matrix"===f)p=FE(t,n);else{var g=Da.get(f),y=g&&g.dimensions||[];NM(y,"value")<0&&y.concat(["value"]);var v=NE(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(p=new _c(v,n)).initData(t)}var m=new _c(["value"],n);return m.initData(l,s),r&&r(p,m),VH({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}function zW(t,e,n,i){var r=Xg(e),o=ZM(r);if(!r)return null;var a=Kg(t,e);if(!a)return null;for(var s=-1,l=0;l=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function oU(t,e){var n=[],i=ET,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge(function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[SI(l[0]),SI(l[1])],l[2]&&l.__original.push(SI(l[2])));var h=l.__original;if(null!=l[2]){if(wI(r[0],h[0]),wI(r[1],h[2]),wI(r[2],h[1]),u&&"none"!==u){var d=UW(t.node1),p=rU(r,h[0],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}c&&"none"!==c&&(d=UW(t.node2),p=rU(r,h[1],d*e),i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]),wI(l[0],r[0]),wI(l[1],r[2]),wI(l[2],r[1])}else wI(o[0],h[0]),wI(o[1],h[1]),CI(a,o[1],o[0]),RI(a,a),u&&"none"!==u&&(d=UW(t.node1),TI(o[0],o[0],a,d*e)),c&&"none"!==c&&(d=UW(t.node2),TI(o[1],o[1],a,-d*e)),wI(l[0],o[0]),wI(l[1],o[1])})}function aU(t,e){t&&(wy(t).bridge=e)}function sU(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType(Qg,function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf(function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){$M(n)&&(n=r[n]);for(var o=0;o0||h)&&(b+=2);var n=t.node1.dataIndex,i=t.node2.dataIndex;_[n]=(_[n]||0)+e,_[i]=(_[i]||0)+e});var w=0;if(i.eachNode(function(t){var e=t.getValue("value");isNaN(e)||(_[t.dataIndex]=Math.max(e,_[t.dataIndex]||0)),!x&&(_[t.dataIndex]>0||h)&&b++,w+=_[t.dataIndex]||0}),0!==b&&0!==w){c*b>=Math.abs(m)&&(c=Math.max(0,(Math.abs(m)-h*b)/b)),(c+h)*b>=Math.abs(m)&&(h=(Math.abs(m)-c*b)/b);var S=(m-c*b*g)/w,M=0,I=0,T=0,C=1/0;i.eachNode(function(t){var e=_[t.dataIndex]||0,n=S*(w?e:1)*g;Math.abs(n)I){var A=M/I;i.eachNode(function(t){var e=t.getLayout().angle;Math.abs(e)>=h?t.setLayout({angle:e*A,ratio:A},!0):t.setLayout({angle:h,ratio:0===h?1:e/h},!0)})}else i.eachNode(function(t){if(!D){var e=t.getLayout().angle;e-Math.min(e/T,1)*Mh&&h>0){var n=D?1:Math.min(e/T,1),i=e-h,r=Math.min(i,Math.min(k,M*n));k-=r,t.setLayout({angle:e-r,ratio:(e-r)/e},!0)}else h>0&&t.setLayout({angle:h,ratio:0===e?1:h/e},!0)}});var L=v,P=[];i.eachNode(function(t){var e=Math.max(t.getLayout().angle,h);t.setLayout({cx:a,cy:s,r0:u,r:l,startAngle:L,endAngle:L+e*g,clockwise:f},!0),P[t.dataIndex]=L,L+=(e+c)*g}),i.eachEdge(function(t){var e=x?1:t.getValue("value"),n=S*(w?e:1)*g,i=t.node1.dataIndex,r=P[i]||0,o=r+Math.abs((t.node1.getLayout().ratio||1)*n)*g,l=[a+u*Math.cos(r),s+u*Math.sin(r)],c=[a+u*Math.cos(o),s+u*Math.sin(o)],h=t.node2.dataIndex,d=P[h]||0,p=d+Math.abs((t.node2.getLayout().ratio||1)*n)*g,y=[a+u*Math.cos(d),s+u*Math.sin(d)],v=[a+u*Math.cos(p),s+u*Math.sin(p)];t.setLayout({s1:l,s2:c,sStartAngle:r,sEndAngle:o,t1:y,t2:v,tStartAngle:d,tEndAngle:p,cx:a,cy:s,r:u,value:e,clockwise:f}),P[i]=o,P[h]=p})}}}(t,e)})}function dU(t){t.registerChartView(Ly),t.registerSeriesModel(Cy),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,Oy),t.registerProcessor(SG("chord"))}function pU(t,e){var n=null==t?"":t+"";return e&&(qM(e)?n=e.replace("{value}",n):jM(e)&&(n=e(t))),n}function fU(t){t.registerChartView(Ey),t.registerSeriesModel(zy)}function gU(t,e){t.eachSeriesByType(By,function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=gO(t,e),a=pO(t.getBoxLayoutParams(),o.refContainer),s=yU(t),l=a.width,u=a.height,c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),r=[],o="ascending"===e,a=0,s=t.count();a-1&&(l="left"),e&&NM(["left","right"],l)>-1&&(l="bottom")),"left"===l?(p=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,r=(g=p-v)-5,i="right"):"right"===l?(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,r=(g=p+v)+5,i="left"):"top"===l?(p=(h[3][0]+h[0][0])/2,o=(y=(f=(h[3][1]+h[0][1])/2)-v)-5,i="center"):"bottom"===l?(p=(h[1][0]+h[2][0])/2,o=(y=(f=(h[1][1]+h[2][1])/2)+v)+5,i="center"):"rightTop"===l?(p=e?h[3][0]:h[1][0],f=e?h[3][1]:h[1][1],e?(o=(y=f-v)-5,i="center"):(r=(g=p+v)+5,i="top")):"rightBottom"===l?(p=h[2][0],f=h[2][1],e?(o=(y=f+v)+5,i="center"):(r=(g=p+v)+5,i="bottom")):"leftTop"===l?(p=h[0][0],f=e?h[0][1]:h[1][1],e?(o=(y=f-v)-5,i="center"):(r=(g=p-v)-5,i="right")):"leftBottom"===l?(p=e?h[1][0]:h[3][0],f=e?h[1][1]:h[2][1],e?(o=(y=f+v)+5,i="center"):(r=(g=p-v)-5,i="right")):(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,e?(o=(y=f+v)+5,i="center"):(r=(g=p+v)+5,i="left")),e?r=g=p:o=y=f,a=[[p,f],[g,y]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:d}})}(n)})}function yU(t){return"horizontal"===t.get("orient")}function vU(t){t.registerChartView(Hy),t.registerSeriesModel(Vy),t.registerLayout(Wy),t.registerProcessor(SG(By))}function mU(t,e,n,i){for(var r=[],o=0;oo&&(e[1-i]=SD(e[i],h.sign*o)),e}function CU(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function DU(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}function AU(t,e){return nn(rn(t,e[0]),e[1])}function kU(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function LU(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return tuv}(t)||o){if(a&&!o){"single"===s.brushMode&&FU(t);var l=AM(s);l.brushType=rY(l.brushType,a),l.panelId=a===rv?null:a.panelId,o=t._creatingCover=OU(t,l),t._covers.push(o)}if(o){var u=mv[rY(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(tY(t,o,t._track)),i&&(RU(t,o),u.updateCommon(t,o)),NU(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&VU(t,e,n)&&FU(t)&&(r={isEnd:i,removeOnClick:!0});return r}function rY(t,e){return"auto"===t?e.defaultBrushType:t}function oY(t,e){if(t._dragging){eY(e);var n=e.offsetX,i=e.offsetY,r=iY(t,e,t.group.transformCoordToLocal(n,i),!0);t._dragging=!1,t._track=[],t._creatingCover=null,r&&HU(t,r)}}function aY(t){return{createCover:function(e,n){return UU({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=WU(e);return[ov(n[0][t],n[1][t]),av(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=GU(e,n);if(a!==rv&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),YU(e,n,l,r)},updateCommon:XU,contain:nY}}function sY(t){return t=cY(t),function(e){return WL(e,t)}}function lY(t,e){return t=cY(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function uY(t,e,n){var i=cY(t);return function(t,r){return i.contain(r[0],r[1])&&!dF(t,e,n)}}function cY(t){return dt.create(t)}function hY(t){t.registerComponentView(qy),t.registerComponentModel(Qy),t.registerCoordinateSystem("parallel",nv),t.registerPreprocessor(MU),t.registerComponentModel(iv),t.registerComponentView(xv),OG(t,"parallel",iv,bv),function(t){t.registerAction(_v,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),t.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})}(t)}function dY(t){rB(hY),t.registerChartView(Yy),t.registerSeriesModel(Xy),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,jy)}function pY(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");qM(i)&&qM(r)&&(t.fill=new go(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}function fY(t,e){t.eachSeriesByType(wv,function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=gO(t,e).refContainer,o=pO(t.getBoxLayoutParams(),r);t.layoutInfo=o;var a=o.width,s=o.height,l=t.getGraph(),u=l.nodes,c=l.edges;!function(t){VM(t,function(t){var e=MY(t.outEdges,SY),n=MY(t.inEdges,SY),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)})}(u),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0;d=0;v&&y.depth>p&&(p=y.depth),g.setLayout({depth:v?y.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mh-1?p:h-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)vY(s,l*=.99,a),yY(s,r,n,i,a),IY(s,l,a),yY(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";VM(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]})}),VM(t,function(t){var e=0,n=0;VM(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),VM(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t,s)}(u,c,n,i,a,s,0!==HM(u,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function gY(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function yY(t,e,n,i,r){var o="vertical"===r?"x":"y";VM(t,function(t){var a,s,l;t.sort(function(t,e){return t.getLayout()[o]-e.getLayout()[o]});for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",d=0;d0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;if((l=u-e-("vertical"===r?i:n))>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=c-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[h]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]})}function vY(t,e,n){VM(t.slice().reverse(),function(t){VM(t,function(t){if(t.outEdges.length){var i=MY(t.outEdges,mY,n)/MY(t.outEdges,SY);if(isNaN(i)){var r=t.outEdges.length;i=r?MY(t.outEdges,xY,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-wY(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-wY(t,n))*e;t.setLayout({y:a},!0)}}})})}function mY(t,e){return wY(t.node2,e)*t.getValue()}function xY(t,e){return wY(t.node2,e)}function _Y(t,e){return wY(t.node1,e)*t.getValue()}function bY(t,e){return wY(t.node1,e)}function wY(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function SY(t){return t.getValue()}function MY(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)}),VM(n,function(e){var n=new zg({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))})}i.length&&VM(i,function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)})})}function CY(t){t.registerChartView(Tv),t.registerSeriesModel(Sv),t.registerLayout(Cv),t.registerVisual(Dv),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:Ji,subType:wv,query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})}),aH(t,Ji,wv)}function DY(t,e){for(var n=e.ends.length,i=0,r=0;r0?Wv:Uv)}function NY(t,e){return e.get(0===t?Hv:t>0?Gv:Fv)}function EY(t,e,n,i){var r=t.ends;return new qv({shape:{points:i?BY(r,n,t):r},z2:100})}function zY(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0;var o=r.getShallow("cursor");o&&t.attr("cursor",o),t.__simpleBox=i,Qk(t,r);var a=e.getItemLayout(n).sign;VM(t.states,function(t,e){var n=r.getModel(e),i=RY(a,n),o=NY(a,n)||i,s=t.style||(t.style={});i&&(s.fill=i),o&&(s.stroke=o)});var s=r.getModel("emphasis");$k(t,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function BY(t,e,n){return GM(t,function(t){return(t=t.slice())[e]=n.initBaseline,t})}function VY(t){return"horizontal"===t.getWhiskerBoxesLayout()?1:0}function GY(t,e,n,i){var r=t.getData(),o=r.getLayout("largePoints"),a=new $v({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});e.add(a);var s=new $v({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var l=new $v({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});e.add(l),FY(1,a,t),FY(-1,s,t),FY(0,l,t),i&&(a.incremental=mA(t),s.incremental=mA(t),l.incremental=mA(t)),n&&n.push(a,s,l)}function FY(t,e,n,i){var r=NY(t,n)||RY(t,n),o=n.getModel("itemStyle").getItemStyle(Xv);e.useStyle(o),e.style.fill=null,e.style.stroke=r;var a=n.get("cursor");a&&e.attr("cursor",a)}function HY(t){t&&ZM(t.series)&&VM(t.series,function(t){JM(t)&&"k"===t.type&&(t.type=Bv)})}function WY(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function UY(t){t.registerChartView(Zv),t.registerSeriesModel(Vv),t.registerPreprocessor(HY),t.registerVisual(Yv),t.registerLayout(Qv),function(t){Jv(t,function(){var e=eG(Bv);Gz(t,{key:e,seriesType:Bv,getMetrics:iG}),Zz(e,tG(e))})}(t)}function YY(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}function XY(t){return{clipShape:xV(t)}}function ZY(t){t.registerChartView(em),t.registerSeriesModel(nm),t.registerLayout(zV("effectScatter"))}function jY(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=GM(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),LM([e,t[0],t[1]])}))}function qY(t){return t instanceof Array||(t=[t,t]),t}function KY(t){t.registerChartView(cm),t.registerSeriesModel(pm),t.registerLayout(um),t.registerVisual(fm)}function $Y(t){t.registerChartView(ym),t.registerSeriesModel(vm)}function JY(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[a.wh]<=0);if(ZM(s)){var h=[QY(l,s[0])-u,QY(l,s[1])-u];h[1]=0?1:-1:o>0?1:-1}(n,o,r,i,h),function(t,e,n,i,r,o,a,s,l,u){var c,h=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");(c=ZM(f)?f.slice():null==f?["100%","100%"]:[f,f])[d.index]=fn(c[d.index],p),c[h.index]=fn(c[h.index],i?p:Math.abs(o)),u.symbolSize=c;var g=u.symbolScale=[c[0]/s,c[1]/s];g[h.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,h.boundingLength,h.pxSign,u,i,h),function(t,e,n,i,r){var o=t.get(mm)||0;o&&(_m.attr({scaleX:e[0],scaleY:e[1],rotation:n}),_m.updateTransform(),o/=_m.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}(n,h.symbolScale,l,i,h);var d=h.symbolSize;return function(t,e,n,i,r,o,a,s,l,u,c,h){var d=c.categoryDim,p=c.valueDim,f=h.pxSign,g=Math.max(e[p.index]+s,0),y=g;if(i){var v=Math.abs(l),m=aI(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=fn(m,e[p.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=OD(i),M=S?i:fX((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?fX((Math.abs(u)+w)/b):0),y=M*b-w,h.repeatTimes=M,h.symbolMargin=_}var I=f*(y/2),T=h.pathPosition=[];T[d.index]=n[d.wh]/2,T[p.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=h.bundlePosition=[];C[d.index]=n[d.xy],C[p.index]=n[p.xy];var D=h.barRectShape=PM({},n);D[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(T[p.index]+I)),D[d.wh]=n[d.wh];var A=h.clipShape={};A[d.xy]=-n[d.xy],A[d.wh]=c.ecSize[d.wh],A[p.xy]=0,A[p.wh]=n[p.wh]}(n,d,r,o,0,AN(n.get("symbolOffset"),d),s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function QY(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function tX(t){var e=t.symbolPatternSize,n=CN(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function eX(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(hX(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function nX(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?dX(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=tX(n),r.add(o),dX(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function iX(t,e,n){var i=PM({},e.barRectShape),r=t.__pictorialBarRect;r?dX(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Hi({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function rX(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=PM({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)bL(r,{shape:o},s,l);else{o[a.wh]=0,r=new Hi({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Ao[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function oX(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=aX,n.isAnimationEnabled=sX,n}function aX(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function sX(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function lX(t,e,n,i){var r=new Ze,o=new Ze;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?eX(r,e,n):nX(r,0,n),iX(r,n,i),rX(r,e,n,i),r.__pictorialShapeStr=cX(t,n),r.__pictorialSymbolMeta=n,r}function uX(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];hX(i,function(t){o.push(t)}),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),VM(o,function(t){ML(t,{scaleX:0,scaleY:0},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function cX(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function hX(t,e,n){VM(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function dX(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Ao[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function pX(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=o.get("focus"),h=o.get("blurScope"),d=o.get("scale");hX(t,function(t){if(t instanceof Bi){var e=t.style;t.useStyle(PM({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2});var p=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,dP(f,pP(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:nV(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),$k(t,c,h,o.get("disabled"))}function fX(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}function gX(t){t.registerChartView(bm),t.registerSeriesModel(wm),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,uG(Id)),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,cG(Id)),dG(t)}function yX(t,e){t.eachSeriesByType(Sm,function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();i.boundaryGap=o,"horizontal"===a.orient?(o[0]=fn(o[0],r.height),o[1]=fn(o[1],r.height),vX(e,t,r.height-o[0]-o[1])):(o[0]=fn(o[0],r.width),o[1]=fn(o[1],r.width),vX(e,t,r.width-o[0]-o[1])),e.setLayout("layoutInfo",i)})}function vX(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=GM(o,function(e){return GM(e.indices,function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n})}),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;ao&&(o=s),i.push(s)}for(var u=0;uo&&(o=h)}return{y0:r,max:o}}(l),c=u.y0,h=n/u.max,d=o.length,p=o[0].indices.length,f=0;f1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&qM(o)&&(o=$T(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),PM(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)})})}function bX(t,e){t.eachSeriesByType(Dm,function(t){var n=t.get("center"),i=t.get("radius");ZM(i)||(i=[0,i]),ZM(n)||(n=[n,n]);var r=e.getWidth(),o=e.getHeight(),a=Math.min(r,o),s=fn(n[0],r),l=fn(n[1],o),u=fn(i[0],a/2),c=fn(i[1],a/2),h=-t.get("startAngle")*Nm,d=t.get("minAngle")*Nm,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&wX(f,y);var v=0;VM(f.children,function(t){!isNaN(t.getValue())&&v++});var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(c-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),o=0===m&&M?x:r*x;oi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:I(kX,t)}}}function PX(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)},layout:function(e,n){return t.dataToLayout(e,n)}}}}function OX(t){var e=t.getRect();return{coordSys:{type:"matrix",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e,n){return t.dataToPoint(e,n)},layout:function(e,n){return t.dataToLayout(e,n)}}}}function RX(t,e,n,i,r){var o=t+"Animation",a=xL(t,i,r)||{},s=Um(e).userDuring;return a.duration>0&&(a.during=s?I(VX,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),PM(a,n[o]),a}function NX(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=Um(t),u=e.style;l.userDuring=e.during;var c={},h={};if(function(t,e,n){for(var i=0;i=0)){var h=t.getAnimationStyleProps(),d=h?h.style:null;if(d){!r&&(r=i.style={});var p=UM(n);for(u=0;u0&&t.animateFrom(g,y)}else!function(t,e,n,i,r){if(r){var o=RX("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,c);EX(t,e),u?t.dirty():t.markRedraw()}function EX(t,e){for(var n=Um(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var d=UM(a);for(c=0;c=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){i??(i=l);var r=x(i,qm).getItemStyle(),o=_(i,qm),a=fP(o,null,null,!0,!0);a.text=o.getShallow("show")?lI(t.getFormattedLabel(i,qm),t.getFormattedLabel(i,Km),nV(e,i)):null;var s=gP(o,null,!0);return w(n,r),r=IV(r,a,s),n&&b(r,n),r.legacy=!0,r},visual:function(t,n){if(n??(n=l),xI(zm,t)){var i=e.getItemVisual(n,"style");return i?i[zm[t]]:null}if(xI(Bm,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===a.type)return function(t){if(ez(t.axis.scale)){for(var e=SB(t.axis),n=[],i=0;i=h;f--)oZ(e,e.childAt(f),r)}}(t,h,n,i,r),a>=0?o.replaceAt(h,a):o.add(h),h}function eZ(t,e,n){var i,r=Vm(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&(i=a)&&(xI(i,"pathData")||xI(i,"d"))&&uZ(a)!==r.customPathData||"image"===o&&xI(s,"image")&&s.image!==r.customImagePath}function nZ(t,e,n){var i=e?iZ(t,e):t,r=e?rZ(t,i,qm):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?iZ(s,e):s:null;if(r&&(n.isLegacy||wV(r,o,!!a,!!l))){n.isLegacy=!0;var u=SV(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var h=e?n[e]:n.normal;h.cfg=a,h.conOpt=l}function iZ(t,e){return e?t?t[e]:null:t}function rZ(t,e,n){var i=e&&e.style;return null==i&&n===qm&&t&&(i=t.styleEmphasis),i}function oZ(t,e,n){e&&zX(e,Vm(t).option,n)}function aZ(t,e){var n=t&&t.name;return null!=n?n:ix+e}function sZ(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;tZ(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function lZ(t){var e=this.context,n=e.oldChildren[t];n&&zX(n,Vm(n).option,e.seriesModel)}function uZ(t){return t&&(t.pathData||t.d)}function cZ(t){t.registerChartView(ax),t.registerSeriesModel(Gm)}function hZ(t,e,n,i){dZ(sx(n).lastProp,i)||(sx(n).lastProp=i,e?bL(n,i,t):(n.stopAnimation(),n.attr(i)))}function dZ(t,e){if(JM(t)&&JM(e)){var n=!0;return VM(e,function(e,i){n=n&&dZ(t[i],e)}),!!n}return t===e}function pZ(t,e){t[e.get(["label","show"])?"show":"hide"]()}function fZ(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function gZ(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function yZ(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function vZ(t,e,n,i,r){var o=mZ(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=Sa(a.get("padding")||0),l=a.getFont(),u=UC(o,l),c=r.position,h=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=r.align;"right"===p&&(c[0]-=h),"center"===p&&(c[0]-=h/2);var f=r.verticalAlign;"bottom"===f&&(c[1]-=d),"middle"===f&&(c[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,h,d,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:fP(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function mZ(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:bz(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};VM(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)}),qM(a)?o=a.replace("{value}",o):jM(a)&&(o=a(s))}return o}function xZ(t,e,n){var i=[1,0,0,1,0,0];return aT(i,i,n.rotation),oT(i,i,n.position),VL([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function _Z(t,e,n,i,r,o){var a=xd.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),vZ(e,i,r,o,{position:xZ(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function bZ(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function wZ(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function SZ(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}function MZ(t,e,n){return SB(t,{fromStat:{sers:GM(e,function(t){return n.getSeriesByIndex(t.seriesIndex)})},min:1}).w}function IZ(t,e,n){return[rn(nn(e[0],e[1]),t-n/2),nn(t+n/2,rn(e[0],e[1]))]}function TZ(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}function CZ(t){return"x"===t.dim?0:1}function DZ(t,e,n){if(!o.node){var i=e.getZr();fx(i).records||(fx(i).records={}),function(t,e){function n(n,i){t.on(n,function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);gx(fx(t).records,function(t){t&&i(t,n,r.dispatchAction)}),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)})}fx(t).initialized||(fx(t).initialized=!0,n("click",XM(kZ,"click")),n("mousemove",XM(kZ,"mousemove")),n("mousewheel",XM(kZ,"mousewheel")),n("globalout",AZ))}(i,e),(fx(i).records[t]||(fx(i).records[t]={})).handler=n}}function AZ(t,e,n){t.handler("leave",null,n)}function kZ(t,e,n,i){e.handler(t,n,i)}function LZ(t,e){if(!o.node){var n=e.getZr();(fx(n).records||{})[t]&&(fx(n).records[t]=null)}}function PZ(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=$D(o,t);if(null==a||a<0||ZM(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,h=u.dim,d="x"===c||"radius"===c?1:0,p=o.mapDimension(h),f=[];f[d]=o.get(p,a),f[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(GM(l.dimensions,function(t){return o.mapDimension(t)}),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}function OZ(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||I(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){BZ(r)&&(r=PZ({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=BZ(r),u=o.axesInfo,c=s.axesInfo,h="leave"===i||BZ(r),d={},p={},f={list:[],map:{}},g={showPointer:XM(NZ,p),showTooltip:XM(EZ,f)};VM(s.coordSysMap,function(t,e){var n=l||t.containPoint(r);VM(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!h&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&RZ(t,a,g,!1,d)}})});var y={};return VM(c,function(t,e){var n=t.linkGroup;n&&!p[e]&&VM(n.axesInfo,function(e,i){var r=p[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,zZ(e),zZ(t)))),y[t.key]=o}})}),VM(y,function(t,e){RZ(c[e],t,g,!0,d)}),function(t,e,n){var i=n.axesInfo=[];VM(e,function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}(p,c,d),function(t,e,n,i){if(!BZ(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=vx(i)[r]||{},a=vx(i)[r]={};VM(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&VM(n.seriesDataIndices,function(t){a[t.seriesIndex+"|"+t.dataIndex]=t})});var s=[],l=[];function u(t){return{seriesIndex:t.seriesIndex,dataIndex:t.dataIndex}}VM(o,function(t,e){!a[e]&&l.push(u(t))}),VM(a,function(t,e){!o[e]&&s.push(u(t))}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),d}}function RZ(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return VM(e.seriesModels,function(e,l){var u,c,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);c=d.dataIndices,u=d.nestestValue}else{if(!(c=e.indicesOfNearest(i,h[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(h[0],c[0])}if(zD(u)){var p=t-u,f=Math.abs(p);f<=a&&((f=0&&s<0)&&(a=f,s=p,r=u,o.length=0),VM(c,function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&PM(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function NZ(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function EZ(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=qG(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function zZ(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function BZ(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function VZ(t){Tp.registerAxisPointerClass("CartesianAxisPointer",hx),t.registerComponentModel(px),t.registerComponentView(yx),t.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!ZM(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,{overallReset:function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=YG(t,e)}}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OZ)}function GZ(t){rB(JG),rB(VZ)}function FZ(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function HZ(t,e){var n=this.getAngleAxis(),i=this.getRadiusAxis();if(Yz(n,1),Yz(i,1),$z(n),$z(i),"category"===n.type&&!n.onBand){var r=n.getExtent(),o=360/n.scale.count();n.inverse?r[1]+=o:r[1]-=o,n.setExtent(r[0],r[1])}}function WZ(t,e){var n;if(t.type=mz(e),t.scale=xz(e,t.type,!1),t.onBand=Dz(t.scale,e),t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}function UZ(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function YZ(t){return t.getRadiusAxis().inverse?0:1}function XZ(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}function ZZ(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function jZ(t){var e=nG("bar",_x);Nz(t,e,function(t){var n=function(t,e){var n=nG(e,_x),i=SB(t,{fromStat:{key:n},min:1}).w,r=i,o=0,a="20%",s="30%",l={};Oz(t,n,function(t){var e=ZZ(t);l[e]||o++,l[e]=l[e]||{width:0,maxWidth:0};var n=fn(t.get("barWidth"),i),u=fn(t.get("barMaxWidth"),i),c=t.get("barGap"),h=t.get("barCategoryGap");n&&!l[e].width&&(n=nn(r,n),l[e].width=n,r-=n),u&&(l[e].maxWidth=u),null!=c&&(s=c),null!=h&&(a=h)});var u={},c=fn(a,i),h=fn(s,1),d=(r-c)/(o+(o-1)*h);d=rn(d,0),VM(l,function(t,e){var n=t.maxWidth;n&&n=0?"p":"n",I=x;v&&(i[o][S]||(i[o][S]={p:x,n:x}),I=i[o][S][M]);var T=void 0,C=void 0,D=void 0,A=void 0;if("radius"===c.dim){var k=c.dataToCoord(w)-x,L=t.dataToCoord(S);on(k)=A})}}(t,e,n,i)})})}function qZ(t){rB(VZ),Tp.registerAxisPointerClass("PolarAxisPointer",mx),t.registerCoordinateSystem("polar",Px),t.registerComponentModel(Sx),t.registerComponentView(Wx),OG(t,"angle",Ix,Fx),OG(t,"radius",Tx,Hx),t.registerComponentView(Rx),t.registerComponentView(zx),t.registerLayout(Gx),function(t,e){Vx(t,function(){var n=nG(e,_x);rG(t,n,e,_x),Zz(n,tG(n))})}(t,"bar")}function KZ(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),aI(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var c=t.get(["axisLabel","rotate"]);return r.labelRotate="top"===o?-c:c,r.z2=1,r}function $Z(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function JZ(t,e){var n=[];return t.eachComponent(Ep,function(i,r){var o=new qx(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents(Ep,Mn).models[0],n=t.coordinateSystem=e&&e.coordinateSystem;n&&Bz(n.getAxis(),t,Np)}}),n}function QZ(t){return t.isHorizontal()?0:1}function tj(t,e){var n=t.getRect();return[n[$x[e]],n[$x[e]]+n[Jx[e]]]}function ej(t){rB(VZ),Tp.registerAxisPointerClass("SingleAxisPointer",Qx),t.registerComponentView(e_),t.registerComponentView(Yx),t.registerComponentModel(zp),OG(t,"single",zp,zp.defaultOption),t.registerCoordinateSystem("single",Kx)}function nj(t,e){var n,i=t.cellSize;1===(n=ZM(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]),mO(t,e,{type:"box",ignoreSize:GM([0,1],function(t){return function(t,e){return null!=t[Oa[e][0]]||null!=t[Oa[e][1]]&&null!=t[Oa[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]})})}function ij(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function rj(t){t.registerComponentModel(n_),t.registerComponentView(i_),t.registerCoordinateSystem("calendar",o_)}function oj(t,e,n){var i=e[Lo[n]].getCell(t);return!i&&$M(t)&&t<0&&(i=e[Lo[1-n]].getUnitLayoutInfo(n,Math.round(t))),i}function aj(t){var e=t||[];return e[0]=e[0]||[],e[1]=e[1]||[],e[0][0]=e[0][1]=e[1][0]=e[1][1]=NaN,e}function sj(t,e,n,i,r){lj(t[0],e,r,n,i,0),lj(t[1],e,r,n,i,1)}function lj(t,e,n,i,r,o){t[0]=1/0,t[1]=-1/0;var a=i[o],s=ZM(a)?a:[a],l=s.length,u=!!n;if(l>=1?(uj(t,0,s,0,r,o,0),l>1&&uj(t,0,s,0,r,o,l-1)):t[0]=t[1]=NaN,u){var c=-r[Lo[1-o]].getLocatorCount(o),h=r[Lo[o]].getLocatorCount(o)-1;n===s_.body?c=rn(0,c):n===s_.corner&&(h=nn(-1,h)),h=e[0]&&t[0]<=e[1]}function fj(t,e){t.id.set(e[0][0],e[1][0]),t.span.set(e[0][1]-t.id.x+1,e[1][1]-t.id.y+1)}function gj(t,e,n,i){var r=oj(e[i][0],n,i),o=oj(e[i][1],n,i);t[Lo[i]]=t[Po[i]]=NaN,r&&o&&(t[Lo[i]]=r.xy,t[Po[i]]=o.xy+o.wh-r.xy)}function yj(t,e,n,i){return t[Lo[e]]=n,t[Lo[1-e]]=i,t}function vj(t,e){return t+"|"+e}function mj(t){return{color:"none",borderWidth:1,borderColor:t?"none":Ba.color.borderTint}}function xj(t,e,n,i,r,o,a,s,l,u,c,h,d){var p;w_.option=r?r.itemStyle:null,w_.parentModel=o,b_.option=r,b_.parentModel=s;var f=sI(b_.getShallow("z2"),r&&r.itemStyle?c.special:c.normal),g=h&&h.show,y=_j(l,w_.getItemStyle(),f);n.add(y);var v,m=b_.get("cursor");if(null!=m&&y.attr("cursor",m),null!=u){var x=u+"";S_.option=r?r.label:null,S_.parentModel=a,S_.ecModel=i;var _=S_.getShallow("formatter");if(_){var b={componentType:"matrix",componentIndex:e.componentIndex,name:x,value:u,coord:t.slice(),$vars:["name","value","coord"]};if(qM(_))x=eO(_,b);else if(jM(_)){var w=_(b);null!=w&&(x=w+"")}}if(dP(y,{normal:S_},{defaultText:x,autoOverflowArea:!0,layoutRect:AM(y.shape)}),v=y.getTextContent()){v.z2=f+1;var S=v.style;if(S&&S.overflow&&"none"!==S.overflow&&S.lineOverflow){var M={};dt.copy(M,l),qL(M,((null===(p=y.style)||void 0===p?void 0:p.lineWidth)||0)/2,!0,!0),y.updateInnerText(),v.getLocalTransform(M_),lT(M_,M_),dt.applyTransform(M,M,M_),v.setClipPath(new Hi({shape:M}))}}$L({el:y,componentModel:e,itemName:x,itemTooltipOption:h,formatterParamsExtra:{xyLocator:t.slice()}})}var I=e.get("triggerEvent",!0);if(v){var T=S_.get("silent");null==T&&(T=!(I||g)),v.silent=T,v.ignoreHostSilent=!0}var C=b_.get("silent");if(null==C&&(C=!y.style||"none"===y.style.fill||!y.style.fill),y.silent=C,I&&y){var D={componentType:"matrix",componentIndex:e.componentIndex,matrixIndex:e.componentIndex,targetType:d,name:v&&v.style?v.style.text:void 0,value:u,coord:t.slice()};Ki(y).eventData=D}aA(b_),aA(w_),aA(S_)}function _j(t,e,n){var i=e.lineWidth;if(i){var r=t.x+t.width,o=t.y+t.height;t.x=hk(t.x,i,!0),t.y=hk(t.y,i,!0),t.width=hk(r,i,!0)-t.x,t.height=hk(o,i,!0)-t.y}return new Hi({shape:t,style:e,z2:n})}function bj(t,e,n){var i=e.lineWidth;return i&&(v_(2*t.x1)===v_(2*t.x2)&&(t.x1=t.x2=hk(t.x1,i,!0)),v_(2*t.y1)===v_(2*t.y2)&&(t.y1=t.y2=hk(t.y1,i,!0))),new ao({shape:t,style:e,silent:!0,z2:n})}function wj(t,e,n,i){for(var r=1-i,o=e[Lo[i]],a=e[Lo[r]],s=a.shouldShow(),l=o.resetCellIterator();l.next();)l.item.wh=l.item.xy=NaN;for(var u=a.resetLayoutIterator(null,i);u.next();)u.item.wh=u.item.xy=NaN;for(var c=n[Po[i]],h=o.getLocatorCount(i)+a.getLocatorCount(i),d=new ea,p=a.resetLevelIterator();p.next();)d.option=p.item.option,d.parentModel=t[Lo[r]],y(p.item,s?d.get("levelSize"):0);for(var f=new ea,g=o.resetCellIterator();g.next();)g.item.type===a_.leaf&&(f.option=g.item.option,f.parentModel=void 0,y(g.item,f.get("size")));function y(t,e){var r=function(t,e,n){return Tj(dD(t,n[Po[e]]),n[Po[e]])}(e,i,n);oI(r)||(t.wh=Tj(r,c),c=Tj(c-t.wh),h--)}var v=h?c/h:0,m=!h&&c>=1,x=n[Lo[i]],_=o.getLocatorCount(i)-1,b=new Tn;for(a.resetLayoutIterator(b,i);b.next();)w(b.item);for(o.resetLayoutIterator(b,i);b.next();)w(b.item);function w(t){oI(t.wh)&&(t.wh=v),t.xy=x,t.id[Lo[i]]!==_||m||(t.wh=n[Lo[i]]+n[Po[i]]-t.xy),x+=t.wh}}function Sj(t,e){for(var n=e[Lo[t]].resetCellIterator();n.next();){var i=n.item;Ij(i.rect,t,i.id,i.span,e),Ij(i.rect,1-t,i.id,i.span,e),i.type===a_.nonLeaf&&(i.xy=i.rect[Lo[t]],i.wh=i.rect[Po[t]])}}function Mj(t,e){t.travelExistingCells(function(t){var n=t.span;if(n){var i=t.spanRect,r=t.id;Ij(i,0,r,n,e),Ij(i,1,r,n,e)}})}function Ij(t,e,n,i,r){t[Po[e]]=0;var o=n[Lo[e]]<0?r[Lo[1-e]]:r[Lo[e]],a=o.getUnitLayoutInfo(e,n[Lo[e]]);if(t[Lo[e]]=a.xy,t[Po[e]]=a.wh,i[Lo[e]]>1){var s=o.getUnitLayoutInfo(e,n[Lo[e]]+i[Lo[e]]-1);t[Po[e]]=s.xy+s.wh-a.xy}}function Tj(t,e){return Math.max(Math.min(t,sI(e,1/0)),0)}function Cj(t){var e=t.matrixModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function Dj(t,e,n,i,r){var o=n[Lo[e]],a=n[Lo[1-e]],s=o.getUnitLayoutInfo(e,o.getLocatorCount(e)-1),l=o.getUnitLayoutInfo(e,0),u=a.getUnitLayoutInfo(e,-a.getLocatorCount(e)),c=a.shouldShow()?a.getUnitLayoutInfo(e,-1):null,h=t.point[e]=i[e];if(l||c)if(r!==s_.body)if(r!==s_.corner){var d=l?l.xy:c?c.xy+c.wh:NaN,p=u?u.xy:d,f=s?s.xy+s.wh:d;if(hf){if(!r)return void(t[Lo[e]]=A_.outside);h=f}t.point[e]=h,t[Lo[e]]=d<=h&&h<=f?A_.inBody:p<=h&&h<=d?A_.inCorner:A_.outside}else c?(t[Lo[e]]=A_.inCorner,h=nn(c.xy+c.wh,rn(u.xy,h)),t.point[e]=h):t[Lo[e]]=A_.outside;else l?(t[Lo[e]]=A_.inBody,h=nn(s.xy+s.wh,rn(l.xy,h)),t.point[e]=h):t[Lo[e]]=A_.outside;else t[Lo[e]]=A_.outside}function Aj(t,e,n,i){var r=1-n;if(t[Lo[n]]!==A_.outside)for(i[Lo[n]].resetCellIterator(D_);D_.next();){var o=D_.item;if(Pj(t.point[n],o.rect,n)&&Pj(t.point[r],o.rect,r))return e[n]=o.ordinal,void(e[r]=o.id[Lo[r]])}}function kj(t,e,n,i){if(t[Lo[n]]!==A_.outside)for((t[Lo[n]]===A_.inCorner?i[Lo[1-n]]:i[Lo[n]]).resetLayoutIterator(C_,n);C_.next();)if(Lj(t.point[n],C_.item))return void(e[n]=C_.item.id[Lo[n]])}function Lj(t,e){return e.xy<=t&&t<=e.xy+e.wh}function Pj(t,e,n){return e[Lo[n]]<=t&&t<=e[Lo[n]]+e[Po[n]]}function Oj(t){t.registerComponentModel(g_),t.registerComponentView(__),t.registerCoordinateSystem("matrix",I_)}function Rj(t,e){var n;return VM(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}function Nj(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?L_:P_,r=0;r=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=GM(tq(e.shift()).split(ob),function(t){return{name:t,data:[]}}),r=0;rt[1]&&t.reverse(),t}function oq(t,e){return QD(t,e,{includeMainTypes:cb})}function aq(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=rq(GM([0,1],function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))})),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}function sq(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function lq(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}function uq(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function cq(t,e){t.setIconStatus("back",function(t){return iq(t).length}(e)>1?"emphasis":"normal")}function hq(t){t.registerComponentModel(K_),t.registerComponentView($_),Kj("saveAsImage",J_),Kj("magicType",eb),Kj("dataView",ab),Kj("dataZoom",_b),Kj("restore",ub),rB(qj)}function dq(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function pq(t){if(o.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n0&&r.push(function(t,e,n){var i="cubic-bezier(0.23,1,0.32,1)",r="",a="";return n&&(a="opacity"+(r=" "+t/2+"s "+i)+",visibility"+r),e||(r=" "+t+"s "+i,a+=(a.length?",":"")+(o.transformSupported?""+Tb+r:",left"+r+",top"+r)),Ib+":"+a}(a,n,i)),s&&r.push("background-color:"+s),VM(["width","color","radius"],function(e){var n="border-"+e,i=JP(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))}),r.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=sI(t.get("lineHeight"),Math.round(3*n/2));n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),VM(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}(d)),null!=p&&r.push("padding:"+Sa(p).join("px ")+"px"),r.join(";")+";"}function vq(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){UI(H,e,i,r,!0)&&UI(t,n,H[0],H[1])}(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function mq(t){return Math.max(0,t)}function xq(t){var e=mq(t.shadowBlur||0),n=mq(t.shadowOffsetX||0),i=mq(t.shadowOffsetY||0);return{left:mq(e-n),right:mq(e+n),top:mq(e-i),bottom:mq(e+i)}}function _q(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function bq(t,e,n){var i,r=e.ecModel;n?(i=new ea(n,r,r),i=new ea(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof ea&&(a=a.get("tooltip",!0)),qM(a)&&(a={formatter:a}),a&&(i=new ea(a,i,r)))}return i}function wq(t,e){return t.dispatchAction||I(e.dispatchAction,e)}function Sq(t){return"center"===t||"middle"===t}function Mq(t){rB(VZ),t.registerComponentModel(wb),t.registerComponentView(Lb),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},_I),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},_I)}function Iq(t,e){var n=FD(t?t.brush:[]);if(n.length){var i=[];VM(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))});var r=t&&t.toolbox;ZM(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),gA(s,function(t){return t+""},null),e&&!s.length&&s.push.apply(s,Pb)}}function Tq(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Cq(t,e,n){var i={};return Ob(e,function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Ob(t[e],function(t,i){if(zg.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new zg(r),"opacity"===i&&((r=AM(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new zg(r))}})}),i}function Dq(t,e,n){var i;VM(n,function(t){e.hasOwnProperty(t)&&Tq(e[t])&&(i=!0)}),i&&VM(n,function(n){e.hasOwnProperty(n)&&Tq(e[n])?t[n]=AM(e[n]):delete t[n]})}function Aq(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return kq(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]=0&&(s[a]=+s[a].toFixed(d)),[s,h]}function qq(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!ZM(e.coord)&&ZM(r)){var o=Kq(e,n,i,t);if((e=AM(e)).type&&nw[e.type]&&o.baseAxis&&o.valueAxis){var a=NM(r,o.baseAxis.dim),s=NM(r,o.valueAxis.dim),l=nw[e.type](n,o.valueAxis.dim,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&ZM(r))for(var u=e.coord,c=0;c<2;c++)nw[u[c]]&&(u[c]=Qq(n,n.mapDimension(r[c]),u[c]));else{e.coord=[];var h=t.getBaseAxis();if(h&&e.type&&nw[e.type]){var d=i.getOtherAxis(h);d&&(e.value=Qq(n,n.mapDimension(d.dim),e.type))}}return e}}function Kq(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function $q(t,e){return!(t&&t.containData&&e.coord&&!Zq(e))||t.containData(e.coord)}function Jq(t,e){return t?function(t,n,i,r){return lR(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return lR(t.value,e[r])}}function Qq(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}function tK(t,e,n){var i=e.coordinateSystem,r=n.getWidth(),o=n.getHeight(),a=i&&i.getArea&&i.getArea();t.each(function(n){var s,l=t.getItemModel(n),u="coordinate"===l.get("relativeTo"),c=u?a?a.width:0:r,h=u?a?a.height:0:o,d=u&&a?a.x:0,p=u&&a?a.y:0,f=fn(l.get("x"),c)+d,g=fn(l.get("y"),h)+p;if(isNaN(f)||isNaN(g)){if(e.getMarkerPosition)s=e.getMarkerPosition(t.getValues(t.dimensions,n));else if(i){var y=t.get(i.dimensions[0],n),v=t.get(i.dimensions[1],n);s=i.dataToPoint([y,v])}}else s=[f,g];isNaN(f)||(s[0]=f),isNaN(g)||(s[1]=g),t.setItemLayout(n,s)})}function eK(t){t.registerComponentModel(ew),t.registerComponentView(ow),t.registerPreprocessor(function(t){Yq(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}function nK(t){return!isNaN(t)&&!isFinite(t)}function iK(t,e,n,i){var r=1-t,o=i.dimensions[t];return nK(e[r])&&nK(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function rK(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(iK(1,n,i,t)||iK(0,n,i,t)))return!0}return $q(t,e[0])&&$q(t,e[1])}function oK(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=fn(s.get("x"),r.getWidth()),u=fn(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,h=t.get(c[0],e),d=t.get(c[1],e);o=a.dataToPoint([h,d])}if(_V(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=a.dimensions,nK(t.get(c[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):nK(t.get(c[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}function aK(t){t.registerComponentModel(aw),t.registerComponentView(uw),t.registerPreprocessor(function(t){Yq(t.series,"markLine")&&(t.markLine=t.markLine||{})})}function sK(t){return!isNaN(t)&&!isFinite(t)}function lK(t,e,n,i){var r=1-t;return sK(e[r])&&sK(n[r])}function uK(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return _V(t,"cartesian2d")?!(!n||!i||!lK(1,n,i)&&!lK(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!Zq(e)&&!Zq(n))||t.containZone(e.coord,n.coord)}(t,r,o):$q(t,r)||$q(t,o)}function cK(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=fn(s.get(n[0]),r.getWidth()),u=fn(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var c=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),d=a.clampData(c),p=a.clampData(h),f=[];"x0"===n[0]?f[0]=d[0]>p[0]?h[0]:c[0]:f[0]=d[0]>p[0]?c[0]:h[0],"y0"===n[1]?f[1]=d[1]>p[1]?h[1]:c[1]:f[1]=d[1]>p[1]?c[1]:h[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(_V(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);sK(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):sK(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}function hK(t){t.registerComponentModel(cw),t.registerComponentView(fw),t.registerPreprocessor(function(t){Yq(t.series,"markArea")&&(t.markArea=t.markArea||{})})}function dK(t,e,n,i){fK(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),pK(t,e,n,i)}function pK(t,e,n,i){n.usingTHL()||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function fK(t,e,n,i){n.usingTHL()||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function gK(t,e,n){var i="allSelect"===t||"inverseSelect"===t,r={},o=[];n.eachComponent({mainType:"legend",query:e},function(n){i?n[t]():n[t](e.name),yK(n,r),o.push(n.componentIndex)});var a={};return n.eachComponent("legend",function(t){VM(r,function(e,n){t[e?"select":"unSelect"](n)}),yK(t,a)}),i?{selected:a,legendIndex:o}:{name:e.name,selected:a}}function yK(t,e){var n=e||{};return VM(t.getData(),function(e){var i=e.get("name");if("\n"!==i&&""!==i){var r=t.isSelected(i);xI(n,i)?n[i]=n[i]&&r:n[i]=r}}),n}function vK(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;ns[a+i]&&(i=n),l=l&&e.get("preventDefaultMouseMove",!0),r=sI(e.get("cursorGrab",!0),r),o=sI(e.get("cursorGrabbing",!0),o)}),{controlType:i,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l,api:n,zInfo:{component:e.model},triggerInfo:{roamTrigger:null,isInSelf:e.containsPoint},cursorGrab:r,cursorGrabbing:o}}}(o,t,e);r.enable(s.controlType,s.opt),tN(t,"dispatchAction",n.model.get("throttle",!0),"fixRate")}else wK(i,t)})})}function TK(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return TU(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}function CK(t){jj(t),t.registerComponentModel(Cw),t.registerComponentView(Aw),IK(t)}function DK(t,e,n,i){var r=t.get("labelFormatter"),o=t.get("labelPrecision");null!=o&&"auto"!==o||(o=n.valuePrecision);var a=n.value[e],s=null==a||isNaN(a)?"":ez(i)||QE(i)?i.getLabel({value:Math.round(a)}):isFinite(o)?fD(a,o,!0):a+"";return jM(r)?r(a,s):qM(r)?r.replace("{value}",s):s}function AK(t){t.registerComponentModel(Pw),t.registerComponentView(Bw),jj(t)}function kK(t){rB(CK),rB(AK)}function LK(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(rS,oS),VM(aS,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(BK))}function FK(t){t.registerComponentModel(qw),t.registerComponentView(iS),GK(t)}function HK(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}function WK(t){t.registerComponentModel(uS),t.registerComponentView(hS),GK(t)}function UK(t){rB(FK),rB(WK)}function YK(t,e){var n={type:"series"===t.mainType?t.subType+"Roam":t.mainType+"Roam"};return n[t.mainType+"Id"]=t.id,PM(n,e),n}function XK(t,e){var n=iP(t);oP(e.group,n.z,n.zlevel)}function ZK(t){t.registerComponentModel(pS),t.registerComponentView(fS)}function jK(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=vS(t).scope||(vS(t).scope={}),r=AM(gS);kM(r.label,t.getLocaleModel().get("aria"),!1),kM(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var e=gI();t.eachSeries(function(t){t.isColorBySeries()||(yS(t).scope=e.get(t.type)||e.set(t.type,{}))}),t.eachSeries(function(e){if(jM(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var r=CO(e.ecModel,e.name,i,t.getSeriesCount()),o=n.getVisual("decal");n.setVisual("decal",c(o,r))}else{var a=e.getRawData(),s={},l=yS(e).scope;n.each(function(t){var e=n.getRawIndex(t);s[e]=t});var u=a.count();a.each(function(t){var i=s[t],r=a.getName(t)||t+"",o=CO(e.ecModel,r,l,u),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",c(h,o))})}}function c(t,e){var n=t?PM(PM({},e),t):e;return n.dirty=!0,n}})}}(),function(){var i=e.getZr().dom;if(i){var r=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=RM(a.option,r),a.get("enabled"))if(i.setAttribute("role","img"),a.get("description"))i.setAttribute("aria-label",a.get("description"));else{var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,c=a.get(["series","maxCount"])||10,h=Math.min(l,c);if(!(l<1)){var d=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();s=d?o(a.get(["general","withTitle"]),{title:d}):a.get(["general","withoutTitle"]);var p=[];s+=o(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries(function(e,n){if(n1?a.get(["series","multiple",r]):a.get(["series","single",r]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[_]||b.chart)});var s=e.getData();s.count()>u?i+=o(a.get(["data","partialData"]),{displayCnt:u}):i+=a.get(["data","allData"]);for(var c=a.get(["data","separator","middle"]),d=a.get(["data","separator","end"]),f=a.get(["data","excludeDimensionId"]),g=[],y=0;y2&&l.push(e),e=[t,n]}function f(t,n,i,r){n$(t,i)&&n$(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function r$(t,e,n,i,r,o,a,s,l,u){if(n$(t,n)&&n$(e,i)&&n$(r,a)&&n$(o,s))l.push(a,s);else{var c=2/u,h=c*c,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];kT(t,n,r,a,.5,S),kT(e,i,o,s,.5,M),r$(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),r$(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function o$(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),h=o$([l,u],c?0:1,e),d=(c?s:u)/h.length,p=0;p1?null:new J(p*l+t,p*u+e)}function u$(t,e,n){var i=new J;J.sub(i,n,e),i.normalize();var r=new J;return J.sub(r,t,e),r.dot(i)}function c$(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function h$(t){var e=t.points,n=[],i=[];YA(e,n,i);var r=new dt(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new J,c=new J;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=o$([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",h=t[s]/a.length,d=0;d0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function C$(t){var e=1/0,n=1/0,i=-1/0,r=-1/0;return GM(GM(t,function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}),function(o,a){return{cp:o,z:T$(o[0],o[1],e,n,i,r),path:t[a]}}).sort(function(t,e){return t.z-e.z}).map(function(t){return t.path})}function D$(t){return f$(t.path,t.count)}function A$(t){return ZM(t[0])}function k$(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}function L$(t,e,n,i,r,o){if(t.length&&e.length){var a=xL("update",i,r);if(a&&a.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=PM({setToFinal:!0},a);A$(t)&&(s=t,l=e),A$(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?k$(l,s):k$(h?e:t,[h?t:e]),p=0,f=0;fRS))for(var r=n.getIndices(),o=0;o0&&i.group.traverse(function(t){t instanceof Oi&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)})})}function G$(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function F$(t){return ZM(t)?t.sort().join(","):t}function H$(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function W$(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:H$(e.oldData[n]),groupIdDim:t.dimension})}),VM(FD(t.to),function(t){var i=W$(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:H$(r),groupIdDim:t.dimension})}}),r.length>0&&o.length>0&&V$(r,o,i)}(t,i,n,e)});else{var o=function(t,e){var n=gI(),i=gI(),r=gI();return VM(t.oldSeries,function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=G$(e),l=F$(s);i.set(l,{dataGroupId:o,data:a}),ZM(s)&&VM(s,function(t){r.set(t,{key:l,dataGroupId:o,data:a})})}),VM(e.updatedSeries,function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=G$(t),s=F$(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:H$(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:H$(o),data:o}]});else if(ZM(a)){var u=[];VM(a,function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:H$(e.data),data:e.data})}),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:H$(o)}]})}else{var c=r.get(a);if(c){var h=n.get(c.key);h||(h={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:H$(c.data)}],newSeries:[]},n.set(c.key,h)),h.newSeries.push({dataGroupId:e,data:o,divide:H$(o)})}}}}),n}(i,n);VM(o.keys(),function(t){var n=o.get(t);V$(n.oldSeries,n.newSeries,e)})}VM(n.updatedSeries,function(t){t.__universalTransitionEnabled&&(t[Js]=!1)})}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],c=0;c=0;s--){var l=e[s],u=i(l),c=3*r/4;u>a.vmin-c&&ue[0]&&n=0&&t<.99999})(s)||(s=0),r.gapParsed.type="tpPrct",r.gapParsed.val=s,o=!0}}if(!o){var l=e.parse(t.gap);(!isFinite(l)||l<0)&&(l=0),r.gapParsed.type="tpAbs",r.gapParsed.val=l}}if(r.vmin===r.vmax&&(r.gapParsed.type="tpAbs",r.gapParsed.val=0),n&&n.noNegative&&VM(["vmin","vmax"],function(t){r[t]<0&&(r[t]=0)}),r.vmin>r.vmax){var u=r.vmax;r.vmax=r.vmin,r.vmin=u}i.push(r)}}),i.sort(function(t,e){return t.vmin-e.vmin});var r=-1/0;return VM(i,function(t,e){r>t.vmin&&(i[e]=null),r=t.vmax}),{breaks:HM(i,function(t){return!!t})}}function K$(t,e){return $$(e)===$$(t)}function $$(t){return t.start+"_\0_"+t.end}function J$(t,e,n){var i=[];VM(t,function(t,n){var r=e(t);r&&"vmin"===r.type&&i.push([n])}),VM(t,function(n,r){var o=e(n);if(o&&"vmax"===o.type){var a=WM(i,function(n){return K$(e(t[n[0]]).parsedBreak.breakOption,o.parsedBreak.breakOption)});a&&a.push(r)}});var r=[];return VM(i,function(e){2===e.length&&r.push(n?e:[t[e[0]],t[e[1]]])}),r}function Q$(t,e,n,i){if(e.break){var r=e.break.parsedBreak,o=WM(n,function(t){return K$(t.breakOption,e.break.parsedBreak.breakOption)}),a={lookup:i,depth:2},s={vmin:t.transformOut(r.vmin,a),vmax:t.transformOut(r.vmax,a),breakOption:r.breakOption,gapParsed:AM(o.gapParsed),gapReal:r.gapReal};return{tickVal:s[e.break.type],vBreak:{type:e.break.type,parsedBreak:s}}}}function tJ(t,e,n,i,r){r.original=q$(t,e,n);var o=r.transformed=q$(t,e,n),a=r.lookup;o.breaks=GM(o.breaks,function(t,n){var r={depth:2},o=e.transformIn(t.vmin,r),s=e.transformIn(t.vmax,r),l={type:t.gapParsed.type,val:"tpAbs"===t.gapParsed.type?e.transformIn(t.vmin+t.gapParsed.val,r)-o:t.gapParsed.val};return a.from[i+n]=o,a.to[i+n]=t.vmin,a.from[i+n+1]=s,a.to[i+n+1]=t.vmax,{vmin:o,vmax:s,gapParsed:l,gapReal:t.gapReal,breakOption:t.breakOption}})}function eJ(t,e){return e&&((t=t||{}).break={type:HS[e.type],start:e.parsedBreak.vmin,end:e.parsedBreak.vmax}),t}function nJ(){var t;t={createBreakScaleMapper:Y$,pruneTicksByBreak:X$,addBreaksToTicks:Z$,parseAxisBreakOption:q$,identifyAxisBreak:K$,serializeAxisBreakIdentifier:$$,retrieveAxisBreakPairs:J$,getTicksBreakOutwardTransform:Q$,parseAxisBreakOptionInwardTransform:tJ,makeAxisLabelFormatterParamBreak:eJ},ha||(ha=t)}function iJ(t,e,n,i,r){var o=n.axis;if(!o.scale.isBlank()&&IP()){var a=IP().retrieveAxisBreakPairs(o.scale.getTicks({breakTicks:"only_break"}),function(t){return t.break},!1);if(a.length){var s=n.getModel("breakArea"),l=s.get("zigzagAmplitude"),u=s.get("zigzagMinSpan"),c=s.get("zigzagMaxSpan");u=Math.max(2,u||0),c=Math.max(u,c||0);var h=s.get("expandOnClick"),d=s.get("zigzagZ"),p=s.getModel("itemStyle").getItemStyle(),f=p.stroke,g=p.lineWidth,y=p.lineDash,v=p.fill,m=new Ze({ignoreModelZ:!0}),x=o.isHorizontal(),_=WS(e).visualList||(WS(e).visualList=[]);VM(_,function(t){return t.shouldRemove=!0});for(var b=function(t){var e=a[t][0].break.parsedBreak,s=[];s[0]=o.toGlobalCoord(o.dataToCoord(e.vmin,!0)),s[1]=o.toGlobalCoord(o.dataToCoord(e.vmax,!0)),s[1]=x;C&&(M=x);var D=[],A=[];D[h]=n,A[h]=r,T||C||(D[h]+=S?-l:l,A[h]-=S?l:-l),D[m]=M,A[m]=M,b.push(D),w.push(A);var k=void 0;if(I=0;e--)t[e].shouldRemove&&t.splice(e,1)}(_)}}}function rJ(t,e,n,i){var r=t.axis,o=n.transform;hI(i.style);var a=r.getExtent();r.inverse&&(a=a.slice()).reverse();var s=GM(IP().retrieveAxisBreakPairs(r.scale.getTicks({breakTicks:"only_break"}),function(t){return t.break},!1),function(t){var e=t[0].break.parsedBreak,n=[r.dataToCoord(e.vmin,!0),r.dataToCoord(e.vmax,!0)];return n[0]>n[1]&&n.reverse(),{coordPair:n,brkId:IP().serializeAxisBreakIdentifier(e.breakOption)}});s.sort(function(t,e){return t.coordPair[0]-e.coordPair[0]});for(var l=a[0],u=null,c=0;c=0?s[0].width:s[1].width)+u.x)/2-l.x,h=Math.min(c,c-u.x),d=Math.max(c,c-u.x);a=(c-(d<0?d:h>0?h:0))/u.x}var p=new J,f=new J;J.scale(p,i,-a),J.scale(f,i,1-a),XB(n[0],p),XB(n[1],f)}}function g(t){var e=n[0].localRect,i=new J(e[Po[t]]*o[0][0],e[Po[t]]*o[0][1]);return Math.abs(i.y)<1e-5}}function aJ(t,e){var n={breaks:[]};return VM(e.breaks,function(i){if(i){var r=WM(t.get("breaks",!0),function(t){return IP().identifyAxisBreak(t,i)});if(r){var o=e.type,a={isExpanded:!!r.isExpanded};r.isExpanded="expandAxisBreak"===o||"collapseAxisBreak"!==o&&("toggleAxisBreak"===o?!r.isExpanded:r.isExpanded),n.breaks.push({start:r.start,end:r.end,isExpanded:!!r.isExpanded,old:a})}}}),n}function sJ(){var t;t={adjustBreakLabelPair:oJ,buildAxisBreakLine:rJ,rectCoordBuildBreakAxis:iJ,updateModelAxisBreak:aJ},rd||(rd=t)}function lJ(t){!function(t){function e(t,e){var n=[],i=QD(e,t);function r(e,r){VM(i[e],function(e){VM(e.updateAxisBreaks(t).breaks,function(t){var i;n.push(RM(((i={})[r]=e.componentIndex,i),t))})})}return r("xAxisModels","xAxisIndex"),r("yAxisModels","yAxisIndex"),r("singleAxisModels","singleAxisIndex"),{eventBreaks:n}}t.registerAction(sd,e),t.registerAction(ld,e),t.registerAction(ud,e)}(t),nJ(),sJ()}function uJ(){Sp=cJ}function cJ(t,e){VM(t,function(t){if(!t.model.get(["axisLabel","inside"])){var n=function(t){var e,n,i=t.model,r=t.scale;if(i.get(["axisLabel","show"])&&!r.isBlank()){var o=r.getExtent();n=r instanceof Dc?r.count():(e=r.getTicks()).length;var a,s=t.getLabelModel(),l=_z(t),u=1;n>40&&(u=Math.ceil(n/40));for(var c=0;c"}(r,o)+("style"!==r?XI(a):a||"")+(i?""+n+GM(i,function(e){return t(e)}).join(n)+n:"")+""}(t)}function gJ(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function yJ(t,e,n,i){return pJ("svg","root",{width:t,height:e,xmlns:tM,"xmlns:xlink":eM,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}function vJ(){return oM++}function mJ(t,e,n){var i=PM({},t.shape);PM(i,e),t.buildPath(n,i);var r=new qS;return r.reset(vC(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function xJ(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[sM]=n+"px "+i+"px")}function _J(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function bJ(t){return qM(t)?aM[t]?"cubic-bezier("+aM[t]+")":VT(t)?t:"":""}function wJ(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof po){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(VM(o,function(t){var e=gJ(n.zrId);e.animation=!0,wJ(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=UM(o),u=l.length;if(u){var c=o[r=l[u-1]];for(var h in c){var d=c[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}}),i){e.d=!1;var s=_J(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0}).length)return _J(c,n)+" "+r[0]+" both"}for(var y in l)(s=g(l[y]))&&a.push(s);if(a.length){var v=n.zrId+"-cls-"+vJ();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function SJ(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+vJ(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}function MJ(t){return t&&qM(t.src)}function IJ(t){return t&&jM(t.toDataURL)}function TJ(t,e,n,i){hJ(function(r,o){var a="fill"===r||"stroke"===r;a&&gC(o)?RJ(e,t,r,i):a&&dC(o)?NJ(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")},e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,p=sC(i.shadowColor),f=p.opacity,g=p.color,y=d/2/l+" "+d/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=pJ("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[pJ("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=yC(a)}}(n,t,i)}function CJ(t,e){var n=lD(e);n&&(n.each(function(e,n){null!=e&&(t[("ecmeta_"+n).toLowerCase()]=e+"")}),e.isSilent()&&(t[rM+"silent"]="true"))}function DJ(t){return lC(t[0]-1)&&lC(t[1])&&lC(t[2])&&lC(t[3]-1)}function AJ(t,e,n){if(e&&(!function(t){return lC(t[4])&&lC(t[5])}(e)||!DJ(e))){var i=n?10:1e4;t.transform=DJ(e)?"translate("+uM(e[4]*i)/i+" "+uM(e[5]*i)/i+")":function(t){return"matrix("+uC(t[0])+","+uC(t[1])+","+uC(t[2])+","+uC(t[3])+","+cC(t[4])+","+cC(t[5])+")"}(e)}}function kJ(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=aC(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),SJ(u,e,n,!0)}}(t,o,e),pJ(s,t.id+"",o)}function OJ(t,e){return t instanceof Oi?PJ(t,e):t instanceof Bi?function(t,e){var n=t.style,i=n.image;if(i&&!qM(i)&&(MJ(i)?i=i.src:IJ(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),AJ(a,t.transform),TJ(a,n,t,e),CJ(a,t),e.animation&&wJ(t,a,e),pJ("image",t.id+"",a)}}(t,e):t instanceof Ni?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||"12px sans-serif",o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,ZC(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":ie[n.textAlign]||n.textAlign};if(fk(n)){var l="",u=n.fontStyle,c=dk(n.fontSize);if(!parseFloat(c))return;var h=n.fontFamily||"sans-serif",d=n.fontWeight;l+="font-size:"+c+";font-family:"+h+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),AJ(s,t.transform),TJ(s,n,t,e),CJ(s,t),e.animation&&wJ(t,s,e),pJ("text",t.id+"",s,void 0,i)}}(t,e):void 0}function RJ(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(pC(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!fC(o))return;r="radialGradient",a.cx=sI(o.x,.5),a.cy=sI(o.y,.5),a.r=sI(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;ul?qJ(t,null==n[h+1]?null:n[h+1].elm,n,s,h):KJ(t,e,a,l))}(n,i,r):YJ(r)?(YJ(t.text)&&WJ(n,""),qJ(n,null,r,0,r.length-1)):YJ(i)?KJ(n,i,0,i.length-1):YJ(t.text)&&WJ(n,""):t.text!==e.text&&(YJ(i)&&KJ(n,i,0,i.length-1),WJ(n,e.text)))}function QJ(t){t.registerPainter("svg",gM)}function tQ(t,e,n){var i=u.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}function eQ(t){return!t.__cursors.get(0)}function nQ(t){var e=t.__cursors.get(0);return{startIdx:e?e.startIdx:0,endIdx:e?e.endIdx:0}}function iQ(t,e,n,i){var r=new yM(t,e,e.dpr);return r.zlevel=n,r.zlevel2=i,r.__builtin__=!0,rQ(r),r}function rQ(t){t.__cursorStack=[],t.__cursors=gI()}function oQ(t,e){var n,i=t.__cursors,r=+e;return i.get(r)||(t.__cursorStack.push(r),i.set(r,((n={key:r}).startIdx=n.drawIdx=n.endIdx=n.endIdxNew=0,n.used=!1,n.first=n.last=NaN,n.notClearIdx=-1,n)))}function aQ(t,e){for(var n=t.__cursorStack,i=0;i-1?(o.node=!0,o.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);if(i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document){var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}}(navigator.userAgent,o),a=20,s=100,l=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)a=o*t.length;else for(var s=0;sL,HashMap:()=>A,RADIAN_TO_DEGREE:()=>k,assert:()=>hI,assignProps:()=>OM,bind:()=>I,clone:()=>AM,concatArray:()=>yI,createCanvas:()=>M,createHashMap:()=>gI,createObject:()=>vI,curry:()=>XM,defaults:()=>RM,disableUserSelect:()=>mI,each:()=>VM,eqNaN:()=>oI,extend:()=>PM,filter:()=>HM,find:()=>WM,guid:()=>CM,hasOwn:()=>xI,indexOf:()=>NM,inherits:()=>EM,isArray:()=>ZM,isArrayLike:()=>BM,isBuiltInObject:()=>QM,isDom:()=>eI,isFunction:()=>jM,isGradientObject:()=>nI,isImagePatternObject:()=>iI,isNumber:()=>$M,isObject:()=>JM,isPrimitive:()=>fI,isRegExp:()=>rI,isString:()=>qM,isStringSafe:()=>KM,isTypedArray:()=>tI,keys:()=>UM,logError:()=>DM,map:()=>GM,merge:()=>kM,mergeAll:()=>LM,mixin:()=>zM,noop:()=>_I,normalizeCssArray:()=>cI,reduce:()=>FM,retrieve:()=>aI,retrieve2:()=>sI,retrieve3:()=>lI,setAsPrimitive:()=>pI,slice:()=>uI,trim:()=>dI}),h=FM(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),d=FM(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),p=Object.prototype.toString,f=Array.prototype,g=f.forEach,y=f.filter,v=f.slice,m=f.map,_=(x=function(){}.constructor)?x.prototype:null,b="__proto__",w=2311,S=Math.pow(2,53)-1,M=u.createCanvas,I=_&&jM(_.bind)?_.call.bind(_.bind):YM,T="__ec_primitive__",C=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return UM(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),D="function"==typeof Map,A=function(){function t(e){var n=ZM(e);this.data=D?new Map:new C;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&VM(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return D?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}(),k=180/Math.PI,L=Number.EPSILON||Math.pow(2,-52),P=n({add:()=>II,applyTransform:()=>VI,clone:()=>SI,copy:()=>wI,create:()=>bI,dist:()=>N,distSquare:()=>E,distance:()=>NI,distanceSquare:()=>EI,div:()=>LI,dot:()=>PI,len:()=>DI,lenSquare:()=>AI,length:()=>O,lengthSquare:()=>R,lerp:()=>BI,max:()=>FI,min:()=>GI,mul:()=>kI,negate:()=>zI,normalize:()=>RI,scale:()=>OI,scaleAndAdd:()=>TI,set:()=>MI,sub:()=>CI}),O=DI,R=AI,N=NI,E=EI,z=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},B=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new z(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new z(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new z(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new z(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new z(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new z(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),V=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a"'])/g,U={"&":"&","<":"<",">":">",'"':""","'":"'"},Y=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,X=[],Z=o.browser.firefox&&+o.browser.version.split(".")[0]<39,j=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},q=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=tT(r)/tT(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},$=n({clone:()=>uT,copy:()=>iT,create:()=>eT,identity:()=>nT,invert:()=>lT,mul:()=>rT,rotate:()=>aT,scale:()=>sT,translate:()=>oT}),J=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Q=Math.min,tt=Math.max,et=Math.abs,nt=["x","y"],it=["width","height"],rt=new J,ot=new J,at=new J,st=new J,lt=hT(),ut=lt.minTv,ct=lt.maxTv,ht=[0,0],dt=function(){function t(t,e,n,i){ft(this,t,e,n,i)}return t.set=function(t,e,n,i,r){return i<0&&(e+=i,i=-i),r<0&&(n+=r,r=-r),t.x=e,t.y=n,t.width=i,t.height=r,t},t.prototype.union=function(t){var e=Q(t.x,this.x),n=Q(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=tt(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=tt(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){return yt([1,0,0,1,0,0],this,t)},t.prototype.intersect=function(e,n,i){return t.intersect(this,e,n,i)},t.intersect=function(e,n,i,r){i&&J.set(i,0,0);var o=r&&r.outIntersectRect||null,a=r&&r.clamp;if(o&&(o.x=o.y=o.width=o.height=NaN),!e||!n)return!1;e instanceof t||(e=ft(xt,e.x,e.y,e.width,e.height)),n instanceof t||(n=ft(_t,n.x,n.y,n.width,n.height));var s=!!i;lt.reset(r,s);var l=lt.touchThreshold,u=e.x+l,c=e.x+e.width-l,h=e.y+l,d=e.y+e.height-l,p=n.x+l,f=n.x+n.width-l,g=n.y+l,y=n.y+n.height-l;if(u>c||h>d||p>f||g>y)return!1;var v=!(c=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},t.prototype.contain=function(e,n){return t.contain(this,e,n)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){gt(this,t)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e?e.x:0,e?e.y:0,e?e.width:0,e?e.height:0)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(t,e,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],r=n[3],o=n[4],a=n[5];return t.x=e.x*i+o,t.y=e.y*r+a,t.width=e.width*i,t.height=e.height*r,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}rt.x=at.x=e.x,rt.y=st.y=e.y,ot.x=st.x=e.x+e.width,ot.y=at.y=e.y+e.height,rt.transform(n),st.transform(n),ot.transform(n),at.transform(n),t.x=Q(rt.x,ot.x,at.x,st.x),t.y=Q(rt.y,ot.y,at.y,st.y);var s=tt(rt.x,ot.x,at.x,st.x),l=tt(rt.y,ot.y,at.y,st.y);t.width=s-t.x,t.height=l-t.y}else t!==e&>(t,e)},t.calculateTransform=function(t,e,n){var i=n.width/e.width,r=n.height/e.height;return oT(t=nT(t||[]),t,MI(bt,-e.x,-e.y)),sT(t,t,MI(bt,i,r)),oT(t,t,MI(bt,n.x,n.y)),t},t}(),pt=dt.create,ft=dt.set,gt=dt.copy,yt=dt.calculateTransform,vt=dt.applyTransform,mt=dt.contain,xt=new dt(0,0,0,0),_t=new dt(0,0,0,0),bt=[],wt="silent",St=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return IM(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(V),Mt=function(t,e){this.x=t,this.y=e},It=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Tt=new dt(0,0,0,0),Ct=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Mt(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new St,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new B(a),a}return IM(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(VM(It,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=gT(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Mt(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Mt(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:dT}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Mt(t,e);if(fT(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new dt(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Tt.copy(c.getBoundingRect()),c.transform&&Tt.applyTransform(c.transform),Tt.intersect(l)&&o.push(c))}if(o.length)for(var h=Math.PI/12,d=2*Math.PI,p=0;p4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}),Dt=32,At=7,kt=!1,Lt=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ST}return t.prototype.traverse=function(t,e){for(var n=0;n=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Pt=o.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},Ot={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Ot.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Ot.bounceIn(2*t):.5*Ot.bounceOut(2*t-1)+.5}},Rt=Math.pow,Nt=Math.sqrt,Et=1e-8,zt=1e-4,Bt=Nt(3),Vt=1/3,Gt=bI(),Ft=bI(),Ht=bI(),Wt=/cubic-bezier\(([0-9,\.e ]+)\)/,Ut=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||_I,this.ondestroy=t.ondestroy||_I,this.onrestart=t.onrestart||_I,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=jM(t)?t:Ot[t]||VT(t)},t}(),Yt=function(t){this.value=t},Xt=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Yt(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Zt=function(){function t(t){this._list=new Xt,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Yt(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),jt=n({fastLerp:()=>QT,fastMapToColor:()=>Jt,lerp:()=>tC,lift:()=>$T,liftColor:()=>aC,lum:()=>rC,mapToColor:()=>Qt,modifyAlpha:()=>nC,modifyHSL:()=>eC,parse:()=>qT,parseCssFloat:()=>WT,parseCssInt:()=>HT,random:()=>oC,stringify:()=>iC,toHex:()=>JT}),qt={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]},Kt=new Zt(20),$t=null,Jt=QT,Qt=tC,te=new Zt(100),ee=Math.round,ne=1e-4,ie={left:"start",right:"end",center:"middle",middle:"middle"},re="undefined"!=typeof Buffer&&"function"==typeof Buffer.from?function(t){return Buffer.from(t).toString("base64")}:"function"==typeof btoa&&"function"==typeof unescape&&"function"==typeof encodeURIComponent?function(t){return btoa(unescape(encodeURIComponent(t)))}:function(t){return null},oe=Array.prototype.slice,ae=1,se=2,le=4,ue=5,ce=[0,0,0,0],he=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(BM(e)){var l=function(t){return BM(t&&t[0])?2:1}(e);a=l,(1===l&&!$M(e[0])||2===l&&!$M(e[0][0]))&&(o=!0)}else if($M(e)&&!oI(e))a=0;else if(qM(e))if(isNaN(+e)){var u=qT(e);u&&(s=u,a=3)}else a=0;else if(nI(e)){var c=PM({},s);c.colorStops=GM(e.colorStops,function(t){return{offset:t.offset,color:qT(t.color)}}),pC(e)?a=le:fC(e)&&(a=ue),s=c}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=jM(n)?n:Ot[n]||VT(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=DC(i),l=CC(i),u=0;u=0&&!(l[n].percent<=e);n--);n=p(n,u-2)}else{for(n=d;ne);n++);n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:h?ce:t[c];if(!DC(s)&&!h||y||(y=this._additiveValue=[]),this.discrete)t[c]=g<1?i.rawValue:r.rawValue;else if(DC(s))s===ae?_C(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,IC(l),i),this._trackKeys.push(a)}s.addKeyframe(t,IC(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),pe=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return IM(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=AC()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,Pt(function e(){t._running&&(Pt(e),!t._paused&&t.update())})},e.prototype.start=function(){this._running||(this._time=AC(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=AC(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=AC()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new de(t,e.loop);return this.addAnimator(n),n},e}(V),fe=o.domSupported,HI={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},ge={mouse:Je=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:GM(Je,function(t){var e=t.replace("mouse","pointer");return HI.hasOwnProperty(e)?e:t})},ye={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ve=!1,me=function(t,e){this.stopPropagation=_I,this.stopImmediatePropagation=_I,this.preventDefault=_I,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},xe={mousedown:function(t){t=KI(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=KI(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=KI(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){PC(this,(t=KI(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){ve=!0,t=KI(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){ve||(t=KI(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){LC(t=KI(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),xe.mousemove.call(this,t),xe.mousedown.call(this,t)},touchmove:function(t){LC(t=KI(this.dom,t)),this.handler.processGesture(t,"change"),xe.mousemove.call(this,t)},touchend:function(t){LC(t=KI(this.dom,t)),this.handler.processGesture(t,"end"),xe.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&xe.click.call(this,t)},pointerdown:function(t){xe.mousedown.call(this,t)},pointermove:function(t){kC(t)||xe.mousemove.call(this,t)},pointerup:function(t){xe.mouseup.call(this,t)},pointerout:function(t){kC(t)||xe.mouseout.call(this,t)}},VM(["click","dblclick","contextmenu"],function(t){xe[t]=function(e){e=KI(this.dom,e),this.trigger(t,e)}}),_e={pointermove:function(t){kC(t)||_e.mousemove.call(this,t)},pointerup:function(t){_e.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}},be=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},we=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new be(e,xe),fe&&(i._globalHandlerScope=new be(document,_e)),OC(i,i._localHandlerScope),i}return IM(e,t),e.prototype.dispose=function(){EC(this._localHandlerScope),fe&&EC(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,fe&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?RC(this,e):EC(e)}},e}(V),Se=1,o.hasGlobalWindow&&(Se=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1)),Me=Se,Ie=.4,Te="#333",Ce="#ccc",De=nT,Ae=5e-5,ke=[],Le=[],Pe=[1,0,0,1,0,0],Oe=Math.abs,Re=function(){function t(){}var e;return t.prototype.getLocalTransform=function(t){return Ne(this,t)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return zC(this.rotation)||zC(this.x)||zC(this.y)||zC(this.scaleX-1)||zC(this.scaleY-1)||zC(this.skewX)||zC(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):De(n),t&&(e?rT(n,t,n):iT(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n),this.invTransform=this.invTransform||[1,0,0,1,0,0],lT(this.invTransform,n)):n&&(De(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(ke);var n=ke[0]<0?-1:1,i=ke[1]<0?-1:1,r=((ke[0]-n)*e+n)/ke[0]||0,o=((ke[1]-i)*e+i)/ke[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],rT(Le,t.invTransform,e),e=Le);var n=this.originX,i=this.originY;(n||i)&&(Pe[4]=n,Pe[5]=i,rT(Le,e,Pe),Le[4]-=n,Le[5]-=i,e=Le),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&VI(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&VI(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Oe(t[0]-1)>1e-10&&Oe(t[3]-1)>1e-10?Math.sqrt(Oe(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){VC(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var p=n+a,f=i+s;e[4]=-p*r-h*f*o,e[5]=-f*o-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&aT(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),Ne=Re.getLocalTransform,Be=0,Ve=5,Ge="__zr_normal__",Fe=(Ee=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"]).concat(["ignore"]),He=FM(Ee,function(t,e){return t[e]=!0,t},{ignore:!1}),We={},Ue=new dt(0,0,0,0),Ye=[],Xe=function(){function t(t){this.id=CM(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;r.copyTransform(e);var u=null!=n.position,c=n.autoOverflowArea,h=void 0;if((c||u)&&(h=Ue,n.layoutRect?h.copy(n.layoutRect):h.copy(this.getBoundingRect()),i||h.applyTransform(this.transform)),u){this.calculateTextPosition?this.calculateTextPosition(We,n,h):qC(We,n,h),r.x=We.x,r.y=We.y,o=We.align,a=We.verticalAlign;var d=n.origin;if(d&&null!=n.rotation){var p=void 0,f=void 0;"center"===d?(p=.5*h.width,f=.5*h.height):(p=jC(d[0],h.width),f=jC(d[1],h.height)),l=!0,r.originX=-r.x+p+(i?0:h.x),r.originY=-r.y+f+(i?0:h.y)}}null!=n.rotation&&(r.rotation=n.rotation);var g=n.offset;g&&(r.x+=g[0],r.y+=g[1],l||(r.originX=-g[0],r.originY=-g[1]));var y=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(c){var v=y.overflowRect=y.overflowRect||new dt(0,0,0,0);r.getLocalTransform(Ye),lT(Ye,Ye),dt.copy(v,h),v.applyTransform(Ye)}else y.overflowRect=null;var m=void 0,x=void 0,_=void 0;(null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside)&&this.canBeInsideText()?(m=n.insideFill,x=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=x&&"auto"!==x||(x=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,x=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=x&&"auto"!==x||(x=this.getOutsideStroke(m),_=!0)),(m=m||"#000")===y.fill&&x===y.stroke&&_===y.autoStroke&&o===y.align&&a===y.verticalAlign||(s=!0,y.fill=m,y.stroke=x,y.autoStroke=_,y.align=o,y.verticalAlign=a,e.setDefaultTextStyle(y)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ce:Te},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&qT(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,iC(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},PM(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(JM(t))for(var n=UM(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Ge,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Ge;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(NM(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=this._textContent,u=tD(this,l,s,i);u&&!this.__inHover&&(this.__inHover=u),this._applyStateObj(t,s,this._normalState,e,nD(this,n,a),a);var c=this._textGuide;return l&&l.useState(t,e,n,!!u),c&&c.useState(t,e,n,!!u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this.__inHover=0,this.__dirty&=-2),s}DM("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=NM(i,t),o=NM(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=NM(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=NM(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;nrD,disposeAll:()=>oD,getElementSSRData:()=>lD,getInstance:()=>aD,init:()=>iD,registerPainter:()=>sD,registerSSRDataGetter:()=>uD,version:()=>Qe}),qe={},Ke={},$e=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new Lt,a=n.renderer||"canvas";qe[a]||(a=UM(qe)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new qe[a](e,r,n,t),l=n.ssr||s.ssrOnly;this.storage=r,this.painter=s;var u,c=o.node||o.worker||l?null:new we(s.getViewportRoot(),s.root),h=n.useCoarsePointer;(null==h||"auto"===h?o.touchEventsSupported:!!h)&&(u=sI(n.pointerSize,44)),this.handler=new Ct(r,s,c,s.root,u),this.animation=new pe({stage:{update:l?null:function(){return i._flush(!1)}}}),l||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return rC(t,1)0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0?t.length:0,this.item=null,this.key=NaN,this},t.prototype.next=function(){return(this._step>0?this._idx=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)},t}(),Cn=RD(),Dn=".",An="___EC__COMPONENT__CONTAINER___",kn="___EC__EXTENDED_CLASS___",Ln=Math.round(10*Math.random()),Pn=DA([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),On=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Pn(this,t,e)},t}(),Rn=new Zt(50),Nn=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,En=function(){},zn=function(t){this.tokens=[],t&&(this.tokens=t)},Bn=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1},Vn=FM(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{}),Gn=new dt(0,0,0,0),Fn={outIntersectRect:{},clamp:!0},Hn="__zr_style_"+Math.round(10*Math.random()),Un={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}},(Wn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"})[Hn]=!0,Yn=["z","z2","invisible"],Xn=["invisible"],Zn=function(t){function e(e){return t.call(this,e)||this}var n;return IM(e,t),e.prototype._init=function(e){for(var n=UM(e),i=0;i0&&(this._ux=vi(n/Me/t)||0,this._uy=vi(n/Me/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(ai.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=vi(t-this._xi),i=vi(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(ai.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ai.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ai.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),bi[0]=i,bi[1]=r,$A(bi,o),i=bi[0];var a=(r=bi[1])-i;return this.addData(ai.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=gi(r)*n+t,this._yi=yi(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ai.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(ai.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!_i||(this.data=new Float32Array(e));for(var n=0;n0&&o))for(var a=0;au.length&&(this._expandData(),u=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){ui[0]=ui[1]=hi[0]=hi[1]=Number.MAX_VALUE,ci[0]=ci[1]=di[0]=di[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||vi(y)>i||h===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case ai.C:var v=t[h++],m=t[h++],x=(g=t[h++],t[h++]),_=t[h++],b=t[h++];f=PT(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case ai.Q:f=BT(r,o,v=t[h++],m=t[h++],g=t[h++],x=t[h++],10),r=g,o=x;break;case ai.A:var w=t[h++],S=t[h++],M=t[h++],I=t[h++],T=t[h++],C=t[h++],D=C+T;h+=1,p&&(a=gi(T)*M+w,s=yi(T)*I+S),f=fi(M,I)*pi(xi,Math.abs(C)),r=gi(D)*M+w,o=yi(D)*I+S;break;case ai.R:a=r=t[h++],s=o=t[h++],f=2*t[h++]+2*t[h++];break;case ai.Z:var A=a-r;y=s-o,f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,c,h,d=this.data,p=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(c,h),x=0),b){case ai.M:n=r=d[_++],i=o=d[_++],t.moveTo(r,o);break;case ai.L:a=d[_++],s=d[_++];var S=vi(a-r),M=vi(s-o);if(S>p||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(c=a,h=s,x=T)}break;case ai.C:var C=d[_++],D=d[_++],A=d[_++],k=d[_++],L=d[_++],P=d[_++];if(y){if(v+(j=l[m++])>u){kT(r,C,A,L,I=(u-v)/j,si),kT(o,D,k,P,I,li),t.bezierCurveTo(si[1],li[1],si[2],li[2],si[3],li[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case ai.Q:if(C=d[_++],D=d[_++],A=d[_++],k=d[_++],y){if(v+(j=l[m++])>u){ET(r,C,A,I=(u-v)/j,si),ET(o,D,k,I,li),t.quadraticCurveTo(si[1],li[1],si[2],li[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case ai.A:var O=d[_++],R=d[_++],N=d[_++],E=d[_++],z=d[_++],B=d[_++],V=d[_++],G=!d[_++],F=N>E?N:E,H=vi(N-E)>.001,W=z+B,U=!1;if(y&&(v+(j=l[m++])>u&&(W=z+B*(u-v)/j,U=!0),v+=j),H&&t.ellipse?t.ellipse(O,R,N,E,V,z,W,G):t.arc(O,R,F,z,W,G),U)break t;w&&(n=gi(z)*N+O,i=yi(z)*E+R),r=gi(W)*N+O,o=yi(W)*E+R;break;case ai.R:n=r=d[_],i=o=d[_+1],a=d[_++],s=d[_++];var Y=d[_++],X=d[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+pi(Z,Y),s),(Z-=Y)>0&&t.lineTo(a+Y,s+pi(Z,X)),(Z-=X)>0&&t.lineTo(a+fi(Y-Z,0),s+X),(Z-=Y)>0&&t.lineTo(a,s+fi(X-Z,0));break t}v+=j}t.rect(a,s,Y,X);break;case ai.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j,t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.prototype.canSave=function(){return!!this._saveData},t.CMD=ai,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}(),Si=2*Math.PI,Mi=2*Math.PI,Ii=wi.CMD,Ti=2*Math.PI,Ci=1e-4,Di=[-1,-1,-1],Ai=[-1,-1],ki=RM({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Wn),Li={style:RM({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Un.style)},Pi=Ee.concat(["invisible","culling","z","z2","zlevel","parent"]),Oi=function(t){function e(e){return t.call(this,e)||this}var n;return IM(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?Te:e>.2?"#eee":Ce}if(t)return Ce}return Te},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(qM(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==rC(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new wi(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return lk(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return lk(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:PM(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return vI(ki,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=PM({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){if(t.prototype._applyStateObj.call(this,e,n,i,r,o,a),1!==this.__inHover){var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=PM({},i.shape),PM(s,n.shape)):(s=PM({},r?this.shape:i.shape),PM(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=PM({},this.shape);for(var u={},c=UM(s),h=0;hu&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>c&&(i*=c/(a=i+r),r*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI),t.closePath()}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Oi),Hi.prototype.type="rect",Wi={fill:"#000"},Ui={},Yi={style:RM({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Un.style)},Xi=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Wi,n.attr(e),n}return IM(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ev&&p){var x=Math.floor(v/d);f=f||y.length>x,m=(y=y.slice(0,x)).length*d}if(r&&c&&null!=g)for(var _=NA(g,u,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),b={},w=0;w0,I=0;Ig&&BA(o,a.substring(g,y),e,f),BA(o,d[2],e,f,d[1]),g=Nn.lastIndex}gh){var R=o.lines.length;D>0?(I.tokens=I.tokens.slice(0,D),S(I,C,T),o.lines=o.lines.slice(0,M+1)):o.lines=o.lines.slice(0,M),o.isTruncated=o.isTruncated||o.lines.length=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(s-(M-p)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&_k(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,h=t.textPadding;h&&(r=mk(r,o,h),u-=t.height/2-h[0]-t.innerHeight/2);var d=this._getOrCreateChild(Ni),p=d.createStyle();d.useStyle(p);var f=this._defaultStyle,g=!1,y=0,v=!1,m=vk("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,f.fill)),x=yk("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||f.autoStroke&&!g?null:(y=2,v=!0,f.stroke)),_=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=r,p.y=u,_&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=o,p.textBaseline="middle",p.font=t.font||"12px sans-serif",p.opacity=lI(s.opacity,e.opacity,1),pk(p,s),x&&(p.lineWidth=lI(s.lineWidth,e.lineWidth,y),p.lineDash=sI(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=x),m&&(p.fill=m),d.setBoundingRect(WA(p,t.contentWidth,t.contentHeight,v?0:null))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||c&&h){(a=this._getOrCreateChild(Hi)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(p)(l=a.style).fill=u||null,l.fillOpacity=sI(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(Bi)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}c&&h&&((l=a.style).lineWidth=c,l.stroke=h,l.strokeOpacity=sI(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=lI(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return fk(t)&&(e=[t.fontStyle,t.fontWeight,dk(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&dI(e)||t.textFont||t.font},e}(Zn),Zi={left:!0,right:1,center:1},ji={top:1,bottom:1,middle:1},qi=["fontStyle","fontWeight","fontSize","fontFamily"],Ki=JD(),$i=function(t,e,n,i){if(i){var r=Ki(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse(function(i){var r=Ki(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"})}},Ji="series",Qi=gI(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),tr="original",er="arrayRows",nr="objectRows",ir="keyedColumns",rr="typedArray",or="unknown",ar="column",sr="Roam",lr=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],ur=function(t){VM(lr,function(e){this[e]=I(t[e],t)},this)},cr=1,hr={},dr=JD(),pr=JD(),fr=["emphasis","blur","select"],gr=["normal","emphasis","blur","select"],yr="highlight",vr="downplay",mr="select",xr="unselect",_r="toggleSelect",br="selectchanged",wr=["emphasis","blur","select"],Sr={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"},Mr=wi.CMD,Ir=[[],[],[]],Tr=Math.sqrt,Cr=Math.atan2,Dr=Math.sqrt,Ar=Math.sin,kr=Math.cos,Lr=Math.PI,Pr=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Or=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,Rr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.applyTransform=function(t){},e}(Oi),Nr=function(){this.cx=0,this.cy=0,this.r=0},(Er=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultShape=function(){return new Nr},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Oi)).prototype.type="circle",zr=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},Br=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultShape=function(){return new zr},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(Oi),Br.prototype.type="ellipse",Vr=Math.PI,Gr=2*Vr,Fr=Math.sin,Hr=Math.cos,Wr=Math.acos,Ur=Math.atan2,Yr=Math.abs,Xr=Math.sqrt,Zr=Math.max,jr=Math.min,qr=1e-4,Kr=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},($r=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultShape=function(){return new Kr},e.prototype.buildPath=function(t,e){yL(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Oi)).prototype.type="sector",Jr=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Qr=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultShape=function(){return new Jr},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Oi),Qr.prototype.type="ring",to=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},(eo=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultShape=function(){return new to},e.prototype.buildPath=function(t,e){vL(t,e,!0)},e}(Oi)).prototype.type="polygon",no=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},io=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new no},e.prototype.buildPath=function(t,e){vL(t,e,!1)},e}(Oi),io.prototype.type="polyline",ro={},oo=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},ao=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new oo},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=uk(ro,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Oi),ao.prototype.type="line",so=[],lo=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1},(uo=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new lo},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(ET(n,a,r,c,so),a=so[1],r=so[2],ET(i,s,o,c,so),s=so[1],o=so[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(kT(n,a,l,r,c,so),a=so[1],l=so[2],r=so[3],kT(i,s,u,o,c,so),s=so[1],u=so[2],o=so[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return mL(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=mL(this.shape,t,!0);return RI(e,e)},e}(Oi)).prototype.type="bezier-curve",co=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},(ho=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new co},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(Oi)).prototype.type="arc",po=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return IM(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;nbo[1]){if(r=!1,wo.negativeSize||n)return r;var s=xo(bo[0]-_o[1]),l=xo(_o[0]-bo[1]);vo(s,l)>Mo.len()&&(s=l||!wo.bidirectional)&&(J.scale(So,a,-l*i),wo.useDir&&wo.calcDirMTV())))}return r},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;lho,BezierCurve:()=>uo,BoundingRect:()=>dt,Circle:()=>Er,CompoundPath:()=>po,Ellipse:()=>Br,Group:()=>Ze,HOVER_LAYER_FOR_INCREMENTAL:()=>2,HOVER_LAYER_FROM_THRESHOLD:()=>1,HOVER_LAYER_NO:()=>0,Image:()=>Bi,IncrementalDisplayable:()=>Co,Line:()=>ao,LinearGradient:()=>go,OrientedBoundingRect:()=>Io,Path:()=>Oi,Point:()=>J,Polygon:()=>eo,Polyline:()=>io,RadialGradient:()=>yo,Rect:()=>Hi,Ring:()=>Qr,Sector:()=>$r,Text:()=>Xi,WH:()=>Po,XY:()=>Lo,applyTransform:()=>VL,calcZ2Range:()=>rP,clipPointsByRect:()=>WL,clipRectByRect:()=>UL,createIcon:()=>YL,decomposeTransform:()=>lP,ensureCopyRect:()=>eP,ensureCopyTransform:()=>nP,expandOrShrinkRect:()=>qL,extendPath:()=>AL,extendShape:()=>DL,getCurrentCanvasPainter:()=>uP,getShapeClass:()=>LL,getTransform:()=>BL,groupTransition:()=>HL,initProps:()=>wL,isBoundingRectAxisAligned:()=>tP,isElementRemoved:()=>SL,lineLineIntersect:()=>ZL,linePolygonIntersect:()=>XL,makeImage:()=>OL,makePath:()=>PL,mergePath:()=>Ro,payloadDisableAnimation:()=>sP,registerShape:()=>kL,removeElement:()=>ML,removeElementWithFadeOut:()=>TL,resizePath:()=>NL,retrieveZInfo:()=>iP,setTooltipConfig:()=>$L,subPixelOptimize:()=>No,subPixelOptimizeLine:()=>EL,subPixelOptimizeRect:()=>zL,transformDirection:()=>GL,traverseElements:()=>QL,traverseUpdateZ:()=>oP,updateProps:()=>bL}),ko={},Lo=["x","y"],Po=["width","height"],Oo=dL,Ro=pL,No=hk,Eo=[0,0,0,0],zo=1e-5,(Bo=new Re).transform=[1,0,0,1,0,0],kL("circle",Er),kL("ellipse",Br),kL("sector",$r),kL("ring",Qr),kL("polygon",eo),kL("polyline",io),kL("rect",Hi),kL("line",ao),kL("bezierCurve",uo),kL("arc",ho),Vo={},Go=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Fo=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Ho=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],Wo=JD(),Uo={minMargin:1,textMargin:2},Yo=["textStyle","color"],Xo=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Zo=new Xi,jo=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Yo):null)},t.prototype.getFont=function(){return vP({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n-1?oa:sa,SP(aa,ia),SP(oa,ra),ha=null,ya=365*(ga=24*(fa=60*(pa=60*(da=1e3)))),va={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},_a={year:"{yyyy}",month:"{yyyy}-{MM}",day:xa="{yyyy}-{MM}-{dd}",hour:xa+" "+(ma={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"}).hour,minute:xa+" "+ma.minute,second:xa+" "+ma.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},ba=["year","month","day","hour","minute","second","millisecond"],wa=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"],Sa=cI,Ma=["a","b","c","d","e","f","g"],Ia=function(t,e){return"{"+t+(null==e?"":e)+"}"},Ta={},Ca={},Da=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function n(n,i){var r=[];return VM(n,function(n,i){var o=n.create(t,e);r=r.concat(o||[])}),r}this._nonSeriesBoxMasterList=n(Ta),this._normalMasterList=n(Ca)},t.prototype.update=function(t,e){VM(this._normalMasterList,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){"matrix"!==t&&"calendar"!==t?Ca[t]=e:Ta[t]=e},t.get=function(t){return Ca[t]||Ta[t]},t}(),Aa=gI(),ka=function(t,e){var n=e.getReferringComponents(t,Mn).models[0];return n&&n.coordinateSystem},La=VM,Pa=["left","right","top","bottom","width","height"],Oa=[["width","left","right"],["height","top","bottom"]],Ra=cO,XM(cO,"vertical"),XM(cO,"horizontal"),Na={rect:1,point:2},Ea=JD(),za=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=_P("ec_cpt_model"),r}var n;return IM(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=vO(this),i=n?xO(t):{};kM(t,e.getTheme().get(this.mainType)),kM(t,this.getDefaultOption()),n&&mO(t,i,n)},e.prototype.mergeOption=function(t,e){kM(this.option,t,!0);var n=vO(this);n&&mO(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[kn])}(t))return t.defaultOption;var e=Ea(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=kM(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return eA(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){return hO(this,!1)},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(ea),MA(za,ea),CA(za),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=wA(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=wA(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(za),bP(za,bO),PM(Va=(Ba={color:{},darkColor:{},size:{}}).color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"},{primary:Va.neutral80,secondary:Va.neutral70,tertiary:Va.neutral60,quaternary:Va.neutral50,disabled:Va.neutral20,border:Va.neutral30,borderTint:Va.neutral20,borderShade:Va.neutral40,background:Va.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:Va.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:Va.neutral70,axisLineTint:Va.neutral40,axisTick:Va.neutral70,axisTickMinor:Va.neutral60,axisLabel:Va.neutral70,axisSplitLine:Va.neutral15,axisMinorSplitLine:Va.neutral05}),Va)Va.hasOwnProperty(Ga)&&(Fa=Va[Ga],"theme"===Ga?Ba.darkColor.theme=Va.theme.slice():"highlight"===Ga?Ba.darkColor.highlight="rgba(255,231,130,0.4)":0===Ga.indexOf("accent")?Ba.darkColor[Ga]=eC(Fa,null,function(t){return.5*t},function(t){return Math.min(1,1.3-t)}):Ba.darkColor[Ga]=eC(Fa,null,function(t){return.9*t},function(t){return 1-Math.pow(t,1.5)}));for(Ba.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50},Ha="","undefined"!=typeof navigator&&(Ha=navigator.platform||""),Wa="rgba(0, 0, 0, 0.2)",Ua=Ba.color.theme[0],Ya=eC(Ua,null,null,.9),Xa={darkMode:"auto",colorBy:"series",color:Ba.color.theme,gradientColor:[Ya,Ua],aria:{decal:{decals:[{color:Wa,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Wa,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Wa,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Wa,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Wa,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Wa,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Ha.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Za={Must:1,Might:2,Not:3},ja=JD(),qa=gI(),Ka=JD(),$a=JD(),Ja=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=FD(this.get("color",!0)),r=this.get("colorLayer",!0);return DO(this,Ka,i,r,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,Ka)},t}(),ns="\0_ec_inner",is=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new ea(i),this._locale=new ea(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=LO(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,LO(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):es(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&VM(a,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=gI(),s=e&&e.replaceMergeMainTypeMap;ja(this).datasetMap=gI(),VM(t,function(t,e){null!=t&&(za.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?AM(t):kM(n[e],t,!0))}),s&&s.each(function(t,e){za.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))}),za.topologicalTravel(o,za.getAllClassMainTypes(),function(e){var o=function(t,e,n){var i=qa.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,FD(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=YD(a,o,l);(function(t,e,n){VM(t,function(t){var i=t.newOption;JM(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))})})(u,e,za),n[e]=null,i.set(e,null),r.set(e,0);var c,h=[],d=[],p=0;VM(u,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=za.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(c)return;c=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=PM({componentIndex:n},t.keyInfo);PM(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),d.push(i),p++):(h.push(void 0),d.push(void 0))},this),n[e]=h,i.set(e,d),r.set(e,p),"series"===e&&Qa(this)},this),this._seriesIndices||Qa(this)},e.prototype.getOption=function(){var t=AM(this.option);return VM(t,function(e,n){if(za.hasClass(n)){for(var i=FD(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!KD(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[ns],t},e.prototype.setTheme=function(t){this._theme=new ea(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;ru&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return oR(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}(),ks=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(o||d1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Rs=function(){function t(t,e){$M(e)||VD(""),this._opFn=Os[t],this._rvalFloat=PD(e)}return t.prototype.evaluate=function(t){return $M(t)?this._opFn(t,this._rvalFloat):this._opFn(PD(t),this._rvalFloat)},t}(),Ns=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=$M(t)?t:PD(t),i=$M(e)?e:PD(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=qM(t),s=qM(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Es=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=PD(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=PD(t)===this._rvalFloat)}return this._isEQ?e:!e},t}(),zs=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return lR(t,e)},t}(),Bs=gI(),Vs="undefined"==typeof Uint32Array?Array:Uint32Array,Gs="undefined"==typeof Uint16Array?Array:Uint16Array,Fs="undefined"==typeof Int32Array?Array:Int32Array,Hs="undefined"==typeof Float64Array?Array:Float64Array,Ws={float:Hs,int:Fs,ordinal:Array,number:Array,time:Hs},Ys=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=gI()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=Us[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],tR(i),this._dimensions=GM(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new Ws[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;lg[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=GM(o,function(t){return t.property}),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=c||isNaN(x))&&(a[s++]=p),p++;d=!0}else if(2===r){f=h[i[0]];var y=h[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=c||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=p),p++}d=!0}}if(!d)if(1===r)for(g=0;g=u&&x<=c||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(_R(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));h[l++]=c;for(var d=1;dn&&(n=i,r=I)}M>0&&M<_-x&&(h[l++]=Math.min(S,r),r=Math.max(S,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(_R(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;ua&&(f=a-u);for(var g=0;gp&&(p=y,d=u+g)}var v=this.getRawIndex(c),m=this.getRawIndex(d);cu-p&&(s=u-p,a.length=s);for(var f=0;fc[1]&&(c[1]=g),h[d++]=y}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();rh&&(h=p))}return a[l]=[c,h]},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return lR(t[i],this._dimensions[i])}Us={arrayRows:t,objectRows:function(t,e,n,i){return lR(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return lR(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Xs=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(MR(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=tI(a=o.get("data",!0))?rr:tr,e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=sI(c.seriesLayoutBy,h.seriesLayoutBy)||null,p=sI(c.sourceHeader,h.sourceHeader),f=sI(c.dimensions,h.dimensions);t=d!==h.seriesLayoutBy||!!p!=!!h.sourceHeader||f?[qO(a,{seriesLayoutBy:d,sourceHeader:p,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else t=[qO(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);null!=r&&1!==t.length&&IR("");var o,a=[],s=[];return VM(t,function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||IR(""),a.push(e),s.push(t._getVersionSign())}),i?e=function(t,e){var n=FD(t),i=n.length;i||VD("");for(var r=0,o=i;r=0&&c<0)&&(u=m,c=v,h=0),v===c&&(l[h++]=f))}return l.length=h,l},e.prototype.formatTooltip=function(t,e,n){return VR({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Ja.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[GR(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){JM(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return za.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(za),zM(Qs,As),zM(Qs,Ja),MA(Qs,za),SA(tl=function(){function t(){this.group=new Ze,this.uid=_P("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}()),CA(tl),el=JD(),nl=jR(),SA(il=function(){function t(){this.group=new Ze,this.uid=_P("viewChart"),this.renderTask=sR({plan:$R,reset:JR}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&KR(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&KR(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){QL(this.group,t)},t.markUpdateMethod=function(t,e){el(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}()),CA(il),rl={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},ol="\0__throttleOriginMethod",al="\0__throttleRate",sl="\0__throttleType",ll=JD(),ul={itemStyle:DA(Jo,!0),lineStyle:DA(qo,!0)},cl={lineStyle:"stroke",itemStyle:"fill"},hl={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=nN(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=iN(t,i),l=o[s],u=jM(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||jM(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||jM(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=PM({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},dl=new ea,pl={createOnAllSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=nN(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){dl.option=n[i];var a=r(dl);PM(t.ensureUniqueItemVisual(e,"style"),a),dl.option.decal&&(t.setItemVisual(e,"decal",dl.option.decal),dl.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},fl={performRawSeries:!0,overallReset:function(t){var e=gI();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=t.type+"-"+t.getColorBy();ll(t).scope=e.get(n)||e.set(n,{})}}),t.eachSeries(function(t){if(!t.isColorBySeries()){var e=t.getRawData(),n={},i=t.getData(),r=ll(t).scope,o=iN(t,t.visualStyleAccessPath||"itemStyle");i.each(function(t){var e=i.getRawIndex(t);n[e]=t}),e.each(function(a){var s=n[a];if(i.getItemVisual(s,"colorFromPalette")){var l=i.ensureUniqueItemVisual(s,"style"),u=e.getName(a)||a+"",c=e.count();l[o]=t.getColorFromPalette(u,r,c)}})}})}},gl=Math.PI,yl=function(){function t(t,e,n,i){this._stageTaskMap=gI(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid);t.pipelineContext=n.context=t.__preparePipelineContext?t.__preparePipelineContext(e,n):xA(t,e,n)},t.prototype.restorePipelines=function(t,e){var n=this,i=n._pipelineMap=gI();e.eachSeries(function(e){var r="canvas"===t.painter.type&&e.getProgressive(),o=e.uid;i.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),n._pipe(e,e.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;VM(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});hI(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}VM(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each(function(t){a(i,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,n);var p=o.getPerformArgs(c,i.block);d.each(function(t){t.perform(p)}),c.perform(p)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=gI(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||sR({plan:uN,reset:cN,count:dN}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||sR({reset:oN});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=gI(),l=t.seriesType,u=t.getTargetSeries,c=t.dirtyOnOverallProgress,h=!1;function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,sR({reset:aN,onDirty:lN})));n.context={model:t,dirtyOnOverallProgress:c},n.agent=o,n.__block=c,r._pipe(t,n)}hI(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):VM(n.getSeries(),d),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return jM(t)&&(t={overallReset:t,seriesType:pN(t)}),t.uid=_P("stageHandler"),e&&(t.visualType=e),t},t}(),vl=hN(0),xl={},fN(ml={},is),fN(xl,ur),ml.eachSeriesByType=ml.eachRawSeriesByType=function(t){_l=t},ml.eachComponent=function(t){"series"===t.mainType&&t.subType&&(_l=t.subType)},bl=Ba.darkColor,wl=bl.background,Sl=function(){return{axisLine:{lineStyle:{color:bl.axisLine}},splitLine:{lineStyle:{color:bl.axisSplitLine}},splitArea:{areaStyle:{color:[bl.backgroundTint,bl.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:bl.axisMinorSplitLine}},axisLabel:{color:bl.axisLabel},axisName:{}}},Ml={label:{color:bl.secondary},itemStyle:{borderColor:bl.borderTint},dividerLineStyle:{color:bl.border}},(Il={darkMode:!0,color:bl.theme,backgroundColor:wl,axisPointer:{lineStyle:{color:bl.border},crossStyle:{color:bl.borderShade},label:{color:bl.tertiary}},legend:{textStyle:{color:bl.secondary},pageTextStyle:{color:bl.tertiary}},textStyle:{color:bl.secondary},title:{textStyle:{color:bl.primary},subtextStyle:{color:bl.quaternary}},toolbox:{iconStyle:{borderColor:bl.accent50},feature:{dataView:{backgroundColor:wl,textColor:bl.primary,textareaColor:bl.background,textareaBorderColor:bl.border,buttonColor:bl.accent50,buttonTextColor:bl.neutral00}}},tooltip:{backgroundColor:bl.neutral20,defaultBorderColor:bl.border,textStyle:{color:bl.tertiary}},dataZoom:{borderColor:bl.accent10,textStyle:{color:bl.tertiary},brushStyle:{color:bl.backgroundTint},handleStyle:{color:bl.neutral00,borderColor:bl.accent20},moveHandleStyle:{color:bl.accent40},emphasis:{handleStyle:{borderColor:bl.accent50}},dataBackground:{lineStyle:{color:bl.accent30},areaStyle:{color:bl.accent20}},selectedDataBackground:{lineStyle:{color:bl.accent50},areaStyle:{color:bl.accent30}}},visualMap:{textStyle:{color:bl.secondary},handleStyle:{borderColor:bl.neutral30}},timeline:{lineStyle:{color:bl.accent10},label:{color:bl.tertiary},controlStyle:{color:bl.accent30,borderColor:bl.accent30}},calendar:{itemStyle:{color:bl.neutral00,borderColor:bl.neutral20},dayLabel:{color:bl.tertiary},monthLabel:{color:bl.secondary},yearLabel:{color:bl.secondary}},matrix:{x:Ml,y:Ml,backgroundColor:{borderColor:bl.axisLine},body:{itemStyle:{borderColor:bl.borderTint}}},timeAxis:Sl(),logAxis:Sl(),valueAxis:Sl(),categoryAxis:Sl(),line:{symbol:"circle"},graph:{color:bl.theme},gauge:{title:{color:bl.secondary},axisLine:{lineStyle:{color:[[1,bl.neutral05]]}},axisLabel:{color:bl.axisLabel},detail:{color:bl.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:bl.background}},radar:(YI=Sl(),YI.axisName={color:bl.axisLabel},YI.axisLine.lineStyle.color=bl.neutral20,YI),treemap:{breadcrumb:{itemStyle:{color:bl.neutral20,textStyle:{color:bl.secondary}},emphasis:{itemStyle:{color:bl.neutral30}}}},sunburst:{itemStyle:{borderColor:bl.background}},map:{itemStyle:{borderColor:bl.border,areaColor:bl.neutral10},label:{color:bl.tertiary},emphasis:{label:{color:bl.primary},itemStyle:{areaColor:bl.highlight}},select:{label:{color:bl.primary},itemStyle:{areaColor:bl.highlight}}},geo:{itemStyle:{borderColor:bl.border,areaColor:bl.neutral10},emphasis:{label:{color:bl.primary},itemStyle:{areaColor:bl.highlight}},select:{label:{color:bl.primary},itemStyle:{color:bl.highlight}}}}).categoryAxis.splitLine.show=!1,Tl=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(qM(t)){var r=wA(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};VM(t,function(t,r){for(var s=!1,l=0;l0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Dl=(Cl=["symbol","symbolSize","symbolRotate","symbolOffset"]).concat(["symbolKeepAspect"]),Al={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[uu])if(this._disposed)this.id;else{var i,r,o;if(JM(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[uu]=!0,Nu(this),!this._model||e){var a=new os(this._api),s=this._theme,l=this._model=new is;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},Wu);var u={seriesTransition:o,optionChanged:!0};if(n)this[hu]={silent:i,updateParams:u},this[uu]=!1,this.getZr().wakeUp();else{try{vu(this),_u.update.call(this,null,u)}catch(qr){throw this[hu]=null,this[uu]=!1,qr}this._ssr||this._zr.flush(),this[hu]=null,this[uu]=!1,Mu.call(this,i),Iu.call(this,i)}}},e.prototype.setTheme=function(t,e){if(!this[uu])if(this._disposed)this.id;else{var n=this._model;if(n){var i=e&&e.silent,r=null;this[hu]&&(null==i&&(i=this[hu].silent),r=this[hu].updateParams,this[hu]=null),this[uu]=!0,Nu(this);try{this._updateTheme(t),n.setTheme(this._theme),vu(this),_u.update.call(this,{type:"setTheme"},r)}catch(qr){throw this[uu]=!1,qr}this[uu]=!1,Mu.call(this,i),Iu.call(this,i)}}},e.prototype._updateTheme=function(t){qM(t)&&(t=Yu[t]),t&&((t=AM(t))&&XO(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||o.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr;return VM(t.storage.getDisplayList(),function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;VM(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return VM(i,function(t){t.group.ignore=!1}),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(ju[n]){var a=o,s=o,l=-1/0,c=-1/0,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();VM(Zu,function(o,u){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(AM(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),l=r(p.right,l),c=r(p.bottom,c),h.push({dom:d,left:p.left,top:p.top})}});var p=(l*=d)-(a*=d),f=(c*=d)-(s*=d),g=u.createCanvas(),y=iD(g,{renderer:e?"svg":"canvas"});if(y.resize({width:p,height:f}),e){var v="";return VM(h,function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""}),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Hi({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),VM(h,function(t){var e=new Bi({style:{x:t.left*d-a,y:t.top*d-s,image:t.dom}});y.add(e)}),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e,n){return bu(this,"convertToPixel",t,e,n)},e.prototype.convertToLayout=function(t,e,n){return bu(this,"convertToLayout",t,e,n)},e.prototype.convertFromPixel=function(t,e,n){return bu(this,"convertFromPixel",t,e,n)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return VM(QD(this._model,t),function(t,i){i.indexOf("Models")>=0&&VM(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=QD(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?gN(i,r,e):yN(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;VM(Bu,function(e){var n=function(n){var i,r=t.getModel(),o=n.target;if("globalout"===e?i={}:o&&_N(o,function(t){var e=Ki(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=PM({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=i.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:l,view:u},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)});var e=this._messageCenter;VM(Fu,function(n,i){e.on(i,function(e){t.trigger(i,e)})}),function(t,e,n){t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(xN("map","selectchanged",e,i,t),xN("pie","selectchanged",e,i,t)):"select"===t.fromAction?(xN("map","selected",e,i,t),xN("pie","selected",e,i,t)):"unselect"===t.fromAction&&(xN("map","unselected",e,i,t),xN("pie","unselected",e,i,t))})}(e,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&iA(this.getDom(),$u,"");var t=this,e=t._api,n=t._model;VM(t._componentsViews,function(t){t.dispose(n,e)}),VM(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Zu[t.id]}},e.prototype.resize=function(t){if(!this[uu])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[hu]&&(null==i&&(i=this[hu].silent),n=!0,this[hu]=null),this[uu]=!0,Nu(this);try{n&&vu(this),_u.update.call(this,{type:"resize",animation:PM({duration:0},t&&t.animation)})}catch(qr){throw this[uu]=!1,qr}this[uu]=!1,Mu.call(this,i),Iu.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(JM(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Xu[t]){var n=Xu[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=PM({},t);return e.type=Gu[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(JM(e)||(e={silent:!!e}),Vu[t.type]&&this._model)if(this[uu])this._pendingActions.push(t);else{var n=e.silent;Su.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&o.browser.weChat&&this._throttledZrFlush(),Mu.call(this,n),Iu.call(this,n)}},e.prototype.updateLabelLayout=function(){Ll.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis){if(SL(t))return;if(t instanceof Oi&&function(t){var e=dr(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}vu=function(t){var e;e=t._model,Rl(e).prepare={};var n=t._scheduler;n.restorePipelines(t._zr,t._model),n.prepareStageTasks(),mu(t,!0),mu(t,!1),n.plan()},mu=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;lsI(e.get("hoverLayerThreshold"),Xa.hoverLayerThreshold)&&!o.node&&!o.worker;(t._usingTHL||a)&&(e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){var e=t.states.emphasis;e&&2!==e.hoverLayer&&(e.hoverLayer=a?1:0)})}}),t._usingTHL=a)}}(t,e),Ll.trigger("series:afterupdate",e,a,l)},Ou=function(t){t[du]=!0,t.getZr().wakeUp()},Nu=function(t){t[cu]=(t[cu]+1)%1e6},Ru=function(t){t[du]&&(t.getZr().storage.traverse(function(t){SL(t)||e(t)}),t[du]=!1)},Lu=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return IM(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){zk(e,n),Ou(t)},n.prototype.leaveEmphasis=function(e,n){Bk(e,n),Ou(t)},n.prototype.enterBlur=function(e){Vk(e),Ou(t)},n.prototype.leaveBlur=function(e){Gk(e),Ou(t)},n.prototype.enterSelect=function(e){Fk(e),Ou(t)},n.prototype.leaveSelect=function(e){Hk(e),Ou(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n.prototype.getECUpdateCycleVersion=function(){return t[cu]},n.prototype.usingTHL=function(){return t._usingTHL},n}(ur))(t)},Pu=function(t){function e(t,e){for(var n=0;n1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),i[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var d=0;d1)for(var a=0;a=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if("original"===n.getSource().sourceFormat&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(ZM(r=this.getVisual(e))?r=r.slice():lc(r)&&(r=PM({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,lc(e)?PM(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){lc(t)?PM(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?PM(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){$i(this.hostModel&&this.hostModel.seriesIndex,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){VM(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:uc(this.dimensions,this._getDimInfo,this),this.hostModel)),vc(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];jM(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(uI(arguments)))})},t.internalField=(pc=function(t){var e=t._invertedIndicesMap;VM(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new cc(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}(),bc=function(t){this.coordSysDims=[],this.axisMap=gI(),this.categoryAxisMap=gI(),this.coordSysName=t},wc={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Mn).models[0],o=t.getReferringComponents("yAxis",Mn).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),zE(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),zE(o)&&(i.set("y",o),e.firstCategoryDimIndex??(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Mn).models[0];e.coordSysDims=["single"],n.set("single",r),zE(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Mn).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),zE(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),zE(a)&&(i.set("angle",a),e.firstCategoryDimIndex??(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();VM(o.parallelAxisIndex,function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),zE(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))})},matrix:function(t,e,n,i){var r=t.getReferringComponents("matrix",Mn).models[0];e.coordSysDims=["x","y"];var o=r.getDimensionModel("x"),a=r.getDimensionModel("y");n.set("x",o),n.set("y",a),i.set("x",o),i.set("y",a)}},CA(Sc=function(){function t(){}return t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}()),Mc=0,Ic=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Mc,this._onCollect=t.onCollect}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&GM(i,HE);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!qM(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,this._onCollect&&this._onCollect(t,e),e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e),this._onCollect&&this._onCollect(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gI(this.categories))},t}(),Tc=UM({needTransform:1,normalize:1,scale:1,transformIn:1,transformOut:1,contain:1,getExtent:1,getExtentUnsafe:1,setExtent:1,setExtent2:1,getFilter:1,sanitize:1,getDefaultStartValue:1,freeze:1}),Cc={needTransform:function(){return!1},normalize:function(t){var e=this._extents[1]||this._extents[0];return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},scale:function(t){var e=this._extents[1]||this._extents[0];return t*(e[1]-e[0])+e[0]},transformIn:function(t){return t},transformOut:function(t){return t},contain:function(t){var e=ZE(this,null);return t>=e[0]&&t<=e[1]},getExtent:function(){return this._extents[0].slice()},getExtentUnsafe:function(t){return this._extents[t]},setExtent:function(t,e){KE(this._extents,0,t,e)},setExtent2:function(t,e,n){var i=this._extents;i[t]||(i[t]=i[0].slice()),KE(i,t,e,n)},freeze:function(){}},Dc=function(t){function e(n){var i=t.call(this)||this;i.type="ordinal",i.parse=e.parse,UE(i,e.decoratedMethods);var r=n.ordinalMeta;r||(r=new Ic({})),ZM(r)&&(r=new Ic({categories:GM(r,function(t){return JM(t)?t.value:t})})),i._ordinalMeta=r;var o=WE(null,null,n.extent||[0,r.categories.length-1]);return i._mapper=o.mapper,YE(i,o.mapper),i}return IM(e,t),e.parse=function(t){return null==t?t=NaN:qM(t)?null==(t=this._ordinalMeta.getOrdinal(t))&&(t=NaN):t=an(t),t},e.prototype.getTicks=function(){var t=[];return lz(this,0,function(e){t.push(e)}),t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=nn(o,e.length);r=0&&t=0&&t=0&&tr[1]||!isFinite(d)||!isFinite(r[1]))break}else{if(p>h)break;d=nn(d,r[1]),p===h&&(d=r[1])}if(u.push({value:d}),d=fD(d+n,o),s){var f=s.calcNiceTickMultiple(d,c);f>=0&&(d=fD(d+f*n,o))}if(u.length>0&&d===u[u.length-1].value)break;if(u.length>3e3)return[]}var g=u.length?u[u.length-1].value:r[1];return i[1]>g&&u.push({value:t.expandToNicedExtent?fD(g+n,o):i[1]}),l&&a.pruneTicksByBreak(t.pruneByBreak,u,s.breaks,function(t){return t.value},e.interval,i),l&&"none"!==t.breakTicks&&a.addBreaksToTicks(u,s.breaks,i),u},e.prototype.getMinorTicks=function(t){return uz(this,t,CP(this),this._cfg.interval)},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=vD(t.value)||0:"auto"===n&&(n=this._cfg.intervalPrecision),$P(fD(t.value,n,!0))},e.type="interval",e}(Sc),Sc.registerClass(Ac),kc=function(t,e,n,i){for(;n>>1;t[r][1]s&&(o=s);var l=Pc.length,u=Math.min(kc(Pc,o,0,l),l-1),c=Pc[u][1],h=Pc[Math.max(u-1,0)][0];t.setTimeInterval({approxInterval:o,interval:c,minLevelUnit:h})},Sc.registerClass(Lc),Rc=function(t){function e(n){var i=t.call(this)||this;i.type="log",i.parse=Ac.parse,i.base=n.logBase||10;var r=[],o=[],a=i._lookup={from:r,to:o};r[0]=r[1]=o[0]=o[1]=NaN,UE(i,e.mapperMethods);var s=IP(),l=n.breakOption,u={lookup:a};return s&&s.parseAxisBreakOptionInwardTransform(l,i,{noNegative:!0},2,u),i.powStub=new Ac({breakParsed:u.original}),i.intervalStub=new Ac({breakParsed:u.transformed}),YE(i,i.intervalStub),i}return IM(e,t),e.prototype.getTicks=function(t){var e=this.base,n=this.powStub,i=IP(),r=this.intervalStub,o={lookup:{from:r.getExtent(),to:n.getExtent()}};return GM(r.getTicks(t||{}),function(t){var r,a=oz(t.value,e,o);if(i){var s=i.getTicksBreakOutwardTransform(this,t,CP(n),this._lookup);s&&(r=s.vBreak,a=s.tickVal)}return{value:a,break:r}},this)},e.prototype.getMinorTicks=function(t){return uz(this,t,CP(this.powStub),this.intervalStub.getConfig().interval)},e.prototype.getLabel=function(t,e){return this.intervalStub.getLabel(t,e)},e.type="log",e.mapperMethods={needTransform:function(){return!0},normalize:function(t){return this.intervalStub.normalize(rz(t,this.base))},scale:function(t){return oz(this.intervalStub.scale(t),this.base,null)},transformIn:function(t,e){return t=rz(t,this.base),e&&2===e.depth?t:this.intervalStub.transformIn(t,e)},transformOut:function(t,e){var n=e?e.depth:null;return Nc.depth=n,Ec.lookup=this._lookup,oz(2===n?t:this.intervalStub.transformOut(t,Nc),this.base,Ec)},contain:function(t){return this.powStub.contain(t)},setExtent:function(t,e){this.setExtent2(0,t,e)},setExtent2:function(t,e,n){if(!(!dA(e,n)||e<=0||n<=0)){var i=zc,r=zc;if(0===t){var o=this._lookup;i=o.to,r=o.from}this.powStub.setExtent2(t,i[0]=e,i[1]=n);var a=this.base;this.intervalStub.setExtent2(t,r[0]=rz(e,a),r[1]=rz(n,a))}},getFilter:function(){return{g:0}},sanitize:function(t,e){return dA(e[0],e[1])&&zD(t)&&t<=0&&(t=e[0]),t},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(t,e){return null===e?this.powStub.getExtentUnsafe(t,null):this.intervalStub.getExtentUnsafe(t,e)}},e}(Sc),Sc.registerClass(Rc),Nc={},Ec={},zc=[],Bc={value:1,category:1,time:1,log:1},Vc=JD(),Gc=function(){function t(){}return t.prototype.needIncludeZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),Fc=fA(),Hc=JD(),Wc=JD(),Uc={},Yc=gI(),Xc=JD(),Zc=3,jc=function(){function t(t,e,n,i,r){var o,a=ez(t),s=a?e.getCategories().length:null;if(a){var l=e.getCategories(!0);o=l&&!l.length}var u=n.slice();(JE(t)||tz(t)||QE(t))&&(uA(u,Hz(t,e.get("dataMin",!0))),cA(u,Hz(t,e.get("dataMax",!0)))),function(t){var e=t[1]-t[0];return isFinite(e)&&e>=0}(u)||(u[0]=u[1]=NaN);var c=[],h=[!1,!1],d=e.get("min",!0);"dataMin"===d?(c[0]=u[0],h[0]=!0):(c[0]=Hz(t,jM(d)?d({min:u[0],max:u[1]}):d),h[0]=null!=c[0]);var p=e.get("max",!0);"dataMax"===p?(c[1]=u[1],h[1]=!0):(c[1]=Hz(t,jM(p)?p({min:u[0],max:u[1]}):p),h[1]=null!=c[1]);var f=function(t,e){var n;if(ez(t))n=[0,0];else{var i=e.get("boundaryGap");"boolean"==typeof i&&(i=null),n=ZM(i)?i:[i,i]}return[Wz(n[0]),Wz(n[1])]}(t,e),g=a?null:u[1]-u[0]||Math.abs(u[0]);null==c[0]&&(c[0]=a?o?u[0]:s?0:NaN:u[0]-f[0]*g),null==c[1]&&(c[1]=a?o?u[1]:s?s-1:NaN:u[1]+f[1]*g),!hA(c[0])&&(c[0]=NaN),!hA(c[1])&&(c[1]=NaN);var y=o||oI(c[0])||oI(c[1])||a&&!s,v=JE(t),m=v&&e.needIncludeZero&&e.needIncludeZero();m&&(c[0]>0&&c[1]>0&&!h[0]&&(c[0]=0),c[0]<0&&c[1]<0&&!h[1]&&(c[1]=0));var x=!1;c[0]>c[1]&&(c.reverse(),x=!0);var _=Hz(t,e.get("startValue",!0)),b=null!=_;!zD(_)&&i&&(_=t.getDefaultStartValue?t.getDefaultStartValue():0),zD(_)&&(b||!v||m)&&(_c[1]&&!h[1]&&(c[1]=_,h[1]=!0)),Fz(this._i={scale:t,dataMM:u,noZoomEffMM:c,zoomMM:[],fixMM:h,zoomFixMM:[!1,!1],startValue:_,isBlank:y,incl0:m,tggAxInv:x,ctnShp:r},c)}return t.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},t.prototype.makeFinal=function(){var t=this._i,e=t.zoomMM,n=t.noZoomEffMM,i=t.zoomFixMM,r=t.fixMM,o={fixMM:r,zoomFixMM:i,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:n.slice()},a=o.effMM;return null!=e[0]&&(a[0]=e[0],r[0]=i[0]=!0),null!=e[1]&&(a[1]=e[1],r[1]=i[1]=!0),Fz(t,a),o},t.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},t.prototype.setZoomMM=function(t,e){this._i.zoomMM[t]=e},t}(),qc=gI(),Kc={interval:Kz,log:Kz,time:Oc,ordinal:_I},$c=n({createDimensions:()=>RE,createList:()=>tB,createScale:()=>eB,createSymbol:()=>CN,createTextStyle:()=>iB,dataStack:()=>Jc,enableHoverEmphasis:()=>Kk,getECData:()=>Ki,getLayoutRect:()=>pO,mixinAxisModelCommonMethods:()=>nB}),Jc={isDimensionStacked:VE,enableDataStack:BE,getStackedDimension:GE},Qc=[],th={registerPreprocessor:uE,registerProcessor:cE,registerPostInit:hE,registerPostUpdate:dE,registerUpdateLifecycle:pE,registerAction:fE,registerCoordinateSystem:gE,registerLayout:mE,registerVisual:xE,registerTransform:tc,registerLoading:bE,registerMap:SE,registerImpl:bN,PRIORITY:lu,ComponentModel:za,ComponentView:tl,SeriesModel:Qs,ChartView:il,registerComponentModel:function(t){za.registerClass(t)},registerComponentView:function(t){tl.registerClass(t)},registerSeriesModel:function(t){Qs.registerClass(t)},registerChartView:function(t){il.registerClass(t)},registerCustomSeries:function(t,e){SN(t,e)},registerSubTypeDefaulter:function(t,e){za.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){sD(t,e)}},eh=1e-8,nh=[],ih=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),rh=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},oh=function(t){this.type="linestring",this.points=t},ah=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return IM(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;in&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;sgn,asc:()=>yD,getPercentWithPrecision:()=>bD,getPixelPrecision:()=>xD,getPrecision:()=>vD,getPrecisionSafe:()=>mD,isNumeric:()=>OD,isRadianAroundZero:()=>ID,linearMap:()=>cD,nice:()=>AD,numericToNumber:()=>PD,parseDate:()=>TD,parsePercent:()=>fn,quantile:()=>kD,quantity:()=>CD,quantityExponent:()=>DD,reformIntervals:()=>LD,remRadian:()=>MD,round:()=>gD}),uh=n({format:()=>OP,parse:()=>TD,roundTime:()=>NP}),ch=n({Arc:()=>ho,BezierCurve:()=>uo,BoundingRect:()=>dt,Circle:()=>Er,CompoundPath:()=>po,Ellipse:()=>Br,Group:()=>Ze,Image:()=>Bi,IncrementalDisplayable:()=>Co,Line:()=>ao,LinearGradient:()=>go,Polygon:()=>eo,Polyline:()=>io,RadialGradient:()=>yo,Rect:()=>Hi,Ring:()=>Qr,Sector:()=>$r,Text:()=>Xi,clipPointsByRect:()=>WL,clipRectByRect:()=>UL,createIcon:()=>YL,extendPath:()=>AL,extendShape:()=>DL,getShapeClass:()=>LL,getTransform:()=>BL,initProps:()=>wL,makeImage:()=>OL,makePath:()=>PL,mergePath:()=>Ro,registerShape:()=>kL,resizePath:()=>NL,updateProps:()=>bL}),hh=n({addCommas:()=>$P,capitalFirst:()=>rO,encodeHTML:()=>XI,formatTime:()=>iO,formatTpl:()=>tO,getTextRect:()=>KP,getTooltipMarker:()=>nO,normalizeCssArray:()=>Sa,toCamelCase:()=>JP,truncateText:()=>OA}),dh=n({bind:()=>I,clone:()=>AM,curry:()=>XM,defaults:()=>RM,each:()=>VM,extend:()=>PM,filter:()=>HM,indexOf:()=>NM,inherits:()=>EM,isArray:()=>ZM,isFunction:()=>jM,isObject:()=>JM,isString:()=>qM,map:()=>GM,merge:()=>kM,reduce:()=>FM}),ph=JD(),fh=JD(),gh={estimate:1,determine:2},yh=vB("axisTick"),vh=vB("axisLabel"),mh=.8,xh=[0,1],_h=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this.scale;return cD(t=n.normalize(n.parse(t)),xh,MB(this),e)},t.prototype.coordToData=function(t,e){var n=cD(t,MB(this),xh,e);return this.scale.scale(n)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=GM(fB(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}).ticks,function(t){return{coord:this.dataToCoord(Cz(this.scale,t)),tick:t}},this),i=function(t,e,n){var i=e.length;if(!t.onBand||n||!i)return!1;var r=SB(t).w;if(!r)return!1;VM(e,function(t){t.coord-=r/2});var o=t.scale.getExtent(),a=e[i-1];return a.tick.offInterval&&e.pop(),e.push({coord:a.coord+r,tick:{value:o[1]+1}}),!0}(this,n,e.get("alignWithLabel"));return GM(n,function(t){return{coord:t.coord,tickValue:t.tick.value,onBand:i}})},t.prototype.getMinorTicksCoords=function(){if(ez(this.scale))return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),GM(this.scale.getMinorTicks(t),function(t){return GM(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(t){return pB(this,t=t||dB(gh.determine)).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){return SB(this,{min:1}).w},t.prototype.calculateCategoryInterval=function(t){return function(t,e){var n=e.kind,i=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),r=_z(t),o=(i.axisRotate-i.labelRotate)/180*Math.PI,a=t.scale,s=a.getExtent(),l=a.count();if(s[1]-s[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var c=s[0],h=t.dataToCoord(c+1)-t.dataToCoord(c),d=Math.abs(h*Math.cos(o)),p=Math.abs(h*Math.sin(o)),f=0,g=0;c<=s[1];c+=u){var y,v,m=UC(r({value:c}),i.font,"center","top");y=1.3*m.width,v=1.3*m.height,f=Math.max(f,y,7),g=Math.max(g,v,7)}var x=f/d,_=g/p;isNaN(x)&&(x=1/0),isNaN(_)&&(_=1/0);var b=Math.max(0,Math.floor(Math.min(x,_)));if(n===gh.estimate)return e.out.noPxChangeTryDetermine.push(I(_B,null,t,b,l)),b;var w=bB(t,b,l);return null!=w?w:b}(this,t=t||dB(gh.determine))},t}(),bh=2*Math.PI,wh=wi.CMD,Sh=["top","right","bottom","left"],Mh=[],Ih=new J,Th=new J,Ch=new J,Dh=new J,Ah=new J,kh=[],Lh=new J,Ph=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"],Rh=1|(Oh=2),Nh=[0,0,0,0],Eh=["align","verticalAlign","width","height","fontSize"],zh=new Re,Bh=JD(),Vh=JD(),Gh=["x","y","rotation"],Fh=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();dt.applyTransform(l,l,s),s?zh.setLocalTransform(s):(zh.x=zh.y=zh.rotation=zh.originX=zh.originY=0,zh.scaleX=zh.scaleY=1),zh.rotation=ek(zh.rotation);var u,c=i.__hostTarget;if(c){u=c.getBoundingRect().plain();var h=c.getComputedTransform();dt.applyTransform(u,u,h)}var d=u&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOptionOrCb:r,layoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:d&&d.ignore,x:zh.x,y:zh.y,scaleX:zh.scaleX,scaleY:zh.scaleY,rotation:zh.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(jM(i)||UM(i).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=Ki(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)})},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){NB(t,e)}}for(var r=0;r=0&&n.attr(p.oldLayoutSelect),NM(u,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),bL(n,s,e,a)}else if(n.attr(s),!Wo(n).valueAnimation){var c=sI(n.style.opacity,1);n.style.opacity=0,wL(n,{style:{opacity:c}},e,a)}if(p.oldLayout=s,n.states.select){var h=p.oldLayoutSelect={};tV(h,s,Gh),tV(h,n.states.select,Gh)}if(n.states.emphasis){var d=p.oldLayoutEmphasis={};tV(d,s,Gh),tV(d,n.states.emphasis,Gh)}xP(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(p=Vh(i)).oldLayout;var p,f={points:i.shape.points};r?(i.attr({shape:r}),bL(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,wL(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}(),Hh=JD(),t("b",n({Axis:()=>_h,ChartView:()=>il,ComponentModel:()=>za,ComponentView:()=>tl,List:()=>_c,Model:()=>ea,PRIORITY:()=>lu,SeriesModel:()=>Qs,color:()=>jt,connect:()=>iE,dataTool:()=>ec,dependencies:()=>nu,disConnect:()=>Ju,disconnect:()=>rE,dispose:()=>oE,env:()=>o,extendChartView:()=>DB,extendComponentModel:()=>IB,extendComponentView:()=>TB,extendSeriesModel:()=>CB,format:()=>hh,getCoordinateSystemDimensions:()=>yE,getInstanceByDom:()=>aE,getInstanceById:()=>sE,getMap:()=>ME,graphic:()=>ch,helper:()=>$c,init:()=>nE,innerDrawElementOnCanvas:()=>YN,matrix:()=>$,number:()=>lh,parseGeoJSON:()=>hB,parseGeoJson:()=>hB,registerAction:()=>fE,registerCoordinateSystem:()=>gE,registerCustomSeries:()=>vE,registerLayout:()=>mE,registerLoading:()=>bE,registerLocale:()=>SP,registerMap:()=>SE,registerPostInit:()=>hE,registerPostUpdate:()=>dE,registerPreprocessor:()=>uE,registerProcessor:()=>cE,registerTheme:()=>lE,registerTransform:()=>tc,registerUpdateLifecycle:()=>pE,registerVisual:()=>xE,setCanvasCreator:()=>wE,setPlatformAPI:()=>TM,throttle:()=>QR,time:()=>uh,use:()=>rB,util:()=>dh,vector:()=>P,version:()=>"6.1.0",zrUtil:()=>c,zrender:()=>je})),Wh=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return IM(e,t),e.prototype.getInitialData=function(t){return FE(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Ze,n=CN("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=CN(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);return e.add(s),s.setStyle(t.itemStyle),s.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill=Ba.color.neutral00,s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},e}(Qs),Uh=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return IM(e,t),e.prototype._createSymbol=function(t,e,n,i,r,o){this.removeAll();var a=CN(t,-1,-1,2,2,null,o);a.attr({z2:sI(r,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=rV,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){zk(this.childAt(0))},e.prototype.downplay=function(){Bk(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=e.getSymbolZ2(t,n),u=o!==this._symbolType,c=r&&r.disableAnimation;if(u){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,l,h)}else{(p=this.childAt(0)).silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};c?p.attr(d):bL(p,d,a,n),CL(p)}if(this._updateCommon(t,n,s,i,r),u){var p=this.childAt(0);c||(d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}},p.scaleX=p.scaleY=0,p.style.opacity=0,wL(p,d,a,n))}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,c,h,d,p,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,p=i.cursorStyle,c=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),c=v.get("disabled"),h=pP(y),d=v.getShallow("scale"),p=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=AN(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),p&&f.attr("cursor",p);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Bi){var w=f.style;f.useStyle(PM({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(PM({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;dP(f,h,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):nV(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),$k(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Ki(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&ML(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();ML(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return DN(t.getItemVisual(e,"symbolSize"))},e.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},e}(Ze),Yh=function(){function t(t){this.group=new Ze,this._SymbolCtor=t||Uh}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=aV(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=this._seriesScope=sV(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add(function(i){var r=u(i);oV(t,r,i,e)&&lV(o,t,i,s,l,r,n)}).update(function(c,h){var d=r.getItemGraphicEl(h),p=u(c);if(oV(t,p,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new o(t,c,s,l)).setPosition(p);else{d.updateData(t,c,s,l);var y={x:p[0],y:p[1]};a?d.attr(y):bL(d,y,i)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(t){var e=this._data;if(e)for(var n=this,i=0,r=e.getStore().count();i0&&hV(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(c-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=c;break;case o.C:u=r[l++],c=r[l++],h=r[l++],d=r[l++],p=r[l++],f=r[l++];var v=a?DT(n,u,h,p,t,s):DT(i,c,d,f,t,s);if(v>0)for(var m=0;m=0)return y=a?TT(i,c,d,f,x):TT(n,u,h,p,x),a?[t,y]:[y,t]}n=p,i=f}}},e}(Oi),Jh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e}(Kh),Qh=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new Jh},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&hV(n[2*o-2],n[2*o-1]);o--);for(;r0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1),Ki(d).seriesIndex=t.seriesIndex,$k(d,A,k,L);var P=kV(t.get("smooth")),O=t.get("smoothMonotone");if(d.setShape({smooth:P,smoothMonotone:O,connectNulls:b}),p){var R=o.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(RM(s.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),R&&(N=kV(R.get("smooth"))),p.setShape({smooth:P,stackedOnSmooth:N,smoothMonotone:O,connectNulls:b}),Qk(p,t,"areaStyle"),Ki(p).seriesIndex=t.seriesIndex,$k(p,A,k,L)}var E=this._changePolyState;o.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=E)}),this._polyline.onHoverStateChange=E,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=l,this._step=I,this._valueOrigin=v;var z=t.get("triggerEvent"),B=t.get("triggerLineEvent"),V=!0===B||!0===z||"line"===z,G=!0===B||!0===z||"area"===z;this.packEventData(t,d,V),p&&this.packEventData(t,p,G)},e.prototype.packEventData=function(t,e,n){Ki(e).eventData=n?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=$D(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(hV(l,u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new Uh(r,o)).x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else il.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=$D(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else il.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Pk(this._polyline,t),e&&Pk(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new $h({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Qh({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");jM(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=jM(u)?u(null):u;t.eachItemGraphicEl(function(t,o){var s=t;if(s){var h=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(h);i?(d=g.startAngle,p=g.endAngle,f=-y[1]/180*Math.PI):(d=g.r0,p=g.r,f=y[0])}else{var v=n;i?(d=v.x,p=v.x+v.width,f=t.x):(d=v.y+v.height,p=v.y,f=t.y)}var m=p===d?0:(f-d)/(p-d);a&&(m=1-m);var x=jM(u)?u(o):l*m+c,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(NV(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Xi({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e=t.length/2;e>0&&hV(t[2*e-2],t[2*e-1]);e--);return e-1}(a);l>=0&&(dP(o,pP(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?iV(r,n):nV(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?p:0)*(y?-1:1),_=(g?0:-p)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!h){var T=RV(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=c.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=c.getRawValue(S[0]),D=c.getRawValue(S[1]);r&&(I=oA(n,d,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=RV(u,A),r&&(I=c.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=Wo(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),l=[],u=[],c=[],h=[],d=[],p=[],f=[],g=uV(r,e,a),y=t.getLayout("points")||[],v=e.getLayout("points")||[],m=0;m3e3||l&&AV(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=c.current,s.shape.points=h;var g={shape:{points:p}};c.current!==h&&(g.shape.__points=c.next),s.stopAnimation(),bL(s,g,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),bL(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=c.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(_h),rd=null,sd={type:od="expandAxisBreak",event:ad="axisbreakchanged",update:"update",refineEvent:FV},ld={type:"collapseAxisBreak",event:ad,update:"update",refineEvent:FV},ud={type:"toggleAxisBreak",event:ad,update:"update",refineEvent:FV},cd=Math.PI,hd=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],dd=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],pd=JD(),fd=JD(),gd=function(){function t(t){this.recordMap={},this.resolveAxisNameOverlap=t}return t.prototype.ensureRecord=function(t){var e=t.axis.dim,n=t.componentIndex,i=this.recordMap,r=i[e]||(i[e]=[]);return r[n]||(r[n]={ready:{}})},t}(),yd=[1,0,0,1,0,0],vd=new dt(0,0,0,0),md=function(t,e,n,i,r,o){if(Sz(t.nameLocation)){var a=o.stOccupiedRect;a&&HV(function(t,e,n){return t.transform=nP(t.transform,n),t.localRect=eP(t.localRect,e),t.rect=eP(t.rect,e),n&&t.rect.applyTransform(n),t.axisAligned=tP(n),t.obb=void 0,(t.label=t.label||{}).ignore=!1,t}({},a,o.transGroup.transform),i,r)}else WV(o.labelInfoList,o.dirVec,i,r)},xd=function(){function t(t,e,n,i){this.group=new Ze,this._axisModel=t,this._api=e,this._local={},this._shared=i||new gd(md),this._resetCfgDetermined(n)}return t.prototype.updateCfg=function(t){var e=this._cfg.raw;e.position=t.position,e.labelOffset=t.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(t){var e=this._axisModel,n=e.getDefaultOption?e.getDefaultOption():{},i=sI(t.axisName,e.get("name")),r=e.get("nameMoveOverlap");null!=r&&"auto"!==r||(r=sI(t.defaultNameMoveOverlap,!0));var o={raw:t,position:t.position,rotation:t.rotation,nameDirection:sI(t.nameDirection,1),tickDirection:sI(t.tickDirection,1),labelDirection:sI(t.labelDirection,1),labelOffset:sI(t.labelOffset,0),silent:sI(t.silent,!0),axisName:i,nameLocation:lI(e.get("nameLocation"),n.nameLocation,"end"),shouldNameMoveOverlap:KV(i)&&r,optionHideOverlap:e.get(["axisLabel","hideOverlap"]),showMinorTicks:e.get(["minorTick","show"])};this._cfg=o;var a=new Ze({x:o.position[0],y:o.position[1],rotation:o.rotation});a.updateTransform(),this._transformGroup=a;var s=this._shared.ensureRecord(e);s.transGroup=this._transformGroup,s.dirVec=new J(Math.cos(-o.rotation),Math.sin(-o.rotation))},t.prototype.build=function(t,e){var n=this;return t||(t={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),VM(_d,function(i){t[i]&&bd[i](n._cfg,n._local,n._shared,n._axisModel,n.group,n._transformGroup,n._api,e||{})}),this},t.innerTextLayout=function(t,e,n){var i,r,o=MD(e-t);return ID(o)?(r=n>0?"top":"bottom",i="center"):ID(o-cd)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_d=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],bd={axisLine:function(t,e,n,i,r,o,a){var s=i.get(["axisLine","show"]);if("auto"===s&&(s=!0,null!=t.raw.axisLineAutoShow&&(s=!!t.raw.axisLineAutoShow)),s){var l=i.axis.getExtent(),u=o.transform,c=[l[0],0],h=[l[1],0],d=c[0]>h[0];u&&(VI(c,c,u),VI(h,h,u));var p=PM({lineCap:"round"},i.getModel(["axisLine","lineStyle"]).getLineStyle()),f={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:p};if(i.get(["axisLine","breakLine"])&&DP(i.axis.scale))GV().buildAxisBreakLine(i,r,o,f);else{var g=new ao(PM({shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]}},f));EL(g.shape,g.style.lineWidth),g.anid="line",r.add(g)}var y=i.get(["axisLine","symbol"]);if(null!=y){var v=i.get(["axisLine","symbolSize"]);qM(y)&&(y=[y,y]),(qM(v)||$M(v))&&(v=[v,v]);var m=AN(i.get(["axisLine","symbolOffset"])||0,v),x=v[0],_=v[1];VM([{rotate:t.rotation+Math.PI/2,offset:m[0],r:0},{rotate:t.rotation-Math.PI/2,offset:m[1],r:Math.sqrt((c[0]-h[0])*(c[0]-h[0])+(c[1]-h[1])*(c[1]-h[1]))}],function(e,n){if("none"!==y[n]&&null!=y[n]){var i=CN(y[n],-x/2,-_/2,x,_,p.stroke,!0),o=e.r+e.offset,a=d?h:c;i.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),r.add(i)}})}}},axisTickLabelEstimate:function(t,e,n,i,r,o,a,s){ZV(e,r,s)&&UV(t,e,n,i,r,o,a,gh.estimate)},axisTickLabelDetermine:function(t,e,n,i,r,o,a,s){ZV(e,r,s)&&UV(t,e,n,i,r,o,a,gh.determine);var l=function(t,e,n,i){var r=i.axis,o=i.getModel("axisTick"),a=o.get("show");if("auto"===a&&(a=!0,null!=t.raw.axisTickAutoShow&&(a=!!t.raw.axisTickAutoShow)),!a||r.scale.isBlank())return[];for(var s=o.getModel("lineStyle"),l=t.tickDirection*o.get("length"),u=XV(r.getTicksCoords(),n.transform,l,RM(s.getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;ci[1],l="start"===e&&!s||"start"!==e&&s;return ID(a-cd/2)?(o=l?"bottom":"top",r="center"):ID(a-1.5*cd)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*cd&&a>cd/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,c,b||0,f),null!=(_=t.raw.axisNameAvailableWidth)&&(_=Math.abs(_/Math.sin(x.rotation)),!isFinite(_)&&(_=null)));var w=d.getFont(),S=i.get("nameTruncate",!0)||{},M=S.ellipsis,I=aI(t.raw.nameTruncateMaxWidth,S.maxWidth,_),T=s.nameMarginLevel||0,C=new Xi({x:y.x,y:y.y,rotation:x.rotation,silent:xd.isLabelSilent(i),style:fP(d,{text:u,font:w,overflow:"truncate",width:I,ellipsis:M,fill:d.getTextColor()||i.get(["axisLine","lineStyle","color"]),align:d.get("align")||x.textAlign,verticalAlign:d.get("verticalAlign")||x.textVerticalAlign}),z2:1});if($L({el:C,componentModel:i,itemName:u}),C.__fullText=u,C.anid="name",i.get("triggerEvent")){var D=xd.makeAxisEventDataBase(i);D.targetType="axisName",D.name=u,Ki(C).eventData=D}o.add(C),C.updateTransform(),e.nameEl=C;var A=l.nameLayout=UB({label:C,priority:C.z2,defaultAttr:{ignore:C.ignore},marginDefault:Sz(c)?hd[T]:dd[T]});if(l.nameLocation=c,r.add(C),C.decomposeTransform(),t.shouldNameMoveOverlap&&A){var k=n.ensureRecord(i);n.resolveAxisNameOverlap(t,n,i,A,v,k)}}}},wd=new Hi,Sd=new Hi,Md=pV({ctor:Zh},50),Id="pictorialBar",Td={left:0,right:0,top:0,bottom:0},Cd=["25%","25%"],Dd="cartesian2d",Ad=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.mergeDefaultAndTheme=function(e,n){var i=xO(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),i&&e.outerBounds&&mO(e.outerBounds,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&mO(this.option.outerBounds,e.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:Td,outerBoundsContain:"all",outerBoundsClampWidth:Cd[0],outerBoundsClampHeight:Cd[1],backgroundColor:Ba.color.transparent,borderWidth:1,borderColor:Ba.color.neutral30},e}(za),kd=fA(),Ld="__ec_stack_",Pd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.getInitialData=function(t,e){return FE(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)VM(i.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,c=void 0,h=1,d=0;ds){c=(p+u)/2;break}1===d&&(h=f-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),o[n]=t.toGlobalCoord(c)}});else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.prototype.__requireStartValue=function(t){return this.getBaseAxis()!==t},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},e}(Qs),Qs.registerClass(Pd),Od=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.getInitialData=function(){return FE(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.__preparePipelineContext=function(t,e){var n=xA(this,t,e);return n.progressiveRender&&(n.large=!0),n},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=wP(Pd.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:Ba.color.primary,borderWidth:2}},realtimeSort:!1}),e}(Pd),Rd=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Nd=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new Rd},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){TL(e,t,Ki(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(il),Vd={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=Ed(e.x,t.x),s=zd(e.x+e.width,r),l=Ed(e.y,t.y),u=zd(e.y+e.height,o),c=sr?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=zd(e.r,t.r),o=Ed(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),a}},Gd={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Hi({shape:PM({},i),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,o,a,s,l){var u,c,h=!r&&l?Nd:$r,d=new h({shape:i,z2:1});if(d.name="item",d.calculateTextPosition=(u=mG(r),c=({isRoundCap:h===Nd}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return qC(t,e,n);var r=u(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,h=a.r,d=a.r0,p=(h+d)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=c?Math.abs(h-d)/2:0,m=Math.cos,x=Math.sin,_=s+h*m(f),b=l+h*x(f),w="left",S="top";switch(r){case"startArc":_=s+(d-o)*m(y),b=l+(d-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(d+o)*m(y),b=l+(d+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+p*m(f)+pG(f,o+v,!1),b=l+p*x(f)+fG(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+p*m(f)+pG(f,-o+v,!1),b=l+p*x(f)+fG(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+p*m(y),b=l+p*x(y),w="center",S="middle";break;case"endArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"endAngle":_=s+p*m(g)+pG(g,o+v,!0),b=l+p*x(g)+fG(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+p*m(g)+pG(g,-o+v,!0),b=l+p*x(g)+fG(g,-o+v,!0),w="right",S="middle";break;default:return qC(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var p=r?"r":"endAngle",f={};d.shape[p]=r?i.r0:i.startAngle,f[p]=i[p],(s?bL:wL)(d,{shape:f},o)}return d}},Fd=["x","y","width","height"],Hd=["cx","cy","r","startAngle","endAngle"],Wd={cartesian2d:function(t){return!vG(t,Fd)},polar:function(t){return!vG(t,Hd)}},Ud={cartesian2d:function(t,e,n){var i=t.getItemLayout(e);if(!i)return null;var r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}},Yd=function(){},Xd=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new Yd},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}(this,t.offsetX,t.offsetY);Ki(this).dataIndex=e>=0?e:null},30,!1),jd=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),qd=JD(),Kd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new jd(I(this.getData,this),I(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return MG(this,{coordDimensions:["value"],encodeDefaulter:XM(SO,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=qd(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),function(t){o.push(t)}),r=i.seats=wD(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){HD(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Qs),jI={fullType:Kd.type,getCoord2:function(t){return t.getShallow("center")}},Aa.set(jI.fullType,{getCoord2:void 0}).getCoord2=jI.getCoord2,$d=Math.PI/180,Jd={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},Qd={},tp=2*Math.PI,ep=Math.PI/180,np=_A("pie",kG),ip=JD(),rp=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new Xi;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return IM(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=PM(gG(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(wL(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,wL(r,{shape:{r:l.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),wL(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,bL(r,{shape:{endAngle:l.endAngle}},o,e))}else CL(r),bL(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),Qk(r,a);var h=(l.startAngle+l.endAngle)/2,d=o.get("selectedOffset"),p=Math.cos(h)*d,f=Math.sin(h)*d,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=PM({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},gG(s.getModel("itemStyle"),l)),PM(r.ensureState("select"),{x:p,y:f,shape:gG(a.getModel(["select","itemStyle"]),l)}),PM(r.ensureState("blur"),{shape:gG(a.getModel(["blur","itemStyle"]),l)});var y=r.getTextGuideLine(),v=r.getTextContent();y&&PM(y.ensureState("select"),{x:p,y:f}),PM(v.ensureState("select"),{x:p,y:f}),$k(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;dP(i,pP(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=r.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new io,this.setTextGuideLine(h)),GB(this,FB(r),{stroke:s,opacity:lI(o.get(["lineStyle","opacity"]),l,1)})}},e}($r),op=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e.ignoreLabelLineUpdate=!0,e}return IM(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(il),ap=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return IM(e,t),e.prototype.getInitialData=function(t,e){return FE(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:Ba.color.primary}},universalTransition:{divideShape:"clone"}},e}(Qs),sp=function(){},lp=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return IM(e,t),e.prototype.getDefaultShape=function(){return new sp},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.beforeBrush=function(t){t&&!t.contentRetained&&this.reset()},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),cp=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,PG(t)),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),mA(e),PG(e)),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished)return{update:!0};var r=zV("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(PG(t))},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new up:new Yh,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(il),hp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Mn).models[0]},e.type="cartesian2dAxis",e}(za),zM(hp,Gc),dp={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:"auto",onZeroAxisIndex:null,lineStyle:{color:Ba.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:Ba.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:Ba.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[Ba.color.backgroundTint,Ba.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:Ba.color.neutral00,borderColor:Ba.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},pp=kM({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},dp),fp=kM({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:Ba.color.axisMinorSplitLine,width:1}}},dp),gp=kM({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},fp),yp=RM({logBase:10},fp),vp={category:pp,value:fp,time:gp,log:yp},mp=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return GM(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),HM(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),xp=["x","y"],_p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=Dd,e.dimensions=xp,e}return IM(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(NG(t)&&NG(e)){var n=ZE(t,null),i=ZE(e,null),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,h=r[1]-i[0]*u,d=this._transform=[l,0,0,u,c,h];this._invTransform=lT([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new dt(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return VI(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e,n){if(n=n||[],this._invTransform)return VI(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t;return new dt(i,r,Math.max(e[0],e[1])-i+t,Math.max(n[0],n[1])-r+t)},e}(mp),bp=[[3,1],[0,2]],wp=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=xp,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){for(var e=UM(t),n=[],i=e.length-1;i>=0;i--){var r=t[+e[i]];r.__alignTo?n.push(r):$z(r)}VM(n,function(t){var e,n;e=t,n=t.__alignTo,DP(e.scale)||DP(n.scale)||n.scale.getTicks().length<2?$z(t):EG(t,t.__alignTo.scale)})}VM(this._axesList,function(t){Yz(t,1);var e=t.scale;ez(e)&&e.setSortInfo(t.model.get("categorySortInfo"))}),i(n.x),i(n.y);var r={};VM(n.x,function(t){zG(n,"y",t,r)}),VM(n.y,function(t){zG(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=gO(t,e),r=this._rect=pO(t.getBoxLayoutParams(),i.refContainer),o=this._axesMap,a=this._coordsList,s=t.get("containLabel");if(GG(o,r),!n){var l=WG(r,a,o,s,e),u=void 0;if(s)Sp?(Sp(this._axesList,r),GG(o,r)):u=HG(r.clone(),"axisLabel",null,r,o,l,i);else{var c=function(t,e,n){var i,r=t.get("outerBoundsMode",!0);"same"===r?i=e.clone():null!=r&&"auto"!==r||(i=pO(t.get("outerBounds",!0)||Td,n.refContainer));var o=t.get("outerBoundsContain",!0);return{outerBoundsRect:i,parsedOuterBoundsContain:null==o||"auto"===o||NM(["all","axisLabel"],o)<0?"all":o,outerBoundsClamp:[dD(sI(t.get("outerBoundsClampWidth",!0),Cd[0]),e.width),dD(sI(t.get("outerBoundsClampHeight",!0),Cd[1]),e.height)]}}(t,r,i),h=c.outerBoundsRect,d=c.parsedOuterBoundsContain,p=c.outerBoundsClamp;h&&(u=HG(h,d,p,r,o,l,i))}UG(r,o,gh.determine,null,u,i),VM(this._coordsList,function(t){t.calcAffineTransform()})}},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}JM(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;il[1])&&(a=l[1]),a0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=s;null!=d.color&&(p=RM({color:d.color},s));var f=kM(AM(d),{boundaryGap:t,splitNumber:e,clockwise:n,scale:i,axisLine:r,axisTick:o,axisLabel:a,name:d.text,showName:l,nameLocation:"end",nameGap:c,nameTextStyle:p,triggerEvent:h},!1);if(qM(u)){var g=f.name;f.name=u.replace("{value}",null!=g?g:"")}else jM(u)&&(f.name=u(f.name,f));var y=new ea(f,null,this.ecModel);return zM(y,Gc.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y.uid=_P("ec_radar"),y},this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type=Up,e.defaultOption={z:0,center:["50%","50%"],radius:"50%",startAngle:90,clockwise:!1,axisName:{show:!0,color:Ba.color.axisLabel},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:kM({lineStyle:{color:Ba.color.neutral20}},Hp.axisLine),axisLabel:oF(Hp.axisLabel,!1),axisTick:oF(Hp.axisTick,!1),splitLine:oF(Hp.splitLine,!0),splitArea:oF(Hp.splitArea,!0),indicator:[]},e}(za),Zp=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t,n),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t,e){var n=t.coordinateSystem;VM(GM(n.getIndicatorAxes(),function(t){var i=t.model.get("showName")?t.name:"";return new xd(t.model,e,{axisName:i,position:[n.cx,n.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(t){t.build(),this.group.add(t.group)},this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),c=a.get("color"),h=s.get("color"),d=ZM(c)?c:[c],p=ZM(h)?h:[h],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!hF(this._zr,"globalPan")&&!pF(t)){var e=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,e,n,i,r){t._checkPointer(i,r.originX,r.originY)&&(j(i.event),i.__ecRoamConsumed=!0,mF(t,e,n,i,r))},e}(V),tf=JD(),rf=UM(nf={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"}),af=UM(of={"alignment-baseline":"textBaseline","stop-color":"stopColor"}),sf=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=_F(t);this._defsUsePending=[];var i=new Ze;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),IF(n,i,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(u=AF(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;(i=new Ze).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Hi({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=ef[s];if(u&&xI(ef,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var d=lf[s];if(d&&xI(lf,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Ni({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});SF(e,n),IF(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9),i.font=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=void(ef={g:function(t,e){var n=new Ze;return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Hi;return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Er;return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new ao;return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Br;return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=MF(i));var r=new eo({shape:{points:n||[]},silent:!0});return SF(e,r),IF(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=MF(i));var r=new io({shape:{points:n||[]},silent:!0});return SF(e,r),IF(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Bi;return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Ze;return SF(e,a),IF(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Ze;return SF(e,a),IF(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=hL(t.getAttribute("d")||"");return SF(e,n),IF(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),lf={lineargradient:function(t){var e=new go(parseInt(t.getAttribute("x1")||"0",10),parseInt(t.getAttribute("y1")||"0",10),parseInt(t.getAttribute("x2")||"10",10),parseInt(t.getAttribute("y2")||"0",10));return bF(t,e),wF(t,e),e},radialgradient:function(t){var e=new yo(parseInt(t.getAttribute("cx")||"0",10),parseInt(t.getAttribute("cy")||"0",10),parseInt(t.getAttribute("r")||"0",10));return bF(t,e),wF(t,e),e}},uf=/^url\(\s*#(.*?)\)/,cf=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,hf=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,df=Math.PI/180,pf=/([^\s:;]+)\s*:\s*([^:;]+)/g,ff=gI(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),gf=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=gI(),this._freedGraphics=[],this._mapName=t,this._parsedXML=_F(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=gI();return VM(t,function(t){if(null==t.namedFrom){var i=new sh(t.name,t.el);e.push(i),n.set(t.name,i)}}),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n;try{e=t&&function(t,e){return(new sf).parse(t,e)}(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},hI(null!=(n=e.root))}catch(qr){throw new Error("Invalid svg format\n"+qr.message)}var i=new Ze;i.add(n),i.isGeoSVGGraphicRoot=!0;var r=e.width,o=e.height,a=e.viewBoxRect,s=this._boundingRect;if(!s){var l=void 0,u=void 0,c=void 0,h=void 0;if(null!=r?(l=0,c=r):a&&(l=a.x,c=a.width),null!=o?(u=0,h=o):a&&(u=a.y,h=a.height),null==l||null==u){var d=n.getBoundingRect();null==l&&(l=d.x,c=d.width),null==u&&(u=d.y,h=d.height)}s=this._boundingRect=new dt(l,u,c,h)}if(a){var p=AF(a,s);n.scaleX=n.scaleY=p.scale,n.x=p.x,n.y=p.y}i.setClipPath(new Hi({shape:s.plain()}));var f=[];return VM(e.named,function(t){var e;null!=ff.get(t.svgNodeTagLower)&&(f.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1}))}),{root:i,boundingRect:s,named:f}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}(),yf=[126,25],vf="南海诸岛",mf=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],xf=0;xf0;"geoJSON"===l.resourceType?this._buildGeoJSON(u,n,l,t,a,p):"geoSVG"===l.resourceType&&this._buildSVG(u,n,l,t,a,p),rH(t,n,this._controller,function(e,n,i){return t.coordinateSystem.containPoint([n,i])},s,function(){o._mouseDownFlag=!1},!1,!0),this._updateMapSelectHandler(t,c,n,i)},t.prototype.__updateOnOwnRoam=function(t){ZF(this._transformGroup,1,t.coordinateSystem.view,null)},t.prototype._buildGeoJSON=function(t,e,n,i,r,o){var a=this._regionsGroupByName=gI(),s=gI(),l=this._regionsGroup,u=n.projection,c=u&&u.stream,h=Ne(NF(null,t,0));function d(t,e){return e&&(t=e(t)),t&&VI([],t,h)}function p(t){for(var e=[],n=!c&&u&&u.project,i=0;i-1&&(n.style.stroke=n.style.fill,n.style.fill=Ba.color.neutral00,n.style.lineWidth=2),n},e.prototype.__ownRoamView=function(){return _H(this)?this.coordinateSystem.view:null},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:Ba.color.tertiary},itemStyle:{borderWidth:.5,borderColor:Ba.color.border,areaColor:Ba.color.background},emphasis:{label:{show:!0,color:Ba.color.primary},itemStyle:{areaColor:Ba.color.highlight}},select:{label:{show:!0,color:Ba.color.primary},itemStyle:{color:Ba.color.highlight}},nameProperty:"name"},e}(Qs),Xf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="map",e}return IM(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){var o=this._mapDraw;o&&i&&"geoRoam"===i.type&&o.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id?o&&r.add(o.group):_H(t)?(o=o||(this._mapDraw=new Uf(n)),r.add(o.group),o.draw(t,e,n,this,i)):this._clearMapDraw(),t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t)}}},e.prototype.__updateOnOwnRoam=function(t,e,n){var i=this._mapDraw;_H(e)&&i&&i.__updateOnOwnRoam(e)},e.prototype.remove=function(){this._clearMapDraw(),this.group.removeAll()},e.prototype.dispose=function(){this._clearMapDraw()},e.prototype._clearMapDraw=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t){var e=t.originalData,n=this.group;e.each(e.mapDimension("value"),function(i,r){if(!isNaN(i)){var o=e.getItemLayout(r);if(o&&o.point){var a=o.point,s=o.offset,l=new Er({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var u=bH(t.seriesGroup).getData(),c=e.getName(r),h=u.indexOfName(c),d=e.getItemModel(r),p=d.getModel("label"),f=u.getItemGraphicEl(h);dP(l,pP(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){Pk(l,t)}}n.add(l)}}})},e.type="map",e}(il),Zf={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},jf=["lng","lat"],qf=function(t){function e(e,n,i){var r=t.call(this)||this;r.dimensions=jf,r.type="geo",r._nameCoordMap=gI(),r.name=e;var o=i.projection,a=If.load(n,i.nameMap,i.nameProperty),s=If.getGeoResource(n);r.resourceType=s?s.type:null;var l,u=r.regions=a.regions,c=Zf[s.type];if(r._clip=i.clip,r.view=new Tf(!o&&c.invertLongitute,tH(i.ecModel,i.api),r),r.map=n,r._regionsMap=a.regionsMap,r.regions=a.regions,r.projection=o,o)for(var h=0;he&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;er&&(r=t.depth)});var o=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return i.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=o}),i.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return DR("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=KH(i,this),n.collapsed=!i.isExpand,n},e.prototype.__ownRoamView=function(){return this.coordinateSystem},e.type="series."+rg,e.layoutMode="box",e.defaultOption={z:2,coordinateSystemUsage:"box",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,roamTrigger:"global",nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:Ba.color.borderTint,width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Qs),ag=function(){this.parentPoint=[],this.childPoints=[]},sg=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultStyle=function(){return{stroke:Ba.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new ag},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=fn(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;d=0;f--){var g=d[f],y=g.node,v=g.width,m=g.text;h>n.width&&(h-=v-u,v=u,m=null);var x=new eo({shape:{points:uW(l,0,v,c,f===d.length-1,0===f)},style:RM(i.getItemStyle(),{lineJoin:"bevel"}),textContent:new Xi({style:fP(o,{text:m})}),textConfig:{position:"inside"},z2:1e5,onclick:XM(s,y)});x.disableLabelAnimation=!0,x.getTextContent().ensureState("emphasis").style=fP(a,{text:m}),x.ensureState("emphasis").style=p,$k(x,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(x),cW(x,t,y),l+=v+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),fg=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;ign&&(c=gn),o=r}c3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale,r=this.seriesModel;if("animating"!==this._state){var o=r.getData().tree.root;if(!o)return;var a=o.getLayout();if(!a)return;var s=new dt(a.x,a.y,a.width,a.height),l=r.layoutInfo,u=yW(l,a),c=u*i,h=(c=vW(c,r))/u,d=[1,0,0,1,0,0];oT(d,d,[-(e-=l.x),-(n-=l.y)]),sT(d,d,[h,h]),oT(d,d,[e,n]),s.applyTransform(d),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&aO(a,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new pg(this.group))).render(t,e,n.node,function(e){"animating"!==i._state&&(qH(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}},this),n},e.type="treemap",e}(il),Rg=VM,Ng=JM,Eg=-1,zg=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=AM(e);this.type=i,this.mappingMethod=n,this._normalizeData=Bg[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(xW(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,VM(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(Rg(e,function(t,e){n[t]=e}),!ZM(i)){var r=[];JM(i)?Rg(i,function(t,e){var i=n[e];r[null!=i?i:Eg]=t}):r[Eg]=i,i=CW(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):xW(r,!0):(hI("linear"!==n||r.dataExtent),xW(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return I(this._normalizeData,this)},t.listVisualTypes=function(){return UM(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){JM(t)?VM(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=ZM(e)?[]:JM(e)?{}:(r=!0,null);return t.eachVisual(e,function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a}),o},t.retrieveVisuals=function(e){var n,i={};return e&&Rg(t.visualHandlers,function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)}),n?i:null},t.prepareVisualTypes=function(t){if(ZM(t))t=t.slice();else{if(!Ng(t))return[];var e=[];Rg(t,function(t,n){e.push(n)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof Wg||(e=this._nodesMap[RW(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}),r=0,o=i.length;r=0&&!t.hasKey(p)&&(t.set(p,!0),o.push(d.node1))}for(s=0;s=0&&!t.hasKey(m)&&(t.set(m,!0),a.push(v.node2))}}}return{edge:t.keys(),node:e.keys()}},t}(),Ug=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=gI(),e=gI();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],r=0;r=0&&!t.hasKey(u)&&(t.set(u,!0),n.push(l.node1))}for(r=0;r=0&&!t.hasKey(d)&&(t.set(d,!0),i.push(h.node2))}return{edge:t.keys(),node:e.keys()}},t}(),zM(Wg,NW("hostGraph","data")),zM(Ug,NW("hostGraph","edgeData")),Yg="--\x3e",Xg=function(t){return t.get("autoCurveness")||null},Zg=function(t,e){var n=Xg(t),i=20,r=[];if($M(n))i=n;else if(ZM(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a "),value:r.value,noValue:null==r.value})}return VR({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=GM(this.option.categories||[],function(t){return null!=t.value?t:PM({value:0},t)}),e=new _c(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.prototype.__ownRoamView=function(){var t=this.coordinateSystem;return XF(t)&&t},e.type="series."+Qg,e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:Ba.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:Ba.color.primary}}},e}(Qs),ey=_A(Qg,VW),ny=_A(Qg,HW),iy=Math.PI,ry=[],oy={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode(function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n})},symbolSize:function(t,e,n,i,r,o,a){var s=0;ry.length=a;var l=WW(t);e.eachNode(function(t){var e=UW(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=iy/2),ry[t.dataIndex]=n,s+=2*n});var u=(2*iy-s)/a/2,c=0;e.eachNode(function(t){var e=u+ry[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+o]),c+=e})}},ay=_A(Qg,ZW),sy=TI,ly=_A(Qg,jW),uy=ao.prototype,cy=uo.prototype,function(t){function e(){return null!==t&&t.apply(this,arguments)||this}IM(e,t)}(hy=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}),dy=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return IM(e,t),e.prototype.getDefaultStyle=function(){return{stroke:Ba.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new hy},e.prototype.buildPath=function(t,e){KW(e)?uy.buildPath.call(this,t,e):cy.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return KW(this.shape)?uy.pointAt.call(this,t):cy.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=KW(e)?[e.x2-e.x1,e.y2-e.y1]:cy.tangentAt.call(this,t);return RI(n,n)},e}(Oi),py=["fromSymbol","toSymbol"],fy=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return IM(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=t.getItemLayout(e),o=t.getItemVisual(e,"z2"),a=function(t){var e=new dy({name:"line",subPixelOptimize:!0});return tU(e.shape,t),e}(r);a.shape.percent=0,wL(a,{z2:sI(o,0),shape:{percent:1}},i,e),this.add(a),VM(py,function(n){var i=QW(n,t,e);this.add(i),this[$W(n)]=JW(n,t,e)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};tU(a.shape,o),bL(r,a,i,e),VM(py,function(n){var i=JW(n,t,e),r=$W(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=QW(n,t,e);this.add(o)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var d=t.getItemModel(e),p=d.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),u=p.get("disabled"),c=p.get("focus"),h=p.get("blurScope"),l=pP(d)}var f=t.getItemVisual(e,"style"),g=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,VM(py,function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=f.opacity;for(var n=0;n0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*f+l[0],i.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,h=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,h="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,h=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Ze),gy=function(){function t(t){this.group=new Ze,this._LineCtor=t||fy}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=eU(t);t.diff(r).add(function(n){e._doAdd(t,n,o)}).update(function(n,i){e._doUpdate(r,t,i,n,o)}).remove(function(t){i.remove(r.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=eU(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=n,t.ensureState("emphasis").hoverLayer=2)}this._progressiveEls=[];for(var r=t.start;r "),value:i.value,noValue:null==i.value})}return DR("nameValue",{name:i.name,value:i.value,noValue:null==i.value})},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if("node"===n){var r=this.getData(),o=this.getGraph().getNodeByIndex(e);null==i.name&&(i.name=r.getName(e)),null==i.value&&(i.value=o.getLayout().value)}return i},e.type="series."+Ty,e.defaultOption={z:2,coordinateSystem:"none",legendHoverLink:!0,colorBy:"data",left:0,top:0,right:0,bottom:0,width:null,height:null,center:["50%","50%"],radius:["70%","80%"],clockwise:!0,startAngle:90,endAngle:"auto",minAngle:0,padAngle:3,itemStyle:{borderRadius:[0,0,5,5]},lineStyle:{width:0,color:"source",opacity:.2},label:{show:!0,position:"outside",distance:5},emphasis:{focus:"adjacency",lineStyle:{opacity:.5}}},e}(Qs),Dy=function(t){function e(e,n,i){var r=t.call(this)||this;Ki(r).dataType="node",r.z2=2;var o=new Xi;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return IM(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.graph.getNodeByIndex(e),a=t.hostModel,s=o.getModel(),l=s.getModel("emphasis"),u=t.getItemLayout(e),c=PM(gG(s.getModel("itemStyle"),u,!0),u),h=this;if(isNaN(c.startAngle))h.setShape(c);else{i?h.setShape(c):bL(h,{shape:c},a,e);var d=PM(gG(s.getModel("itemStyle"),u,!0),u);r.setShape(d),r.useStyle(t.getItemVisual(e,"style")),Qk(r,s),this._updateLabel(a,s,o),t.setItemGraphicEl(e,h),Qk(h,s,"itemStyle");var p=l.get("focus");$k(this,"adjacency"===p?o.getAdjacentDataIndices():p,l.get("blurScope"),l.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this.getTextContent(),r=n.getLayout(),o=(r.startAngle+r.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=e.getModel("label");i.ignore=!l.get("show");var u=pP(e),c=n.getVisual("style");dP(i,u,{labelFetcher:{getFormattedLabel:function(n,i,r,o,a,s){return t.getFormattedLabel(n,i,"node",o,lI(a,u.normal&&u.normal.get("formatter"),e.get("name")),s)}},labelDataIndex:n.dataIndex,defaultText:n.dataIndex+"",inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:"startArc"});var h,d=l.get("position")||"outside",p=l.get("distance")||0;h="outside"===d?r.r+p:(r.r+r.r0)/2,this.textConfig={inside:"outside"!==d};var f="outside"!==d?l.get("align")||"center":a>0?"left":"right",g="outside"!==d?l.get("verticalAlign")||"middle":s>0?"top":"bottom";i.attr({x:a*h+r.cx,y:s*h+r.cy,rotation:0,style:{align:f,verticalAlign:g}})},e}($r),Ay=function(t){function e(e,n,i,r){var o=t.call(this)||this;return Ki(o).dataType="edge",o.updateData(e,n,i,r,!0),o}return IM(e,t),e.prototype.buildPath=function(t,e){t.moveTo(e.s1[0],e.s1[1]);var n=.7,i=e.clockwise;t.arc(e.cx,e.cy,e.r,e.sStartAngle,e.sEndAngle,!i),t.bezierCurveTo((e.cx-e.s2[0])*n+e.s2[0],(e.cy-e.s2[1])*n+e.s2[1],(e.cx-e.t1[0])*n+e.t1[0],(e.cy-e.t1[1])*n+e.t1[1],e.t1[0],e.t1[1]),t.arc(e.cx,e.cy,e.r,e.tStartAngle,e.tEndAngle,!i),t.bezierCurveTo((e.cx-e.t2[0])*n+e.t2[0],(e.cy-e.t2[1])*n+e.t2[1],(e.cx-e.s1[0])*n+e.s1[0],(e.cy-e.s1[1])*n+e.s1[1],e.s1[0],e.s1[1]),t.closePath()},e.prototype.updateData=function(t,e,n,i,r){var o=t.hostModel,a=e.graph.getEdgeByIndex(n),s=a.getLayout(),l=a.node1.getModel(),u=e.getItemModel(a.dataIndex),c=u.getModel("lineStyle"),h=u.getModel("emphasis"),d=h.get("focus"),p=PM(gG(l.getModel("itemStyle"),s,!0),s),f=this;isNaN(p.sStartAngle)||isNaN(p.tStartAngle)?f.setShape(p):(r?(f.setShape(p),cU(f,a,t,c)):(CL(f),cU(f,a,t,c),bL(f,{shape:p},o,n)),$k(this,"adjacency"===d?a.getAdjacentDataIndices():d,h.get("blurScope"),h.get("disabled")),Qk(f,u,"lineStyle"),e.setItemGraphicEl(a.dataIndex,f))},e}(Oi),ky=Math.PI/180,Ly=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=Ty,e}return IM(e,t),e.prototype.init=function(t,e){},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group,a=-t.get("startAngle")*ky;if(i.diff(r).add(function(t){if(i.getItemLayout(t)){var e=new Dy(i,t,a);Ki(e).dataIndex=t,o.add(e)}}).update(function(e,n){var s=r.getItemGraphicEl(n);i.getItemLayout(e)?(s?s.updateData(i,e,a):s=new Dy(i,e,a),o.add(s)):s&&TL(s,t,n)}).remove(function(e){var n=r.getItemGraphicEl(e);n&&TL(n,t,e)}).execute(),!r){var s=t.get("center");this.group.scaleX=.01,this.group.scaleY=.01,this.group.originX=fn(s[0],n.getWidth()),this.group.originY=fn(s[1],n.getHeight()),wL(this.group,{scaleX:1,scaleY:1},t)}this._data=i,this.renderEdges(t,a)},e.prototype.renderEdges=function(t,e){var n=t.getData(),i=t.getEdgeData(),r=this._edgeData,o=this.group;i.diff(r).add(function(t){var r=new Ay(n,i,t,e);Ki(r).dataIndex=t,o.add(r)}).update(function(t,a){var s=r.getItemGraphicEl(a);s.updateData(n,i,t,e),o.add(s)}).remove(function(e){var n=r.getItemGraphicEl(e);n&&TL(n,t,e)}).execute(),this._edgeData=i},e.prototype.dispose=function(){},e.type=Ty,e}(il),Py=Math.PI/180,Oy=_A(Ty,hU),Ry=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Ny=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new Ry},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Oi),Ey=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:fn(n[0],e.getWidth()),cy:fn(n[1],e.getHeight()),r:fn(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?Nd:$r,h=u.get("show"),d=u.getModel("lineStyle"),p=d.get("width"),f=[s,l];$A(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;h&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(B+=Math.PI):"tangential"===z?B=-M-Math.PI/2:$M(z)&&(B=z*Math.PI/180),0===B?h.add(new Xi({style:fP(x,{text:O,x:N,y:E,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):h.add(new Xi({style:fP(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:B}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var V=0;V<=b;V++){u=Math.cos(M),c=Math.sin(M);var G=new ao({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-S-P)+d,y2:c*(f-S-P)+p},silent:!0,style:D});"auto"===D.stroke&&G.setStyle({stroke:i((k+V/b)/_)}),h.add(G),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,c=this._data,h=this._progressEls,d=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=fn(o.get("width"),r.r),s=fn(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=fn(u[0],r.r),h=fn(u[1],r.r),d=o.get("keepAspect");return(i=l?CN(l,c-a/2,h-s,a,s,null,d):new Ny({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?Nd:$r,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,c=i?r.r:r.r-t*a,h=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:c}});return i&&(h.z2=cD(y.get(v,t),[m,x],[100,0],!0)),h}(g||p)&&(y.diff(c).add(function(e){var n=y.get(v,e);if(p){var i=w(e,o);wL(i,{rotation:-((isNaN(+n)?b[0]:cD(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");wL(r,{shape:{endAngle:cD(n,_,b,a)}},t),u.add(r),$i(t.seriesIndex,y.dataType,e,r),d[e]=r}}).update(function(e,n){var i=y.get(v,e);if(p){var r=c.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,bL(s,{rotation:-((isNaN(+i)?b[0]:cD(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=h[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");bL(m,{shape:{endAngle:cD(i,_,b,x)}},t),u.add(m),$i(t.seriesIndex,y.dataType,e,m),d[e]=m}}).execute(),y.each(function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled"),s=i(cD(y.get(v,t),_,[0,1],!0));if(p){var l=y.getItemGraphicEl(t),u=y.getItemVisual(t,"style"),c=u.fill;if(l instanceof Bi){var h=l.style;l.useStyle(PM({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},u))}else l.useStyle(u),"pointer"!==l.type&&l.setColor(c);l.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===l.style.fill&&l.setStyle("fill",s),l.z2EmphasisLift=0,Qk(l,e),$k(l,r,o,a)}if(g){var f=d[t];f.useStyle(y.getItemVisual(t,"style")),f.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),"auto"===f.style.fill&&f.setStyle("fill",s),f.z2EmphasisLift=0,Qk(f,e),$k(f,r,o,a)}}),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=CN(r,e.cx-i/2+fn(o[0],e.r),e.cy-i/2+fn(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new Ze,h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add(function(t){h[t]=new Xi({silent:!0}),d[t]=new Xi({silent:!0})}).update(function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]}).execute(),a.each(function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Ze,y=i(cD(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+fn(m[0],r.r),_=r.cy+fn(m[1],r.r);(D=h[e]).attr({z2:f?0:2,style:fP(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+fn(w[0],r.r),M=r.cy+fn(w[1],r.r),I=fn(b.get("width"),r.r),T=fn(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=d[e],A=b.get("formatter");D.attr({z2:f?0:2,style:fP(b,{x:S,y:M,text:pU(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),mP(D,{normal:b},o,function(t){return pU(t,A)}),p&&xP(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return pU(a?a.interpolatedValue:o,A)}}),g.add(D)}c.add(g)}),this.group.add(c),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(il),zy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return IM(e,t),e.prototype.getInitialData=function(t,e){return MG(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,Ba.color.neutral10]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:Ba.color.axisTick,width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:Ba.color.axisTickMinor,width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:Ba.color.axisLabel,fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:Ba.color.neutral00,borderWidth:0,borderColor:Ba.color.theme[0]}},title:{show:!0,offsetCenter:[0,"20%"],color:Ba.color.secondary,fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:Ba.color.transparent,borderWidth:0,borderColor:Ba.color.neutral40,width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:Ba.color.primary,fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Qs),By="funnel",Vy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new jd(I(this.getData,this),I(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return MG(this,{coordDimensions:["value"],encodeDefaulter:XM(SO,this)})},e.prototype._defaultLabelLine=function(t){HD(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series."+By,e.defaultOption={coordinateSystemUsage:"box",z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:65,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:Ba.color.neutral00,borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:Ba.color.primary}}},e}(Qs),Gy=["itemStyle","opacity"],Fy=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new io,a=new Xi;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return IM(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(Gy);l=null==l?1:l,n||CL(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,wL(i,{style:{opacity:l}},r,e)):bL(i,{style:{opacity:l},shape:{points:a.points}},r,e),Qk(i,o),this._updateLabel(t,e),$k(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;dP(r,pP(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}});var c="inherit"===a.getModel("label").get("color")?u:null;n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:c,outsideFill:c});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new J(h[0][0],h[0][1]):null},bL(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),GB(n,FB(a),{stroke:u})},e}(eo),Hy=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=By,e.ignoreLabelLineUpdate=!0,e}return IM(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add(function(t){var e=new Fy(i,t);i.setItemGraphicEl(t,e),o.add(e)}).update(function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)}).remove(function(e){TL(r.getItemGraphicEl(e),t,e)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type=By,e}(il),Wy=_A(By,gU),Uy=.3,Yy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new Ze,n._initialized=!1,n}return IM(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){var r=this._dataGroup;this._progressiveEls=[],r.removeAll();var o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=_U(t);if(o.diff(a).add(function(t){bU(xU(o,r,t,l,s),o,t,u)}).update(function(e,n){var i=a.getItemGraphicEl(n);r.add(i);var c=mU(o,e,l,s);o.setItemGraphicEl(e,i),bL(i,{shape:{points:c}},t,e),CL(i),bU(i,o,e,u)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var i=t.model,r=t.getRect(),o=new Hi({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),wL(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,function(){setTimeout(function(){r.removeClipPath()})});r.setClipPath(c)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=this._progressiveEls=[],a=t.start;a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&IU(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}},Jy=$y="parallel",Qy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&kM(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){VM(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];VM(HM(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this),function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})},e.type=Jy,e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(za),tv=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return IM(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(_h),ev=function(){function t(t,e,n){this.type=$y,this._axesMap=gI(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;VM(i,function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=mz(o),s=this._axesMap.set(t,new tv(t,xz(o,a,!1),[0,0],a,i));s.onBand=Dz(s.scale,o),s.inverse=o.get("inverse"),o.axis=s,s.model=o,s.coordinateSystem=o.coordinateSystem=this},this)},t.prototype.update=function(t,e){VM(this.dimensions,function(t){var e=this._axesMap.get(t);Yz(e,1),$z(e)},this)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype.resize=function(t,e){var n=gO(t,e).refContainer;this._rect=pO(t.getBoxLayoutParams(),n),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=AU(e.get("axisExpandWidth"),l),h=AU(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,p=e.get("axisExpandWindow");p?(t=AU(p[1]-p[0],l),p[1]=p[0]+t):(t=AU(c*(h-1),l),(p=[c*(e.get("axisExpandCenter")||sn(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-h);f<3&&(f=0);var g=[sn(fD(p[0]/c,1))+1,ln(fD(p[1]/c,1))-1],y=f/c*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),VM(n,function(e,n){var o=(i.axisExpandable?LU:kU)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:dn/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=[1,0,0,1,0,0];aT(c,c,u),oT(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){n??(n=0),i??(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];VM(o,function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)});for(var l=this.hasAxisBrushed(),u=n;ur*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?TU(a,i,o,"all"):l="none";else{var d=i[1]-i[0];(i=[rn(0,o[1]*s/d-d/2)])[1]=nn(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}(),nv={create:PU},iv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return IM(e,t),e.prototype.getAreaSelectStyle=function(){return DA([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=AM(t);if(e)for(var n=e.length-1;n>=0;n--)yD(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;ii.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=VU(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new ea(r[a],this,e));return EW(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}),e.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})}).data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return DR("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return DR("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);return null==i.value&&"node"===n&&(i.value=this.getGraph().getNodeByIndex(e).getLayout().value),i},e.prototype.__ownRoamView=function(){return this.coordinateSystem},e.type="series."+wv,e.layoutMode="box",e.defaultOption={z:2,coordinateSystemUsage:"box",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,roam:!1,roamTrigger:"global",center:null,zoom:1,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:Ba.color.neutral50,opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:Ba.color.primary}},animationEasing:"linear",animationDuration:1e3},e}(Qs),Mv=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},Iv=function(t){function e(e){return t.call(this,e)||this}return IM(e,t),e.prototype.getDefaultShape=function(){return new Mv},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){zk(this)},e.prototype.downplay=function(){Bk(this)},e}(Oi),Tv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=wv,e._mainGroup=new Ze,e}return IM(e,t),e.prototype.init=function(t,e){this._controller=new Qp(e.getZr()),this.group.add(this._mainGroup),this._firstRender=!0},e.prototype.render=function(t,e,n){var i=t.getGraph(),r=this._mainGroup,o=t.layoutInfo,a=o.width,s=o.height,l=t.getData(),u=t.getData("edge"),c=t.get("orient");r.removeAll(),r.x=o.x,r.y=o.y,this._updateViewCoordSys(t,n),rH(t,n,this._controller,oH(r),null),i.eachEdge(function(e){var n=new Iv,i=Ki(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var o,l,h,d,p,f,g,y,v=e.getModel(),m=v.getModel("lineStyle"),x=m.get("curveness"),_=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),I=e.node2.getModel(),T=I.get("localX"),C=I.get("localY"),D=e.getLayout();n.shape.extent=Math.max(1,D.dy),n.shape.orient=c,"vertical"===c?(o=(null!=w?w*a:_.x)+D.sy,l=(null!=S?S*s:_.y)+_.dy,h=(null!=T?T*a:M.x)+D.ty,p=o,f=l*(1-x)+(d=null!=C?C*s:M.y)*x,g=h,y=l*x+d*(1-x)):(o=(null!=w?w*a:_.x)+_.dx,l=(null!=S?S*s:_.y)+D.sy,p=o*(1-x)+(h=null!=T?T*a:M.x)*x,f=l,g=o*x+h*(1-x),y=d=(null!=C?C*s:M.y)+D.ty),n.setShape({x1:o,y1:l,x2:h,y2:d,cpx1:p,cpy1:f,cpx2:g,cpy2:y}),n.useStyle(m.getItemStyle()),pY(n.style,c,e);var A=""+v.get("value"),k=pP(v,"edgeLabel");dP(n,k,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,lI(o,k.normal&&k.normal.get("formatter"),A),a)}},labelDataIndex:e.dataIndex,defaultText:A}),n.setTextConfig({position:"inside"});var L=v.getModel("emphasis");Qk(n,v,"lineStyle",function(t){var n=t.getItemStyle();return pY(n,c,e),n}),r.add(n),u.setItemGraphicEl(e.dataIndex,n);var P=L.get("focus");$k(n,"adjacency"===P?e.getAdjacentDataIndices():"trajectory"===P?e.getTrajectoryDataIndices():P,L.get("blurScope"),L.get("disabled"))}),i.eachNode(function(e){var n=e.getLayout(),i=e.getModel(),o=i.get("localX"),u=i.get("localY"),c=i.getModel("emphasis"),h=i.get(["itemStyle","borderRadius"])||0,d=new Hi({shape:{x:null!=o?o*a:n.x,y:null!=u?u*s:n.y,width:n.dx,height:n.dy,r:h},style:i.getModel("itemStyle").getItemStyle(),z2:10});dP(d,pP(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),d.disableLabelAnimation=!0,d.setStyle("fill",e.getVisual("color")),d.setStyle("decal",e.getVisual("style").decal),Qk(d,i),r.add(d),l.setItemGraphicEl(e.dataIndex,d),Ki(d).dataType="node";var p=c.get("focus");$k(d,"adjacency"===p?e.getAdjacentDataIndices():"trajectory"===p?e.getTrajectoryDataIndices():p,c.get("blurScope"),c.get("disabled"))}),l.eachItemGraphicEl(function(e,i){l.getItemModel(i).get("draggable")&&(e.drift=function(e,r){this.shape.x+=e,this.shape.y+=r,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:l.getRawIndex(i),localX:this.shape.x/a,localY:this.shape.y/s})},e.draggable=!0,e.cursor="move")}),!this._data&&t.isAnimationEnabled()&&r.setClipPath(function(t,e,n){var i=new Hi({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return wL(i,{shape:{width:t.width+20}},e,n),i}(r.getBoundingRect(),t,function(){r.removeClipPath()})),this._data=t.getData(),this._firstRender=!1},e.prototype.__updateOnOwnRoam=function(t,e,n){ZF(this.group,2,e.coordinateSystem,null)},e.prototype.dispose=function(){this._controller&&this._controller.dispose()},e.prototype._updateViewCoordSys=function(t,e){var n=t.layoutInfo,i=t.coordinateSystem=uH(t,e,n.x,n.y,n.width,n.height);ZF(this.group,2,i,this._firstRender?null:t)},e.type=wv,e}(il),Cv=_A(wv,fY),Dv=_A(wv,TY),Av=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type"),l=t.layout;"category"===a?(l="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s&&(l="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")),l||(l="time"===s?"vertical":"horizontal"),this._layout=l;var u=["x","y"],c="horizontal"===l?0:1,h=this._baseAxisDim=u[c],d=u[1-c],p=[r,o],f=p[c].get("type"),g=p[1-c].get("type"),y=t.data;if(y&&i){var v=[];VM(y,function(t,e){var n;ZM(t)?(n=t.slice(),t.unshift(e)):ZM(t.value)?((n=PM({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)}),t.data=v}var m=this.defaultValueDimensions,x=[{name:h,type:AE(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:AE(g),dimsDef:m.slice()}];return MG(this,{coordDimensions:x,dimensionsCount:m.length+1,encodeDefaulter:XM(wO,x,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t.prototype.getWhiskerBoxesLayout=function(){return this._layout},t}(),kv="boxplot",Lv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return IM(e,t),e.type="series."+kv,e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,boxWidth:[7,50],itemStyle:{color:Ba.color.neutral00,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:Ba.color.shadow}},animationDuration:800},e}(Qs),zM(Lv,Av,!0),Pv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=kv,e}return IM(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.getWhiskerBoxesLayout()?1:0,s=t.get("clip",!0),l=t.coordinateSystem,u=l.getArea&&l.getArea(),c=s&&vV(l,!1,t);i.diff(o).add(function(t){if(i.hasValue(t)){var e=i.getItemLayout(t),n=s?DY(u,e):0;if(2===n)return;var o=AY(e,i,t,a,!0);mV(1===n,o,c),i.setItemGraphicEl(t,o),r.add(o)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var l=i.getItemLayout(t),h=s?DY(u,l):0;2!==h?(n?(CL(n),kY(l,n,i,t)):n=AY(l,i,t,a),mV(1===h,n,c),r.add(n),i.setItemGraphicEl(t,n)):r.remove(n)}else r.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)}).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.type=kv,e}(il),Ov=function(){},Rv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new Ov},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},Bv="candlestick",Vv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return IM(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series."+Bv,e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Qs),zM(Vv,Av,!0),Gv=["itemStyle","borderColor"],Fv=["itemStyle","borderColor0"],Hv=["itemStyle","borderColorDoji"],Wv=["itemStyle","color"],Uv=["itemStyle","color0"],Yv={seriesType:Bv,plan:jR(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=RY(r,i),o.stroke=NY(r,i)||o.fill,PM(e.ensureUniqueItemVisual(n,"style"),o)}}}}},Xv=["color","borderColor"],Zv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){QL(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea(),l=o&&vV(a,!1,t);this._data||i.removeAll();var u=VY(t);e.diff(n).add(function(n){if(e.hasValue(n)){var a=e.getItemLayout(n),c=o?DY(s,a):0;if(2===c)return;var h=EY(a,0,u,!0);wL(h,{shape:{points:a.ends}},t,n),mV(1===c,h,l),zY(h,e,n,r),i.add(h),e.setItemGraphicEl(n,h)}}).update(function(a,c){var h=n.getItemGraphicEl(c);if(e.hasValue(a)){var d=e.getItemLayout(a),p=o?DY(s,d):0;2!==p?(h?(bL(h,{shape:{points:d.ends}},t,a),CL(h)):h=EY(d,0,u),zY(h,e,a,r),mV(1===p,h,l),i.add(h),e.setItemGraphicEl(a,h)):i.remove(h)}else i.remove(h)}).remove(function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)}).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),GY(t,this.group);var e=t.get("clip",!0)?vV(t.coordinateSystem,!1,t):null;mV(!!e,this.group,e)},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox"),o=VY(e);null!=(n=t.next());){var a=EY(i.getItemLayout(n),0,o);zY(a,i,n,r),a.incremental=mA(e),this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){GY(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),mV(!1,this.group,null),this._data=null},e.type=Bv,e}(il),jv=function(){},qv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new jv},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Oi),Kv=function(){},$v=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return IM(e,t),e.prototype.getDefaultShape=function(){return new Kv},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;ig?b[o]:_[o],ends:M,brushRect:D(y,v,p)})}function T(t,n){var i=[];return i[r]=n,i[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function C(t,e,n){var o=e.slice(),a=e.slice();o[r]=No(o[r]+i/2,1,!1),a[r]=No(a[r]-i/2,1,!0),n?t.push(o,a):t.push(a,o)}function D(t,e,n){var a=T(t,n),s=T(e,n);return a[r]-=i/2,s[r]-=i/2,{x:a[0],y:a[1],width:o?i:s[0]-a[0],height:o?s[1]-a[1]:i}}function A(t){return t[r]=No(t[r],1),t}}}}},tm=function(t){function e(e,n){var i=t.call(this)||this,r=new Uh(e,n),o=new Ze;return i.add(r),i.add(o),i.updateData(e,n),i}return IM(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var c=void 0;c=jM(u)?u(n):u,i.__t>0&&(c=-o*i.__t),this._animateSymbol(i,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during(function(){o._updateSymbolPosition(t)});i||a.done(function(){o.remove(t)}),a.start()}},e.prototype._getLineLength=function(t){return N(t.__p1,t.__cp1)+N(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<=1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=OT,l=RT;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<=1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),c=t.__t<=1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=t.__t<=1?u[0]-l[0]:l[0]-u[0],h=t.__t<=1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(h,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(im),am=function(){this.polyline=!1,this.curveness=0,this.segs=[]},sm=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return IM(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.beforeBrush=function(t){t&&!t.contentRetained&&this.reset()},e.prototype.getDefaultStyle=function(){return{stroke:Ba.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new am},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],c=i[s++],h=1;h0){if(tk(u,c,(u+d)/2-(c-p)*r,(c+p)/2-(d-u)*r,d,p,o,t,e))return a}else if(JA(u,c,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),um={seriesType:"lines",plan:jR(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c0&&l&&s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)}),r.updateData(i);var u=t.get("clip",!0)&&vV(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData(),mA(e)),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=this._lineDraw;if(!(this._finished&&r&&r.updateLayout))return{update:!0};var o=um.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),r.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new lm:new gy(r?i?om:rm:i?im:fy),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=uP(t);e&&null!=this._lastZlevel&&e.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(il),hm="undefined"==typeof Uint32Array?Array:Uint32Array,dm="undefined"==typeof Float64Array?Array:Float64Array,pm=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return IM(e,t),e.prototype.init=function(e){e.data=e.data||[],jY(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(jY(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=yI(this._flatCoords,e.flatCoords),this._flatCoordsOffset=yI(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")}return DR("nameValue",{name:a,value:r,noValue:null==r||isNaN(r)})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Qs),fm={seriesType:"lines",reset:function(t){var e=qY(t.get("symbol")),n=qY(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=qY(n.getShallow("symbol",!0)),r=qY(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},gm=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=u.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var p=0;p0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return h.putImageData(m,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=u.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor=Ba.color.neutral99,i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),ym=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type||"matrix"===r.type?this._renderOnGridLike(t,n,0,t.getData().count()):bV(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(bV(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnGridLike(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){QL(this._progressiveEls||this.group,t)},e.prototype._renderOnGridLike=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,c=_V(u,"cartesian2d"),h=_V(u,"matrix");if(c){var d=u.getAxis("x"),p=u.getAxis("y");o=SB(d).w+.5,a=SB(p).w+.5,s=d.scale.getExtent(),l=p.scale.getExtent()}for(var f=this.group,g=t.getData(),y=t.getModel(["emphasis","itemStyle"]).getItemStyle(),v=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),x=t.get(["itemStyle","borderRadius"]),_=pP(t),b=t.getModel("emphasis"),w=b.get("focus"),S=b.get("blurScope"),M=b.get("disabled"),I=c||h?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],T=n;Ts[1]||kl[1])continue;var L=u.dataToPoint([A,k]);C=new Hi({shape:{x:L[0]-o/2,y:L[1]-a/2,width:o,height:a},style:D})}else if(h){if(oI((P=u.dataToLayout([g.get(I[0],T),g.get(I[1],T)]).rect).x))continue;C=new Hi({z2:1,shape:P,style:D})}else{if(isNaN(g.get(I[1],T)))continue;var P,O=u.dataToLayout([g.get(I[0],T)]);if(oI((P=O.contentRect||O.rect).x)||oI(P.y))continue;C=new Hi({z2:1,shape:P,style:D})}if(g.hasItemOption){var R=g.getItemModel(T),N=R.getModel("emphasis");y=N.getModel("itemStyle").getItemStyle(),v=R.getModel(["blur","itemStyle"]).getItemStyle(),m=R.getModel(["select","itemStyle"]).getItemStyle(),x=R.get(["itemStyle","borderRadius"]),w=N.get("focus"),S=N.get("blurScope"),M=N.get("disabled"),_=pP(R)}C.shape.r=x;var E=t.getRawValue(T),z="-";E&&null!=E[2]&&(z=E[2]+""),dP(C,_,{labelFetcher:t,labelDataIndex:T,defaultOpacity:D.opacity,defaultText:z}),C.ensureState("emphasis").style=y,C.ensureState("blur").style=v,C.ensureState("select").style=m,$k(C,w,S,M),C.incremental=mA(t,r),r&&(C.states.emphasis.hoverLayer=2),f.add(C),g.setItemGraphicEl(T,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new gm;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-c,g=p-h,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=h,r.push(i),r}),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=GM(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&iI&&!ID(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new Cm(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",function(t){r._rootToNode(o.parentNode)})):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");a&&aO(a,o.get("target",!0)||"_blank")}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:km,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type=Dm,e}(il),Rm=_A(Dm,_X),Nm=Math.PI/180,Em=_A(Dm,bX),zm={color:"fill",borderColor:"stroke"},Bm={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Vm=JD(),Gm=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return FE(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=Vm(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Qs),Hm=UM(Fm={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]}),FM(Ee,function(t,e){return t[e]=1,t},{}),Ee.join(", "),Wm=["","style","shape","extra"],Um=JD(),Ym={},Xm={setTransform:function(t,e){return Ym.el[t]=e,this},getTransform:function(t){return Ym.el[t]},setShape:function(t,e){var n=Ym.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=Ym.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=Ym.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=Ym.el.style;if(e)return e[t]},setExtra:function(t,e){return(Ym.el.extra||(Ym.el.extra={}))[t]=e,this},getExtra:function(t){var e=Ym.el.extra;if(e)return e[t]}},Zm=JD(),jm=["percent","easing","shape","style","extra"],Qm=[Km="normal",qm="emphasis",$m="blur",Jm="select"],tx={normal:["itemStyle"],emphasis:[qm,"itemStyle"],blur:[$m,"itemStyle"],select:[Jm,"itemStyle"]},ex={normal:["label"],emphasis:[qm,"label"],blur:[$m,"label"],select:[Jm,"label"]},nx=["x","y"],ix="e\0\0",rx={normal:{},emphasis:{},blur:{},select:{}},ox={cartesian2d:IX,geo:CX,single:AX,polar:LX,calendar:PX,matrix:OX},ax=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=$X(t,o,e,n);r||a.removeAll(),o.diff(r).add(function(e){QX(n,null,e,s(e,i),t,a,o)}).remove(function(e){var n=r.getItemGraphicEl(e);n&&zX(n,Vm(n).option,t)}).update(function(e,l){QX(n,r.getItemGraphicEl(l),e,s(e,i),t,a,o)}).execute();var l=t.get("clip",!0)?vV(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=$X(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=mA(e),t.ensureState("emphasis").hoverLayer=2)}for(var u=t.start;ua)return!0;if(o){var s=ZG(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=sx(t).pointerEl=new Ao[r.type](lx(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=sx(t).labelEl=new Xi(lx(e.label));t.add(r),pZ(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=sx(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=sx(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),pZ(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=YL(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){j(t.event)},onmousedown:ux(this._onHandleDragMove,this,0,0),drift:ux(this._onHandleDragMove,this),ondragend:ux(this._onHandleDragEnd,this)}),i.add(r)),gZ(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");ZM(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,tN(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){hZ(this._axisPointerModel,!e&&this._moveAnimation,this._handle,fZ(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(fZ(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(fZ(i)),sx(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),eN(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}(),hx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=o.getGlobalExtent(),u=TZ(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=yZ(i),d=dx[s](o,c,l,u,i.get("seriesDataIndices"),i.ecModel);d.style=h,t.graphicKey=d.type,t.pointer=d}_Z(e,t,$V(a.getRect(),n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=$V(e.axis.grid.getRect(),e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=xZ(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=TZ(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=nn(a[1],u[l]),u[l]=rn(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];return h[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(cx),dx={line:function(t,e,n,i){return{type:"Line",subPixelOptimize:!0,shape:bZ([e,i[0]],[e,i[1]],CZ(t))}},shadow:function(t,e,n,i,r,o){var a=MZ(t,r,o),s=i[1]-i[0],l=IZ(e,n,a),u=l[0],c=l[1];return{type:"Rect",shape:wZ([u,i[0]],[c-u,s],CZ(t))}}},px=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:Ba.color.border,width:1,type:"dashed"},shadowStyle:{color:Ba.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:Ba.color.neutral00,padding:[5,7,5,7],backgroundColor:Ba.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:Ba.color.accent40,throttle:40}},e}(za),fx=JD(),gx=VM,yx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click|mousewheel";DZ("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){LZ("axisPointer",e)},e.prototype.dispose=function(t,e){LZ("axisPointer",e)},e.type="axisPointer",e}(tl),vx=JD(),mx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=o.getExtent(),l=a.getOtherAxis(o).getExtent(),u=o.dataToCoord(e),c=i.get("type");if(c&&"none"!==c){var h=yZ(i),d=xx[c](o,a,u,s,l,i.get("seriesDataIndices"),i.ecModel);d.style=h,t.graphicKey=d.type,t.pointer=d}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];aT(d,d,s),oT(d,d,[i.cx,i.cy]),l=VL([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=xd.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",c=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,a,i.get(["label","margin"]));vZ(t,n,i,r,p)},e}(cx),xx={line:function(t,e,n,i,r){return"angle"===t.dim?{type:"Line",shape:bZ(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,r,o,a){var s,l=Math.PI/180,u=MZ(t,o,a);if("angle"===t.dim)s=SZ(e.cx,e.cy,r[0],r[1],(-n-u/2)*l,(u/2-n)*l);else{var c=IZ(n,i,u),h=c[0],d=c[1];s=SZ(e.cx,e.cy,h,d,0,2*Math.PI)}return{type:"Sector",shape:s}}},bx=_x="polar",Sx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},e.type=_x,e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(za),Mx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Mn).models[0]},e.type="polarAxis",e}(za),zM(Mx,Gc),Ix=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="angleAxis",e}(Mx),Tx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="radiusAxis",e}(Mx),Cx=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return IM(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(_h),Cx.prototype.dataToRadius=_h.prototype.dataToCoord,Cx.prototype.radiusToData=_h.prototype.coordToData,Dx=JD(),Ax=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return IM(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=UC(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),h=Dx(t.model),d=h.lastAutoInterval,p=h.lastTickCount;return null!=d&&null!=p&&Math.abs(d-c)<=1&&Math.abs(p-r)<=1&&d>c?c=d:(h.lastTickCount=r,h.lastAutoInterval=c),c},e}(_h),Ax.prototype.dataToAngle=_h.prototype.dataToCoord,Ax.prototype.angleToData=_h.prototype.coordToData,kx=["radius","angle"],Lx=function(){function t(t){this.dimensions=kx,this.type=_x,this.cx=0,this.cy=0,this._radiusAxis=new Cx,this._angleAxis=new Ax,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e,n){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)],n)},t.prototype.pointToData=function(t,e,n){n=n||[];var i=this.pointToCoord(t);return n[0]=this._radiusAxis.radiusToData(i[0],e),n[1]=this._angleAxis.angleToData(i[1],e),n},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t,e){e=e||[];var n=t[0],i=t[1]/180*Math.PI;return e[0]=Math.cos(i)*n+this.cx,e[1]=-Math.sin(i)*n+this.cy,e},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s},x:this.cx-e[1],y:this.cy-e[1],width:2*e[1],height:2*e[1]}},t.prototype.convertToPixel=function(t,e,n){return FZ(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return FZ(e)===this?this.pointToData(n):null},t}(),Px={dimensions:kx,create:function(t,e){var n=[];return t.eachComponent(bx,function(t,i){var r=new Lx(i+"");r.update=HZ;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");WZ(o,s),WZ(a,l),function(t,e,n){var i=e.get("center"),r=gO(e,n).refContainer;t.cx=fn(i[0],r.width)+r.x,t.cy=fn(i[1],r.height)+r.y;var o=t.getRadiusAxis(),a=Math.min(r.width,r.height)/2,s=e.get("radius");null==s?s=[0,"100%"]:ZM(s)||(s=[0,s]);var l=[fn(s[0],a),fn(s[1],a)];o.inverse?o.setExtent(l[1],l[0]):o.setExtent(l[0],l[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.coordinateSystem=t.getReferringComponents(bx,Mn).models[0].coordinateSystem;e&&(Bz(e.getRadiusAxis(),t,_x),Bz(e.getAngleAxis(),t,_x))}}),n}},Ox=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"],Rx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return IM(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords({breakTicks:"none"}),a=n.getMinorTicksCoords(),s=[];VM(n.getViewLabels(),function(t){if(!t.tick.offInterval){t=AM(t);var e=n.scale;t.coord=n.dataToCoord(Cz(e,t.tick)),s.push(t)}}),XZ(s),XZ(o),VM(Ox,function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||Nx[e](this.group,t,i,o,a,r,s)},this)}},e.type="angleAxis",e}(Tp),Nx={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,c=l.getExtent(),h=YZ(n),d=h?0:1,p=360===Math.abs(c[1]-c[0])?"Circle":"Arc";(a=0===o[d]?new Ao[p]({shape:{cx:n.cx,cy:n.cy,r:o[h],startAngle:-c[0]*u,endAngle:-c[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Qr({shape:{cx:n.cx,cy:n.cy,r:o[h],r0:o[d]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[YZ(n)],u=GM(i,function(t){return new ao({shape:UZ(n,[l,l+s],t.coord)})});t.add(Ro(u,{style:RM(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[YZ(n)],c=[],h=0;hf?"left":"right",v=Math.abs(p[1]-g)/d<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[h]){var m=s[h];JM(m)&&m.textStyle&&(a=new ea(m.textStyle,l,l.ecModel))}var x=new Xi({silent:xd.isLabelSilent(e),style:fP(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),$L({el:x,componentModel:e,itemName:i.formattedLabel,formatterParamsExtra:{isTruncated:function(){return x.isTruncated},value:i.rawLabel,tickIndex:r}}),c){var _=xd.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,Ki(x).eventData=_}},this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t,e,n){n=n||[];var i=this.getAxis();return n[0]=i.coordToData(i.toLocalCoord(t["horizontal"===i.orient?0:1])),n},t.prototype.dataToPoint=function(t,e,n){var i=this.getAxis(),r=this.getRect();n=n||[];var o="horizontal"===i.orient?0:1;return t instanceof Array&&(t=t[0]),n[o]=i.toGlobalCoord(i.dataToCoord(+t)),n[1-o]=0===o?r.y+r.height/2:r.x+r.width/2,n},t.prototype.convertToPixel=function(t,e,n){return $Z(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return $Z(e)===this?this.pointToData(n):null},t}(),Kx={create:JZ,dimensions:jx},$x=["x","y"],Jx=["width","height"],Qx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=QZ(o),l=tj(a,s),u=tj(a,1-s),c=a.dataToPoint(e)[0],h=i.get("type");if(h&&"none"!==h){var d=yZ(i),p=t_[h](o,c,l,u,i.get("seriesDataIndices"),i.ecModel);p.style=d,t.graphicKey=p.type,t.pointer=p}_Z(e,t,KZ(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=KZ(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=xZ(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=QZ(r),s=tj(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=tj(o,1-a),c=(u[1]+u[0])/2,h=[c,c];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(cx),t_={line:function(t,e,n,i){return{type:"Line",subPixelOptimize:!0,shape:bZ([e,i[0]],[e,i[1]],QZ(t))}},shadow:function(t,e,n,i,r,o){var a=MZ(t,r,o),s=i[1]-i[0],l=IZ(e,n,a),u=l[0],c=l[1];return{type:"Rect",shape:wZ([u,i[0]],[c-u,s],QZ(t))}}},e_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="single",e}(tl),n_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(e,n,i){var r=xO(e);t.prototype.init.apply(this,arguments),nj(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),nj(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.layoutMode="box",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:Ba.color.axisLine,width:1,type:"solid"}},itemStyle:{color:Ba.color.neutral00,borderWidth:1,borderColor:Ba.color.neutral10},dayLabel:{show:!0,firstDay:0,position:"start",margin:Ba.size.s,color:Ba.color.secondary},monthLabel:{show:!0,position:"start",margin:Ba.size.s,align:"center",formatter:null,color:Ba.color.secondary},yearLabel:{show:!0,position:null,margin:Ba.size.xl,formatter:null,color:Ba.color.quaternary,fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(za),i_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToCalendarLayout([s],!1).tl,u=new Hi({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToCalendarLayout([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new io({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToCalendarLayout([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return qM(t)&&t?eO(t,e):jM(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),y=new Xi({z2:30,style:fP(r,{text:g}),silent:r.get("silent")});y.attr(this._yearTextPositionControl(y,h[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!qM(o)||(o&&(e=MP(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,p=r.get("silent"),f=0;f=r.start.time&&i.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/r_)-Math.floor(n[0].time/r_)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o}),e.eachComponent(function(t,e){uO({targetModel:e,coordSysType:"calendar",coordSysProvider:ka})}),i},t.dimensions=["time","value"],t}(),a_={level:1,leaf:2,nonLeaf:3},s_={none:0,all:1,body:2,corner:3},l_=[],u_=function(){function t(t,e){this._cells=[],this._levels=[],this.dim=t,this.dimIdx="x"===t?0:1,this._model=e,this._uniqueValueGen=function(t){var e=t.toUpperCase(),n=new RegExp("^"+e+"([0-9]+)$"),i=0;function r(){return""+e+i++}return{calcDupBase:function(t){var e;null!=t&&(e=t.match(n))&&(i=rn(i,+e[1]+1))},ensureValueUnique:function(t,e){for(var n=gI(),i=0;i=0;l--){var d,p,f;if(f=null!=(p=jD((d=n[l]).id,null))?r.get(p):null){var g=f.parent,y=(h=N_(g),{}),v=yO(f,d,g===i?{width:o,height:a}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},y);if(!N_(f).isNew&&v){for(var m=d.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}bL(f,x,t,0)}else f.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(n){Bj(n,N_(n).option,e,t._lastGraphicModel)}),this._elMap=gI()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(tl),z_=["x","y","radius","angle","single"],B_=JD(),V_=["cartesian2d","polar","singleAxis"],G_=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),F_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return IM(e,t),e.prototype.init=function(t,e,n){var i=Zj(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=Zj(t);kM(this.option,t,!0),kM(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;VM([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=gI();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return VM(z_,function(n){var i=this.getReferringComponents(Fj(n),In);if(i.specified){e=!0;var r=new G_;VM(i.models,function(t){r.add(t.componentIndex)}),t.set(n,r)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}function o(e,n){var r=e[0];if(r){var o=new G_;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Mn).models[0];a&&VM(e,function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Mn).models[0]&&o.add(t.componentIndex)})}}}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),i&&VM(z_,function(e){if(i){var r=n.findComponents({mainType:Fj(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new G_;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){!t&&(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");VM([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(Fj(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){VM(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){return Yj(this.getAxisModel(t,e))},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(Fj(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;VM([["start","startValue"],["end","endValue"]],function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;VM(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getWindow().percent},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getWindow().value;var n=this.findRepresentativeAxisProxy();return n?n.getWindow().value:void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return Yj(t);for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=Fj(this._dimName),i=e.getReferringComponents(n,Mn).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return AM(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._extent,i=this.getAxisModel().axis,r=i.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[],u=[!1,!1];VM(["start","end"],function(i,c){var h=t[i],d=t[i+"Value"];"percent"===o[c]?(h??(h=a[c]),d=cD(h,a,n),u[c]=!0):(e=!0,null==d?d=n[c]:(d=r.parse(d),r.sanitize&&(d=r.sanitize(d,n))),h=cD(d,n,a)),l[c]=null==d||isNaN(d)?n[c]:d,s[c]=null==h||isNaN(h)?a[c]:h}),yD(l),yD(s);var c=this._minMaxSpan;function h(t,e,n,i,r){var o=r?"Span":"ValueSpan";TU(0,t,n,"all",c["min"+o],c["max"+o]);for(var a=0;a<2;a++)e[a]=cD(t[a],n,i,!0),r&&(e[a]=e[a],u[a]=!0);pA(e)}e?h(l,s,n,a,!1):h(s,l,a,n,!0);var d=ez(r)||QE(r),p=i.getExtent(),f=on(p[1]-p[0]),g=d?0:_D(l,f,.5);VM([[0,ln],[1,sn]],function(t){var e=t[0],i=t[1];u[e]&&isFinite(g)&&(l[e]=fD(l[e],g),l[e]=nn(n[1],rn(n[0],l[e])),s[e]===a[e]&&(l[e]=n[e],d&&(l[e]=i(l[e]))))}),pA(l);var y=[cD(l[0],n,a,!0),cD(l[1],n,a,!0)];return pA(y),{value:l,percent:s,percentInverted:y,valuePrecision:g}},t.prototype.reset=function(t,e){if(this.hostedBy(t)){var n=this.getAxisModel().axis;Yz(n,2);var i=n.scale.rawExtentInfo;this._extent=i.makeNoZoom(),this._updateMinMaxSpan();var r=t.settledOption;e&&(r=RM({start:e[0],end:e[1]},r));var o=this._window=this.calculateDataWindow(r),a=o.percent,s=o.value;0!==a[0]&&i.setZoomMM(0,s[0]),100!==a[1]&&i.setZoomMM(1,s[1])}},t.prototype.filterData=function(t,e){if(this.hostedBy(t)){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._window.value;"none"!==r&&VM(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=GM(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,r,l=0;lo[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n})}else VM(i,function(n){if("empty"===r)t.setData(e=e.map(n,function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN}));else{var i={};i[n]=o,e.selectRange(i)}});VM(i,function(t){e.setApproximateExtent(o,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._extent;VM(["min","max"],function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=cD(n[0]+o,n,[0,100],!0):null!=r&&(o=cD(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o},this)},t}(),X_={dirtyOnOverallProgress:!0,getTargetSeries:function(t){var e,n=[];e=function(e,i,r,o){if(!Yj(r)){var a=new Y_(e,i,o,t);n.push(a),function(t,e){Uj(t.ecModel).set(t.uid,e)}(r,a)}},t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,r){e(i,r,t.getComponent(Fj(i),r),n)})});var i=gI();return VM(n,function(t){VM(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){var n=[];t.eachTargetAxis(function(e,i){var r=t.getAxisProxy(e,i),o=Xj(t,r);o?n.push([r,o]):r.reset(t,null)}),VM(n,function(e){e[0].reset(t,e[1].getWindow().percentInverted)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getWindow(),i=n.percent,r=n.value;t.setCalculatedRange({start:i[0],end:i[1],startValue:r[0],endValue:r[1]})}})}},Z_=fA(),j_=function(){},q_={},K_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(e,n,i){var r=i.getTheme().get("toolbox"),o=r?r.feature:null;o&&(this._themeFeatureOption=PM({},o),r.feature={}),t.prototype.init.call(this,e,n,i),o&&(r.feature=o)},e.prototype.optionUpdated=function(){VM(this.option.feature,function(t,e){var n=this._themeFeatureOption,i=$j(e);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(this.ecModel)),n&&n[e]&&(kM(t,n[e]),n[e]=null),kM(t,i.defaultOption))},this)},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:Ba.color.border,borderRadius:0,borderWidth:0,padding:Ba.size.m,itemSize:15,itemGap:Ba.size.s,showTitle:!0,iconStyle:{borderColor:Ba.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:Ba.color.accent70}},tooltip:{show:!1,position:"bottom"}},e}(za),$_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features=gI()),u=[];VM(s,function(t,e){u.push(e)}),new nc(this._featureNames||[],u).add(f).update(f).remove(XM(f,null)).execute(),this._featureNames=HM(u,function(t){return l.hasKey(t)});var c=gO(t,n).refContainer,h=t.getBoxLayoutParams(),d=t.get("padding"),p=pO(h,c,d);Ra(t.get("orient"),r,t.get("itemGap"),p.width,p.height),yO(r,h,c,d),r.add(Jj(r.getBoundingRect(),t)),a||r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!jM(l)&&e){var u=l.style||(l.style={}),c=UC(e,Xi.makeFont(u)),h=t.x+r.x,d=!1;t.y+r.y+o+c.height>n.getHeight()&&(a.position="top",d=!0);var p=d?-5-c.height:o+10;h+c.width/2>n.getWidth()?(a.position=["100%",p],u.align="right"):h-c.width/2<0&&(a.position=[0,p],u.align="left")}})}function f(c,h){var d,p=null!=c&&null==h,f=null!=c&&null!=h,g=null==c,y=p||f?u[c]:u[h],v=s[y],m=p||f?new ea(v,t,e):null,x=m&&m.get("show");if(p){if(!x)return;if(function(t){return 0===t.indexOf("my")}(y))d={onclick:m.option.onclick,featureName:y};else{var _=$j(y);if(!_)return;d=new _}l.set(y,d)}else d=l.get(y);if(g||!x)return Qj(d)&&d.dispose&&d.dispose(e,n),void l.removeKey(y);i&&null!=i.newTitle&&i.featureName===y&&(v.title=i.newTitle),p&&(d.uid=_P("toolbox-feature")),d.model=m,d.ecModel=e,d.api=n,function(i,s,l){var u,c,h=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),p=s instanceof j_&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};qM(p)?(u={})[l]=p:u=p,qM(f)?(c={})[l]=f:c=f;var g=i.iconPaths={};VM(u,function(l,u){var p=YL(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new Xi({style:{text:c[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null,font:vP({fontStyle:d.get("textFontStyle"),fontFamily:d.get("textFontFamily"),fontSize:d.get("textFontSize"),fontWeight:d.get("textFontWeight")},e)},ignore:!0});p.setTextContent(f),$L({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),p.__title=c[u],p.on("mouseover",function(){var e=d.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||Ba.color.neutral99,backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()}),("emphasis"===i.get(["iconStatus",u])?zk:Bk)(p),r.add(p),p.on("click",I(s.onclick,s,e,n,u)),g[u]=p})}(m,d,y),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?zk:Bk)(i[t])},Qj(d)&&d.render&&d.render(m,e,n,i)}},e.prototype.updateView=function(t,e,n,i){VM(this._features,function(t){t&&t instanceof j_&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.dispose=function(t,e){VM(this._features,function(n){n&&n instanceof j_&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(tl),J_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||Ba.color.neutral00,connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=o.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=s.split(","),c=u[0].indexOf("base64")>-1,h=r?decodeURIComponent(u[1]):u[1];c&&(h=window.atob(h));var d=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var p=h.length,f=new Uint8Array(p);p--;)f[p]=h.charCodeAt(p);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,d)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(h),m.close(),v.focus(),m.execCommand("SaveAs",!0,d),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:Ba.color.neutral00,name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(j_),Q_="__ec_magicType_stack__",tb=[["line","bar"],["stack"]],eb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return VM(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(nb[n]){var o,a={series:[]};VM(tb,function(t){NM(t,n)>=0&&VM(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(t){var e=t.subType,r=t.id,o=nb[n](e,r,t,i);o&&(RM(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,Mn).models[0].componentIndex;a[u]=a[u]||[];for(var h=0;h<=c;h++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(o=kM({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(j_),nb={line:function(t,e,n,i){if("bar"===t)return kM({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return kM({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Q_;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),kM({id:e,stack:r?"":Q_},i.get(["option","stack"])||{},!0)}},fE({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),ib=new Array(60).join("-"),rb="\t",ob=new RegExp("["+rb+"]+","g"),ab=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||Ba.color.neutral00;var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var r,o=t.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)n.push(t);else{var a=o.getBaseAxis();if("category"===a.type){var s=(r=a).dim+"_"+r.index;e[s]||(e[s]={categoryAxis:a,valueAxis:o.getOtherAxis(a),series:[]},i.push({axisDim:a.dim,axisIndex:a.index})),e[s].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:HM([(n=r.seriesGroupByCategoryAxis,i=[],VM(n,function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(GM(t.series,function(t){return t.name})),a=[n.model.getCategories()];VM(t.series,function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),function(t){return t}))});for(var s=[o.join(rb)],l=0;l=0)&&t(r,i._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=gb[t.brushType](0,n,e);t.__rangeOffset={offset:yb[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){VM(t,function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&VM(i.coordSyses,function(i){n(t,gb[t.brushType](1,i,t.range,!0).values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){VM(t,function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=gb[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?yb[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=lq(n),o=lq(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}},this)},t.prototype.makePanelOpts=function(t,e){return GM(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:sY(i),isTargetByCursor:uY(i,t,n.coordSysModel),getLinearBrushOtherExtent:lY(i)}})},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&NM(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=oq(e,t),r=0;r=0||NM(i,t.getAxis("y").model)>=0)&&o.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:fb.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){VM(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:fb.geo})})}},pb=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],fb={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys.view,e=OF(null,t);return vt(e,e,LF(null,t)),e}},gb={lineX:XM(aq,0),lineY:XM(aq,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[rq([r[0],o[0]]),rq([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:GM(n,function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}),xyMinMax:r}}},yb={lineX:XM(sq,0),lineY:XM(sq,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return GM(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}},vb=VM,mb=bn+"toolbox-dataZoom_",xb={x:"width",y:"height"},_b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new yv(n.getZr()),this._brushController.on("brush",I(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new hb(uq(t),e,{include:["grid"]}).makePanelOpts(r,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(a).enableBrush(!(!o||!a.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),cq(t,e)},e.prototype.onclick=function(t,e,n){bb[n].call(this)},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new hb(uq(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,function(t,e,n){if("cartesian2d"===n.type){var i=n.master.getRect().clone(),o=t.brushType;"rect"===o?(r("x",n,i,e[0]),r("y",n,i,e[1])):r({lineX:"x",lineY:"y"}[o],n,i,e)}}),function(t,e){var n=iq(t);sb(e,function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}}),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r,o){var a=e.getAxis(t),s=a.model,l=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,s,i),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan(),c=a.scale.getExtent();null==u.minValueSpan&&null==u.maxValueSpan||(o=TU(0,o.slice(),c,0,u.minValueSpan,u.maxValueSpan));var h=_D(c,r[xb[t]],.5);l&&(n[l.id]={dataZoomId:l.id,startValue:isFinite(h)?fD(o[0],h):o[0],endValue:isFinite(h)?fD(o[1],h):o[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];vb(t,function(t,n){e.push(AM(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:Ba.color.backgroundTint}}},e}(j_),bb={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=iq(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return sb(n,function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}}),i}(this.ecModel))}},qI="dataZoom",JI=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=QD(t,uq(i));return vb(o.xAxisModels,function(t){return a(t,"xAxis","xAxisIndex")}),vb(o.yAxisModels,function(t){return a(t,"yAxis","yAxisIndex")}),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:mb+e+o};a[n]=o,r.push(a)}},hI(null==qa.get(qI)&&JI),qa.set(qI,JI),wb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click|mousewheel",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:Ba.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:Ba.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:Ba.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:Ba.color.tertiary,fontSize:14}},e}(za),Sb=pq(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Mb=pq(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Ib=fq(Mb,"transition"),Tb=fq(Sb,"transform"),Cb="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(o.transform3dSupported?"will-change:transform;":""),Db=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,o.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,a=r&&(qM(r)?document.querySelector(r):eI(r)?r:jM(r)&&r(t.getDom()));vq(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),(a||t.getDom()).appendChild(n),this._api=t,this._container=a;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=i.handler;KI(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=(o="position",(a=(r=e).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r))?o?a[o]:a:null),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r,o,a,s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=Cb+yq(t,!this._firstShow,this._longHide,this._enableDisplayTransition)+gq(r[0],r[1],!0)+"border-color:"+oO(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(qM(r)&&"item"===n.get("trigger")&&!dq(n)&&(a=function(t,e,n){if(!qM(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=oO(e);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",c=Tb+":";NM(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),qM(t))o.innerHTML=t+a;else if(t){o.innerHTML="",ZM(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if("axis"!==t.get("trigger")&&(this._lastDataByCoordSys=null,this._cbParamsList=null),null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!o.node&&n.getDom()){var r=wq(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=tA(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o,a=eA(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a)return n.getViewOfComponentModel(a).group.traverse(function(e){var n=Ki(e).tooltipConfig;if(n&&n.name===t.name)return o=e,!0}),o?{componentMainType:r,componentIndex:a.componentIndex,el:o}:void 0}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=kb;u.x=i.x,u.y=i.y,u.update(),Ki(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var c=PZ(i,e),h=c.point[0],d=c.point[1];null!=h&&null!=d&&this._tryShow({offsetX:h,offsetY:d,target:c.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,this._cbParamsList=null,i.from!==this.uid&&this._hide(wq(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===bq([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){if("legend"===Ki(n).ssrType)return;var r,o;this._lastDataByCoordSys=null,this._cbParamsList=null,_N(n,function(t){if(t.tooltipDisabled)return r=o=null,!0;r||o||(null!=Ki(t).dataIndex?r=t:null!=Ki(t).tooltipConfig&&(o=t))},!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._cbParamsList=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=I(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=bq([e.tooltipOption],i),a=this._renderMode,s=[],l=DR("section",{blocks:[],noHeader:!0}),u=[],c=new Ks;VM(t,function(t){VM(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,o=e.axis,h=o.scale.parse(r);if(e&&null!=r){var d=mZ(r,o,n,t.seriesDataIndices,t.valueLabelOpt),p=DR("section",{header:d,noHeader:!dI(d),sortBlocks:!0,blocks:[]});l.blocks.push(p),VM(t.seriesDataIndices,function(r){var o=n.getSeriesByIndex(r.seriesIndex),l=r.dataIndexInside,f=o.getDataParams(l);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=bz(e.axis,{value:h}),f.axisValueLabel=d,f.marker=c.makeTooltipMarker("item",oO(f.color),a);var g=aR(o.formatTooltip(l,!0,null)),y=g.frag;if(y){var v=bq([o],i).get("valueFormatter");p.blocks.push(v?PM({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}})}})}),l.blocks.reverse(),u.reverse();var h=e.position,d=RR(l,c,a,o.get("order"),n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var p="richText"===a?"\n\n":"
",f=u.join(p);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,f,s,Math.random()+"",r[0],r[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Ki(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,c=s.getData(u),h=this._renderMode,d=t.positionDefault,p=bq([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new Ks;g.marker=y.makeTooltipMarker("item",oO(g.color),h);var v=aR(s.formatTooltip(l,!1,u)),m=p.get("order"),x=p.get("valueFormatter"),_=v.frag,b=_?RR(x?PM({valueFormatter:x},_):_,y,h,m,i.get("useUTC"),p.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(p,function(){this._showTooltipContent(p,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)}),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=Ki(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;qM(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=AM(o)).content=XI(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,c=bq(s,this._tooltipModel,u?{position:u}:null),h=c.get("content"),d=Math.random()+"",p=new Ks;this._showOrMove(c,function(){var n=AM(c.get("formatterParams")||{});this._showTooltipContent(c,h,n,d,t.offsetX,t.offsetY,t.position,e,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var h=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)).color;if(c)if(qM(c)){var p=t.ecModel.get("useUTC"),f=ZM(n)?n[0]:n;h=c,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(h=OP(f.axisValue,h,p)),h=tO(h,n,!0)}else if(jM(c)){var g=I(function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))},this);this._ticket=i,h=c(n,i,g)}else h=c;u.setContent(h,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||ZM(e)?{color:i||r}:ZM(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),c=t.get("align"),h=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),jM(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),ZM(e))n=fn(e[0],s),i=fn(e[1],l);else if(JM(e)){var p=e;p.width=u[0],p.height=u[1];var f=pO(p,{width:s,height:l});n=f.x,i=f.y,c=null,h=null}else if(qM(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,d,u,t.get("borderWidth"));n=g[0],i=g[1]}else g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}(n,i,r,s,l,c?null:20,h?null:20),n=g[0],i=g[1];c&&(n-=Sq(c)?u[0]/2:"right"===c?u[0]:0),h&&(i-=Sq(h)?u[1]/2:"bottom"===h?u[1]:0),dq(t)&&(g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,[t=Math.max(t,0),e=Math.max(e,0)]}(n,i,r,s,l),n=g[0],i=g[1]),r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&VM(n,function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&VM(a,function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&VM(a,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&VM(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,this._cbParamsList=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!o.node&&e.getDom()&&(eN(this,"_updatePosition"),this._tooltipContent.dispose(),LZ("itemTooltip",e),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},e.type="tooltip",e}(tl),Pb=["rect","polygon","keep","clear"],Ob=VM,Rb={lineX:Aq(0),lineY:Aq(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&aB(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(aB(i,r,o)||aB(i,r+a,o)||aB(i,r,o+s)||aB(i,r+a,o+s)||dt.create(t).contain(l[0],l[1])||XL(r,o,r+a,o,i)||XL(r,o,r,o+s,i)||XL(r+a,o,r+a,o+s,i)||XL(r,o+s,r+a,o+s,i))||void 0}}},Nb=["inBrush","outOfBrush"],Eb="__ecBrushSelect",zb="__ecInBrushSelectEvent",Bb=bA(Pq),Vb={rect:function(t){return Nq(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;ie[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&Nq(e)}},Gb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new yv(e.getZr())).on("brush",I(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){Lq(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:AM(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:AM(n),$from:e})},e.type="brush",e}(tl),Fb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return IM(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Dq(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:this.option.defaultOutOfBrushColor},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=GM(t,function(t){return Eq(this.option,t)},this))},e.prototype.setBrushOption=function(t){this.brushOption=Eq(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:Ba.color.backgroundTint,borderColor:Ba.color.borderTint},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4,defaultOutOfBrushColor:Ba.color.disabled},e}(za),Hb=["rect","polygon","lineX","lineY","keep","clear"],Wb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return IM(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length}),this._brushType=i,this._brushMode=r,VM(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return VM(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:Hb.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(j_),Ub=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return IM(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:Ba.size.m,backgroundColor:Ba.color.transparent,borderColor:Ba.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:Ba.color.primary},subtextStyle:{fontSize:12,color:Ba.color.quaternary}},e}(za),Yb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=sI(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Xi({style:fP(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),h=new Xi({style:fP(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,h.silent=!p&&!f,d&&l.on("click",function(){aO(d,"_"+t.get("target"))}),p&&h.on("click",function(){aO(p,"_"+t.get("subtarget"))}),Ki(l).eventData=Ki(h).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(h);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=pO(y,gO(t,n).refContainer,t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),h.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Hi({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(tl),Xb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return IM(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],VM(n,function(e,n){var i,o=jD(WD(e),"");JM(e)?(i=AM(e)).value=n:i=n,t.push(i),r.push(o)})):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new _c([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:Ba.size.m,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:Ba.color.secondary},data:[]},e}(za),Zb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="timeline.slider",e.defaultOption=wP(Xb.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:Ba.color.border,borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:Ba.color.accent10},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:Ba.color.tertiary},itemStyle:{color:Ba.color.accent20,borderWidth:0},checkpointStyle:{symbol:"circle",symbolSize:15,color:Ba.color.accent50,borderColor:Ba.color.accent50,borderWidth:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10.6699C11.5 9.90014 12.3333 9.41887 13 9.80371L20.5 14.1338C21.1667 14.5187 21.1667 15.4813 20.5 15.8662L13 20.1963C12.3333 20.5811 11.5 20.0999 11.5 19.3301V10.6699Z",stopIcon:"path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10C12.3284 10 13 10.6716 13 11.5V18.5C13 19.3284 12.3284 20 11.5 20C10.6716 20 10 19.3284 10 18.5V11.5C10 10.6716 10.6716 10 11.5 10ZM18.5 10C19.3284 10 20 10.6716 20 11.5V18.5C20 19.3284 19.3284 20 18.5 20C17.6716 20 17 19.3284 17 18.5V11.5C17 10.6716 17.6716 10 18.5 10Z",nextIcon:"path://M0.838834 18.7383C0.253048 18.1525 0.253048 17.2028 0.838834 16.617L7.55635 9.89949L0.838834 3.18198C0.253048 2.59619 0.253048 1.64645 0.838834 1.06066C1.42462 0.474874 2.37437 0.474874 2.96015 1.06066L10.7383 8.83883L10.8412 8.95277C11.2897 9.50267 11.2897 10.2963 10.8412 10.8462L10.7383 10.9602L2.96015 18.7383C2.37437 19.3241 1.42462 19.3241 0.838834 18.7383Z",prevIcon:"path://M10.9602 1.06066C11.5459 1.64645 11.5459 2.59619 10.9602 3.18198L4.24264 9.89949L10.9602 16.617C11.5459 17.2028 11.5459 18.1525 10.9602 18.7383C10.3744 19.3241 9.42462 19.3241 8.83883 18.7383L1.06066 10.9602L0.957771 10.8462C0.509245 10.2963 0.509245 9.50267 0.957771 8.95277L1.06066 8.83883L8.83883 1.06066C9.42462 0.474874 10.3744 0.474874 10.9602 1.06066Z",prevBtnSize:18,nextBtnSize:18,color:Ba.color.accent50,borderColor:Ba.color.accent50,borderWidth:0},emphasis:{label:{show:!0,color:Ba.color.accent60},itemStyle:{color:Ba.color.accent60,borderColor:Ba.color.accent60},controlStyle:{color:Ba.color.accent70,borderColor:Ba.color.accent70}},progress:{lineStyle:{color:Ba.color.accent30},itemStyle:{color:Ba.color.accent40}},data:[]}),e}(Xb),zM(Zb,As.prototype),jb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="timeline",e}(tl),qb=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return IM(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(_h),Kb=Math.PI,$b=JD(),Jb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return DR("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},VM(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](i,r,a,t)},this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return pO(t.getBoxLayoutParams(),gO(t,e).refContainer,t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:Kb/2},d="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,y=f?p.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*Kb/180;var x=p.get("position",!0),_=f&&p.get("showPlayBtn",!0),b=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,M=d;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;oT(o,o,[-a,-s]),aT(o,o,-Kb/2),oT(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),c=y(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var p,f=t.labelPosOpt;function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}null==f||qM(f)?(v(h,u,l,1,p="+"===f?0:1),v(d,c,l,1,1-p)):(v(h,u,l,1,p=f>=0?0:1),d[1]=h[1]+f),n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType")||e.get("type");"category"!==i&&"time"!==i&&(i="value");var r=xz(e,i,!1);r.getTicks=function(){return n.mapArray(["value"],function(t){return{value:t}})};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),Qz(r,{fixMinMax:[!0,!0]});var a=new qb("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Ze;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new ao({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:PM({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new ao({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:RM({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],VM(a,function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),h=Vq(s,l,e,{x:a,y:0,onclick:I(r._changeTimeline,r,t.value)});h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=c.getItemStyle(),Kk(h);var d=Ki(h);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(h)})},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],VM(a,function(i){if(!i.tick.offInterval){var a=i.tick.value,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),h=n.dataToCoord(a),d=new Xi({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:I(r._changeTimeline,r,a),silent:!1,style:fP(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=fP(u),d.ensureState("progress").style=fP(c),e.add(d),Kk(d),$b(d).dataIndex=a,r._tickLabels.push(d)}})}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function c(t,n,l,u){if(t){var c=jC(sI(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,o=YL(t.get(["controlStyle",e]),i||{},new dt(n[0],n[1],n[2],n[3]));return r&&o.setStyle(r),o}(i,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});h.ensureState("emphasis").style=s,e.add(h),Kk(h)}}c(t.nextBtnPosition,"next",I(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",I(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",I(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=I(s._handlePointerDrag,s),t.ondragend=I(s._handlePointerDragend,s),Gq(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){Gq(t,s._progressLine,o,n,i)}};this._currentPointer=Vq(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=yD(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&$M(l)&&(l=+l.toFixed(Math.min(f,20))),d.coord[c]=p.coord[c]=l,r=[d,p,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[qq(t,r[0]),qq(t,r[1]),PM({},r[2])];return g[2].type=g[2].type||null,kM(g[2],g[0]),kM(g[2],g[1]),g},uw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=tw.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=sw(e).from,o=sw(e).to;r.each(function(e){oK(r,e,!0,t,n),oK(o,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new gy);this.group.add(l.group);var u=function(t,e,n){var i;i=t?GM(t&&t.dimensions,function(t){var n=e.getData();return PM(PM({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new _c(i,n),o=new _c(i,n),a=new _c([],n),s=GM(n.get("data"),XM(lw,e,t,n));t&&(s=HM(s,XM(rK,t)));var l=Jq(!!t,i);return r.initData(GM(s,function(t){return t[0]}),null,l),o.initData(GM(s,function(t){return t[1]}),null,l),a.initData(GM(s,function(t){return t[2]})),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),c=u.from,h=u.to,d=u.line;sw(e).from=c,sw(e).to=h,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);oK(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=yN(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:sI(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:sI(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:sI(o.get("symbolSize"),f[r?0:1]),symbol:sI(o.get("symbol",!0),p[r?0:1]),style:s})}ZM(p)||(p=[p,p]),ZM(f)||(f=[f,f]),ZM(g)||(g=[g,g]),ZM(y)||(y=[y,y]),u.from.each(function(t){v(c,t,!0),v(h,t,!1)}),d.each(function(t){var e=d.getItemModel(t),n=e.getModel("lineStyle").getLineStyle();d.setItemLayout(t,[c.getItemLayout(t),h.getItemLayout(t)]);var i=e.get("z2");null==n.stroke&&(n.stroke=c.getItemVisual(t,"style").fill),d.setItemVisual(t,{z2:sI(i,0),fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:n})}),l.updateData(d),u.line.eachItemGraphicEl(function(t){Ki(t).dataModel=e,t.traverse(function(t){Ki(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(rw),cw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(tw),hw=JD(),dw=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=qq(t,r),s=qq(t,o),l=a.coord,u=s.coord;l[0]=aI(l[0],-1/0),l[1]=aI(l[1],-1/0),u[0]=aI(u[0],1/0),u[1]=aI(u[1],1/0);var c=LM([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}},pw=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],fw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=tw.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=GM(pw,function(r){return cK(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Ze});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r;if(t){var o=GM(t&&t.dimensions,function(t){var n=e.getData();return PM(PM({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})});r=GM(["x0","y0","x1","y1"],function(t,e){return{name:t,type:o[e%2].type}}),i=new _c(r,n)}else i=new _c(r=[{name:"value",type:"float"}],n);var a=GM(n.get("data"),XM(dw,e,t,n));t&&(a=HM(a,XM(uK,t)));var s=t?function(t,e,n,i){return lR(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return lR(t.value,r[i])};return i.initData(a,null,s),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each(function(e){var n=GM(pw,function(n){return cK(u,e,n,t,i)}),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),h=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],d=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];yD(h),yD(d);var p=!!(l[0]>h[1]||l[1]d[1]||c[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:Ba.size.m,align:"auto",backgroundColor:Ba.color.transparent,borderColor:Ba.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:Ba.color.disabled,inactiveBorderColor:Ba.color.disabled,inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:Ba.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:Ba.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:Ba.color.tertiary,borderWidth:1,borderColor:Ba.color.border},emphasis:{selectorLabel:{show:!0,color:Ba.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},e}(za),vw=XM,mw=VM,xw=Ze,_w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return IM(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new xw),this.group.add(this._selectorGroup=new xw),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=gO(t,n).refContainer,u=t.getBoxLayoutParams(),c=t.get("padding"),h=pO(u,l,c),d=this.layoutInner(t,r,h,i,a,s),p=pO(RM({width:d.width,height:d.height},u),l,c);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Jj(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=gI(),u=e.get("selectedMode"),c=e.get("triggerEvent"),h=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&h.push(t.id)}),mw(e.getData(),function(r,o){var a=this,d=r.get("name");if(!this.newlineDisabled&&(""===d||"\n"===d)){var p=new xw;return p.newline=!0,void s.add(p)}var f=n.getSeriesByName(d)[0];if(!l.get(d))if(f){var g=f.getData(),y=g.getVisual("legendLineStyle")||{},v=g.getVisual("legendIcon"),m=g.getVisual("style"),x=this._createItem(f,d,o,r,e,t,y,m,v,u,i);x.on("click",vw(dK,d,null,i,h)).on("mouseover",vw(pK,f.name,null,i,h)).on("mouseout",vw(fK,f.name,null,i,h)),n.ssr&&x.eachChild(function(t){var e=Ki(t);e.seriesIndex=f.seriesIndex,e.dataIndex=o,e.ssrType="legend"}),c&&x.eachChild(function(t){a.packEventData(t,e,f,o,d)}),l.set(d,!0)}else n.eachRawSeries(function(a){var s=this;if(!l.get(d)&&a.legendVisualProvider){var p=a.legendVisualProvider;if(!p.containName(d))return;var f=p.indexOfName(d),g=p.getItemVisual(f,"style"),y=p.getItemVisual(f,"legendIcon"),v=qT(g.fill);v&&0===v[3]&&(v[3]=.2,g=PM(PM({},g),{fill:iC(v,"rgba")}));var m=this._createItem(a,d,o,r,e,t,{},g,y,u,i);m.on("click",vw(dK,null,d,i,h)).on("mouseover",vw(pK,null,d,i,h)).on("mouseout",vw(fK,null,d,i,h)),n.ssr&&m.eachChild(function(t){var e=Ki(t);e.seriesIndex=a.seriesIndex,e.dataIndex=o,e.ssrType="legend"}),c&&m.eachChild(function(t){s.packEventData(t,e,a,o,d)}),l.set(d,!0)}},this)},this),r&&this._createSelector(r,e,i,o,a)},e.prototype.packEventData=function(t,e,n,i,r){var o={componentType:"legend",componentIndex:e.componentIndex,dataIndex:i,value:r,seriesIndex:n.seriesIndex};Ki(t).eventData=o},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();mw(t,function(t){var i=t.type,r=new Xi({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),dP(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Kk(r)})},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,c){var h=t.visualDrawType,d=r.get("itemWidth"),p=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),mw(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?jN(h,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(l=v||l||"roundRect",i,a,s,h,f,c),x=new xw,_=i.getModel("textStyle");if(!jM(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=CN(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill=Ba.color.neutral00,n.style.lineWidth=2),n}({itemWidth:d,itemHeight:p,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:d,itemHeight:p,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?d+5:-5,S=o,M=r.get("formatter"),I=e;qM(M)&&M?I=M.replace("{name}",null!=e?e:""):jM(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Xi({style:fP(_,{text:I,x:w,y:p/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Hi({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&$L({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild(function(t){t.silent=!0}),C.silent=!u,this.getContentGroup().add(x),Kk(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Ra(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Ra("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",y=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:u[p]+=c[f]+d,h[1-p]+=l[g]/2-c[g]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+d+c[f],v[g]=Math.max(l[g],c[g]),v[y]=Math.min(0,c[y]+h[1-p]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(tl),bw=bA(vK),ww=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=xO(e);t.prototype.init.call(this,e,n,i),xK(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),xK(this,this.option,e)},e.type="legend.scroll",e.defaultOption=wP(yw.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:Ba.color.accent50,pageIconInactiveColor:Ba.color.accent10,pageIconSize:15,pageTextStyle:{color:Ba.color.tertiary},animationDurationUpdate:800}),e}(yw),Sw=Ze,Mw=["width","height"],Iw=["x","y"],Tw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return IM(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new Sw),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Sw)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),h=ZM(c)?c:[c,c];p("pagePrev",0);var d=n.getModel("pageTextStyle");function p(t,e){var i=t+"DataIndex",o=YL(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:I(l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=t,u.add(o)}u.add(new Xi({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=Mw[s],u=Iw[s],c=Mw[1-s],h=Iw[1-s];r&&Ra("horizontal",a,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),p=a.getBoundingRect(),f=[-p.x,-p.y],g=AM(n);r&&(g[l]=n[l]-p[l]-d);var y=this._layoutContentAndController(t,i,g,s,l,c,h,u);if(r){if("end"===o)f[s]+=y[l]+d;else{var v=p[l]+d;f[s]-=v,y[u]-=v}y[l]+=p[l]+d,f[1-s]+=y[h]+y[c]/2-p[c]/2,y[c]=Math.max(y[c],p[c]),y[h]=Math.min(y[h],p[h]+f[1-s]),a.x=f[0],a.y=f[1],a.markRedraw()}return y},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;Ra(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),Ra("horizontal",c,t.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=c.getBoundingRect(),p=this._showController=h[r]>n[r],f=[-h.x,-h.y];e||(f[i]=l[s]);var g=[0,0],y=[-d.x,-d.y],v=sI(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-d[r]:g[i]+=d[r]+v),y[1-i]+=h[o]/2-d[o]/2,l.setPosition(f),u.setPosition(g),c.setPosition(y);var m={x:0,y:0};if(m[r]=p?n[r]:h[r],m[o]=Math.max(h[o],d[o]),m[a]=Math.min(0,d[a]+y[1-i]),u.__rectSize=n[r],p){var x={x:0,y:0};x[r]=Math.max(n[r]-d[r]-v,0),x[o]=m[o],u.setClipPath(new Hi({shape:x})),u.__rectSize=x[r]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var _=this._getPageInfo(t);return null!=_.pageIndex&&bL(l,{x:_.contentPosition[0],y:_.contentPosition[1]},p?t:null),this._updatePageInfoView(t,_),m},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;VM(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",qM(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=Mw[r],a=Iw[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=m(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,y=p,v=null;f<=c;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),y=v;for(f=s-1,g=p,y=p,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild(function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)}),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(_w),Cw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="dataZoom.inside",e.defaultOption=wP(F_.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(F_),Dw=JD(),Aw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return IM(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){Dw(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}(i,e,{pan:I(kw.pan,this),zoom:I(kw.zoom,this),scrollMove:I(kw.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=Dw(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return TU(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:TK(function(t,e,n,i,r,o){var a=Lw[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:TK(function(t,e,n,i,r,o){return Lw[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})},Lw={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},Pw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=wP(F_.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:Ba.color.accent10,borderRadius:0,backgroundColor:Ba.color.transparent,dataBackground:{lineStyle:{color:Ba.color.accent30,width:.5},areaStyle:{color:Ba.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:Ba.color.accent40,width:.5},areaStyle:{color:Ba.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:Ba.color.neutral00,borderColor:Ba.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:Ba.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:Ba.color.tertiary},brushSelect:!0,brushStyle:{color:Ba.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:Ba.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e}(F_),Ow=Hi,Rw="horizontal",Nw="vertical",Ew=["line","bar","candlestick","scatter"],zw={easing:"cubicOut",duration:100,delay:0},Bw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return IM(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=I(this._onBrush,this),this._onBrushEnd=I(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),tN(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){eN(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Ze;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=gO(t,e).refContainer,r=this._findCoordRect(),o=t.get("defaultLocationEdgeGap",!0)||0,a=this._orient===Rw?{right:i.width-r.x-r.width,top:i.height-30-o-n,width:r.width,height:30}:{right:o,top:r.y,width:30,height:r.height},s=xO(t.option);VM(["right","top","width","height"],function(t){"ph"===s[t]&&(s[t]=a[t])});var l=pO(s,i);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===Nw&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==Rw||r?n===Rw&&r?{scaleY:a?1:-1,scaleX:-1}:n!==Nw||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]),l=isNaN(s.x)?0:s.x,u=isNaN(s.y)?0:s.y;t.x=e.x-l,t.y=e.y-u,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new Ow({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new Ow({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:I(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(t.thisDim),c=r.getDataExtent(a),h=.3*(c[1]-c[0]);c=[c[0]-h,c[1]+h];var d,p=[0,e[1]],f=[0,e[0]],g=[[e[0],0],[0,0]],y=[],v=f[1]/Math.max(1,r.count()-1),m=e[0]/(u[1]-u[0]),x="time"===t.thisAxis.type,_=-v,b=Math.round(r.count()/e[0]);r.each([t.thisDim,a],function(t,e,n){if(b>0&&n%b)x||(_+=v);else{_=x?(+t-u[0])*m:_+v;var i=null==e||isNaN(e)||""===e,r=i?0:cD(e,c,p,!0);i&&!d&&n?(g.push([g[g.length-1][0],0]),y.push([y[y.length-1][0],0])):!i&&d&&(g.push([_,0]),y.push([_,0])),i||(g.push([_,r]),y.push([_,r])),d=i}}),s=this._shadowPolygonPts=g,l=this._shadowPolylinePts=y}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var w=this.dataZoomModel,S=0;S<3;S++){var M=I(1===S);this._displayables.sliderGroup.add(M),this._displayables.dataShadowSegs.push(M)}}}function I(t){var e=w.getModel(t?"selectedDataBackground":"dataBackground"),n=new Ze,i=new eo({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new io({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis(function(r,o){VM(t.getAxisProxy(r,o).getTargetSeriesModels(),function(t){if(!(n||!0!==e&&NM(Ew,t.get("type"))<0)){var a,s=i.getComponent(Fj(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:t.getData().mapDimension(r),otherDim:l,otherAxisInverse:a}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new Ow({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new Ow({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:Ba.color.transparent}})),VM([0,1],function(e){var o=a.get("handleIcon");!Wl[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s,l=CN(o,-1,0,2,2,null,!0);l.attr({cursor:(s=this._orient,"vertical"===s?"ns-resize":"ew-resize"),draggable:!0,drift:I(this._onDragMove,this,e),ondragend:I(this._onDragEnd,this),onmouseover:I(this._onOverDataInfoTriggerArea,this,!0),onmouseout:I(this._onOverDataInfoTriggerArea,this,!1),z2:5});var u=l.getBoundingRect(),c=a.get("handleSize");this._handleHeight=fn(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(a.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Kk(l);var h=a.get("handleColor");null!=h&&(l.style.fill=h),r.add(n[e]=l);var d=a.getModel("textStyle"),p=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new Xi({silent:!0,invisible:!p,style:fP(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))},this);var h=c;if(u){var d=fn(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new Hi({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=CN(a.get("moveHandleIcon"),-f/2,-f/2,f,f,Ba.color.neutral00,!0);g.silent=!0,g.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(d,10));(h=e.moveZone=new Hi({invisible:!0,shape:{y:o[1]-y,height:d+y}})).on("mouseover",function(){s.enterEmphasis(p)}).on("mouseout",function(){s.leaveEmphasis(p)}),r.add(p),r.add(g),r.add(h)}h.attr({draggable:!0,cursor:"grab",drift:I(this._onActualMoveZoneDrift,this),ondragstart:I(this._onActualMoveZoneDragStart,this),ondragend:I(this._onActualMoveZoneDragEnd,this),onmouseover:I(this._onOverDataInfoTriggerArea,this,!0),onmouseout:I(this._onOverDataInfoTriggerArea,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[cD(t[0],[0,100],e,!0),cD(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];TU(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?cD(o.minSpan,a,r,!0):null,null!=o.maxSpan?cD(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=yD([cD(i[0],r,a,!0),cD(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=yD(n.slice()),r=this._size;VM([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new J(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100],o=this._handleEnds=[n.x,n.x+n.width],a=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();TU(0,o,i,0,null!=a.minSpan?cD(a.minSpan,r,i,!0):null,null!=a.maxSpan?cD(a.maxSpan,r,i,!0):null),this._range=yD([cD(o[0],i,r,!0),cD(o[1],i,r,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(j(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new Ow({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?zw:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=Wj(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(W_),Vw={get:function(t,e,n){var i=AM((Gw[t]||{})[e]);return n&&ZM(i)?i[i.length-1]:i}},Gw={color:{active:["#006edd","#e0ffff"],inactive:[Ba.color.transparent]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},Fw=zg.mapVisual,Hw=zg.eachVisual,Ww=ZM,Uw=VM,Yw=yD,Xw=cD,Zw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return IM(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Dq(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=I(t,this),this.controllerVisuals=Cq(this.option.controller,e,t),this.targetVisuals=Cq(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this,e=this.option.seriesTargets;if(e){var n=[];return Uw(e,function(e){if(null!=e.seriesIndex)n.push(e.seriesIndex);else if(null!=e.seriesId){var i;t.ecModel.eachSeries(function(t){t.id===e.seriesId&&(i=t)}),i&&n.push(i.componentIndex)}}),n}var i=this.option.seriesId,r=this.option.seriesIndex;return null==r&&null==i&&(r="all"),GM(eA(this.ecModel,"series",{index:r,id:i},{useDefault:!1,enableAll:!0,enableNone:!1}).models,function(t){return t.componentIndex})},e.prototype.eachTargetSeries=function(t,e){VM(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],ZM(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return qM(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):jM(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=Yw([t.min,t.max]);this._dataExtent=e},e.prototype.getDimension=function(t){var e=this,n=this.option.seriesTargets;if(n){var i=WM(n,function(n){return null!=n.seriesIndex&&n.seriesIndex===t||null!=n.seriesId&&n.seriesId===e.ecModel.getSeriesByIndex(t).id});if(i)return i.dimension}return this.option.dimension},e.prototype.getDataDimensionIndex=function(t){var e=t.hostModel.seriesIndex,n=this.getDimension(e);if(null!=n)return t.getDimensionIndex(n);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var o=i[r],a=t.getDimensionInfo(o);if(!a.isCalculationCoord)return a.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});kM(i,n),kM(r,n);var o=this.isCategory();function a(n){Ww(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},Uw(i,function(t,e){if(zg.isValidType(e)){var n=Vw.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";Uw(this.stateList,function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&AM(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&AM(n)||(o?s[0]:[s[0],s[0]])),l.symbol=Fw(l.symbol,function(t){return"none"===t?r:t});var u=l.symbolSize;if(null!=u){var c=-1/0;Hw(u,function(t){t>c&&(c=t)}),l.symbolSize=Fw(u,function(t){return Xw(t,[0,c],[0,s[0]],!0)})}},this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:Ba.color.transparent,borderColor:Ba.color.borderTint,contentColor:Ba.color.theme[0],inactiveColor:Ba.color.disabled,borderWidth:0,padding:Ba.size.m,textGap:10,precision:0,textStyle:{color:Ba.color.secondary}},e}(za),jw=[20,140],qw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=jw[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=jw[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):ZM(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),VM(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=yD((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},e.prototype.getVisualMeta=function(t){var e=LK(0,0,this.getExtent()),n=LK(0,0,this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Ze("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);Qw([0,1],function(u){var c=r[u];c.setStyle("fill",e.handlesColor[u]),c.y=t[u];var h=Jw(t[u],[0,a[1]],s,!0),d=this.getControllerVisual(h,"symbolSize");c.scaleX=c.scaleY=d/a[0],c.x=a[0]-d/2;var p=VL(n.handleLabelPoints[u],BL(c,this.group));if("horizontal"===this._orient){var f="left"===l||"top"===l?(a[0]-d)/2:(a[0]-d)/-2;p[1]+=f}o[u].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),d=Jw(t,o,s,!0),p=a[0]-h/2,f={x:u.x,y:u.y};u.y=d,u.x=p;var g=VL(l.indicatorLabelPoint,BL(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:p,y:d,style:{fill:c}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,h=[];(e||NK(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}}),t.getData().setVisual("visualMeta",i)}}],sS=VM,lS=!1,uS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return IM(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],cS[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=AM(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=GM(this._pieceList,function(t){return t=AM(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=zg.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}VM(e.pieces,function(t){VM(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),VM(n,function(t,n){var i=!1;VM(this.stateList,function(t){i=i||o(e,t,n)||o(e.target,t,n)},this),!i&&VM(this.stateList,function(t){(e[t]||(e[t]={}))[n]=Vw.get(n,"inRange"===t?"active":"inactive",r)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,VM(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var o=!1;VM(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=AM(t)},e.prototype.getValueState=function(t){var e=zg.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries(function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(e,i){zg.findPieceIndex(e,n)===t&&r.push(i)},this),e.push({seriesId:i.id,dataIndex:r})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return VM(r,function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])},this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=wP(Zw.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(Zw),cS={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}},hS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=this._getItemAlign(),o=e.itemSize,a=this._getViewData(),s=a.endsText,l=aI(e.get("showLabel",!0),!s),u=!e.get("selectedMode");s&&this._renderEndsText(t,s[0],o,l,r),VM(a.viewPieceList,function(a){var s=a.piece,c=new Ze;c.onclick=I(this._onItemClick,this,s),this._enableHoverLink(c,a.indexInModelPieceList);var h=e.getRepresentValue(s);if(this._createItemSymbol(c,h,[0,0,o[0],o[1]],u),l){var d=this.visualMapModel.getValueState(h),p=i.get("align")||r;c.add(new Xi({style:fP(i,{x:"right"===p?-n:o[0]+n,y:o[1]/2,text:s.text,verticalAlign:i.get("verticalAlign")||"middle",align:p,opacity:sI(i.get("opacity"),"outOfRange"===d?.5:1)}),silent:u}))}t.add(c)},this),s&&this._renderEndsText(t,s[1],o,l,r),Ra(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:OK(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return PK(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Ze,a=this.visualMapModel.textStyleModel;o.add(new Xi({style:fP(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=GM(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=CN(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=AM(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,VM(r,function(t,e){r[e]=e===o})):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(Kw),dS=function(){function t(t){this._thumbnailModel=t}return t.prototype.reset=function(t){this._renderVersion=t.getECUpdateCycleVersion()},t.prototype.renderContent=function(t){var e=t.api.getViewOfComponentModel(this._thumbnailModel);e&&(t.group.silent=!0,e.renderContent({group:t.group,targetTrans:t.targetTrans,z2Range:rP(t.group),roamType:t.roamType,viewportRect:t.viewportRect,renderVersion:this._renderVersion}))},t.prototype.updateWindow=function(t,e){var n=e.getViewOfComponentModel(this._thumbnailModel);n&&n.updateWindow({targetTrans:t,renderVersion:this._renderVersion})},t}(),pS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return IM(e,t),e.prototype.optionUpdated=function(t,e){this._updateBridge()},e.prototype._updateBridge=function(){var t=this._birdge=this._birdge||new dS(this);this._target=null,this.ecModel.eachSeries(function(t){aU(t,null)}),this.shouldShow()&&aU(this.getTarget().baseMapProvider,t)},e.prototype.shouldShow=function(){return this.getShallow("show",!0)},e.prototype.getBridge=function(){return this._birdge},e.prototype.getTarget=function(){if(this._target)return this._target;var t=this.getReferringComponents("series",{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];return t?"graph"!==t.subType&&(t=null):t=this.ecModel.queryComponents({mainType:"series",subType:"graph"})[0],this._target={baseMapProvider:t},this._target},e.type="thumbnail",e.layoutMode="box",e.dependencies=["series","geo"],e.defaultOption={show:!0,right:1,bottom:1,height:"25%",width:"25%",itemStyle:{borderColor:Ba.color.border,borderWidth:2},windowStyle:{borderWidth:1,color:Ba.color.neutral30,borderColor:Ba.color.neutral40,opacity:.3},z:10},e}(za),fS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return IM(e,t),e.prototype.render=function(t,e,n){if(this._api=n,this._model=t,this._coordSys||(this._coordSys=new Tf),this._isEnabled()){this._renderVersion=n.getECUpdateCycleVersion();var i=this.group;i.removeAll();var r=t.getModel("itemStyle"),o=r.getItemStyle();null==o.fill&&(o.fill=e.get("backgroundColor")||Ba.color.neutral00);var a=gO(t,n).refContainer,s=pO(hO(t,!0),a),l=o.lineWidth||0,u=this._contentRect=qL(s.clone(),l/2,!0,!0),c=new Ze;i.add(c),c.setClipPath(new Hi({shape:u.plain()}));var h=this._targetGroup=new Ze;c.add(h);var d=s.plain();d.r=r.getShallow("borderRadius",!0),i.add(this._bgRect=new Hi({style:o,shape:d,silent:!1,cursor:"grab"}));var p=t.getModel("windowStyle"),f=p.getShallow("borderRadius",!0);c.add(this._windowRect=new Hi({shape:{x:0,y:0,width:0,height:0,r:f},style:p.getItemStyle(),silent:!1,cursor:"grab"})),this._dealRenderContent(),this._dealUpdateWindow(),XK(t,this)}else this._clear()},e.prototype.renderContent=function(t){this._bridgeRendered=t,this._isEnabled()&&(this._dealRenderContent(),this._dealUpdateWindow(),XK(this._model,this))},e.prototype._dealRenderContent=function(){var t=this._bridgeRendered;if(t&&t.renderVersion===this._renderVersion){var e=this._targetGroup,n=this._coordSys,i=this._contentRect;if(e.removeAll(),t){var r=t.group,o=r.getBoundingRect();e.add(r),this._bgRect.z2=t.z2Range.min-10,VF(n,o.x,o.y,o.width,o.height);var a=pO({left:"center",top:"center",aspect:o.width/o.height},i);GF(n,a.x,a.y,a.width,a.height),NF(r,n,0),r.dirty(),this._windowRect.z2=t.z2Range.max+10,this._resetRoamController(t.roamType)}}},e.prototype.updateWindow=function(t){var e=this._bridgeRendered;e&&e.renderVersion===t.renderVersion&&(e.targetTrans=t.targetTrans),this._isEnabled()&&this._dealUpdateWindow()},e.prototype._dealUpdateWindow=function(){var t=this._bridgeRendered;if(t&&t.renderVersion===this._renderVersion){var e=lT([],t.targetTrans),n=rT([],LF(null,this._coordSys),e);this._transThisToTarget=lT([],n);var i=t.viewportRect;(i=i?i.clone():new dt(0,0,this._api.getWidth(),this._api.getHeight())).applyTransform(n);var r=this._windowRect,o=r.shape.r;r.setShape(RM({r:o},i))}},e.prototype._resetRoamController=function(t){var e=this,n=this._api,i=this._roamController;i||(i=this._roamController=new Qp(n.getZr())),t&&this._isEnabled()?(i.enable(t,{api:n,zInfo:{component:this._model},triggerInfo:{roamTrigger:null,isInSelf:function(t,n,i){return e._contentRect.contain(n,i)}}}),i.off("pan").off("zoom").on("pan",I(this._onPan,this)).on("zoom",I(this._onZoom,this))):i.disable()},e.prototype._onPan=function(t){var e=this._transThisToTarget;if(this._isEnabled()&&e){var n=VI([],[t.oldX,t.oldY],e),i=VI([],[t.oldX-t.dx,t.oldY-t.dy],e);this._api.dispatchAction(YK(this._model.getTarget().baseMapProvider,{dx:i[0]-n[0],dy:i[1]-n[1]}))}},e.prototype._onZoom=function(t){var e=this._transThisToTarget;if(this._isEnabled()&&e){var n=VI([],[t.originX,t.originY],e);this._api.dispatchAction(YK(this._model.getTarget().baseMapProvider,{zoom:1/t.scale,originX:n[0],originY:n[1]}))}},e.prototype._isEnabled=function(){var t=this._model;return!(!t||!t.shouldShow()||!t.getTarget().baseMapProvider)},e.prototype._clear=function(){this.group.removeAll(),this._bridgeRendered=null,this._roamController&&this._roamController.disable()},e.prototype.remove=function(){this._clear()},e.prototype.dispose=function(){this._clear()},e.type="thumbnail",e}(tl),gS={label:{enabled:!0},decal:{show:!1}},yS=JD(),vS=JD(),mS=bA(jK),xS={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},_S=function(){function t(t){null==(this._condVal=qM(t)?new RegExp(t):rI(t)?t:null)&&VD("")}return t.prototype.evaluate=function(t){var e=typeof t;return qM(e)?this._condVal.test(t):!!$M(e)&&this._condVal.test(t+"")},t}(),bS=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),wS=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;ea.vmin?n+=a.vmin-i+(t-a.vmin)/(a.vmax-a.vmin)*a.gapReal:n+=t-i,i=a.vmax,r=!1;break}n+=a.vmin-i+a.gapReal,i=a.vmax}return r&&(n+=t-i),n},transformOut:function(t,e){if(e&&2===e.depth)return t;for(var n=GS,i=FS,r=!0,o=0,a=0;al?s.vmin+(t-l)/(u-l)*(s.vmax-s.vmin):i+t-n,i=s.vmax,r=!1;break}n=u,i=s.vmax}return r&&(o=i+t-n),o}},t}(),GS=0,FS=0,HS={vmin:"start",vmax:"end"},WS=JD(),US=Math.sin,YS=Math.cos,XS=Math.PI,ZS=2*Math.PI,jS=180/XS,qS=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,c=Math.abs(l),h=lC(c-ZS)||(u?l>=ZS:-l>=ZS),d=l>0?l%ZS:l%ZS+ZS,p=!1;p=!!h||!lC(c)&&d>=XS==!!u;var f=t+n*YS(o),g=e+i*US(o);this._start&&this._add("M",f,g);var y=Math.round(r*jS);if(h){var v=1/this._p,m=(u?1:-1)*(ZS-v);this._add("A",n,i,y,1,+u,t+n*YS(o+m),e+i*US(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*YS(a),_=e+i*US(a);this._add("A",n,i,y,+p,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],c=this._p,h=1;h"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var c=pJ("style","stl",{},[],u);o.push(c)}}return yJ(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},fJ(this.renderToVNode({animation:sI(t.cssAnimation,!0),emphasis:sI(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:sI(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!h||!r||h[f]!==r[f]);f--);for(var g=p-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=o)}}for(var u=nQ(this),c=u.startIdx;c=0)&&(o=!0)}),o||r.__dirty){var a=n._opts.useDirtyRect&&!eQ(r)?r.createRepaintRects(t,e,n._width,n._height):null,s=n._i.layerStack[0],l=!0;if(r.__dirty){l=!1,r.__dirty=!1;var u=r.zlevel===s.zl&&r.zlevel2===s.zl2?n._backgroundColor:null;r.clear(!1,u,a)}aQ(r,function(e){var o=n._paintPerCursor(r,e,t,a,l);i=i&&o})}},SM),o.wxa&&lQ(this._i,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),i},t.prototype._paintPerCursor=function(t,e,n,i,r){var o=t.ctx;if(i)if(i.length)for(var a=this.dpr,s=0;s=e.endIdx},t.prototype._paintPerCursorInRect=function(t,e,n,i,r){for(var o={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:r}},a=t.ctx,s=eQ(t),l=s&&u.getTime(),c=e.drawIdx,h=e.notClearIdx,d=h>=0?Math.min(h,c):c;d15){d++;break}}}ZN(a,o),e.drawIdx=Math.max(d,c)},t.prototype.getLayer=function(t,e){return this._ensureLayer(t,0,e)},t.prototype._ensureLayer=function(t,e,n){e=e||0;var i=this._singleCanvas;i&&!this._needsManuallyCompositing&&(t=mM,e=0);var r=sQ(this._i,t)[e];return r||(r=iQ("zr_"+t+"."+e,this,t,e),this._layerConfig[t]&&kM(r,this._layerConfig[t],!0),(n||i&&t!==mM)&&(r.virtual=!0),this._insertLayer(r,t,e,!1),r.initContext()),r},t.prototype.insertLayer=function(t,e){this._insertLayer(e,t,0,!1)},t.prototype._insertLayer=function(t,e,n,i){var r=this._i,o=r.layers,a=r.layerStack,s=this._domRoot,l=null;if((!o[e]||!o[e][n])&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(t)){for(var u=a.length,c=0;c0&&(l=sQ(r,a[c-1].zl)[a[c-1].zl2]),a.splice(c,0,{zl:e,zl2:n}),sQ(r,e)[n]=t,!i&&!t.virtual)if(l){var h=l.dom;h.nextSibling?s.insertBefore(t.dom,h.nextSibling):s.appendChild(t.dom)}else s.firstChild?s.insertBefore(t.dom,s.firstChild):s.appendChild(t.dom);t.painter||(t.painter=this)}},t.prototype.eachLayer=function(t,e){return lQ(this._i,function(n,i){t.call(e,n,i)})},t.prototype.eachBuiltinLayer=function(t,e){return lQ(this._i,function(n,i){t.call(e,n,i)},_M)},t.prototype.eachOtherLayer=function(t,e){return lQ(this._i,function(n,i){t.call(e,n,i)},bM)},t.prototype.getLayers=function(){var t={};return lQ(this._i,function(e,n,i){t[e.id]=e}),t},t.prototype._updateLayerStatus=function(t,e){var n,i=this;if(i._singleCanvas)for(var r=1;r=0;o--){var a=r.get(n[o]);if(a.used){var s=a.endIdxNew;(eQ(e)?s=0;i--){var r=e[i];if(r.zl===t){var o=n[t][r.zl2];if(o.__builtin__)continue;if(e.splice(i,1),n[t][r.zl2]=void 0,!o.virtual){var a=o.dom.parentNode;a&&a.removeChild(o.dom)}}}},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;null!=t&&(i.width=t),null!=e&&(i.height=e),t=ON(r,0,i),e=ON(r,1,i),n.style.display="",this._width===t&&e===this._height||(n.style.width=t+"px",n.style.height=e+"px",lQ(this._i,function(n){n.resize(t,e)}),this.refresh({paintAll:!0})),this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this._ensureLayer(mM).resize(t,e)}return this},t.prototype.clearLayer=function(t){VM(this._i.layers[t],function(t){t&&!t.__builtin__&&t.clear()})},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._i=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[314159][0].dom;var e=new yM("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;lQ(this._i,function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else{for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},a=this.storage.getDisplayList(!0),s=0,l=a.length;si.map(i=>d[i]); +import{i as e,t}from"./rolldown-runtime-DWdDZTNf.js";import{t as n}from"./preload-helper-NECkhNH4.js";import{a as r,n as i}from"./index-jtNAhQeK.js";import{t as a}from"./katex-BotMgawn.js";import{n as o}from"./faIcons-u_2ozSt4.js";import{n as s,t as c}from"./pptdExportSignature-DMnND2uP.js";import{C as l,w as u}from"./echarts-B_3wWCq7.js";import{n as d,r as f}from"./kimiDesign-kDxO8uUJ.js";var p=t((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var i=0;i-1}var _=n({HTML:`http://www.w3.org/1999/xhtml`,SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=i,e.find=t,e.freeze=n,e.HTML_BOOLEAN_ATTRIBUTES=a,e.HTML_RAW_TEXT_ELEMENTS=l,e.HTML_VOID_ELEMENTS=s,e.hasDefaultHTMLNamespace=p,e.hasOwn=r,e.isHTMLBooleanAttribute=o,e.isHTMLRawTextElement=u,e.isHTMLEscapableRawTextElement=d,e.isHTMLMimeType=f,e.isHTMLVoidElement=c,e.isValidMimeType=g,e.MIME_TYPE=m,e.NAMESPACE=_})),m=t((e=>{var t=p();function n(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=t.freeze({Error:`Error`,IndexSizeError:`IndexSizeError`,DomstringSizeError:`DomstringSizeError`,HierarchyRequestError:`HierarchyRequestError`,WrongDocumentError:`WrongDocumentError`,InvalidCharacterError:`InvalidCharacterError`,NoDataAllowedError:`NoDataAllowedError`,NoModificationAllowedError:`NoModificationAllowedError`,NotFoundError:`NotFoundError`,NotSupportedError:`NotSupportedError`,InUseAttributeError:`InUseAttributeError`,InvalidStateError:`InvalidStateError`,SyntaxError:`SyntaxError`,InvalidModificationError:`InvalidModificationError`,NamespaceError:`NamespaceError`,InvalidAccessError:`InvalidAccessError`,ValidationError:`ValidationError`,TypeMismatchError:`TypeMismatchError`,SecurityError:`SecurityError`,NetworkError:`NetworkError`,AbortError:`AbortError`,URLMismatchError:`URLMismatchError`,QuotaExceededError:`QuotaExceededError`,TimeoutError:`TimeoutError`,InvalidNodeTypeError:`InvalidNodeTypeError`,DataCloneError:`DataCloneError`,EncodingError:`EncodingError`,NotReadableError:`NotReadableError`,UnknownError:`UnknownError`,ConstraintError:`ConstraintError`,DataError:`DataError`,TransactionInactiveError:`TransactionInactiveError`,ReadOnlyError:`ReadOnlyError`,VersionError:`VersionError`,OperationError:`OperationError`,NotAllowedError:`NotAllowedError`,OptOutError:`OptOutError`}),i=Object.keys(r);function a(e){return typeof e==`number`&&e>=1&&e<=25}function o(e){return typeof e==`string`&&e.substring(e.length-r.Error.length)===r.Error}function s(e,t){a(e)?(this.name=i[e],this.message=t||``):(this.message=e,this.name=o(t)?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,s)}n(s,!0),Object.defineProperties(s.prototype,{code:{enumerable:!0,get:function(){var e=i.indexOf(this.name);return a(e)?e:0}}});for(var c={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},l=Object.entries(c),u=0;u{function t(e){try{typeof e!=`function`&&(e=RegExp);var t=new e(`𝌆`,`u`).exec(`𝌆`);return!!t&&t[0].length===2}catch{}return!1}var n=t();function r(e){if(e.source[0]!==`[`)throw Error(e+` can not be used with chars`);return e.source.slice(1,e.source.lastIndexOf(`]`))}function i(e,t){if(e.source[0]!==`[`)throw Error(`/`+e.source+`/ can not be used with chars_without`);if(!t||typeof t!=`string`)throw Error(JSON.stringify(t)+` is not a valid search`);if(e.source.indexOf(t)===-1)throw Error(`"`+t+`" is not is /`+e.source+`/`);if(t===`-`&&e.source.indexOf(t)!==1)throw Error(`"`+t+`" is not at the first postion of /`+e.source+`/`);return new RegExp(e.source.replace(t,``),n?`u`:``)}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var n=typeof e==`string`;if(n&&t===void 0&&e===`|`)throw Error("use regg instead of reg to wrap expressions with `|`!");return n?e:e.source}).join(``),n?`mu`:`m`)}function o(e){if(arguments.length===0)throw Error(`no parameters provided`);return a.apply(o,[`(?:`].concat(Array.prototype.slice.call(arguments),[`)`]))}var s=`�`,c=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(c=a(`[`,r(c),`\\u{10000}-\\u{10FFFF}`,`]`));var l=RegExp(`[^`+r(c)+`]`,n?`u`:``),u=/[\x20\x09\x0D\x0A]/,d=r(u),f=a(u,`+`),p=a(u,`*`),m=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(m=a(`[`,r(m),`\\u{10000}-\\u{10FFFF}`,`]`));var h=a(`[`,r(m),r(/[-.0-9\xB7]/),r(/[\u0300-\u036F\u203F-\u2040]/),`]`),g=a(m,h,`*`),_=a(h,`+`),v=o(a(`&`,g,`;`),`|`,o(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),y=a(`%`,g,`;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`,`no`),`"`)),`?`,p,/\?>/),q=``,se=a(//));e.chars=r,e.chars_without=i,e.detectUnicodeSupport=t,e.reg=a,e.regg=o,e.ABOUT_LEGACY_COMPAT=P,e.ABOUT_LEGACY_COMPAT_SystemLiteral=F,e.AttlistDecl=N,e.CDATA_START=J,e.CDATA_END=Y,e.CDSect=se,e.Char=c,e.Comment=ee,e.COMMENT_START=A,e.COMMENT_END=j,e.DOCTYPE_DECL_START=q,e.elementdecl=M,e.EntityDecl=U,e.EntityValue=b,e.ExternalID=R,e.ExternalID_match=z,e.Name=g,e.NotationDecl=ie,e.Reference=v,e.PEReference=y,e.PI=D,e.PUBLIC=L,e.PubidLiteral=k,e.PubidLiteral_match=B,e.QName=C,e.QName_exact=w,e.QName_group=T,e.S=f,e.SChar_s=d,e.S_OPT=p,e.SYSTEM=I,e.SystemLiteral=E,e.SystemLiteral_match=V,e.InvalidChar=l,e.UNICODE_REPLACEMENT_CHARACTER=s,e.UNICODE_SUPPORT=n,e.XMLDecl=K})),g=t((e=>{var t=p(),n=t.find,r=t.hasDefaultHTMLNamespace,i=t.hasOwn,a=t.isHTMLMimeType,o=t.isHTMLRawTextElement,s=t.isHTMLVoidElement,c=t.MIME_TYPE,l=t.NAMESPACE,u=Symbol(),d=m(),f=d.DOMException,g=d.DOMExceptionName,_=h();function v(e){if(e!==u)throw TypeError(`Illegal constructor`)}function y(e){return e!==``}function b(e){return e?e.split(/[\t\n\f\r ]+/).filter(y):[]}function x(e,t){return i(e,t)||(e[t]=!0),e}function S(e){if(!e)return[];var t=b(e);return Object.keys(t.reduce(x,{}))}function C(e){return function(t){return e&&e.indexOf(t)!==-1}}function w(e){if(!_.QName_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`invalid character in qualified name "`+e+`"`)}function T(e,n){w(n),e=e||null;var r=null,i=n;if(n.indexOf(`:`)>=0){var a=n.split(`:`);r=a[0],i=a[1]}if(r!==null&&e===null)throw new f(f.NAMESPACE_ERR,`prefix is non-null and namespace is null`);if(r===`xml`&&e!==t.NAMESPACE.XML)throw new f(f.NAMESPACE_ERR,`prefix is "xml" and namespace is not the XML namespace`);if((r===`xmlns`||n===`xmlns`)&&e!==t.NAMESPACE.XMLNS)throw new f(f.NAMESPACE_ERR,`either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace`);if(e===t.NAMESPACE.XMLNS&&r!==`xmlns`&&n!==`xmlns`)throw new f(f.NAMESPACE_ERR,`namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"`);return[e,r,i]}function E(e,t){for(var n in e)i(e,n)&&(t[n]=e[n])}function D(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,E(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var O={},k=O.ELEMENT_NODE=1,A=O.ATTRIBUTE_NODE=2,j=O.TEXT_NODE=3,ee=O.CDATA_SECTION_NODE=4,te=O.ENTITY_REFERENCE_NODE=5,ne=O.ENTITY_NODE=6,M=O.PROCESSING_INSTRUCTION_NODE=7,N=O.COMMENT_NODE=8,P=O.DOCUMENT_NODE=9,F=O.DOCUMENT_TYPE_NODE=10,I=O.DOCUMENT_FRAGMENT_NODE=11,L=O.NOTATION_NODE=12,R=t.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function z(e,t){if(t.length=0&&e=0){for(var i=t.length-1;r<=i;)t[r]=t[++r];if(t.length=i,e){var a=e.ownerDocument;a&&ce(a,e,n),n.ownerElement=null}}}U.prototype={length:0,item:V.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t0;){var n=t.pop(),r=n.node,i=n.other;if(r.nodeType!==i.nodeType)return!1;switch(r.nodeType){case r.DOCUMENT_TYPE_NODE:if(r.name!==i.name||r.publicId!==i.publicId||r.systemId!==i.systemId)return!1;break;case r.ELEMENT_NODE:if(r.namespaceURI!==i.namespaceURI||r.prefix!==i.prefix||r.localName!==i.localName||r.attributes.length!==i.attributes.length)return!1;for(var a=0;a=0;a--)t.push({node:r.childNodes[a],other:i.childNodes[a]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return ve(this,e,t)},replaceChild:function(e,t){ve(this,e,t,_e),t&&this.removeChild(t)},removeChild:function(e){return ue(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Ie(this.ownerDocument||this,this,e)},normalize:function(){J(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===j&&t.nodeType===j?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(i(n,r)&&n[r]===e)return r}t=t.nodeType==A?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&i(n,e))return n[e];t=t.nodeType==A?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,i=null;if(t instanceof ye&&(r=t,t=r.ownerElement),n instanceof ye&&(i=n,n=i.ownerElement,r&&t&&n===t))for(var a=0,o;o=n.attributes[a];a++){if(o===r)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_PRECEDING;if(o===i)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return R.DOCUMENT_POSITION_DISCONNECTED+R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(B(n.ownerDocument)>B(t.ownerDocument)?R.DOCUMENT_POSITION_FOLLOWING:R.DOCUMENT_POSITION_PRECEDING);if(i&&t===n)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;for(var s=[],c=t.parentNode;c;){if(!i&&c===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;s.push(c),c=c.parentNode}s.reverse();for(var l=[],u=n.parentNode;u;){if(!r&&u===t)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;l.push(u),u=u.parentNode}l.reverse();var d=z(s,l);for(var f in d.childNodes){var p=d.childNodes[f];if(p===n)return R.DOCUMENT_POSITION_FOLLOWING;if(p===t)return R.DOCUMENT_POSITION_PRECEDING;if(l.indexOf(p)>=0)return R.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(p)>=0)return R.DOCUMENT_POSITION_PRECEDING}return 0}};function K(e){return e==`<`&&`<`||e==`>`&&`>`||e==`&`&&`&`||e==`"`&&`"`||`&#`+e.charCodeAt()+`;`}E(O,G),E(O,G.prototype),E(R,G),E(R,G.prototype);function q(e,t){J(e,null,{enter:function(e){return t(e)?J.STOP:!0}})}function J(e,t,n){for(var r=[{node:e,context:t,phase:J.ENTER}];r.length>0;){var i=r.pop();if(i.phase===J.ENTER){var a=n.enter(i.node,i.context);if(a===J.STOP)return J.STOP;if(r.push({node:i.node,context:a,phase:J.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:J.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}J.STOP=Symbol(`walkDOM.STOP`),J.ENTER=0,J.EXIT=1;function Y(e,t){v(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||c.XML_APPLICATION,this.type=a(this.contentType)?`html`:`xml`}function se(e,t,n){e&&e._inc++,n.namespaceURI===l.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function ce(e,t,n,r){e&&e._inc++,n.namespaceURI===l.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function le(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function ue(e,t){if(e!==t.parentNode)throw new f(f.NOT_FOUND_ERR,`child's parent is not parent`);var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,le(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function de(e){return e&&(e.nodeType===G.DOCUMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.ELEMENT_NODE)}function fe(e){return e&&(e.nodeType===G.CDATA_SECTION_NODE||e.nodeType===G.COMMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.DOCUMENT_TYPE_NODE||e.nodeType===G.ELEMENT_NODE||e.nodeType===G.PROCESSING_INSTRUCTION_NODE||e.nodeType===G.TEXT_NODE)}function X(e){return e&&e.nodeType===G.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===G.ELEMENT_NODE}function Q(e){return e&&e.nodeType===G.TEXT_NODE}function pe(e,t){var r=e.childNodes||[];if(n(r,Z)||X(t))return!1;var i=n(r,X);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function me(e,t){var r=e.childNodes||[];function i(e){return Z(e)&&e!==t}if(n(r,i))return!1;var a=n(r,X);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function he(e,t,n){if(!de(e))throw new f(f.HIERARCHY_REQUEST_ERR,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new f(f.NOT_FOUND_ERR,`child not in parent`);if(!fe(t)||X(t)&&e.nodeType!==G.DOCUMENT_NODE)throw new f(f.HIERARCHY_REQUEST_ERR,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function ge(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===G.DOCUMENT_FRAGMENT_NODE){var o=a.filter(Z);if(o.length>1||n(a,Q))throw new f(f.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!pe(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!pe(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){if(n(i,X))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=n(i,Z);if(r&&i.indexOf(s)1||n(a,Q))throw new f(f.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!me(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!me(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){function e(e){return X(e)&&e!==r}if(n(i,e))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=n(i,Z);if(r&&i.indexOf(s)`)!==-1)throw new f(f.INVALID_CHARACTER_ERR,`data contains "]]>"`);var t=new Ce(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new ke(u);return n.ownerDocument=this,n.childNodes=new V,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!_.QName_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`invalid character in name "`+e+`"`);return this.type===`html`&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new ye(u);return t.ownerDocument=this,t.childNodes=new V,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!_.Name.test(e))throw new f(f.INVALID_CHARACTER_ERR,`not a valid xml name "`+e+`"`);if(this.type===`html`)throw new f(`document is an html document`,g.NotSupportedError);var t=new De(u);return t.ownerDocument=this,t.childNodes=new V,t.nodeName=e,t},createElementNS:function(e,t){var n=T(e,t),r=new $(u),i=r.attributes=new U;return r.childNodes=new V,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],i._ownerElement=r,r},createAttributeNS:function(e,t){var n=T(e,t),r=new ye(u);return r.ownerDocument=this,r.childNodes=new V,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},D(Y,G);function $(e){v(e),this._nsMap=Object.create(null)}$.prototype={nodeType:k,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type===`html`&&this.namespaceURI===l.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=``+t:(n=this.ownerDocument._createAttribute(e),n.value=n.nodeValue=``+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=T(e,t)[2],i=this.getAttributeNodeNS(e,r);i?i.value=i.nodeValue=``+n:(i=this.ownerDocument.createAttributeNS(e,t),i.value=i.nodeValue=``+n,this.setAttributeNode(i))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=S(e);return new H(this,function(n){var r=[];return t.length>0&&q(n,function(i){if(i!==n&&i.nodeType===k){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=S(a);o=t.every(C(s))}o&&r.push(i)}}}),r})},getElementsByTagName:function(e){var t=(this.nodeType===P?this:this.ownerDocument).type===`html`,n=e.toLowerCase();return new H(this,function(r){var i=[];return q(r,function(a){a===r||a.nodeType!==k||(e===`*`||a.getQualifiedName()===(t&&a.namespaceURI===l.HTML?n:e))&&i.push(a)}),i})},getElementsByTagNameNS:function(e,t){return new H(this,function(n){var r=[];return q(n,function(i){i!==n&&i.nodeType===k&&(e===`*`||i.namespaceURI===e)&&(t===`*`||i.localName==t)&&r.push(i)}),r})}},Y.prototype.getElementsByClassName=$.prototype.getElementsByClassName,Y.prototype.getElementsByTagName=$.prototype.getElementsByTagName,Y.prototype.getElementsByTagNameNS=$.prototype.getElementsByTagNameNS,D($,G);function ye(e){v(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}ye.prototype.nodeType=A,D(ye,G);function be(e){v(e)}be.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},D(be,G);function xe(e){v(e)}xe.prototype={nodeName:`#text`,nodeType:j,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},D(xe,be);function Se(e){v(e)}Se.prototype={nodeName:`#comment`,nodeType:N},D(Se,be);function Ce(e){v(e)}Ce.prototype={nodeName:`#cdata-section`,nodeType:ee},D(Ce,xe);function we(e){v(e)}we.prototype.nodeType=F,D(we,G);function Te(e){v(e)}Te.prototype.nodeType=L,D(Te,G);function Ee(e){v(e)}Ee.prototype.nodeType=ne,D(Ee,G);function De(e){v(e)}De.prototype.nodeType=te,D(De,G);function Oe(e){v(e)}Oe.prototype.nodeName=`#document-fragment`,Oe.prototype.nodeType=I,D(Oe,G);function ke(e){v(e)}ke.prototype.nodeType=M,D(ke,be);function Ae(){}Ae.prototype.serializeToString=function(e,t){return je.call(e,t)},G.prototype.toString=je;function je(e){var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e==null?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null}:{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null},n=[],r=this.nodeType===P&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&i==null){var i=r.lookupPrefix(a);if(i==null)var o=[{namespace:a,prefix:null}]}return Pe(this,n,o,t),n.join(``)}function Me(e,t,n){var r=e.prefix||``,i=e.namespaceURI;if(!i||r===`xml`&&i===l.XML||i===l.XMLNS)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix===r)return o.namespace!==i}return!0}function Ne(e,t,n){e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,K),`"`)}function Pe(e,t,n,r){n||(n=[]);var i=r.nodeFilter,a=r.requireWellFormed,c=r.splitCDATASections,u=(e.nodeType===P?e:e.ownerDocument).type===`html`;J(e,{ns:n},{enter:function(e,n){var d=n.ns;if(i)if(e=i(e),e){if(typeof e==`string`)return t.push(e),null}else return null;switch(e.nodeType){case k:var p=e.attributes,m=p.length,h=e.tagName,v=h;if(!u&&!e.prefix&&e.namespaceURI){for(var y,b=0;b=0;x--){var S=d[x];if(S.prefix===``&&S.namespace===e.namespaceURI){y=S.namespace;break}}if(y!==e.namespaceURI)for(var x=d.length-1;x>=0;x--){var S=d[x];if(S.namespace===e.namespaceURI){S.prefix&&(v=S.prefix+`:`+h);break}}}t.push(`<`,v);for(var C=d.slice(),w=0;w`),null;if(t.push(`>`),u&&o(h)){for(var R=e.firstChild;R;)R.data?t.push(R.data):Pe(R,t,C.slice(),r),R=R.nextSibling;return t.push(``),null}return{ns:C,tag:v};case P:case I:if(a&&e.nodeType===P&&e.documentElement==null)throw new f(`The Document has no documentElement`,g.InvalidStateError);return{ns:d};case A:return Ne(t,e.name,e.value),null;case j:if(a&&_.InvalidChar.test(e.data))throw new f(`The Text node data contains characters outside the XML Char production`,g.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,K)),null;case ee:if(a&&e.data.indexOf(`]]>`)!==-1)throw new f(`The CDATASection data contains "]]>"`,g.InvalidStateError);return c?t.push(_.CDATA_START,e.data.replace(/]]>/g,`]]]]>`),_.CDATA_END):t.push(_.CDATA_START,e.data,_.CDATA_END),null;case N:if(a){if(_.InvalidChar.test(e.data))throw new f(`The comment node data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`--`)!==-1||e.data[e.data.length-1]===`-`)throw new f(`The comment node data contains "--" or ends with "-"`,g.InvalidStateError)}return t.push(_.COMMENT_START,e.data,_.COMMENT_END),null;case F:var z=e.publicId,B=e.systemId;if(a){if(z&&!_.PubidLiteral_match.test(z))throw new f(`DocumentType publicId is not a valid PubidLiteral`,g.InvalidStateError);if(B&&B!==`.`&&!_.SystemLiteral_match.test(B))throw new f(`DocumentType systemId is not a valid SystemLiteral`,g.InvalidStateError);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new f(`DocumentType internalSubset contains "]>"`,g.InvalidStateError)}return t.push(_.DOCTYPE_DECL_START,` `,e.name),z?(t.push(` `,_.PUBLIC,` `,z),B&&B!==`.`&&t.push(` `,B)):B&&B!==`.`&&t.push(` `,_.SYSTEM,` `,B),e.internalSubset&&t.push(` [`,e.internalSubset,`]`),t.push(`>`),null;case M:if(a){if(e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new f(`The ProcessingInstruction target is not well-formed`,g.InvalidStateError);if(_.InvalidChar.test(e.data))throw new f(`The ProcessingInstruction data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`?>`)!==-1)throw new f(`The ProcessingInstruction data contains "?>"`,g.InvalidStateError)}return t.push(``),null;case te:return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(``)}})}function Fe(e,t,n){var r;return J(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===A||n?a:null}}),r}function Ie(e,t,n){var r;return J(t,null,{enter:function(t,a){var o=new t.constructor(u);for(var s in t)if(i(t,s)){var c=t[s];typeof c!=`object`&&c!=o[s]&&(o[s]=c)}t.childNodes&&(o.childNodes=new V),o.ownerDocument=e;var l=n;switch(o.nodeType){case k:var d=t.attributes,f=o.attributes=new U,p=d.length;f._ownerElement=o;for(var m=0;m{var t=p().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:` +`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|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`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}),e.entityMap=e.HTML_ENTITIES})),v=t((e=>{var t=p(),n=h(),r=m(),i=t.isHTMLEscapableRawTextElement,a=t.isHTMLMimeType,o=t.isHTMLRawTextElement,s=t.hasOwn,c=t.NAMESPACE,l=r.ParseError,u=r.DOMException,d=0,f=1,g=2,_=3,v=4,y=5,b=6,x=7;function S(){}S.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),k(t,t=Object.create(null)),w(e,t,n,r,this.errorHandler),r.endDocument()}};var C=/&#?\w+;?/g;function w(e,r,i,o,c){var d=a(o.mimeType);e.indexOf(n.UNICODE_REPLACEMENT_CHARACTER)>=0&&c.warning(`Unicode replacement character detected, source encoding issues?`);function f(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}else return String.fromCharCode(e)}function p(e){var t=e[e.length-1]===`;`?e:e+`;`;if(!d&&t!==e)return c.error(`EntityRef: expecting ;`),e;var r=n.Reference.exec(t);if(!r||r[0].length!==t.length)return c.error(`entity not matching Reference production: `+e),e;var a=t.slice(1,-1);return s(i,a)?i[a]:a.charAt(0)===`#`?f(parseInt(a.substring(1).replace(`x`,`0x`))):(c.error(`entity not found:`+e),e)}function m(t){if(t>S){var n=e.substring(S,t).replace(C,p);v&&y(S),o.characters(n,0,t-S),S=t}}var h=0,g=0,_=/\r\n?|\n|$/g,v=o.locator;function y(t,n){for(;t>=g&&(n=_.exec(e));)h=g,g=n.index+n[0].length,v.lineNumber++;v.columnNumber=t-h+1}for(var b=[{currentNSMap:r}],x=[],S=0;;){try{var w=e.indexOf(`<`,S);if(w<0){if(!d&&x.length>0)return c.fatalError(`unclosed xml tag(s): `+x.join(`, `));if(!e.substring(S).match(/^\s*$/)){var k=o.doc,A=k.createTextNode(e.substring(S));if(k.documentElement)return c.error(`Extra content at the end of the document`);k.appendChild(A),o.currentElement=A}return}if(w>S){var j=e.substring(S,w);!d&&x.length===0&&(j=j.replace(new RegExp(n.S_OPT.source,`g`),``),j&&c.error(`Unexpected content outside root element: '`+j+`'`)),m(w)}switch(e.charAt(w+1)){case`/`:var M=e.indexOf(`>`,w+2),N=e.substring(w+2,M>0?M:void 0);if(!N)return c.fatalError(`end tag name missing`);var P=M>0&&n.reg(`^`,n.QName_group,n.S_OPT,`$`).exec(N);if(!P)return c.fatalError(`end tag name contains invalid characters: "`+N+`"`);if(!o.currentElement&&!o.doc.documentElement)return;var F=x[x.length-1]||o.currentElement.tagName||o.doc.documentElement.tagName||``;if(F!==P[1]){var I=P[1].toLowerCase();if(!d||F.toLowerCase()!==I)return c.fatalError(`Opening and ending tag mismatch: "`+F+`" != "`+N+`"`)}var L=b.pop();x.pop();var R=L.localNSMap;if(o.endElement(L.uri,L.localName,F),R)for(var z in R)s(R,z)&&o.endPrefixMapping(z);M++;break;case`?`:v&&y(w),M=te(e,w,o,c);break;case`!`:v&&y(w),M=ee(e,w,o,c,d);break;default:v&&y(w);var B=new ne,V=b[b.length-1].currentNSMap,M=E(e,w,B,V,p,c,d),H=B.length;if(B.closed||(d&&t.isHTMLVoidElement(B.tagName)?B.closed=!0:x.push(B.tagName)),v&&H){for(var re=T(v,{}),U=0;US?S=M:m(Math.max(w,S)+1)}}function T(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function E(e,t,n,r,i,a,o){function c(e,t,r){if(s(n.attributeNames,e))return a.fatalError(`Attribute `+e+` redefined`);if(!o&&t.indexOf(`<`)>=0)return a.fatalError(`Unescaped '<' not allowed in attributes values`);n.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(C,i),r)}for(var l,u,p=++t,m=d;;){var h=e.charAt(p);switch(h){case`=`:if(m===f)l=e.slice(t,p),m=_;else if(m===g)m=_;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(m===_||m===f)if(m===f&&(a.warning(`attribute value must after "="`),l=e.slice(t,p)),t=p+1,p=e.indexOf(h,t),p>0)u=e.slice(t,p),c(l,u,t-1),m=y;else throw Error(`attribute value no end '`+h+`' match`);else if(m==v)u=e.slice(t,p),c(l,u,t),a.warning(`attribute "`+l+`" missed start quot(`+h+`)!!`),t=p+1,m=y;else throw Error(`attribute value must after "="`);break;case`/`:switch(m){case d:n.setTagName(e.slice(t,p));case y:case b:case x:m=x,n.closed=!0;case v:case f:break;case g:n.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return a.error(`unexpected end of input`),m==d&&n.setTagName(e.slice(t,p)),p;case`>`:switch(m){case d:n.setTagName(e.slice(t,p));case y:case b:case x:break;case v:case f:u=e.slice(t,p),u.slice(-1)===`/`&&(n.closed=!0,u=u.slice(0,-1));case g:m===g&&(u=l),m==v?(a.warning(`attribute "`+u+`" missed quot(")!`),c(l,u,t)):(o||a.warning(`attribute "`+u+`" missed value!! "`+u+`" instead!!`),c(u,u,t));break;case _:if(!o)return a.fatalError(`AttValue: ' or " expected`)}return p;case`€`:h=` `;default:if(h<=` `)switch(m){case d:n.setTagName(e.slice(t,p)),m=b;break;case f:l=e.slice(t,p),m=g;break;case v:var u=e.slice(t,p);a.warning(`attribute "`+u+`" missed quot(")!!`),c(l,u,t);case y:m=b;break}else switch(m){case g:o||a.warning(`attribute "`+l+`" missed value!! "`+l+`" instead2!!`),c(l,l,t),t=p,m=f;break;case y:a.warning(`attribute space is required"`+l+`"!!`);case b:m=f,t=p;break;case _:m=v,t=p;break;case x:throw Error(`elements closed character '/' and '>' must be connected to`)}}p++}}function D(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var o=e[a],l=o.qName,u=o.value,d=l.indexOf(`:`);if(d>0)var f=o.prefix=l.slice(0,d),p=l.slice(d+1),m=f===`xmlns`&&p;else p=l,f=null,m=l===`xmlns`&&``;o.localName=p,m!==!1&&(i??(i=Object.create(null),k(n,n=Object.create(null))),n[m]=i[m]=u,o.uri=c.XMLNS,t.startPrefixMapping(m,u))}for(var a=e.length;a--;)o=e[a],o.prefix&&(o.prefix===`xml`&&(o.uri=c.XML),o.prefix!==`xmlns`&&(o.uri=n[o.prefix]));var d=r.indexOf(`:`);d>0?(f=e.prefix=r.slice(0,d),p=e.localName=r.slice(d+1)):(f=null,p=e.localName=r);var h=e.uri=n[f||``];if(t.startElement(h,p,r,e),e.closed){if(t.endElement(h,p,r),i)for(f in i)s(i,f)&&t.endPrefixMapping(f)}else return e.currentNSMap=n,e.localNSMap=i,!0}function O(e,t,n,r,a){var s=i(n);if(s||o(n)){var c=e.indexOf(``,t),l=e.substring(t+1,c);return s&&(l=l.replace(C,r)),a.characters(l,0,l.length),c}return t+1}function k(e,t){for(var n in e)s(e,n)&&(t[n]=e[n])}function A(e,t){var r=t;function i(t){return t=t||0,e.charAt(r+t)}function a(e){e=e||1,r+=e}function o(){for(var t=0;r`?(o.skip(1),r.startDTD(l.name,l.publicId,l.systemId,l.internalSubset),r.endDTD(),o.getIndex()):i.fatalError(`doctype not terminated with > at position `+o.getIndex());default:return i.fatalError(`Not well-formed XML starting with "0)return i.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!n.XMLDecl.test(e.substring(t)))return i.fatalError(`xml declaration is not well-formed`)}return r.processingInstruction(a[1],a[2]),t+a[0].length}function ne(){this.attributeNames=Object.create(null)}ne.prototype={setTagName:function(e){if(!n.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=S,e.parseUtils=A,e.parseDoctypeCommentOrCData=ee})),y=t((e=>{var t=p(),n=g(),r=m(),i=_(),a=v(),o=n.DOMImplementation,s=t.hasDefaultHTMLNamespace,c=t.isHTMLMimeType,l=t.isValidMimeType,u=t.MIME_TYPE,d=t.NAMESPACE,f=r.ParseError,h=a.XMLReader;function y(e){return e.replace(/\r[\n\u0085]/g,` +`).replace(/[\r\u0085\u2028\u2029]/g,` +`)}function b(e){if(e=e||{},e.locator===void 0&&(e.locator=!0),this.assign=e.assign||t.assign,this.domHandler=e.domHandler||x,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||y,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}b.prototype.parseFromString=function(e,n){if(!l(n))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+n+`" is not valid.`);var r=this.assign(Object.create(null),this.xmlns),a=i.XML_ENTITIES,o=r[``]||null;s(n)?(a=i.HTML_ENTITIES,o=d.HTML):n===u.XML_SVG_IMAGE&&(o=d.SVG),r[``]=o,r.xml=r.xml||d.XML;var c=new this.domHandler({mimeType:n,defaultNamespace:o,onError:this.onError}),f=this.locator?{}:void 0;this.locator&&c.setDocumentLocator(f);var p=new h;return p.errorHandler=c,p.domBuilder=c,!t.isHTMLMimeType(n)&&typeof e!=`string`&&p.errorHandler.fatalError(`source is not a string`),p.parse(this.normalizeLineEndings(String(e)),r,a),c.doc.documentElement||p.errorHandler.fatalError(`missing root element`),c.doc};function x(e){var t=e||{};this.mimeType=t.mimeType||u.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function S(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}x.prototype={startDocument:function(){var e=new o;this.doc=c(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;T(this,a),this.currentElement=a,this.locator&&S(this.locator,a);for(var s=0;s=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){x.prototype[e]=function(){return null}});function T(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}function E(e){if(e===`error`)throw`onErrorStopParsing`}function D(){throw`onWarningStopParsing`}e.__DOMHandler=x,e.DOMParser=b,e.normalizeLineEndings=y,e.onErrorStopParsing=E,e.onWarningStopParsing=D})),b=t((e=>{var t=p();e.assign=t.assign,e.hasDefaultHTMLNamespace=t.hasDefaultHTMLNamespace,e.isHTMLMimeType=t.isHTMLMimeType,e.isValidMimeType=t.isValidMimeType,e.MIME_TYPE=t.MIME_TYPE,e.NAMESPACE=t.NAMESPACE;var n=m();e.DOMException=n.DOMException,e.DOMExceptionName=n.DOMExceptionName,e.ExceptionCode=n.ExceptionCode,e.ParseError=n.ParseError;var r=g();e.Attr=r.Attr,e.CDATASection=r.CDATASection,e.CharacterData=r.CharacterData,e.Comment=r.Comment,e.Document=r.Document,e.DocumentFragment=r.DocumentFragment,e.DocumentType=r.DocumentType,e.DOMImplementation=r.DOMImplementation,e.Element=r.Element,e.Entity=r.Entity,e.EntityReference=r.EntityReference,e.LiveNodeList=r.LiveNodeList,e.NamedNodeMap=r.NamedNodeMap,e.Node=r.Node,e.NodeList=r.NodeList,e.Notation=r.Notation,e.ProcessingInstruction=r.ProcessingInstruction,e.Text=r.Text,e.XMLSerializer=r.XMLSerializer;var i=y();e.DOMParser=i.DOMParser,e.normalizeLineEndings=i.normalizeLineEndings,e.onErrorStopParsing=i.onErrorStopParsing,e.onWarningStopParsing=i.onWarningStopParsing}))(),x={xmlns:`http://www.w3.org/2000/xmlns/`,contentTypes:`http://schemas.openxmlformats.org/package/2006/content-types`,relationships:`http://schemas.openxmlformats.org/package/2006/relationships`,p:`http://schemas.openxmlformats.org/presentationml/2006/main`,a:`http://schemas.openxmlformats.org/drawingml/2006/main`,a14:`http://schemas.microsoft.com/office/drawing/2010/main`,c:`http://schemas.openxmlformats.org/drawingml/2006/chart`,cx:`http://schemas.microsoft.com/office/drawing/2014/chartex`,pptd:`https://kimi-design.msh.team/pptd/2026`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,cp:`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,dc:`http://purl.org/dc/elements/1.1/`,extendedProperties:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,customProperties:`http://schemas.openxmlformats.org/officeDocument/2006/custom-properties`,docPropsVTypes:`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`};function S(e,t,n,r={},i=[]){let a=e.createElementNS(t,n);return T(a,r),C(a,i),a}function C(e,t){t.forEach(t=>{t!==void 0&&e.appendChild(typeof t==`string`?e.ownerDocument.createTextNode(t):t)})}function w(e){let t=/^rgb\(\s*(\d+),\s*(\d+),\s*(\d+)\s*\)$/i.exec(e);if(t)return`#${E(Number(t[1]))}${E(Number(t[2]))}${E(Number(t[3]))}`;let n=e.startsWith(`#`)?e:`#${e}`;return/^#[0-9a-f]{6}$/i.test(n)?n:`#000000`}function T(e,t){Object.entries(t).forEach(([t,n])=>{if(n!=null){if(t.startsWith(`xmlns:`)){e.setAttributeNS(x.xmlns,t,String(n));return}if(t===`r:id`||t===`r:embed`){e.setAttributeNS(x.r,t,String(n));return}e.setAttribute(t,String(n))}})}function E(e){return Math.max(0,Math.min(255,e)).toString(16).padStart(2,`0`).toUpperCase()}function D(e,t,n){let r=A(t);return S(e,x.a,`a:solidFill`,{},[S(e,x.a,`a:srgbClr`,{val:r.color.replace(`#`,``)},[O(e,n===void 0?r.alpha:r.alpha*n)])])}function O(e,t){if(!(t===void 0||t>=1))return S(e,x.a,`a:alpha`,{val:k(t)})}function k(e){return String(Math.round(Math.max(0,Math.min(1,e))*1e5))}function A(e){let t=e.trim(),n=t.startsWith(`#`)?t:`#${t}`,r=/^#[0-9a-f]{8}$/i.test(n),i=r?Number.parseInt(n.slice(7,9),16)/255:1;return{color:w(r?n.slice(0,7):t),alpha:i}}function j(e){let t=e.theme;return{...e,pages:e.pages.map(e=>({...e,background:z(t,e.background),elements:e.elements.map(e=>ee(t,e))}))}}function ee(e,t){if(t.elementType===`text`)return{...t,content:R(e,t.content)};if(t.elementType===`shape`||t.elementType===`icon`)return{...t,fill:z(e,t.fill),border:B(e,t.border),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0};if(t.elementType===`image`||t.elementType===`line`)return{...t,border:B(e,t.border),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0};if(t.elementType===`table`){let n=typeof t.style==`string`?U(e,t.style)??t.style:ie(e,t.style);return{...t,style:n,fill:z(e,t.fill),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0,rows:t.rows.map(t=>t.map(t=>({...t,...t.text===void 0?{}:{text:G(e,t.text)},color:K(e,t.color),fontFamily:q(t.fontFamily),fill:z(e,t.fill),border:V(e,t.border)})))}}return t.elementType===`chart`?te(e,t):t}function te(e,t){return{...t,fill:z(e,t.fill),border:B(e,t.border),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0,series:t.series.map(t=>ne(e,t)),seriesDefaults:M(e,t.seriesDefaults),xAxis:H(e,t.xAxis),yAxis:H(e,t.yAxis),title:typeof t.title==`object`&&t.title?{...t.title,color:K(e,t.title.color),fontFamily:q(t.title.fontFamily)}:t.title,legend:t.legend&&typeof t.legend==`object`?{...t.legend,color:K(e,t.legend.color),fontFamily:q(t.legend.fontFamily)}:t.legend,dataLabels:L(e,t.dataLabels),fontFamily:q(t.fontFamily)}}function ne(e,t){let n={...t,fill:F(e,`fill`in t?t.fill:void 0),border:B(e,`border`in t?t.border:void 0),dataLabels:L(e,`dataLabels`in t?t.dataLabels:void 0)};return t.type===`line`?{...n,lineColor:I(e,t.lineColor),marker:P(e,t.marker)}:t.type===`area`||t.type===`radar`?{...n,lineColor:I(e,t.lineColor),areaColor:I(e,t.areaColor),marker:P(e,t.marker)}:t.type===`scatter`?{...n,marker:P(e,t.marker)}:t.type===`candlestick`?{...n,upBars:t.upBars?{fill:K(e,t.upBars.fill),border:B(e,t.upBars.border)}:void 0,downBars:t.downBars?{fill:K(e,t.downBars.fill),border:B(e,t.downBars.border)}:void 0,wickStyle:B(e,t.wickStyle)}:t.type===`waterfall`?{...n,totalBars:N(e,t.totalBars),increaseBars:N(e,t.increaseBars),decreaseBars:N(e,t.decreaseBars)}:t.type===`heatmap`?{...n,colorScheme:t.colorScheme?.map(t=>K(e,t)??t),colorbar:t.colorbar&&typeof t.colorbar==`object`?{...t.colorbar,color:K(e,t.colorbar.color),fontFamily:q(t.colorbar.fontFamily)}:t.colorbar}:n}function M(e,t){if(t)return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,n&&ne(e,{...n,type:t})]))}function N(e,t){return t&&{...t,fill:K(e,t.fill)??t.fill,border:B(e,t.border)}}function P(e,t){return!t||t===!1?t:{...t,fill:I(e,t.fill),border:B(e,t.border)}}function F(e,t){return Array.isArray(t)?t.map(t=>F(e,t)):!t||typeof t!=`object`||`type`in t?I(e,t):Object.fromEntries(Object.entries(t).map(([t,n])=>[t,F(e,n)]))}function I(e,t){return t&&(typeof t==`string`?K(e,t)??t:z(e,t))}function L(e,t){return t&&{...t,color:K(e,t.color),fontFamily:q(t.fontFamily)}}function R(e,t){let n=oe(e,t.style);return{...n,...t,text:G(e,t.text),color:K(e,t.color??n?.color),fontSize:t.fontSize??n?.fontSize,fontFamily:q(t.fontFamily??n?.fontFamily),bold:t.bold??n?.bold,italic:t.italic??n?.italic,backgroundColor:K(e,t.backgroundColor??n?.backgroundColor),lineHeight:t.lineHeight??n?.lineHeight,lineHeightPx:t.lineHeightPx??n?.lineHeightPx,letterSpacing:t.letterSpacing??n?.letterSpacing,marginTop:t.marginTop??n?.marginTop,gradient:t.gradient?z(e,t.gradient):void 0,shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0}}function z(e,t){return t&&(t.type===`solid`?{...t,color:K(e,t.color)??t.color}:t.type===`gradient`?{...t,stops:t.stops.map(t=>({...t,color:K(e,t.color)??t.color}))}:{...t})}function B(e,t){if(t)return{...t,color:K(e,t.color)??t.color}}function V(e,t){if(t===null)return null;if(t!==void 0)return Array.isArray(t)?t.map(t=>t?B(e,t):null):B(e,t)}function H(e,t){return Array.isArray(t)?t.map(t=>re(e,t)):re(e,t)}function re(e,t){if(t)return{...t,label:t.label&&typeof t.label==`object`?{...t.label,color:K(e,t.label.color),fontFamily:q(t.label.fontFamily)}:t.label,axisLine:t.axisLine&&typeof t.axisLine==`object`?{...t.axisLine,color:K(e,t.axisLine.color)}:t.axisLine,gridLine:t.gridLine&&typeof t.gridLine==`object`?{...t.gridLine,color:K(e,t.gridLine.color)}:t.gridLine,title:t.title&&typeof t.title==`object`?{...t.title,color:K(e,t.title.color),fontFamily:q(t.title.fontFamily)}:t.title}}function U(e,t){if(!t?.startsWith(`$`))return;let n=e?.tableStyles?.[t.slice(1)];if(n)return ie(e,n)}function ie(e,t){if(t)return{...t,cellStyle:W(e,t.cellStyle),firstRowStyle:W(e,t.firstRowStyle),lastRowStyle:W(e,t.lastRowStyle),firstColumnStyle:W(e,t.firstColumnStyle),lastColumnStyle:W(e,t.lastColumnStyle),bodyStyles:t.bodyStyles?.map(t=>W(e,t)).filter(e=>!!e)}}function W(e,t){if(t)return ae({...t,color:K(e,t.color),fontFamily:q(t.fontFamily),backgroundColor:K(e,t.backgroundColor),fill:z(e,t.fill),border:V(e,t.border)})}function ae(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}function oe(e,t){if(!t?.startsWith(`$`))return;let n=e?.textStyles?.[t.slice(1)];if(n)return{...n,color:K(e,n.color),fontFamily:q(n.fontFamily),backgroundColor:K(e,n.backgroundColor)}}function G(e,t){if(!e||!t.includes(`$`))return t;let n;try{n=new b.DOMParser({onError:()=>{}}).parseFromString(`${t}`,`text/html`)}catch{return t}let r=new b.XMLSerializer,i=ce(n,`body`)??n.documentElement,a=!1;return J(i).forEach(t=>{let n=t.getAttribute(`style`);if(!n)return;let r=n.replace(/([-\w]+):\s*([^;]+)/g,(t,n,r)=>{let i=r.trim();if(!i.startsWith(`$`))return t;let a=K(e,i);return a&&a!==i?`${n}: ${a}`:t});r!==n&&(t.setAttribute(`style`,r),a=!0)}),a?se(i).map(e=>r.serializeToString(e)).join(``):t}function K(e,t){return t?.startsWith(`$`)?e?.colors?.[t.slice(1)]??t:t}function q(e){return e}function J(e){let t=[],n=e=>{for(let r of Y(e))t.push(r),n(r)};return n(e),t}function Y(e){return se(e).filter(e=>e.nodeType===1)}function se(e){return Array.from(e.childNodes)}function ce(e,t){return Y(e).find(e=>e.tagName.toLowerCase()===t)}function le(e,t,n){let r=de(t,n),i=`\\(${t}\\)`;return r?[S(e,x.a14,`a14:m`,{},[S(e,x.m,`m:oMath`,{},Q(e,[r]))])]:[ue(e,i,n)]}function ue(e,t,n){return S(e,x.a,`a:r`,{},[ge(e,n),S(e,x.a,`a:t`,{},[t])])}function de(e,t){let n=fe(e);if(!n)return;let r=De(new(globalThis.DOMParser??b.DOMParser)().parseFromString(n,`text/html`),`math`),i=Oe(r?De(r,`semantics`):void 0)??Oe(r);return i?X(i,t):void 0}function fe(e){try{return a.renderToString(e,{throwOnError:!1,displayMode:!1,output:`mathml`})}catch{return``}}function X(e,t){let n=e.tagName.toLowerCase(),r=Z(e,t),i=Array.from(e.childNodes);if(i.length===1&&i[0].nodeType===3)return{tag:n,text:i[0].textContent??``,style:r};let a=[];return i.forEach(e=>{if(e.nodeType===1){a.push(X(e,r));return}let t=e.textContent??``;t&&a.push({tag:`mtext`,text:t,style:r})}),{tag:n,children:a,style:r}}function Z(e,t){let n=e.tagName.toLowerCase(),r={...t};n===`mi`&&(r.italic=!0),(n===`mn`||n===`mo`)&&(r.italic=!1);let i=e.getAttribute(`mathvariant`);i===`bold`&&(r.bold=!0),i===`italic`&&(r.italic=!0),i===`bold-italic`&&(r.bold=!0,r.italic=!0),i===`normal`&&(r.bold=!1,r.italic=!1);let a=e.getAttribute(`mathcolor`);a&&(r.color=w(a));let o=Te(e.getAttribute(`mathsize`),t.fontSize);return o!==void 0&&(r.fontSize=o),r}function Q(e,t){return t.flatMap(t=>pe(e,t))}function pe(e,t){switch(t.tag){case`mrow`:return Q(e,t.children??[]);case`mi`:case`mn`:case`mo`:case`mtext`:return[me(e,t.text??``,t.style)];case`msup`:return[$(e,`m:sSup`,[`m:e`,`m:sup`],t)];case`msub`:return[$(e,`m:sSub`,[`m:e`,`m:sub`],t)];case`msubsup`:return[$(e,`m:sSubSup`,[`m:e`,`m:sub`,`m:sup`],t)];case`mfrac`:return[ye(e,t)];case`msqrt`:return[be(e,t,!1)];case`mroot`:return[be(e,t,!0)];case`munder`:return[xe(e,`m:limLow`,t)];case`mover`:return[xe(e,`m:limUpp`,t)];case`munderover`:return[Se(e,t)];case`mtable`:return[Ce(e,t)];case`mtr`:return[S(e,x.m,`m:mr`,{},(t.children??[]).map(t=>S(e,x.m,`m:e`,{},Q(e,[t]))))];case`mtd`:return[S(e,x.m,`m:e`,{},Q(e,t.children??[]))];case`mspace`:return[me(e,` `,t.style,!0)];case`mfenced`:return[S(e,x.m,`m:e`,{},[me(e,`(`,t.style),...Q(e,t.children??[]),me(e,`)`,t.style)])];default:return t.children?.length?Q(e,t.children):t.text?[me(e,t.text,t.style)]:[]}}function me(e,t,n,r=!1){return S(e,x.m,`m:r`,{},[he(e,n),S(e,x.m,`m:t`,r?{"xml:space":`preserve`}:{},[t])])}function he(e,t){if(t)return S(e,x.a,`a:rPr`,_e(t),ve(e,t))}function ge(e,t){if(t)return S(e,x.a,`a:rPr`,_e(t),[t.color?D(e,t.color,t.opacity):void 0,...Ee(e,t.fontFamily,!0)])}function _e(e){return{lang:`en-US`,sz:e.fontSize===void 0?void 0:Math.round(e.fontSize*100),noProof:`1`,b:e.bold?`1`:void 0,i:e.italic===void 0?void 0:e.italic?`1`:`0`}}function ve(e,t){return[t.color?D(e,t.color,t.opacity):void 0,...Ee(e,t.fontFamily)]}function $(e,t,n,r){let i=r.children??[];if(!(i.lengthS(e,x.m,t,{},Q(e,[i[n]])))])}function ye(e,t){let n=t.children??[];if(!(n.length<2))return S(e,x.m,`m:f`,{},[S(e,x.m,`m:fPr`,{},[S(e,x.m,`m:type`,{"m:val":`bar`})]),S(e,x.m,`m:num`,{},Q(e,[n[0]])),S(e,x.m,`m:den`,{},Q(e,[n[1]]))])}function be(e,t,n){let r=t.children??[];if(!r.length||n&&r.length<2)return;let i=n?Q(e,[r[1]]):[me(e,` `,void 0,!0)];return S(e,x.m,`m:rad`,{},[S(e,x.m,`m:deg`,{},i),S(e,x.m,`m:e`,{},Q(e,[r[0]]))])}function xe(e,t,n){let r=n.children??[];if(!(r.length<2))return S(e,x.m,t,{},[we(e,t,n.style),S(e,x.m,`m:e`,{},Q(e,[r[0]])),S(e,x.m,`m:lim`,{},Q(e,[r[1]]))])}function Se(e,t){let n=t.children??[];if(n.length<3)return;let r=S(e,x.m,`m:limUpp`,{},[we(e,`m:limUpp`,t.style),S(e,x.m,`m:e`,{},Q(e,[n[0]])),S(e,x.m,`m:lim`,{},Q(e,[n[2]]))]);return S(e,x.m,`m:limLow`,{},[we(e,`m:limLow`,t.style),S(e,x.m,`m:e`,{},[r]),S(e,x.m,`m:lim`,{},Q(e,[n[1]]))])}function Ce(e,t){return S(e,x.m,`m:m`,{},[S(e,x.m,`m:mPr`,{},[S(e,x.m,`m:ctrlPr`,{},[he(e,t.style)])]),...Q(e,t.children??[])])}function we(e,t,n){return S(e,x.m,`${t}Pr`,{},[S(e,x.m,`m:ctrlPr`,{},[he(e,n)])])}function Te(e,t){if(!e)return;let n=/^(\d+(?:\.\d+)?)px$/.exec(e);if(n)return Number(n[1]);let r=/^(\d+(?:\.\d+)?)em$/.exec(e);if(r)return Number(r[1])*(t??16);let i=/^(\d+(?:\.\d+)?)%$/.exec(e);if(i)return Number(i[1])*(t??16)/100}function Ee(e,t,n=!1){if(!t)return[];let[r,i]=t.split(`,`).map(e=>e.trim().replace(/^['"]|['"]$/g,``)).filter(Boolean);return[r?S(e,x.a,`a:latin`,{typeface:r}):void 0,n&&i?S(e,x.a,`a:ea`,{typeface:i}):void 0]}function De(e,t){for(let n of ke(e)){if(n.tagName.toLowerCase()===t)return n;let e=De(n,t);if(e)return e}}function Oe(e){return e?ke(e)[0]:void 0}function ke(e){return Array.from(e.childNodes).filter(e=>e.nodeType===1)}var Ae=[`#1783FF`,`#68B8A8`,`#C9A86A`,`#8C84C9`,`#8D98A8`,`#5F9CF5`],je=[`#EFF6FF`,`#1783FF`],Me={style:`solid`,width:1,color:`#FFFFFF`},Ne=2;async function Pe(e){let t=We(e);if(!t)return;Ve();let n=Math.max(1,Math.round(e.bounds[2])),r=Math.max(1,Math.round(e.bounds[3])),i=Fe(t,n,r);if(i)return i;let a=l(null,null,{renderer:`svg`,ssr:!0,width:n,height:r});try{return a.setOption(t),`data:image/png;base64,${await Le(a.renderToSVGString(),n*Ne)}`}catch{return}finally{a.dispose()}}function Fe(e,t,n){if(typeof document>`u`||/jsdom/i.test(globalThis.navigator?.userAgent??``))return;let r=document.createElement(`div`);r.style.width=`${t}px`,r.style.height=`${n}px`,r.style.position=`fixed`,r.style.left=`-10000px`,r.style.top=`-10000px`,document.body.appendChild(r);let i=l(r,null,{renderer:`canvas`,width:t,height:n});try{return i.setOption(e),i.getDataURL({type:`png`,pixelRatio:Ne})}catch{return}finally{i.dispose(),r.remove()}}var Ie;async function Le(e,t){let{Resvg:n}=await Re(),r=new n(e,{fitTo:{mode:`width`,value:t},background:`rgba(255, 255, 255, 0)`,font:{loadSystemFonts:!0}});try{let e=r.render();try{return Ot(e.asPng())}finally{e.free()}}finally{r.free()}}function Re(){return Ie??(Ie=(async()=>{let[t,r]=await Promise.all([n(()=>import(`./resvg-wasm-BO0DH4Au.js`),[]),n(()=>import(`./__vite-browser-external-CTd_dPxk.js`).then(t=>e(t.default,1)),__vite__mapDeps([0,1]))]),i=ze();if(!i)throw Error(`Unable to resolve @resvg/resvg-wasm/index_bg.wasm`);try{await t.initWasm(await r.readFile(i))}catch(e){if(!(e instanceof Error)||!e.message.includes(`Already initialized`))throw e}return t})()),Ie}function ze(){let e=import.meta.resolve;return e?new URL(e(`@resvg/resvg-wasm/index_bg.wasm`)):new URL(`/neo-ppt/assets/index_bg-Blvrv-U2.wasm`,``+import.meta.url)}var Be=!1;function Ve(){Be||!He()||(u({measureText:(e,t)=>({width:Ue(e,t)})}),Be=!0)}function He(){return typeof document>`u`||/jsdom/i.test(globalThis.navigator?.userAgent??``)}function Ue(e,t){let n=Number(/(\d+(?:\.\d+)?)px/.exec(t??``)?.[1]??12);return Array.from(e).reduce((e,t)=>e+(/[\u2E80-\u9FFF]/.test(t)?n:n*.56),0)}function We(e){let t=e.series.find(Tt);if(t){if(t.type===`heatmap`)return Ge(e,t);if(t.type===`sankey`)return Je(e,t);if(t.type===`treemap`)return Ke(e,t);if(t.type===`sunburst`)return qe(e,t)}}function Ge(e,t){let n=yt(e),r=bt(n,t.encode.x),i=bt(n,t.encode.y),a=n.map(e=>{let n=r.indexOf(xt(e[t.encode.x])),a=i.indexOf(xt(e[t.encode.y]));if(!(n<0||a<0))return[n,a,St(e[t.encode.value])]}).filter(e=>!!e),[o,s]=tt(a.map(e=>e[2]).filter(e=>e!==null),t),c=et(t,o,s),l=t.colorbar===void 0?!0:t.colorbar;return{...Ye(e),grid:Xe(e,l),xAxis:Qe(e.xAxis,r),yAxis:Qe(e.yAxis,i),visualMap:Ze(l,o,s,c),series:[{type:`heatmap`,data:a,label:$e(e,t)}]}}function Ke(e,t){return{...Ye(e),series:[{type:`treemap`,roam:!1,nodeClick:!1,breadcrumb:{show:!1},top:_t(e),left:8,right:8,bottom:8,data:it(e,t),label:st(e,t,`category`)}]}}function qe(e,t){return{...Ye(e),series:[{type:`sunburst`,radius:[0,`80%`],center:[`50%`,vt(e)?`56%`:`50%`],sort:null,nodeClick:!1,data:it(e,t),label:st(e,t,`category`)}]}}function Je(e,t){let n=ut(yt(e),t);return{...Ye(e),series:[{type:`sankey`,nodeAlign:t.nodeAlign??`justify`,top:_t(e),left:24,right:24,bottom:12,data:n.nodeNames.map((e,n)=>({name:e,itemStyle:{color:ft(t.fill,e,n,Ae[n%Ae.length]),...ht(t.border)}})),links:n.links,label:st(e,t,`category`),lineStyle:{color:`source`,opacity:.36,curveness:.5}}]}}function Ye(e){let t=vt(e),n=typeof e.title==`object`?e.title:void 0;return{animation:!1,backgroundColor:e.fill?.type===`solid`?e.fill.color:`rgba(255,255,255,0)`,textStyle:{fontFamily:wt(e.fontFamily)},title:t?{text:t,left:`center`,top:4,textStyle:{color:n?.color??`#333333`,fontSize:n?.fontSize??16,fontFamily:wt(n?.fontFamily??e.fontFamily),fontWeight:`normal`}}:void 0,tooltip:{trigger:`item`},legend:{show:!1}}}function Xe(e,t){let n=nt(t),r=rt(t),i={top:_t(e),left:52,right:24,bottom:36,containLabel:!0};return r?(n===`top`&&(i.top=Number(i.top)+34),n===`bottom`&&(i.bottom=62),n===`left`&&(i.left=92),n===`right`&&(i.right=72),i):i}function Ze(e,t,n,r){let i=typeof e==`object`?e:void 0,a=nt(e),o={top:{top:30,left:`center`,orient:`horizontal`},bottom:{bottom:4,left:`center`,orient:`horizontal`},left:{left:4,top:`middle`,orient:`vertical`},right:{right:4,top:`middle`,orient:`vertical`}};return{type:`continuous`,min:t,max:n,show:rt(e),calculable:!1,inRange:{color:r},textStyle:{color:i?.color,fontSize:i?.fontSize,fontFamily:wt(i?.fontFamily)},...o[a]??o.right}}function Qe(e,t){let n=Array.isArray(e)?e[0]:e,r=typeof n?.label==`object`?n.label:void 0;return{type:`category`,data:t,axisLabel:{show:n?.label!==!1,color:r?.color??`#4B5563`,fontSize:r?.fontSize??10,fontFamily:wt(r?.fontFamily)},axisLine:{show:n?.axisLine!==!1},splitLine:{show:n?.gridLine===!0}}}function $e(e,t){let n=gt(e,t);if(n)return{show:n.show===!0,color:n.color??`#111827`,fontSize:n.fontSize??10,fontFamily:wt(n.fontFamily??e.fontFamily),formatter:e=>Ct(e.value?.[2],n)}}function et(e,t,n){let r=Array.isArray(e.colorScheme)&&e.colorScheme.length?e.colorScheme:[];return e.colorScale?.type===`diverging`?r.length>=3?r.slice(0,3):[r[0]??Ae[1],r[1]??`#FFFFFF`,r[2]??Ae[0]]:r.length>=2?r:t<0&&n>0?[Ae[1],`#FFFFFF`,Ae[0]]:je}function tt(e,t){if(Array.isArray(t.colorScale?.domain))return t.colorScale.domain;if(!e.length)return[0,1];if(t.colorScale?.type===`diverging`){let t=Math.max(...e.map(e=>Math.abs(e)));return[-t,t]}let n=Math.min(...e),r=Math.max(...e);return n===r?[n,n+1]:[n,r]}function nt(e){let t=typeof e==`object`?e.position:void 0;return t===`top`||t===`bottom`||t===`left`||t===`right`?t:`right`}function rt(e){return e===!1?!1:!(Et(e)&&e.show===!1)}function it(e,t){let n=at(yt(e),t),r=t.type===`treemap`&&t.border===void 0?Me:t.border,i=typeof t.levels==`number`&&t.levels>0?t.levels:1/0;return n.map((e,n)=>ot(e,t,r,n,0,i))}function at(e,t){let n=new Map,r=e=>{let t=n.get(e);return t||(t={name:e,children:[]},n.set(e,t)),t};return e.forEach(e=>{let n=e[t.encode.category];if(n==null||n===``)return;let i=String(n),a=r(i),o=St(e[t.encode.value]);o!==null&&(a.value=o);let s=ct(t.encode.parent?e[t.encode.parent]:void 0);if(!s||s===i)return;let c=r(s);a.parentName=s,c.children.includes(a)||c.children.push(a)}),[...n.values()].filter(e=>!e.parentName||!n.has(e.parentName))}function ot(e,t,n,r,i,a,o=new Set){if(o.has(e.name))return{name:e.name,value:e.value??0};o.add(e.name);let s=i+1ot(e,t,n,r,i+1,a,new Set(o))):[],c=s.reduce((e,t)=>e+lt(t),0),l=s.length&&(e.value===void 0||e.value<=0)?c:e.value??c,u=Ae[r%Ae.length];return{name:e.name,value:l,itemStyle:{color:dt(t.fill,r,i,u),...ht(n)},...s.length?{children:s}:{}}}function st(e,t,n){let r=gt(e,t);if(!r)return;let i=r.content??n;return{show:r.show===!0,color:r.color,fontSize:r.fontSize,fontFamily:wt(r.fontFamily??e.fontFamily),formatter:e=>i===`category`?e.name??``:i===`percentage`?e.percent===void 0?``:`${Math.round(e.percent)}%`:Ct(e.value,r)}}function ct(e){if(!(e==null||e===``))return String(e)}function lt(e){return e.children?.length?e.value||e.children.reduce((e,t)=>e+lt(t),0):e.value}function ut(e,t){let n=[],r=new Set,i=new Map,a=new Map,o=[],s=e=>{r.has(e)||(r.add(e),n.push(e),i.set(e,0),a.set(e,[]))};e.forEach(e=>{let n=xt(e[t.encode.source]),r=xt(e[t.encode.target]);!n||!r||(s(n),s(r),a.get(n)?.push(r),i.set(r,(i.get(r)??0)+1),o.push({source:n,target:r,value:St(e[t.encode.flow])??0}))});let c=n.filter(e=>(i.get(e)??0)===0),l=[];for(;c.length;){let e=c.shift();l.push(e),a.get(e)?.forEach(e=>{i.set(e,(i.get(e)??0)-1),i.get(e)===0&&c.push(e)})}return{nodeNames:l.length===n.length?l:n,links:o}}function dt(e,t,n,r){if(Array.isArray(e)){let i=e[0];if(Array.isArray(i)){let i=e,a=i[t%i.length];return pt(a?.[n%a.length],r)}return pt(e[t%e.length],r)}return pt(e,r)}function ft(e,t,n,r){return Et(e)&&!Dt(e)&&!Array.isArray(e)?pt(e[t],r):pt(Array.isArray(e)?e[n%e.length]:e,r)}function pt(e,t){return typeof e==`string`?e:Dt(e)?mt(e):t}function mt(e){let t=e.stops.map(e=>({offset:e.position,color:e.color}));if(e.gradientType===`radial`)return{type:`radial`,x:.5,y:.5,r:.5,colorStops:t,global:!1};let n=(e.angle??0)/180*Math.PI;return{type:`linear`,x:.5-Math.cos(n)/2,y:.5-Math.sin(n)/2,x2:.5+Math.cos(n)/2,y2:.5+Math.sin(n)/2,colorStops:t,global:!1}}function ht(e){return e?{borderColor:e.color,borderWidth:e.width,borderType:e.style}:{}}function gt(e,t){return t.dataLabels??e.dataLabels}function _t(e){return vt(e)?Math.min(48,e.bounds[3]*.16):8}function vt(e){return typeof e.title==`string`?e.title:e.title?.text}function yt(e){return e.data.rows.map(t=>Object.fromEntries(e.data.cols.map((e,n)=>[e,t[n]??null])))}function bt(e,t){return Array.from(new Set(e.map(e=>xt(e[t]))))}function xt(e){return e==null?``:String(e)}function St(e){let t=Number(e);return Number.isFinite(t)?t:null}function Ct(e,t){let n=St(e);return n===null?e==null?``:String(e):t.numberFormat===`#,##0`?Math.round(n).toLocaleString(`en-US`):t.numberFormat===`0%`?`${Math.round(n*100)}%`:String(n)}function wt(e){if(e)return typeof e==`string`?e:[e.latin,e.ea].filter(Boolean).join(`, `)||void 0}function Tt(e){return e.type===`heatmap`||e.type===`sankey`||e.type===`treemap`||e.type===`sunburst`}function Et(e){return!!e&&typeof e==`object`}function Dt(e){return Et(e)&&e.type===`gradient`&&Array.isArray(e.stops)}function Ot(e){let t=``;for(let n=0;ne.type===`heatmap`||e.type===`sankey`||e.type===`treemap`||e.type===`sunburst`)}var At=``,jt=`neo-design-static/g-font`,Mt=`application/vnd.openxmlformats-officedocument.presentationml.presentation`,Nt;function Pt(){return Nt??(Nt=(async()=>{try{return await d(`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`)}catch{let{readFile:t}=await n(async()=>{let{readFile:t}=await import(`./__vite-browser-external-CTd_dPxk.js`).then(t=>e(t.default,1));return{readFile:t}},__vite__mapDeps([0,1])),r=[`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`,`./neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`,`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`.replace(/^\//,``)];for(let e of r)try{return await d(await t(e))}catch{continue}throw Error(`[pptd-wasm] 无法加载 wasm(尝试了 ${r.join(`, `)})`)}})()),Nt}async function Ft(e,t){await Pt();let n=JSON.parse(JSON.stringify(e)),i={};await Bt(n,i),await Wt(n),Kt(n);let a=await Promise.all((t?.fonts??[]).map(async e=>({typeface:e.typeface,data:await It(e.fontBlob)}))),o=await qt(n.customFonts,e=>t?.onProgress?.(50+Math.round(e*40))),l=await zt(n),u=Date.now(),d=(e,t,n)=>r(`msh_nppt_export_sign`,{is_success:e,fail_stage:t,error_reason:n?n instanceof Error?n.message:String(n):void 0,duration:Date.now()-u}),p;try{p=await s(JSON.stringify(n))}catch(e){throw d(!1,`request`,e),e}let m;try{m=f(n,{fonts:a,customFonts:o,images:i,fileName:t?.fileName,metadata:t?.metadata,aiMetadata:t?.aiMetadata,slideTransition:t?.slideTransition,mathLoader:Rt,chartImages:l},p)}catch(e){let t=e instanceof Error?e.message:String(e);throw t.includes(`pptd export signature`)?(d(!1,`verify`,e),new c(t)):e}return d(!0),t?.onProgress?.(95),new Blob([m],{type:Mt})}async function It(e){return typeof e.arrayBuffer==`function`?new Uint8Array(await e.arrayBuffer()):new Promise((t,n)=>{let r=new FileReader;r.addEventListener(`load`,()=>t(new Uint8Array(r.result)),{once:!0}),r.addEventListener(`error`,()=>n(r.error),{once:!0}),r.readAsArrayBuffer(e)})}var Lt;function Rt(e,t){Lt??(Lt=document.implementation.createDocument(``,`root`,null));let n=le(Lt,e,{bold:t.bold||void 0,italic:t.italic??void 0,color:t.color??void 0,fontSize:t.fontSize??void 0,fontFamily:t.fontFamily,opacity:t.opacity??void 0})[0];if(!n||typeof n==`string`)return null;let r=new XMLSerializer;return Array.from(n.childNodes).map(e=>r.serializeToString(e)).join(``)}async function zt(e){let t=j(e),n=[];for(let[e,r]of(t.pages??[]).entries())for(let t of r.elements??[])t?.elementType===`chart`&&kt(t)&&n.push({slide:e+1,elementId:t.elementId,element:t});let r=await Promise.all(n.map(e=>Pe(e.element))),i=[];for(let[e,t]of n.entries()){let n=r[e];n&&i.push({slide:t.slide,elementId:t.elementId,data:Uint8Array.from(atob(n.split(`,`)[1]),e=>e.charCodeAt(0))})}return i}async function Bt(e,t){let n=new Set;Vt(e,e=>{typeof e.src==`string`&&e.src&&n.add(e.src)});let r=new Map;await Promise.all([...n].map(async(e,n)=>{let i=await Ht(e),a=i?`wasm-assets/img-${n}${i.ext}`:`wasm-assets/missing`;i&&(t[a]=i.bytes),r.set(e,a)})),Vt(e,e=>{let t=r.get(e.src);t&&(e.src=t)})}function Vt(e,t){for(let n of e.pages??[]){n.background?.type===`image`&&t(n.background);for(let e of n.elements??[])e?.elementType===`image`&&t(e),e?.fill?.type===`image`&&t(e.fill)}}async function Ht(e){try{let t=await fetch(e);return t.ok?{bytes:new Uint8Array(await t.arrayBuffer()),ext:Ut(e,t.headers.get(`content-type`)??``)}:void 0}catch{return}}function Ut(e,t){let n=/\.(png|jpe?g|gif|svg)(?:$|[?#])/i.exec(e)?.[1]?.toLowerCase(),r={"image/png":`png`,"image/jpeg":`jpg`,"image/gif":`gif`,"image/svg+xml":`svg`}[t.split(`;`)[0].trim()],i=n??r??`png`;return`.${i===`jpeg`?`jpg`:i}`}async function Wt(e){let t=[];for(let n of e.pages??[]){let e=n.elements??[];for(let[n,r]of e.entries())r?.elementType===`icon`&&t.push({elements:e,index:n,element:r})}let n=await Promise.all(t.map(e=>o(e.element.iconName)));for(let[e,r]of t.entries()){let t=n[e];r.elements[r.index]={...r.element,fill:r.element.fill??{type:`solid`,color:`#000000`},...t?{path:t.path,viewBox:t.viewBox}:{}}}}function Gt(e){if(e?.shapeName!==`custom`||typeof e.path!=`string`||e.viewBox)return;let t=e.path.indexOf(`;`);if(t<0)return;let[n,r]=e.path.slice(0,t).split(`,`).map(Number);!(n>0)||!(r>0)||(e.viewBox=[n,r],e.path=e.path.slice(t+1))}function Kt(e){for(let t of e.pages??[])for(let e of t.elements??[])e?.elementType===`shape`&&Gt(e),e?.elementType===`image`&&e.cropShape&&Gt(e.cropShape)}async function qt(e,t){let n=(e??[]).map(e=>Jt(e?.src)).filter(e=>!!e).map(e=>({family:e,url:Yt(e)}));if(!n.length)return[];let r=[];for(let[e,a]of n.entries())try{let e=await fetch(a.url);e.ok?r.push({family:a.family,data:new Uint8Array(await e.arrayBuffer())}):i(`[pptd-wasm] custom font "${a.family}" 下载失败: HTTP ${e.status}`)}catch(e){i(`[pptd-wasm] custom font "${a.family}" 下载失败`,e)}finally{t?.((e+1)/n.length)}return r}function Jt(e){if(!e)return;let t;try{t=new URL(e)}catch{return}if(t.hostname===`fonts.googleapis.com`)return t.searchParams.get(`family`)?.split(`:`)[0]?.trim()||void 0}function Yt(e){let t=Xt(e);return`${At}/${[...jt.split(`/`),`${t}.fntdata`].map(encodeURIComponent).join(`/`)}`}function Xt(e){return e.trim().replace(/[^\p{L}\p{N}._-]+/gu,`-`).replace(/^-+|-+$/g,``)}export{Ft as exportPPTDToPPTXByWasm}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/exportPPTXWasm-legacy-C42D91Tt.js b/editor/neo-ppt/assets/exportPPTXWasm-legacy-C42D91Tt.js new file mode 100644 index 0000000..ac2fd95 --- /dev/null +++ b/editor/neo-ppt/assets/exportPPTXWasm-legacy-C42D91Tt.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js","./preload-helper-legacy-CKCAnWGV.js","./index-legacy-Ce-qKpT_.js","./katex-legacy-COlBCYAe.js","./faIcons-legacy-XZxTRPD2.js","./pptdExportSignature-legacy-Dm26KY_f.js","./echarts-legacy-Bs2DflTb.js","./kimiDesign-legacy-ydvgDWxM.js"],function(e,t){var r,n,o,a,i,s,l,c,u,d,p,f,m,h,g,E,y,b,w,N,T,v,S,D,x,A,C,I,O,_,R,L,M;function P(e,t,r,n={},o=[]){const a=e.createElementNS(t,r);return function(e,t){Object.entries(t).forEach(([t,r])=>{null!=r&&(t.startsWith("xmlns:")?e.setAttributeNS(v.xmlns,t,String(r)):"r:id"!==t&&"r:embed"!==t?e.setAttribute(t,String(r)):e.setAttributeNS(v.r,t,String(r)))})}(a,n),function(e,t){t.forEach(t=>{void 0!==t&&e.appendChild("string"==typeof t?e.ownerDocument.createTextNode(t):t)})}(a,o),a}function q(e){const t=/^rgb\(\s*(\d+),\s*(\d+),\s*(\d+)\s*\)$/i.exec(e);if(t)return`#${k(Number(t[1]))}${k(Number(t[2]))}${k(Number(t[3]))}`;const r=e.startsWith("#")?e:`#${e}`;return/^#[0-9a-f]{6}$/i.test(r)?r:"#000000"}function k(e){return Math.max(0,Math.min(255,e)).toString(16).padStart(2,"0").toUpperCase()}function U(e,t,r){const n=function(e){const t=e.trim(),r=t.startsWith("#")?t:`#${t}`,n=/^#[0-9a-f]{8}$/i.test(r),o=n?Number.parseInt(r.slice(7,9),16)/255:1;return{color:q(n?r.slice(0,7):t),alpha:o}}(t);return P(e,v.a,"a:solidFill",{},[P(e,v.a,"a:srgbClr",{val:n.color.replace("#","")},[F(e,void 0===r?n.alpha:n.alpha*r)])])}function F(e,t){if(!(void 0===t||t>=1))return P(e,v.a,"a:alpha",{val:H(t)})}function H(e){return String(Math.round(1e5*Math.max(0,Math.min(1,e))))}function B(e){const t=e.theme;return{...e,pages:e.pages.map(e=>({...e,background:Q(t,e.background),elements:e.elements.map(e=>function(e,t){if("text"===t.elementType)return{...t,content:$(e,t.content)};if("shape"===t.elementType||"icon"===t.elementType)return{...t,fill:Q(e,t.fill),border:J(e,t.border),shadow:t.shadow?{...t.shadow,color:oe(e,t.shadow.color)??t.shadow.color}:void 0};if("image"===t.elementType)return{...t,border:J(e,t.border),shadow:t.shadow?{...t.shadow,color:oe(e,t.shadow.color)??t.shadow.color}:void 0};if("line"===t.elementType)return{...t,border:J(e,t.border),shadow:t.shadow?{...t.shadow,color:oe(e,t.shadow.color)??t.shadow.color}:void 0};if("table"===t.elementType){const r="string"==typeof t.style?function(e,t){if(!t?.startsWith("$"))return;const r=e?.tableStyles?.[t.slice(1)];return r?te(e,r):void 0}(e,t.style)??t.style:te(e,t.style);return{...t,style:r,fill:Q(e,t.fill),shadow:t.shadow?{...t.shadow,color:oe(e,t.shadow.color)??t.shadow.color}:void 0,rows:t.rows.map(t=>t.map(t=>({...t,...void 0!==t.text?{text:ne(e,t.text)}:{},color:oe(e,t.color),fontFamily:t.fontFamily,fill:Q(e,t.fill),border:Z(e,t.border)})))}}return"chart"===t.elementType?function(e,t){return{...t,fill:Q(e,t.fill),border:J(e,t.border),shadow:t.shadow?{...t.shadow,color:oe(e,t.shadow.color)??t.shadow.color}:void 0,series:t.series.map(t=>V(e,t)),seriesDefaults:j(e,t.seriesDefaults),xAxis:K(e,t.xAxis),yAxis:K(e,t.yAxis),title:"object"==typeof t.title&&t.title?{...t.title,color:oe(e,t.title.color),fontFamily:t.title.fontFamily}:t.title,legend:t.legend&&"object"==typeof t.legend?{...t.legend,color:oe(e,t.legend.color),fontFamily:t.legend.fontFamily}:t.legend,dataLabels:W(e,t.dataLabels),fontFamily:t.fontFamily}}(e,t):t}(t,e))}))}}function V(e,t){const r={...t,fill:Y(e,"fill"in t?t.fill:void 0),border:J(e,"border"in t?t.border:void 0),dataLabels:W(e,"dataLabels"in t?t.dataLabels:void 0)};return"line"===t.type?{...r,lineColor:X(e,t.lineColor),marker:z(e,t.marker)}:"area"===t.type||"radar"===t.type?{...r,lineColor:X(e,t.lineColor),areaColor:X(e,t.areaColor),marker:z(e,t.marker)}:"scatter"===t.type?{...r,marker:z(e,t.marker)}:"candlestick"===t.type?{...r,upBars:t.upBars?{fill:oe(e,t.upBars.fill),border:J(e,t.upBars.border)}:void 0,downBars:t.downBars?{fill:oe(e,t.downBars.fill),border:J(e,t.downBars.border)}:void 0,wickStyle:J(e,t.wickStyle)}:"waterfall"===t.type?{...r,totalBars:G(e,t.totalBars),increaseBars:G(e,t.increaseBars),decreaseBars:G(e,t.decreaseBars)}:"heatmap"===t.type?{...r,colorScheme:t.colorScheme?.map(t=>oe(e,t)??t),colorbar:t.colorbar&&"object"==typeof t.colorbar?{...t.colorbar,color:oe(e,t.colorbar.color),fontFamily:t.colorbar.fontFamily}:t.colorbar}:r}function j(e,t){if(t)return Object.fromEntries(Object.entries(t).map(([t,r])=>[t,r?V(e,{...r,type:t}):r]))}function G(e,t){return t?{...t,fill:oe(e,t.fill)??t.fill,border:J(e,t.border)}:t}function z(e,t){return t&&!1!==t?{...t,fill:X(e,t.fill),border:J(e,t.border)}:t}function Y(e,t){return Array.isArray(t)?t.map(t=>Y(e,t)):t&&"object"==typeof t?"type"in t?X(e,t):Object.fromEntries(Object.entries(t).map(([t,r])=>[t,Y(e,r)])):X(e,t)}function X(e,t){return t?"string"==typeof t?oe(e,t)??t:Q(e,t):t}function W(e,t){return t?{...t,color:oe(e,t.color),fontFamily:t.fontFamily}:t}function $(e,t){const r=function(e,t){if(!t?.startsWith("$"))return;const r=e?.textStyles?.[t.slice(1)];return r?{...r,color:oe(e,r.color),fontFamily:r.fontFamily,backgroundColor:oe(e,r.backgroundColor)}:void 0}(e,t.style);return{...r,...t,text:ne(e,t.text),color:oe(e,t.color??r?.color),fontSize:t.fontSize??r?.fontSize,fontFamily:t.fontFamily??r?.fontFamily,bold:t.bold??r?.bold,italic:t.italic??r?.italic,backgroundColor:oe(e,t.backgroundColor??r?.backgroundColor),lineHeight:t.lineHeight??r?.lineHeight,lineHeightPx:t.lineHeightPx??r?.lineHeightPx,letterSpacing:t.letterSpacing??r?.letterSpacing,marginTop:t.marginTop??r?.marginTop,gradient:t.gradient?Q(e,t.gradient):void 0,shadow:t.shadow?{...t.shadow,color:oe(e,t.shadow.color)??t.shadow.color}:void 0}}function Q(e,t){return t?"solid"===t.type?{...t,color:oe(e,t.color)??t.color}:"gradient"===t.type?{...t,stops:t.stops.map(t=>({...t,color:oe(e,t.color)??t.color}))}:{...t}:t}function J(e,t){if(t)return{...t,color:oe(e,t.color)??t.color}}function Z(e,t){return null===t?null:void 0!==t?Array.isArray(t)?t.map(t=>t?J(e,t):null):J(e,t):void 0}function K(e,t){return Array.isArray(t)?t.map(t=>ee(e,t)):ee(e,t)}function ee(e,t){if(t)return{...t,label:t.label&&"object"==typeof t.label?{...t.label,color:oe(e,t.label.color),fontFamily:t.label.fontFamily}:t.label,axisLine:t.axisLine&&"object"==typeof t.axisLine?{...t.axisLine,color:oe(e,t.axisLine.color)}:t.axisLine,gridLine:t.gridLine&&"object"==typeof t.gridLine?{...t.gridLine,color:oe(e,t.gridLine.color)}:t.gridLine,title:t.title&&"object"==typeof t.title?{...t.title,color:oe(e,t.title.color),fontFamily:t.title.fontFamily}:t.title}}function te(e,t){if(t)return{...t,cellStyle:re(e,t.cellStyle),firstRowStyle:re(e,t.firstRowStyle),lastRowStyle:re(e,t.lastRowStyle),firstColumnStyle:re(e,t.firstColumnStyle),lastColumnStyle:re(e,t.lastColumnStyle),bodyStyles:t.bodyStyles?.map(t=>re(e,t)).filter(e=>!!e)}}function re(e,t){var r;if(t)return r={...t,color:oe(e,t.color),fontFamily:t.fontFamily,backgroundColor:oe(e,t.backgroundColor),fill:Q(e,t.fill),border:Z(e,t.border)},Object.fromEntries(Object.entries(r).filter(([,e])=>void 0!==e))}function ne(e,t){if(!e||!t.includes("$"))return t;let r;try{r=new T.DOMParser({onError:()=>{}}).parseFromString(`${t}`,"text/html")}catch{return t}const n=new T.XMLSerializer,o=(a="body",ae(r).find(e=>e.tagName.toLowerCase()===a)??r.documentElement);var a;let i=!1;return function(e){const t=[],r=e=>{for(const n of ae(e))t.push(n),r(n)};return r(e),t}(o).forEach(t=>{const r=t.getAttribute("style");if(!r)return;const n=r.replace(/([-\w]+):\s*([^;]+)/g,(t,r,n)=>{const o=n.trim();if(!o.startsWith("$"))return t;const a=oe(e,o);return a&&a!==o?`${r}: ${a}`:t});n!==r&&(t.setAttribute("style",n),i=!0)}),i?ie(o).map(e=>n.serializeToString(e)).join(""):t}function oe(e,t){return t?.startsWith("$")?e?.colors?.[t.slice(1)]??t:t}function ae(e){return ie(e).filter(e=>1===e.nodeType)}function ie(e){return Array.from(e.childNodes)}function se(e,t,r){const n=function(e,t){const r=function(e){try{return s.renderToString(e,{throwOnError:!1,displayMode:!1,output:"mathml"})}catch{return""}}(e);if(!r)return;const n=ve((new(globalThis.DOMParser??T.DOMParser)).parseFromString(r,"text/html"),"math"),o=Se(n?ve(n,"semantics"):void 0)??Se(n);return o?ce(o,t):void 0}(t,r),o=`\\(${t}\\)`;return n?[P(e,v.a14,"a14:m",{},[P(e,v.m,"m:oMath",{},ue(e,[n]))])]:[le(e,o,r)]}function le(e,t,r){return P(e,v.a,"a:r",{},[fe(e,r),P(e,v.a,"a:t",{},[t])])}function ce(e,t){const r=e.tagName.toLowerCase(),n=function(e,t){const r=e.tagName.toLowerCase(),n={...t};"mi"===r&&(n.italic=!0),"mn"!==r&&"mo"!==r||(n.italic=!1);const o=e.getAttribute("mathvariant");"bold"===o&&(n.bold=!0),"italic"===o&&(n.italic=!0),"bold-italic"===o&&(n.bold=!0,n.italic=!0),"normal"===o&&(n.bold=!1,n.italic=!1);const a=e.getAttribute("mathcolor");a&&(n.color=q(a));const i=function(e,t){if(!e)return;const r=/^(\d+(?:\.\d+)?)px$/.exec(e);if(r)return Number(r[1]);const n=/^(\d+(?:\.\d+)?)em$/.exec(e);if(n)return Number(n[1])*(t??16);const o=/^(\d+(?:\.\d+)?)%$/.exec(e);return o?Number(o[1])*(t??16)/100:void 0}(e.getAttribute("mathsize"),t.fontSize);return void 0!==i&&(n.fontSize=i),n}(e,t),o=Array.from(e.childNodes);if(1===o.length&&3===o[0].nodeType)return{tag:r,text:o[0].textContent??"",style:n};const a=[];return o.forEach(e=>{if(1===e.nodeType)return void a.push(ce(e,n));const t=e.textContent??"";t&&a.push({tag:"mtext",text:t,style:n})}),{tag:r,children:a,style:n}}function ue(e,t){return t.flatMap(t=>function(e,t){switch(t.tag){case"mrow":return ue(e,t.children??[]);case"mi":case"mn":case"mo":case"mtext":return[de(e,t.text??"",t.style)];case"msup":return[he(e,"m:sSup",["m:e","m:sup"],t)];case"msub":return[he(e,"m:sSub",["m:e","m:sub"],t)];case"msubsup":return[he(e,"m:sSubSup",["m:e","m:sub","m:sup"],t)];case"mfrac":return[ge(e,t)];case"msqrt":return[Ee(e,t,!1)];case"mroot":return[Ee(e,t,!0)];case"munder":return[ye(e,"m:limLow",t)];case"mover":return[ye(e,"m:limUpp",t)];case"munderover":return[be(e,t)];case"mtable":return[we(e,t)];case"mtr":return[P(e,v.m,"m:mr",{},(t.children??[]).map(t=>P(e,v.m,"m:e",{},ue(e,[t]))))];case"mtd":return[P(e,v.m,"m:e",{},ue(e,t.children??[]))];case"mspace":return[de(e," ",t.style,!0)];case"mfenced":return[P(e,v.m,"m:e",{},[de(e,"(",t.style),...ue(e,t.children??[]),de(e,")",t.style)])];default:return t.children?.length?ue(e,t.children):t.text?[de(e,t.text,t.style)]:[]}}(e,t))}function de(e,t,r,n=!1){return P(e,v.m,"m:r",{},[pe(e,r),P(e,v.m,"m:t",n?{"xml:space":"preserve"}:{},[t])])}function pe(e,t){if(t)return P(e,v.a,"a:rPr",me(t),function(e,t){return[t.color?U(e,t.color,t.opacity):void 0,...Te(e,t.fontFamily)]}(e,t))}function fe(e,t){if(t)return P(e,v.a,"a:rPr",me(t),[t.color?U(e,t.color,t.opacity):void 0,...Te(e,t.fontFamily,!0)])}function me(e){return{lang:"en-US",sz:void 0!==e.fontSize?Math.round(100*e.fontSize):void 0,noProof:"1",b:e.bold?"1":void 0,i:void 0!==e.italic?e.italic?"1":"0":void 0}}function he(e,t,r,n){const o=n.children??[];if(!(o.lengthP(e,v.m,t,{},ue(e,[o[r]])))])}function ge(e,t){const r=t.children??[];if(!(r.length<2))return P(e,v.m,"m:f",{},[P(e,v.m,"m:fPr",{},[P(e,v.m,"m:type",{"m:val":"bar"})]),P(e,v.m,"m:num",{},ue(e,[r[0]])),P(e,v.m,"m:den",{},ue(e,[r[1]]))])}function Ee(e,t,r){const n=t.children??[];if(!n.length)return;if(r&&n.length<2)return;const o=r?ue(e,[n[1]]):[de(e," ",void 0,!0)];return P(e,v.m,"m:rad",{},[P(e,v.m,"m:deg",{},o),P(e,v.m,"m:e",{},ue(e,[n[0]]))])}function ye(e,t,r){const n=r.children??[];if(!(n.length<2))return P(e,v.m,t,{},[Ne(e,t,r.style),P(e,v.m,"m:e",{},ue(e,[n[0]])),P(e,v.m,"m:lim",{},ue(e,[n[1]]))])}function be(e,t){const r=t.children??[];if(r.length<3)return;const n=P(e,v.m,"m:limUpp",{},[Ne(e,"m:limUpp",t.style),P(e,v.m,"m:e",{},ue(e,[r[0]])),P(e,v.m,"m:lim",{},ue(e,[r[2]]))]);return P(e,v.m,"m:limLow",{},[Ne(e,"m:limLow",t.style),P(e,v.m,"m:e",{},[n]),P(e,v.m,"m:lim",{},ue(e,[r[1]]))])}function we(e,t){return P(e,v.m,"m:m",{},[P(e,v.m,"m:mPr",{},[P(e,v.m,"m:ctrlPr",{},[pe(e,t.style)])]),...ue(e,t.children??[])])}function Ne(e,t,r){return P(e,v.m,`${t}Pr`,{},[P(e,v.m,"m:ctrlPr",{},[pe(e,r)])])}function Te(e,t,r=!1){if(!t)return[];const[n,o]=t.split(",").map(e=>e.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean);return[n?P(e,v.a,"a:latin",{typeface:n}):void 0,r&&o?P(e,v.a,"a:ea",{typeface:o}):void 0]}function ve(e,t){for(const r of De(e)){if(r.tagName.toLowerCase()===t)return r;const e=ve(r,t);if(e)return e}}function Se(e){return e?De(e)[0]:void 0}function De(e){return Array.from(e.childNodes).filter(e=>1===e.nodeType)}async function xe(e){const n=function(e){const t=e.series.find(Ze);if(t)return"heatmap"===t.type?function(e,t){const r=Ye(e),n=Xe(r,t.encode.x),o=Xe(r,t.encode.y),a=r.map(e=>{const r=n.indexOf(We(e[t.encode.x])),a=o.indexOf(We(e[t.encode.y]));if(!(r<0||a<0))return[r,a,$e(e[t.encode.value])]}).filter(e=>!!e),[i,s]=function(e,t){if(Array.isArray(t.colorScale?.domain))return t.colorScale.domain;if(!e.length)return[0,1];if("diverging"===t.colorScale?.type){const t=Math.max(...e.map(e=>Math.abs(e)));return[-t,t]}const r=Math.min(...e),n=Math.max(...e);return r===n?[r,r+1]:[r,n]}(a.map(e=>e[2]).filter(e=>null!==e),t),l=function(e,t,r){const n=Array.isArray(e.colorScheme)&&e.colorScheme.length?e.colorScheme:[];return"diverging"===e.colorScale?.type?n.length>=3?n.slice(0,3):[n[0]??S[1],n[1]??"#FFFFFF",n[2]??S[0]]:n.length>=2?n:t<0&&r>0?[S[1],"#FFFFFF",S[0]]:D}(t,i,s),c=void 0===t.colorbar||t.colorbar;return{...Ce(e),grid:Ie(e,c),xAxis:_e(e.xAxis,n),yAxis:_e(e.yAxis,o),visualMap:Oe(c,i,s,l),series:[{type:"heatmap",data:a,label:Re(e,t)}]}}(e,t):"sankey"===t.type?function(e,t){const r=function(e,t){const r=[],n=new Set,o=new Map,a=new Map,i=[],s=e=>{n.has(e)||(n.add(e),r.push(e),o.set(e,0),a.set(e,[]))};e.forEach(e=>{const r=We(e[t.encode.source]),n=We(e[t.encode.target]);r&&n&&(s(r),s(n),a.get(r)?.push(n),o.set(n,(o.get(n)??0)+1),i.push({source:r,target:n,value:$e(e[t.encode.flow])??0}))});const l=r.filter(e=>0===(o.get(e)??0)),c=[];for(;l.length;){const e=l.shift();c.push(e),a.get(e)?.forEach(e=>{o.set(e,(o.get(e)??0)-1),0===o.get(e)&&l.push(e)})}return{nodeNames:c.length===r.length?c:r,links:i}}(Ye(e),t);return{...Ce(e),series:[{type:"sankey",nodeAlign:t.nodeAlign??"justify",top:Ge(e),left:24,right:24,bottom:12,data:r.nodeNames.map((e,r)=>({name:e,itemStyle:{color:He(t.fill,e,r,S[r%S.length]),...Ve(t.border)}})),links:r.links,label:ke(e,t,"category"),lineStyle:{color:"source",opacity:.36,curveness:.5}}]}}(e,t):"treemap"===t.type?function(e,t){return{...Ce(e),series:[{type:"treemap",roam:!1,nodeClick:!1,breadcrumb:{show:!1},top:Ge(e),left:8,right:8,bottom:8,data:Pe(e,t),label:ke(e,t,"category")}]}}(e,t):"sunburst"===t.type?function(e,t){return{...Ce(e),series:[{type:"sunburst",radius:[0,"80%"],center:["50%",ze(e)?"56%":"50%"],sort:null,nodeClick:!1,data:Pe(e,t),label:ke(e,t,"category")}]}}(e,t):void 0}(e);if(!n)return;I||"undefined"!=typeof document&&!/jsdom/i.test(globalThis.navigator?.userAgent??"")||(p({measureText:(e,t)=>({width:Ae(e,t)})}),I=!0);const a=Math.max(1,Math.round(e.bounds[2])),i=Math.max(1,Math.round(e.bounds[3])),s=function(e,t,r){if("undefined"==typeof document||/jsdom/i.test(globalThis.navigator?.userAgent??""))return;const n=document.createElement("div");n.style.width=`${t}px`,n.style.height=`${r}px`,n.style.position="fixed",n.style.left="-10000px",n.style.top="-10000px",document.body.appendChild(n);const o=d(n,null,{renderer:"canvas",width:t,height:r});try{return o.setOption(e),o.getDataURL({type:"png",pixelRatio:A})}catch{return}finally{o.dispose(),n.remove()}}(n,a,i);if(s)return s;const l=d(null,null,{renderer:"svg",ssr:!0,width:a,height:i});try{return l.setOption(n),`data:image/png;base64,${await async function(e,n){const{Resvg:a}=await(C??(C=(async()=>{const[e,n]=await Promise.all([o(()=>t.import("./resvg-wasm-legacy-D8pfsh6P.js"),void 0),o(()=>t.import("./__vite-browser-external-legacy-Ck9y9J0l.js").then(e=>r(e.default,1)),void 0)]),a=function(){const e=t.meta.resolve;return e?new URL(e("@resvg/resvg-wasm/index_bg.wasm")):new URL("/neo-ppt/assets/index_bg-Blvrv-U2.wasm",""+t.meta.url)}();if(!a)throw new Error("Unable to resolve @resvg/resvg-wasm/index_bg.wasm");try{await e.initWasm(await n.readFile(a))}catch(i){if(!(i instanceof Error&&i.message.includes("Already initialized")))throw i}return e})()),C),i=new a(e,{fitTo:{mode:"width",value:n},background:"rgba(255, 255, 255, 0)",font:{loadSystemFonts:!0}});try{const e=i.render();try{return function(e){let t="";for(let r=0;re+(/[\u2E80-\u9FFF]/.test(t)?r:.56*r),0)}function Ce(e){const t=ze(e),r="object"==typeof e.title?e.title:void 0;return{animation:!1,backgroundColor:"solid"===e.fill?.type?e.fill.color:"rgba(255,255,255,0)",textStyle:{fontFamily:Je(e.fontFamily)},title:t?{text:t,left:"center",top:4,textStyle:{color:r?.color??"#333333",fontSize:r?.fontSize??16,fontFamily:Je(r?.fontFamily??e.fontFamily),fontWeight:"normal"}}:void 0,tooltip:{trigger:"item"},legend:{show:!1}}}function Ie(e,t){const r=Le(t),n=Me(t),o={top:Ge(e),left:52,right:24,bottom:36,containLabel:!0};return n?("top"===r&&(o.top=Number(o.top)+34),"bottom"===r&&(o.bottom=62),"left"===r&&(o.left=92),"right"===r&&(o.right=72),o):o}function Oe(e,t,r,n){const o="object"==typeof e?e:void 0,a=Le(e),i={top:{top:30,left:"center",orient:"horizontal"},bottom:{bottom:4,left:"center",orient:"horizontal"},left:{left:4,top:"middle",orient:"vertical"},right:{right:4,top:"middle",orient:"vertical"}};return{type:"continuous",min:t,max:r,show:Me(e),calculable:!1,inRange:{color:n},textStyle:{color:o?.color,fontSize:o?.fontSize,fontFamily:Je(o?.fontFamily)},...i[a]??i.right}}function _e(e,t){const r=Array.isArray(e)?e[0]:e,n="object"==typeof r?.label?r.label:void 0;return{type:"category",data:t,axisLabel:{show:!1!==r?.label,color:n?.color??"#4B5563",fontSize:n?.fontSize??10,fontFamily:Je(n?.fontFamily)},axisLine:{show:!1!==r?.axisLine},splitLine:{show:!0===r?.gridLine}}}function Re(e,t){const r=je(e,t);if(r)return{show:!0===r.show,color:r.color??"#111827",fontSize:r.fontSize??10,fontFamily:Je(r.fontFamily??e.fontFamily),formatter:e=>Qe(e.value?.[2],r)}}function Le(e){const t="object"==typeof e?e.position:void 0;return"top"===t||"bottom"===t||"left"===t||"right"===t?t:"right"}function Me(e){return!1!==e&&!(Ke(e)&&!1===e.show)}function Pe(e,t){const r=function(e,t){const r=new Map,n=e=>{let t=r.get(e);return t||(t={name:e,children:[]},r.set(e,t)),t};return e.forEach(e=>{const r=e[t.encode.category];if(null==r||""===r)return;const o=String(r),a=n(o),i=$e(e[t.encode.value]);null!==i&&(a.value=i);const s=null==(l=t.encode.parent?e[t.encode.parent]:void 0)||""===l?void 0:String(l);var l;if(!s||s===o)return;const c=n(s);a.parentName=s,c.children.includes(a)||c.children.push(a)}),[...r.values()].filter(e=>!e.parentName||!r.has(e.parentName))}(Ye(e),t),n="treemap"===t.type&&void 0===t.border?x:t.border,o="number"==typeof t.levels&&t.levels>0?t.levels:Number.POSITIVE_INFINITY;return r.map((e,r)=>qe(e,t,n,r,0,o))}function qe(e,t,r,n,o,a,i=new Set){if(i.has(e.name))return{name:e.name,value:e.value??0};i.add(e.name);const s=o+1qe(e,t,r,n,o+1,a,new Set(i))):[],l=s.reduce((e,t)=>e+Ue(t),0),c=s.length&&(void 0===e.value||e.value<=0)?l:e.value??l,u=S[n%S.length];return{name:e.name,value:c,itemStyle:{color:Fe(t.fill,n,o,u),...Ve(r)},...s.length?{children:s}:{}}}function ke(e,t,r){const n=je(e,t);if(!n)return;const o=n.content??r;return{show:!0===n.show,color:n.color,fontSize:n.fontSize,fontFamily:Je(n.fontFamily??e.fontFamily),formatter:e=>"category"===o?e.name??"":"percentage"===o?void 0===e.percent?"":`${Math.round(e.percent)}%`:Qe(e.value,n)}}function Ue(e){return e.children?.length?e.value||e.children.reduce((e,t)=>e+Ue(t),0):e.value}function Fe(e,t,r,n){if(Array.isArray(e)){const o=e[0];if(Array.isArray(o)){const o=e[t%e.length];return Be(o?.[r%o.length],n)}return Be(e[t%e.length],n)}return Be(e,n)}function He(e,t,r,n){return!Ke(e)||et(e)||Array.isArray(e)?Array.isArray(e)?Be(e[r%e.length],n):Be(e,n):Be(e[t],n)}function Be(e,t){return"string"==typeof e?e:et(e)?function(e){const t=e.stops.map(e=>({offset:e.position,color:e.color}));if("radial"===e.gradientType)return{type:"radial",x:.5,y:.5,r:.5,colorStops:t,global:!1};const r=(e.angle??0)/180*Math.PI;return{type:"linear",x:.5-Math.cos(r)/2,y:.5-Math.sin(r)/2,x2:.5+Math.cos(r)/2,y2:.5+Math.sin(r)/2,colorStops:t,global:!1}}(e):t}function Ve(e){return e?{borderColor:e.color,borderWidth:e.width,borderType:e.style}:{}}function je(e,t){return t.dataLabels??e.dataLabels}function Ge(e){return ze(e)?Math.min(48,.16*e.bounds[3]):8}function ze(e){return"string"==typeof e.title?e.title:e.title?.text}function Ye(e){return e.data.rows.map(t=>Object.fromEntries(e.data.cols.map((e,r)=>[e,t[r]??null])))}function Xe(e,t){return Array.from(new Set(e.map(e=>We(e[t]))))}function We(e){return null==e?"":String(e)}function $e(e){const t=Number(e);return Number.isFinite(t)?t:null}function Qe(e,t){const r=$e(e);return null===r?null==e?"":String(e):"#,##0"===t.numberFormat?Math.round(r).toLocaleString("en-US"):"0%"===t.numberFormat?`${Math.round(100*r)}%`:String(r)}function Je(e){if(e)return"string"==typeof e?e:[e.latin,e.ea].filter(Boolean).join(", ")||void 0}function Ze(e){return"heatmap"===e.type||"sankey"===e.type||"treemap"===e.type||"sunburst"===e.type}function Ke(e){return!!e&&"object"==typeof e}function et(e){return Ke(e)&&"gradient"===e.type&&Array.isArray(e.stops)}function tt(e){return e.series.some(e=>"heatmap"===e.type||"sankey"===e.type||"treemap"===e.type||"sunburst"===e.type)}async function rt(e){return"function"==typeof e.arrayBuffer?new Uint8Array(await e.arrayBuffer()):new Promise((t,r)=>{const n=new FileReader;n.addEventListener("load",()=>t(new Uint8Array(n.result)),{once:!0}),n.addEventListener("error",()=>r(n.error),{once:!0}),n.readAsArrayBuffer(e)})}function nt(e,t){M??(M=document.implementation.createDocument("","root",null));const r=se(M,e,{bold:t.bold||void 0,italic:t.italic??void 0,color:t.color??void 0,fontSize:t.fontSize??void 0,fontFamily:t.fontFamily,opacity:t.opacity??void 0})[0];if(!r||"string"==typeof r)return null;const n=new XMLSerializer;return Array.from(r.childNodes).map(e=>n.serializeToString(e)).join("")}function ot(e,t){for(const r of e.pages??[]){"image"===r.background?.type&&t(r.background);for(const e of r.elements??[])"image"===e?.elementType&&t(e),"image"===e?.fill?.type&&t(e.fill)}}function at(e,t){const r=/\.(png|jpe?g|gif|svg)(?:$|[?#])/i.exec(e)?.[1]?.toLowerCase(),n={"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/svg+xml":"svg"}[t.split(";")[0].trim()],o=r??n??"png";return`.${"jpeg"===o?"jpg":o}`}function it(e){if("custom"!==e?.shapeName||"string"!=typeof e.path||e.viewBox)return;const t=e.path.indexOf(";");if(t<0)return;const[r,n]=e.path.slice(0,t).split(",").map(Number);r>0&&n>0&&(e.viewBox=[r,n],e.path=e.path.slice(t+1))}function st(e){const t=e.trim().replace(/[^\p{L}\p{N}._-]+/gu,"-").replace(/^-+|-+$/g,"");return`${O}/${[..._.split("/"),`${t}.fntdata`].map(encodeURIComponent).join("/")}`}return e("exportPPTDToPPTXByWasm",async function(e,n){await(L??(L=(async()=>{try{return await f("/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm")}catch{const{readFile:e}=await o(async()=>{const{readFile:e}=await t.import("./__vite-browser-external-legacy-Ck9y9J0l.js").then(e=>r(e.default,1));return{readFile:e}},void 0),n=["/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm","./neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm","/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm".replace(/^\//,"")];for(const t of n)try{return await f(await e(t))}catch{continue}throw new Error(`[pptd-wasm] 无法加载 wasm(尝试了 ${n.join(", ")})`)}})()),L);const s=JSON.parse(JSON.stringify(e)),d={};await async function(e,t){const r=new Set;ot(e,e=>{"string"==typeof e.src&&e.src&&r.add(e.src)});const n=new Map;await Promise.all([...r].map(async(e,r)=>{const o=await async function(e){try{const t=await fetch(e);if(!t.ok)return;return{bytes:new Uint8Array(await t.arrayBuffer()),ext:at(e,t.headers.get("content-type")??"")}}catch{return}}(e),a=o?`wasm-assets/img-${r}${o.ext}`:"wasm-assets/missing";o&&(t[a]=o.bytes),n.set(e,a)})),ot(e,e=>{const t=n.get(e.src);t&&(e.src=t)})}(s,d),await async function(e){const t=[];for(const n of e.pages??[]){const e=n.elements??[];for(const[r,n]of e.entries())"icon"===n?.elementType&&t.push({elements:e,index:r,element:n})}const r=await Promise.all(t.map(e=>l(e.element.iconName)));for(const[n,o]of t.entries()){const e=r[n];o.elements[o.index]={...o.element,fill:o.element.fill??{type:"solid",color:"#000000"},...e?{path:e.path,viewBox:e.viewBox}:{}}}}(s),function(e){for(const t of e.pages??[])for(const e of t.elements??[])"shape"===e?.elementType&&it(e),"image"===e?.elementType&&e.cropShape&&it(e.cropShape)}(s);const p=await Promise.all((n?.fonts??[]).map(async e=>({typeface:e.typeface,data:await rt(e.fontBlob)}))),h=await async function(e,t){const r=(e??[]).map(e=>function(e){if(!e)return;let t;try{t=new URL(e)}catch{return}return"fonts.googleapis.com"!==t.hostname?void 0:t.searchParams.get("family")?.split(":")[0]?.trim()||void 0}(e?.src)).filter(e=>!!e).map(e=>({family:e,url:st(e)}));if(!r.length)return[];const n=[];for(const[a,s]of r.entries())try{const e=await fetch(s.url);e.ok?n.push({family:s.family,data:new Uint8Array(await e.arrayBuffer())}):i(`[pptd-wasm] custom font "${s.family}" 下载失败: HTTP ${e.status}`)}catch(o){i(`[pptd-wasm] custom font "${s.family}" 下载失败`,o)}finally{t?.((a+1)/r.length)}return n}(s.customFonts,e=>n?.onProgress?.(50+Math.round(40*e))),g=await async function(e){const t=B(e),r=[];for(const[a,i]of(t.pages??[]).entries())for(const e of i.elements??[])"chart"===e?.elementType&&tt(e)&&r.push({slide:a+1,elementId:e.elementId,element:e});const n=await Promise.all(r.map(e=>xe(e.element))),o=[];for(const[a,i]of r.entries()){const e=n[a];e&&o.push({slide:i.slide,elementId:i.elementId,data:Uint8Array.from(atob(e.split(",")[1]),e=>e.charCodeAt(0))})}return o}(s),E=Date.now(),y=(e,t,r)=>a("msh_nppt_export_sign",{is_success:e,fail_stage:t,error_reason:r?r instanceof Error?r.message:String(r):void 0,duration:Date.now()-E});let b,w;try{b=await c(JSON.stringify(s))}catch(N){throw y(!1,"request",N),N}try{w=m(s,{fonts:p,customFonts:h,images:d,fileName:n?.fileName,metadata:n?.metadata,aiMetadata:n?.aiMetadata,slideTransition:n?.slideTransition,mathLoader:nt,chartImages:g},b)}catch(N){const e=N instanceof Error?N.message:String(N);if(e.includes("pptd export signature"))throw y(!1,"verify",N),new u(e);throw N}return y(!0),n?.onProgress?.(95),new Blob([w],{type:R})}),{setters:[function(e){r=e.i,n=e.t},function(e){o=e.t},function(e){a=e.a,i=e.n},function(e){s=e.t},function(e){l=e.n},function(e){c=e.n,u=e.t},function(e){d=e.C,p=e.w},function(e){f=e.n,m=e.r,e.t}],execute:function(){h=n(e=>{function t(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.getOwnPropertyDescriptors&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&"function"==typeof t.freeze?t.freeze(e):e}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=t({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0}),o=t({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),a=t({script:!1,style:!1,textarea:!0,title:!0});function i(e){return e===s.HTML}var s=t({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),l=Object.keys(s).map(function(e){return s[e]}),c=t({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});e.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)r(t,n)&&(e[n]=t[n]);return e},e.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var o=0;o-1},e.MIME_TYPE=s,e.NAMESPACE=c}),g=n(e=>{function t(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=h().freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),n=Object.keys(r);function o(e){return"number"==typeof e&&e>=1&&e<=25}function a(e,t){var i;o(e)?(this.name=n[e],this.message=t||""):(this.message=e,this.name="string"==typeof(i=t)&&i.substring(i.length-r.Error.length)===r.Error?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,a)}t(a,!0),Object.defineProperties(a.prototype,{code:{enumerable:!0,get:function(){var e=n.indexOf(this.name);return o(e)?e:0}}});for(var i={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},s=Object.entries(i),l=0;l{function t(e){try{"function"!=typeof e&&(e=RegExp);var t=new e("𝌆","u").exec("𝌆");return!!t&&2===t[0].length}catch(r){}return!1}var r=t();function n(e){if("["!==e.source[0])throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function o(e,t){if("["!==e.source[0])throw new Error("/"+e.source+"/ can not be used with chars_without");if(!t||"string"!=typeof t)throw new Error(JSON.stringify(t)+" is not a valid search");if(-1===e.source.indexOf(t))throw new Error('"'+t+'" is not is /'+e.source+"/");if("-"===t&&1!==e.source.indexOf(t))throw new Error('"'+t+'" is not at the first postion of /'+e.source+"/");return new RegExp(e.source.replace(t,""),r?"u":"")}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var r="string"==typeof e;if(r&&void 0===t&&"|"===e)throw new Error("use regg instead of reg to wrap expressions with `|`!");return r?e:e.source}).join(""),r?"mu":"m")}function i(e){if(0===arguments.length)throw new Error("no parameters provided");return a.apply(i,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var s=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;r&&(s=a("[",n(s),"\\u{10000}-\\u{10FFFF}","]"));var l=new RegExp("[^"+n(s)+"]",r?"u":""),c=/[\x20\x09\x0D\x0A]/,u=n(c),d=a(c,"+"),p=a(c,"*"),f=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;r&&(f=a("[",n(f),"\\u{10000}-\\u{10FFFF}","]"));var m=a("[",n(f),n(/[-.0-9\xB7]/),n(/[\u0300-\u036F\u203F-\u2040]/),"]"),h=a(f,m,"*"),g=a(m,"+"),E=i(a("&",h,";"),"|",i(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),y=a("%",h,";"),b=i(a('"',i(/[^%&"]/,"|",y,"|",E),"*",'"'),"|",a("'",i(/[^%&']/,"|",y,"|",E),"*","'")),w=i('"',i(/[^<&"]/,"|",E),"*",'"',"|","'",i(/[^<&']/,"|",E),"*","'"),N=a(o(f,":"),o(m,":"),"*"),T=a(N,i(":",N),"?"),v=a("^",T,"$"),S=a("(",T,")"),D=i(/"[^"]*"|'[^']*'/),x=a(/^<\?/,"(",h,")",i(d,"(",s,"*?)"),"?",/\?>/),A=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,C=i('"',A,'*"',"|","'",o(A,"'"),"*'"),I="\x3c!--",O=a(I,i(o(s,"-"),"|",a("-",o(s,"-"))),"*","--\x3e"),_="#PCDATA",R=i("EMPTY","|","ANY","|",i(a(/\(/,p,_,i(p,/\|/,p,T),"*",p,/\)\*/),"|",a(/\(/,p,_,p,/\)/)),"|",a(/\([^>]+\)/,/[?*+]?/)),L=a(""),M=a(""),P="about:legacy-compat",q=i('"'+P+'"',"|","'"+P+"'"),k="SYSTEM",U="PUBLIC",F=i(i(k,d,D),"|",i(U,d,C,d,D)),H=a("^",i(i(k,d,"(?",D,")"),"|",i(U,d,"(?",C,")",d,"(?",D,")"))),B=a("^",C,"$"),V=a("^",D,"$"),j=i(b,"|",i(F,i(d,"NDATA",d,h),"?")),G=""),"|",a(G,d,"%",d,h,d,i(b,"|",F),p,">")),Y=a(""),X=a(p,"=",p),W=/1[.]\d+/,$=a(d,"version",X,i("'",W,"'","|",'"',W,'"')),Q=/[A-Za-z][-A-Za-z0-9._]*/,J=a(/^<\?xml/,$,i(d,"encoding",X,i('"',Q,'"',"|","'",Q,"'")),"?",i(d,"standalone",X,i("'",i("yes","|","no"),"'","|",'"',i("yes","|","no"),'"')),"?",p,/\?>/),Z=a(//));e.chars=n,e.chars_without=o,e.detectUnicodeSupport=t,e.reg=a,e.regg=i,e.ABOUT_LEGACY_COMPAT=P,e.ABOUT_LEGACY_COMPAT_SystemLiteral=q,e.AttlistDecl=M,e.CDATA_START="",e.CDSect=Z,e.Char=s,e.Comment=O,e.COMMENT_START=I,e.COMMENT_END="--\x3e",e.DOCTYPE_DECL_START="{var t=h(),r=t.find,n=t.hasDefaultHTMLNamespace,o=t.hasOwn,a=t.isHTMLMimeType,i=t.isHTMLRawTextElement,s=t.isHTMLVoidElement,l=t.MIME_TYPE,c=t.NAMESPACE,u=Symbol(),d=g(),p=d.DOMException,f=d.DOMExceptionName,m=E();function y(e){if(e!==u)throw new TypeError("Illegal constructor")}function b(e){return""!==e}function w(e,t){return o(e,t)||(e[t]=!0),e}function N(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(b):[]}(e);return Object.keys(t.reduce(w,{}))}function T(e){if(!m.QName_exact.test(e))throw new p(p.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function v(e,r){T(r),e=e||null;var n=null,o=r;if(r.indexOf(":")>=0){var a=r.split(":");n=a[0],o=a[1]}if(null!==n&&null===e)throw new p(p.NAMESPACE_ERR,"prefix is non-null and namespace is null");if("xml"===n&&e!==t.NAMESPACE.XML)throw new p(p.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if(("xmlns"===n||"xmlns"===r)&&e!==t.NAMESPACE.XMLNS)throw new p(p.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===t.NAMESPACE.XMLNS&&"xmlns"!==n&&"xmlns"!==r)throw new p(p.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[e,n,o]}function S(e,t){for(var r in e)o(e,r)&&(t[r]=e[r])}function D(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,S(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var x={},A=x.ELEMENT_NODE=1,C=x.ATTRIBUTE_NODE=2,I=x.TEXT_NODE=3,O=x.CDATA_SECTION_NODE=4,_=x.ENTITY_REFERENCE_NODE=5,R=x.ENTITY_NODE=6,L=x.PROCESSING_INSTRUCTION_NODE=7,M=x.COMMENT_NODE=8,P=x.DOCUMENT_NODE=9,q=x.DOCUMENT_TYPE_NODE=10,k=x.DOCUMENT_FRAGMENT_NODE=11,U=x.NOTATION_NODE=12,F=t.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function H(e,t){if(t.length=0){for(var o=t.length-1;n<=o;)t[n]=t[++n];if(t.length=o,e){var a=e.ownerDocument;a&&te(a,e,r),r.ownerElement=null}}}function $(){}function Q(e){y(e)}function J(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function Z(e,t){K(e,null,{enter:function(e){return!t(e)||K.STOP}})}function K(e,t,r){for(var n=[{node:e,context:t,phase:K.ENTER}];n.length>0;){var o=n.pop();if(o.phase===K.ENTER){var a=r.enter(o.node,o.context);if(a===K.STOP)return K.STOP;if(n.push({node:o.node,context:a,phase:K.EXIT}),null==a)continue;for(var i=o.node.lastChild;i;)n.push({node:i,context:a,phase:K.ENTER}),i=i.previousSibling}else r.exit&&r.exit(o.node,o.context)}}function ee(e,t){y(e);var r=t||{};this.ownerDocument=this,this.contentType=r.contentType||l.XML_APPLICATION,this.type=a(this.contentType)?"html":"xml"}function te(e,t,r,n){e&&e._inc++,r.namespaceURI===c.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function re(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r&&!r.nextSibling)n[n.length++]=r;else{for(var o=t.firstChild,a=0;o;)n[a++]=o,o=o.nextSibling;n.length=a,delete n[n.length]}}}function ne(e,t){if(e!==t.parentNode)throw new p(p.NOT_FOUND_ERR,"child's parent is not parent");var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,re(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function oe(e){return e&&e.nodeType===Q.DOCUMENT_TYPE_NODE}function ae(e){return e&&e.nodeType===Q.ELEMENT_NODE}function ie(e){return e&&e.nodeType===Q.TEXT_NODE}function se(e,t){var n=e.childNodes||[];if(r(n,ae)||oe(t))return!1;var o=r(n,oe);return!(t&&o&&n.indexOf(o)>n.indexOf(t))}function le(e,t){var n=e.childNodes||[];if(r(n,function(e){return ae(e)&&e!==t}))return!1;var o=r(n,oe);return!(t&&o&&n.indexOf(o)>n.indexOf(t))}function ce(e,t,r){if(!function(e){return e&&(e.nodeType===Q.DOCUMENT_NODE||e.nodeType===Q.DOCUMENT_FRAGMENT_NODE||e.nodeType===Q.ELEMENT_NODE)}(e))throw new p(p.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new p(p.NOT_FOUND_ERR,"child not in parent");if(!function(e){return e&&(e.nodeType===Q.CDATA_SECTION_NODE||e.nodeType===Q.COMMENT_NODE||e.nodeType===Q.DOCUMENT_FRAGMENT_NODE||e.nodeType===Q.DOCUMENT_TYPE_NODE||e.nodeType===Q.ELEMENT_NODE||e.nodeType===Q.PROCESSING_INSTRUCTION_NODE||e.nodeType===Q.TEXT_NODE)}(t)||oe(t)&&e.nodeType!==Q.DOCUMENT_NODE)throw new p(p.HIERARCHY_REQUEST_ERR,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function ue(e,t,n){var o=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===Q.DOCUMENT_FRAGMENT_NODE){var i=a.filter(ae);if(i.length>1||r(a,ie))throw new p(p.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(1===i.length&&!se(e,n))throw new p(p.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(ae(t)&&!se(e,n))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(oe(t)){if(r(o,oe))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=r(o,ae);if(n&&o.indexOf(s)1||r(a,ie))throw new p(p.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(1===i.length&&!le(e,n))throw new p(p.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(ae(t)&&!le(e,n))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(oe(t)){function l(e){return oe(e)&&e!==n}if(r(o,l))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=r(o,ae);if(n&&o.indexOf(s)=0;N--)if(""===(T=d[N]).prefix&&T.namespace===e.namespaceURI){b=T.namespace;break}if(b!==e.namespaceURI)for(N=d.length-1;N>=0;N--){var T;if((T=d[N]).namespace===e.namespaceURI){T.prefix&&(y=T.prefix+":"+E);break}}}t.push("<",y);for(var v=d.slice(),S=0;S"),null;if(t.push(">"),u&&i(E)){for(var B=e.firstChild;B;)B.data?t.push(B.data):Ie(B,t,v.slice(),n),B=B.nextSibling;return t.push(""),null}return{ns:v,tag:y};case P:case k:if(a&&e.nodeType===P&&null==e.documentElement)throw new p("The Document has no documentElement",f.InvalidStateError);return{ns:d};case C:return Ce(t,e.name,e.value),null;case I:if(a&&m.InvalidChar.test(e.data))throw new p("The Text node data contains characters outside the XML Char production",f.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,J)),null;case O:if(a&&-1!==e.data.indexOf("]]>"))throw new p('The CDATASection data contains "]]>"',f.InvalidStateError);return l?t.push(m.CDATA_START,e.data.replace(/]]>/g,"]]]]>"),m.CDATA_END):t.push(m.CDATA_START,e.data,m.CDATA_END),null;case M:if(a){if(m.InvalidChar.test(e.data))throw new p("The comment node data contains characters outside the XML Char production",f.InvalidStateError);if(-1!==e.data.indexOf("--")||"-"===e.data[e.data.length-1])throw new p('The comment node data contains "--" or ends with "-"',f.InvalidStateError)}return t.push(m.COMMENT_START,e.data,m.COMMENT_END),null;case q:var V=e.publicId,j=e.systemId;if(a){if(V&&!m.PubidLiteral_match.test(V))throw new p("DocumentType publicId is not a valid PubidLiteral",f.InvalidStateError);if(j&&"."!==j&&!m.SystemLiteral_match.test(j))throw new p("DocumentType systemId is not a valid SystemLiteral",f.InvalidStateError);if(e.internalSubset&&-1!==e.internalSubset.indexOf("]>"))throw new p('DocumentType internalSubset contains "]>"',f.InvalidStateError)}return t.push(m.DOCTYPE_DECL_START," ",e.name),V?(t.push(" ",m.PUBLIC," ",V),j&&"."!==j&&t.push(" ",j)):j&&"."!==j&&t.push(" ",m.SYSTEM," ",j),e.internalSubset&&t.push(" [",e.internalSubset,"]"),t.push(">"),null;case L:if(a){if(-1!==e.target.indexOf(":")||"xml"===e.target.toLowerCase())throw new p("The ProcessingInstruction target is not well-formed",f.InvalidStateError);if(m.InvalidChar.test(e.data))throw new p("The ProcessingInstruction data contains characters outside the XML Char production",f.InvalidStateError);if(-1!==e.data.indexOf("?>"))throw new p('The ProcessingInstruction data contains "?>"',f.InvalidStateError)}return t.push(""),null;case _:return t.push("&",e.nodeName,";"),null;default:return t.push("??",e.nodeName),null}},exit:function(e,r){r&&r.tag&&t.push("")}})}function Oe(e,t,r){var n;return K(t,null,{enter:function(t,a){var i=new t.constructor(u);for(var s in t)if(o(t,s)){var l=t[s];"object"!=typeof l&&l!=i[s]&&(i[s]=l)}t.childNodes&&(i.childNodes=new V),i.ownerDocument=e;var c=r;switch(i.nodeType){case A:var d=t.attributes,p=i.attributes=new z,f=d.length;p._ownerElement=i;for(var m=0;m=0&&e0;){var r=t.pop(),n=r.node,o=r.other;if(n.nodeType!==o.nodeType)return!1;switch(n.nodeType){case n.DOCUMENT_TYPE_NODE:if(n.name!==o.name)return!1;if(n.publicId!==o.publicId)return!1;if(n.systemId!==o.systemId)return!1;break;case n.ELEMENT_NODE:if(n.namespaceURI!==o.namespaceURI)return!1;if(n.prefix!==o.prefix)return!1;if(n.localName!==o.localName)return!1;if(n.attributes.length!==o.attributes.length)return!1;for(var a=0;a=0;a--)t.push({node:n.childNodes[a],other:o.childNodes[a]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return pe(this,e,t)},replaceChild:function(e,t){pe(this,e,t,de),t&&this.removeChild(t)},removeChild:function(e){return ne(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Oe(this.ownerDocument||this,this,e)},normalize:function(){K(this,null,{enter:function(e){for(var t=e.firstChild;t;){var r=t.nextSibling;null!==r&&r.nodeType===I&&t.nodeType===I?(e.removeChild(r),t.appendData(r.data)):t=r}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(o(r,n)&&r[n]===e)return n;t=t.nodeType==C?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&o(r,e))return r[e];t=t.nodeType==C?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,r=this,n=null,o=null;if(t instanceof me&&(t=(n=t).ownerElement),r instanceof me&&(r=(o=r).ownerElement,n&&t&&r===t))for(var a,i=0;a=r.attributes[i];i++){if(a===n)return F.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+F.DOCUMENT_POSITION_PRECEDING;if(a===o)return F.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+F.DOCUMENT_POSITION_FOLLOWING}if(!t||!r||r.ownerDocument!==t.ownerDocument)return F.DOCUMENT_POSITION_DISCONNECTED+F.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(B(r.ownerDocument)>B(t.ownerDocument)?F.DOCUMENT_POSITION_FOLLOWING:F.DOCUMENT_POSITION_PRECEDING);if(o&&t===r)return F.DOCUMENT_POSITION_CONTAINS+F.DOCUMENT_POSITION_PRECEDING;if(n&&t===r)return F.DOCUMENT_POSITION_CONTAINED_BY+F.DOCUMENT_POSITION_FOLLOWING;for(var s=[],l=t.parentNode;l;){if(!o&&l===r)return F.DOCUMENT_POSITION_CONTAINED_BY+F.DOCUMENT_POSITION_FOLLOWING;s.push(l),l=l.parentNode}s.reverse();for(var c=[],u=r.parentNode;u;){if(!n&&u===t)return F.DOCUMENT_POSITION_CONTAINS+F.DOCUMENT_POSITION_PRECEDING;c.push(u),u=u.parentNode}c.reverse();var d=H(s,c);for(var p in d.childNodes){var f=d.childNodes[p];if(f===r)return F.DOCUMENT_POSITION_FOLLOWING;if(f===t)return F.DOCUMENT_POSITION_PRECEDING;if(c.indexOf(f)>=0)return F.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(f)>=0)return F.DOCUMENT_POSITION_PRECEDING}return 0}},S(x,Q),S(x,Q.prototype),S(F,Q),S(F,Q.prototype),K.STOP=Symbol("walkDOM.STOP"),K.ENTER=0,K.EXIT=1,ee.prototype={implementation:null,nodeName:"#document",nodeType:P,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===k){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return pe(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===A&&(this.documentElement=e),e},removeChild:function(e){var t=ne(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){pe(this,e,t,de),e.ownerDocument=this,t&&this.removeChild(t),ae(e)&&(this.documentElement=e)},importNode:function(e,t){return function(e,t,r){var n;return K(t,null,{enter:function(t,o){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,null===o?n=a:o.appendChild(a),t.nodeType===C||r?a:null}}),n}(this,e,t)},getElementById:function(e){var t=null;return Z(this.documentElement,function(r){if(r.nodeType==A&&r.getAttribute("id")==e)return t=r,!0}),t},createElement:function(e){var t=new fe(u);return t.ownerDocument=this,"html"===this.type&&(e=e.toLowerCase()),n(this.contentType)&&(t.namespaceURI=c.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new V,(t.attributes=new z)._ownerElement=t,t},createDocumentFragment:function(){var e=new ve(u);return e.ownerDocument=this,e.childNodes=new V,e},createTextNode:function(e){var t=new ge(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createComment:function(e){var t=new Ee(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createCDATASection:function(e){if(-1!==e.indexOf("]]>"))throw new p(p.INVALID_CHARACTER_ERR,'data contains "]]>"');var t=new ye(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new Se(u);return r.ownerDocument=this,r.childNodes=new V,r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){if(!m.QName_exact.test(e))throw new p(p.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return"html"===this.type&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new me(u);return t.ownerDocument=this,t.childNodes=new V,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!m.Name.test(e))throw new p(p.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if("html"===this.type)throw new p("document is an html document",f.NotSupportedError);var t=new Te(u);return t.ownerDocument=this,t.childNodes=new V,t.nodeName=e,t},createElementNS:function(e,t){var r=v(e,t),n=new fe(u),o=n.attributes=new z;return n.childNodes=new V,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=r[0],n.prefix=r[1],n.localName=r[2],o._ownerElement=n,n},createAttributeNS:function(e,t){var r=v(e,t),n=new me(u);return n.ownerDocument=this,n.childNodes=new V,n.nodeName=t,n.name=t,n.specified=!0,n.namespaceURI=r[0],n.prefix=r[1],n.localName=r[2],n}},D(ee,Q),fe.prototype={nodeType:A,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return"html"===this.ownerDocument.type&&this.namespaceURI===c.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var r=this.getAttributeNode(e);r?r.value=r.nodeValue=""+t:((r=this.ownerDocument._createAttribute(e)).value=r.nodeValue=""+t,this.setAttributeNode(r))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r?r.value:null},setAttributeNS:function(e,t,r){var n=v(e,t)[2],o=this.getAttributeNodeNS(e,n);o?o.value=o.nodeValue=""+r:((o=this.ownerDocument.createAttributeNS(e,t)).value=o.nodeValue=""+r,this.setAttributeNode(o))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=N(e);return new j(this,function(r){var n=[];return t.length>0&&Z(r,function(o){if(o!==r&&o.nodeType===A){var a=o.getAttribute("class");if(a){var i=e===a;if(!i){var s=N(a);i=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}i&&n.push(o)}}var l}),n})},getElementsByTagName:function(e){var t="html"===(this.nodeType===P?this:this.ownerDocument).type,r=e.toLowerCase();return new j(this,function(n){var o=[];return Z(n,function(a){a!==n&&a.nodeType===A&&("*"===e||a.getQualifiedName()===(t&&a.namespaceURI===c.HTML?r:e))&&o.push(a)}),o})},getElementsByTagNameNS:function(e,t){return new j(this,function(r){var n=[];return Z(r,function(o){o===r||o.nodeType!==A||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||n.push(o)}),n})}},ee.prototype.getElementsByClassName=fe.prototype.getElementsByClassName,ee.prototype.getElementsByTagName=fe.prototype.getElementsByTagName,ee.prototype.getElementsByTagNameNS=fe.prototype.getElementsByTagNameNS,D(fe,Q),me.prototype.nodeType=C,D(me,Q),he.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},D(he,Q),ge.prototype={nodeName:"#text",nodeType:I,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},D(ge,he),Ee.prototype={nodeName:"#comment",nodeType:M},D(Ee,he),ye.prototype={nodeName:"#cdata-section",nodeType:O},D(ye,ge),be.prototype.nodeType=q,D(be,Q),we.prototype.nodeType=U,D(we,Q),Ne.prototype.nodeType=R,D(Ne,Q),Te.prototype.nodeType=_,D(Te,Q),ve.prototype.nodeName="#document-fragment",ve.prototype.nodeType=k,D(ve,Q),Se.prototype.nodeType=L,D(Se,he),De.prototype.serializeToString=function(e,t){return xe.call(e,t)},Q.prototype.toString=xe;try{Object.defineProperty&&(Object.defineProperty(j.prototype,"length",{get:function(){return G(this),this.$$length}}),Object.defineProperty(Q.prototype,"textContent",{get:function(){if(this.nodeType===A||this.nodeType===k){var e=[];return K(this,null,{enter:function(t){return t.nodeType===A||t.nodeType===k||(t.nodeType===L||t.nodeType===M?null:void e.push(t.nodeValue))}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case A:case k:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Object.defineProperty(fe.prototype,"children",{get:function(){return new j(this,Re)}}),Object.defineProperty(ee.prototype,"children",{get:function(){return new j(this,Re)}}),Object.defineProperty(ve.prototype,"children",{get:function(){return new j(this,Re)}}),_e=function(e,t,r){e["$$"+t]=r})}catch(Le){}e._updateLiveList=G,e.Attr=me,e.CDATASection=ye,e.CharacterData=he,e.Comment=Ee,e.Document=ee,e.DocumentFragment=ve,e.DocumentType=be,e.DOMImplementation=$,e.Element=fe,e.Entity=Ne,e.EntityReference=Te,e.LiveNodeList=j,e.NamedNodeMap=z,e.Node=Q,e.NodeList=V,e.Notation=we,e.Text=ge,e.ProcessingInstruction=Se,e.walkDOM=K,e.XMLSerializer=De}),b=n(e=>{var t=h().freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES}),w=n(e=>{var t=h(),r=E(),n=g(),o=t.isHTMLEscapableRawTextElement,a=t.isHTMLMimeType,i=t.isHTMLRawTextElement,s=t.hasOwn,l=t.NAMESPACE,c=n.ParseError,u=n.DOMException;function d(){}d.prototype={parse:function(e,n,o){var i=this.domBuilder;i.startDocument(),w(n,n=Object.create(null)),function(e,n,o,i,l){var d=a(i.mimeType);function h(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function g(e){var t=";"===e[e.length-1]?e:e+";";if(!d&&t!==e)return l.error("EntityRef: expecting ;"),e;var n=r.Reference.exec(t);if(!n||n[0].length!==t.length)return l.error("entity not matching Reference production: "+e),e;var a=t.slice(1,-1);return s(o,a)?o[a]:"#"===a.charAt(0)?h(parseInt(a.substring(1).replace("x","0x"))):(l.error("entity not found:"+e),e)}function E(t){if(t>O){var r=e.substring(O,t).replace(p,g);x&&A(O),i.characters(r,0,t-O),O=t}}e.indexOf(r.UNICODE_REPLACEMENT_CHARACTER)>=0&&l.warning("Unicode replacement character detected, source encoding issues?");var w=0,N=0,D=/\r\n?|\n|$/g,x=i.locator;function A(t,r){for(;t>=N&&(r=D.exec(e));)w=N,N=r.index+r[0].length,x.lineNumber++;x.columnNumber=t-w+1}for(var C=[{currentNSMap:n}],I=[],O=0;;){try{var _=e.indexOf("<",O);if(_<0){if(!d&&I.length>0)return l.fatalError("unclosed xml tag(s): "+I.join(", "));if(!e.substring(O).match(/^\s*$/)){var R=i.doc,L=R.createTextNode(e.substring(O));if(R.documentElement)return l.error("Extra content at the end of the document");R.appendChild(L),i.currentElement=L}return}if(_>O){var M=e.substring(O,_);d||0!==I.length||(M=M.replace(new RegExp(r.S_OPT.source,"g"),""))&&l.error("Unexpected content outside root element: '"+M+"'"),E(_)}switch(e.charAt(_+1)){case"/":var P=e.indexOf(">",_+2),q=e.substring(_+2,P>0?P:void 0);if(!q)return l.fatalError("end tag name missing");var k=P>0&&r.reg("^",r.QName_group,r.S_OPT,"$").exec(q);if(!k)return l.fatalError('end tag name contains invalid characters: "'+q+'"');if(!i.currentElement&&!i.doc.documentElement)return;var U=I[I.length-1]||i.currentElement.tagName||i.doc.documentElement.tagName||"";if(U!==k[1]){var F=k[1].toLowerCase();if(!d||U.toLowerCase()!==F)return l.fatalError('Opening and ending tag mismatch: "'+U+'" != "'+q+'"')}var H=C.pop();I.pop();var B=H.localNSMap;if(i.endElement(H.uri,H.localName,U),B)for(var V in B)s(B,V)&&i.endPrefixMapping(V);P++;break;case"?":x&&A(_),P=v(e,_,i,l);break;case"!":x&&A(_),P=T(e,_,i,l,d);break;default:x&&A(_);var j=new S,G=C[C.length-1].currentNSMap,z=(P=m(e,_,j,0,g,l,d),j.length);if(j.closed||(d&&t.isHTMLVoidElement(j.tagName)?j.closed=!0:I.push(j.tagName)),x&&z){for(var Y=f(x,{}),X=0;XO?O=P:E(Math.max(_,O)+1)}}(e,n,o,i,this.errorHandler),i.endDocument()}};var p=/&#?\w+;?/g;function f(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function m(e,t,r,n,o,a,i){function l(e,t,n){return s(r.attributeNames,e)?a.fatalError("Attribute "+e+" redefined"):!i&&t.indexOf("<")>=0?a.fatalError("Unescaped '<' not allowed in attributes values"):void r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(p,o),n)}for(var c,u=++t,d=0;;){var f=e.charAt(u);switch(f){case"=":if(1===d)c=e.slice(t,u),d=3;else{if(2!==d)throw new Error("attribute equal must after attrName");d=3}break;case"'":case'"':if(3===d||1===d){if(1===d&&(a.warning('attribute value must after "="'),c=e.slice(t,u)),t=u+1,!((u=e.indexOf(f,t))>0))throw new Error("attribute value no end '"+f+"' match");l(c,m=e.slice(t,u),t-1),d=5}else{if(4!=d)throw new Error('attribute value must after "="');l(c,m=e.slice(t,u),t),a.warning('attribute "'+c+'" missed start quot('+f+")!!"),t=u+1,d=5}break;case"/":switch(d){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:d=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==d&&r.setTagName(e.slice(t,u)),u;case">":switch(d){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(m=e.slice(t,u)).slice(-1)&&(r.closed=!0,m=m.slice(0,-1));case 2:2===d&&(m=c),4==d?(a.warning('attribute "'+m+'" missed quot(")!'),l(c,m,t)):(i||a.warning('attribute "'+m+'" missed value!! "'+m+'" instead!!'),l(m,m,t));break;case 3:if(!i)return a.fatalError("AttValue: ' or \" expected")}return u;case"€":f=" ";default:if(f<=" ")switch(d){case 0:r.setTagName(e.slice(t,u)),d=6;break;case 1:c=e.slice(t,u),d=2;break;case 4:var m=e.slice(t,u);a.warning('attribute "'+m+'" missed quot(")!!'),l(c,m,t);case 5:d=6}else switch(d){case 2:i||a.warning('attribute "'+c+'" missed value!! "'+c+'" instead2!!'),l(c,c,t),t=u,d=1;break;case 5:a.warning('attribute space is required"'+c+'"!!');case 6:d=1,t=u;break;case 3:d=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function y(e,t,r){for(var n=e.tagName,o=null,a=e.length;a--;){var i=e[a],c=i.qName,u=i.value;if((m=c.indexOf(":"))>0)var d=i.prefix=c.slice(0,m),p=c.slice(m+1),f="xmlns"===d&&p;else p=c,d=null,f="xmlns"===c&&"";i.localName=p,!1!==f&&(null==o&&(o=Object.create(null),w(r,r=Object.create(null))),r[f]=o[f]=u,i.uri=l.XMLNS,t.startPrefixMapping(f,u))}for(a=e.length;a--;)(i=e[a]).prefix&&("xml"===i.prefix&&(i.uri=l.XML),"xmlns"!==i.prefix&&(i.uri=r[i.prefix]));var m;(m=n.indexOf(":"))>0?(d=e.prefix=n.slice(0,m),p=e.localName=n.slice(m+1)):(d=null,p=e.localName=n);var h=e.uri=r[d||""];if(t.startElement(h,p,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(h,p,n),o)for(d in o)s(o,d)&&t.endPrefixMapping(d)}function b(e,t,r,n,a){var s=o(r);if(s||i(r)){var l=e.indexOf("",t),c=e.substring(t+1,l);return s&&(c=c.replace(p,n)),a.characters(c,0,c.length),l}return t+1}function w(e,t){for(var r in e)s(e,r)&&(t[r]=e[r])}function N(e,t){var n=t;function o(t){return t=t||0,e.charAt(n+t)}function a(e){n+=e=e||1}function i(){return e.substring(n)}return{char:o,getIndex:function(){return n},getMatch:function(e){var t=r.reg("^",e).exec(i());return t?(a(t[0].length),t[0]):null},getSource:function(){return e},skip:a,skipBlanks:function(){for(var t=0;n"!==i.char()?o.fatalError("doctype not terminated with > at position "+i.getIndex()):(i.skip(1),n.startDTD(c.name,c.publicId,c.systemId,c.internalSubset),n.endDTD(),i.getIndex());default:return o.fatalError('Not well-formed XML starting with "0)return o.fatalError("processing instruction at position "+t+" is an xml declaration which is only at the start of the document");if(!r.XMLDecl.test(e.substring(t)))return o.fatalError("xml declaration is not well-formed")}return n.processingInstruction(a[1],a[2]),t+a[0].length}function S(){this.attributeNames=Object.create(null)}S.prototype={setTagName:function(e){if(!r.QName_exact.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!r.QName_exact.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=d,e.parseUtils=N,e.parseDoctypeCommentOrCData=T}),N=n(e=>{var t=h(),r=y(),n=g(),o=b(),a=w(),i=r.DOMImplementation,s=t.hasDefaultHTMLNamespace,l=t.isHTMLMimeType,c=t.isValidMimeType,u=t.MIME_TYPE,d=t.NAMESPACE,p=n.ParseError,f=a.XMLReader;function m(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028\u2029]/g,"\n")}function E(e){if(void 0===(e=e||{}).locator&&(e.locator=!0),this.assign=e.assign||t.assign,this.domHandler=e.domHandler||N,this.onError=e.onError||e.errorHandler,e.errorHandler&&"function"!=typeof e.errorHandler)throw new TypeError("errorHandler object is no longer supported, switch to onError!");e.errorHandler&&e.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||m,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}function N(e){var t=e||{};this.mimeType=t.mimeType||u.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function T(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function v(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function S(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}E.prototype.parseFromString=function(e,r){if(!c(r))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+r+'" is not valid.');var n=this.assign(Object.create(null),this.xmlns),a=o.XML_ENTITIES,i=n[""]||null;s(r)?(a=o.HTML_ENTITIES,i=d.HTML):r===u.XML_SVG_IMAGE&&(i=d.SVG),n[""]=i,n.xml=n.xml||d.XML;var l=new this.domHandler({mimeType:r,defaultNamespace:i,onError:this.onError}),p=this.locator?{}:void 0;this.locator&&l.setDocumentLocator(p);var m=new f;return m.errorHandler=l,m.domBuilder=l,t.isHTMLMimeType(r)||"string"==typeof e||m.errorHandler.fatalError("source is not a string"),m.parse(this.normalizeLineEndings(String(e)),n,a),l.doc.documentElement||m.errorHandler.fatalError("missing root element"),l.doc},N.prototype={startDocument:function(){var e=new i;this.doc=l(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,"")},startElement:function(e,t,r,n){var o=this.doc,a=o.createElementNS(e,r||t),i=n.length;S(this,a),this.currentElement=a,this.locator&&T(this.locator,a);for(var s=0;s{var t=h();e.assign=t.assign,e.hasDefaultHTMLNamespace=t.hasDefaultHTMLNamespace,e.isHTMLMimeType=t.isHTMLMimeType,e.isValidMimeType=t.isValidMimeType,e.MIME_TYPE=t.MIME_TYPE,e.NAMESPACE=t.NAMESPACE;var r=g();e.DOMException=r.DOMException,e.DOMExceptionName=r.DOMExceptionName,e.ExceptionCode=r.ExceptionCode,e.ParseError=r.ParseError;var n=y();e.Attr=n.Attr,e.CDATASection=n.CDATASection,e.CharacterData=n.CharacterData,e.Comment=n.Comment,e.Document=n.Document,e.DocumentFragment=n.DocumentFragment,e.DocumentType=n.DocumentType,e.DOMImplementation=n.DOMImplementation,e.Element=n.Element,e.Entity=n.Entity,e.EntityReference=n.EntityReference,e.LiveNodeList=n.LiveNodeList,e.NamedNodeMap=n.NamedNodeMap,e.Node=n.Node,e.NodeList=n.NodeList,e.Notation=n.Notation,e.ProcessingInstruction=n.ProcessingInstruction,e.Text=n.Text,e.XMLSerializer=n.XMLSerializer;var o=N();e.DOMParser=o.DOMParser,e.normalizeLineEndings=o.normalizeLineEndings,e.onErrorStopParsing=o.onErrorStopParsing,e.onWarningStopParsing=o.onWarningStopParsing})(),v={xmlns:"http://www.w3.org/2000/xmlns/",contentTypes:"http://schemas.openxmlformats.org/package/2006/content-types",relationships:"http://schemas.openxmlformats.org/package/2006/relationships",p:"http://schemas.openxmlformats.org/presentationml/2006/main",a:"http://schemas.openxmlformats.org/drawingml/2006/main",a14:"http://schemas.microsoft.com/office/drawing/2010/main",c:"http://schemas.openxmlformats.org/drawingml/2006/chart",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",pptd:"https://kimi-design.msh.team/pptd/2026",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",extendedProperties:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",customProperties:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",docPropsVTypes:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},S=["#1783FF","#68B8A8","#C9A86A","#8C84C9","#8D98A8","#5F9CF5"],D=["#EFF6FF","#1783FF"],x={style:"solid",width:1,color:"#FFFFFF"},A=2,I=!1,O="",_="neo-design-static/g-font",R="application/vnd.openxmlformats-officedocument.presentationml.presentation"}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/faIcons-legacy-XZxTRPD2.js b/editor/neo-ppt/assets/faIcons-legacy-XZxTRPD2.js new file mode 100644 index 0000000..55d5ac3 --- /dev/null +++ b/editor/neo-ppt/assets/faIcons-legacy-XZxTRPD2.js @@ -0,0 +1 @@ +System.register(["./const-legacy-Bw9iWaro.js","./common-utils-legacy-BUVwbO7W.js"],function(e,a){var r,t,s,l,o,i;function n(e){const[,a,r]=/viewBox="0\s0\s([\d]+)\s([\d]+)"/.exec(e)??[0,200,200];return[Number(a),Number(r)]}async function c(e,a){const r=function(e,a="fas"){const r=l[e]??e,s=`${o[a]??"solid"}/${r}`;return`${t}font-awesome/7/${s}.svg`}(l[e]??e,a),s=i.get(r);if(s)return s;const n=fetch(r).then(e=>e.text());return i.set(r,n),n}return e({n:async function(e){const[a,r]=e.split(":");if(!a||!r)return null;const t=a in o?a:"fas";try{const e=await c(r,t),a=function(e){const a=/]*?\sd="([^"]+?)"[^>]*?>/.exec(e)?.[1];if(a)return new s(a).toAbs().encode()}(e);return a?{path:a,viewBox:n(e)}:null}catch{return null}},t:function(){if(document.getElementById("font-awesome-css"))return;const e=document.createElement("link");e.href=`${r}font-awesome/7/css/all.min.css`,e.rel="stylesheet",e.id="font-awesome-css",e.crossOrigin="anonymous",document.head.appendChild(e)}}),{setters:[function(e){r=e.o,t=e.s},function(e){s=e.t}],execute:function(){l={innosoft:"42-group","contact-book":"address-book","contact-card":"address-card",vcard:"address-card","angle-double-down":"angles-down","angle-double-left":"angles-left","angle-double-right":"angles-right","angle-double-up":"angles-up","apple-alt":"apple-whole","sort-numeric-asc":"arrow-down-1-9","sort-numeric-down":"arrow-down-1-9","sort-numeric-desc":"arrow-down-9-1","sort-numeric-down-alt":"arrow-down-9-1","sort-alpha-asc":"arrow-down-a-z","sort-alpha-down":"arrow-down-a-z","long-arrow-down":"arrow-down-long","sort-amount-desc":"arrow-down-short-wide","sort-amount-down-alt":"arrow-down-short-wide","sort-amount-asc":"arrow-down-wide-short","sort-amount-down":"arrow-down-wide-short","sort-alpha-desc":"arrow-down-z-a","sort-alpha-down-alt":"arrow-down-z-a","long-arrow-left":"arrow-left-long","mouse-pointer":"arrow-pointer",exchange:"arrow-right-arrow-left","sign-out":"arrow-right-from-bracket","long-arrow-right":"arrow-right-long","sign-in":"arrow-right-to-bracket","arrow-left-rotate":"arrow-rotate-left","arrow-rotate-back":"arrow-rotate-left","arrow-rotate-backward":"arrow-rotate-left",undo:"arrow-rotate-left","arrow-right-rotate":"arrow-rotate-right","arrow-rotate-forward":"arrow-rotate-right",redo:"arrow-rotate-right","level-down":"arrow-turn-down","level-up":"arrow-turn-up","sort-numeric-up":"arrow-up-1-9","sort-numeric-up-alt":"arrow-up-9-1","sort-alpha-up":"arrow-up-a-z","long-arrow-up":"arrow-up-long","external-link":"arrow-up-right-from-square","sort-amount-up-alt":"arrow-up-short-wide","sort-amount-up":"arrow-up-wide-short","sort-alpha-up-alt":"arrow-up-z-a","arrows-h":"arrows-left-right",refresh:"arrows-rotate",sync:"arrows-rotate","arrows-v":"arrows-up-down",arrows:"arrows-up-down-left-right","carriage-baby":"baby-carriage","fast-backward":"backward-fast","step-backward":"backward-step","shopping-bag":"bag-shopping",haykal:"bahai",cancel:"ban","smoking-ban":"ban-smoking","band-aid":"bandage",navicon:"bars","tasks-alt":"bars-progress",reorder:"bars-staggered",stream:"bars-staggered","baseball-ball":"baseball","shopping-basket":"basket-shopping","basketball-ball":"basketball",bathtub:"bath","battery-0":"battery-empty",battery:"battery-full","battery-5":"battery-full","battery-3":"battery-half","battery-2":"battery-quarter","battery-4":"battery-three-quarters",procedures:"bed-pulse",beer:"beer-mug-empty","concierge-bell":"bell-concierge",bgg:"board-game-geek",zap:"bolt",atlas:"book-atlas",bible:"book-bible","journal-whills":"book-journal-whills","book-reader":"book-open-reader",quran:"book-quran","book-dead":"book-skull",tanakh:"book-tanakh","border-style":"border-top-left",archive:"box-archive",boxes:"boxes-stacked","boxes-alt":"boxes-stacked",quidditch:"broom-ball","quidditch-broom-ball":"broom-ball",bank:"building-columns",institution:"building-columns",museum:"building-columns",university:"building-columns",hamburger:"burger","bus-alt":"bus-simple","briefcase-clock":"business-time",tram:"cable-car","birthday-cake":"cake-candles",cake:"cake-candles","calendar-alt":"calendar-days","calendar-times":"calendar-xmark","camera-alt":"camera",automobile:"car","battery-car":"car-battery","car-crash":"car-burst","car-alt":"car-rear","dolly-flatbed":"cart-flatbed","luggage-cart":"cart-flatbed-suitcase","shopping-cart":"cart-shopping",blackboard:"chalkboard","chalkboard-teacher":"chalkboard-user","glass-cheers":"champagne-glasses","area-chart":"chart-area","bar-chart":"chart-bar","line-chart":"chart-line","pie-chart":"chart-pie","vote-yea":"check-to-slot","child-rifle":"child-combatant","arrow-circle-down":"circle-arrow-down","arrow-circle-left":"circle-arrow-left","arrow-circle-right":"circle-arrow-right","arrow-circle-up":"circle-arrow-up","check-circle":"circle-check","chevron-circle-down":"circle-chevron-down","chevron-circle-left":"circle-chevron-left","chevron-circle-right":"circle-chevron-right","chevron-circle-up":"circle-chevron-up",donate:"circle-dollar-to-slot","dot-circle":"circle-dot","arrow-alt-circle-down":"circle-down","exclamation-circle":"circle-exclamation","hospital-symbol":"circle-h",adjust:"circle-half-stroke","info-circle":"circle-info","arrow-alt-circle-left":"circle-left","minus-circle":"circle-minus","pause-circle":"circle-pause","play-circle":"circle-play","plus-circle":"circle-plus","question-circle":"circle-question","radiation-alt":"circle-radiation","arrow-alt-circle-right":"circle-right","stop-circle":"circle-stop","arrow-alt-circle-up":"circle-up","user-circle":"circle-user","times-circle":"circle-xmark","xmark-circle":"circle-xmark","clock-four":"clock",history:"clock-rotate-left","cloud-download":"cloud-arrow-down","cloud-download-alt":"cloud-arrow-down","cloud-upload":"cloud-arrow-up","cloud-upload-alt":"cloud-arrow-up",thunderstorm:"cloud-bolt",commenting:"comment-dots",sms:"comment-sms","drafting-compass":"compass-drafting",mouse:"computer-mouse","credit-card-alt":"credit-card","crop-alt":"crop-simple",backspace:"delete-left","desktop-alt":"desktop","project-diagram":"diagram-project",directions:"diamond-turn-right",dollar:"dollar-sign",usd:"dollar-sign","dolly-box":"dolly","compress-alt":"down-left-and-up-right-to-center","long-arrow-alt-down":"down-long","vector-polygon":"draw-polygon",tint:"droplet","tint-slash":"droplet-slash",deaf:"ear-deaf",deafness:"ear-deaf","hard-of-hearing":"ear-deaf","assistive-listening-systems":"ear-listen","globe-africa":"earth-africa",earth:"earth-americas","earth-america":"earth-americas","globe-americas":"earth-americas","globe-asia":"earth-asia","globe-europe":"earth-europe","globe-oceania":"earth-oceania","11ty":"eleventy","ellipsis-h":"ellipsis","ellipsis-v":"ellipsis-vertical","mail-bulk":"envelopes-bulk",eur:"euro-sign",euro:"euro-sign","eye-dropper-empty":"eye-dropper",eyedropper:"eye-dropper","low-vision":"eye-low-vision",angry:"face-angry",dizzy:"face-dizzy",flushed:"face-flushed",frown:"face-frown","frown-open":"face-frown-open",grimace:"face-grimace",grin:"face-grin","grin-beam":"face-grin-beam","grin-beam-sweat":"face-grin-beam-sweat","grin-hearts":"face-grin-hearts","grin-squint":"face-grin-squint","grin-squint-tears":"face-grin-squint-tears","grin-stars":"face-grin-stars","grin-tears":"face-grin-tears","grin-tongue":"face-grin-tongue","grin-tongue-squint":"face-grin-tongue-squint","grin-tongue-wink":"face-grin-tongue-wink","grin-alt":"face-grin-wide","grin-wink":"face-grin-wink",kiss:"face-kiss","kiss-beam":"face-kiss-beam","kiss-wink-heart":"face-kiss-wink-heart",laugh:"face-laugh","laugh-beam":"face-laugh-beam","laugh-squint":"face-laugh-squint","laugh-wink":"face-laugh-wink",meh:"face-meh","meh-blank":"face-meh-blank","meh-rolling-eyes":"face-rolling-eyes","sad-cry":"face-sad-cry","sad-tear":"face-sad-tear",smile:"face-smile","smile-beam":"face-smile-beam","smile-wink":"face-smile-wink",surprise:"face-surprise",tired:"face-tired","feather-alt":"feather-pointed","file-download":"file-arrow-down","file-upload":"file-arrow-up","arrow-right-from-file":"file-export","arrow-right-to-file":"file-import","file-alt":"file-lines","file-text":"file-lines","file-edit":"file-pen","file-medical-alt":"file-waveform","file-archive":"file-zipper","film-alt":"film","film-simple":"film","funnel-dollar":"filter-circle-dollar","fire-alt":"fire-flame-curved",burn:"fire-flame-simple",save:"floppy-disk","folder-blank":"folder","font-awesome-flag":"font-awesome","font-awesome-logo-full":"font-awesome","football-ball":"football","fast-forward":"forward-fast","step-forward":"forward-step","futbol-ball":"futbol","soccer-ball":"futbol",dashboard:"gauge","gauge-med":"gauge","tachometer-alt-average":"gauge","tachometer-alt":"gauge-high","tachometer-alt-fast":"gauge-high","gauge-simple-med":"gauge-simple","tachometer-average":"gauge-simple",tachometer:"gauge-simple-high","tachometer-fast":"gauge-simple-high",legal:"gavel",cog:"gear",cogs:"gears","golf-ball":"golf-ball-tee","mortar-board":"graduation-cap","grid-horizontal":"grip","grip-horizontal":"grip","grid-vertical":"grip-vertical","hand-paper":"hand","hand-rock":"hand-back-fist",allergies:"hand-dots","fist-raised":"hand-fist","hand-holding-usd":"hand-holding-dollar","hand-holding-water":"hand-holding-droplet","sign-language":"hands",signing:"hands","american-sign-language-interpreting":"hands-asl-interpreting","asl-interpreting":"hands-asl-interpreting","hands-american-sign-language-interpreting":"hands-asl-interpreting","hands-wash":"hands-bubbles","praying-hands":"hands-praying","handshake-alt":"handshake","handshake-simple":"handshake","hands-helping":"handshake-angle","handshake-alt-slash":"handshake-slash","handshake-simple-slash":"handshake-slash",hdd:"hard-drive",header:"heading","headphones-alt":"headphones","headphones-simple":"headphones","heart-broken":"heart-crack",heartbeat:"heart-pulse","hard-hat":"helmet-safety","hat-hard":"helmet-safety","hospital-alt":"hospital","hospital-wide":"hospital","hot-tub":"hot-tub-person","hourglass-empty":"hourglass","hourglass-3":"hourglass-end","hourglass-2":"hourglass-half","hourglass-1":"hourglass-start",home:"house","home-alt":"house","home-lg-alt":"house","home-lg":"house-chimney","house-damage":"house-chimney-crack","clinic-medical":"house-chimney-medical","laptop-house":"house-laptop","home-user":"house-user",hryvnia:"hryvnia-sign","heart-music-camera-bolt":"icons","drivers-license":"id-card","id-card-alt":"id-card-clip",portrait:"image-portrait","indian-rupee":"indian-rupee-sign",inr:"indian-rupee-sign","fighter-jet":"jet-fighter","square-kickstarter":"kickstarter","first-aid":"kit-medical","landmark-alt":"landmark-dome","long-arrow-alt-left":"left-long","arrows-alt-h":"left-right",chain:"link","chain-broken":"link-slash","chain-slash":"link-slash",unlink:"link-slash","list-squares":"list",tasks:"list-check","list-1-2":"list-ol","list-numeric":"list-ol","list-dots":"list-ul",location:"location-crosshairs","map-marker-alt":"location-dot","map-marker":"location-pin",search:"magnifying-glass","search-dollar":"magnifying-glass-dollar","search-location":"magnifying-glass-location","search-minus":"magnifying-glass-minus","search-plus":"magnifying-glass-plus","map-marked":"map-location","map-marked-alt":"map-location-dot","mars-stroke-h":"mars-stroke-right","mars-stroke-v":"mars-stroke-up","glass-martini-alt":"martini-glass",cocktail:"martini-glass-citrus","glass-martini":"martini-glass-empty","theater-masks":"masks-theater","expand-arrows-alt":"maximize","medium-m":"medium","comment-alt":"message","microphone-alt":"microphone-lines","microphone-alt-slash":"microphone-lines-slash","compress-arrows-alt":"minimize",subtract:"minus","mobile-android":"mobile","mobile-phone":"mobile","mobile-android-alt":"mobile-screen","mobile-alt":"mobile-screen-button","money-bill-alt":"money-bill-1","money-bill-wave-alt":"money-bill-1-wave","money-check-alt":"money-check-dollar",coffee:"mug-saucer","sticky-note":"note-sticky",dedent:"outdent","paint-brush":"paintbrush","file-clipboard":"paste","pen-alt":"pen-clip","pencil-ruler":"pen-ruler",edit:"pen-to-square","pencil-alt":"pencil","people-arrows-left-right":"people-arrows","people-carry":"people-carry-box",percentage:"percent",male:"person",biking:"person-biking",digging:"person-digging",diagnoses:"person-dots-from-line",female:"person-dress",hiking:"person-hiking",pray:"person-praying",running:"person-running",skating:"person-skating",skiing:"person-skiing","skiing-nordic":"person-skiing-nordic",snowboarding:"person-snowboarding",swimmer:"person-swimming",walking:"person-walking",blind:"person-walking-with-cane","phone-alt":"phone-flip","volume-control-phone":"phone-volume","photo-video":"photo-film",add:"plus","poo-bolt":"poo-storm","prescription-bottle-alt":"prescription-bottle-medical","quote-left-alt":"quote-left","quote-right-alt":"quote-right",ad:"rectangle-ad","list-alt":"rectangle-list","rectangle-times":"rectangle-xmark","times-rectangle":"rectangle-xmark","window-close":"rectangle-xmark","mail-reply":"reply","mail-reply-all":"reply-all","sign-out-alt":"right-from-bracket","exchange-alt":"right-left","long-arrow-alt-right":"right-long","sign-in-alt":"right-to-bracket","sync-alt":"rotate","rotate-back":"rotate-left","rotate-backward":"rotate-left","undo-alt":"rotate-left","redo-alt":"rotate-right","rotate-forward":"rotate-right",feed:"rss",rouble:"ruble-sign",rub:"ruble-sign",ruble:"ruble-sign",rupee:"rupee-sign","balance-scale":"scale-balanced","balance-scale-left":"scale-unbalanced","balance-scale-right":"scale-unbalanced-flip",cut:"scissors",tools:"screwdriver-wrench",torah:"scroll-torah",sprout:"seedling",heptagon:"septagon","triangle-circle-square":"shapes","mail-forward":"share","share-square":"share-from-square","share-alt":"share-nodes",ils:"shekel-sign",shekel:"shekel-sign",sheqel:"shekel-sign","sheqel-sign":"shekel-sign","shield-blank":"shield","shield-alt":"shield-halved","t-shirt":"shirt",tshirt:"shirt","store-alt":"shop","store-alt-slash":"shop-slash",random:"shuffle","space-shuttle":"shuttle-space",sign:"sign-hanging","signal-5":"signal","signal-perfect":"signal","map-signs":"signs-post","slack-hash":"slack","sliders-h":"sliders","snapchat-ghost":"snapchat",unsorted:"sort","sort-desc":"sort-down","sort-asc":"sort-up",pastafarianism:"spaghetti-monster-flying","utensil-spoon":"spoon","air-freshener":"spray-can-sparkles","external-link-square":"square-arrow-up-right","behance-square":"square-behance","caret-square-down":"square-caret-down","caret-square-left":"square-caret-left","caret-square-right":"square-caret-right","caret-square-up":"square-caret-up","check-square":"square-check","dribbble-square":"square-dribbble","envelope-square":"square-envelope","facebook-square":"square-facebook","font-awesome-alt":"square-font-awesome-stroke","git-square":"square-git","github-square":"square-github","gitlab-square":"square-gitlab","google-plus-square":"square-google-plus","h-square":"square-h","hacker-news-square":"square-hacker-news","instagram-square":"square-instagram","js-square":"square-js","lastfm-square":"square-lastfm","minus-square":"square-minus","odnoklassniki-square":"square-odnoklassniki",parking:"square-parking","pen-square":"square-pen","pencil-square":"square-pen","phone-square":"square-phone","phone-square-alt":"square-phone-flip","pied-piper-square":"square-pied-piper","pinterest-square":"square-pinterest","plus-square":"square-plus","poll-h":"square-poll-horizontal",poll:"square-poll-vertical","reddit-square":"square-reddit","square-root-alt":"square-root-variable","rss-square":"square-rss","share-alt-square":"square-share-nodes","snapchat-square":"square-snapchat","steam-square":"square-steam","tumblr-square":"square-tumblr","twitter-square":"square-twitter","external-link-square-alt":"square-up-right","viadeo-square":"square-viadeo","vimeo-square":"square-vimeo","whatsapp-square":"square-whatsapp","xing-square":"square-xing","times-square":"square-xmark","xmark-square":"square-xmark","youtube-square":"square-youtube","rod-asclepius":"staff-snake","rod-snake":"staff-snake","staff-aesculapius":"staff-snake","star-half-alt":"star-half-stroke",gbp:"sterling-sign","pound-sign":"sterling-sign",medkit:"suitcase-medical",th:"table-cells","th-large":"table-cells-large",columns:"table-columns","th-list":"table-list","ping-pong-paddle-ball":"table-tennis-paddle-ball","table-tennis":"table-tennis-paddle-ball","tablet-android":"tablet","tablet-alt":"tablet-screen-button","digital-tachograph":"tachograph-digital",cab:"taxi","telegram-plane":"telegram","temperature-down":"temperature-arrow-down","temperature-up":"temperature-arrow-up","temperature-0":"temperature-empty","thermometer-0":"temperature-empty","thermometer-empty":"temperature-empty","temperature-4":"temperature-full","thermometer-4":"temperature-full","thermometer-full":"temperature-full","temperature-2":"temperature-half","thermometer-2":"temperature-half","thermometer-half":"temperature-half","temperature-1":"temperature-quarter","thermometer-1":"temperature-quarter","thermometer-quarter":"temperature-quarter","temperature-3":"temperature-three-quarters","thermometer-3":"temperature-three-quarters","thermometer-three-quarters":"temperature-three-quarters",tenge:"tenge-sign","remove-format":"text-slash","thumb-tack":"thumbtack","thumb-tack-slash":"thumbtack-slash","ticket-alt":"ticket-simple","toilet-paper-alt":"toilet-paper","toilet-paper-blank":"toilet-paper","broadcast-tower":"tower-broadcast",subway:"train-subway","transgender-alt":"transgender","trash-restore":"trash-arrow-up","trash-alt":"trash-can","trash-restore-alt":"trash-can-arrow-up","exclamation-triangle":"triangle-exclamation",warning:"triangle-exclamation","shipping-fast":"truck-fast",ambulance:"truck-medical","truck-loading":"truck-ramp-box",teletype:"tty",try:"turkish-lira-sign","turkish-lira":"turkish-lira-sign","level-down-alt":"turn-down","level-up-alt":"turn-up",television:"tv","tv-alt":"tv","unlock-alt":"unlock-keyhole","arrows-alt-v":"up-down","arrows-alt":"up-down-left-right","long-arrow-alt-up":"up-long","expand-alt":"up-right-and-down-left-from-center","external-link-alt":"up-right-from-square","user-alt":"user","user-large":"user","user-md":"user-doctor","user-cog":"user-gear","user-friends":"user-group","user-edit":"user-pen","user-alt-slash":"user-slash","user-large-slash":"user-slash","user-times":"user-xmark","users-cog":"users-gear",cutlery:"utensils","shuttle-van":"van-shuttle","video-camera":"video","volleyball-ball":"volleyball","volume-medium":"volume","volume-up":"volume-high","volume-down":"volume-low","volume-mute":"volume-xmark","volume-times":"volume-xmark",magic:"wand-magic","magic-wand-sparkles":"wand-magic-sparkles","ladder-water":"water-ladder","swimming-pool":"water-ladder",weight:"weight-scale","wheat-alt":"wheat-awn","wheelchair-alt":"wheelchair-move","glass-whiskey":"whiskey-glass","wifi-3":"wifi","wifi-strong":"wifi","wine-glass-alt":"wine-glass-empty",wsh:"wirsindhandwerk",krw:"won-sign",won:"won-sign",rendact:"wpressr",close:"xmark",multiply:"xmark",remove:"xmark",times:"xmark",cny:"yen-sign",jpy:"yen-sign",rmb:"yen-sign",yen:"yen-sign"},o={fab:"brands",far:"regular",fas:"solid"},i=new Map}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/faIcons-u_2ozSt4.js b/editor/neo-ppt/assets/faIcons-u_2ozSt4.js new file mode 100644 index 0000000..53cccd7 --- /dev/null +++ b/editor/neo-ppt/assets/faIcons-u_2ozSt4.js @@ -0,0 +1 @@ +import{o as e,s as t}from"./const-BjfH-jZe.js";import{t as n}from"./common-utils-G6HD4Ji1.js";var r={innosoft:`42-group`,"contact-book":`address-book`,"contact-card":`address-card`,vcard:`address-card`,"angle-double-down":`angles-down`,"angle-double-left":`angles-left`,"angle-double-right":`angles-right`,"angle-double-up":`angles-up`,"apple-alt":`apple-whole`,"sort-numeric-asc":`arrow-down-1-9`,"sort-numeric-down":`arrow-down-1-9`,"sort-numeric-desc":`arrow-down-9-1`,"sort-numeric-down-alt":`arrow-down-9-1`,"sort-alpha-asc":`arrow-down-a-z`,"sort-alpha-down":`arrow-down-a-z`,"long-arrow-down":`arrow-down-long`,"sort-amount-desc":`arrow-down-short-wide`,"sort-amount-down-alt":`arrow-down-short-wide`,"sort-amount-asc":`arrow-down-wide-short`,"sort-amount-down":`arrow-down-wide-short`,"sort-alpha-desc":`arrow-down-z-a`,"sort-alpha-down-alt":`arrow-down-z-a`,"long-arrow-left":`arrow-left-long`,"mouse-pointer":`arrow-pointer`,exchange:`arrow-right-arrow-left`,"sign-out":`arrow-right-from-bracket`,"long-arrow-right":`arrow-right-long`,"sign-in":`arrow-right-to-bracket`,"arrow-left-rotate":`arrow-rotate-left`,"arrow-rotate-back":`arrow-rotate-left`,"arrow-rotate-backward":`arrow-rotate-left`,undo:`arrow-rotate-left`,"arrow-right-rotate":`arrow-rotate-right`,"arrow-rotate-forward":`arrow-rotate-right`,redo:`arrow-rotate-right`,"level-down":`arrow-turn-down`,"level-up":`arrow-turn-up`,"sort-numeric-up":`arrow-up-1-9`,"sort-numeric-up-alt":`arrow-up-9-1`,"sort-alpha-up":`arrow-up-a-z`,"long-arrow-up":`arrow-up-long`,"external-link":`arrow-up-right-from-square`,"sort-amount-up-alt":`arrow-up-short-wide`,"sort-amount-up":`arrow-up-wide-short`,"sort-alpha-up-alt":`arrow-up-z-a`,"arrows-h":`arrows-left-right`,refresh:`arrows-rotate`,sync:`arrows-rotate`,"arrows-v":`arrows-up-down`,arrows:`arrows-up-down-left-right`,"carriage-baby":`baby-carriage`,"fast-backward":`backward-fast`,"step-backward":`backward-step`,"shopping-bag":`bag-shopping`,haykal:`bahai`,cancel:`ban`,"smoking-ban":`ban-smoking`,"band-aid":`bandage`,navicon:`bars`,"tasks-alt":`bars-progress`,reorder:`bars-staggered`,stream:`bars-staggered`,"baseball-ball":`baseball`,"shopping-basket":`basket-shopping`,"basketball-ball":`basketball`,bathtub:`bath`,"battery-0":`battery-empty`,battery:`battery-full`,"battery-5":`battery-full`,"battery-3":`battery-half`,"battery-2":`battery-quarter`,"battery-4":`battery-three-quarters`,procedures:`bed-pulse`,beer:`beer-mug-empty`,"concierge-bell":`bell-concierge`,bgg:`board-game-geek`,zap:`bolt`,atlas:`book-atlas`,bible:`book-bible`,"journal-whills":`book-journal-whills`,"book-reader":`book-open-reader`,quran:`book-quran`,"book-dead":`book-skull`,tanakh:`book-tanakh`,"border-style":`border-top-left`,archive:`box-archive`,boxes:`boxes-stacked`,"boxes-alt":`boxes-stacked`,quidditch:`broom-ball`,"quidditch-broom-ball":`broom-ball`,bank:`building-columns`,institution:`building-columns`,museum:`building-columns`,university:`building-columns`,hamburger:`burger`,"bus-alt":`bus-simple`,"briefcase-clock":`business-time`,tram:`cable-car`,"birthday-cake":`cake-candles`,cake:`cake-candles`,"calendar-alt":`calendar-days`,"calendar-times":`calendar-xmark`,"camera-alt":`camera`,automobile:`car`,"battery-car":`car-battery`,"car-crash":`car-burst`,"car-alt":`car-rear`,"dolly-flatbed":`cart-flatbed`,"luggage-cart":`cart-flatbed-suitcase`,"shopping-cart":`cart-shopping`,blackboard:`chalkboard`,"chalkboard-teacher":`chalkboard-user`,"glass-cheers":`champagne-glasses`,"area-chart":`chart-area`,"bar-chart":`chart-bar`,"line-chart":`chart-line`,"pie-chart":`chart-pie`,"vote-yea":`check-to-slot`,"child-rifle":`child-combatant`,"arrow-circle-down":`circle-arrow-down`,"arrow-circle-left":`circle-arrow-left`,"arrow-circle-right":`circle-arrow-right`,"arrow-circle-up":`circle-arrow-up`,"check-circle":`circle-check`,"chevron-circle-down":`circle-chevron-down`,"chevron-circle-left":`circle-chevron-left`,"chevron-circle-right":`circle-chevron-right`,"chevron-circle-up":`circle-chevron-up`,donate:`circle-dollar-to-slot`,"dot-circle":`circle-dot`,"arrow-alt-circle-down":`circle-down`,"exclamation-circle":`circle-exclamation`,"hospital-symbol":`circle-h`,adjust:`circle-half-stroke`,"info-circle":`circle-info`,"arrow-alt-circle-left":`circle-left`,"minus-circle":`circle-minus`,"pause-circle":`circle-pause`,"play-circle":`circle-play`,"plus-circle":`circle-plus`,"question-circle":`circle-question`,"radiation-alt":`circle-radiation`,"arrow-alt-circle-right":`circle-right`,"stop-circle":`circle-stop`,"arrow-alt-circle-up":`circle-up`,"user-circle":`circle-user`,"times-circle":`circle-xmark`,"xmark-circle":`circle-xmark`,"clock-four":`clock`,history:`clock-rotate-left`,"cloud-download":`cloud-arrow-down`,"cloud-download-alt":`cloud-arrow-down`,"cloud-upload":`cloud-arrow-up`,"cloud-upload-alt":`cloud-arrow-up`,thunderstorm:`cloud-bolt`,commenting:`comment-dots`,sms:`comment-sms`,"drafting-compass":`compass-drafting`,mouse:`computer-mouse`,"credit-card-alt":`credit-card`,"crop-alt":`crop-simple`,backspace:`delete-left`,"desktop-alt":`desktop`,"project-diagram":`diagram-project`,directions:`diamond-turn-right`,dollar:`dollar-sign`,usd:`dollar-sign`,"dolly-box":`dolly`,"compress-alt":`down-left-and-up-right-to-center`,"long-arrow-alt-down":`down-long`,"vector-polygon":`draw-polygon`,tint:`droplet`,"tint-slash":`droplet-slash`,deaf:`ear-deaf`,deafness:`ear-deaf`,"hard-of-hearing":`ear-deaf`,"assistive-listening-systems":`ear-listen`,"globe-africa":`earth-africa`,earth:`earth-americas`,"earth-america":`earth-americas`,"globe-americas":`earth-americas`,"globe-asia":`earth-asia`,"globe-europe":`earth-europe`,"globe-oceania":`earth-oceania`,"11ty":`eleventy`,"ellipsis-h":`ellipsis`,"ellipsis-v":`ellipsis-vertical`,"mail-bulk":`envelopes-bulk`,eur:`euro-sign`,euro:`euro-sign`,"eye-dropper-empty":`eye-dropper`,eyedropper:`eye-dropper`,"low-vision":`eye-low-vision`,angry:`face-angry`,dizzy:`face-dizzy`,flushed:`face-flushed`,frown:`face-frown`,"frown-open":`face-frown-open`,grimace:`face-grimace`,grin:`face-grin`,"grin-beam":`face-grin-beam`,"grin-beam-sweat":`face-grin-beam-sweat`,"grin-hearts":`face-grin-hearts`,"grin-squint":`face-grin-squint`,"grin-squint-tears":`face-grin-squint-tears`,"grin-stars":`face-grin-stars`,"grin-tears":`face-grin-tears`,"grin-tongue":`face-grin-tongue`,"grin-tongue-squint":`face-grin-tongue-squint`,"grin-tongue-wink":`face-grin-tongue-wink`,"grin-alt":`face-grin-wide`,"grin-wink":`face-grin-wink`,kiss:`face-kiss`,"kiss-beam":`face-kiss-beam`,"kiss-wink-heart":`face-kiss-wink-heart`,laugh:`face-laugh`,"laugh-beam":`face-laugh-beam`,"laugh-squint":`face-laugh-squint`,"laugh-wink":`face-laugh-wink`,meh:`face-meh`,"meh-blank":`face-meh-blank`,"meh-rolling-eyes":`face-rolling-eyes`,"sad-cry":`face-sad-cry`,"sad-tear":`face-sad-tear`,smile:`face-smile`,"smile-beam":`face-smile-beam`,"smile-wink":`face-smile-wink`,surprise:`face-surprise`,tired:`face-tired`,"feather-alt":`feather-pointed`,"file-download":`file-arrow-down`,"file-upload":`file-arrow-up`,"arrow-right-from-file":`file-export`,"arrow-right-to-file":`file-import`,"file-alt":`file-lines`,"file-text":`file-lines`,"file-edit":`file-pen`,"file-medical-alt":`file-waveform`,"file-archive":`file-zipper`,"film-alt":`film`,"film-simple":`film`,"funnel-dollar":`filter-circle-dollar`,"fire-alt":`fire-flame-curved`,burn:`fire-flame-simple`,save:`floppy-disk`,"folder-blank":`folder`,"font-awesome-flag":`font-awesome`,"font-awesome-logo-full":`font-awesome`,"football-ball":`football`,"fast-forward":`forward-fast`,"step-forward":`forward-step`,"futbol-ball":`futbol`,"soccer-ball":`futbol`,dashboard:`gauge`,"gauge-med":`gauge`,"tachometer-alt-average":`gauge`,"tachometer-alt":`gauge-high`,"tachometer-alt-fast":`gauge-high`,"gauge-simple-med":`gauge-simple`,"tachometer-average":`gauge-simple`,tachometer:`gauge-simple-high`,"tachometer-fast":`gauge-simple-high`,legal:`gavel`,cog:`gear`,cogs:`gears`,"golf-ball":`golf-ball-tee`,"mortar-board":`graduation-cap`,"grid-horizontal":`grip`,"grip-horizontal":`grip`,"grid-vertical":`grip-vertical`,"hand-paper":`hand`,"hand-rock":`hand-back-fist`,allergies:`hand-dots`,"fist-raised":`hand-fist`,"hand-holding-usd":`hand-holding-dollar`,"hand-holding-water":`hand-holding-droplet`,"sign-language":`hands`,signing:`hands`,"american-sign-language-interpreting":`hands-asl-interpreting`,"asl-interpreting":`hands-asl-interpreting`,"hands-american-sign-language-interpreting":`hands-asl-interpreting`,"hands-wash":`hands-bubbles`,"praying-hands":`hands-praying`,"handshake-alt":`handshake`,"handshake-simple":`handshake`,"hands-helping":`handshake-angle`,"handshake-alt-slash":`handshake-slash`,"handshake-simple-slash":`handshake-slash`,hdd:`hard-drive`,header:`heading`,"headphones-alt":`headphones`,"headphones-simple":`headphones`,"heart-broken":`heart-crack`,heartbeat:`heart-pulse`,"hard-hat":`helmet-safety`,"hat-hard":`helmet-safety`,"hospital-alt":`hospital`,"hospital-wide":`hospital`,"hot-tub":`hot-tub-person`,"hourglass-empty":`hourglass`,"hourglass-3":`hourglass-end`,"hourglass-2":`hourglass-half`,"hourglass-1":`hourglass-start`,home:`house`,"home-alt":`house`,"home-lg-alt":`house`,"home-lg":`house-chimney`,"house-damage":`house-chimney-crack`,"clinic-medical":`house-chimney-medical`,"laptop-house":`house-laptop`,"home-user":`house-user`,hryvnia:`hryvnia-sign`,"heart-music-camera-bolt":`icons`,"drivers-license":`id-card`,"id-card-alt":`id-card-clip`,portrait:`image-portrait`,"indian-rupee":`indian-rupee-sign`,inr:`indian-rupee-sign`,"fighter-jet":`jet-fighter`,"square-kickstarter":`kickstarter`,"first-aid":`kit-medical`,"landmark-alt":`landmark-dome`,"long-arrow-alt-left":`left-long`,"arrows-alt-h":`left-right`,chain:`link`,"chain-broken":`link-slash`,"chain-slash":`link-slash`,unlink:`link-slash`,"list-squares":`list`,tasks:`list-check`,"list-1-2":`list-ol`,"list-numeric":`list-ol`,"list-dots":`list-ul`,location:`location-crosshairs`,"map-marker-alt":`location-dot`,"map-marker":`location-pin`,search:`magnifying-glass`,"search-dollar":`magnifying-glass-dollar`,"search-location":`magnifying-glass-location`,"search-minus":`magnifying-glass-minus`,"search-plus":`magnifying-glass-plus`,"map-marked":`map-location`,"map-marked-alt":`map-location-dot`,"mars-stroke-h":`mars-stroke-right`,"mars-stroke-v":`mars-stroke-up`,"glass-martini-alt":`martini-glass`,cocktail:`martini-glass-citrus`,"glass-martini":`martini-glass-empty`,"theater-masks":`masks-theater`,"expand-arrows-alt":`maximize`,"medium-m":`medium`,"comment-alt":`message`,"microphone-alt":`microphone-lines`,"microphone-alt-slash":`microphone-lines-slash`,"compress-arrows-alt":`minimize`,subtract:`minus`,"mobile-android":`mobile`,"mobile-phone":`mobile`,"mobile-android-alt":`mobile-screen`,"mobile-alt":`mobile-screen-button`,"money-bill-alt":`money-bill-1`,"money-bill-wave-alt":`money-bill-1-wave`,"money-check-alt":`money-check-dollar`,coffee:`mug-saucer`,"sticky-note":`note-sticky`,dedent:`outdent`,"paint-brush":`paintbrush`,"file-clipboard":`paste`,"pen-alt":`pen-clip`,"pencil-ruler":`pen-ruler`,edit:`pen-to-square`,"pencil-alt":`pencil`,"people-arrows-left-right":`people-arrows`,"people-carry":`people-carry-box`,percentage:`percent`,male:`person`,biking:`person-biking`,digging:`person-digging`,diagnoses:`person-dots-from-line`,female:`person-dress`,hiking:`person-hiking`,pray:`person-praying`,running:`person-running`,skating:`person-skating`,skiing:`person-skiing`,"skiing-nordic":`person-skiing-nordic`,snowboarding:`person-snowboarding`,swimmer:`person-swimming`,walking:`person-walking`,blind:`person-walking-with-cane`,"phone-alt":`phone-flip`,"volume-control-phone":`phone-volume`,"photo-video":`photo-film`,add:`plus`,"poo-bolt":`poo-storm`,"prescription-bottle-alt":`prescription-bottle-medical`,"quote-left-alt":`quote-left`,"quote-right-alt":`quote-right`,ad:`rectangle-ad`,"list-alt":`rectangle-list`,"rectangle-times":`rectangle-xmark`,"times-rectangle":`rectangle-xmark`,"window-close":`rectangle-xmark`,"mail-reply":`reply`,"mail-reply-all":`reply-all`,"sign-out-alt":`right-from-bracket`,"exchange-alt":`right-left`,"long-arrow-alt-right":`right-long`,"sign-in-alt":`right-to-bracket`,"sync-alt":`rotate`,"rotate-back":`rotate-left`,"rotate-backward":`rotate-left`,"undo-alt":`rotate-left`,"redo-alt":`rotate-right`,"rotate-forward":`rotate-right`,feed:`rss`,rouble:`ruble-sign`,rub:`ruble-sign`,ruble:`ruble-sign`,rupee:`rupee-sign`,"balance-scale":`scale-balanced`,"balance-scale-left":`scale-unbalanced`,"balance-scale-right":`scale-unbalanced-flip`,cut:`scissors`,tools:`screwdriver-wrench`,torah:`scroll-torah`,sprout:`seedling`,heptagon:`septagon`,"triangle-circle-square":`shapes`,"mail-forward":`share`,"share-square":`share-from-square`,"share-alt":`share-nodes`,ils:`shekel-sign`,shekel:`shekel-sign`,sheqel:`shekel-sign`,"sheqel-sign":`shekel-sign`,"shield-blank":`shield`,"shield-alt":`shield-halved`,"t-shirt":`shirt`,tshirt:`shirt`,"store-alt":`shop`,"store-alt-slash":`shop-slash`,random:`shuffle`,"space-shuttle":`shuttle-space`,sign:`sign-hanging`,"signal-5":`signal`,"signal-perfect":`signal`,"map-signs":`signs-post`,"slack-hash":`slack`,"sliders-h":`sliders`,"snapchat-ghost":`snapchat`,unsorted:`sort`,"sort-desc":`sort-down`,"sort-asc":`sort-up`,pastafarianism:`spaghetti-monster-flying`,"utensil-spoon":`spoon`,"air-freshener":`spray-can-sparkles`,"external-link-square":`square-arrow-up-right`,"behance-square":`square-behance`,"caret-square-down":`square-caret-down`,"caret-square-left":`square-caret-left`,"caret-square-right":`square-caret-right`,"caret-square-up":`square-caret-up`,"check-square":`square-check`,"dribbble-square":`square-dribbble`,"envelope-square":`square-envelope`,"facebook-square":`square-facebook`,"font-awesome-alt":`square-font-awesome-stroke`,"git-square":`square-git`,"github-square":`square-github`,"gitlab-square":`square-gitlab`,"google-plus-square":`square-google-plus`,"h-square":`square-h`,"hacker-news-square":`square-hacker-news`,"instagram-square":`square-instagram`,"js-square":`square-js`,"lastfm-square":`square-lastfm`,"minus-square":`square-minus`,"odnoklassniki-square":`square-odnoklassniki`,parking:`square-parking`,"pen-square":`square-pen`,"pencil-square":`square-pen`,"phone-square":`square-phone`,"phone-square-alt":`square-phone-flip`,"pied-piper-square":`square-pied-piper`,"pinterest-square":`square-pinterest`,"plus-square":`square-plus`,"poll-h":`square-poll-horizontal`,poll:`square-poll-vertical`,"reddit-square":`square-reddit`,"square-root-alt":`square-root-variable`,"rss-square":`square-rss`,"share-alt-square":`square-share-nodes`,"snapchat-square":`square-snapchat`,"steam-square":`square-steam`,"tumblr-square":`square-tumblr`,"twitter-square":`square-twitter`,"external-link-square-alt":`square-up-right`,"viadeo-square":`square-viadeo`,"vimeo-square":`square-vimeo`,"whatsapp-square":`square-whatsapp`,"xing-square":`square-xing`,"times-square":`square-xmark`,"xmark-square":`square-xmark`,"youtube-square":`square-youtube`,"rod-asclepius":`staff-snake`,"rod-snake":`staff-snake`,"staff-aesculapius":`staff-snake`,"star-half-alt":`star-half-stroke`,gbp:`sterling-sign`,"pound-sign":`sterling-sign`,medkit:`suitcase-medical`,th:`table-cells`,"th-large":`table-cells-large`,columns:`table-columns`,"th-list":`table-list`,"ping-pong-paddle-ball":`table-tennis-paddle-ball`,"table-tennis":`table-tennis-paddle-ball`,"tablet-android":`tablet`,"tablet-alt":`tablet-screen-button`,"digital-tachograph":`tachograph-digital`,cab:`taxi`,"telegram-plane":`telegram`,"temperature-down":`temperature-arrow-down`,"temperature-up":`temperature-arrow-up`,"temperature-0":`temperature-empty`,"thermometer-0":`temperature-empty`,"thermometer-empty":`temperature-empty`,"temperature-4":`temperature-full`,"thermometer-4":`temperature-full`,"thermometer-full":`temperature-full`,"temperature-2":`temperature-half`,"thermometer-2":`temperature-half`,"thermometer-half":`temperature-half`,"temperature-1":`temperature-quarter`,"thermometer-1":`temperature-quarter`,"thermometer-quarter":`temperature-quarter`,"temperature-3":`temperature-three-quarters`,"thermometer-3":`temperature-three-quarters`,"thermometer-three-quarters":`temperature-three-quarters`,tenge:`tenge-sign`,"remove-format":`text-slash`,"thumb-tack":`thumbtack`,"thumb-tack-slash":`thumbtack-slash`,"ticket-alt":`ticket-simple`,"toilet-paper-alt":`toilet-paper`,"toilet-paper-blank":`toilet-paper`,"broadcast-tower":`tower-broadcast`,subway:`train-subway`,"transgender-alt":`transgender`,"trash-restore":`trash-arrow-up`,"trash-alt":`trash-can`,"trash-restore-alt":`trash-can-arrow-up`,"exclamation-triangle":`triangle-exclamation`,warning:`triangle-exclamation`,"shipping-fast":`truck-fast`,ambulance:`truck-medical`,"truck-loading":`truck-ramp-box`,teletype:`tty`,try:`turkish-lira-sign`,"turkish-lira":`turkish-lira-sign`,"level-down-alt":`turn-down`,"level-up-alt":`turn-up`,television:`tv`,"tv-alt":`tv`,"unlock-alt":`unlock-keyhole`,"arrows-alt-v":`up-down`,"arrows-alt":`up-down-left-right`,"long-arrow-alt-up":`up-long`,"expand-alt":`up-right-and-down-left-from-center`,"external-link-alt":`up-right-from-square`,"user-alt":`user`,"user-large":`user`,"user-md":`user-doctor`,"user-cog":`user-gear`,"user-friends":`user-group`,"user-edit":`user-pen`,"user-alt-slash":`user-slash`,"user-large-slash":`user-slash`,"user-times":`user-xmark`,"users-cog":`users-gear`,cutlery:`utensils`,"shuttle-van":`van-shuttle`,"video-camera":`video`,"volleyball-ball":`volleyball`,"volume-medium":`volume`,"volume-up":`volume-high`,"volume-down":`volume-low`,"volume-mute":`volume-xmark`,"volume-times":`volume-xmark`,magic:`wand-magic`,"magic-wand-sparkles":`wand-magic-sparkles`,"ladder-water":`water-ladder`,"swimming-pool":`water-ladder`,weight:`weight-scale`,"wheat-alt":`wheat-awn`,"wheelchair-alt":`wheelchair-move`,"glass-whiskey":`whiskey-glass`,"wifi-3":`wifi`,"wifi-strong":`wifi`,"wine-glass-alt":`wine-glass-empty`,wsh:`wirsindhandwerk`,krw:`won-sign`,won:`won-sign`,rendact:`wpressr`,close:`xmark`,multiply:`xmark`,remove:`xmark`,times:`xmark`,cny:`yen-sign`,jpy:`yen-sign`,rmb:`yen-sign`,yen:`yen-sign`},i={fab:`brands`,far:`regular`,fas:`solid`},a=new Map;function o(e,n=`fas`){let a=r[e]??e;return`${t}font-awesome/7/${`${i[n]??`solid`}/${a}`}.svg`}function s(e){let[,t,n]=/viewBox="0\s0\s([\d]+)\s([\d]+)"/.exec(e)??[0,200,200];return[Number(t),Number(n)]}function c(e){let t=/]*?\sd="([^"]+?)"[^>]*?>/.exec(e)?.[1];if(t)return new n(t).toAbs().encode()}async function l(e,t){let n=o(r[e]??e,t),i=a.get(n);if(i)return i;let s=fetch(n).then(e=>e.text());return a.set(n,s),s}function u(){if(document.getElementById(`font-awesome-css`))return;let t=document.createElement(`link`);t.href=`${e}font-awesome/7/css/all.min.css`,t.rel=`stylesheet`,t.id=`font-awesome-css`,t.crossOrigin=`anonymous`,document.head.appendChild(t)}async function d(e){let[t,n]=e.split(`:`);if(!t||!n)return null;let r=t in i?t:`fas`;try{let e=await l(n,r),t=c(e);return t?{path:t,viewBox:s(e)}:null}catch{return null}}export{d as n,u as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/folderEntryParser-DjmgZytL.js b/editor/neo-ppt/assets/folderEntryParser-DjmgZytL.js new file mode 100644 index 0000000..21b80c4 --- /dev/null +++ b/editor/neo-ppt/assets/folderEntryParser-DjmgZytL.js @@ -0,0 +1 @@ +import{t as e}from"./yaml-Jsje7sNc.js";function t(e){return new Promise((t,n)=>{let r=e.createReader(),i=[],a=()=>{r.readEntries(e=>{e.length===0?t(i):(i.push(...e),a())},n)};a()})}function n(e){return new Promise((t,n)=>{e.file(t,n)})}async function r(e){let n=[];async function r(e,i){let a=await t(e);for(let e of a)e.isFile&&n.push({file:e,relativePath:`${i}${e.name}`});await Promise.all(a.filter(e=>e.isDirectory).map(e=>r(e,`${i}${e.name}/`)))}return await r(e,``),n}async function i(e){let n=[];async function r(e,i){let a=await t(e);for(let t of a)t.isFile&&t.name.endsWith(`.pptd`)&&n.push({file:t,parentDir:e,displayPath:`${i}${t.name}`});await Promise.all(a.filter(e=>e.isDirectory).map(e=>r(e,`${i}${e.name}/`)))}return await r(e,`./`),n}async function a(e,n){let r=n.split(`/`).filter(Boolean),i=await r.slice(0,-1).reduce(async(e,n)=>{let r=await e;return r?(await t(r)).find(e=>e.name===n&&e.isDirectory)??null:null},Promise.resolve(e));if(!i)return null;let a=r[r.length-1];return(await t(i)).find(e=>e.name===a&&e.isFile)??null}async function o(t,r){let i=await(await n(t)).text(),o=e(i)?.pages??[],s=await Promise.all(o.map(async e=>{let t=await a(r,e);return t?[e,await(await n(t)).text()]:(console.warn(`[parsePptdEntry] 未找到页面: ${e}`),null)})),c={};for(let e of s)e&&(c[e[0]]=e[1]);return{metaYaml:i,pagesYamlMap:c}}export{o as i,r as n,i as r,n as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/folderEntryParser-legacy-SgEP6AcQ.js b/editor/neo-ppt/assets/folderEntryParser-legacy-SgEP6AcQ.js new file mode 100644 index 0000000..5347ccc --- /dev/null +++ b/editor/neo-ppt/assets/folderEntryParser-legacy-SgEP6AcQ.js @@ -0,0 +1 @@ +System.register(["./yaml-legacy-PSsIiII3.js"],function(t,n){var a;function e(t){return new Promise((n,a)=>{const e=t.createReader(),i=[],r=()=>{e.readEntries(t=>{0===t.length?n(i):(i.push(...t),r())},a)};r()})}function i(t){return new Promise((n,a)=>{t.file(n,a)})}return t({i:async function(t,n){const r=await(await i(t)).text(),s=a(r)?.pages??[],o=await Promise.all(s.map(async t=>{const a=await async function(t,n){const a=n.split("/").filter(Boolean),i=await a.slice(0,-1).reduce(async(t,n)=>{const a=await t;return a?(await e(a)).find(t=>t.name===n&&t.isDirectory)??null:null},Promise.resolve(t));if(!i)return null;const r=a[a.length-1];return(await e(i)).find(t=>t.name===r&&t.isFile)??null}(n,t);return a?[t,await(await i(a)).text()]:(console.warn(`[parsePptdEntry] 未找到页面: ${t}`),null)})),c={};for(const a of o)a&&(c[a[0]]=a[1]);return{metaYaml:r,pagesYamlMap:c}},n:async function(t){const n=[];return await async function t(a,i){const r=await e(a);for(const e of r)e.isFile&&n.push({file:e,relativePath:`${i}${e.name}`});await Promise.all(r.filter(t=>t.isDirectory).map(n=>t(n,`${i}${n.name}/`)))}(t,""),n},r:async function(t){const n=[];return await async function t(a,i){const r=await e(a);for(const e of r)e.isFile&&e.name.endsWith(".pptd")&&n.push({file:e,parentDir:a,displayPath:`${i}${e.name}`});await Promise.all(r.filter(t=>t.isDirectory).map(n=>t(n,`${i}${n.name}/`)))}(t,"./"),n},t:i}),{setters:[function(t){a=t.t}],execute:function(){}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/fr-FR-legacy-DOsokj7_.js b/editor/neo-ppt/assets/fr-FR-legacy-DOsokj7_.js new file mode 100644 index 0000000..300f97d --- /dev/null +++ b/editor/neo-ppt/assets/fr-FR-legacy-DOsokj7_.js @@ -0,0 +1 @@ +System.register([],function(e,r){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"Plein écran",collapse:"Réduire",autosaving:"Enregistrement automatique…",justSaved:"Enregistré à l’instant",savedMinutesAgo:"Enregistré il y a {minutes} min",versionName:"V{version}",versionLatest:"Dernière",versionEditedBy:"Modifié par {editor} à {time}",versionMinutesAgo:"il y a {minutes} min",versionYesterday:"Hier à {time}",restoreVersion:"Restaurer",returnLatestVersion:"Revenir à la dernière version",close:"Fermer"},basic:{undo:"Annuler",redo:"Rétablir",save:"Enregistrer",screen:"Présenter",share:"Partager",export:"Exporter",unnamedPresentation:"Présentation sans titre",lastPage:"C’est la dernière diapositive"},presenter:{start:"Présenter sur cet écran",mode:"Mode présentation",exit:"Quitter",openFailed:"Votre navigateur a bloqué la fenêtre contextuelle du mode Présentateur. Autorisez les fenêtres contextuelles et les redirections pour ce site, puis réessayez.",connectFailed:"Impossible de se connecter à la fenêtre du présentateur. Réessayez."},screen:{fullscreenFailed:"Impossible de passer en plein écran. Autorisez l’accès au plein écran pour ce site dans les paramètres du navigateur, puis réessayez.",transitionEffects:{none:"Aucune",fade:"Fondu","wipe-right":"Balayage vers la droite","wipe-left":"Balayage vers la gauche","wipe-down":"Balayage vers le bas","wipe-up":"Balayage vers le haut","split-vertical":"Division verticale","split-horizontal":"Division horizontale",box:"Boîte",checkerboard:"Damier","random-bars-horizontal":"Barres horizontales aléatoires","random-bars-vertical":"Barres verticales aléatoires","horizontal-blinds":"Stores horizontaux","vertical-blinds":"Stores verticaux","column-grid":"Grille de colonnes","random-grid":"Grille aléatoire",random:"Effet aléatoire"}},save:{saveFailed:"Impossible d’enregistrer. Réessayez.",invalidData:"Impossible d’enregistrer, car les données ne sont pas valides. Actualisez la page, puis réessayez.",conflictTitle:"Version plus récente détectée",conflictContent:"Cette présentation a été mise à jour à {time}. Actualisez la page pour afficher la dernière version, ou appliquez et enregistrez vos modifications actuelles.",conflictRefresh:"Actualiser",conflictApplyChanges:"Appliquer les modifications"},bottomBar:{rectangle:"Rectangle",otherShapes:"Formes de base",decoration:"Décoration",straightLine:"Ligne droite",curve:"Courbe",createTable:"Créer un tableau",searchIcon:"Rechercher des icônes",noIconFound:"Aucune icône trouvée"},sideBar:{addSlide:"Nouvelle diapositive",previewMode:"Mode aperçu",expand:"Développer",collapse:"Réduire"},contextMenu:{cut:"Couper",copy:"Copier",paste:"Coller",selectAll:"Tout sélectionner",changeBackground:"Modifier l’arrière-plan",newPage:"Nouvelle diapositive",copyPage:"Dupliquer la diapositive",deletePage:"Supprimer la diapositive",delete:"Supprimer",moveUpOneLayer:"Avancer d’un plan",moveDownOneLayer:"Reculer d’un plan",bringToTop:"Mettre au premier plan",sendToBottom:"Mettre à l’arrière-plan",align:"Aligner",alignCenter:"Centrer sur la diapositive",alignHorizontal:"Centrer horizontalement",startFromCurrent:"Présenter à partir de cette diapositive",insertColumn:"Insérer une colonne",insertColumnLeft:"À gauche",insertColumnRight:"À droite",insertRow:"Insérer une ligne",insertRowAbove:"Au-dessus",insertRowBelow:"En dessous",deleteColumn:"Supprimer la colonne",deleteRow:"Supprimer la ligne",mergeCells:"Fusionner les cellules",unmergeCells:"Dissocier les cellules",selectCurrentColumn:"Sélectionner la colonne",selectCurrentRow:"Sélectionner la ligne",selectAllCells:"Sélectionner toutes les cellules",deleteTable:"Supprimer le tableau"},common:{name:"Présentations",nameEN:"Slides",confirm:"Confirmer",cancel:"Annuler",dontRemind:"Ne plus afficher",feedback:"Commentaires",user:"Utilisateur",loadFailedRetry:"Impossible de charger. Réessayez plus tard."},annotation:{edit:"Modifier",entry:"Commentaire",placeholder:"Indiquez à Kimi ce qu’il faut modifier",add:"Ajouter",addedCount:"Nombre de commentaires ajoutés : {count}",emptyTip:"Ajouter des commentaires aux diapositives",clear:"Effacer les commentaires",delete:"Supprimer le commentaire",marker:"Commentaire",pageLabel:"Diapositive {page}",clearConfirm:{title:"Effacer tous les commentaires ?",content:"Tous les commentaires que vous avez ajoutés seront supprimés",cancelText:"Annuler",confirmText:"Effacer"},exitConfirm:{title:"Quitter le mode commentaire ?",content:"Les commentaires non envoyés ne seront pas enregistrés",cancelText:"Annuler",confirmText:"Quitter"}},wap:{loading:"Chargement",play:"Lire",export:"Exporter",exporting:"Exportation",playPrevLine1:"Appuyez ou balayez vers la gauche",playPrevLine2:"pour passer à la diapositive précédente",playMenuLine1:"Appuyez au centre",playMenuLine2:"pour ouvrir le menu des diapositives",playNextLine1:"Appuyez ou balayez vers la droite",playNextLine2:"pour passer à la diapositive suivante"},rate:{title:"Que pensez-vous de ce résultat ?",thanksTitle:"Merci pour votre avis",bad:"Mauvais",normal:"Correct",good:"Excellent",resultTip:"Votre avis aide Kimi à s’améliorer",feedback:"Ajouter un avis"},feedback:{snackbar:{title:"Que pensez-vous de ce résultat ?",good:"Bien",normal:"Correct",bad:"Mauvais",successMessage:"Merci — votre avis aide Kimi à s’améliorer",writeFeedback:"Donner votre avis"}},logoModal:{title:"Ajouter un logo",tooltip:"Votre logo apparaîtra dans le coin supérieur gauche de chaque diapositive",selected:"Sélectionné",upload:"Importer un logo",preview:"Aperçu",maxLimit:"Jusqu’à 5 logos",alertMaxLimit:"Vous pouvez importer jusqu’à 5 logos",applyToAll:"Appliquer à toutes les diapositives"},latex:{title:"Insérer une équation",placeholder:"Saisissez une formule LaTeX, par ex. E = mc^2"},themeEditor:{title:"Thème des diapositives",apply:"Appliquer",cancel:"Annuler",themeColors:"Couleurs du thème",emptyThemeColors:"Aucune couleur de thème",currentPageBackground:"Arrière-plan de la diapositive actuelle",backgroundColor:"Couleur",backgroundImage:"Image",uploadImage:"Importer une image",uploadImageFailed:"Impossible d’importer l’image. Réessayez plus tard.",backgroundFitFill:"Remplir",backgroundFitContain:"Ajuster",backgroundFitStretch:"Étirer",applyToAll:"Appliquer à toutes",textStyles:"Styles de texte",emptyTextStyles:"Aucun style de texte",fontStyle:"Graisse",lineHeight:"Hauteur de ligne",letterSpacing:"Espacement des lettres",previewText:"Découvrez Kimi123",normal:"Normal",textStyleTitle:"Titre",textStyleSubtitle:"Sous-titre",textStyleBody:"Corps de texte",textStyleCaption:"Légende / note",miSans:"Microsoft YaHei"},diffChecker:{title:"Comparateur de différences",newFile:"Ajouté",deletedFile:"Supprimé",emptyContent:"Ce fichier est vide"},insert:{text:"Insérer du texte",graphics:"Graphismes",graphicsShapeTab:"Formes",graphicsLineTab:"Lignes",graphicsIconTab:"Icônes",image:"Insérer une image",table:"Insérer un tableau",theme:"Thème",latex:"Insérer une équation",watermark:"Ajouter un filigrane",more:"Plus",animation:"Animation"},scaleMenu:{zoomIn:"Zoom avant",zoomOut:"Zoom arrière",fitScreen:"Ajuster à l’écran"},exportDialog:{image:"Image",downloadTitle:"Exporter",tabDownload:"Télécharger",tabGoogleSlides:"Google Slides",outputFormat:"Format de sortie",fontEmbed:"Incorporer les polices",fontEmbedTooltip:"Incorporez les polices au fichier PPTX pour un rendu uniforme sur tous les appareils",slideTransition:"Transition de diapositive",slideTransitionTooltip:"Ajouter des transitions entre les diapositives",defaultDownloadPath:"Chemin de téléchargement par défaut",storageTo:"Enregistrer dans",download:"Télécharger",downloadStarted:"L’exportation a démarré",downloadStartTip:"L’exportation a démarré. Si le téléchargement ne commence pas, essayez un autre navigateur ou relancez l’exportation.",loading:"Exportation",pendingTip:"L’exportation prend plus de temps que prévu. Essayez un autre navigateur.",wechatTip:"Le navigateur intégré de WeChat ne permet pas les téléchargements. Utilisez un navigateur pour ordinateur, comme Chrome ou Edge.",safariTip:"Votre navigateur n’est pas à jour. Mettez-le à jour ou utilisez-en un autre, comme Chrome ou Edge.",mobileTip:"Télécharger sur un ordinateur",exportPptxFailed:"Impossible d’exporter le fichier PPTX. Réessayez.",exportPptxSignFailed:"Impossible d'exporter le fichier PPTX. Actualisez la page et réessayez.",exportImageFailed:"Impossible d’exporter les images. Réessayez.",exportingToGoogle:"Exportation vers Google Slides…",exportToGoogle:"Exporter vers Google Slides",exportToGoogleTips:"Exporter cette présentation vers Google Slides",exportToGoogleNetworkError:"Impossible d’exporter vers Google Slides. Vérifiez votre connexion, puis réessayez."},share:{create:"Créer un diaporama",createDesign:"Créer un design",public:"Public",private:"Privé",createLink:"Créer un lien de partage",createLinkDesc:"Toute personne disposant du lien peut voir cette présentation",createLinkBtn:"Créer le lien",createLinkFailed:"Impossible de créer le lien de partage",bannedTips:"Le partage a été désactivé",goFeedback:"Envoyer un commentaire",updateLinkTitle:"Mettre à jour le lien de partage",updateLinkDesc:"L’ancien lien cessera de fonctionner après la mise à jour",updateLinkConfirm:"Mettre à jour",updateLinkSuccess:"Lien mis à jour",updateTime:"Mis à jour : ",viewLink:"Afficher le lien",notPublic:"Non public",copySuccess:"Lien copié",copyFailed:"Impossible de copier le lien. Réessayez.",copyLinkBtn:"Copier le lien",updateLinkBtn:"Mettre à jour le lien",setPrivateTitle:"Rendre la présentation privée ?",setPrivateDesc:"Toute personne disposant du lien perdra l’accès",setPrivateConfirm:"Rendre privée",setPrivateSuccess:"La présentation est désormais privée",updateShareFailed:"Impossible de mettre à jour les paramètres de partage",linkError:"Ce lien n’est pas valide. Vérifiez-le, puis réessayez.",report:"Signaler",linkInvalid:"Ce lien n’est pas disponible"},floatBar:{leftAlign:"Aligner à gauche",centerAlign:"Centrer",rightAlign:"Aligner à droite",justify:"Justifier",topAlign:"Aligner en haut",verticallyCenter:"Centrer verticalement",bottomAlign:"Aligner en bas",horizontalAlignment:"Alignement horizontal",verticalAlignment:"Alignement vertical",lineSpacing:"Interligne",textStyle:"Style de texte",tableStyle:"Style de tableau",unappliedTextStyle:"Non appliqué",manageTextStyles:"Gérer les styles de texte",fontColor:"Couleur du texte",textBackground:"Arrière-plan du texte",font:"Police",unsupportedFont:"⚠️ Style de police non pris en charge",fontSize:"Taille de police",bold:"Gras",italic:"Italique",underline:"Souligné",strikethrough:"Barré",insertLatex:"Insérer une équation",editLatex:"Modifier l’équation",editData:"Modifier les données",showChartTitle:"Afficher le titre",editChartTitle:"Modifier le titre",chartTitlePlaceholder:"Titre du graphique",showChartValues:"Afficher les valeurs",chartLegend:"Légende",none:"Aucune",top:"Haut",bottom:"Bas",left:"Gauche",right:"Droite",candlestickUpColor:"Couleur de hausse",candlestickDownColor:"Couleur de baisse",candlestickWickColor:"Couleur de la mèche",waterfallIncreaseColor:"Couleur d’augmentation",waterfallDecreaseColor:"Couleur de diminution",waterfallTotalColor:"Couleur du total",heatmapLowColor:"Couleur des valeurs faibles",heatmapMiddleColor:"Couleur du point médian",heatmapHighColor:"Couleur des valeurs élevées",editLine:"Modifier la ligne",curveLine:"Courbe",lineCurveSharp:"Ligne brisée",lineCurveRound:"Arrondie",lineCurveSmooth:"Courbe",lineStartArrow:"Flèche de début",lineEndArrow:"Flèche de fin",usedThemeColor:"Thème « {name} » utilisé",colorFill:"Couleur de remplissage",themeColor:"Couleur du thème",replaceImage:"Remplacer l’image",replaceIcon:"Remplacer l’icône",replaceShape:"Remplacer la forme",imageFit:"Ajustement de l’image",fitFill:"Étirer",fitContain:"Ajuster",fitCover:"Recadrer pour remplir",cancelCrop:"Annuler le recadrage",cropImage:"Recadrer l’image",opacity:"Opacité",horizontalFlip:"Retourner horizontalement",verticalFlip:"Retourner verticalement",layer:"Calque",bringToTop:"Mettre au premier plan",sendToBottom:"Mettre à l’arrière-plan",bringForward:"Avancer d’un plan",sendBackward:"Reculer d’un plan",rowAction:"Actions sur les lignes",columnAction:"Actions sur les colonnes",insertRowBefore:"Insérer une ligne au-dessus",insertRowAfter:"Insérer une ligne en dessous",insertColumnBefore:"Insérer une colonne à gauche",insertColumnAfter:"Insérer une colonne à droite",defaultBorder:"Par défaut",allBorders:"Toutes les bordures",topAndBottomBorders:"Bordures supérieure et inférieure",leftAndRightBorders:"Bordures gauche et droite",topBorder:"Bordure supérieure",rightBorder:"Bordure droite",bottomBorder:"Bordure inférieure",leftBorder:"Bordure gauche",equalizeColumnWidths:"Répartir les colonnes uniformément",deselectAll:"Tout désélectionner",selectAll:"Tout sélectionner",deleteTable:"Supprimer le tableau",cellBackground:"Arrière-plan de cellule",times:"x",border:"Bordure",line:"Ligne",solidLine:"Continue",dashedLine:"Tirets",dottedLine:"Pointillés",noBorder:"Aucune bordure",style:"Style",thickness:"Épaisseur",color:"Couleur",recentColors:"Couleurs récentes",notSupportEyeDropper:"Ce navigateur ne prend pas en charge la pipette. Essayez un autre navigateur.",escCloseEyeDropper:"Appuyez sur Échap pour fermer la pipette"},notes:{placeholder:"Notes",show:"Afficher les notes du présentateur"},animationPanel:{title:"Animation",preview:"Aperçu",empty:"Aucune animation sur cette diapositive",add:"Ajouter une animation",addHint:"Sélectionnez un élément pour ajouter une animation",target:"Élément cible",effect:"Effet",trigger:"Déclencheur",triggerOnClick:"Au clic",triggerWithPrevious:"Avec la précédente",triggerAfterPrevious:"Après la précédente",direction:"Direction",directionUp:"Haut",directionDown:"Bas",directionLeft:"Gauche",directionRight:"Droite",duration:"Durée (ms)",delay:"Délai (ms)",easing:"Lissage",easingLinear:"Linéaire",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"Répétitions",path:"Trajectoire",delete:"Supprimer",categoryEntrance:"Entrée",categoryEmphasis:"Accentuation",categoryExit:"Sortie",categoryMotionPath:"Trajectoire",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"Choisir un élément",elementTypes:{text:"Zone de texte",shape:"Forme",image:"Image",icon:"Icône",table:"Tableau",chart:"Graphique",line:"Ligne"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/icons-AAgnD68s.js b/editor/neo-ppt/assets/icons-AAgnD68s.js new file mode 100644 index 0000000..d9e5505 --- /dev/null +++ b/editor/neo-ppt/assets/icons-AAgnD68s.js @@ -0,0 +1 @@ +import{n as e}from"./rolldown-runtime-DWdDZTNf.js";var t=e({faIcons:()=>n}),n=`s-z.s-y.s-x.s-w.s-v.s-u.s-t.s-s.s-r.s-q.s-p.s-o.s-n.s-m.s-l.s-k.s-j.s-i.s-h.s-g.s-f.s-e.s-d.s-c.s-b.s-a.s-9.s-8.s-7.s-6.s-5.s-4.s-3.s-2.s-1.s-0.s-tv.s-th.s-om.s-at.s-ad.b-vk.b-qq.b-js.b-gg.s-zap.s-yen.s-won.s-usd.s-tty.s-try.s-tag.s-sun.s-spa.s-sms.s-rug.s-rub.s-rss.s-rmb.s-poo.s-pen.s-paw.s-meh.s-map.s-leo.s-krw.s-key.s-jpy.s-jar.s-inr.s-ils.s-hdd.s-gun.s-gem.s-gbp.s-fax.s-fan.s-eye.s-eur.s-egg.s-dog.s-dna.s-cut.s-cow.s-cog.s-cny.s-cat.s-car.s-cab.s-bus.s-bug.s-box.s-bed.s-ban.s-add.r-sun.r-meh.r-map.r-hdd.r-gem.r-eye.b-wsh.b-wix.b-w3c.b-vnv.b-vim.b-usb.b-ups.b-tex.b-rev.b-pix.b-php.b-osi.b-ns8.b-npm.b-mix.b-mdb.b-jxl.b-git.b-fly.b-dhl.b-dev.b-css.b-btc.b-bgg.b-aws.b-adn.s-worm.s-wind.s-wifi.s-vial.s-vest.s-user.s-undo.s-tree.s-tram.s-tint.s-tent.s-taxi.s-tarp.s-tape.s-tags.s-sync.s-stop.s-star.s-sort.s-soap.s-smog.s-sink.s-sign.s-shop.s-ship.s-save.s-road.s-ring.s-redo.s-pray.s-poop.s-poll.s-plus.s-plug.s-play.s-moon.s-mask.s-mars.s-male.s-lock.s-list.s-link.s-leaf.s-kiss.s-jedi.s-info.s-home.s-hand.s-grip.s-grin.s-gift.s-gear.s-frog.s-font.s-flag.s-fish.s-fire.s-film.s-fill.s-file.s-feed.s-euro.s-edit.s-drum.s-dove.s-dice.s-deaf.s-cube.s-crow.s-crop.s-copy.s-cogs.s-code.s-city.s-cake.s-burn.s-bugs.s-book.s-bong.s-bone.s-bomb.s-bolt.s-bold.s-blog.s-bell.s-beer.s-bath.s-bars.s-bank.s-baby.s-atom.s-ankh.r-user.r-star.r-save.r-moon.r-kiss.r-home.r-hand.r-grin.r-flag.r-file.r-edit.r-copy.r-bell.b-zoom.b-yelp.b-yarn.b-xmpp.b-xing.b-xbox.b-wodu.b-waze.b-vsco.b-vine.b-usps.b-uber.b-suse.b-sith.b-sass.b-rust.b-node.b-neos.b-modx.b-meta.b-lyft.b-line.b-less.b-jira.b-java.b-imdb.b-hive.b-hips.b-gulp.b-grav.b-etsy.b-ello.b-edge.b-ebay.b-digg.b-css3.b-bots.b-bity.b-11ty.s-xmark.s-x-ray.s-water.s-virus.s-virgo.s-video.s-vials.s-venus.s-vcard.s-vault.s-users.s-truck.s-trash.s-train.s-torah.s-tooth.s-tools.s-tired.s-times.s-tents.s-tenge.s-teeth.s-tasks.s-table.s-store.s-stamp.s-spoon.s-socks.s-smile.s-slash.s-skull.s-shirt.s-share.s-rupee.s-ruler.s-ruble.s-route.s-robot.s-reply.s-radio.s-quran.s-print.s-plane.s-pills.s-phone.s-peace.s-pause.s-paste.s-pager.s-otter.s-music.s-mouse.s-mound.s-minus.s-medal.s-magic.s-lungs.s-libra.s-lemon.s-legal.s-laugh.s-kaaba.s-joint.s-inbox.s-image.s-igloo.s-icons.s-house.s-hotel.s-horse.s-hippo.s-heart.s-hands.s-hamsa.s-globe.s-gifts.s-ghost.s-gears.s-gavel.s-gauge.s-frown.s-flask.s-ferry.s-eject.s-earth.s-dolly.s-dizzy.s-cubes.s-crown.s-cross.s-couch.s-coins.s-cloud.s-close.s-clone.s-clock.s-child.s-chess.s-check.s-chair.s-chain.s-burst.s-brush.s-broom.s-brain.s-boxes.s-blind.s-bible.s-bahai.s-bacon.s-award.s-atlas.s-aries.s-angry.r-vcard.r-truck.r-tired.r-smile.r-paste.r-lemon.r-laugh.r-image.r-house.r-heart.r-frown.r-dizzy.r-cloud.r-clone.r-clock.r-angry.b-zulip.b-zhihu.b-yoast.b-yahoo.b-whmcs.b-weibo.b-vuejs.b-vimeo.b-viber.b-venmo.b-unity.b-uikit.b-typo3.b-tidal.b-swift.b-steam.b-slack.b-skype.b-rebel.b-react.b-quora.b-pixiv.b-page4.b-orcid.b-opera.b-mixer.b-medrt.b-lumon.b-linux.b-ko-fi.b-julia.b-joget.b-ideal.b-html5.b-houzz.b-hooli.b-grunt.b-glide.b-gitee.b-figma.b-fedex.b-ember.b-brave.b-apple.b-apper.b-500px.s-wrench.s-wifi-3.s-weight.s-wallet.s-volume.s-vihara.s-upload.s-unlock.s-unlink.s-tv-alt.s-tshirt.s-trowel.s-trophy.s-toilet.s-ticket.s-taurus.s-tanakh.s-tablet.s-subway.s-stream.s-stairs.s-square.s-sprout.s-spiral.s-spider.s-sleigh.s-skiing.s-signal.s-shrimp.s-shower.s-shield.s-sheqel.s-shekel.s-shapes.s-server.s-search.s-scroll.s-school.s-rouble.s-rotate.s-rocket.s-ribbon.s-repeat.s-remove.s-random.s-qrcode.s-poll-h.s-pisces.s-person.s-pencil.s-pallet.s-notdef.s-neuter.s-museum.s-mosque.s-mobile.s-mitten.s-meteor.s-memory.s-medkit.s-marker.s-magnet.s-locust.s-laptop.s-khanda.s-italic.s-indent.s-images.s-hotdog.s-hiking.s-header.s-haykal.s-hammer.s-guitar.s-gemini.s-futbol.s-folder.s-filter.s-female.s-faucet.s-expand.s-eraser.s-equals.s-dragon.s-donate.s-dollar.s-divide.s-dedent.s-crutch.s-cookie.s-coffee.s-clover.s-circle.s-church.s-cheese.s-carrot.s-car-on.s-cancer.s-cancel.s-camera.s-burger.s-bucket.s-bridge.s-biking.s-arrows.s-anchor.s-adjust.r-square.r-images.r-futbol.r-folder.r-circle.r-camera.b-yandex.b-yammer.b-weixin.b-weebly.b-viadeo.b-vaadin.b-upwork.b-unison.b-ubuntu.b-twitch.b-tumblr.b-trello.b-tiktok.b-svelte.b-supple.b-stripe.b-strava.b-solana.b-sketch.b-sitrox.b-sellsy.b-scribd.b-schlix.b-safari.b-replyd.b-renren.b-redhat.b-reddit.b-readme.b-python.b-pushed.b-paypal.b-palfed.b-padlet.b-openid.b-openai.b-odysee.b-notion.b-nimblr.b-monero.b-mizuni.b-meetup.b-medium.b-maxcdn.b-linode.b-lastfm.b-korvue.b-keycdn.b-kaggle.b-joomla.b-itunes.b-hotjar.b-google.b-golang.b-gofore.b-gitter.b-gitlab.b-github.b-flickr.b-fedora.b-erlang.b-envira.b-empire.b-dyalog.b-drupal.b-docker.b-dochub.b-disqus.b-deezer.b-debian.b-cpanel.b-contao.b-cmplid.b-claude.b-chrome.b-centos.b-cc-jcb.b-buffer.b-aviato.b-amilia.b-amazon.b-alipay.b-airbnb.s-warning.s-walking.s-volcano.s-viruses.s-user-md.s-up-long.s-up-down.s-turn-up.s-trailer.s-tractor.s-tornado.s-toolbox.s-th-list.s-tablets.s-t-shirt.s-syringe.s-swimmer.s-stapler.s-splotch.s-spinner.s-sort-up.s-snowman.s-smoking.s-sliders.s-skating.s-sitemap.s-signing.s-sign-in.s-shuffle.s-section.s-sd-card.s-scorpio.s-sad-cry.s-running.s-retweet.s-reorder.s-refresh.s-recycle.s-receipt.s-rainbow.s-podcast.s-percent.s-pen-nib.s-pen-alt.s-parking.s-palette.s-outdent.s-oil-can.s-octagon.s-navicon.s-mug-hot.s-message.s-mercury.s-menorah.s-map-pin.s-list-ul.s-list-ol.s-id-card.s-icicles.s-hryvnia.s-hot-tub.s-home-lg.s-history.s-hexagon.s-headset.s-heading.s-hashtag.s-grimace.s-gopuram.s-glasses.s-gamepad.s-forward.s-flushed.s-feather.s-dungeon.s-droplet.s-display.s-disease.s-digging.s-dice-d6.s-diamond.s-desktop.s-cutlery.s-compass.s-comment.s-columns.s-caravan.s-car-alt.s-bus-alt.s-braille.s-blender.s-bicycle.s-battery.s-bathtub.s-barcode.s-bandage.s-archway.s-archive.r-sad-cry.r-message.r-id-card.r-grimace.r-flushed.r-compass.r-comment.b-youtube.b-wpressr.b-wpforms.b-windows.b-webflow.b-vimeo-v.b-viacoin.b-venmo-v.b-untappd.b-umbraco.b-twitter.b-threema.b-threads.b-themeco.b-symfony.b-stubber.b-spotify.b-speakap.b-sistrix.b-shopify.b-rockrms.b-rendact.b-ravelry.b-perbyte.b-patreon.b-pandora.b-node-js.b-napster.b-mintbit.b-medapps.b-magento.b-leanpub.b-laravel.b-keybase.b-jenkins.b-itch-io.b-ioxhost.b-hubspot.b-guilded.b-glide-g.b-git-alt.b-fulcrum.b-freebsd.b-forgejo.b-flutter.b-firefox.b-dropbox.b-discord.b-deskpro.b-d-and-d.b-codepen.b-cc-visa.b-cc-amex.b-bluesky.b-blogger.b-bitcoin.b-behance.b-avianex.b-audible.b-angular.b-android.b-algolia.s-yin-yang.s-yen-sign.s-won-sign.s-vote-yea.s-utensils.s-user-tie.s-user-tag.s-user-pen.s-user-cog.s-user-alt.s-unsorted.s-undo-alt.s-umbrella.s-timeline.s-th-large.s-terminal.s-teletype.s-sync-alt.s-surprise.s-suitcase.s-subtract.s-square-h.s-sort-asc.s-snowplow.s-sim-card.s-signal-5.s-sign-out.s-septagon.s-seedling.s-scissors.s-sailboat.s-sad-tear.s-restroom.s-redo-alt.s-question.s-portrait.s-poo-bolt.s-plane-up.s-pentagon.s-pen-clip.s-passport.s-panorama.s-oil-well.s-multiply.s-mountain.s-mosquito.s-monument.s-minimize.s-maximize.s-location.s-list-alt.s-list-1-2.s-level-up.s-language.s-landmark.s-kip-sign.s-keyboard.s-infinity.s-industry.s-id-badge.s-i-cursor.s-hospital.s-home-alt.s-heptagon.s-hat-hard.s-hard-hat.s-hanukiah.s-h-square.s-grin-alt.s-gas-pump.s-football.s-flag-usa.s-fire-alt.s-film-alt.s-file-pen.s-file-pdf.s-file-csv.s-file-alt.s-face-meh.s-exchange.s-ethernet.s-envelope.s-ellipsis.s-elevator.s-ear-deaf.s-dumpster.s-dumbbell.s-download.s-dice-two.s-dice-six.s-dice-one.s-dice-d20.s-democrat.s-deafness.s-database.s-crop-alt.s-computer.s-compress.s-comments.s-cocktail.s-circle-h.s-children.s-caret-up.s-car-side.s-car-rear.s-capsules.s-cannabis.s-calendar.s-bus-side.s-bullseye.s-bullhorn.s-building.s-box-open.s-bookmark.s-baseball.s-band-aid.s-bacteria.s-backward.s-asterisk.s-arrows-v.s-arrows-h.s-arrow-up.s-aquarius.s-angle-up.r-user-alt.r-surprise.r-sad-tear.r-list-alt.r-keyboard.r-id-badge.r-hospital.r-home-alt.r-grin-alt.r-file-pdf.r-file-alt.r-face-meh.r-envelope.r-comments.r-calendar.r-building.r-bookmark.b-whatsapp.b-ussunnah.b-unsplash.b-telegram.b-stripe-s.b-snapchat.b-skyatlas.b-shopware.b-shoelace.b-sellcast.b-scaleway.b-pixelfed.b-opensuse.b-opencart.b-obsidian.b-mixcloud.b-mendeley.b-megaport.b-medium-m.b-mastodon.b-markdown.b-linktree.b-linkedin.b-leetcode.b-jsfiddle.b-invision.b-intercom.b-instalod.b-innosoft.b-hornbill.b-hashnode.b-gripfire.b-gratipay.b-forumbee.b-facebook.b-evernote.b-ethereum.b-eleventy.b-duolingo.b-dribbble.b-diaspora.b-dashcube.b-css3-alt.b-codiepie.b-cash-app.b-bilibili.b-bandcamp.b-adversal.b-accusoft.b-42-group.s-wheat-awn.s-wheat-alt.s-warehouse.s-volume-up.s-voicemail.s-users-cog.s-user-plus.s-user-lock.s-user-gear.s-user-edit.s-underline.s-turn-down.s-tree-city.s-trash-can.s-trash-alt.s-trademark.s-toggle-on.s-thumbtack.s-thumbs-up.s-tasks-alt.s-synagogue.s-subscript.s-store-alt.s-stopwatch.s-star-half.s-spray-can.s-sort-down.s-sort-desc.s-snowflake.s-sliders-h.s-signature.s-shop-lock.s-share-alt.s-satellite.s-rod-snake.s-road-lock.s-reply-all.s-radiation.s-quidditch.s-pump-soap.s-power-off.s-poo-storm.s-pie-chart.s-phone-alt.s-peso-sign.s-pen-ruler.s-pen-fancy.s-paragraph.s-paperclip.s-not-equal.s-newspaper.s-mill-sign.s-microchip.s-meh-blank.s-mask-face.s-map-signs.s-mail-bulk.s-lock-open.s-list-dots.s-lira-sign.s-lightbulb.s-life-ring.s-less-than.s-left-long.s-lari-sign.s-kiwi-bird.s-kiss-beam.s-jar-wheat.s-ice-cream.s-hurricane.s-hourglass.s-home-user.s-helmet-un.s-heartbeat.s-handshake.s-handcuffs.s-hand-rock.s-hand-fist.s-hand-dots.s-hamburger.s-grin-wink.s-grin-beam.s-golf-ball.s-gauge-med.s-fish-fins.s-first-aid.s-fill-drip.s-file-word.s-file-text.s-file-edit.s-file-code.s-face-kiss.s-face-grin.s-eye-slash.s-explosion.s-euro-sign.s-down-long.s-door-open.s-dong-sign.s-dolly-box.s-dice-four.s-dice-five.s-diagnoses.s-dashboard.s-copyright.s-code-fork.s-cloud-sun.s-clipboard.s-circle-up.s-chart-pie.s-chart-bar.s-cent-sign.s-cedi-sign.s-cart-plus.s-car-crash.s-car-burst.s-capricorn.s-cable-car.s-bug-slash.s-briefcase.s-boxes-alt.s-bowl-rice.s-bowl-food.s-bore-hole.s-book-open.s-book-dead.s-biohazard.s-bed-pulse.s-battery-5.s-battery-4.s-battery-3.s-battery-2.s-battery-0.s-bar-chart.s-baht-sign.s-bacterium.s-backspace.s-apple-alt.s-angles-up.s-ambulance.s-allergies.r-trash-can.r-trash-alt.r-thumbs-up.r-star-half.r-snowflake.r-newspaper.r-meh-blank.r-lightbulb.r-life-ring.r-kiss-beam.r-hourglass.r-handshake.r-hand-rock.r-grin-wink.r-grin-beam.r-file-word.r-file-text.r-file-code.r-face-kiss.r-face-grin.r-eye-slash.r-copyright.r-clipboard.r-circle-up.r-chart-bar.r-bar-chart.b-x-twitter.b-wordpress.b-uncharted.b-themeisle.b-teamspeak.b-stackpath.b-square-js.b-screenpal.b-resolving.b-red-river.b-r-project.b-quinscape.b-pinterest.b-periscope.b-pagelines.b-microsoft.b-microblog.b-mailchimp.b-js-square.b-instagram.b-goodreads.b-gitkraken.b-gg-circle.b-fonticons.b-flipboard.b-fediverse.b-elementor.b-discourse.b-deploydog.b-delicious.b-dart-lang.b-cc-stripe.b-cc-paypal.b-bootstrap.b-bluetooth.b-blogger-b.b-black-tie.b-bitbucket.b-bimobject.b-atlassian.b-apple-pay.b-app-store.b-angellist.s-wine-glass.s-wheelchair.s-wand-magic.s-volume-off.s-volume-low.s-volleyball.s-vial-virus.s-venus-mars.s-users-rays.s-users-line.s-users-gear.s-user-xmark.s-user-times.s-user-slash.s-user-nurse.s-user-ninja.s-user-minus.s-user-large.s-user-group.s-user-clock.s-user-check.s-unlock-alt.s-university.s-truck-fast.s-train-tram.s-tower-cell.s-torii-gate.s-toggle-off.s-tint-slash.s-ticket-alt.s-thumb-tack.s-text-width.s-text-slash.s-tenge-sign.s-television.s-teeth-open.s-tachometer.s-tablet-alt.s-table-list.s-swatchbook.s-square-rss.s-square-pen.s-square-nfi.s-smile-wink.s-smile-beam.s-signs-post.s-shop-slash.s-shield-dog.s-shield-cat.s-shield-alt.s-sack-xmark.s-rupee-sign.s-ruble-sign.s-rss-square.s-right-long.s-right-left.s-republican.s-registered.s-quote-left.s-procedures.s-pound-sign.s-plus-minus.s-plant-wilt.s-plane-lock.s-piggy-bank.s-photo-film.s-phone-flip.s-percentage.s-pepper-hot.s-pencil-alt.s-pen-square.s-paintbrush.s-non-binary.s-naira-sign.s-mug-saucer.s-motorcycle.s-money-bill.s-mobile-alt.s-microscope.s-microphone.s-map-marker.s-map-marked.s-manat-sign.s-mail-reply.s-low-vision.s-list-check.s-link-slash.s-line-chart.s-level-down.s-left-right.s-laugh-wink.s-laugh-beam.s-house-user.s-house-lock.s-house-flag.s-house-fire.s-horse-head.s-helicopter.s-headphones.s-hat-wizard.s-hat-cowboy.s-hard-drive.s-hands-wash.s-hand-spock.s-hand-peace.s-hand-paper.s-grip-lines.s-grin-tears.s-grin-stars.s-globe-asia.s-genderless.s-gauge-high.s-frown-open.s-franc-sign.s-flask-vial.s-file-video.s-file-lines.s-file-image.s-file-excel.s-file-audio.s-face-tired.s-face-smile.s-face-laugh.s-face-frown.s-face-dizzy.s-face-angry.s-eyedropper.s-expand-alt.s-ellipsis-v.s-ellipsis-h.s-earth-asia.s-ear-listen.s-dot-circle.s-directions.s-dice-three.s-crosshairs.s-commenting.s-colon-sign.s-code-merge.s-cloud-rain.s-cloud-moon.s-cloud-bolt.s-clock-four.s-circle-dot.s-chevron-up.s-chess-rook.s-chess-pawn.s-chess-king.s-chart-line.s-chart-area.s-chalkboard.s-caret-left.s-caret-down.s-car-tunnel.s-candy-cane.s-campground.s-camera-alt.s-calculator.s-bus-simple.s-broom-ball.s-box-tissue.s-border-all.s-book-skull.s-book-quran.s-book-bible.s-book-atlas.s-blackboard.s-binoculars.s-bell-slash.s-basketball.s-automobile.s-arrows-alt.s-arrow-left.s-arrow-down.s-area-chart.s-angle-left.s-angle-down.s-align-left.r-user-large.r-smile-wink.r-smile-beam.r-registered.r-laugh-wink.r-laugh-beam.r-headphones.r-hard-drive.r-hand-spock.r-hand-peace.r-hand-paper.r-grin-tears.r-grin-stars.r-frown-open.r-file-video.r-file-lines.r-file-image.r-file-excel.r-file-audio.r-face-tired.r-face-smile.r-face-laugh.r-face-frown.r-face-dizzy.r-face-angry.r-dot-circle.r-commenting.r-clock-four.r-circle-dot.r-chess-rook.r-chess-pawn.r-chess-king.r-camera-alt.r-bell-slash.b-wpexplorer.b-wpbeginner.b-typescript.b-supportnow.b-staylinked.b-square-git.b-sourcetree.b-soundcloud.b-slideshare.b-slack-hash.b-salesforce.b-rocketchat.b-postgresql.b-pied-piper.b-nfc-symbol.b-lumon-drop.b-letterboxd.b-kubernetes.b-kakao-talk.b-jedi-order.b-hackerrank.b-google-pay.b-globaleaks.b-github-alt.b-git-square.b-get-pocket.b-foursquare.b-firstdraft.b-facebook-f.b-earlybirds.b-deviantart.b-cuttlefish.b-confluence.b-cloudsmith.b-cloudscale.b-cloudflare.b-chromecast.b-centercode.b-buysellads.b-blackberry.b-battle-net.b-asymmetrik.b-artstation.b-arch-linux.b-amazon-pay.s-wine-bottle.s-wifi-strong.s-web-awesome.s-wave-square.s-volume-mute.s-volume-high.s-volume-down.s-virus-slash.s-virus-covid.s-video-slash.s-van-shuttle.s-users-slash.s-user-shield.s-user-secret.s-user-doctor.s-user-circle.s-truck-plane.s-truck-front.s-truck-field.s-transgender.s-thumbs-down.s-thermometer.s-text-height.s-table-cells.s-superscript.s-stroopwafel.s-street-view.s-store-slash.s-stop-circle.s-sticky-note.s-stethoscope.s-staff-snake.s-square-plus.s-square-full.s-spell-check.s-solar-panel.s-soccer-ball.s-smoking-ban.s-sign-in-alt.s-shuttle-van.s-shoe-prints.s-sheqel-sign.s-shekel-sign.s-share-nodes.s-search-plus.s-screwdriver.s-school-lock.s-school-flag.s-sagittarius.s-sack-dollar.s-rupiah-sign.s-rotate-left.s-rotate-back.s-road-spikes.s-road-bridge.s-quote-right.s-plus-square.s-plus-circle.s-play-circle.s-plate-wheat.s-plane-slash.s-pizza-slice.s-photo-video.s-phone-slash.s-peseta-sign.s-person-rays.s-person-cane.s-people-roof.s-people-line.s-paper-plane.s-paint-brush.s-note-sticky.s-money-check.s-money-bills.s-mars-stroke.s-mars-double.s-lungs-virus.s-layer-group.s-laptop-file.s-laptop-code.s-kitchen-set.s-kit-medical.s-jet-fighter.s-institution.s-info-circle.s-id-card-alt.s-house-crack.s-hourglass-3.s-hourglass-2.s-hourglass-1.s-home-lg-alt.s-holly-berry.s-hockey-puck.s-highlighter.s-heart-pulse.s-heart-crack.s-hands-bound.s-hand-lizard.s-grin-tongue.s-grin-squint.s-grin-hearts.s-glass-water.s-futbol-ball.s-folder-tree.s-folder-plus.s-folder-open.s-florin-sign.s-floppy-disk.s-fist-raised.s-fire-burner.s-fingerprint.s-film-simple.s-file-zipper.s-file-upload.s-file-shield.s-file-import.s-file-export.s-fighter-jet.s-feather-alt.s-faucet-drip.s-eye-dropper.s-exclamation.s-door-closed.s-dollar-sign.s-desktop-alt.s-delete-left.s-crop-simple.s-credit-card.s-cookie-bite.s-comment-sms.s-comment-alt.s-code-commit.s-code-branch.s-circle-user.s-circle-stop.s-circle-plus.s-circle-play.s-circle-left.s-circle-info.s-circle-down.s-child-rifle.s-child-dress.s-chess-queen.s-chess-board.s-chart-gantt.s-chain-slash.s-certificate.s-caret-right.s-car-battery.s-building-un.s-bridge-lock.s-bread-slice.s-box-archive.s-border-none.s-book-tanakh.s-book-reader.s-battery-car.s-ban-smoking.s-arrows-spin.s-arrow-right.s-apple-whole.s-angles-left.s-angles-down.s-angle-right.s-anchor-lock.s-align-right.s-alarm-clock.r-user-circle.r-thumbs-down.r-stop-circle.r-sticky-note.r-square-plus.r-square-full.r-soccer-ball.r-plus-square.r-play-circle.r-paper-plane.r-note-sticky.r-hourglass-2.r-home-lg-alt.r-hand-lizard.r-grin-tongue.r-grin-squint.r-grin-hearts.r-futbol-ball.r-folder-open.r-floppy-disk.r-file-zipper.r-credit-card.r-comment-alt.r-circle-user.r-circle-stop.r-circle-play.r-circle-left.r-circle-down.r-chess-queen.r-alarm-clock.b-xing-square.b-wikipedia-w.b-web-awesome.b-uniregistry.b-ultralytics.b-tor-browser.b-think-peaks.b-superpowers.b-stumbleupon.b-squarespace.b-square-xing.b-simplybuilt.b-searchengin.b-reacteurope.b-playstation.b-pinterest-p.b-phabricator.b-nutritionix.b-mandalorian.b-linkedin-in.b-kickstarter.b-itunes-note.b-hacker-news.b-google-plus.b-google-play.b-goodreads-g.b-first-order.b-edge-legacy.b-dailymotion.b-cc-discover.b-buy-n-large.b-bluetooth-b.s-xmarks-lines.s-xmark-square.s-xmark-circle.s-window-close.s-weight-scale.s-water-ladder.s-vr-cardboard.s-volume-xmark.s-volume-times.s-video-camera.s-vest-patches.s-venus-double.s-user-injured.s-user-friends.s-turkish-lira.s-truck-pickup.s-truck-moving.s-train-subway.s-toilet-paper.s-times-square.s-times-circle.s-thunderstorm.s-tarp-droplet.s-table-tennis.s-stopwatch-20.s-step-forward.s-star-of-life.s-square-xmark.s-square-virus.s-square-phone.s-square-minus.s-square-check.s-snowboarding.s-sign-out-alt.s-sign-hanging.s-shopping-bag.s-shield-virus.s-shield-heart.s-shield-blank.s-share-square.s-search-minus.s-scroll-torah.s-rotate-right.s-road-barrier.s-rectangle-ad.s-record-vinyl.s-ranking-star.s-puzzle-piece.s-pump-medical.s-prescription.s-phone-volume.s-phone-square.s-person-rifle.s-person-dress.s-person-burst.s-person-booth.s-people-group.s-people-carry.s-pencil-ruler.s-pause-circle.s-paint-roller.s-object-group.s-mountain-sun.s-mosquito-net.s-mortar-board.s-money-bill-1.s-mobile-retro.s-mobile-phone.s-minus-square.s-minus-circle.s-map-location.s-mail-forward.s-luggage-cart.s-location-pin.s-location-dot.s-list-squares.s-list-numeric.s-level-up-alt.s-laugh-squint.s-laptop-house.s-landmark-alt.s-land-mine-on.s-ladder-water.s-indian-rupee.s-id-card-clip.s-hryvnia-sign.s-house-signal.s-house-laptop.s-house-damage.s-hospital-alt.s-heart-broken.s-hand-pointer.s-hand-holding.s-guarani-sign.s-greater-than.s-globe-europe.s-globe-africa.s-glass-cheers.s-gauge-simple.s-forward-step.s-forward-fast.s-font-awesome.s-folder-minus.s-folder-blank.s-file-medical.s-file-invoice.s-file-archive.s-fast-forward.s-face-sad-cry.s-face-grimace.s-face-flushed.s-exchange-alt.s-earth-europe.s-earth-africa.s-draw-polygon.s-diagram-next.s-dharmachakra.s-contact-card.s-contact-book.s-compress-alt.s-compact-disc.s-comment-dots.s-code-compare.s-cloud-upload.s-clapperboard.s-circle-xmark.s-circle-right.s-circle-pause.s-circle-notch.s-circle-nodes.s-circle-minus.s-circle-check.s-chevron-left.s-chevron-down.s-chess-knight.s-chess-bishop.s-check-square.s-check-double.s-check-circle.s-chart-simple.s-chart-column.s-chain-broken.s-cart-flatbed.s-camera-retro.s-calendar-day.s-calendar-alt.s-cake-candles.s-building-ngo.s-bridge-water.s-bowling-ball.s-bottle-water.s-border-style.s-book-medical.s-bitcoin-sign.s-bezier-curve.s-battery-half.s-battery-full.s-bag-shopping.s-austral-sign.s-arrows-alt-v.s-arrows-alt-h.s-arrow-up-z-a.s-arrow-up-a-z.s-arrow-up-9-1.s-arrow-up-1-9.s-angles-right.s-align-center.s-address-card.s-address-book.r-xmark-circle.r-window-close.r-times-circle.r-square-minus.r-square-check.r-share-square.r-pause-circle.r-object-group.r-money-bill-1.r-minus-square.r-laugh-squint.r-hospital-alt.r-hand-pointer.r-font-awesome.r-folder-blank.r-file-archive.r-face-sad-cry.r-face-grimace.r-face-flushed.r-contact-card.r-contact-book.r-comment-dots.r-circle-xmark.r-circle-right.r-circle-pause.r-circle-check.r-chess-knight.r-chess-bishop.r-check-square.r-check-circle.r-calendar-alt.r-address-card.r-address-book.b-y-combinator.b-vimeo-square.b-the-red-yeti.b-tailwind-css.b-symfonycasts.b-studiovinari.b-sticker-mule.b-steam-symbol.b-steam-square.b-square-vimeo.b-square-steam.b-square-figma.b-speaker-deck.b-shirtsinbulk.b-servicestack.b-researchgate.b-reddit-alien.b-raspberry-pi.b-product-hunt.b-old-republic.b-hugging-face.b-google-drive.b-fort-awesome.b-fonticons-fi.b-font-awesome.b-expeditedssl.b-cloudversify.b-circle-zulip.b-cc-apple-pay.b-autoprefixer.s-whiskey-glass.s-wand-sparkles.s-walkie-talkie.s-volume-medium.s-utensil-spoon.s-user-graduate.s-truck-monster.s-truck-medical.s-truck-loading.s-truck-droplet.s-trowel-bricks.s-trash-restore.s-traffic-light.s-ticket-simple.s-thermometer-4.s-thermometer-3.s-thermometer-2.s-thermometer-1.s-thermometer-0.s-theater-masks.s-temperature-4.s-temperature-3.s-temperature-2.s-temperature-1.s-temperature-0.s-tablet-button.s-table-columns.s-swimming-pool.s-strikethrough.s-sterling-sign.s-step-backward.s-star-of-david.s-star-half-alt.s-square-binary.s-space-shuttle.s-sort-alpha-up.s-skiing-nordic.s-sign-language.s-shuttle-space.s-shopping-cart.s-shipping-fast.s-shield-halved.s-sheet-plastic.s-search-dollar.s-rod-asclepius.s-remove-format.s-radiation-alt.s-praying-hands.s-plane-arrival.s-person-skiing.s-person-hiking.s-person-biking.s-people-arrows.s-pencil-square.s-pen-to-square.s-parachute-box.s-notes-medical.s-network-wired.s-mouse-pointer.s-mountain-city.s-mortar-pestle.s-mobile-screen.s-mobile-button.s-masks-theater.s-martini-glass.s-mars-stroke-v.s-mars-stroke-h.s-long-arrow-up.s-litecoin-sign.s-lines-leaning.s-landmark-flag.s-landmark-dome.s-jug-detergent.s-house-tsunami.s-house-medical.s-house-chimney.s-hourglass-end.s-hospital-wide.s-hospital-user.s-hexagon-nodes.s-helmet-safety.s-handshake-alt.s-hands-praying.s-hands-holding.s-hands-helping.s-hands-bubbles.s-hand-sparkles.s-hand-scissors.s-hand-point-up.s-grip-vertical.s-grid-vertical.s-golf-ball-tee.s-globe-oceania.s-glass-whiskey.s-glass-martini.s-funnel-dollar.s-football-ball.s-folder-closed.s-file-waveform.s-file-fragment.s-file-download.s-file-contract.s-file-arrow-up.s-fast-backward.s-face-surprise.s-face-sad-tear.s-external-link.s-envelope-open.s-earth-oceania.s-earth-america.s-dumpster-fire.s-drum-steelpan.s-droplet-slash.s-dolly-flatbed.s-cubes-stacked.s-cruzeiro-sign.s-comment-slash.s-comment-nodes.s-chevron-right.s-check-to-slot.s-chart-diagram.s-cash-register.s-cart-shopping.s-carriage-baby.s-camera-rotate.s-calendar-week.s-calendar-plus.s-calendar-days.s-business-time.s-building-user.s-building-lock.s-building-flag.s-boxes-stacked.s-boxes-packing.s-book-bookmark.s-blender-phone.s-birthday-cake.s-battery-empty.s-baseball-ball.s-bars-progress.s-balance-scale.s-backward-step.s-backward-fast.s-baby-carriage.s-arrows-to-eye.s-arrows-to-dot.s-arrows-rotate.s-arrow-up-long.s-arrow-turn-up.s-arrow-pointer.s-align-justify.s-air-freshener.r-star-half-alt.r-pen-to-square.r-hospital-wide.r-handshake-alt.r-hand-scissors.r-hand-point-up.r-folder-closed.r-face-surprise.r-face-sad-tear.r-envelope-open.r-calendar-plus.r-calendar-days.b-viadeo-square.b-unreal-engine.b-tumblr-square.b-tencent-weibo.b-square-viadeo.b-square-upwork.b-square-tumblr.b-square-reddit.b-square-lastfm.b-square-gitlab.b-square-github.b-space-awesome.b-reddit-square.b-pied-piper-pp.b-optin-monster.b-openstreetmap.b-odnoklassniki.b-lastfm-square.b-kickstarter-k.b-hire-a-helper.b-google-wallet.b-google-plus-g.b-gitlab-square.b-github-square.b-draft2digital.b-digital-ocean.b-critical-role.b-cotton-bureau.b-cc-mastercard.b-cc-amazon-pay.b-brave-reverse.b-app-store-ios.b-angrycreative.s-wine-glass-alt.s-window-restore.s-wheelchair-alt.s-weight-hanging.s-vector-polygon.s-user-astronaut.s-user-alt-slash.s-unlock-keyhole.s-umbrella-beach.s-truck-ramp-box.s-truck-field-un.s-trash-arrow-up.s-temperature-up.s-tachometer-alt.s-tablet-android.s-sun-plant-wilt.s-square-parking.s-sort-amount-up.s-sort-alpha-asc.s-signal-perfect.s-scale-balanced.s-satellite-dish.s-ruler-vertical.s-ruler-combined.s-rotate-forward.s-rectangle-list.s-quote-left-alt.s-person-walking.s-person-skating.s-person-shelter.s-person-running.s-person-praying.s-person-falling.s-person-digging.s-people-robbery.s-people-pulling.s-pastafarianism.s-object-ungroup.s-money-bill-alt.s-mobile-vibrate.s-mobile-android.s-microphone-alt.s-mars-stroke-up.s-mars-and-venus.s-map-marker-alt.s-map-marked-alt.s-mail-reply-all.s-location-arrow.s-level-down-alt.s-laptop-medical.s-journal-whills.s-jet-fighter-up.s-image-portrait.s-hourglass-half.s-hot-tub-person.s-hill-rockslide.s-hill-avalanche.s-headphones-alt.s-head-side-mask.s-hands-clapping.s-hand-back-fist.s-graduation-cap.s-globe-americas.s-flag-checkered.s-file-signature.s-file-clipboard.s-face-meh-blank.s-face-kiss-beam.s-face-grin-wink.s-face-grin-wide.s-face-grin-beam.s-eye-low-vision.s-envelopes-bulk.s-earth-americas.s-drumstick-bite.s-concierge-bell.s-computer-mouse.s-comment-dollar.s-cloud-sun-rain.s-cloud-meatball.s-cloud-download.s-cloud-arrow-up.s-clipboard-user.s-clipboard-list.s-clinic-medical.s-child-reaching.s-calendar-xmark.s-calendar-times.s-calendar-minus.s-calendar-check.s-building-wheat.s-bottle-droplet.s-bolt-lightning.s-bell-concierge.s-beer-mug-empty.s-bars-staggered.s-arrows-up-down.s-arrow-trend-up.s-arrow-down-z-a.s-arrow-down-a-z.s-arrow-down-9-1.s-arrow-down-1-9.r-window-restore.r-rectangle-list.r-object-ungroup.r-money-bill-alt.r-hourglass-half.r-headphones-alt.r-hand-back-fist.r-file-clipboard.r-face-meh-blank.r-face-kiss-beam.r-face-grin-wink.r-face-grin-wide.r-face-grin-beam.r-calendar-xmark.r-calendar-times.r-calendar-minus.r-calendar-check.b-youtube-square.b-twitter-square.b-telegram-plane.b-stack-overflow.b-stack-exchange.b-square-youtube.b-square-twitter.b-square-threads.b-square-deskpro.b-square-bluesky.b-square-behance.b-snapchat-ghost.b-pied-piper-hat.b-pied-piper-alt.b-octopus-deploy.b-google-scholar.b-free-code-camp.b-files-pinwheel.b-d-and-d-beyond.b-connectdevelop.b-cc-diners-club.b-behance-square.b-affiliatetheme.s-window-minimize.s-window-maximize.s-wheelchair-move.s-volleyball-ball.s-users-rectangle.s-transgender-alt.s-tower-broadcast.s-toilet-portable.s-times-rectangle.s-thumbtack-slash.s-temperature-low.s-tachometer-fast.s-store-alt-slash.s-square-up-right.s-square-root-alt.s-square-envelope.s-square-caret-up.s-sort-numeric-up.s-sort-amount-asc.s-sort-alpha-down.s-sort-alpha-desc.s-shopping-basket.s-search-location.s-rotate-backward.s-rectangle-xmark.s-rectangle-times.s-quote-right-alt.s-question-circle.s-project-diagram.s-plane-departure.s-person-swimming.s-person-pregnant.s-person-drowning.s-money-check-alt.s-money-bill-wave.s-mattress-pillow.s-mask-ventilator.s-long-arrow-left.s-long-arrow-down.s-less-than-equal.s-kiss-wink-heart.s-hourglass-start.s-hourglass-empty.s-hospital-symbol.s-head-side-virus.s-head-side-cough.s-hat-cowboy-side.s-hard-of-hearing.s-handshake-slash.s-handshake-angle.s-hand-point-left.s-hand-point-down.s-grip-horizontal.s-grin-beam-sweat.s-grid-horizontal.s-file-powerpoint.s-file-arrow-down.s-feather-pointed.s-face-smile-wink.s-face-smile-beam.s-face-laugh-wink.s-face-laugh-beam.s-face-grin-tears.s-face-grin-stars.s-face-frown-open.s-envelope-square.s-drivers-license.s-diagram-project.s-credit-card-alt.s-comments-dollar.s-comment-medical.s-cloud-moon-rain.s-clipboard-check.s-circle-question.s-circle-arrow-up.s-child-combatant.s-chalkboard-user.s-cart-arrow-down.s-caret-square-up.s-building-shield.s-broadcast-tower.s-briefcase-clock.s-border-top-left.s-battery-quarter.s-basketball-ball.s-basket-shopping.s-arrow-turn-down.s-arrow-left-long.s-arrow-down-long.s-arrow-circle-up.s-angle-double-up.r-window-minimize.r-window-maximize.r-times-rectangle.r-square-caret-up.r-rectangle-xmark.r-rectangle-times.r-question-circle.r-kiss-wink-heart.r-hourglass-empty.r-hand-point-left.r-hand-point-down.r-grin-beam-sweat.r-file-powerpoint.r-face-smile-wink.r-face-smile-beam.r-face-laugh-wink.r-face-laugh-beam.r-face-grin-tears.r-face-grin-stars.r-face-frown-open.r-drivers-license.r-credit-card-alt.r-circle-question.r-caret-square-up.b-wirsindhandwerk.b-whatsapp-square.b-ultralytics-hub.b-square-whatsapp.b-square-snapchat.b-square-linkedin.b-square-facebook.b-square-dribbble.b-snapchat-square.b-nfc-directional.b-galactic-senate.b-first-order-alt.b-firefox-browser.b-facebook-square.b-dribbble-square.b-board-game-geek.b-accessible-icon.s-wine-glass-empty.s-users-viewfinder.s-user-large-slash.s-universal-access.s-toilets-portable.s-toilet-paper-alt.s-thumb-tack-slash.s-thermometer-half.s-thermometer-full.s-tent-arrows-down.s-temperature-high.s-temperature-half.s-temperature-full.s-temperature-down.s-suitcase-rolling.s-suitcase-medical.s-star-half-stroke.s-sort-numeric-asc.s-sort-amount-down.s-sort-amount-desc.s-skull-crossbones.s-share-alt-square.s-scale-unbalanced.s-ruler-horizontal.s-right-to-bracket.s-plug-circle-plus.s-plug-circle-bolt.s-place-of-worship.s-phone-square-alt.s-person-harassing.s-people-carry-box.s-money-bill-wheat.s-microphone-slash.s-microphone-lines.s-meh-rolling-eyes.s-map-location-dot.s-magnifying-glass.s-long-arrow-right.s-handshake-simple.s-hand-point-right.s-hand-holding-usd.s-grin-tongue-wink.s-gauge-simple-med.s-file-medical-alt.s-file-half-dashed.s-file-circle-plus.s-face-grin-tongue.s-face-grin-squint.s-face-grin-hearts.s-drafting-compass.s-compass-drafting.s-cloud-upload-alt.s-cloud-arrow-down.s-circle-radiation.s-charging-station.s-building-columns.s-book-open-reader.s-asl-interpreting.s-arrows-to-circle.s-arrow-trend-down.s-arrow-right-long.r-star-half-stroke.r-meh-rolling-eyes.r-handshake-simple.r-hand-point-right.r-grin-tongue-wink.r-face-grin-tongue.r-face-grin-squint.r-face-grin-hearts.b-wordpress-simple.b-ultralytics-yolo.b-trade-federation.b-square-x-twitter.b-square-pinterest.b-square-instagram.b-signal-messenger.b-pinterest-square.b-phoenix-squadron.b-instagram-square.b-fort-awesome-alt.b-font-awesome-alt.b-creative-commons.b-buromobelexperte.s-virus-covid-slash.s-vial-circle-check.s-turkish-lira-sign.s-truck-arrow-right.s-trash-restore-alt.s-tower-observation.s-thermometer-empty.s-temperature-empty.s-table-cells-large.s-star-and-crescent.s-staff-aesculapius.s-square-phone-flip.s-square-caret-left.s-square-caret-down.s-sort-numeric-down.s-sort-numeric-desc.s-sort-alpha-up-alt.s-single-quote-left.s-share-from-square.s-road-circle-xmark.s-road-circle-check.s-plug-circle-xmark.s-plug-circle-minus.s-plug-circle-check.s-person-half-dress.s-person-chalkboard.s-money-bill-1-wave.s-mars-stroke-right.s-long-arrow-alt-up.s-location-pin-lock.s-indian-rupee-sign.s-house-flood-water.s-helicopter-symbol.s-heart-circle-plus.s-heart-circle-bolt.s-headphones-simple.s-hand-holding-hand.s-grin-squint-tears.s-glass-martini-alt.s-gauge-simple-high.s-font-awesome-flag.s-fire-flame-simple.s-fire-flame-curved.s-fire-extinguisher.s-file-prescription.s-file-circle-xmark.s-file-circle-minus.s-file-circle-check.s-face-rolling-eyes.s-face-laugh-squint.s-eye-dropper-empty.s-external-link-alt.s-expand-arrows-alt.s-ellipsis-vertical.s-diagram-successor.s-code-pull-request.s-closed-captioning.s-clock-rotate-left.s-circle-chevron-up.s-circle-arrow-left.s-circle-arrow-down.s-chevron-circle-up.s-champagne-glasses.s-caret-square-left.s-caret-square-down.s-briefcase-medical.s-baseball-bat-ball.s-audio-description.s-arrows-up-to-line.s-arrows-turn-right.s-arrows-left-right.s-arrow-rotate-left.s-arrow-rotate-back.s-arrow-left-rotate.s-arrow-circle-left.s-arrow-circle-down.s-angle-double-left.s-angle-double-down.r-square-caret-left.r-square-caret-down.r-share-from-square.r-headphones-simple.r-grin-squint-tears.r-font-awesome-flag.r-face-rolling-eyes.r-face-laugh-squint.r-closed-captioning.r-caret-square-left.r-caret-square-down.b-square-pied-piper.b-square-letterboxd.b-pied-piper-square.b-phoenix-framework.b-internet-explorer.b-galactic-republic.b-font-awesome-flag.s-up-down-left-right.s-trash-can-arrow-up.s-toilet-paper-slash.s-toilet-paper-blank.s-tachometer-average.s-tachograph-digital.s-square-share-nodes.s-square-caret-right.s-spray-can-sparkles.s-sort-amount-up-alt.s-single-quote-right.s-screwdriver-wrench.s-right-from-bracket.s-plane-circle-xmark.s-plane-circle-check.s-picture-in-picture.s-person-dress-burst.s-person-circle-plus.s-money-check-dollar.s-mobile-android-alt.s-house-medical-flag.s-house-circle-xmark.s-house-circle-check.s-house-chimney-user.s-hexagon-nodes-bolt.s-heart-circle-xmark.s-heart-circle-minus.s-heart-circle-check.s-hand-middle-finger.s-hand-holding-water.s-hand-holding-heart.s-grin-tongue-squint.s-greater-than-equal.s-exclamation-circle.s-envelope-open-text.s-digital-tachograph.s-diamond-turn-right.s-cloud-download-alt.s-clipboard-question.s-circle-half-stroke.s-circle-exclamation.s-circle-arrow-right.s-chalkboard-teacher.s-caret-square-right.s-balance-scale-left.s-arrow-rotate-right.s-arrow-right-rotate.s-arrow-down-up-lock.s-arrow-circle-right.s-angle-double-right.r-square-caret-right.r-grin-tongue-squint.r-caret-square-right.b-stumbleupon-circle.b-square-web-awesome.b-square-kickstarter.b-square-hacker-news.b-square-google-plus.b-hacker-news-square.b-google-plus-square.b-facebook-messenger.s-wand-magic-sparkles.s-users-between-lines.s-thermometer-quarter.s-temperature-quarter.s-tachometer-alt-fast.s-sort-numeric-up-alt.s-sort-alpha-down-alt.s-school-circle-xmark.s-school-circle-check.s-prescription-bottle.s-person-snowboarding.s-person-circle-xmark.s-person-circle-minus.s-person-circle-check.s-money-bill-wave-alt.s-money-bill-trend-up.s-money-bill-transfer.s-martini-glass-empty.s-magic-wand-sparkles.s-long-arrow-alt-left.s-long-arrow-alt-down.s-location-crosshairs.s-house-chimney-crack.s-handshake-alt-slash.s-hands-holding-child.s-hand-holding-dollar.s-group-arrows-rotate.s-grip-lines-vertical.s-glass-water-droplet.s-filter-circle-xmark.s-file-invoice-dollar.s-diagram-predecessor.s-compress-arrows-alt.s-cloud-showers-water.s-cloud-showers-heavy.s-circle-chevron-left.s-circle-chevron-down.s-chevron-circle-left.s-chevron-circle-down.s-bridge-circle-xmark.s-bridge-circle-check.s-brazilian-real-sign.s-book-journal-whills.s-balance-scale-right.s-arrows-turn-to-dots.s-arrows-down-to-line.s-arrow-up-wide-short.s-arrow-up-short-wide.s-arrow-up-right-dots.s-arrow-right-to-file.s-arrow-right-to-city.s-arrow-alt-circle-up.s-anchor-circle-xmark.s-anchor-circle-check.r-arrow-alt-circle-up.b-wolf-pack-battalion.b-watchman-monitoring.b-square-font-awesome.b-creative-commons-sa.b-creative-commons-pd.b-creative-commons-nd.b-creative-commons-nc.b-creative-commons-by.b-canadian-maple-leaf.s-volume-control-phone.s-up-right-from-square.s-triangle-exclamation.s-tent-arrow-turn-left.s-temperature-arrow-up.s-tablet-screen-button.s-table-cells-row-lock.s-square-root-variable.s-square-poll-vertical.s-sort-amount-down-alt.s-quidditch-broom-ball.s-person-skiing-nordic.s-person-falling-burst.s-person-breastfeeding.s-mobile-screen-button.s-microphone-alt-slash.s-martini-glass-citrus.s-mars-and-venus-burst.s-long-arrow-alt-right.s-house-chimney-window.s-hands-holding-circle.s-hand-holding-medical.s-hand-holding-droplet.s-filter-circle-dollar.s-file-circle-question.s-face-kiss-wink-heart.s-face-grin-beam-sweat.s-external-link-square.s-exclamation-triangle.s-circle-chevron-right.s-chevron-circle-right.s-arrow-rotate-forward.r-face-kiss-wink-heart.r-face-grin-beam-sweat.b-yandex-international.b-wizards-of-the-coast.b-square-odnoklassniki.b-odnoklassniki-square.b-fantasy-flight-games.s-tent-arrow-left-right.s-square-arrow-up-right.s-sort-numeric-down-alt.s-scale-unbalanced-flip.s-ping-pong-paddle-ball.s-person-through-window.s-person-military-rifle.s-person-dots-from-line.s-magnifying-glass-plus.s-house-chimney-medical.s-head-side-cough-slash.s-face-grin-tongue-wink.s-envelope-circle-check.s-circle-dollar-to-slot.s-cart-flatbed-suitcase.s-building-circle-xmark.s-building-circle-check.s-bangladeshi-taka-sign.s-arrows-down-to-people.s-arrow-up-from-bracket.s-arrow-rotate-backward.s-arrow-right-from-file.s-arrow-down-wide-short.s-arrow-down-short-wide.s-arrow-alt-circle-left.s-arrow-alt-circle-down.r-face-grin-tongue-wink.r-arrow-alt-circle-left.r-arrow-alt-circle-down.b-creative-commons-zero.s-triangle-circle-square.s-temperature-arrow-down.s-tachometer-alt-average.s-table-cells-row-unlock.s-square-poll-horizontal.s-square-person-confined.s-person-walking-luggage.s-person-circle-question.s-microphone-lines-slash.s-magnifying-glass-minus.s-magnifying-glass-chart.s-handshake-simple-slash.s-hands-asl-interpreting.s-font-awesome-logo-full.s-face-grin-squint-tears.s-battery-three-quarters.s-arrow-right-to-bracket.s-arrow-right-arrow-left.s-arrow-alt-circle-right.r-font-awesome-logo-full.r-face-grin-squint-tears.r-arrow-alt-circle-right.b-font-awesome-logo-full.b-creative-commons-share.b-creative-commons-remix.b-creative-commons-nc-jp.b-creative-commons-nc-eu.s-tent-arrow-down-to-line.s-table-cells-column-lock.s-road-circle-exclamation.s-prescription-bottle-alt.s-plug-circle-exclamation.s-magnifying-glass-dollar.s-heart-music-camera-bolt.s-file-circle-exclamation.s-face-grin-tongue-squint.s-closed-captioning-slash.r-face-grin-tongue-squint.b-creative-commons-pd-alt.s-table-tennis-paddle-ball.s-spaghetti-monster-flying.s-plane-circle-exclamation.s-person-walking-with-cane.s-person-military-pointing.s-people-arrows-left-right.s-house-circle-exclamation.s-heart-circle-exclamation.s-external-link-square-alt.s-arrows-split-up-and-left.s-arrow-up-from-water-pump.s-arrow-right-from-bracket.s-school-circle-exclamation.s-person-military-to-person.s-person-circle-exclamation.s-person-arrow-up-from-line.s-person-arrow-down-to-line.s-magnifying-glass-location.s-bridge-circle-exclamation.s-arrows-up-down-left-right.s-arrows-left-right-to-line.s-arrow-down-up-across-line.s-anchor-circle-exclamation.b-square-web-awesome-stroke.b-creative-commons-sampling.s-thermometer-three-quarters.s-temperature-three-quarters.s-person-walking-arrow-right.s-house-medical-circle-xmark.s-house-medical-circle-check.s-arrow-up-right-from-square.s-arrow-up-from-ground-water.b-square-font-awesome-stroke.s-prescription-bottle-medical.s-building-circle-exclamation.s-building-circle-arrow-right.s-assistive-listening-systems.s-wheat-awn-circle-exclamation.s-magnifying-glass-arrow-right.s-person-walking-arrow-loop-left.b-creative-commons-sampling-plus.s-house-medical-circle-exclamation.s-down-left-and-up-right-to-center.s-up-right-and-down-left-from-center.s-american-sign-language-interpreting.s-house-flood-water-circle-arrow-right.s-person-walking-dashed-line-arrow-right.s-hands-american-sign-language-interpreting`.split(`.`);export{t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/icons-CgDhqj4h.js b/editor/neo-ppt/assets/icons-CgDhqj4h.js new file mode 100644 index 0000000..1f02255 --- /dev/null +++ b/editor/neo-ppt/assets/icons-CgDhqj4h.js @@ -0,0 +1 @@ +var e={prefix:``,lastModified:1785760180,icons:JSON.parse(`{"a_Kimi":{"body":""},"a-likedislike":{"body":""},"Add":{"body":""},"Add_img":{"body":""},"Add_new":{"body":""},"AddConversation":{"body":""},"Addfolder":{"body":""},"AllSelected":{"body":""},"Alpha":{"body":""},"Alphalab":{"body":""},"Android":{"body":""},"Animation":{"body":""},"announcement":{"body":""},"Apple_f":{"body":""},"archive":{"body":""},"Archive_b":{"body":""},"Artifact":{"body":""},"At":{"body":""},"At1":{"body":""},"Bad":{"body":""},"Ban":{"body":""},"Battery":{"body":""},"Bold":{"body":""},"Bottom":{"body":""},"BottomAlign":{"body":""},"Box":{"body":""},"Browse":{"body":""},"Browser":{"body":""},"Browser_b":{"body":""},"brush":{"body":""},"business":{"body":""},"BusinessCard":{"body":""},"Camera":{"body":""},"Camera_f":{"body":""},"Catalog":{"body":""},"CenterAlign":{"body":""},"CenterVertically":{"body":""},"Change":{"body":""},"Change_b":{"body":""},"Check":{"body":""},"Check_b_cl":{"body":""},"Check_b_f":{"body":""},"Check_f":{"body":""},"CheckboxEmpty":{"body":""},"CheckboxIn":{"body":""},"CirclePlus":{"body":""},"CirclePlus_f":{"body":""},"ClearHistory":{"body":""},"Clip":{"body":""},"Clock":{"body":""},"Close":{"body":""},"Close_f":{"body":""},"Close_img":{"body":""},"close_new":{"body":""},"CloseIconIn_f":{"body":""},"Code":{"body":""},"Code1":{"body":""},"Collapse":{"body":""},"Collect":{"body":""},"Collect_f":{"body":""},"Colorless":{"body":""},"ColorPalette":{"body":""},"ColorPicker":{"body":""},"Comment":{"body":""},"CommentPlus":{"body":""},"complete":{"body":""},"connectors":{"body":""},"Copy":{"body":""},"CreateSubagent":{"body":""},"Creativity":{"body":""},"Cropping":{"body":""},"CropRotation":{"body":""},"Css":{"body":""},"DarkMode":{"body":""},"Dashboard":{"body":""},"Data":{"body":""},"Delete":{"body":""},"Deregister":{"body":""},"Desktop":{"body":""},"Diagnosis":{"body":""},"Diagram":{"body":""},"Discover_new":{"body":""},"Dislike":{"body":""},"Dislike_b":{"body":""},"Dislike_f":{"body":""},"DocDone":{"body":""},"Document":{"body":""},"Document_b":{"body":""},"Document_f1":{"body":""},"Dot":{"body":""},"Down":{"body":""},"Down_b":{"body":""},"Download":{"body":""},"Draw_selected":{"body":""},"Draw_Unselected":{"body":""},"duoxuan":{"body":""},"Edit":{"body":""},"Enter":{"body":""},"env":{"body":""},"equal":{"body":""},"Eraser":{"body":""},"error":{"body":""},"Excel":{"body":""},"Exclamation":{"body":""},"Exclamation_cl":{"body":""},"Exclamation_f":{"body":""},"Expand":{"body":""},"ExpandRight":{"body":""},"File_f":{"body":""},"FileAudio_dark":{"body":""},"FileAudio_light":{"body":""},"FileCode_dark":{"body":""},"FileCode_light":{"body":""},"FileCode_s_cl":{"body":""},"FileCSV_dark":{"body":""},"FileCSV_light":{"body":""},"FileEPUB_dark":{"body":""},"FileEPUB_light":{"body":""},"FileExcel_dark":{"body":""},"FileExcel_light":{"body":""},"FileFloderClose_dark":{"body":""},"FileFolder_dark":{"body":""},"FileFolder_light":{"body":""},"FileFolderClose_light":{"body":""},"FileHTML_dark":{"body":""},"FileHTML_light":{"body":""},"Fileicon":{"body":""},"FileImage_dark":{"body":""},"FileImage_light":{"body":""},"FileJSON_dark":{"body":""},"FileJSON_light":{"body":""},"FileLoading_dark":{"body":""},"FileLoading_light":{"body":""},"FileMD_dark":{"body":""},"FileMD_light":{"body":""},"FileOther_dark":{"body":""},"FileOther_light":{"body":""},"FilePDF_dark":{"body":""},"FilePDF_light":{"body":""},"FilePPT_dark":{"body":""},"FilePPT_light":{"body":""},"FileSkill_dark":{"body":""},"FileSkill_light":{"body":""},"FileTXT_dark":{"body":""},"FileTXT_light":{"body":""},"FileURL_dark":{"body":""},"FileURL_light":{"body":""},"FileVideo_dark":{"body":""},"FileVideo_light":{"body":""},"FileVisual_dark":{"body":""},"FileVisual_light":{"body":""},"FileWord_dark":{"body":""},"FileWord_light":{"body":""},"FitScreen":{"body":""},"Flatten":{"body":""},"Flip":{"body":""},"Flip_b":{"body":""},"Folder":{"body":""},"FolderOpen":{"body":""},"FoldLeft":{"body":""},"FollowSystem":{"body":""},"Font":{"body":""},"football":{"body":""},"FullAccess":{"body":""},"FullScreen":{"body":""},"Gift":{"body":""},"git":{"body":""},"goal":{"body":""},"GoBack":{"body":""},"GoBack_Number":{"body":""},"Hand":{"body":""},"Histogram":{"body":""},"Histogram1":{"body":""},"History":{"body":""},"html":{"body":""},"Icon":{"body":""},"Image":{"body":""},"Image_f":{"body":""},"ImageCreate":{"body":""},"ImageCreate_f":{"body":""},"ImageFailed":{"body":""},"Info":{"body":""},"InternetOff_b":{"body":""},"InternetOn":{"body":""},"IntervalSpace":{"body":""},"Italic":{"body":""},"JoinGroup":{"body":""},"JS":{"body":""},"Justify":{"body":""},"k15":{"body":""},"k15_b":{"body":""},"Keyboard":{"body":""},"Keyboard_new":{"body":""},"KforKimi_f":{"body":""},"kimi":{"body":""},"Kimiclaw":{"body":""},"Kimilogo":{"body":""},"KimiOld":{"body":""},"Knowledge":{"body":""},"Koder":{"body":""},"lab":{"body":""},"Laptop":{"body":""},"Layer":{"body":""},"Left":{"body":""},"Left_b":{"body":""},"left_c":{"body":""},"LeftAlign":{"body":""},"LeftBar":{"body":""},"LeftRight":{"body":""},"LeftRight_b":{"body":""},"LightMode":{"body":""},"Like":{"body":""},"Like_b":{"body":""},"Like_b_f":{"body":""},"Like_f":{"body":""},"Line":{"body":""},"Linechart":{"body":""},"LineSpace":{"body":""},"Link":{"body":""},"List":{"body":""},"LoadingRight":{"body":""},"Local":{"body":""},"Locate":{"body":""},"Lock_f":{"body":""},"LowerLeft":{"body":""},"LowerRight":{"body":""},"Mac_Dark":{"body":""},"Magnify":{"body":""},"Management":{"body":""},"MathFormula":{"body":""},"MCP":{"body":""},"Memory":{"body":""},"Message":{"body":""},"Microscope":{"body":""},"Microscope1":{"body":""},"Minify":{"body":""},"minus":{"body":""},"Mobile":{"body":""},"MobileDestopAdopt":{"body":""},"model":{"body":""},"More":{"body":""},"More_b":{"body":""},"Mosaic":{"body":""},"Move":{"body":""},"MoveDown":{"body":""},"MoveForward":{"body":""},"MoveUp":{"body":""},"MultiSelected":{"body":""},"music":{"body":""},"Next":{"body":""},"Nofolder":{"body":""},"Normal":{"body":""},"Notification":{"body":""},"Notification_f1":{"body":""},"OKCompuer":{"body":""},"okcomputer":{"body":""},"ONCircleClose_f":{"body":""},"Ordered":{"body":""},"Ordered_b":{"body":""},"Ordered1":{"body":""},"Output":{"body":""},"Pages":{"body":""},"PageStyle":{"body":""},"pause":{"body":""},"Pause_b":{"body":""},"pause_f":{"body":""},"Pdf":{"body":""},"Pencil":{"body":""},"Phone_f":{"body":""},"Phone2_f":{"body":""},"PhoneCall":{"body":""},"PhoneCall_f":{"body":""},"PhoneHangUp_f":{"body":""},"Pin":{"body":""},"Pin_f":{"body":""},"PinToTop":{"body":""},"PinToTop_f":{"body":""},"Play":{"body":""},"play_f":{"body":""},"plus":{"body":""},"PopupClosed":{"body":""},"Post":{"body":""},"Post_f":{"body":""},"Power":{"body":""},"PPT":{"body":""},"Previous":{"body":""},"Prism":{"body":""},"Profile":{"body":""},"ProSearch":{"body":""},"Publish":{"body":""},"PublishPost":{"body":""},"QQ_cl":{"body":""},"question":{"body":""},"Qzone_cl":{"body":""},"Random":{"body":""},"React":{"body":""},"Recognize":{"body":""},"RecordVoice":{"body":""},"Redbook_cl":{"body":""},"Redo":{"body":""},"redpacket":{"body":""},"Refresh":{"body":""},"Refresh_b":{"body":""},"Refresh_f":{"body":""},"Refresh_fw":{"body":""},"Remove":{"body":""},"Replace":{"body":""},"Review":{"body":""},"Right":{"body":""},"Right_b":{"body":""},"Right_c":{"body":""},"RightAlign":{"body":""},"RightBar":{"body":""},"Safe_01":{"body":""},"Save":{"body":""},"Scan":{"body":""},"Scan_darkpic":{"body":""},"Scan_lightpic":{"body":""},"ScanMath":{"body":""},"ScanMath_f":{"body":""},"Screenshot":{"body":""},"Search":{"body":""},"Select":{"body":""},"Send":{"body":""},"Send_b":{"body":""},"Send_f":{"body":""},"Send_f_new":{"body":""},"send_new":{"body":""},"Setting":{"body":""},"Shape":{"body":""},"Share_a":{"body":""},"Share_b":{"body":""},"Shell":{"body":""},"SignIn":{"body":""},"SignOut":{"body":""},"skill":{"body":""},"Smile":{"body":""},"Smile1":{"body":""},"Sounds":{"body":""},"Sounds_f":{"body":""},"stop":{"body":""},"Stop_f":{"body":""},"Stop_f_new":{"body":""},"stop_new":{"body":""},"StrikeThrough":{"body":""},"Stroke":{"body":""},"Style":{"body":""},"Switch":{"body":""},"TabDiscover":{"body":""},"TabDiscover_f":{"body":""},"TabKimi":{"body":""},"TabKimi_f":{"body":""},"TabMe":{"body":""},"TabMe_f":{"body":""},"TabStroke":{"body":""},"TabStroke_b":{"body":""},"Tabular":{"body":""},"Tag":{"body":""},"Target":{"body":""},"TaskSubagent":{"body":""},"TaskSubAgentOff":{"body":""},"Text":{"body":""},"TextSelect":{"body":""},"TodoList":{"body":""},"TopAlign":{"body":""},"TopUp":{"body":""},"Translate":{"body":""},"Translate_f":{"body":""},"Unbrowse":{"body":""},"Underline":{"body":""},"Undo":{"body":""},"UnpinFromTop":{"body":""},"Up":{"body":""},"Up_b":{"body":""},"Up_c":{"body":""},"Up_c1":{"body":""},"Update":{"body":""},"UpDown":{"body":""},"UpDown_b":{"body":""},"Upload":{"body":""},"UploadFile":{"body":""},"UploadWechat":{"body":""},"UpperLeft":{"body":""},"UpperRight":{"body":""},"video":{"body":""},"ViewAll":{"body":""},"VoiceIn":{"body":""},"voicein_new":{"body":""},"VolOff":{"body":""},"VolOn":{"body":""},"VolOn_f":{"body":""},"Warning":{"body":""},"Watermark":{"body":""},"WebBridge":{"body":""},"WebsiteUrl":{"body":""},"Wechat_b_cl":{"body":""},"Wechat_c_fw":{"body":""},"Wechat_cl":{"body":""},"Weibo_cl":{"body":""},"Windows_Light":{"body":""},"WordSpace":{"body":""},"WrapText":{"body":""},"Write":{"body":""},"Write_f":{"body":""},"xml":{"body":""}}`),width:1024,height:1024};export{e as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/icons-legacy-B8B0dcpb.js b/editor/neo-ppt/assets/icons-legacy-B8B0dcpb.js new file mode 100644 index 0000000..c290cd8 --- /dev/null +++ b/editor/neo-ppt/assets/icons-legacy-B8B0dcpb.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js"],function(s,e){var r,a;return{setters:[function(s){r=s.n}],execute:function(){s("t",r({faIcons:()=>a})),a=["s-z","s-y","s-x","s-w","s-v","s-u","s-t","s-s","s-r","s-q","s-p","s-o","s-n","s-m","s-l","s-k","s-j","s-i","s-h","s-g","s-f","s-e","s-d","s-c","s-b","s-a","s-9","s-8","s-7","s-6","s-5","s-4","s-3","s-2","s-1","s-0","s-tv","s-th","s-om","s-at","s-ad","b-vk","b-qq","b-js","b-gg","s-zap","s-yen","s-won","s-usd","s-tty","s-try","s-tag","s-sun","s-spa","s-sms","s-rug","s-rub","s-rss","s-rmb","s-poo","s-pen","s-paw","s-meh","s-map","s-leo","s-krw","s-key","s-jpy","s-jar","s-inr","s-ils","s-hdd","s-gun","s-gem","s-gbp","s-fax","s-fan","s-eye","s-eur","s-egg","s-dog","s-dna","s-cut","s-cow","s-cog","s-cny","s-cat","s-car","s-cab","s-bus","s-bug","s-box","s-bed","s-ban","s-add","r-sun","r-meh","r-map","r-hdd","r-gem","r-eye","b-wsh","b-wix","b-w3c","b-vnv","b-vim","b-usb","b-ups","b-tex","b-rev","b-pix","b-php","b-osi","b-ns8","b-npm","b-mix","b-mdb","b-jxl","b-git","b-fly","b-dhl","b-dev","b-css","b-btc","b-bgg","b-aws","b-adn","s-worm","s-wind","s-wifi","s-vial","s-vest","s-user","s-undo","s-tree","s-tram","s-tint","s-tent","s-taxi","s-tarp","s-tape","s-tags","s-sync","s-stop","s-star","s-sort","s-soap","s-smog","s-sink","s-sign","s-shop","s-ship","s-save","s-road","s-ring","s-redo","s-pray","s-poop","s-poll","s-plus","s-plug","s-play","s-moon","s-mask","s-mars","s-male","s-lock","s-list","s-link","s-leaf","s-kiss","s-jedi","s-info","s-home","s-hand","s-grip","s-grin","s-gift","s-gear","s-frog","s-font","s-flag","s-fish","s-fire","s-film","s-fill","s-file","s-feed","s-euro","s-edit","s-drum","s-dove","s-dice","s-deaf","s-cube","s-crow","s-crop","s-copy","s-cogs","s-code","s-city","s-cake","s-burn","s-bugs","s-book","s-bong","s-bone","s-bomb","s-bolt","s-bold","s-blog","s-bell","s-beer","s-bath","s-bars","s-bank","s-baby","s-atom","s-ankh","r-user","r-star","r-save","r-moon","r-kiss","r-home","r-hand","r-grin","r-flag","r-file","r-edit","r-copy","r-bell","b-zoom","b-yelp","b-yarn","b-xmpp","b-xing","b-xbox","b-wodu","b-waze","b-vsco","b-vine","b-usps","b-uber","b-suse","b-sith","b-sass","b-rust","b-node","b-neos","b-modx","b-meta","b-lyft","b-line","b-less","b-jira","b-java","b-imdb","b-hive","b-hips","b-gulp","b-grav","b-etsy","b-ello","b-edge","b-ebay","b-digg","b-css3","b-bots","b-bity","b-11ty","s-xmark","s-x-ray","s-water","s-virus","s-virgo","s-video","s-vials","s-venus","s-vcard","s-vault","s-users","s-truck","s-trash","s-train","s-torah","s-tooth","s-tools","s-tired","s-times","s-tents","s-tenge","s-teeth","s-tasks","s-table","s-store","s-stamp","s-spoon","s-socks","s-smile","s-slash","s-skull","s-shirt","s-share","s-rupee","s-ruler","s-ruble","s-route","s-robot","s-reply","s-radio","s-quran","s-print","s-plane","s-pills","s-phone","s-peace","s-pause","s-paste","s-pager","s-otter","s-music","s-mouse","s-mound","s-minus","s-medal","s-magic","s-lungs","s-libra","s-lemon","s-legal","s-laugh","s-kaaba","s-joint","s-inbox","s-image","s-igloo","s-icons","s-house","s-hotel","s-horse","s-hippo","s-heart","s-hands","s-hamsa","s-globe","s-gifts","s-ghost","s-gears","s-gavel","s-gauge","s-frown","s-flask","s-ferry","s-eject","s-earth","s-dolly","s-dizzy","s-cubes","s-crown","s-cross","s-couch","s-coins","s-cloud","s-close","s-clone","s-clock","s-child","s-chess","s-check","s-chair","s-chain","s-burst","s-brush","s-broom","s-brain","s-boxes","s-blind","s-bible","s-bahai","s-bacon","s-award","s-atlas","s-aries","s-angry","r-vcard","r-truck","r-tired","r-smile","r-paste","r-lemon","r-laugh","r-image","r-house","r-heart","r-frown","r-dizzy","r-cloud","r-clone","r-clock","r-angry","b-zulip","b-zhihu","b-yoast","b-yahoo","b-whmcs","b-weibo","b-vuejs","b-vimeo","b-viber","b-venmo","b-unity","b-uikit","b-typo3","b-tidal","b-swift","b-steam","b-slack","b-skype","b-rebel","b-react","b-quora","b-pixiv","b-page4","b-orcid","b-opera","b-mixer","b-medrt","b-lumon","b-linux","b-ko-fi","b-julia","b-joget","b-ideal","b-html5","b-houzz","b-hooli","b-grunt","b-glide","b-gitee","b-figma","b-fedex","b-ember","b-brave","b-apple","b-apper","b-500px","s-wrench","s-wifi-3","s-weight","s-wallet","s-volume","s-vihara","s-upload","s-unlock","s-unlink","s-tv-alt","s-tshirt","s-trowel","s-trophy","s-toilet","s-ticket","s-taurus","s-tanakh","s-tablet","s-subway","s-stream","s-stairs","s-square","s-sprout","s-spiral","s-spider","s-sleigh","s-skiing","s-signal","s-shrimp","s-shower","s-shield","s-sheqel","s-shekel","s-shapes","s-server","s-search","s-scroll","s-school","s-rouble","s-rotate","s-rocket","s-ribbon","s-repeat","s-remove","s-random","s-qrcode","s-poll-h","s-pisces","s-person","s-pencil","s-pallet","s-notdef","s-neuter","s-museum","s-mosque","s-mobile","s-mitten","s-meteor","s-memory","s-medkit","s-marker","s-magnet","s-locust","s-laptop","s-khanda","s-italic","s-indent","s-images","s-hotdog","s-hiking","s-header","s-haykal","s-hammer","s-guitar","s-gemini","s-futbol","s-folder","s-filter","s-female","s-faucet","s-expand","s-eraser","s-equals","s-dragon","s-donate","s-dollar","s-divide","s-dedent","s-crutch","s-cookie","s-coffee","s-clover","s-circle","s-church","s-cheese","s-carrot","s-car-on","s-cancer","s-cancel","s-camera","s-burger","s-bucket","s-bridge","s-biking","s-arrows","s-anchor","s-adjust","r-square","r-images","r-futbol","r-folder","r-circle","r-camera","b-yandex","b-yammer","b-weixin","b-weebly","b-viadeo","b-vaadin","b-upwork","b-unison","b-ubuntu","b-twitch","b-tumblr","b-trello","b-tiktok","b-svelte","b-supple","b-stripe","b-strava","b-solana","b-sketch","b-sitrox","b-sellsy","b-scribd","b-schlix","b-safari","b-replyd","b-renren","b-redhat","b-reddit","b-readme","b-python","b-pushed","b-paypal","b-palfed","b-padlet","b-openid","b-openai","b-odysee","b-notion","b-nimblr","b-monero","b-mizuni","b-meetup","b-medium","b-maxcdn","b-linode","b-lastfm","b-korvue","b-keycdn","b-kaggle","b-joomla","b-itunes","b-hotjar","b-google","b-golang","b-gofore","b-gitter","b-gitlab","b-github","b-flickr","b-fedora","b-erlang","b-envira","b-empire","b-dyalog","b-drupal","b-docker","b-dochub","b-disqus","b-deezer","b-debian","b-cpanel","b-contao","b-cmplid","b-claude","b-chrome","b-centos","b-cc-jcb","b-buffer","b-aviato","b-amilia","b-amazon","b-alipay","b-airbnb","s-warning","s-walking","s-volcano","s-viruses","s-user-md","s-up-long","s-up-down","s-turn-up","s-trailer","s-tractor","s-tornado","s-toolbox","s-th-list","s-tablets","s-t-shirt","s-syringe","s-swimmer","s-stapler","s-splotch","s-spinner","s-sort-up","s-snowman","s-smoking","s-sliders","s-skating","s-sitemap","s-signing","s-sign-in","s-shuffle","s-section","s-sd-card","s-scorpio","s-sad-cry","s-running","s-retweet","s-reorder","s-refresh","s-recycle","s-receipt","s-rainbow","s-podcast","s-percent","s-pen-nib","s-pen-alt","s-parking","s-palette","s-outdent","s-oil-can","s-octagon","s-navicon","s-mug-hot","s-message","s-mercury","s-menorah","s-map-pin","s-list-ul","s-list-ol","s-id-card","s-icicles","s-hryvnia","s-hot-tub","s-home-lg","s-history","s-hexagon","s-headset","s-heading","s-hashtag","s-grimace","s-gopuram","s-glasses","s-gamepad","s-forward","s-flushed","s-feather","s-dungeon","s-droplet","s-display","s-disease","s-digging","s-dice-d6","s-diamond","s-desktop","s-cutlery","s-compass","s-comment","s-columns","s-caravan","s-car-alt","s-bus-alt","s-braille","s-blender","s-bicycle","s-battery","s-bathtub","s-barcode","s-bandage","s-archway","s-archive","r-sad-cry","r-message","r-id-card","r-grimace","r-flushed","r-compass","r-comment","b-youtube","b-wpressr","b-wpforms","b-windows","b-webflow","b-vimeo-v","b-viacoin","b-venmo-v","b-untappd","b-umbraco","b-twitter","b-threema","b-threads","b-themeco","b-symfony","b-stubber","b-spotify","b-speakap","b-sistrix","b-shopify","b-rockrms","b-rendact","b-ravelry","b-perbyte","b-patreon","b-pandora","b-node-js","b-napster","b-mintbit","b-medapps","b-magento","b-leanpub","b-laravel","b-keybase","b-jenkins","b-itch-io","b-ioxhost","b-hubspot","b-guilded","b-glide-g","b-git-alt","b-fulcrum","b-freebsd","b-forgejo","b-flutter","b-firefox","b-dropbox","b-discord","b-deskpro","b-d-and-d","b-codepen","b-cc-visa","b-cc-amex","b-bluesky","b-blogger","b-bitcoin","b-behance","b-avianex","b-audible","b-angular","b-android","b-algolia","s-yin-yang","s-yen-sign","s-won-sign","s-vote-yea","s-utensils","s-user-tie","s-user-tag","s-user-pen","s-user-cog","s-user-alt","s-unsorted","s-undo-alt","s-umbrella","s-timeline","s-th-large","s-terminal","s-teletype","s-sync-alt","s-surprise","s-suitcase","s-subtract","s-square-h","s-sort-asc","s-snowplow","s-sim-card","s-signal-5","s-sign-out","s-septagon","s-seedling","s-scissors","s-sailboat","s-sad-tear","s-restroom","s-redo-alt","s-question","s-portrait","s-poo-bolt","s-plane-up","s-pentagon","s-pen-clip","s-passport","s-panorama","s-oil-well","s-multiply","s-mountain","s-mosquito","s-monument","s-minimize","s-maximize","s-location","s-list-alt","s-list-1-2","s-level-up","s-language","s-landmark","s-kip-sign","s-keyboard","s-infinity","s-industry","s-id-badge","s-i-cursor","s-hospital","s-home-alt","s-heptagon","s-hat-hard","s-hard-hat","s-hanukiah","s-h-square","s-grin-alt","s-gas-pump","s-football","s-flag-usa","s-fire-alt","s-film-alt","s-file-pen","s-file-pdf","s-file-csv","s-file-alt","s-face-meh","s-exchange","s-ethernet","s-envelope","s-ellipsis","s-elevator","s-ear-deaf","s-dumpster","s-dumbbell","s-download","s-dice-two","s-dice-six","s-dice-one","s-dice-d20","s-democrat","s-deafness","s-database","s-crop-alt","s-computer","s-compress","s-comments","s-cocktail","s-circle-h","s-children","s-caret-up","s-car-side","s-car-rear","s-capsules","s-cannabis","s-calendar","s-bus-side","s-bullseye","s-bullhorn","s-building","s-box-open","s-bookmark","s-baseball","s-band-aid","s-bacteria","s-backward","s-asterisk","s-arrows-v","s-arrows-h","s-arrow-up","s-aquarius","s-angle-up","r-user-alt","r-surprise","r-sad-tear","r-list-alt","r-keyboard","r-id-badge","r-hospital","r-home-alt","r-grin-alt","r-file-pdf","r-file-alt","r-face-meh","r-envelope","r-comments","r-calendar","r-building","r-bookmark","b-whatsapp","b-ussunnah","b-unsplash","b-telegram","b-stripe-s","b-snapchat","b-skyatlas","b-shopware","b-shoelace","b-sellcast","b-scaleway","b-pixelfed","b-opensuse","b-opencart","b-obsidian","b-mixcloud","b-mendeley","b-megaport","b-medium-m","b-mastodon","b-markdown","b-linktree","b-linkedin","b-leetcode","b-jsfiddle","b-invision","b-intercom","b-instalod","b-innosoft","b-hornbill","b-hashnode","b-gripfire","b-gratipay","b-forumbee","b-facebook","b-evernote","b-ethereum","b-eleventy","b-duolingo","b-dribbble","b-diaspora","b-dashcube","b-css3-alt","b-codiepie","b-cash-app","b-bilibili","b-bandcamp","b-adversal","b-accusoft","b-42-group","s-wheat-awn","s-wheat-alt","s-warehouse","s-volume-up","s-voicemail","s-users-cog","s-user-plus","s-user-lock","s-user-gear","s-user-edit","s-underline","s-turn-down","s-tree-city","s-trash-can","s-trash-alt","s-trademark","s-toggle-on","s-thumbtack","s-thumbs-up","s-tasks-alt","s-synagogue","s-subscript","s-store-alt","s-stopwatch","s-star-half","s-spray-can","s-sort-down","s-sort-desc","s-snowflake","s-sliders-h","s-signature","s-shop-lock","s-share-alt","s-satellite","s-rod-snake","s-road-lock","s-reply-all","s-radiation","s-quidditch","s-pump-soap","s-power-off","s-poo-storm","s-pie-chart","s-phone-alt","s-peso-sign","s-pen-ruler","s-pen-fancy","s-paragraph","s-paperclip","s-not-equal","s-newspaper","s-mill-sign","s-microchip","s-meh-blank","s-mask-face","s-map-signs","s-mail-bulk","s-lock-open","s-list-dots","s-lira-sign","s-lightbulb","s-life-ring","s-less-than","s-left-long","s-lari-sign","s-kiwi-bird","s-kiss-beam","s-jar-wheat","s-ice-cream","s-hurricane","s-hourglass","s-home-user","s-helmet-un","s-heartbeat","s-handshake","s-handcuffs","s-hand-rock","s-hand-fist","s-hand-dots","s-hamburger","s-grin-wink","s-grin-beam","s-golf-ball","s-gauge-med","s-fish-fins","s-first-aid","s-fill-drip","s-file-word","s-file-text","s-file-edit","s-file-code","s-face-kiss","s-face-grin","s-eye-slash","s-explosion","s-euro-sign","s-down-long","s-door-open","s-dong-sign","s-dolly-box","s-dice-four","s-dice-five","s-diagnoses","s-dashboard","s-copyright","s-code-fork","s-cloud-sun","s-clipboard","s-circle-up","s-chart-pie","s-chart-bar","s-cent-sign","s-cedi-sign","s-cart-plus","s-car-crash","s-car-burst","s-capricorn","s-cable-car","s-bug-slash","s-briefcase","s-boxes-alt","s-bowl-rice","s-bowl-food","s-bore-hole","s-book-open","s-book-dead","s-biohazard","s-bed-pulse","s-battery-5","s-battery-4","s-battery-3","s-battery-2","s-battery-0","s-bar-chart","s-baht-sign","s-bacterium","s-backspace","s-apple-alt","s-angles-up","s-ambulance","s-allergies","r-trash-can","r-trash-alt","r-thumbs-up","r-star-half","r-snowflake","r-newspaper","r-meh-blank","r-lightbulb","r-life-ring","r-kiss-beam","r-hourglass","r-handshake","r-hand-rock","r-grin-wink","r-grin-beam","r-file-word","r-file-text","r-file-code","r-face-kiss","r-face-grin","r-eye-slash","r-copyright","r-clipboard","r-circle-up","r-chart-bar","r-bar-chart","b-x-twitter","b-wordpress","b-uncharted","b-themeisle","b-teamspeak","b-stackpath","b-square-js","b-screenpal","b-resolving","b-red-river","b-r-project","b-quinscape","b-pinterest","b-periscope","b-pagelines","b-microsoft","b-microblog","b-mailchimp","b-js-square","b-instagram","b-goodreads","b-gitkraken","b-gg-circle","b-fonticons","b-flipboard","b-fediverse","b-elementor","b-discourse","b-deploydog","b-delicious","b-dart-lang","b-cc-stripe","b-cc-paypal","b-bootstrap","b-bluetooth","b-blogger-b","b-black-tie","b-bitbucket","b-bimobject","b-atlassian","b-apple-pay","b-app-store","b-angellist","s-wine-glass","s-wheelchair","s-wand-magic","s-volume-off","s-volume-low","s-volleyball","s-vial-virus","s-venus-mars","s-users-rays","s-users-line","s-users-gear","s-user-xmark","s-user-times","s-user-slash","s-user-nurse","s-user-ninja","s-user-minus","s-user-large","s-user-group","s-user-clock","s-user-check","s-unlock-alt","s-university","s-truck-fast","s-train-tram","s-tower-cell","s-torii-gate","s-toggle-off","s-tint-slash","s-ticket-alt","s-thumb-tack","s-text-width","s-text-slash","s-tenge-sign","s-television","s-teeth-open","s-tachometer","s-tablet-alt","s-table-list","s-swatchbook","s-square-rss","s-square-pen","s-square-nfi","s-smile-wink","s-smile-beam","s-signs-post","s-shop-slash","s-shield-dog","s-shield-cat","s-shield-alt","s-sack-xmark","s-rupee-sign","s-ruble-sign","s-rss-square","s-right-long","s-right-left","s-republican","s-registered","s-quote-left","s-procedures","s-pound-sign","s-plus-minus","s-plant-wilt","s-plane-lock","s-piggy-bank","s-photo-film","s-phone-flip","s-percentage","s-pepper-hot","s-pencil-alt","s-pen-square","s-paintbrush","s-non-binary","s-naira-sign","s-mug-saucer","s-motorcycle","s-money-bill","s-mobile-alt","s-microscope","s-microphone","s-map-marker","s-map-marked","s-manat-sign","s-mail-reply","s-low-vision","s-list-check","s-link-slash","s-line-chart","s-level-down","s-left-right","s-laugh-wink","s-laugh-beam","s-house-user","s-house-lock","s-house-flag","s-house-fire","s-horse-head","s-helicopter","s-headphones","s-hat-wizard","s-hat-cowboy","s-hard-drive","s-hands-wash","s-hand-spock","s-hand-peace","s-hand-paper","s-grip-lines","s-grin-tears","s-grin-stars","s-globe-asia","s-genderless","s-gauge-high","s-frown-open","s-franc-sign","s-flask-vial","s-file-video","s-file-lines","s-file-image","s-file-excel","s-file-audio","s-face-tired","s-face-smile","s-face-laugh","s-face-frown","s-face-dizzy","s-face-angry","s-eyedropper","s-expand-alt","s-ellipsis-v","s-ellipsis-h","s-earth-asia","s-ear-listen","s-dot-circle","s-directions","s-dice-three","s-crosshairs","s-commenting","s-colon-sign","s-code-merge","s-cloud-rain","s-cloud-moon","s-cloud-bolt","s-clock-four","s-circle-dot","s-chevron-up","s-chess-rook","s-chess-pawn","s-chess-king","s-chart-line","s-chart-area","s-chalkboard","s-caret-left","s-caret-down","s-car-tunnel","s-candy-cane","s-campground","s-camera-alt","s-calculator","s-bus-simple","s-broom-ball","s-box-tissue","s-border-all","s-book-skull","s-book-quran","s-book-bible","s-book-atlas","s-blackboard","s-binoculars","s-bell-slash","s-basketball","s-automobile","s-arrows-alt","s-arrow-left","s-arrow-down","s-area-chart","s-angle-left","s-angle-down","s-align-left","r-user-large","r-smile-wink","r-smile-beam","r-registered","r-laugh-wink","r-laugh-beam","r-headphones","r-hard-drive","r-hand-spock","r-hand-peace","r-hand-paper","r-grin-tears","r-grin-stars","r-frown-open","r-file-video","r-file-lines","r-file-image","r-file-excel","r-file-audio","r-face-tired","r-face-smile","r-face-laugh","r-face-frown","r-face-dizzy","r-face-angry","r-dot-circle","r-commenting","r-clock-four","r-circle-dot","r-chess-rook","r-chess-pawn","r-chess-king","r-camera-alt","r-bell-slash","b-wpexplorer","b-wpbeginner","b-typescript","b-supportnow","b-staylinked","b-square-git","b-sourcetree","b-soundcloud","b-slideshare","b-slack-hash","b-salesforce","b-rocketchat","b-postgresql","b-pied-piper","b-nfc-symbol","b-lumon-drop","b-letterboxd","b-kubernetes","b-kakao-talk","b-jedi-order","b-hackerrank","b-google-pay","b-globaleaks","b-github-alt","b-git-square","b-get-pocket","b-foursquare","b-firstdraft","b-facebook-f","b-earlybirds","b-deviantart","b-cuttlefish","b-confluence","b-cloudsmith","b-cloudscale","b-cloudflare","b-chromecast","b-centercode","b-buysellads","b-blackberry","b-battle-net","b-asymmetrik","b-artstation","b-arch-linux","b-amazon-pay","s-wine-bottle","s-wifi-strong","s-web-awesome","s-wave-square","s-volume-mute","s-volume-high","s-volume-down","s-virus-slash","s-virus-covid","s-video-slash","s-van-shuttle","s-users-slash","s-user-shield","s-user-secret","s-user-doctor","s-user-circle","s-truck-plane","s-truck-front","s-truck-field","s-transgender","s-thumbs-down","s-thermometer","s-text-height","s-table-cells","s-superscript","s-stroopwafel","s-street-view","s-store-slash","s-stop-circle","s-sticky-note","s-stethoscope","s-staff-snake","s-square-plus","s-square-full","s-spell-check","s-solar-panel","s-soccer-ball","s-smoking-ban","s-sign-in-alt","s-shuttle-van","s-shoe-prints","s-sheqel-sign","s-shekel-sign","s-share-nodes","s-search-plus","s-screwdriver","s-school-lock","s-school-flag","s-sagittarius","s-sack-dollar","s-rupiah-sign","s-rotate-left","s-rotate-back","s-road-spikes","s-road-bridge","s-quote-right","s-plus-square","s-plus-circle","s-play-circle","s-plate-wheat","s-plane-slash","s-pizza-slice","s-photo-video","s-phone-slash","s-peseta-sign","s-person-rays","s-person-cane","s-people-roof","s-people-line","s-paper-plane","s-paint-brush","s-note-sticky","s-money-check","s-money-bills","s-mars-stroke","s-mars-double","s-lungs-virus","s-layer-group","s-laptop-file","s-laptop-code","s-kitchen-set","s-kit-medical","s-jet-fighter","s-institution","s-info-circle","s-id-card-alt","s-house-crack","s-hourglass-3","s-hourglass-2","s-hourglass-1","s-home-lg-alt","s-holly-berry","s-hockey-puck","s-highlighter","s-heart-pulse","s-heart-crack","s-hands-bound","s-hand-lizard","s-grin-tongue","s-grin-squint","s-grin-hearts","s-glass-water","s-futbol-ball","s-folder-tree","s-folder-plus","s-folder-open","s-florin-sign","s-floppy-disk","s-fist-raised","s-fire-burner","s-fingerprint","s-film-simple","s-file-zipper","s-file-upload","s-file-shield","s-file-import","s-file-export","s-fighter-jet","s-feather-alt","s-faucet-drip","s-eye-dropper","s-exclamation","s-door-closed","s-dollar-sign","s-desktop-alt","s-delete-left","s-crop-simple","s-credit-card","s-cookie-bite","s-comment-sms","s-comment-alt","s-code-commit","s-code-branch","s-circle-user","s-circle-stop","s-circle-plus","s-circle-play","s-circle-left","s-circle-info","s-circle-down","s-child-rifle","s-child-dress","s-chess-queen","s-chess-board","s-chart-gantt","s-chain-slash","s-certificate","s-caret-right","s-car-battery","s-building-un","s-bridge-lock","s-bread-slice","s-box-archive","s-border-none","s-book-tanakh","s-book-reader","s-battery-car","s-ban-smoking","s-arrows-spin","s-arrow-right","s-apple-whole","s-angles-left","s-angles-down","s-angle-right","s-anchor-lock","s-align-right","s-alarm-clock","r-user-circle","r-thumbs-down","r-stop-circle","r-sticky-note","r-square-plus","r-square-full","r-soccer-ball","r-plus-square","r-play-circle","r-paper-plane","r-note-sticky","r-hourglass-2","r-home-lg-alt","r-hand-lizard","r-grin-tongue","r-grin-squint","r-grin-hearts","r-futbol-ball","r-folder-open","r-floppy-disk","r-file-zipper","r-credit-card","r-comment-alt","r-circle-user","r-circle-stop","r-circle-play","r-circle-left","r-circle-down","r-chess-queen","r-alarm-clock","b-xing-square","b-wikipedia-w","b-web-awesome","b-uniregistry","b-ultralytics","b-tor-browser","b-think-peaks","b-superpowers","b-stumbleupon","b-squarespace","b-square-xing","b-simplybuilt","b-searchengin","b-reacteurope","b-playstation","b-pinterest-p","b-phabricator","b-nutritionix","b-mandalorian","b-linkedin-in","b-kickstarter","b-itunes-note","b-hacker-news","b-google-plus","b-google-play","b-goodreads-g","b-first-order","b-edge-legacy","b-dailymotion","b-cc-discover","b-buy-n-large","b-bluetooth-b","s-xmarks-lines","s-xmark-square","s-xmark-circle","s-window-close","s-weight-scale","s-water-ladder","s-vr-cardboard","s-volume-xmark","s-volume-times","s-video-camera","s-vest-patches","s-venus-double","s-user-injured","s-user-friends","s-turkish-lira","s-truck-pickup","s-truck-moving","s-train-subway","s-toilet-paper","s-times-square","s-times-circle","s-thunderstorm","s-tarp-droplet","s-table-tennis","s-stopwatch-20","s-step-forward","s-star-of-life","s-square-xmark","s-square-virus","s-square-phone","s-square-minus","s-square-check","s-snowboarding","s-sign-out-alt","s-sign-hanging","s-shopping-bag","s-shield-virus","s-shield-heart","s-shield-blank","s-share-square","s-search-minus","s-scroll-torah","s-rotate-right","s-road-barrier","s-rectangle-ad","s-record-vinyl","s-ranking-star","s-puzzle-piece","s-pump-medical","s-prescription","s-phone-volume","s-phone-square","s-person-rifle","s-person-dress","s-person-burst","s-person-booth","s-people-group","s-people-carry","s-pencil-ruler","s-pause-circle","s-paint-roller","s-object-group","s-mountain-sun","s-mosquito-net","s-mortar-board","s-money-bill-1","s-mobile-retro","s-mobile-phone","s-minus-square","s-minus-circle","s-map-location","s-mail-forward","s-luggage-cart","s-location-pin","s-location-dot","s-list-squares","s-list-numeric","s-level-up-alt","s-laugh-squint","s-laptop-house","s-landmark-alt","s-land-mine-on","s-ladder-water","s-indian-rupee","s-id-card-clip","s-hryvnia-sign","s-house-signal","s-house-laptop","s-house-damage","s-hospital-alt","s-heart-broken","s-hand-pointer","s-hand-holding","s-guarani-sign","s-greater-than","s-globe-europe","s-globe-africa","s-glass-cheers","s-gauge-simple","s-forward-step","s-forward-fast","s-font-awesome","s-folder-minus","s-folder-blank","s-file-medical","s-file-invoice","s-file-archive","s-fast-forward","s-face-sad-cry","s-face-grimace","s-face-flushed","s-exchange-alt","s-earth-europe","s-earth-africa","s-draw-polygon","s-diagram-next","s-dharmachakra","s-contact-card","s-contact-book","s-compress-alt","s-compact-disc","s-comment-dots","s-code-compare","s-cloud-upload","s-clapperboard","s-circle-xmark","s-circle-right","s-circle-pause","s-circle-notch","s-circle-nodes","s-circle-minus","s-circle-check","s-chevron-left","s-chevron-down","s-chess-knight","s-chess-bishop","s-check-square","s-check-double","s-check-circle","s-chart-simple","s-chart-column","s-chain-broken","s-cart-flatbed","s-camera-retro","s-calendar-day","s-calendar-alt","s-cake-candles","s-building-ngo","s-bridge-water","s-bowling-ball","s-bottle-water","s-border-style","s-book-medical","s-bitcoin-sign","s-bezier-curve","s-battery-half","s-battery-full","s-bag-shopping","s-austral-sign","s-arrows-alt-v","s-arrows-alt-h","s-arrow-up-z-a","s-arrow-up-a-z","s-arrow-up-9-1","s-arrow-up-1-9","s-angles-right","s-align-center","s-address-card","s-address-book","r-xmark-circle","r-window-close","r-times-circle","r-square-minus","r-square-check","r-share-square","r-pause-circle","r-object-group","r-money-bill-1","r-minus-square","r-laugh-squint","r-hospital-alt","r-hand-pointer","r-font-awesome","r-folder-blank","r-file-archive","r-face-sad-cry","r-face-grimace","r-face-flushed","r-contact-card","r-contact-book","r-comment-dots","r-circle-xmark","r-circle-right","r-circle-pause","r-circle-check","r-chess-knight","r-chess-bishop","r-check-square","r-check-circle","r-calendar-alt","r-address-card","r-address-book","b-y-combinator","b-vimeo-square","b-the-red-yeti","b-tailwind-css","b-symfonycasts","b-studiovinari","b-sticker-mule","b-steam-symbol","b-steam-square","b-square-vimeo","b-square-steam","b-square-figma","b-speaker-deck","b-shirtsinbulk","b-servicestack","b-researchgate","b-reddit-alien","b-raspberry-pi","b-product-hunt","b-old-republic","b-hugging-face","b-google-drive","b-fort-awesome","b-fonticons-fi","b-font-awesome","b-expeditedssl","b-cloudversify","b-circle-zulip","b-cc-apple-pay","b-autoprefixer","s-whiskey-glass","s-wand-sparkles","s-walkie-talkie","s-volume-medium","s-utensil-spoon","s-user-graduate","s-truck-monster","s-truck-medical","s-truck-loading","s-truck-droplet","s-trowel-bricks","s-trash-restore","s-traffic-light","s-ticket-simple","s-thermometer-4","s-thermometer-3","s-thermometer-2","s-thermometer-1","s-thermometer-0","s-theater-masks","s-temperature-4","s-temperature-3","s-temperature-2","s-temperature-1","s-temperature-0","s-tablet-button","s-table-columns","s-swimming-pool","s-strikethrough","s-sterling-sign","s-step-backward","s-star-of-david","s-star-half-alt","s-square-binary","s-space-shuttle","s-sort-alpha-up","s-skiing-nordic","s-sign-language","s-shuttle-space","s-shopping-cart","s-shipping-fast","s-shield-halved","s-sheet-plastic","s-search-dollar","s-rod-asclepius","s-remove-format","s-radiation-alt","s-praying-hands","s-plane-arrival","s-person-skiing","s-person-hiking","s-person-biking","s-people-arrows","s-pencil-square","s-pen-to-square","s-parachute-box","s-notes-medical","s-network-wired","s-mouse-pointer","s-mountain-city","s-mortar-pestle","s-mobile-screen","s-mobile-button","s-masks-theater","s-martini-glass","s-mars-stroke-v","s-mars-stroke-h","s-long-arrow-up","s-litecoin-sign","s-lines-leaning","s-landmark-flag","s-landmark-dome","s-jug-detergent","s-house-tsunami","s-house-medical","s-house-chimney","s-hourglass-end","s-hospital-wide","s-hospital-user","s-hexagon-nodes","s-helmet-safety","s-handshake-alt","s-hands-praying","s-hands-holding","s-hands-helping","s-hands-bubbles","s-hand-sparkles","s-hand-scissors","s-hand-point-up","s-grip-vertical","s-grid-vertical","s-golf-ball-tee","s-globe-oceania","s-glass-whiskey","s-glass-martini","s-funnel-dollar","s-football-ball","s-folder-closed","s-file-waveform","s-file-fragment","s-file-download","s-file-contract","s-file-arrow-up","s-fast-backward","s-face-surprise","s-face-sad-tear","s-external-link","s-envelope-open","s-earth-oceania","s-earth-america","s-dumpster-fire","s-drum-steelpan","s-droplet-slash","s-dolly-flatbed","s-cubes-stacked","s-cruzeiro-sign","s-comment-slash","s-comment-nodes","s-chevron-right","s-check-to-slot","s-chart-diagram","s-cash-register","s-cart-shopping","s-carriage-baby","s-camera-rotate","s-calendar-week","s-calendar-plus","s-calendar-days","s-business-time","s-building-user","s-building-lock","s-building-flag","s-boxes-stacked","s-boxes-packing","s-book-bookmark","s-blender-phone","s-birthday-cake","s-battery-empty","s-baseball-ball","s-bars-progress","s-balance-scale","s-backward-step","s-backward-fast","s-baby-carriage","s-arrows-to-eye","s-arrows-to-dot","s-arrows-rotate","s-arrow-up-long","s-arrow-turn-up","s-arrow-pointer","s-align-justify","s-air-freshener","r-star-half-alt","r-pen-to-square","r-hospital-wide","r-handshake-alt","r-hand-scissors","r-hand-point-up","r-folder-closed","r-face-surprise","r-face-sad-tear","r-envelope-open","r-calendar-plus","r-calendar-days","b-viadeo-square","b-unreal-engine","b-tumblr-square","b-tencent-weibo","b-square-viadeo","b-square-upwork","b-square-tumblr","b-square-reddit","b-square-lastfm","b-square-gitlab","b-square-github","b-space-awesome","b-reddit-square","b-pied-piper-pp","b-optin-monster","b-openstreetmap","b-odnoklassniki","b-lastfm-square","b-kickstarter-k","b-hire-a-helper","b-google-wallet","b-google-plus-g","b-gitlab-square","b-github-square","b-draft2digital","b-digital-ocean","b-critical-role","b-cotton-bureau","b-cc-mastercard","b-cc-amazon-pay","b-brave-reverse","b-app-store-ios","b-angrycreative","s-wine-glass-alt","s-window-restore","s-wheelchair-alt","s-weight-hanging","s-vector-polygon","s-user-astronaut","s-user-alt-slash","s-unlock-keyhole","s-umbrella-beach","s-truck-ramp-box","s-truck-field-un","s-trash-arrow-up","s-temperature-up","s-tachometer-alt","s-tablet-android","s-sun-plant-wilt","s-square-parking","s-sort-amount-up","s-sort-alpha-asc","s-signal-perfect","s-scale-balanced","s-satellite-dish","s-ruler-vertical","s-ruler-combined","s-rotate-forward","s-rectangle-list","s-quote-left-alt","s-person-walking","s-person-skating","s-person-shelter","s-person-running","s-person-praying","s-person-falling","s-person-digging","s-people-robbery","s-people-pulling","s-pastafarianism","s-object-ungroup","s-money-bill-alt","s-mobile-vibrate","s-mobile-android","s-microphone-alt","s-mars-stroke-up","s-mars-and-venus","s-map-marker-alt","s-map-marked-alt","s-mail-reply-all","s-location-arrow","s-level-down-alt","s-laptop-medical","s-journal-whills","s-jet-fighter-up","s-image-portrait","s-hourglass-half","s-hot-tub-person","s-hill-rockslide","s-hill-avalanche","s-headphones-alt","s-head-side-mask","s-hands-clapping","s-hand-back-fist","s-graduation-cap","s-globe-americas","s-flag-checkered","s-file-signature","s-file-clipboard","s-face-meh-blank","s-face-kiss-beam","s-face-grin-wink","s-face-grin-wide","s-face-grin-beam","s-eye-low-vision","s-envelopes-bulk","s-earth-americas","s-drumstick-bite","s-concierge-bell","s-computer-mouse","s-comment-dollar","s-cloud-sun-rain","s-cloud-meatball","s-cloud-download","s-cloud-arrow-up","s-clipboard-user","s-clipboard-list","s-clinic-medical","s-child-reaching","s-calendar-xmark","s-calendar-times","s-calendar-minus","s-calendar-check","s-building-wheat","s-bottle-droplet","s-bolt-lightning","s-bell-concierge","s-beer-mug-empty","s-bars-staggered","s-arrows-up-down","s-arrow-trend-up","s-arrow-down-z-a","s-arrow-down-a-z","s-arrow-down-9-1","s-arrow-down-1-9","r-window-restore","r-rectangle-list","r-object-ungroup","r-money-bill-alt","r-hourglass-half","r-headphones-alt","r-hand-back-fist","r-file-clipboard","r-face-meh-blank","r-face-kiss-beam","r-face-grin-wink","r-face-grin-wide","r-face-grin-beam","r-calendar-xmark","r-calendar-times","r-calendar-minus","r-calendar-check","b-youtube-square","b-twitter-square","b-telegram-plane","b-stack-overflow","b-stack-exchange","b-square-youtube","b-square-twitter","b-square-threads","b-square-deskpro","b-square-bluesky","b-square-behance","b-snapchat-ghost","b-pied-piper-hat","b-pied-piper-alt","b-octopus-deploy","b-google-scholar","b-free-code-camp","b-files-pinwheel","b-d-and-d-beyond","b-connectdevelop","b-cc-diners-club","b-behance-square","b-affiliatetheme","s-window-minimize","s-window-maximize","s-wheelchair-move","s-volleyball-ball","s-users-rectangle","s-transgender-alt","s-tower-broadcast","s-toilet-portable","s-times-rectangle","s-thumbtack-slash","s-temperature-low","s-tachometer-fast","s-store-alt-slash","s-square-up-right","s-square-root-alt","s-square-envelope","s-square-caret-up","s-sort-numeric-up","s-sort-amount-asc","s-sort-alpha-down","s-sort-alpha-desc","s-shopping-basket","s-search-location","s-rotate-backward","s-rectangle-xmark","s-rectangle-times","s-quote-right-alt","s-question-circle","s-project-diagram","s-plane-departure","s-person-swimming","s-person-pregnant","s-person-drowning","s-money-check-alt","s-money-bill-wave","s-mattress-pillow","s-mask-ventilator","s-long-arrow-left","s-long-arrow-down","s-less-than-equal","s-kiss-wink-heart","s-hourglass-start","s-hourglass-empty","s-hospital-symbol","s-head-side-virus","s-head-side-cough","s-hat-cowboy-side","s-hard-of-hearing","s-handshake-slash","s-handshake-angle","s-hand-point-left","s-hand-point-down","s-grip-horizontal","s-grin-beam-sweat","s-grid-horizontal","s-file-powerpoint","s-file-arrow-down","s-feather-pointed","s-face-smile-wink","s-face-smile-beam","s-face-laugh-wink","s-face-laugh-beam","s-face-grin-tears","s-face-grin-stars","s-face-frown-open","s-envelope-square","s-drivers-license","s-diagram-project","s-credit-card-alt","s-comments-dollar","s-comment-medical","s-cloud-moon-rain","s-clipboard-check","s-circle-question","s-circle-arrow-up","s-child-combatant","s-chalkboard-user","s-cart-arrow-down","s-caret-square-up","s-building-shield","s-broadcast-tower","s-briefcase-clock","s-border-top-left","s-battery-quarter","s-basketball-ball","s-basket-shopping","s-arrow-turn-down","s-arrow-left-long","s-arrow-down-long","s-arrow-circle-up","s-angle-double-up","r-window-minimize","r-window-maximize","r-times-rectangle","r-square-caret-up","r-rectangle-xmark","r-rectangle-times","r-question-circle","r-kiss-wink-heart","r-hourglass-empty","r-hand-point-left","r-hand-point-down","r-grin-beam-sweat","r-file-powerpoint","r-face-smile-wink","r-face-smile-beam","r-face-laugh-wink","r-face-laugh-beam","r-face-grin-tears","r-face-grin-stars","r-face-frown-open","r-drivers-license","r-credit-card-alt","r-circle-question","r-caret-square-up","b-wirsindhandwerk","b-whatsapp-square","b-ultralytics-hub","b-square-whatsapp","b-square-snapchat","b-square-linkedin","b-square-facebook","b-square-dribbble","b-snapchat-square","b-nfc-directional","b-galactic-senate","b-first-order-alt","b-firefox-browser","b-facebook-square","b-dribbble-square","b-board-game-geek","b-accessible-icon","s-wine-glass-empty","s-users-viewfinder","s-user-large-slash","s-universal-access","s-toilets-portable","s-toilet-paper-alt","s-thumb-tack-slash","s-thermometer-half","s-thermometer-full","s-tent-arrows-down","s-temperature-high","s-temperature-half","s-temperature-full","s-temperature-down","s-suitcase-rolling","s-suitcase-medical","s-star-half-stroke","s-sort-numeric-asc","s-sort-amount-down","s-sort-amount-desc","s-skull-crossbones","s-share-alt-square","s-scale-unbalanced","s-ruler-horizontal","s-right-to-bracket","s-plug-circle-plus","s-plug-circle-bolt","s-place-of-worship","s-phone-square-alt","s-person-harassing","s-people-carry-box","s-money-bill-wheat","s-microphone-slash","s-microphone-lines","s-meh-rolling-eyes","s-map-location-dot","s-magnifying-glass","s-long-arrow-right","s-handshake-simple","s-hand-point-right","s-hand-holding-usd","s-grin-tongue-wink","s-gauge-simple-med","s-file-medical-alt","s-file-half-dashed","s-file-circle-plus","s-face-grin-tongue","s-face-grin-squint","s-face-grin-hearts","s-drafting-compass","s-compass-drafting","s-cloud-upload-alt","s-cloud-arrow-down","s-circle-radiation","s-charging-station","s-building-columns","s-book-open-reader","s-asl-interpreting","s-arrows-to-circle","s-arrow-trend-down","s-arrow-right-long","r-star-half-stroke","r-meh-rolling-eyes","r-handshake-simple","r-hand-point-right","r-grin-tongue-wink","r-face-grin-tongue","r-face-grin-squint","r-face-grin-hearts","b-wordpress-simple","b-ultralytics-yolo","b-trade-federation","b-square-x-twitter","b-square-pinterest","b-square-instagram","b-signal-messenger","b-pinterest-square","b-phoenix-squadron","b-instagram-square","b-fort-awesome-alt","b-font-awesome-alt","b-creative-commons","b-buromobelexperte","s-virus-covid-slash","s-vial-circle-check","s-turkish-lira-sign","s-truck-arrow-right","s-trash-restore-alt","s-tower-observation","s-thermometer-empty","s-temperature-empty","s-table-cells-large","s-star-and-crescent","s-staff-aesculapius","s-square-phone-flip","s-square-caret-left","s-square-caret-down","s-sort-numeric-down","s-sort-numeric-desc","s-sort-alpha-up-alt","s-single-quote-left","s-share-from-square","s-road-circle-xmark","s-road-circle-check","s-plug-circle-xmark","s-plug-circle-minus","s-plug-circle-check","s-person-half-dress","s-person-chalkboard","s-money-bill-1-wave","s-mars-stroke-right","s-long-arrow-alt-up","s-location-pin-lock","s-indian-rupee-sign","s-house-flood-water","s-helicopter-symbol","s-heart-circle-plus","s-heart-circle-bolt","s-headphones-simple","s-hand-holding-hand","s-grin-squint-tears","s-glass-martini-alt","s-gauge-simple-high","s-font-awesome-flag","s-fire-flame-simple","s-fire-flame-curved","s-fire-extinguisher","s-file-prescription","s-file-circle-xmark","s-file-circle-minus","s-file-circle-check","s-face-rolling-eyes","s-face-laugh-squint","s-eye-dropper-empty","s-external-link-alt","s-expand-arrows-alt","s-ellipsis-vertical","s-diagram-successor","s-code-pull-request","s-closed-captioning","s-clock-rotate-left","s-circle-chevron-up","s-circle-arrow-left","s-circle-arrow-down","s-chevron-circle-up","s-champagne-glasses","s-caret-square-left","s-caret-square-down","s-briefcase-medical","s-baseball-bat-ball","s-audio-description","s-arrows-up-to-line","s-arrows-turn-right","s-arrows-left-right","s-arrow-rotate-left","s-arrow-rotate-back","s-arrow-left-rotate","s-arrow-circle-left","s-arrow-circle-down","s-angle-double-left","s-angle-double-down","r-square-caret-left","r-square-caret-down","r-share-from-square","r-headphones-simple","r-grin-squint-tears","r-font-awesome-flag","r-face-rolling-eyes","r-face-laugh-squint","r-closed-captioning","r-caret-square-left","r-caret-square-down","b-square-pied-piper","b-square-letterboxd","b-pied-piper-square","b-phoenix-framework","b-internet-explorer","b-galactic-republic","b-font-awesome-flag","s-up-down-left-right","s-trash-can-arrow-up","s-toilet-paper-slash","s-toilet-paper-blank","s-tachometer-average","s-tachograph-digital","s-square-share-nodes","s-square-caret-right","s-spray-can-sparkles","s-sort-amount-up-alt","s-single-quote-right","s-screwdriver-wrench","s-right-from-bracket","s-plane-circle-xmark","s-plane-circle-check","s-picture-in-picture","s-person-dress-burst","s-person-circle-plus","s-money-check-dollar","s-mobile-android-alt","s-house-medical-flag","s-house-circle-xmark","s-house-circle-check","s-house-chimney-user","s-hexagon-nodes-bolt","s-heart-circle-xmark","s-heart-circle-minus","s-heart-circle-check","s-hand-middle-finger","s-hand-holding-water","s-hand-holding-heart","s-grin-tongue-squint","s-greater-than-equal","s-exclamation-circle","s-envelope-open-text","s-digital-tachograph","s-diamond-turn-right","s-cloud-download-alt","s-clipboard-question","s-circle-half-stroke","s-circle-exclamation","s-circle-arrow-right","s-chalkboard-teacher","s-caret-square-right","s-balance-scale-left","s-arrow-rotate-right","s-arrow-right-rotate","s-arrow-down-up-lock","s-arrow-circle-right","s-angle-double-right","r-square-caret-right","r-grin-tongue-squint","r-caret-square-right","b-stumbleupon-circle","b-square-web-awesome","b-square-kickstarter","b-square-hacker-news","b-square-google-plus","b-hacker-news-square","b-google-plus-square","b-facebook-messenger","s-wand-magic-sparkles","s-users-between-lines","s-thermometer-quarter","s-temperature-quarter","s-tachometer-alt-fast","s-sort-numeric-up-alt","s-sort-alpha-down-alt","s-school-circle-xmark","s-school-circle-check","s-prescription-bottle","s-person-snowboarding","s-person-circle-xmark","s-person-circle-minus","s-person-circle-check","s-money-bill-wave-alt","s-money-bill-trend-up","s-money-bill-transfer","s-martini-glass-empty","s-magic-wand-sparkles","s-long-arrow-alt-left","s-long-arrow-alt-down","s-location-crosshairs","s-house-chimney-crack","s-handshake-alt-slash","s-hands-holding-child","s-hand-holding-dollar","s-group-arrows-rotate","s-grip-lines-vertical","s-glass-water-droplet","s-filter-circle-xmark","s-file-invoice-dollar","s-diagram-predecessor","s-compress-arrows-alt","s-cloud-showers-water","s-cloud-showers-heavy","s-circle-chevron-left","s-circle-chevron-down","s-chevron-circle-left","s-chevron-circle-down","s-bridge-circle-xmark","s-bridge-circle-check","s-brazilian-real-sign","s-book-journal-whills","s-balance-scale-right","s-arrows-turn-to-dots","s-arrows-down-to-line","s-arrow-up-wide-short","s-arrow-up-short-wide","s-arrow-up-right-dots","s-arrow-right-to-file","s-arrow-right-to-city","s-arrow-alt-circle-up","s-anchor-circle-xmark","s-anchor-circle-check","r-arrow-alt-circle-up","b-wolf-pack-battalion","b-watchman-monitoring","b-square-font-awesome","b-creative-commons-sa","b-creative-commons-pd","b-creative-commons-nd","b-creative-commons-nc","b-creative-commons-by","b-canadian-maple-leaf","s-volume-control-phone","s-up-right-from-square","s-triangle-exclamation","s-tent-arrow-turn-left","s-temperature-arrow-up","s-tablet-screen-button","s-table-cells-row-lock","s-square-root-variable","s-square-poll-vertical","s-sort-amount-down-alt","s-quidditch-broom-ball","s-person-skiing-nordic","s-person-falling-burst","s-person-breastfeeding","s-mobile-screen-button","s-microphone-alt-slash","s-martini-glass-citrus","s-mars-and-venus-burst","s-long-arrow-alt-right","s-house-chimney-window","s-hands-holding-circle","s-hand-holding-medical","s-hand-holding-droplet","s-filter-circle-dollar","s-file-circle-question","s-face-kiss-wink-heart","s-face-grin-beam-sweat","s-external-link-square","s-exclamation-triangle","s-circle-chevron-right","s-chevron-circle-right","s-arrow-rotate-forward","r-face-kiss-wink-heart","r-face-grin-beam-sweat","b-yandex-international","b-wizards-of-the-coast","b-square-odnoklassniki","b-odnoklassniki-square","b-fantasy-flight-games","s-tent-arrow-left-right","s-square-arrow-up-right","s-sort-numeric-down-alt","s-scale-unbalanced-flip","s-ping-pong-paddle-ball","s-person-through-window","s-person-military-rifle","s-person-dots-from-line","s-magnifying-glass-plus","s-house-chimney-medical","s-head-side-cough-slash","s-face-grin-tongue-wink","s-envelope-circle-check","s-circle-dollar-to-slot","s-cart-flatbed-suitcase","s-building-circle-xmark","s-building-circle-check","s-bangladeshi-taka-sign","s-arrows-down-to-people","s-arrow-up-from-bracket","s-arrow-rotate-backward","s-arrow-right-from-file","s-arrow-down-wide-short","s-arrow-down-short-wide","s-arrow-alt-circle-left","s-arrow-alt-circle-down","r-face-grin-tongue-wink","r-arrow-alt-circle-left","r-arrow-alt-circle-down","b-creative-commons-zero","s-triangle-circle-square","s-temperature-arrow-down","s-tachometer-alt-average","s-table-cells-row-unlock","s-square-poll-horizontal","s-square-person-confined","s-person-walking-luggage","s-person-circle-question","s-microphone-lines-slash","s-magnifying-glass-minus","s-magnifying-glass-chart","s-handshake-simple-slash","s-hands-asl-interpreting","s-font-awesome-logo-full","s-face-grin-squint-tears","s-battery-three-quarters","s-arrow-right-to-bracket","s-arrow-right-arrow-left","s-arrow-alt-circle-right","r-font-awesome-logo-full","r-face-grin-squint-tears","r-arrow-alt-circle-right","b-font-awesome-logo-full","b-creative-commons-share","b-creative-commons-remix","b-creative-commons-nc-jp","b-creative-commons-nc-eu","s-tent-arrow-down-to-line","s-table-cells-column-lock","s-road-circle-exclamation","s-prescription-bottle-alt","s-plug-circle-exclamation","s-magnifying-glass-dollar","s-heart-music-camera-bolt","s-file-circle-exclamation","s-face-grin-tongue-squint","s-closed-captioning-slash","r-face-grin-tongue-squint","b-creative-commons-pd-alt","s-table-tennis-paddle-ball","s-spaghetti-monster-flying","s-plane-circle-exclamation","s-person-walking-with-cane","s-person-military-pointing","s-people-arrows-left-right","s-house-circle-exclamation","s-heart-circle-exclamation","s-external-link-square-alt","s-arrows-split-up-and-left","s-arrow-up-from-water-pump","s-arrow-right-from-bracket","s-school-circle-exclamation","s-person-military-to-person","s-person-circle-exclamation","s-person-arrow-up-from-line","s-person-arrow-down-to-line","s-magnifying-glass-location","s-bridge-circle-exclamation","s-arrows-up-down-left-right","s-arrows-left-right-to-line","s-arrow-down-up-across-line","s-anchor-circle-exclamation","b-square-web-awesome-stroke","b-creative-commons-sampling","s-thermometer-three-quarters","s-temperature-three-quarters","s-person-walking-arrow-right","s-house-medical-circle-xmark","s-house-medical-circle-check","s-arrow-up-right-from-square","s-arrow-up-from-ground-water","b-square-font-awesome-stroke","s-prescription-bottle-medical","s-building-circle-exclamation","s-building-circle-arrow-right","s-assistive-listening-systems","s-wheat-awn-circle-exclamation","s-magnifying-glass-arrow-right","s-person-walking-arrow-loop-left","b-creative-commons-sampling-plus","s-house-medical-circle-exclamation","s-down-left-and-up-right-to-center","s-up-right-and-down-left-from-center","s-american-sign-language-interpreting","s-house-flood-water-circle-arrow-right","s-person-walking-dashed-line-arrow-right","s-hands-american-sign-language-interpreting"]}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/icons-legacy-CLUsfzcg.js b/editor/neo-ppt/assets/icons-legacy-CLUsfzcg.js new file mode 100644 index 0000000..b72470d --- /dev/null +++ b/editor/neo-ppt/assets/icons-legacy-CLUsfzcg.js @@ -0,0 +1 @@ +System.register([],function(a,l){return{setters:[],execute:function(){a("t",{prefix:"",lastModified:1785760180,icons:JSON.parse('{"a_Kimi":{"body":""},"a-likedislike":{"body":""},"Add":{"body":""},"Add_img":{"body":""},"Add_new":{"body":""},"AddConversation":{"body":""},"Addfolder":{"body":""},"AllSelected":{"body":""},"Alpha":{"body":""},"Alphalab":{"body":""},"Android":{"body":""},"Animation":{"body":""},"announcement":{"body":""},"Apple_f":{"body":""},"archive":{"body":""},"Archive_b":{"body":""},"Artifact":{"body":""},"At":{"body":""},"At1":{"body":""},"Bad":{"body":""},"Ban":{"body":""},"Battery":{"body":""},"Bold":{"body":""},"Bottom":{"body":""},"BottomAlign":{"body":""},"Box":{"body":""},"Browse":{"body":""},"Browser":{"body":""},"Browser_b":{"body":""},"brush":{"body":""},"business":{"body":""},"BusinessCard":{"body":""},"Camera":{"body":""},"Camera_f":{"body":""},"Catalog":{"body":""},"CenterAlign":{"body":""},"CenterVertically":{"body":""},"Change":{"body":""},"Change_b":{"body":""},"Check":{"body":""},"Check_b_cl":{"body":""},"Check_b_f":{"body":""},"Check_f":{"body":""},"CheckboxEmpty":{"body":""},"CheckboxIn":{"body":""},"CirclePlus":{"body":""},"CirclePlus_f":{"body":""},"ClearHistory":{"body":""},"Clip":{"body":""},"Clock":{"body":""},"Close":{"body":""},"Close_f":{"body":""},"Close_img":{"body":""},"close_new":{"body":""},"CloseIconIn_f":{"body":""},"Code":{"body":""},"Code1":{"body":""},"Collapse":{"body":""},"Collect":{"body":""},"Collect_f":{"body":""},"Colorless":{"body":""},"ColorPalette":{"body":""},"ColorPicker":{"body":""},"Comment":{"body":""},"CommentPlus":{"body":""},"complete":{"body":""},"connectors":{"body":""},"Copy":{"body":""},"CreateSubagent":{"body":""},"Creativity":{"body":""},"Cropping":{"body":""},"CropRotation":{"body":""},"Css":{"body":""},"DarkMode":{"body":""},"Dashboard":{"body":""},"Data":{"body":""},"Delete":{"body":""},"Deregister":{"body":""},"Desktop":{"body":""},"Diagnosis":{"body":""},"Diagram":{"body":""},"Discover_new":{"body":""},"Dislike":{"body":""},"Dislike_b":{"body":""},"Dislike_f":{"body":""},"DocDone":{"body":""},"Document":{"body":""},"Document_b":{"body":""},"Document_f1":{"body":""},"Dot":{"body":""},"Down":{"body":""},"Down_b":{"body":""},"Download":{"body":""},"Draw_selected":{"body":""},"Draw_Unselected":{"body":""},"duoxuan":{"body":""},"Edit":{"body":""},"Enter":{"body":""},"env":{"body":""},"equal":{"body":""},"Eraser":{"body":""},"error":{"body":""},"Excel":{"body":""},"Exclamation":{"body":""},"Exclamation_cl":{"body":""},"Exclamation_f":{"body":""},"Expand":{"body":""},"ExpandRight":{"body":""},"File_f":{"body":""},"FileAudio_dark":{"body":""},"FileAudio_light":{"body":""},"FileCode_dark":{"body":""},"FileCode_light":{"body":""},"FileCode_s_cl":{"body":""},"FileCSV_dark":{"body":""},"FileCSV_light":{"body":""},"FileEPUB_dark":{"body":""},"FileEPUB_light":{"body":""},"FileExcel_dark":{"body":""},"FileExcel_light":{"body":""},"FileFloderClose_dark":{"body":""},"FileFolder_dark":{"body":""},"FileFolder_light":{"body":""},"FileFolderClose_light":{"body":""},"FileHTML_dark":{"body":""},"FileHTML_light":{"body":""},"Fileicon":{"body":""},"FileImage_dark":{"body":""},"FileImage_light":{"body":""},"FileJSON_dark":{"body":""},"FileJSON_light":{"body":""},"FileLoading_dark":{"body":""},"FileLoading_light":{"body":""},"FileMD_dark":{"body":""},"FileMD_light":{"body":""},"FileOther_dark":{"body":""},"FileOther_light":{"body":""},"FilePDF_dark":{"body":""},"FilePDF_light":{"body":""},"FilePPT_dark":{"body":""},"FilePPT_light":{"body":""},"FileSkill_dark":{"body":""},"FileSkill_light":{"body":""},"FileTXT_dark":{"body":""},"FileTXT_light":{"body":""},"FileURL_dark":{"body":""},"FileURL_light":{"body":""},"FileVideo_dark":{"body":""},"FileVideo_light":{"body":""},"FileVisual_dark":{"body":""},"FileVisual_light":{"body":""},"FileWord_dark":{"body":""},"FileWord_light":{"body":""},"FitScreen":{"body":""},"Flatten":{"body":""},"Flip":{"body":""},"Flip_b":{"body":""},"Folder":{"body":""},"FolderOpen":{"body":""},"FoldLeft":{"body":""},"FollowSystem":{"body":""},"Font":{"body":""},"football":{"body":""},"FullAccess":{"body":""},"FullScreen":{"body":""},"Gift":{"body":""},"git":{"body":""},"goal":{"body":""},"GoBack":{"body":""},"GoBack_Number":{"body":""},"Hand":{"body":""},"Histogram":{"body":""},"Histogram1":{"body":""},"History":{"body":""},"html":{"body":""},"Icon":{"body":""},"Image":{"body":""},"Image_f":{"body":""},"ImageCreate":{"body":""},"ImageCreate_f":{"body":""},"ImageFailed":{"body":""},"Info":{"body":""},"InternetOff_b":{"body":""},"InternetOn":{"body":""},"IntervalSpace":{"body":""},"Italic":{"body":""},"JoinGroup":{"body":""},"JS":{"body":""},"Justify":{"body":""},"k15":{"body":""},"k15_b":{"body":""},"Keyboard":{"body":""},"Keyboard_new":{"body":""},"KforKimi_f":{"body":""},"kimi":{"body":""},"Kimiclaw":{"body":""},"Kimilogo":{"body":""},"KimiOld":{"body":""},"Knowledge":{"body":""},"Koder":{"body":""},"lab":{"body":""},"Laptop":{"body":""},"Layer":{"body":""},"Left":{"body":""},"Left_b":{"body":""},"left_c":{"body":""},"LeftAlign":{"body":""},"LeftBar":{"body":""},"LeftRight":{"body":""},"LeftRight_b":{"body":""},"LightMode":{"body":""},"Like":{"body":""},"Like_b":{"body":""},"Like_b_f":{"body":""},"Like_f":{"body":""},"Line":{"body":""},"Linechart":{"body":""},"LineSpace":{"body":""},"Link":{"body":""},"List":{"body":""},"LoadingRight":{"body":""},"Local":{"body":""},"Locate":{"body":""},"Lock_f":{"body":""},"LowerLeft":{"body":""},"LowerRight":{"body":""},"Mac_Dark":{"body":""},"Magnify":{"body":""},"Management":{"body":""},"MathFormula":{"body":""},"MCP":{"body":""},"Memory":{"body":""},"Message":{"body":""},"Microscope":{"body":""},"Microscope1":{"body":""},"Minify":{"body":""},"minus":{"body":""},"Mobile":{"body":""},"MobileDestopAdopt":{"body":""},"model":{"body":""},"More":{"body":""},"More_b":{"body":""},"Mosaic":{"body":""},"Move":{"body":""},"MoveDown":{"body":""},"MoveForward":{"body":""},"MoveUp":{"body":""},"MultiSelected":{"body":""},"music":{"body":""},"Next":{"body":""},"Nofolder":{"body":""},"Normal":{"body":""},"Notification":{"body":""},"Notification_f1":{"body":""},"OKCompuer":{"body":""},"okcomputer":{"body":""},"ONCircleClose_f":{"body":""},"Ordered":{"body":""},"Ordered_b":{"body":""},"Ordered1":{"body":""},"Output":{"body":""},"Pages":{"body":""},"PageStyle":{"body":""},"pause":{"body":""},"Pause_b":{"body":""},"pause_f":{"body":""},"Pdf":{"body":""},"Pencil":{"body":""},"Phone_f":{"body":""},"Phone2_f":{"body":""},"PhoneCall":{"body":""},"PhoneCall_f":{"body":""},"PhoneHangUp_f":{"body":""},"Pin":{"body":""},"Pin_f":{"body":""},"PinToTop":{"body":""},"PinToTop_f":{"body":""},"Play":{"body":""},"play_f":{"body":""},"plus":{"body":""},"PopupClosed":{"body":""},"Post":{"body":""},"Post_f":{"body":""},"Power":{"body":""},"PPT":{"body":""},"Previous":{"body":""},"Prism":{"body":""},"Profile":{"body":""},"ProSearch":{"body":""},"Publish":{"body":""},"PublishPost":{"body":""},"QQ_cl":{"body":""},"question":{"body":""},"Qzone_cl":{"body":""},"Random":{"body":""},"React":{"body":""},"Recognize":{"body":""},"RecordVoice":{"body":""},"Redbook_cl":{"body":""},"Redo":{"body":""},"redpacket":{"body":""},"Refresh":{"body":""},"Refresh_b":{"body":""},"Refresh_f":{"body":""},"Refresh_fw":{"body":""},"Remove":{"body":""},"Replace":{"body":""},"Review":{"body":""},"Right":{"body":""},"Right_b":{"body":""},"Right_c":{"body":""},"RightAlign":{"body":""},"RightBar":{"body":""},"Safe_01":{"body":""},"Save":{"body":""},"Scan":{"body":""},"Scan_darkpic":{"body":""},"Scan_lightpic":{"body":""},"ScanMath":{"body":""},"ScanMath_f":{"body":""},"Screenshot":{"body":""},"Search":{"body":""},"Select":{"body":""},"Send":{"body":""},"Send_b":{"body":""},"Send_f":{"body":""},"Send_f_new":{"body":""},"send_new":{"body":""},"Setting":{"body":""},"Shape":{"body":""},"Share_a":{"body":""},"Share_b":{"body":""},"Shell":{"body":""},"SignIn":{"body":""},"SignOut":{"body":""},"skill":{"body":""},"Smile":{"body":""},"Smile1":{"body":""},"Sounds":{"body":""},"Sounds_f":{"body":""},"stop":{"body":""},"Stop_f":{"body":""},"Stop_f_new":{"body":""},"stop_new":{"body":""},"StrikeThrough":{"body":""},"Stroke":{"body":""},"Style":{"body":""},"Switch":{"body":""},"TabDiscover":{"body":""},"TabDiscover_f":{"body":""},"TabKimi":{"body":""},"TabKimi_f":{"body":""},"TabMe":{"body":""},"TabMe_f":{"body":""},"TabStroke":{"body":""},"TabStroke_b":{"body":""},"Tabular":{"body":""},"Tag":{"body":""},"Target":{"body":""},"TaskSubagent":{"body":""},"TaskSubAgentOff":{"body":""},"Text":{"body":""},"TextSelect":{"body":""},"TodoList":{"body":""},"TopAlign":{"body":""},"TopUp":{"body":""},"Translate":{"body":""},"Translate_f":{"body":""},"Unbrowse":{"body":""},"Underline":{"body":""},"Undo":{"body":""},"UnpinFromTop":{"body":""},"Up":{"body":""},"Up_b":{"body":""},"Up_c":{"body":""},"Up_c1":{"body":""},"Update":{"body":""},"UpDown":{"body":""},"UpDown_b":{"body":""},"Upload":{"body":""},"UploadFile":{"body":""},"UploadWechat":{"body":""},"UpperLeft":{"body":""},"UpperRight":{"body":""},"video":{"body":""},"ViewAll":{"body":""},"VoiceIn":{"body":""},"voicein_new":{"body":""},"VolOff":{"body":""},"VolOn":{"body":""},"VolOn_f":{"body":""},"Warning":{"body":""},"Watermark":{"body":""},"WebBridge":{"body":""},"WebsiteUrl":{"body":""},"Wechat_b_cl":{"body":""},"Wechat_c_fw":{"body":""},"Wechat_cl":{"body":""},"Weibo_cl":{"body":""},"Windows_Light":{"body":""},"WordSpace":{"body":""},"WrapText":{"body":""},"Write":{"body":""},"Write_f":{"body":""},"xml":{"body":""}}'),width:1024,height:1024})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/iconsCN-C64KN7mA.js b/editor/neo-ppt/assets/iconsCN-C64KN7mA.js new file mode 100644 index 0000000..2ed3c01 --- /dev/null +++ b/editor/neo-ppt/assets/iconsCN-C64KN7mA.js @@ -0,0 +1 @@ +import{n as e}from"./rolldown-runtime-DWdDZTNf.js";var t=e({faIconsCN:()=>n}),n=[`Z`,`Y`,`X`,`W`,`V`,`U`,`T`,`S`,`R`,`Q`,`P`,`O`,`N`,`M`,`L`,`K`,`J`,`I`,`H`,`G`,`F`,`E`,`D`,`C`,`B`,`A`,`9`,`8`,`7`,`6`,`5`,`4`,`3`,`2`,`1`,`0`,`电视`,`星期四`,`欧姆`,`在`,`广告`,`VK`,`QQ`,`JavaScript`,`GG`,`闪电`,`日元`,`韩元`,`美元`,`电传打字机`,`里拉`,`标签`,`太阳`,`水疗`,`短信`,`地毯`,`卢布`,`订阅`,`人民币`,`便便`,`笔`,`爪子`,`无语`,`地图`,,`韩元`,`钥匙`,`日元`,`罐子`,`卢比`,`谢克尔`,`硬盘`,`枪`,`宝石`,`英镑`,`传真`,`风扇`,`眼`,`欧元`,`鸡蛋`,`狗`,`基因`,`剪切`,`牛`,`齿轮`,`人民币`,`猫`,`车`,`出租车`,`公交`,`虫`,`盒`,`床`,`禁用`,`加`,`太阳`,`无语`,`地图`,,`宝石`,`眼`,`Wsh`,`Wix`,`W3C`,`VNV`,,`USB`,`UPS`,`TeX`,`Rev`,`Pix`,`PHP`,`OSI`,`NS8`,`NPM`,`Mix`,`MDB`,`JXL`,`Git`,`Fly`,`DHL`,`Dev`,`CSS`,`比特币`,,`AWS`,`ADN`,`虫`,`风`,`无线`,`小瓶`,`背心`,`用户`,`撤销`,`树`,`电车`,`色调`,`帐篷`,`出租`,`防水布`,`胶带`,`标签`,`同步`,`停止`,`星`,`排序`,`肥皂`,`烟雾`,`水槽`,`标志`,`商店`,`船`,`保存`,`道路`,`戒指`,`重做`,`祈祷`,`便便`,`投票`,`加`,`插头`,`播放`,`月`,`口罩`,`火星`,`男`,`锁`,`列表`,`链接`,`叶`,`飞吻`,`绝地`,`信息`,`主页,家`,`手`,`握把`,`咧笑`,`礼物`,`齿轮`,`青蛙`,`字体`,`旗`,`鱼`,`火`,`胶片`,`填充`,`文件`,`订阅`,`欧元`,`编辑`,`鼓`,`鸽子`,`骰子`,`聋`,`立方`,`乌鸦`,`裁剪`,`复制`,`齿轮组`,`代码`,`城市`,`蛋糕`,`燃烧`,`虫子`,`书`,`水烟筒`,`骨头`,`炸弹`,`闪电`,`粗体`,`博客`,`铃`,`啤酒`,`浴缸`,`菜单`,`银行`,`婴儿`,`原子`,`安卡`,`用户`,`星`,`保存`,`月`,`飞吻`,`主页,家`,`手`,`咧笑`,`旗`,`文件`,`编辑`,`复制`,`铃`,,`Yelp`,`Yarn`,,`Xing`,`Xbox`,`Wodu`,`Waze`,`VSCO`,`Vine`,`USPS`,`Uber`,`SUSE`,`Sith`,`Sass`,`Rust`,`Node.js`,`Neos`,`MODX`,`Meta`,`Lyft`,`Line`,`Less`,`Jira`,`Java`,`IMDb`,`Hive`,`Hips`,`Gulp`,`Grav`,`Etsy`,`Ello`,`Edge`,`eBay`,`Digg`,`CSS3`,`Bots`,`Bity`,`11ty`,`叉`,`X光`,`水`,`病毒`,,`视频`,`小瓶组`,`金星`,`名片`,`保险库`,`用户群`,`卡车`,`删除`,`火车`,`托拉`,`牙`,`工具`,`困`,`叉`,`帐篷组`,`坚戈`,`牙齿`,`任务`,`表格`,`商店`,`邮票`,`勺子`,`袜子`,`微笑`,`斜线`,`骷髅`,`衬衫`,`分享`,`卢比`,`尺`,`卢布`,`路线`,`机器人`,`回复`,`收音机`,`古兰经`,`打印`,`飞机`,`药片`,`电话`,`和平`,`暂停`,`粘贴`,`寻呼机`,`水獭`,`音乐`,`鼠标`,`土丘`,`减`,`勋章`,`魔法`,`肺`,,`柠檬`,`法律`,`大笑`,`克尔白`,`关节`,`收件箱`,`图片`,`冰屋`,`图标`,`房屋`,`酒店`,`马`,`河马`,`心`,`手组`,`哈姆萨`,`地球`,`礼物组`,`鬼`,`齿轮组`,`法槌`,`仪表`,`皱眉`,`烧瓶`,`渡轮`,`弹出`,`地球`,`手推车`,`晕眩`,`立方`,`皇冠`,`十字`,`沙发`,`硬币`,`云`,`关`,`克隆`,`时钟`,`儿童`,`国际象棋`,`勾`,`椅子`,`链条`,`爆炸`,`画笔`,`扫帚`,`大脑`,`盒子组`,`盲人`,`圣经`,`巴哈伊`,`培根`,`奖章`,`地图集`,,`生气`,`名片`,`卡车`,`困`,`微笑`,`粘贴`,`柠檬`,`大笑`,`图片`,`房屋`,`心`,`皱眉`,`晕眩`,`云`,`克隆`,`时钟`,`生气`,,`知乎`,,,,`微博`,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,`苹果`,,,`扳手`,`无线`,`重量`,`钱包`,,`佛寺`,`上传`,`解锁`,`断链`,`电视替代`,`T恤`,`铲子`,`奖杯`,`厕所`,`票`,,`塔纳赫`,`平板`,`地铁`,`流`,`楼梯`,`方`,`幼苗`,`螺旋`,`蜘蛛`,`雪橇`,`滑雪`,`信号`,`虾`,`淋浴`,`盾`,`谢克尔`,`谢克尔`,`形状`,`服务器`,`搜索`,`卷轴`,`学校`,`卢布`,`旋转`,`火箭`,`丝带`,`重复`,`移除`,`随机`,`二维码`,`投票水平`,,`人物`,`铅笔`,`调色板`,`未定义`,`中性`,`博物馆`,`清真寺`,`手机`,`手套`,`流星`,`内存`,`急救包`,`标记`,`磁铁`,`蝗虫`,`笔记本`,`坎达`,`斜体`,`缩进`,`图片`,`热狗`,`徒步`,`标题`,`海卡尔`,`锤`,`吉他`,,`足球`,`文件夹`,`筛选`,`女`,`水龙头`,`最大化`,`橡皮`,`等于`,`龙`,`捐赠`,`美元`,`除`,`减少缩进`,`拐杖`,`饼干`,`咖啡`,`三叶草`,`圆`,`教堂`,`奶酪`,`胡萝卜`,`车`,,`取消`,`相机`,`汉堡`,`桶`,`桥`,`骑行`,`箭头`,`锚`,`调整`,`方`,`图片`,`足球`,`文件夹`,`圆`,`相机`,,,`微信`,,,,,,,,,,`抖音`,,,,,,,,,,,,,,,`红迪`,,,,`贝宝`,,,,,,,,,,,,,,,,,,,,,`谷歌`,,,,,,,,,,,,,,,,,,,,,,,,`CC`,,,,`亚马逊`,`支付宝`,,`警告`,`步行`,`火山`,`病毒组`,`用户`,`长上箭`,`上下箭`,`上`,`拖车`,`拖拉机`,`龙卷风`,`工具箱`,`列表`,`平板组`,`T恤`,`注射器`,`游泳者`,`订书机`,`污点`,`旋转器`,`上排序`,`雪人`,`吸烟`,`滑块`,`滑冰`,`结构`,`签名`,`登录`,`随机`,`章节`,`卡`,,`难过`,`跑步`,`转发`,`重排序`,`刷新`,`回收`,`收据`,`彩虹`,`播客`,`百分号`,`笔`,`笔`,`停车`,`调色板`,`减少缩进`,`油罐`,`八边`,`导航图标`,`热杯`,`消息`,`水星`,`九枝烛台`,`地图`,`列表`,`列表`,`卡`,`冰柱`,`格里夫纳`,`热水浴缸`,`主页,家`,`历史`,`六边`,`耳机`,`标题`,`井号`,`怪脸`,`高普拉姆`,`眼镜`,`游戏手柄`,`前前进`,`脸红`,`羽毛`,`地牢`,`水滴`,`显示器`,`疾病`,`挖掘`,`骰子`,`菱形`,`电脑`,`餐具`,`罗盘`,`评论`,`列`,`大篷车`,`车`,`公交`,`盲文`,`搅拌机`,`单车`,`电池`,`浴缸`,`条码`,`绷带`,`拱门`,`存档`,`难过`,`消息`,`卡`,`怪脸`,`脸红`,`罗盘`,`评论`,`油管`,,,,,,,,,,`推特`,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,`CC`,`CC`,,,`比特币`,,,,,`安卓`,,`阴阳`,`日元`,`韩元`,`投票赞成`,`餐具`,`用户`,`用户`,`用户`,`用户`,`用户`,`未排序`,`撤销替代`,`雨伞`,`时间线`,`大`,`终端`,`电传打字机`,`同步`,`惊讶`,`行李箱`,`减`,`方`,`排序`,`扫雪机`,`卡`,`信号`,`登出`,`七边`,`幼苗`,`剪刀`,,`难过`,,,`问号`,,`闪电`,`上飞机`,,`笔`,`护照`,,,,,,,,,`定位`,`列表`,`列表`,`上`,,,,,,,`工牌`,,`医院`,`主页,家`,,`帽子`,`帽子`,,`方`,`咧笑`,,,`旗`,`火`,`胶片`,`PEN文件`,`PDF文件`,`CSV文件`,`文件`,`无语`,,,`邮件`,`省略`,,,,,`下载`,`骰子`,`骰子`,`骰子`,`骰子`,,,`数据库`,`裁剪`,,`最小化`,`评论`,,`圆`,`儿童`,`上尖角`,`车`,`车`,,,`日历`,`公交`,,,`建筑`,`开盒`,`书签`,,,`细菌`,`后退`,,,,`上箭头`,,`上角`,`用户`,`惊讶`,`难过`,`列表`,,`工牌`,`医院`,`主页,家`,`咧笑`,`PDF文件`,`文件`,`无语`,`邮件`,`评论`,`日历`,`建筑`,`书签`,`瓦信`,,,`电报`,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,`脸书`,,,,,,,,,,,`哔哩`,,,,,,,,`上音量`,,`用户群`,`用户`,`用户`,`用户`,`用户`,,`下`,`树`,`删除`,`删除`,,`切换`,,`点赞`,,,,`商店`,`秒表`,`星`,,`下排序`,`排序`,`雪花`,`滑块`,`签名`,`商店`,`分享`,`卫星`,,`锁`,`回复`,,,,`电源`,,`图表`,`电话`,,`笔`,`笔`,,`回形针`,,`新闻`,,`芯片`,`无语`,`口罩`,`地图`,,`锁`,`列表`,`里拉`,`灯泡`,`戒指`,,`长左箭`,,,`飞吻`,,,,`沙漏`,`主页,家`,,,`握手`,,`手`,`手`,`手`,,`眨笑`,`咧笑`,,`仪表`,,,,`Word文件`,`文本文件`,`EDIT文件`,`代码文件`,`飞吻脸`,`咧笑脸`,`眼斜线`,,`欧元`,`长下箭`,,,`手推车`,`骰子`,`骰子`,,,,`代码`,`云`,`剪贴板`,`上圆`,`图表`,`图表`,,,`购物车`,`车`,`车`,,`车`,`虫斜线`,,,,,,`书`,`书`,`生化`,`床`,`电池`,`电池`,`电池`,`电池`,`电池`,`图表`,,,,,`上`,,,`删除`,`删除`,`点赞`,`星`,`雪花`,`新闻`,`无语`,`灯泡`,`戒指`,`飞吻`,`沙漏`,`握手`,`手`,`眨笑`,`咧笑`,`Word文件`,`文本文件`,`代码文件`,`飞吻脸`,`咧笑脸`,`眼斜线`,,`剪贴板`,`上圆`,`图表`,`图表`,`推特`,,,,,,,,,,,,,,,`微软`,,,,,,,,,,,,,,,,,`贝宝`,,,,,,,,`苹果`,,,`酒杯`,`轮椅`,,`音量`,`音量`,,`小瓶`,`金星`,`用户群`,`用户群`,`用户群`,`用户`,`用户`,`用户斜线`,`用户`,`用户`,`用户`,`用户大`,`用户`,`用户`,`用户`,`解锁`,`大学`,`卡车`,`火车`,,,`切换`,`斜线`,,,,`斜线`,,,`牙齿`,`转速表`,`平板`,`表格`,,`订阅方`,`笔方`,`方`,`微笑`,`微笑`,`路牌`,`商店斜线`,`盾`,`盾`,`盾`,`叉`,`卢比`,`卢布`,`订阅方`,`长右箭`,`左右箭`,,,`左引号`,,`英镑`,`加`,,`飞机`,,`胶片`,`电话`,`百分号`,,`铅笔`,`笔方`,,,,,`摩托`,`纸币`,`手机`,`显微镜`,`麦克风`,`地图`,`地图`,,`回复`,,`列表`,`链接斜线`,`图表`,`下`,`左右`,`大笑`,`大笑`,`房屋`,`房屋`,`房屋`,`房屋`,,,`耳机`,`帽子`,`帽子`,,,`手`,`手`,`手`,,`咧笑`,`咧笑`,`地球`,,`仪表`,`皱眉`,,`烧瓶`,`视频文件`,`文本文件`,`图片文件`,`Excel文件`,`音频文件`,`困脸`,`笑脸`,`大笑`,`皱眉`,`表情`,`生气`,`滴管`,`最大化`,`省略`,`省略`,`地球`,,`圆`,,`骰子`,,,,`代码`,`云`,`云`,`云`,`时钟`,`圆`,`上山形`,,,,`图表`,`图表`,,`左尖角`,`下尖角`,`车`,,,`相机`,,`公交`,`扫帚`,`盒`,,`书`,`书`,`书`,`书`,,,`铃斜线`,,,,`左箭头`,`下箭头`,`图表`,`左角`,`下角`,`左`,`用户大`,`微笑`,`微笑`,,`大笑`,`大笑`,`耳机`,,`手`,`手`,`手`,`咧笑`,`咧笑`,`皱眉`,`视频文件`,`文本文件`,`图片文件`,`Excel文件`,`音频文件`,`困脸`,`笑脸`,`大笑`,`皱眉`,`表情`,`生气`,`圆`,,`时钟`,`圆`,,,,`相机`,`铃斜线`,,,,,,,,,,,,,,,,,,,,,,`谷歌`,,,,,,,`脸书`,,,,,,,,,,,,,,,,`亚马逊`,`酒瓶`,`无线`,`图标`,`方`,`音量`,`音量`,`下音量`,`病毒斜线`,`病毒`,`视频斜线`,`厢车`,`用户群斜线`,`用户盾`,`用户`,`用户`,`用户圆`,`卡车`,`卡车`,`卡车`,`跨性`,`点踩`,`温度计`,,`表格`,,,,`商店斜线`,`停止圆`,,`听诊器`,,`加方`,`方`,`勾`,,,`禁用`,,`厢车`,,,`谢克尔`,`分享`,`搜索`,`螺丝刀`,`学校`,`学校`,,`美元`,,`左旋转`,`后旋转`,,,`右引号`,`加方`,`加圆`,`播放圆`,,`飞机斜线`,,`视频`,`电话斜线`,,`人物`,`人物`,`人群`,`人群`,`飞机`,`画笔`,`便签`,`支票`,`钱`,`火星`,`火星`,`病毒`,,`笔记本`,`笔记本`,,,,,`信息圆`,`卡`,`房屋`,`沙漏`,`沙漏`,`沙漏`,`主页,家`,,,,`心`,`心`,,`手`,`咧笑`,`眯笑`,`咧笑`,`水杯`,,`文件夹`,`文件夹`,`打开文件夹`,,,,`火`,,`胶片`,`文件`,`文件`,`文件盾`,`文件`,`文件`,,,,`眼`,`叹号`,,`美元`,`电脑`,`左`,`裁剪`,`信用卡`,,`评论`,`评论`,`代码`,`代码`,`用户圆`,`停止圆`,`加圆`,`播放圆`,`左圆`,`信息圆`,`下圆`,`儿童`,`儿童`,,,`图表`,`斜线`,,`右尖角`,`车`,`建筑`,`锁`,,`存档盒`,,`书`,`书`,`电池`,`禁用`,,`右箭头`,,`左`,`下`,`右角`,`锚`,`右`,`时钟`,`用户圆`,`点踩`,`停止圆`,,`加方`,`方`,,`加方`,`播放圆`,`飞机`,`便签`,`沙漏`,`主页,家`,`手`,`咧笑`,`眯笑`,`咧笑`,,`打开文件夹`,,`文件`,`信用卡`,`评论`,`用户圆`,`停止圆`,`播放圆`,`左圆`,`下圆`,,`时钟`,,,,,,,,,,,,,,,,,,,,,,,,`谷歌`,`谷歌`,,,,,`CC`,,,,`叉方`,`叉圆`,`关`,,`水`,,`音量`,`音量`,`视频`,,`金星`,`用户`,`用户`,`里拉`,`卡车`,`卡车`,`火车`,`厕所`,`叉方`,`叉圆`,,`水滴`,`表格`,`秒表`,`前步进`,`星`,`叉方`,`病毒方`,`电话方`,`减方`,`勾方`,,,`招牌`,`购物袋`,`防疫`,`心盾`,`盾`,`分享方`,`搜索`,,`右旋转`,,`矩形`,`录制`,`星`,`拼图`,,,`电话`,`电话方`,`人物`,`人物`,`人物`,`人物`,`人群`,`人群`,`铅笔`,`暂停圆`,,,`太阳`,,,`纸币一`,`手机`,`手机`,`减方`,`减圆`,`地图`,`前前进`,`购物车`,`定位`,`定位`,`列表`,`列表`,`上`,`大笑`,`笔记本`,,,`水`,`卢比`,`卡`,,`房屋`,`房屋`,`房屋`,`医院`,`心`,`手`,`手`,,,`地球`,`地球`,,`仪表`,`前前进`,`前前进`,`字体`,`文件夹`,`文件夹`,`文件`,`文件`,`文件`,`前快进`,`哭脸`,`表情`,`表情`,,`地球`,`地球`,,`流程`,,`卡`,`书`,`最小化`,,`评论`,`代码`,`云`,,`叉圆`,`右圆`,`暂停圆`,`加载`,`圆`,`减圆`,`勾圆`,`左山形`,`下山形`,,,`勾方`,`勾`,`勾圆`,`图表`,`图表`,,`购物车`,`相机`,`日历`,`日历`,`蛋糕`,`建筑`,`水`,,`瓶`,,`书`,`比特币`,,`电量中`,`电量满`,`购物袋`,,,,`上箭头`,`上箭头`,`上箭头`,`上箭头`,`右`,,`卡`,`书`,`叉圆`,`关`,`叉圆`,`减方`,`勾方`,`分享方`,`暂停圆`,,`纸币一`,`减方`,`大笑`,`医院`,`手`,`字体`,`文件夹`,`文件`,`哭脸`,`表情`,`表情`,`卡`,`书`,`评论`,`叉圆`,`右圆`,`暂停圆`,`勾圆`,,,`勾方`,`勾圆`,`日历`,`卡`,`书`,,,,,,,,,,,,,,,,,`红迪`,,,,,`谷歌`,,,,,,,`苹果`,,,,,,,`用户`,`卡车`,`卡车`,`卡车`,`卡车`,,`删除`,,,`温度计`,`温度计`,`温度计`,`温度计`,`温度计`,,`温度`,`温度`,`温度`,`温度`,`温度`,`平板`,`表格`,,,,`步进`,`星`,`星`,`方`,,`上排序`,,,,`购物车`,`快进`,`半盾`,,`美元`,,,,,`飞机`,`人物`,`人物`,`骑行`,`人群`,`铅笔方`,`笔方`,`盒`,,,`鼠标`,,,`手机`,`手机`,,`鸡尾杯`,`火星`,`火星`,`上箭头`,,,`旗`,,,`房屋`,`医疗屋`,`房屋`,`沙漏`,`医院`,`医院`,`六边`,,`握手`,,`合手`,`援助`,`洗手`,`手`,`手`,`手指上`,`竖`,`竖网格`,,`地球`,,,`美元`,,`文件夹`,`文件`,`文件`,`文件`,`文件`,`上文件`,`快进`,`惊讶脸`,`泪脸`,`链接`,`邮件`,`地球`,`地球`,`火`,,`水滴斜线`,`手推车`,`立方`,,`评论斜线`,`评论`,`右山形`,`勾`,`图表`,,`购物车`,`婴儿`,`相机`,`日历`,`日历`,`日历`,,`建筑`,`建筑`,`建筑`,,,`书`,`电话`,`蛋糕`,`电池`,,`菜单`,,`后退`,`后退`,`婴儿`,`眼`,,`刷新`,`上箭头`,`上箭头`,`箭头`,,,`星`,`笔方`,`医院`,`握手`,`手`,`手指上`,`文件夹`,`惊讶脸`,`泪脸`,`邮件`,`日历`,`日历`,,,,`微博`,,,,`红迪`,,,,,`红迪`,,,,,,,,`谷歌`,`谷歌`,,,,,,,`CC`,`亚马逊`,,,,`酒杯`,,`轮椅`,,,`用户`,`用户斜线`,`解锁`,,`卡车`,`卡车`,`上删除`,`上温度`,`转速表`,`平板`,`太阳`,`方`,`上排序`,`排序`,`信号`,,`卫星`,`竖尺`,`尺`,`前旋转`,`矩形`,`左引号`,`行走`,`人物`,`人物`,`奔跑`,`人物`,`人物`,`人物`,`人群`,`人群`,,,`纸币`,`手机`,`手机`,`麦克风`,`火星`,`火星`,`地图`,`地图`,`回复`,`定位`,`下`,`笔记本`,,`上`,`图片`,`沙漏`,`人物`,,,`耳机`,`口罩`,`鼓掌`,`拳头`,,`地球`,`旗`,`文件`,`文件`,`无语脸`,`飞吻脸`,`眨笑`,`咧笑脸`,`咧笑脸`,`眼`,,`地球`,,`铃`,`鼠标`,`美元`,`云`,`云`,`云`,`上云`,`剪贴板`,`剪贴板`,,`儿童`,`日历`,`日历`,`日历`,`日历`,`建筑`,`瓶`,`闪电`,`铃`,,`菜单`,`上下箭`,`上箭头`,`下箭头`,`下箭头`,`下箭头`,`下箭头`,,`矩形`,,`纸币`,`沙漏`,`耳机`,`拳头`,`文件`,`无语脸`,`飞吻脸`,`眨笑`,`咧笑脸`,`咧笑脸`,`日历`,`日历`,`日历`,`日历`,`油管`,`推特`,`电报`,,,`油管`,`推特`,,,,,,,,,`谷歌`,,,,,`CC`,,,,,`轮椅`,,`用户群矩形`,`跨性`,,`厕所`,`叉矩形`,`斜线`,`温度`,`转速表`,`商店斜线`,`外链`,`方`,`邮件方`,`尖角方`,`上排序`,`排序`,`下排序`,`排序`,`购物篮`,`搜索`,`旋转`,`矩形`,`矩形`,`右引号`,`问号圆`,`项目`,`飞机`,`人物`,`人物`,`人物`,`支票`,`纸币波`,,`口罩`,`左箭头`,`下箭头`,,`飞吻`,`沙漏`,`沙漏`,`医院`,`病毒`,,`帽子`,,`握手斜线`,`握手`,`手指左`,`手指下`,`横`,`咧笑`,`横网格`,`PPT文件`,`下文件`,,`眨笑脸`,`微笑脸`,`眨笑`,`大笑`,`笑哭`,`咧笑`,`皱眉`,`邮件方`,,`流程`,`信用卡`,`美元`,`评论`,`云`,`剪贴板`,`问号圆`,`箭头圆`,`儿童`,`用户`,`下购物车`,`上尖角方`,`建筑盾`,,`时钟`,`上左`,`电量低`,,`购物篮`,`下箭头`,`左箭头`,`下箭头`,`上箭头`,`上角`,,,`叉矩形`,`尖角方`,`矩形`,`矩形`,`问号圆`,`飞吻`,`沙漏`,`手指左`,`手指下`,`咧笑`,`PPT文件`,`眨笑脸`,`微笑脸`,`眨笑`,`大笑`,`笑哭`,`咧笑`,`皱眉`,,`信用卡`,`问号圆`,`上尖角方`,,`瓦信`,,`瓦信`,,,`脸书`,,,,,,,`脸书`,,,,`酒杯`,`用户群`,`用户大`,,,`厕所`,`斜线`,`温度计`,`温度计`,`下`,`温度`,`温度`,`温度`,`下温度`,,,`星`,`排序`,`下排序`,`排序`,,`分享方`,,`横尺`,`入框`,`圆`,`圆`,,`电话方`,`人物`,`人群`,`钱`,`麦克风斜线`,`麦克风`,`无语`,`地图`,`搜索`,`右箭头`,`握手`,`手指右`,`美元`,`眨笑`,`仪表`,`文件`,`HALF文件`,`文件圆`,`吐舌笑`,`眯笑`,`爱心笑`,`罗盘`,`罗盘`,`云`,`下云`,`圆`,`充电`,`建筑`,`书`,,`入圆`,`下箭头`,`右箭头`,`星`,`无语`,`握手`,`手指右`,`眨笑`,`吐舌笑`,`眯笑`,`爱心笑`,,,,`推特`,,,,,,,,,,,`病毒斜线`,`小瓶圆`,`里拉`,`右卡车`,`删除`,,`温度计`,`温度`,`表格大`,`星`,,`电话方`,`尖角方`,`尖角方`,`下排序`,`排序`,`上排序`,`左`,`分享方`,`圆`,`圆`,`圆`,`圆`,`圆`,`人物`,`人物`,`纸币一波`,`火星`,`上箭头`,`定位`,`卢比`,`房屋`,,`心圆`,`心圆`,`耳机`,`手`,`眯笑`,,`仪表`,`字体`,`火`,`火`,`火`,`文件`,`文件圆`,`文件圆`,`文件圆`,`表情`,`眯笑`,`眼`,`链接`,,`竖省略`,`流程`,`代码`,,`左时钟`,`山形圆`,`箭头圆`,`箭头圆`,`上山形圆`,,`左尖角方`,`下尖角方`,,,,`上`,`右`,`左右箭`,`左旋转`,`后箭头`,`左箭头`,`左箭头`,`下箭头`,`左角`,`下角`,`尖角方`,`尖角方`,`分享方`,`耳机`,`眯笑`,`字体`,`表情`,`眯笑`,,`左尖角方`,`下尖角方`,,,,,,,,`上下左右`,`上删除`,`厕所斜线`,`厕所`,`转速表`,,`分享方`,`尖角方`,,`上排序`,`右`,`螺丝刀`,`出框`,`飞机圆`,`飞机圆`,,`人物`,`人物圆`,`美元支票`,`手机`,`房屋`,`房屋圆`,`房屋圆`,`房屋`,`六边`,`心圆`,`心圆`,`心圆`,`手`,`手`,`托心`,`眯笑`,,`叹号圆`,`邮件`,,`菱形`,`云`,`剪贴板`,`圆`,`警告`,`箭头圆`,,`右尖角方`,`左`,`右旋转`,`右箭头`,`下上箭头`,`右箭头`,`右角`,`尖角方`,`眯笑`,`右尖角方`,,,,,`谷歌`,,`谷歌`,`脸书`,,`用户群`,`温度计`,`温度`,`转速表`,`上排序`,`下排序`,`学校圆`,`学校圆`,`瓶`,`人物`,`人物圆`,`人物圆`,`人物圆`,`纸币波`,`上钱`,`钱`,`鸡尾杯`,,`左箭头`,`下箭头`,`定位`,`房屋`,`握手斜线`,`抱童`,`托钱`,`旋转`,`竖`,`饮水`,`筛选圆`,`美元`,`流程`,,`云`,`云`,`山形圆`,`山形圆`,`左山形圆`,`下山形圆`,`圆`,`圆`,,`书`,`右`,,`下`,`上箭头`,`上箭头`,`上右箭头`,`右箭头`,`右箭头`,`上箭头`,`锚圆`,`锚圆`,`上箭头`,,,,,,,,,,`音量`,`上右方`,`警告`,`左箭头`,`上温度`,`平板`,`表格`,`方`,`方`,`下排序`,`扫帚`,`人物`,`人物`,`人物`,`手机`,`麦克风斜线`,`柠檬杯`,`火星`,`右箭头`,`房屋`,`圆`,`手`,`手`,`美元`,`文件圆`,`飞吻心`,`咧笑`,`链接方`,`警告`,`山形圆`,`右山形圆`,`前箭头`,`飞吻心`,`咧笑`,,,,,,`左右箭头`,`箭头方`,`下排序`,,,`人物`,`人物`,`人物`,`放大镜加`,`房屋`,`斜线`,`眨舌笑`,`邮件圆`,`美元`,`购物车`,`建筑圆`,`建筑圆`,,`下人群`,`上箭头`,`箭头`,`右箭头`,`下箭头`,`下箭头`,`左箭头`,`下箭头`,`眨舌笑`,`左箭头`,`下箭头`,,`圆三角`,`下温度`,`转速表`,`表格`,`方`,`人物方`,`人物`,`人物圆`,`麦克风斜线`,`放大镜减`,`搜索`,`握手斜线`,,`字体`,`眯笑`,`电量高`,`右入框`,`右左箭头`,`右箭头`,`字体`,`眯笑`,`右箭头`,,,,,,`下箭头`,`表格`,`圆`,`瓶`,`圆`,`美元`,`心`,`文件圆`,`眯舌笑`,,`眯舌笑`,,`表格`,,`飞机圆`,`人物`,`人物`,`左右人群`,`房屋圆`,`心圆`,`链接方`,`上左`,`上箭头`,`右出框`,`学校圆`,`人物`,`人物圆`,`上人物`,`下人物`,`搜索`,`圆`,`四向箭`,`左右`,`下上箭头`,`锚圆`,,,`温度计`,`温度`,`右人物`,`房屋圆`,`房屋圆`,`外链`,`上箭头`,,`瓶`,`建筑圆`,`右建筑圆`,,`圆`,`搜索`,`左人物`,,`房屋圆`,`缩小`,`放大`,`手语`,`右房屋圆`,`右人物`,`手语`];export{t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/iconsCN-legacy-aiH8C06X.js b/editor/neo-ppt/assets/iconsCN-legacy-aiH8C06X.js new file mode 100644 index 0000000..13398ec --- /dev/null +++ b/editor/neo-ppt/assets/iconsCN-legacy-aiH8C06X.js @@ -0,0 +1 @@ +System.register(["./rolldown-runtime-legacy-C7CQ20b7.js"],function(e,t){var S,i;return{setters:[function(e){S=e.n}],execute:function(){e("t",S({faIconsCN:()=>i})),i=["Z","Y","X","W","V","U","T","S","R","Q","P","O","N","M","L","K","J","I","H","G","F","E","D","C","B","A","9","8","7","6","5","4","3","2","1","0","电视","星期四","欧姆","在","广告","VK","QQ","JavaScript","GG","闪电","日元","韩元","美元","电传打字机","里拉","标签","太阳","水疗","短信","地毯","卢布","订阅","人民币","便便","笔","爪子","无语","地图",,"韩元","钥匙","日元","罐子","卢比","谢克尔","硬盘","枪","宝石","英镑","传真","风扇","眼","欧元","鸡蛋","狗","基因","剪切","牛","齿轮","人民币","猫","车","出租车","公交","虫","盒","床","禁用","加","太阳","无语","地图",,"宝石","眼","Wsh","Wix","W3C","VNV",,"USB","UPS","TeX","Rev","Pix","PHP","OSI","NS8","NPM","Mix","MDB","JXL","Git","Fly","DHL","Dev","CSS","比特币",,"AWS","ADN","虫","风","无线","小瓶","背心","用户","撤销","树","电车","色调","帐篷","出租","防水布","胶带","标签","同步","停止","星","排序","肥皂","烟雾","水槽","标志","商店","船","保存","道路","戒指","重做","祈祷","便便","投票","加","插头","播放","月","口罩","火星","男","锁","列表","链接","叶","飞吻","绝地","信息","主页,家","手","握把","咧笑","礼物","齿轮","青蛙","字体","旗","鱼","火","胶片","填充","文件","订阅","欧元","编辑","鼓","鸽子","骰子","聋","立方","乌鸦","裁剪","复制","齿轮组","代码","城市","蛋糕","燃烧","虫子","书","水烟筒","骨头","炸弹","闪电","粗体","博客","铃","啤酒","浴缸","菜单","银行","婴儿","原子","安卡","用户","星","保存","月","飞吻","主页,家","手","咧笑","旗","文件","编辑","复制","铃",,"Yelp","Yarn",,"Xing","Xbox","Wodu","Waze","VSCO","Vine","USPS","Uber","SUSE","Sith","Sass","Rust","Node.js","Neos","MODX","Meta","Lyft","Line","Less","Jira","Java","IMDb","Hive","Hips","Gulp","Grav","Etsy","Ello","Edge","eBay","Digg","CSS3","Bots","Bity","11ty","叉","X光","水","病毒",,"视频","小瓶组","金星","名片","保险库","用户群","卡车","删除","火车","托拉","牙","工具","困","叉","帐篷组","坚戈","牙齿","任务","表格","商店","邮票","勺子","袜子","微笑","斜线","骷髅","衬衫","分享","卢比","尺","卢布","路线","机器人","回复","收音机","古兰经","打印","飞机","药片","电话","和平","暂停","粘贴","寻呼机","水獭","音乐","鼠标","土丘","减","勋章","魔法","肺",,"柠檬","法律","大笑","克尔白","关节","收件箱","图片","冰屋","图标","房屋","酒店","马","河马","心","手组","哈姆萨","地球","礼物组","鬼","齿轮组","法槌","仪表","皱眉","烧瓶","渡轮","弹出","地球","手推车","晕眩","立方","皇冠","十字","沙发","硬币","云","关","克隆","时钟","儿童","国际象棋","勾","椅子","链条","爆炸","画笔","扫帚","大脑","盒子组","盲人","圣经","巴哈伊","培根","奖章","地图集",,"生气","名片","卡车","困","微笑","粘贴","柠檬","大笑","图片","房屋","心","皱眉","晕眩","云","克隆","时钟","生气",,"知乎",,,,"微博",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"苹果",,,"扳手","无线","重量","钱包",,"佛寺","上传","解锁","断链","电视替代","T恤","铲子","奖杯","厕所","票",,"塔纳赫","平板","地铁","流","楼梯","方","幼苗","螺旋","蜘蛛","雪橇","滑雪","信号","虾","淋浴","盾","谢克尔","谢克尔","形状","服务器","搜索","卷轴","学校","卢布","旋转","火箭","丝带","重复","移除","随机","二维码","投票水平",,"人物","铅笔","调色板","未定义","中性","博物馆","清真寺","手机","手套","流星","内存","急救包","标记","磁铁","蝗虫","笔记本","坎达","斜体","缩进","图片","热狗","徒步","标题","海卡尔","锤","吉他",,"足球","文件夹","筛选","女","水龙头","最大化","橡皮","等于","龙","捐赠","美元","除","减少缩进","拐杖","饼干","咖啡","三叶草","圆","教堂","奶酪","胡萝卜","车",,"取消","相机","汉堡","桶","桥","骑行","箭头","锚","调整","方","图片","足球","文件夹","圆","相机",,,"微信",,,,,,,,,,"抖音",,,,,,,,,,,,,,,"红迪",,,,"贝宝",,,,,,,,,,,,,,,,,,,,,"谷歌",,,,,,,,,,,,,,,,,,,,,,,,"CC",,,,"亚马逊","支付宝",,"警告","步行","火山","病毒组","用户","长上箭","上下箭","上","拖车","拖拉机","龙卷风","工具箱","列表","平板组","T恤","注射器","游泳者","订书机","污点","旋转器","上排序","雪人","吸烟","滑块","滑冰","结构","签名","登录","随机","章节","卡",,"难过","跑步","转发","重排序","刷新","回收","收据","彩虹","播客","百分号","笔","笔","停车","调色板","减少缩进","油罐","八边","导航图标","热杯","消息","水星","九枝烛台","地图","列表","列表","卡","冰柱","格里夫纳","热水浴缸","主页,家","历史","六边","耳机","标题","井号","怪脸","高普拉姆","眼镜","游戏手柄","前前进","脸红","羽毛","地牢","水滴","显示器","疾病","挖掘","骰子","菱形","电脑","餐具","罗盘","评论","列","大篷车","车","公交","盲文","搅拌机","单车","电池","浴缸","条码","绷带","拱门","存档","难过","消息","卡","怪脸","脸红","罗盘","评论","油管",,,,,,,,,,"推特",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"CC","CC",,,"比特币",,,,,"安卓",,"阴阳","日元","韩元","投票赞成","餐具","用户","用户","用户","用户","用户","未排序","撤销替代","雨伞","时间线","大","终端","电传打字机","同步","惊讶","行李箱","减","方","排序","扫雪机","卡","信号","登出","七边","幼苗","剪刀",,"难过",,,"问号",,"闪电","上飞机",,"笔","护照",,,,,,,,,"定位","列表","列表","上",,,,,,,"工牌",,"医院","主页,家",,"帽子","帽子",,"方","咧笑",,,"旗","火","胶片","PEN文件","PDF文件","CSV文件","文件","无语",,,"邮件","省略",,,,,"下载","骰子","骰子","骰子","骰子",,,"数据库","裁剪",,"最小化","评论",,"圆","儿童","上尖角","车","车",,,"日历","公交",,,"建筑","开盒","书签",,,"细菌","后退",,,,"上箭头",,"上角","用户","惊讶","难过","列表",,"工牌","医院","主页,家","咧笑","PDF文件","文件","无语","邮件","评论","日历","建筑","书签","瓦信",,,"电报",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"脸书",,,,,,,,,,,"哔哩",,,,,,,,"上音量",,"用户群","用户","用户","用户","用户",,"下","树","删除","删除",,"切换",,"点赞",,,,"商店","秒表","星",,"下排序","排序","雪花","滑块","签名","商店","分享","卫星",,"锁","回复",,,,"电源",,"图表","电话",,"笔","笔",,"回形针",,"新闻",,"芯片","无语","口罩","地图",,"锁","列表","里拉","灯泡","戒指",,"长左箭",,,"飞吻",,,,"沙漏","主页,家",,,"握手",,"手","手","手",,"眨笑","咧笑",,"仪表",,,,"Word文件","文本文件","EDIT文件","代码文件","飞吻脸","咧笑脸","眼斜线",,"欧元","长下箭",,,"手推车","骰子","骰子",,,,"代码","云","剪贴板","上圆","图表","图表",,,"购物车","车","车",,"车","虫斜线",,,,,,"书","书","生化","床","电池","电池","电池","电池","电池","图表",,,,,"上",,,"删除","删除","点赞","星","雪花","新闻","无语","灯泡","戒指","飞吻","沙漏","握手","手","眨笑","咧笑","Word文件","文本文件","代码文件","飞吻脸","咧笑脸","眼斜线",,"剪贴板","上圆","图表","图表","推特",,,,,,,,,,,,,,,"微软",,,,,,,,,,,,,,,,,"贝宝",,,,,,,,"苹果",,,"酒杯","轮椅",,"音量","音量",,"小瓶","金星","用户群","用户群","用户群","用户","用户","用户斜线","用户","用户","用户","用户大","用户","用户","用户","解锁","大学","卡车","火车",,,"切换","斜线",,,,"斜线",,,"牙齿","转速表","平板","表格",,"订阅方","笔方","方","微笑","微笑","路牌","商店斜线","盾","盾","盾","叉","卢比","卢布","订阅方","长右箭","左右箭",,,"左引号",,"英镑","加",,"飞机",,"胶片","电话","百分号",,"铅笔","笔方",,,,,"摩托","纸币","手机","显微镜","麦克风","地图","地图",,"回复",,"列表","链接斜线","图表","下","左右","大笑","大笑","房屋","房屋","房屋","房屋",,,"耳机","帽子","帽子",,,"手","手","手",,"咧笑","咧笑","地球",,"仪表","皱眉",,"烧瓶","视频文件","文本文件","图片文件","Excel文件","音频文件","困脸","笑脸","大笑","皱眉","表情","生气","滴管","最大化","省略","省略","地球",,"圆",,"骰子",,,,"代码","云","云","云","时钟","圆","上山形",,,,"图表","图表",,"左尖角","下尖角","车",,,"相机",,"公交","扫帚","盒",,"书","书","书","书",,,"铃斜线",,,,"左箭头","下箭头","图表","左角","下角","左","用户大","微笑","微笑",,"大笑","大笑","耳机",,"手","手","手","咧笑","咧笑","皱眉","视频文件","文本文件","图片文件","Excel文件","音频文件","困脸","笑脸","大笑","皱眉","表情","生气","圆",,"时钟","圆",,,,"相机","铃斜线",,,,,,,,,,,,,,,,,,,,,,"谷歌",,,,,,,"脸书",,,,,,,,,,,,,,,,"亚马逊","酒瓶","无线","图标","方","音量","音量","下音量","病毒斜线","病毒","视频斜线","厢车","用户群斜线","用户盾","用户","用户","用户圆","卡车","卡车","卡车","跨性","点踩","温度计",,"表格",,,,"商店斜线","停止圆",,"听诊器",,"加方","方","勾",,,"禁用",,"厢车",,,"谢克尔","分享","搜索","螺丝刀","学校","学校",,"美元",,"左旋转","后旋转",,,"右引号","加方","加圆","播放圆",,"飞机斜线",,"视频","电话斜线",,"人物","人物","人群","人群","飞机","画笔","便签","支票","钱","火星","火星","病毒",,"笔记本","笔记本",,,,,"信息圆","卡","房屋","沙漏","沙漏","沙漏","主页,家",,,,"心","心",,"手","咧笑","眯笑","咧笑","水杯",,"文件夹","文件夹","打开文件夹",,,,"火",,"胶片","文件","文件","文件盾","文件","文件",,,,"眼","叹号",,"美元","电脑","左","裁剪","信用卡",,"评论","评论","代码","代码","用户圆","停止圆","加圆","播放圆","左圆","信息圆","下圆","儿童","儿童",,,"图表","斜线",,"右尖角","车","建筑","锁",,"存档盒",,"书","书","电池","禁用",,"右箭头",,"左","下","右角","锚","右","时钟","用户圆","点踩","停止圆",,"加方","方",,"加方","播放圆","飞机","便签","沙漏","主页,家","手","咧笑","眯笑","咧笑",,"打开文件夹",,"文件","信用卡","评论","用户圆","停止圆","播放圆","左圆","下圆",,"时钟",,,,,,,,,,,,,,,,,,,,,,,,"谷歌","谷歌",,,,,"CC",,,,"叉方","叉圆","关",,"水",,"音量","音量","视频",,"金星","用户","用户","里拉","卡车","卡车","火车","厕所","叉方","叉圆",,"水滴","表格","秒表","前步进","星","叉方","病毒方","电话方","减方","勾方",,,"招牌","购物袋","防疫","心盾","盾","分享方","搜索",,"右旋转",,"矩形","录制","星","拼图",,,"电话","电话方","人物","人物","人物","人物","人群","人群","铅笔","暂停圆",,,"太阳",,,"纸币一","手机","手机","减方","减圆","地图","前前进","购物车","定位","定位","列表","列表","上","大笑","笔记本",,,"水","卢比","卡",,"房屋","房屋","房屋","医院","心","手","手",,,"地球","地球",,"仪表","前前进","前前进","字体","文件夹","文件夹","文件","文件","文件","前快进","哭脸","表情","表情",,"地球","地球",,"流程",,"卡","书","最小化",,"评论","代码","云",,"叉圆","右圆","暂停圆","加载","圆","减圆","勾圆","左山形","下山形",,,"勾方","勾","勾圆","图表","图表",,"购物车","相机","日历","日历","蛋糕","建筑","水",,"瓶",,"书","比特币",,"电量中","电量满","购物袋",,,,"上箭头","上箭头","上箭头","上箭头","右",,"卡","书","叉圆","关","叉圆","减方","勾方","分享方","暂停圆",,"纸币一","减方","大笑","医院","手","字体","文件夹","文件","哭脸","表情","表情","卡","书","评论","叉圆","右圆","暂停圆","勾圆",,,"勾方","勾圆","日历","卡","书",,,,,,,,,,,,,,,,,"红迪",,,,,"谷歌",,,,,,,"苹果",,,,,,,"用户","卡车","卡车","卡车","卡车",,"删除",,,"温度计","温度计","温度计","温度计","温度计",,"温度","温度","温度","温度","温度","平板","表格",,,,"步进","星","星","方",,"上排序",,,,"购物车","快进","半盾",,"美元",,,,,"飞机","人物","人物","骑行","人群","铅笔方","笔方","盒",,,"鼠标",,,"手机","手机",,"鸡尾杯","火星","火星","上箭头",,,"旗",,,"房屋","医疗屋","房屋","沙漏","医院","医院","六边",,"握手",,"合手","援助","洗手","手","手","手指上","竖","竖网格",,"地球",,,"美元",,"文件夹","文件","文件","文件","文件","上文件","快进","惊讶脸","泪脸","链接","邮件","地球","地球","火",,"水滴斜线","手推车","立方",,"评论斜线","评论","右山形","勾","图表",,"购物车","婴儿","相机","日历","日历","日历",,"建筑","建筑","建筑",,,"书","电话","蛋糕","电池",,"菜单",,"后退","后退","婴儿","眼",,"刷新","上箭头","上箭头","箭头",,,"星","笔方","医院","握手","手","手指上","文件夹","惊讶脸","泪脸","邮件","日历","日历",,,,"微博",,,,"红迪",,,,,"红迪",,,,,,,,"谷歌","谷歌",,,,,,,"CC","亚马逊",,,,"酒杯",,"轮椅",,,"用户","用户斜线","解锁",,"卡车","卡车","上删除","上温度","转速表","平板","太阳","方","上排序","排序","信号",,"卫星","竖尺","尺","前旋转","矩形","左引号","行走","人物","人物","奔跑","人物","人物","人物","人群","人群",,,"纸币","手机","手机","麦克风","火星","火星","地图","地图","回复","定位","下","笔记本",,"上","图片","沙漏","人物",,,"耳机","口罩","鼓掌","拳头",,"地球","旗","文件","文件","无语脸","飞吻脸","眨笑","咧笑脸","咧笑脸","眼",,"地球",,"铃","鼠标","美元","云","云","云","上云","剪贴板","剪贴板",,"儿童","日历","日历","日历","日历","建筑","瓶","闪电","铃",,"菜单","上下箭","上箭头","下箭头","下箭头","下箭头","下箭头",,"矩形",,"纸币","沙漏","耳机","拳头","文件","无语脸","飞吻脸","眨笑","咧笑脸","咧笑脸","日历","日历","日历","日历","油管","推特","电报",,,"油管","推特",,,,,,,,,"谷歌",,,,,"CC",,,,,"轮椅",,"用户群矩形","跨性",,"厕所","叉矩形","斜线","温度","转速表","商店斜线","外链","方","邮件方","尖角方","上排序","排序","下排序","排序","购物篮","搜索","旋转","矩形","矩形","右引号","问号圆","项目","飞机","人物","人物","人物","支票","纸币波",,"口罩","左箭头","下箭头",,"飞吻","沙漏","沙漏","医院","病毒",,"帽子",,"握手斜线","握手","手指左","手指下","横","咧笑","横网格","PPT文件","下文件",,"眨笑脸","微笑脸","眨笑","大笑","笑哭","咧笑","皱眉","邮件方",,"流程","信用卡","美元","评论","云","剪贴板","问号圆","箭头圆","儿童","用户","下购物车","上尖角方","建筑盾",,"时钟","上左","电量低",,"购物篮","下箭头","左箭头","下箭头","上箭头","上角",,,"叉矩形","尖角方","矩形","矩形","问号圆","飞吻","沙漏","手指左","手指下","咧笑","PPT文件","眨笑脸","微笑脸","眨笑","大笑","笑哭","咧笑","皱眉",,"信用卡","问号圆","上尖角方",,"瓦信",,"瓦信",,,"脸书",,,,,,,"脸书",,,,"酒杯","用户群","用户大",,,"厕所","斜线","温度计","温度计","下","温度","温度","温度","下温度",,,"星","排序","下排序","排序",,"分享方",,"横尺","入框","圆","圆",,"电话方","人物","人群","钱","麦克风斜线","麦克风","无语","地图","搜索","右箭头","握手","手指右","美元","眨笑","仪表","文件","HALF文件","文件圆","吐舌笑","眯笑","爱心笑","罗盘","罗盘","云","下云","圆","充电","建筑","书",,"入圆","下箭头","右箭头","星","无语","握手","手指右","眨笑","吐舌笑","眯笑","爱心笑",,,,"推特",,,,,,,,,,,"病毒斜线","小瓶圆","里拉","右卡车","删除",,"温度计","温度","表格大","星",,"电话方","尖角方","尖角方","下排序","排序","上排序","左","分享方","圆","圆","圆","圆","圆","人物","人物","纸币一波","火星","上箭头","定位","卢比","房屋",,"心圆","心圆","耳机","手","眯笑",,"仪表","字体","火","火","火","文件","文件圆","文件圆","文件圆","表情","眯笑","眼","链接",,"竖省略","流程","代码",,"左时钟","山形圆","箭头圆","箭头圆","上山形圆",,"左尖角方","下尖角方",,,,"上","右","左右箭","左旋转","后箭头","左箭头","左箭头","下箭头","左角","下角","尖角方","尖角方","分享方","耳机","眯笑","字体","表情","眯笑",,"左尖角方","下尖角方",,,,,,,,"上下左右","上删除","厕所斜线","厕所","转速表",,"分享方","尖角方",,"上排序","右","螺丝刀","出框","飞机圆","飞机圆",,"人物","人物圆","美元支票","手机","房屋","房屋圆","房屋圆","房屋","六边","心圆","心圆","心圆","手","手","托心","眯笑",,"叹号圆","邮件",,"菱形","云","剪贴板","圆","警告","箭头圆",,"右尖角方","左","右旋转","右箭头","下上箭头","右箭头","右角","尖角方","眯笑","右尖角方",,,,,"谷歌",,"谷歌","脸书",,"用户群","温度计","温度","转速表","上排序","下排序","学校圆","学校圆","瓶","人物","人物圆","人物圆","人物圆","纸币波","上钱","钱","鸡尾杯",,"左箭头","下箭头","定位","房屋","握手斜线","抱童","托钱","旋转","竖","饮水","筛选圆","美元","流程",,"云","云","山形圆","山形圆","左山形圆","下山形圆","圆","圆",,"书","右",,"下","上箭头","上箭头","上右箭头","右箭头","右箭头","上箭头","锚圆","锚圆","上箭头",,,,,,,,,,"音量","上右方","警告","左箭头","上温度","平板","表格","方","方","下排序","扫帚","人物","人物","人物","手机","麦克风斜线","柠檬杯","火星","右箭头","房屋","圆","手","手","美元","文件圆","飞吻心","咧笑","链接方","警告","山形圆","右山形圆","前箭头","飞吻心","咧笑",,,,,,"左右箭头","箭头方","下排序",,,"人物","人物","人物","放大镜加","房屋","斜线","眨舌笑","邮件圆","美元","购物车","建筑圆","建筑圆",,"下人群","上箭头","箭头","右箭头","下箭头","下箭头","左箭头","下箭头","眨舌笑","左箭头","下箭头",,"圆三角","下温度","转速表","表格","方","人物方","人物","人物圆","麦克风斜线","放大镜减","搜索","握手斜线",,"字体","眯笑","电量高","右入框","右左箭头","右箭头","字体","眯笑","右箭头",,,,,,"下箭头","表格","圆","瓶","圆","美元","心","文件圆","眯舌笑",,"眯舌笑",,"表格",,"飞机圆","人物","人物","左右人群","房屋圆","心圆","链接方","上左","上箭头","右出框","学校圆","人物","人物圆","上人物","下人物","搜索","圆","四向箭","左右","下上箭头","锚圆",,,"温度计","温度","右人物","房屋圆","房屋圆","外链","上箭头",,"瓶","建筑圆","右建筑圆",,"圆","搜索","左人物",,"房屋圆","缩小","放大","手语","右房屋圆","右人物","手语"]}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/id-legacy-DgGYDVIG.js b/editor/neo-ppt/assets/id-legacy-DgGYDVIG.js new file mode 100644 index 0000000..9b9412a --- /dev/null +++ b/editor/neo-ppt/assets/id-legacy-DgGYDVIG.js @@ -0,0 +1 @@ +System.register([],function(a,e){return{setters:[],execute:function(){a("default",{topBar:{fullscreen:"Layar penuh",collapse:"Ciutkan",autosaving:"Menyimpan otomatis…",justSaved:"Baru saja disimpan",savedMinutesAgo:"Disimpan {minutes} mnt lalu",versionName:"V{version}",versionLatest:"Terbaru",versionEditedBy:"Diedit oleh {editor} pada {time}",versionMinutesAgo:"{minutes} mnt lalu",versionYesterday:"Kemarin pukul {time}",restoreVersion:"Pulihkan",returnLatestVersion:"Kembali ke versi terbaru",close:"Tutup"},basic:{undo:"Urungkan",redo:"Ulangi",save:"Simpan",screen:"Presentasikan",share:"Bagikan",export:"Ekspor",unnamedPresentation:"Presentasi tanpa judul",lastPage:"Ini slide terakhir"},presenter:{start:"Presentasikan di layar ini",mode:"Mode presentasi",exit:"Keluar",openFailed:"Browser memblokir pop-up tampilan penyaji. Izinkan pop-up dan pengalihan untuk situs ini, lalu coba lagi.",connectFailed:"Tidak dapat terhubung ke jendela penyaji. Coba lagi."},screen:{fullscreenFailed:"Tidak dapat masuk ke layar penuh. Izinkan akses layar penuh untuk situs ini di setelan browser, lalu coba lagi.",transitionEffects:{none:"Tidak ada",fade:"Pudar","wipe-right":"Usap ke kanan","wipe-left":"Usap ke kiri","wipe-down":"Usap ke bawah","wipe-up":"Usap ke atas","split-vertical":"Pisah vertikal","split-horizontal":"Pisah horizontal",box:"Kotak",checkerboard:"Papan catur","random-bars-horizontal":"Garis horizontal acak","random-bars-vertical":"Garis vertikal acak","horizontal-blinds":"Tirai horizontal","vertical-blinds":"Tirai vertikal","column-grid":"Kisi kolom","random-grid":"Kisi acak",random:"Efek acak"}},save:{saveFailed:"Tidak dapat menyimpan. Coba lagi.",invalidData:"Tidak dapat menyimpan karena data tidak valid. Muat ulang, lalu coba lagi.",conflictTitle:"Versi yang lebih baru ditemukan",conflictContent:"Presentasi ini diperbarui pada {time}. Muat ulang untuk melihat versi terbaru, atau terapkan dan simpan perubahan saat ini.",conflictRefresh:"Muat ulang",conflictApplyChanges:"Terapkan perubahan"},bottomBar:{rectangle:"Persegi panjang",otherShapes:"Bentuk dasar",decoration:"Dekorasi",straightLine:"Garis lurus",curve:"Kurva",createTable:"Buat tabel",searchIcon:"Cari ikon",noIconFound:"Ikon tidak ditemukan"},sideBar:{addSlide:"Slide baru",previewMode:"Mode pratinjau",expand:"Perluas",collapse:"Ciutkan"},contextMenu:{cut:"Potong",copy:"Salin",paste:"Tempel",selectAll:"Pilih semua",changeBackground:"Ubah latar belakang",newPage:"Slide baru",copyPage:"Duplikasikan slide",deletePage:"Hapus slide",delete:"Hapus",moveUpOneLayer:"Majukan",moveDownOneLayer:"Mundurkan",bringToTop:"Bawa ke depan",sendToBottom:"Kirim ke belakang",align:"Ratakan",alignCenter:"Tengahkan di slide",alignHorizontal:"Tengahkan horizontal",startFromCurrent:"Presentasikan dari slide ini",insertColumn:"Sisipkan kolom",insertColumnLeft:"Di kiri",insertColumnRight:"Di kanan",insertRow:"Sisipkan baris",insertRowAbove:"Di atas",insertRowBelow:"Di bawah",deleteColumn:"Hapus kolom",deleteRow:"Hapus baris",mergeCells:"Gabungkan sel",unmergeCells:"Pisahkan sel",selectCurrentColumn:"Pilih kolom",selectCurrentRow:"Pilih baris",selectAllCells:"Pilih semua sel",deleteTable:"Hapus tabel"},common:{name:"Slide",nameEN:"Slides",confirm:"Konfirmasi",cancel:"Batal",dontRemind:"Jangan tampilkan lagi",feedback:"Masukan",user:"Pengguna",loadFailedRetry:"Tidak dapat memuat. Coba lagi nanti."},annotation:{edit:"Edit",entry:"Komentar",placeholder:"Beri tahu Kimi apa yang harus diubah",add:"Tambah",addedCount:"Komentar ditambahkan: {count}",emptyTip:"Tambahkan komentar ke slide",clear:"Hapus semua komentar",delete:"Hapus komentar",marker:"Komentar",pageLabel:"Slide {page}",clearConfirm:{title:"Hapus semua komentar?",content:"Semua komentar yang Anda tambahkan akan dihapus",cancelText:"Batal",confirmText:"Hapus"},exitConfirm:{title:"Keluar dari mode komentar?",content:"Komentar yang belum dikirim tidak akan disimpan",cancelText:"Batal",confirmText:"Keluar"}},wap:{loading:"Memuat",play:"Putar",export:"Ekspor",exporting:"Mengekspor",playPrevLine1:"Ketuk atau geser ke kiri",playPrevLine2:"untuk beralih ke slide sebelumnya",playMenuLine1:"Ketuk bagian tengah",playMenuLine2:"untuk membuka menu slide",playNextLine1:"Ketuk atau geser ke kanan",playNextLine2:"untuk beralih ke slide berikutnya"},rate:{title:"Bagaimana hasilnya?",thanksTitle:"Terima kasih atas masukan Anda",bad:"Kurang baik",normal:"Cukup",good:"Bagus",resultTip:"Masukan Anda membantu Kimi menjadi lebih baik",feedback:"Masukan lainnya"},feedback:{snackbar:{title:"Bagaimana hasilnya?",good:"Baik",normal:"Cukup",bad:"Kurang baik",successMessage:"Terima kasih—masukan Anda membantu Kimi menjadi lebih baik",writeFeedback:"Tulis masukan"}},logoModal:{title:"Tambahkan logo",tooltip:"Logo Anda akan muncul di sudut kiri atas setiap slide",selected:"Dipilih",upload:"Unggah logo",preview:"Pratinjau",maxLimit:"Maksimal 5 logo",alertMaxLimit:"Anda dapat mengunggah maksimal 5 logo",applyToAll:"Terapkan ke semua slide"},latex:{title:"Sisipkan persamaan",placeholder:"Masukkan rumus LaTeX, mis. E = mc^2"},themeEditor:{title:"Tema slide",apply:"Terapkan",cancel:"Batal",themeColors:"Warna tema",emptyThemeColors:"Tidak ada warna tema",currentPageBackground:"Latar belakang slide saat ini",backgroundColor:"Warna",backgroundImage:"Gambar",uploadImage:"Unggah gambar",uploadImageFailed:"Tidak dapat mengunggah gambar. Coba lagi nanti.",backgroundFitFill:"Isi",backgroundFitContain:"Paskan",backgroundFitStretch:"Regangkan",applyToAll:"Terapkan ke semua",textStyles:"Gaya teks",emptyTextStyles:"Tidak ada gaya teks",fontStyle:"Ketebalan",lineHeight:"Tinggi baris",letterSpacing:"Spasi huruf",previewText:"Kenali Kimi123",normal:"Reguler",textStyleTitle:"Judul",textStyleSubtitle:"Subjudul",textStyleBody:"Isi",textStyleCaption:"Keterangan / catatan",miSans:"Microsoft YaHei"},diffChecker:{title:"Pemeriksa perbedaan",newFile:"Ditambahkan",deletedFile:"Dihapus",emptyContent:"File ini kosong"},insert:{text:"Sisipkan teks",graphics:"Grafis",graphicsShapeTab:"Bentuk",graphicsLineTab:"Garis",graphicsIconTab:"Ikon",image:"Sisipkan gambar",table:"Sisipkan tabel",theme:"Tema",latex:"Sisipkan persamaan",watermark:"Tambahkan tanda air",more:"Lainnya",animation:"Animasi"},scaleMenu:{zoomIn:"Perbesar",zoomOut:"Perkecil",fitScreen:"Paskan ke layar"},exportDialog:{image:"Gambar",downloadTitle:"Ekspor",tabDownload:"Unduh",tabGoogleSlides:"Google Slide",outputFormat:"Format keluaran",fontEmbed:"Sematkan font",fontEmbedTooltip:"Sematkan font dalam PPTX agar tampil konsisten di semua perangkat",slideTransition:"Transisi slide",slideTransitionTooltip:"Tambahkan transisi antar-slide",defaultDownloadPath:"Jalur unduhan default",storageTo:"Simpan ke",download:"Unduh",downloadStarted:"Ekspor dimulai",downloadStartTip:"Ekspor dimulai. Jika unduhan tidak dimulai, coba browser lain atau ekspor lagi.",loading:"Mengekspor",pendingTip:"Ekspor lebih lama dari perkiraan. Coba browser lain.",wechatTip:"Browser dalam aplikasi WeChat tidak mendukung unduhan. Gunakan browser desktop seperti Chrome atau Edge.",safariTip:"Browser Anda sudah lama. Perbarui atau coba browser lain, seperti Chrome atau Edge.",mobileTip:"Unduh di komputer",exportPptxFailed:"Tidak dapat mengekspor PPTX. Coba lagi.",exportPptxSignFailed:"Tidak dapat mengekspor PPTX. Muat ulang halaman dan coba lagi.",exportImageFailed:"Tidak dapat mengekspor gambar. Coba lagi.",exportingToGoogle:"Mengekspor ke Google Slide…",exportToGoogle:"Ekspor ke Google Slide",exportToGoogleTips:"Ekspor presentasi ini ke Google Slide",exportToGoogleNetworkError:"Tidak dapat mengekspor ke Google Slide. Periksa koneksi, lalu coba lagi."},share:{create:"Buat slide",createDesign:"Buat desain",public:"Publik",private:"Pribadi",createLink:"Buat tautan berbagi",createLinkDesc:"Siapa pun yang memiliki tautan dapat melihat presentasi ini",createLinkBtn:"Buat tautan",createLinkFailed:"Tidak dapat membuat tautan berbagi",bannedTips:"Berbagi telah dinonaktifkan",goFeedback:"Kirim masukan",updateLinkTitle:"Perbarui tautan berbagi",updateLinkDesc:"Tautan lama tidak akan berfungsi setelah diperbarui",updateLinkConfirm:"Perbarui",updateLinkSuccess:"Tautan diperbarui",updateTime:"Diperbarui: ",viewLink:"Lihat tautan",notPublic:"Tidak publik",copySuccess:"Tautan disalin",copyFailed:"Tidak dapat menyalin tautan. Coba lagi.",copyLinkBtn:"Salin tautan",updateLinkBtn:"Perbarui tautan",setPrivateTitle:"Jadikan presentasi pribadi?",setPrivateDesc:"Semua pemilik tautan akan kehilangan akses",setPrivateConfirm:"Jadikan pribadi",setPrivateSuccess:"Presentasi kini bersifat pribadi",updateShareFailed:"Tidak dapat memperbarui setelan berbagi",linkError:"Tautan ini tidak valid. Periksa, lalu coba lagi.",report:"Laporkan",linkInvalid:"Tautan ini tidak tersedia"},floatBar:{leftAlign:"Rata kiri",centerAlign:"Rata tengah",rightAlign:"Rata kanan",justify:"Rata kiri-kanan",topAlign:"Rata atas",verticallyCenter:"Rata tengah vertikal",bottomAlign:"Rata bawah",horizontalAlignment:"Perataan horizontal",verticalAlignment:"Perataan vertikal",lineSpacing:"Spasi baris",textStyle:"Gaya teks",tableStyle:"Gaya tabel",unappliedTextStyle:"Tidak diterapkan",manageTextStyles:"Kelola gaya teks",fontColor:"Warna teks",textBackground:"Latar belakang teks",font:"Font",unsupportedFont:"⚠️ Gaya font tidak didukung",fontSize:"Ukuran font",bold:"Tebal",italic:"Miring",underline:"Garis bawah",strikethrough:"Coret",insertLatex:"Sisipkan persamaan",editLatex:"Edit persamaan",editData:"Edit data",showChartTitle:"Tampilkan judul",editChartTitle:"Edit judul",chartTitlePlaceholder:"Judul bagan",showChartValues:"Tampilkan nilai",chartLegend:"Legenda",none:"Tidak ada",top:"Atas",bottom:"Bawah",left:"Kiri",right:"Kanan",candlestickUpColor:"Warna naik",candlestickDownColor:"Warna turun",candlestickWickColor:"Warna sumbu",waterfallIncreaseColor:"Warna kenaikan",waterfallDecreaseColor:"Warna penurunan",waterfallTotalColor:"Warna total",heatmapLowColor:"Warna nilai rendah",heatmapMiddleColor:"Warna nilai tengah",heatmapHighColor:"Warna nilai tinggi",editLine:"Edit garis",curveLine:"Kurva",lineCurveSharp:"Patah",lineCurveRound:"Membulat",lineCurveSmooth:"Kurva",lineStartArrow:"Panah awal",lineEndArrow:"Panah akhir",usedThemeColor:"Menggunakan tema “{name}”",colorFill:"Warna isian",themeColor:"Warna tema",replaceImage:"Ganti gambar",replaceIcon:"Ganti ikon",replaceShape:"Ganti bentuk",imageFit:"Penyesuaian gambar",fitFill:"Regangkan",fitContain:"Paskan",fitCover:"Pangkas agar penuh",cancelCrop:"Batalkan pemangkasan",cropImage:"Pangkas gambar",opacity:"Opasitas",horizontalFlip:"Balik horizontal",verticalFlip:"Balik vertikal",layer:"Lapisan",bringToTop:"Bawa ke depan",sendToBottom:"Kirim ke belakang",bringForward:"Majukan",sendBackward:"Mundurkan",rowAction:"Tindakan baris",columnAction:"Tindakan kolom",insertRowBefore:"Sisipkan baris di atas",insertRowAfter:"Sisipkan baris di bawah",insertColumnBefore:"Sisipkan kolom di kiri",insertColumnAfter:"Sisipkan kolom di kanan",defaultBorder:"Bawaan",allBorders:"Semua batas",topAndBottomBorders:"Batas atas dan bawah",leftAndRightBorders:"Batas kiri dan kanan",topBorder:"Batas atas",rightBorder:"Batas kanan",bottomBorder:"Batas bawah",leftBorder:"Batas kiri",equalizeColumnWidths:"Ratakan lebar kolom",deselectAll:"Batalkan semua pilihan",selectAll:"Pilih semua",deleteTable:"Hapus tabel",cellBackground:"Latar belakang sel",times:"×",border:"Batas",line:"Garis",solidLine:"Penuh",dashedLine:"Putus-putus",dottedLine:"Titik-titik",noBorder:"Tanpa batas",style:"Gaya",thickness:"Ketebalan",color:"Warna",recentColors:"Warna terbaru",notSupportEyeDropper:"Browser ini tidak mendukung pipet warna. Coba browser lain.",escCloseEyeDropper:"Tekan Esc untuk menutup pipet warna"},notes:{placeholder:"Catatan",show:"Tampilkan catatan penyaji"},animationPanel:{title:"Animasi",preview:"Pratinjau",empty:"Tidak ada animasi di halaman ini",add:"Tambah animasi",addHint:"Pilih elemen untuk menambahkan animasi",target:"Elemen target",effect:"Efek",trigger:"Pemicu",triggerOnClick:"Saat diklik",triggerWithPrevious:"Bersama sebelumnya",triggerAfterPrevious:"Setelah sebelumnya",direction:"Arah",directionUp:"Atas",directionDown:"Bawah",directionLeft:"Kiri",directionRight:"Kanan",duration:"Durasi (ms)",delay:"Jeda (ms)",easing:"Easing",easingLinear:"Linear",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"Pengulangan",path:"Jalur",delete:"Hapus",categoryEntrance:"Masuk",categoryEmphasis:"Penekanan",categoryExit:"Keluar",categoryMotionPath:"Jalur",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"Pilih elemen",elementTypes:{text:"Kotak teks",shape:"Bentuk",image:"Gambar",icon:"Ikon",table:"Tabel",chart:"Grafik",line:"Garis"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/index-Bn1xM_xZ.css b/editor/neo-ppt/assets/index-Bn1xM_xZ.css new file mode 100644 index 0000000..b3b7291 --- /dev/null +++ b/editor/neo-ppt/assets/index-Bn1xM_xZ.css @@ -0,0 +1 @@ +.pptd-defs-pool[data-v-a2588ac6]{pointer-events:none;width:0;height:0;position:absolute;overflow:hidden}.kimi-icon-svg[data-v-177f9c47]{vertical-align:-.125em;flex-shrink:0;line-height:0;display:inline-block}.kimi-icon-svg[data-v-177f9c47] svg{width:100%;height:100%;display:block}.icon-with-background[data-v-1b5f1a16]{width:var(--icon-size);height:var(--icon-size);display:inline-block;position:relative}.icon-with-background .icon-svg[data-v-1b5f1a16]{z-index:2;position:relative}.icon-with-background[data-v-1b5f1a16]:before{content:"";background:var(--icon-background);pointer-events:none;z-index:1;border-radius:50%;width:78%;height:78%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.message-container[data-v-62d950aa]{box-sizing:border-box;background-color:var(--MaskBg-ToastPC,rgba(0,0,0,.82));border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:0 10px;display:flex;box-shadow:0 8px 24px rgba(0,0,0,.16)}.message-icon[data-v-62d950aa]{width:20px;height:20px}.message-icon.success[data-v-62d950aa]{color:var(--Colors-PositiveGreen,#2fb344)}.message-icon.error[data-v-62d950aa]{color:var(--Colors-Red,#ef4444)}.message-icon.loading[data-v-62d950aa]{border:2px solid rgba(255,255,255,.32);border-top-color:var(--Always-White,#fff);border-radius:50%;width:16px;height:16px;animation:1s linear infinite spin-62d950aa}.message-content[data-v-62d950aa]{max-width:320px;color:var(--Always-White,#fff);padding:12px 8px;font-size:14px;font-weight:400;line-height:20px}.message-close[data-v-62d950aa]{cursor:pointer;color:var(--Colors-KMBlue,#1890ff);background:0 0;border:0;margin-left:32px;padding:0;font-size:12px}@keyframes spin-62d950aa{to{transform:rotate(360deg)}}.message-list-container[data-v-13db0a2e]{z-index:6000;pointer-events:none;width:100%;display:flex;position:fixed;left:0}.message-list-container[data-v-13db0a2e] .message-container{pointer-events:all}.message-list-container.top[data-v-13db0a2e]{top:12px}.message-list-container.bottom[data-v-13db0a2e]{bottom:12px}.message-list[data-v-13db0a2e]{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.message-fade-enter-active[data-v-13db0a2e],.message-fade-leave-active[data-v-13db0a2e]{transition:transform .3s ease-in-out,opacity .3s ease-in-out,margin-bottom .3s ease-in-out}.message-fade-enter-from[data-v-13db0a2e]{opacity:0;transform:translateY(-20px)}.message-fade-leave-to[data-v-13db0a2e]{opacity:0;margin-bottom:-56px;transform:translateY(-12px)}body{margin:0}html.no-body-scroll,html.no-body-scroll body{overscroll-behavior:none;overflow:hidden}.menu-content[data-v-dab6a2ce]{box-sizing:border-box;background:var(--Bg-Primary);width:178px;box-shadow:0 4px 12px var(--MaskBg-Light);border-radius:8px;margin:0;padding:6px;list-style:none}.menu-item[data-v-dab6a2ce]{color:var(--Labels-Primary);white-space:nowrap;box-sizing:border-box;cursor:pointer;background-color:transparent;border-radius:6px;height:40px;padding:10px 8px;font-size:14px;transition:background-color .2s ease-in-out}.menu-item:not(.disable):hover>.menu-item-content>.sub-menu[data-v-dab6a2ce]{opacity:1;visibility:visible}.menu-item:not(.disable):hover>.has-children.has-handler[data-v-dab6a2ce]:after{transform:scale(1)}.menu-item[data-v-dab6a2ce]:hover:not(.disable){background:var(--Bg-Secondary-hover)}.menu-item.divider[data-v-dab6a2ce]{cursor:default;pointer-events:none;background:0 0;height:auto;padding:0 8px}.menu-item.divider[data-v-dab6a2ce]:after{content:"";background:var(--Separators-S1);height:.5px;margin:5px 0;display:block}.menu-item.disable[data-v-dab6a2ce]{color:var(--Labels-Tertiary);cursor:not-allowed}.menu-item-content[data-v-dab6a2ce]{justify-content:space-between;align-items:center;display:flex;position:relative}.menu-item-content.has-children[data-v-dab6a2ce]:after{content:"›";color:var(--Labels-Tertiary);margin-left:8px;font-size:16px}.text[data-v-dab6a2ce]{flex:1}.sub-text[data-v-dab6a2ce]{color:var(--Labels-Tertiary);margin-left:8px;font-size:12px}.sub-menu[data-v-dab6a2ce]{opacity:0;visibility:hidden;margin-left:4px;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;position:absolute;top:-6px;left:100%}.mask[data-v-1967551f]{z-index:9998;width:100vw;height:100vh;position:fixed;top:0;left:0}.contextmenu[data-v-1967551f]{z-index:9999;user-select:none;position:fixed}:root{--Colors-KMBlue:#1783ff;--Colors-KMBlue-hover:#167ff7;--Colors-KMBlue-active:#167cf2;--Colors-Red:#ff3849;--Colors-Red-hover:#f73647;--Colors-Red-active:#f23545;--Colors-Red25:rgba(255,56,73,.25);--Colors-Red25-hover:rgba(227,50,65,.27);--Colors-Red25-active:rgba(211,46,60,.286);--Colors-PositiveGreen:#16c456;--Colors-PositiveGreen-hover:#15be53;--Colors-PositiveGreen-active:#15ba52;--Colors-PositiveGreen25:rgba(22,196,86,.25);--Colors-PositiveGreen25-hover:rgba(20,174,77,.27);--Colors-PositiveGreen25-active:rgba(18,162,71,.286);--Colors-Green:#32ff7d;--Colors-Green-hover:#31f779;--Colors-Green-active:#30f277;--Colors-Yellow:#ffd230;--Colors-Yellow-hover:#f7cc2f;--Colors-Yellow-active:#f2c82e;--Colors-Orange:#ff9500;--Colors-Orange-hover:#f79100;--Colors-Orange-active:#f28e00;--Colors-Purple:#985ffb;--Colors-Purple-hover:#935cf3;--Colors-Purple-active:#905aee;--Bg-Primary:#fff;--Bg-Primary-hover:#f7f7f7;--Bg-Primary-active:#f2f2f2;--Bg-Primary90:rgba(255,255,255,.9);--Bg-Primary90-hover:rgba(247,247,247,.9);--Bg-Primary90-active:rgba(241,241,241,.906);--Bg-Primary70:rgba(255,255,255,.7);--Bg-Primary70-hover:rgba(244,244,244,.71);--Bg-Primary70-active:rgba(237,237,237,.714);--Bg-Secondary:#f5f5f5;--Bg-Secondary-hover:#eee;--Bg-Secondary-active:#e9e9e9;--Bg-Secondary90:rgba(245,245,245,.9);--Bg-Secondary90-hover:rgba(237,237,237,.9);--Bg-Secondary90-active:rgba(231,231,231,.906);--Bg-Tertiary:#fff;--Bg-Tertiary-hover:#f7f7f7;--Bg-Tertiary-active:#f2f2f2;--Bg-Tertiary90:rgba(255,255,255,.9);--Bg-Tertiary90-hover:rgba(247,247,247,.9);--Bg-Tertiary90-active:rgba(241,241,241,.906);--Bg-GroundPC:#f9fbfc;--Bg-GroundPC-hover:#f2f3f4;--Bg-GroundPC-active:#edeeef;--Bg-Quaternary:#fff;--Bg-Quaternary-hover:#f7f7f7;--Bg-Quaternary-active:#f2f2f2;--BgGp-Primary:#f5f5f5;--BgGp-Primary-hover:#eee;--BgGp-Primary-active:#e9e9e9;--BgGp-Primary90:rgba(245,245,245,.9);--BgGp-Primary90-hover:rgba(237,237,237,.9);--BgGp-Primary90-active:rgba(231,231,231,.906);--BgGp-Secondary:#fff;--BgGp-Secondary-hover:#f7f7f7;--BgGp-Secondary-active:#f2f2f2;--BgGp-Secondary90:rgba(255,255,255,.9);--BgGp-Secondary90-hover:rgba(247,247,247,.9);--BgGp-Secondary90-active:rgba(241,241,241,.906);--BgGp-Tertiary:#f5f5f5;--BgGp-Tertiary-hover:#eee;--BgGp-Tertiary-active:#e9e9e9;--Labels-Primary:rgba(0,0,0,.9);--Labels-Primary-hover:rgba(0,0,0,.9);--Labels-Primary-active:rgba(0,0,0,.906);--Labels-Secondary:rgba(0,0,0,.6);--Labels-Secondary-hover:rgba(0,0,0,.61);--Labels-Secondary-active:rgba(0,0,0,.62);--Labels-Tertiary:rgba(0,0,0,.45);--Labels-Tertiary-hover:rgba(0,0,0,.467);--Labels-Tertiary-active:rgba(0,0,0,.48);--Labels-Quaternary:rgba(0,0,0,.3);--Labels-Quaternary-hover:rgba(0,0,0,.32);--Labels-Quaternary-active:rgba(0,0,0,.333);--Fills-F1:rgba(0,0,0,.03);--Fills-F1-hover:rgba(0,0,0,.06);--Fills-F1-active:rgba(0,0,0,.08);--Fills-F2:rgba(0,0,0,.05);--Fills-F2-hover:rgba(0,0,0,.08);--Fills-F2-active:rgba(0,0,0,.098);--Fills-F3:rgba(0,0,0,.15);--Fills-F3-hover:rgba(0,0,0,.176);--Fills-F3-active:rgba(0,0,0,.192);--Fills-F4:rgba(0,0,0,.25);--Fills-F4-hover:rgba(0,0,0,.27);--Fills-F4-active:rgba(0,0,0,.286);--Separators-S1:rgba(0,0,0,.13);--Separators-S1-hover:rgba(0,0,0,.157);--Separators-S1-active:rgba(0,0,0,.173);--MaskBg-Light:rgba(0,0,0,.1);--MaskBg-Light-hover:rgba(0,0,0,.125);--MaskBg-Light-active:rgba(0,0,0,.145);--MaskBg-Base:rgba(0,0,0,.4);--MaskBg-Base-hover:rgba(0,0,0,.42);--MaskBg-Base-active:rgba(0,0,0,.43);--MaskBg-Dark:rgba(0,0,0,.6);--MaskBg-Dark-hover:rgba(0,0,0,.61);--MaskBg-Dark-active:rgba(0,0,0,.62);--MaskBg-Gray:rgba(48,48,48,.9);--MaskBg-Gray-hover:rgba(46,46,46,.9);--MaskBg-Gray-active:rgba(45,45,45,.906);--MaskBg-ToastIOS:rgba(69,69,69,.9);--MaskBg-ToastIOS-hover:rgba(67,67,67,.9);--MaskBg-ToastIOS-active:rgba(65,65,65,.906);--MaskBg-ToastAndroid:#454545;--MaskBg-ToastAndroid-hover:#434343;--MaskBg-ToastAndroid-active:#424242;--MaskBg-ToastPC:#2b2b2b;--MaskBg-ToastPC-hover:#2a2a2a;--MaskBg-ToastPC-active:#292929;--Always-White:#fff;--Always-White-hover:#f7f7f7;--Always-White-active:#f2f2f2;--Always-WhiteSecondary:rgba(255,255,255,.84);--Always-WhiteSecondary-hover:rgba(246,246,246,.843);--Always-WhiteSecondary-active:rgba(240,240,240,.847);--Always-WhiteTertiary:rgba(255,255,255,.56);--Always-WhiteTertiary-hover:rgba(242,242,242,.573);--Always-WhiteTertiary-active:rgba(233,233,233,.58);--Always-WhiteQuaternary:rgba(255,255,255,.42);--Always-WhiteQuaternary-hover:rgba(238,238,238,.44);--Always-WhiteQuaternary-active:rgba(227,227,227,.447);--Always-Black:#000;--Always-Black-hover:#000;--Always-Black-active:#000;--Always-TransparencyDarkFill:rgba(0,0,0,.6);--Always-TransparencyDarkFill-hover:rgba(0,0,0,.61);--Always-TransparencyDarkFill-active:rgba(0,0,0,.62);--Always-TransparencyTagFill:rgba(69,69,69,.7);--Always-TransparencyTagFill-hover:rgba(66,66,66,.71);--Always-TransparencyTagFill-active:rgba(64,64,64,.714);--Always-TransparencyWhite15:rgba(255,255,255,.15);--Always-TransparencyWhite15-hover:rgba(211,211,211,.176);--Always-TransparencyWhite15-active:rgba(189,189,189,.192);--Others-LightBlueBg:#e8f3ff;--Others-LightBlueBg-hover:#e1ecf7;--Others-LightBlueBg-active:#dce7f2;--Others-BubbleBlue:#1783ff;--Others-BubbleBlue-hover:#167ff7;--Others-BubbleBlue-active:#167cf2;--Others-BubbleGray_PC:#f5f5f5;--Others-BubbleGray_PC-hover:#eee;--Others-BubbleGray_PC-active:#e9e9e9;--Others-LightRedBg:rgba(255,77,77,.1);--Others-LightRedBg-hover:rgba(195,59,59,.125);--Others-LightRedBg-active:rgba(167,50,50,.145);--Others-LightOrangeBg:rgba(255,149,0,.1);--Others-LightOrangeBg-hover:rgba(195,114,0,.125);--Others-LightOrangeBg-active:rgba(167,98,0,.145);--Others-LightGreenBg:rgba(22,196,86,.1);--Others-LightGreenBg-hover:rgba(17,150,66,.125);--Others-LightGreenBg-active:rgba(14,128,56,.145);--Others-LightYellowBg:rgba(255,200,0,.2);--Others-LightYellowBg-hover:rgba(221,173,0,.224);--Others-LightYellowBg-active:rgba(202,158,0,.24);--Others-KMBlueDisabled:rgba(23,131,255,.4);--Others-KMBlueDisabled-hover:rgba(21,122,237,.42);--Others-KMBlueDisabled-active:rgba(20,116,225,.43);--Others-KMBlue10:rgba(23,131,255,.1);--Others-KMBlue10-hover:rgba(18,100,195,.125);--Others-KMBlue10-active:rgba(15,86,167,.145);--Others-TextSelected:rgba(23,131,255,.2);--Others-TextSelected-hover:rgba(20,113,221,.224);--Others-TextSelected-active:rgba(18,104,202,.24);--Others-WhiteOnDarkDisabled:#fff;--Others-WhiteOnDarkDisabled-hover:#f7f7f7;--Others-WhiteOnDarkDisabled-active:#f2f2f2;--Others-SubLayerBg:rgba(0,0,0,.08);--Others-SubLayerBg-hover:rgba(0,0,0,.106);--Others-SubLayerBg-active:rgba(0,0,0,.125);--Syntax-Keyword:#a626a4;--Syntax-Keyword-hover:#a1259f;--Syntax-Keyword-active:#9e249c;--Syntax-String:#50a14f;--Syntax-String-hover:#4e9c4d;--Syntax-String-active:#4c994b;--Syntax-Literal:#986801;--Syntax-Literal-hover:#936501;--Syntax-Literal-active:#906301;--Syntax-Comment:#a1a1a1;--Syntax-Comment-hover:#9c9c9c;--Syntax-Comment-active:#999;--Syntax-Metadata:#c18401;--Syntax-Metadata-hover:#bb8001;--Syntax-Metadata-active:#b77d01;--Syntax-MultilineComment:#a1a1a1;--Syntax-MultilineComment-hover:#9c9c9c;--Syntax-MultilineComment-active:#999;--Syntax-Punctuation:#e45649;--Syntax-Punctuation-hover:#dd5347;--Syntax-Punctuation-active:#d95245;--Syntax-Mark:#526fff;--Syntax-Mark-hover:#506cf7;--Syntax-Mark-active:#4e69f2;--ui-T1-font-size:18px;--ui-T1-line-height:26px;--ui-T2-font-size:16px;--ui-T2-line-height:24px;--ui-T2_Emphasized-font-size:16px;--ui-T2_Emphasized-line-height:24px;--ui-B1-font-size:15px;--ui-B1-line-height:22px;--ui-B1_Emphasized-font-size:15px;--ui-B1_Emphasized-line-height:22px;--ui-B2-font-size:14px;--ui-B2-line-height:20px;--ui-B2_Emphasized-font-size:14px;--ui-B2_Emphasized-line-height:20px;--ui-C1-font-size:12px;--ui-C1-line-height:18px;--ui-C1_Emphasized-font-size:12px;--ui-C1_Emphasized-line-height:18px;--ui-C2-font-size:10px;--ui-C2-line-height:14px;--ui-C2_Emphasized-font-size:10px;--ui-C2_Emphasized-line-height:14px;--markdown-H1_Content-font-size:20px;--markdown-H1_Content-line-height:32px;--markdown-H2_Content-font-size:18px;--markdown-H2_Content-line-height:28px;--markdown-B1_Content-font-size:16px;--markdown-B1_Content-line-height:26px;--markdown-B1_Content_Emphasized-font-size:16px;--markdown-B1_Content_Emphasized-line-height:26px;--markdown-B1_List_Content-font-size:16px;--markdown-B1_List_Content-line-height:26px;--markdown-B1_List_Content_Emphasized-font-size:16px;--markdown-B1_List_Content_Emphasized-line-height:26px;--markdown-B2_Content-font-size:15px;--markdown-B2_Content-line-height:24px;--markdown-B2_Content_Emphasized-font-size:15px;--markdown-B2_Content_Emphasized-line-height:24px;--markdown-B3_Content-font-size:14px;--markdown-B3_Content-line-height:22px;--markdown-B3_Content_Emphasized-font-size:14px;--markdown-B3_Content_Emphasized-line-height:22px;--markdown-Codeblocks-font-size:14px;--markdown-Codeblocks-line-height:22px;--markdown-InlineCode-font-size:16px;--markdown-InlineCode-line-height:26px}:root.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--Colors-KMBlue:#1a88ff;--Colors-KMBlue-hover:#258eff;--Colors-KMBlue-active:#3194ff;--Colors-Red:#ff4756;--Colors-Red-hover:#ff505e;--Colors-Red-active:#ff5967;--Colors-Red25:rgba(255,71,86,.25);--Colors-Red25-hover:rgba(255,103,115,.286);--Colors-Red25-active:rgba(255,128,138,.325);--Colors-PositiveGreen:#16c456;--Colors-PositiveGreen-hover:#22c75e;--Colors-PositiveGreen-active:#2dca67;--Colors-PositiveGreen25:rgba(22,196,86,.25);--Colors-PositiveGreen25-hover:rgba(63,206,115,.286);--Colors-PositiveGreen25-active:rgba(94,214,138,.325);--Colors-Green:#32ff7d;--Colors-Green-hover:#3cff84;--Colors-Green-active:#47ff8a;--Colors-Yellow:#ffd230;--Colors-Yellow-hover:#ffd43a;--Colors-Yellow-active:#ffd745;--Colors-Orange:#ff9f0a;--Colors-Orange-hover:#ffa416;--Colors-Orange-active:#ffa923;--Colors-Purple:#a16bff;--Colors-Purple-hover:#a672ff;--Colors-Purple-active:#aa7aff;--Bg-Primary:#121212;--Bg-Primary-hover:#1e1e1e;--Bg-Primary-active:#2a2a2a;--Bg-Primary90:rgba(18,18,18,.9);--Bg-Primary90-hover:rgba(31,31,31,.906);--Bg-Primary90-active:rgba(44,44,44,.91);--Bg-Primary70:rgba(18,18,18,.7);--Bg-Primary70-hover:rgba(35,35,35,.714);--Bg-Primary70-active:rgba(50,50,50,.73);--Bg-Secondary:#1f1f1f;--Bg-Secondary-hover:#2a2a2a;--Bg-Secondary-active:#353535;--Bg-Secondary90:rgba(31,31,31,.9);--Bg-Secondary90-hover:rgba(43,43,43,.906);--Bg-Secondary90-active:rgba(56,56,56,.91);--Bg-Tertiary:#292929;--Bg-Tertiary-hover:#343434;--Bg-Tertiary-active:#3e3e3e;--Bg-Tertiary90:rgba(41,41,41,.9);--Bg-Tertiary90-hover:rgba(53,53,53,.906);--Bg-Tertiary90-active:rgba(65,65,65,.91);--Bg-GroundPC:#161717;--Bg-GroundPC-hover:#222323;--Bg-GroundPC-active:#2d2e2e;--Bg-Quaternary:#4d4d4d;--Bg-Quaternary-hover:#565656;--Bg-Quaternary-active:#5f5f5f;--BgGp-Primary:#121212;--BgGp-Primary-hover:#1e1e1e;--BgGp-Primary-active:#2a2a2a;--BgGp-Primary90:rgba(18,18,18,.9);--BgGp-Primary90-hover:rgba(31,31,31,.906);--BgGp-Primary90-active:rgba(44,44,44,.91);--BgGp-Secondary:#1f1f1f;--BgGp-Secondary-hover:#2a2a2a;--BgGp-Secondary-active:#353535;--BgGp-Secondary90:rgba(31,31,31,.9);--BgGp-Secondary90-hover:rgba(43,43,43,.906);--BgGp-Secondary90-active:rgba(56,56,56,.91);--BgGp-Tertiary:#292929;--BgGp-Tertiary-hover:#343434;--BgGp-Tertiary-active:#3e3e3e;--Labels-Primary:rgba(255,255,255,.84);--Labels-Primary-hover:rgba(255,255,255,.847);--Labels-Primary-active:rgba(255,255,255,.855);--Labels-Secondary:rgba(255,255,255,.56);--Labels-Secondary-hover:rgba(255,255,255,.58);--Labels-Secondary-active:rgba(255,255,255,.604);--Labels-Tertiary:rgba(255,255,255,.42);--Labels-Tertiary-hover:rgba(255,255,255,.447);--Labels-Tertiary-active:rgba(255,255,255,.48);--Labels-Quaternary:rgba(255,255,255,.26);--Labels-Quaternary-hover:rgba(255,255,255,.298);--Labels-Quaternary-active:rgba(255,255,255,.333);--Fills-F1:rgba(255,255,255,.05);--Fills-F1-hover:rgba(255,255,255,.098);--Fills-F1-active:rgba(255,255,255,.145);--Fills-F2:rgba(255,255,255,.1);--Fills-F2-hover:rgba(255,255,255,.145);--Fills-F2-active:rgba(255,255,255,.19);--Fills-F3:rgba(255,255,255,.18);--Fills-F3-hover:rgba(255,255,255,.22);--Fills-F3-active:rgba(255,255,255,.263);--Fills-F4:rgba(255,255,255,.25);--Fills-F4-hover:rgba(255,255,255,.286);--Fills-F4-active:rgba(255,255,255,.325);--Separators-S1:rgba(255,255,255,.12);--Separators-S1-hover:rgba(255,255,255,.165);--Separators-S1-active:rgba(255,255,255,.208);--MaskBg-Light:rgba(0,0,0,.3);--MaskBg-Light-hover:rgba(38,38,38,.333);--MaskBg-Light-active:rgba(69,69,69,.37);--MaskBg-Base:rgba(0,0,0,.6);--MaskBg-Base-hover:rgba(21,21,21,.62);--MaskBg-Base-active:rgba(40,40,40,.64);--MaskBg-Dark:rgba(0,0,0,.6);--MaskBg-Dark-hover:rgba(21,21,21,.62);--MaskBg-Dark-active:rgba(40,40,40,.64);--MaskBg-Gray:rgba(48,48,48,.9);--MaskBg-Gray-hover:rgba(59,59,59,.906);--MaskBg-Gray-active:rgba(71,71,71,.91);--MaskBg-ToastIOS:rgba(89,89,89,.9);--MaskBg-ToastIOS-hover:rgba(98,98,98,.906);--MaskBg-ToastIOS-active:rgba(107,107,107,.91);--MaskBg-ToastAndroid:#595959;--MaskBg-ToastAndroid-hover:#616161;--MaskBg-ToastAndroid-active:#6a6a6a;--MaskBg-ToastPC:#404040;--MaskBg-ToastPC-hover:#4a4a4a;--MaskBg-ToastPC-active:#535353;--Always-White:#fff;--Always-White-hover:#fff;--Always-White-active:#fff;--Always-WhiteSecondary:rgba(255,255,255,.84);--Always-WhiteSecondary-hover:rgba(255,255,255,.847);--Always-WhiteSecondary-active:rgba(255,255,255,.855);--Always-WhiteTertiary:rgba(255,255,255,.56);--Always-WhiteTertiary-hover:rgba(255,255,255,.58);--Always-WhiteTertiary-active:rgba(255,255,255,.604);--Always-WhiteQuaternary:rgba(255,255,255,.42);--Always-WhiteQuaternary-hover:rgba(255,255,255,.447);--Always-WhiteQuaternary-active:rgba(255,255,255,.48);--Always-Black:#000;--Always-Black-hover:#0d0d0d;--Always-Black-active:#1a1a1a;--Always-TransparencyDarkFill:rgba(0,0,0,.6);--Always-TransparencyDarkFill-hover:rgba(21,21,21,.62);--Always-TransparencyDarkFill-active:rgba(40,40,40,.64);--Always-TransparencyTagFill:rgba(69,69,69,.7);--Always-TransparencyTagFill-hover:rgba(82,82,82,.714);--Always-TransparencyTagFill-active:rgba(94,94,94,.73);--Always-TransparencyWhite15:rgba(255,255,255,.15);--Always-TransparencyWhite15-hover:rgba(255,255,255,.192);--Always-TransparencyWhite15-active:rgba(255,255,255,.235);--Others-LightBlueBg:#1e2a38;--Others-LightBlueBg-hover:#293542;--Others-LightBlueBg-active:#353f4c;--Others-BubbleBlue:#292929;--Others-BubbleBlue-hover:#343434;--Others-BubbleBlue-active:#3e3e3e;--Others-BubbleGray_PC:#292929;--Others-BubbleGray_PC-hover:#343434;--Others-BubbleGray_PC-active:#3e3e3e;--Others-LightRedBg:rgba(255,82,82,.1);--Others-LightRedBg-hover:rgba(255,142,142,.145);--Others-LightRedBg-active:rgba(255,173,173,.19);--Others-LightOrangeBg:rgba(255,159,10,.1);--Others-LightOrangeBg-hover:rgba(255,192,94,.145);--Others-LightOrangeBg-active:rgba(255,210,139,.19);--Others-LightGreenBg:rgba(22,196,86,.1);--Others-LightGreenBg-hover:rgba(102,216,144,.145);--Others-LightGreenBg-active:rgba(145,227,175,.19);--Others-LightYellowBg:rgba(255,210,48,.2);--Others-LightYellowBg-hover:rgba(255,219,91,.24);--Others-LightYellowBg-active:rgba(255,226,122,.28);--Others-KMBlueDisabled:rgba(26,136,255,.4);--Others-KMBlueDisabled-hover:rgba(53,150,255,.43);--Others-KMBlueDisabled-active:rgba(76,162,255,.46);--Others-KMBlue10:rgba(26,136,255,.1);--Others-KMBlue10-hover:rgba(105,177,255,.145);--Others-KMBlue10-active:rgba(147,199,255,.19);--Others-TextSelected:rgba(26,136,255,.2);--Others-TextSelected-hover:rgba(74,161,255,.24);--Others-TextSelected-active:rgba(108,179,255,.28);--Others-WhiteOnDarkDisabled:rgba(255,255,255,.4);--Others-WhiteOnDarkDisabled-hover:rgba(255,255,255,.43);--Others-WhiteOnDarkDisabled-active:rgba(255,255,255,.46);--Others-SubLayerBg:rgba(255,255,255,.06);--Others-SubLayerBg-hover:rgba(255,255,255,.106);--Others-SubLayerBg-active:rgba(255,255,255,.153);--Syntax-Keyword:#d55fde;--Syntax-Keyword-hover:#d767e0;--Syntax-Keyword-active:#d96fe1;--Syntax-String:#89ca78;--Syntax-String-hover:#8fcd7f;--Syntax-String-active:#95cf86;--Syntax-Literal:#d19a66;--Syntax-Literal-hover:#d39f6e;--Syntax-Literal-active:#d6a475;--Syntax-Comment:#5c6370;--Syntax-Comment-hover:#646b77;--Syntax-Comment-active:#6c737e;--Syntax-Metadata:#e5c07b;--Syntax-Metadata-hover:#e6c382;--Syntax-Metadata-active:#e8c688;--Syntax-MultilineComment:#5c6370;--Syntax-MultilineComment-hover:#646b77;--Syntax-MultilineComment-active:#6c737e;--Syntax-Punctuation:#ef596f;--Syntax-Punctuation-hover:#f06176;--Syntax-Punctuation-active:#f16a7d;--Syntax-Mark:#2bbac5;--Syntax-Mark-hover:#36bdc8;--Syntax-Mark-active:#40c1cb}@media (min-width:768px){::-webkit-scrollbar{background-color:transparent;width:5px;height:5px}::-webkit-scrollbar-thumb{background-color:var(--Separators-S1);border-radius:3px}}@font-face{font-family:MiSans;src:url(//statics.moonshot.cn/neo-design/fonts/css/MiSans.woff2)format("woff2");font-display:swap}@font-face{font-family:Liter;src:url(//statics.moonshot.cn/neo-design/fonts/css/Liter.woff2)format("woff2");font-display:swap}@font-face{font-family:Oranienbaum;src:url(//statics.moonshot.cn/neo-design/fonts/css/Oranienbaum.woff2)format("woff2");font-display:swap}@font-face{font-family:HedvigLettersSans;src:url(//statics.moonshot.cn/neo-design/fonts/css/HedvigLettersSans.woff2)format("woff2");font-display:swap}@font-face{font-family:QuattrocentoSans;src:url(//statics.moonshot.cn/neo-design/fonts/css/QuattrocentoSans.woff2)format("woff2");font-display:swap}@font-face{font-family:SortsMillGoudy;src:url(//statics.moonshot.cn/neo-design/fonts/css/SortsMillGoudy.woff2)format("woff2");font-display:swap}@font-face{font-family:Unna;src:url(//statics.moonshot.cn/neo-design/fonts/css/Unna.woff2)format("woff2");font-display:swap}@font-face{font-family:LuckiestGuy;src:url(//statics.moonshot.cn/neo-design/fonts/css/LuckiestGuy.woff2)format("woff2");font-display:swap}@font-face{font-family:Coda;src:url(//statics.moonshot.cn/neo-design/fonts/css/Coda.woff2)format("woff2");font-display:swap}@font-face{font-family:Jersey15;src:url(//statics.moonshot.cn/neo-design/fonts/css/Jersey15.woff2)format("woff2");font-display:swap}@font-face{font-family:PressStart2P;src:url(//statics.moonshot.cn/neo-design/fonts/css/PressStart2P.woff2)format("woff2");font-display:swap}@font-face{font-family:Jersey20Charted;src:url(//statics.moonshot.cn/neo-design/fonts/css/Jersey20Charted.woff2)format("woff2");font-display:swap}@font-face{font-family:Noto Sans SC;src:url(//statics.moonshot.cn/neo-design/fonts/css/Noto%20Sans%20SC.woff2)format("woff2");font-display:swap}@font-face{font-family:思源宋体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E6%80%9D%E6%BA%90%E5%AE%8B%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:阿里妈妈刀隶体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E9%98%BF%E9%87%8C%E5%A6%88%E5%A6%88%E5%88%80%E9%9A%B6%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:阿里妈妈东方大楷;src:url(/fonts/css/阿里妈妈东方大楷.woff2)format("woff2");font-display:swap}@font-face{font-family:阿里妈妈数黑体;src:url(/fonts/css/阿里妈妈数黑体.woff2)format("woff2");font-display:swap}@font-face{font-family:站酷文艺体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E7%AB%99%E9%85%B7%E6%96%87%E8%89%BA%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:站酷庆科黄油体;src:url(//statics.moonshot.cn/neo-design/fonts/css/ZCOOLQingKeHuangYou-Regular.woff2)format("woff2");font-display:swap}@font-face{font-family:飞波正点体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E9%A3%9E%E6%B3%A2%E6%AD%A3%E7%82%B9%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:程荣光刻楷;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E7%A8%8B%E8%8D%A3%E5%85%89%E5%88%BB%E6%A5%B7.woff2)format("woff2");font-display:swap}@font-face{font-family:得意黑;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E5%BE%97%E6%84%8F%E9%BB%91.woff2)format("woff2");font-display:swap}@font-face{font-family:精品点阵体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E7%B2%BE%E5%93%81%E7%82%B9%E9%98%B5%E4%BD%939%C3%979%201.6.woff2)format("woff2");font-display:swap}@font-face{font-family:Long Cang;src:url(//statics.moonshot.cn/neo-design/fonts/css/Long%20Cang.woff2)format("woff2");font-display:swap}@font-face{font-family:LXGW Bright;src:url(//statics.moonshot.cn/neo-design/fonts/css/LXGW%20Bright.woff2)format("woff2");font-display:swap}@font-face{font-family:ZCOOL KuaiLe;src:url(//statics.moonshot.cn/neo-design/fonts/css/ZCOOL%20KuaiLe.woff2)format("woff2");font-display:swap}@font-face{font-family:霞鹜新致宋;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E9%9C%9E%E9%B9%9C%E6%96%B0%E8%87%B4%E5%AE%8B.woff2)format("woff2");font-display:swap}html[lang=ar] .auto-rtl,html[lang^=ar-] .auto-rtl,html[lang=he] .auto-rtl,html[lang^=he-] .auto-rtl,html[lang=fa] .auto-rtl,html[lang^=fa-] .auto-rtl,html[lang=ur] .auto-rtl,html[lang^=ur-] .auto-rtl,html[lang=ps] .auto-rtl,html[lang^=ps-] .auto-rtl,html[lang=sd] .auto-rtl,html[lang^=sd-] .auto-rtl,html[lang=yi] .auto-rtl,html[lang^=yi-] .auto-rtl,html[lang=ckb] .auto-rtl,html[lang^=ckb-] .auto-rtl,html[lang=ku] .auto-rtl,html[lang^=ku-] .auto-rtl,html[lang=dv] .auto-rtl,html[lang^=dv-] .auto-rtl,html[lang=ug] .auto-rtl,html[lang^=ug-] .auto-rtl{direction:rtl}html[lang=ar] .auto-rtl .rtl-align,html[lang=ar] .auto-rtl.rtl-align,html[lang^=ar-] .auto-rtl .rtl-align,html[lang^=ar-] .auto-rtl.rtl-align,html[lang=he] .auto-rtl .rtl-align,html[lang=he] .auto-rtl.rtl-align,html[lang^=he-] .auto-rtl .rtl-align,html[lang^=he-] .auto-rtl.rtl-align,html[lang=fa] .auto-rtl .rtl-align,html[lang=fa] .auto-rtl.rtl-align,html[lang^=fa-] .auto-rtl .rtl-align,html[lang^=fa-] .auto-rtl.rtl-align,html[lang=ur] .auto-rtl .rtl-align,html[lang=ur] .auto-rtl.rtl-align,html[lang^=ur-] .auto-rtl .rtl-align,html[lang^=ur-] .auto-rtl.rtl-align,html[lang=ps] .auto-rtl .rtl-align,html[lang=ps] .auto-rtl.rtl-align,html[lang^=ps-] .auto-rtl .rtl-align,html[lang^=ps-] .auto-rtl.rtl-align,html[lang=sd] .auto-rtl .rtl-align,html[lang=sd] .auto-rtl.rtl-align,html[lang^=sd-] .auto-rtl .rtl-align,html[lang^=sd-] .auto-rtl.rtl-align,html[lang=yi] .auto-rtl .rtl-align,html[lang=yi] .auto-rtl.rtl-align,html[lang^=yi-] .auto-rtl .rtl-align,html[lang^=yi-] .auto-rtl.rtl-align,html[lang=ckb] .auto-rtl .rtl-align,html[lang=ckb] .auto-rtl.rtl-align,html[lang^=ckb-] .auto-rtl .rtl-align,html[lang^=ckb-] .auto-rtl.rtl-align,html[lang=ku] .auto-rtl .rtl-align,html[lang=ku] .auto-rtl.rtl-align,html[lang^=ku-] .auto-rtl .rtl-align,html[lang^=ku-] .auto-rtl.rtl-align,html[lang=dv] .auto-rtl .rtl-align,html[lang=dv] .auto-rtl.rtl-align,html[lang^=dv-] .auto-rtl .rtl-align,html[lang^=dv-] .auto-rtl.rtl-align,html[lang=ug] .auto-rtl .rtl-align,html[lang=ug] .auto-rtl.rtl-align,html[lang^=ug-] .auto-rtl .rtl-align,html[lang^=ug-] .auto-rtl.rtl-align{text-align:right} diff --git a/editor/neo-ppt/assets/index-jtNAhQeK.js b/editor/neo-ppt/assets/index-jtNAhQeK.js new file mode 100644 index 0000000..35f1759 --- /dev/null +++ b/editor/neo-ppt/assets/index-jtNAhQeK.js @@ -0,0 +1,134 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Share-DuY2ogPU.js","assets/vue-B11_pI9F.js","assets/rolldown-runtime-DWdDZTNf.js","assets/_plugin-vue_export-helper-B67ILkmu.js","assets/kimi-DRwOD7EI.js","assets/useMessage-Cpv2N0cC.js","assets/preload-helper-NECkhNH4.js","assets/snapdom-Da_w1Ev1.js","assets/dayjs.min-BoSdjn8v.js","assets/yaml-8mzYdWcr.js","assets/ThumbnailSlide-COLdjDXw.js","assets/common-utils-G6HD4Ji1.js","assets/dexie-HNSdyusO.js","assets/katex-BotMgawn.js","assets/katex-Cg8Rrj4S.css","assets/prosemirror-KiX6ZXa-.js","assets/const-BjfH-jZe.js","assets/faIcons-u_2ozSt4.js","assets/shapePreset-CxGn1Ud3.js","assets/yaml-Jsje7sNc.js","assets/ThumbnailSlide-CNt7vrDr.css","assets/penpal-DGj0EF1v.js","assets/kimi.button-DiBbOOiZ.js","assets/dom-CWEl93tC.js","assets/dom-ljDggPGB.css","assets/kimi-DH0O-3yG.css","assets/useMessage-DevS7YOO.css","assets/Loading-DTHKpUX9.js","assets/Loading-D1HZ5BTY.css","assets/Screen-e_2r2R5P.js","assets/slideTransition-qR4hDwBa.js","assets/slideTransition-B0IpQu8x.css","assets/menuExclusive-DWJqMbvd.js","assets/menuExclusive-A6pV-6q5.css","assets/PopoverMenu-D6aS9gI3.js","assets/PopoverMenu-CwiC6AzW.css","assets/Screen-C40EWX4e.css","assets/usePPTDTitle-senR0KSa.js","assets/Share-n_N54u8j.css","assets/Editor-DBJ5CkCS.js","assets/SelectMenu-J2_ZM6vn.js","assets/SelectMenu-CDF5hVie.css","assets/Tabs-BfEIxvgH.js","assets/Tabs-3y3wUkna.css","assets/Editor-BGjJFbt1.css","assets/Presenter-BPEJLQpU.js","assets/Presenter-DqFMqITV.css","assets/Mobile-BgPuwkub.js","assets/Mobile-DDsjWa2n.css","assets/Raw-BESBL9gK.js","assets/folderEntryParser-DjmgZytL.js","assets/Raw-CWTq5DqG.css","assets/Preview-BAHV0lEy.js","assets/Preview-DIpDCKLk.css","assets/Player-Bww-Hqsc.js","assets/Player-CZ5SJTIm.css"])))=>i.map(i=>d[i]); +import'data:text/javascript,"assets/index-jtNAhQeK.js";if(!import.meta.resolve)throw Error("import.meta.resolve not supported")';export function __vite_legacy_guard(){import.meta.url,import(`_`).catch(()=>1),(async function*(){})().next()}import{$ as t,At as n,B as r,D as i,E as a,Et as o,G as s,H as c,J as l,K as u,M as d,Mt as f,N as p,Nt as m,P as h,Q as g,T as _,Tt as v,U as y,V as ee,W as b,X as te,Y as ne,Z as x,at as re,b as ie,bt as ae,c as S,ct as C,dt as oe,et as se,ft as ce,ht as le,i as ue,k as de,kt as fe,l as w,lt as pe,mt as me,o as he,ot as ge,p as _e,r as ve,rt as ye,s as be,tt as xe,u as Se,ut as Ce,vt as we,w as Te,z as Ee}from"./vue-B11_pI9F.js";import{b as De,r as Oe,u as ke}from"./const-BjfH-jZe.js";import{t as T}from"./preload-helper-NECkhNH4.js";import{o as Ae}from"./common-utils-G6HD4Ji1.js";import{t as je}from"./_plugin-vue_export-helper-B67ILkmu.js";import{t as Me}from"./icons-CgDhqj4h.js";import{A as Ne,C as E,D as Pe,E as D,M as Fe,N as Ie,O as Le,P as O,S as Re,T as ze,_ as Be,b as Ve,d as He,f as Ue,g as We,h as Ge,j as Ke,k as qe,l as Je,m as Ye,p as Xe,u as Ze,v as Qe,w as $e,x as et,y as tt}from"./kimi-DRwOD7EI.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var nt={install(e){e.config.globalProperties.modelContextMap=new Map}};function rt(){return g()?.root.appContext.config.globalProperties.modelContextMap}function it(e){return{fn:e}}function at(e){let t=g();return{key:Symbol(`model`),instance:e.fn(),vueInstance:t}}function ot(e){let t=g();if(!t)throw Error(`useModel must use in a setup context!`);let n=rt();if(!n)throw Error(`You haven't install model plugin!`);if(!n.has(e)){let r=at(e);n.set(e,{contextInfo:r,count:0}),t.root.appContext.app.provide(r.key,r.instance)}let r=n.get(e);return r.count++,n.set(e,r),re(()=>{r.count--,r.count===0&&n.delete(e)}),r.contextInfo.instance}function st(e){let t=it(e);return()=>ot(t)}var ct=a({history:i(Oe),routes:De?[{path:`/share/:id?`,component:()=>T(()=>import(`./Share-DuY2ogPU.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),meta:{theme:`light`}}]:[{path:`/`,name:`Editor`,component:()=>T(()=>import(`./Editor-DBJ5CkCS.js`),__vite__mapDeps([39,1,2,11,3,6,5,4,7,8,9,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,40,41,42,43,29,30,31,36,37,44])),meta:{noBodyScroll:!0}},{path:`/presenter`,name:`Presenter`,component:()=>T(()=>import(`./Presenter-BPEJLQpU.js`),__vite__mapDeps([45,1,2,3,10,11,6,4,12,9,13,14,15,16,17,18,19,20,29,22,23,24,25,30,31,32,33,34,35,36,37,46])),meta:{noBodyScroll:!0}},{path:`/share/:id?`,name:`Share`,component:()=>T(()=>import(`./Share-DuY2ogPU.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),meta:{theme:`light`}},{path:`/mobile`,name:`Mobile`,component:()=>T(()=>import(`./Mobile-BgPuwkub.js`),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,37,48]))},{path:`/raw`,name:`RawPreview`,component:()=>T(()=>import(`./Raw-BESBL9gK.js`),__vite__mapDeps([49,1,2,3,10,11,6,4,12,9,13,14,15,16,17,18,19,20,50,51])),meta:{theme:`light`}},{path:`/preview`,name:`NormalPreview`,component:()=>T(()=>import(`./Preview-BAHV0lEy.js`),__vite__mapDeps([52,1,2,3,5,6,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,37,53])),meta:{theme:`light`}},{path:`/player`,name:`Player`,component:()=>T(()=>import(`./Player-Bww-Hqsc.js`),__vite__mapDeps([54,1,2,3,5,6,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,37,55])),meta:{noBodyScroll:!0,theme:`light`}}]});ct.afterEach(e=>{document.documentElement.classList.toggle(`no-body-scroll`,!!e.meta.noBodyScroll)});var lt={topBar:{fullscreen:`Fullscreen`,collapse:`Collapse`,autosaving:`Autosaving...`,justSaved:`Just saved`,savedMinutesAgo:`Saved {minutes} min ago`,versionName:`V{version}`,versionLatest:`Latest`,versionEditedBy:`Edited by {editor} at {time}`,versionMinutesAgo:`{minutes} min ago`,versionYesterday:`Yesterday {time}`,restoreVersion:`Restore`,returnLatestVersion:`Back to latest`,close:`Close`},basic:{undo:`Undo`,redo:`Redo`,save:`Save`,screen:`Play`,share:`Share`,export:`Export`,unnamedPresentation:`Untitled presentation`,lastPage:`This is the last page`},presenter:{start:`Present on this screen`,mode:`Presenter mode`,exit:`Exit`,openFailed:`Browser blocked the presenter pop-up. Click the pop-up blocked icon in the address bar, choose Always allow pop-ups and redirects from this site, then try again.`,connectFailed:`Failed to connect presenter window. Please try again.`},screen:{fullscreenFailed:`Browser denied fullscreen. Allow fullscreen permission for this site in browser settings, then try again.`,transitionEffects:{none:`No Effect`,fade:`Fade`,"wipe-right":`Wipe Right`,"wipe-left":`Wipe Left`,"wipe-down":`Wipe Down`,"wipe-up":`Wipe Up`,"split-vertical":`Split Vertical`,"split-horizontal":`Split Horizontal`,box:`Box`,checkerboard:`Checkerboard`,"random-bars-horizontal":`Random Bars Horizontal`,"random-bars-vertical":`Random Bars Vertical`,"horizontal-blinds":`Horizontal Blinds`,"vertical-blinds":`Vertical Blinds`,"column-grid":`Column Grid`,"random-grid":`Random Grid`,random:`Random Effect`}},save:{saveFailed:`Save failed`,invalidData:`Save data is invalid. Refresh and try again.`,conflictTitle:`Newer version detected`,conflictContent:`This presentation was updated at {time}. Refresh to view the latest version, or apply your current changes and save again.`,conflictRefresh:`Refresh page`,conflictApplyChanges:`Apply current changes`},bottomBar:{rectangle:`Rectangle`,otherShapes:`Other shapes`,decoration:`Decoration`,straightLine:`Straight line`,curve:`Curve`,createTable:`Create table`,searchIcon:`Search icon`,noIconFound:`No icons found`},sideBar:{addSlide:`New slide`,previewMode:`Preview mode`,expand:`Expand`,collapse:`Collapse`},contextMenu:{cut:`Cut`,copy:`Copy`,paste:`Paste`,selectAll:`Select all`,changeBackground:`Change background`,newPage:`New slide`,copyPage:`Copy page`,deletePage:`Delete slide`,delete:`Delete`,moveUpOneLayer:`Bring forward`,moveDownOneLayer:`Send backward`,bringToTop:`Bring to front`,sendToBottom:`Send to back`,align:`Align`,alignCenter:`Center`,alignHorizontal:`Center horizontally`,startFromCurrent:`Start from current`,insertColumn:`Insert column`,insertColumnLeft:`Left`,insertColumnRight:`Right`,insertRow:`Insert row`,insertRowAbove:`Above`,insertRowBelow:`Below`,deleteColumn:`Delete column`,deleteRow:`Delete row`,mergeCells:`Merge cells`,unmergeCells:`Unmerge cells`,selectCurrentColumn:`Select column`,selectCurrentRow:`Select row`,selectAllCells:`Select all`,deleteTable:`Delete table`},common:{name:`Slides`,nameEN:`Slides`,confirm:`Confirm`,cancel:`Cancel`,dontRemind:`Don't remind me again`,feedback:`Feedback`,user:`User`,loadFailedRetry:`Load failed. Please try again later.`},annotation:{edit:`Edit`,entry:`Comment`,placeholder:`Tell Kimi what to change`,add:`Add`,addedCount:`{count} comments added`,emptyTip:`Add comments on the pages`,clear:`Clear comments`,delete:`Delete comments`,marker:`Comment`,pageLabel:`Page {page}`,clearConfirm:{title:`Clear all comments?`,content:`This will remove all added comments`,cancelText:`Cancel`,confirmText:`Clear`},exitConfirm:{title:`Exit comment mode?`,content:`Unsent comments won’t be saved`,cancelText:`Cancel`,confirmText:`Exit`}},wap:{loading:`Loading`,play:`Play`,export:`Export`,exporting:`Exporting`,playPrevLine1:`Tap or swipe left`,playPrevLine2:`Previous slide`,playMenuLine1:`Tap center`,playMenuLine2:`Open slide menu`,playNextLine1:`Tap or swipe right`,playNextLine2:`Next slide`},rate:{title:`How was this result?`,thanksTitle:`Thanks for sharing`,bad:`Not good`,normal:`Okay`,good:`Great`,resultTip:`Your ideas make Kimi better! `,feedback:`More feedback`},feedback:{snackbar:{title:`How is this result?`,good:`Good`,normal:`Normal`,bad:`Bad`,successMessage:`Got it, feel free to share more feedback!`,writeFeedback:`Feedback`}},logoModal:{title:`Add logo`,tooltip:`Logo will be added to the top-left corner of all slides`,selected:`Selected`,upload:`Upload logo`,preview:`Preview`,maxLimit:`Maximum 5 logos`,alertMaxLimit:`Maximum 5 logos allowed`,applyToAll:`Apply to all slides`},latex:{title:`Insert equation`,placeholder:`Enter LaTeX formula, e.g. E = mc^2`},themeEditor:{title:`Slides theme`,apply:`Apply`,cancel:`Cancel`,themeColors:`Theme colors`,emptyThemeColors:`No theme colors`,currentPageBackground:`Current page background`,backgroundColor:`Color`,backgroundImage:`Image`,uploadImage:`Upload image`,uploadImageFailed:`Image upload failed. Please try again later.`,backgroundFitFill:`Fill`,backgroundFitContain:`Fit`,backgroundFitStretch:`Stretch`,applyToAll:`Apply to all`,textStyles:`Text styles`,emptyTextStyles:`No text styles`,fontStyle:`Weight`,lineHeight:`Line height`,letterSpacing:`Letter spacing`,previewText:`Meet Kimi123`,normal:`Regular`,textStyleTitle:`Title`,textStyleSubtitle:`Subtitle`,textStyleBody:`Body`,textStyleCaption:`Caption / note`,miSans:`Microsoft YaHei`},diffChecker:{title:`Diff checker`,newFile:`New file`,deletedFile:`Deleted`,emptyContent:`File content is empty`},insert:{text:`Insert text`,graphics:`Graphics`,graphicsShapeTab:`Shapes`,graphicsLineTab:`Lines`,graphicsIconTab:`Icons`,image:`Insert image`,table:`Insert table`,theme:`Theme`,latex:`Insert equation`,watermark:`Add watermark`,more:`More`,animation:`Animation`},scaleMenu:{zoomIn:`Zoom in`,zoomOut:`Zoom out`,fitScreen:`Fit screen`},exportDialog:{image:`Image`,downloadTitle:`Export`,tabDownload:`Download`,tabGoogleSlides:`Google Slides`,outputFormat:`Output format`,fontEmbed:`Embed fonts`,fontEmbedTooltip:`Embed font files into PPTX for consistent display across devices`,slideTransition:`Slide transition`,slideTransitionTooltip:`Add transition animations to slides`,defaultDownloadPath:`Default download path`,storageTo:`Save to`,download:`Download`,downloadStarted:`Export started`,downloadStartTip:`Export started. If the download doesn’t start, please try another browser or export again`,loading:`Exporting`,pendingTip:`Export is taking too long, please try a different browser`,wechatTip:`WeChat built-in browser does not support downloads. Please use a desktop browser such as Chrome or Edge`,safariTip:`Current browser version is outdated, please upgrade or change browser and try again`,mobileTip:`Please download on desktop`,exportPptxFailed:`Failed to export PPTX`,exportPptxSignFailed:`Failed to export PPTX. Please refresh and try again.`,exportImageFailed:`Failed to export images`,exportingToGoogle:`Exporting to Google Slides...`,exportToGoogle:`Export to Google`,exportToGoogleTips:`Export presentation to Google Slides`,exportToGoogleNetworkError:`Failed to export to Google Slides`},share:{create:`Create slides`,createDesign:`Start designing`,public:`Public`,private:`Private`,createLink:`Create share link`,createLinkDesc:`Anyone with the link can view your presentation`,createLinkBtn:`Create link`,createLinkFailed:`Failed to create share link`,bannedTips:`Sharing has been disabled`,goFeedback:`Send feedback`,updateLinkTitle:`Update share link`,updateLinkDesc:`The old link will no longer work after updating`,updateLinkConfirm:`Update`,updateLinkSuccess:`Link updated`,updateTime:`Updated: `,viewLink:`View link`,notPublic:`Not public`,copySuccess:`Link copied`,copyFailed:`Copy failed`,copyLinkBtn:`Copy link`,updateLinkBtn:`Update link`,setPrivateTitle:`Set to private`,setPrivateDesc:`Others will not be able to access via the link`,setPrivateConfirm:`Confirm`,setPrivateSuccess:`Set to private`,updateShareFailed:`Failed to update share status`,linkError:`Invalid link, please check the share link`,report:`Report`,linkInvalid:`Unable to access this link`},floatBar:{leftAlign:`Left`,centerAlign:`Center`,rightAlign:`Right`,justify:`Justify`,topAlign:`Top`,verticallyCenter:`Center`,bottomAlign:`Bottom`,horizontalAlignment:`Horizontal alignment`,verticalAlignment:`Vertical alignment`,lineSpacing:`Line spacing`,textStyle:`Text style`,tableStyle:`Table style`,unappliedTextStyle:`Unapplied`,manageTextStyles:`Manage text styles`,fontColor:`Font color`,textBackground:`Text background`,font:`Font`,unsupportedFont:`⚠️ Unsupported font style`,fontSize:`Font size`,bold:`Bold`,italic:`Italic`,underline:`Underline`,strikethrough:`Strikethrough`,insertLatex:`Insert equation`,editLatex:`Edit equation`,editData:`Edit data`,showChartTitle:`Show title`,editChartTitle:`Edit title`,chartTitlePlaceholder:`Chart title`,showChartValues:`Show values`,chartLegend:`Legend`,none:`None`,top:`Top`,bottom:`Bottom`,left:`Left`,right:`Right`,candlestickUpColor:`Up color`,candlestickDownColor:`Down color`,candlestickWickColor:`Wick color`,waterfallIncreaseColor:`Increase color`,waterfallDecreaseColor:`Decrease color`,waterfallTotalColor:`Total color`,heatmapLowColor:`Low value color`,heatmapMiddleColor:`Middle value color`,heatmapHighColor:`High value color`,editLine:`Edit line`,curveLine:`Curve`,lineCurveSharp:`Polyline`,lineCurveRound:`Rounded`,lineCurveSmooth:`Curve`,lineStartArrow:`Start arrow`,lineEndArrow:`End arrow`,usedThemeColor:`Using "{name}" theme`,colorFill:`Color fill`,themeColor:`Theme color`,replaceImage:`Replace image`,replaceIcon:`Replace icon`,replaceShape:`Replace shape`,imageFit:`Image fit`,fitFill:`Stretch`,fitContain:`Contain`,fitCover:`Cover`,cancelCrop:`Cancel crop`,cropImage:`Crop image`,opacity:`Opacity`,horizontalFlip:`Horizontal flip`,verticalFlip:`Vertical flip`,layer:`Layer`,bringToTop:`Bring to front`,sendToBottom:`Send to back`,bringForward:`Bring forward`,sendBackward:`Send backward`,rowAction:`Row actions`,columnAction:`Column actions`,insertRowBefore:`Insert row above`,insertRowAfter:`Insert row below`,insertColumnBefore:`Insert column left`,insertColumnAfter:`Insert column right`,defaultBorder:`Default`,allBorders:`All borders`,topAndBottomBorders:`Top and bottom borders`,leftAndRightBorders:`Left and right borders`,topBorder:`Top border`,rightBorder:`Right border`,bottomBorder:`Bottom border`,leftBorder:`Left border`,equalizeColumnWidths:`Equalize column widths`,deselectAll:`Deselect all`,selectAll:`Select all`,deleteTable:`Delete table`,cellBackground:`Cell background`,times:`x`,border:`Border`,line:`Line`,solidLine:`Solid`,dashedLine:`Dashed`,dottedLine:`Dotted`,noBorder:`No border`,style:`Style`,thickness:`Thickness`,color:`Color`,recentColors:`Recent colors`,notSupportEyeDropper:`Current browser does not support color picker, please change browser`,escCloseEyeDropper:`Press ESC to close color picker`},notes:{placeholder:`Notes`,show:`Show speaker notes`},animationPanel:{title:`Animation`,preview:`Preview`,empty:`No animations on this page`,add:`Add animation`,addHint:`Select an element to add an animation`,target:`Target element`,effect:`Effect`,trigger:`Trigger`,triggerOnClick:`On click`,triggerWithPrevious:`With previous`,triggerAfterPrevious:`After previous`,direction:`Direction`,directionUp:`Up`,directionDown:`Down`,directionLeft:`Left`,directionRight:`Right`,duration:`Duration (ms)`,delay:`Delay (ms)`,easing:`Easing`,easingLinear:`Linear`,easingEaseIn:`Ease in`,easingEaseOut:`Ease out`,easingEaseInOut:`Ease in-out`,repeat:`Repeat`,path:`Path`,delete:`Delete`,categoryEntrance:`Entrance`,categoryEmphasis:`Emphasis`,categoryExit:`Exit`,categoryMotionPath:`Motion path`,effects:{appear:`Appear`,"fade-in":`Fade in`,"fly-in":`Fly in`,"zoom-in":`Zoom in`,"wipe-in":`Wipe in`,"float-in":`Float In`,"peek-in":`Peek In`,"rise-in":`Rise In`,pulse:`Pulse`,"grow-shrink":`Grow/Shrink`,spin:`Spin`,teeter:`Teeter`,"fill-color":`Fill Color`,transparency:`Transparency`,"color-pulse":`Color Pulse`,disappear:`Disappear`,"fade-out":`Fade out`,"fly-out":`Fly out`,"zoom-out":`Zoom out`,"wipe-out":`Wipe out`,"float-out":`Float Out`,"motion-path":`Motion path`},pickElement:`Pick element`,elementTypes:{text:`Text`,shape:`Shape`,image:`Image`,icon:`Icon`,table:`Table`,chart:`Chart`,line:`Line`}}},ut={topBar:{fullscreen:`全屏`,collapse:`收起`,autosaving:`正在自动保存...`,justSaved:`刚刚保存`,savedMinutesAgo:`{minutes} 分钟前保存`,versionName:`V{version} 版本`,versionLatest:`最新`,versionEditedBy:`{editor} 编辑于 {time}`,versionMinutesAgo:`{minutes} 分钟前`,versionYesterday:`昨天 {time}`,restoreVersion:`还原`,returnLatestVersion:`返回最新版`,close:`关闭`},basic:{undo:`撤销`,redo:`重做`,save:`保存`,screen:`放映`,share:`分享`,export:`导出`,unnamedPresentation:`未命名演示文稿`,lastPage:`已经是最后一页了`},presenter:{start:`在当前屏幕放映`,mode:`演讲者模式`,exit:`退出`,openFailed:`浏览器已阻止新开演讲小窗口。请点击地址栏中的弹出式窗口已被阻止图标,选择始终允许来自本站的弹出式窗口和重定向后重试`,connectFailed:`演讲窗口连接失败,请重试`},screen:{fullscreenFailed:`浏览器拒绝进入全屏。请在浏览器设置中允许本站使用全屏权限后重试`,transitionEffects:{none:`无效果`,fade:`淡入淡出`,"wipe-right":`向右擦除`,"wipe-left":`向左擦除`,"wipe-down":`向下擦除`,"wipe-up":`向上擦除`,"split-vertical":`垂直分割`,"split-horizontal":`水平分割`,box:`方框`,checkerboard:`棋盘`,"random-bars-horizontal":`横向随机线条`,"random-bars-vertical":`纵向随机线条`,"horizontal-blinds":`横向百叶窗`,"vertical-blinds":`纵向百叶窗`,"column-grid":`列网格`,"random-grid":`随机网格`,random:`随机效果`}},save:{saveFailed:`保存失败`,invalidData:`保存数据有问题,请刷新重试`,conflictTitle:`检测到更新版本`,conflictContent:`该演示文稿已于 {time} 更新。刷新页面可查看最新版本;应用改动会用当前内容继续保存。`,conflictRefresh:`刷新页面`,conflictApplyChanges:`应用当前改动`},contextMenu:{cut:`剪切`,copy:`复制`,paste:`粘贴`,selectAll:`全选`,changeBackground:`修改背景`,newPage:`新建页面`,copyPage:`复制页面`,deletePage:`删除页面`,delete:`删除`,moveUpOneLayer:`上移一层`,moveDownOneLayer:`下移一层`,bringToTop:`置于顶层`,sendToBottom:`置于底层`,align:`对齐`,alignCenter:`水平垂直居中`,alignHorizontal:`水平居中`,startFromCurrent:`从当前页开始放映`,insertColumn:`插入列`,insertColumnLeft:`在左侧插入`,insertColumnRight:`在右侧插入`,insertRow:`插入行`,insertRowAbove:`在上方插入`,insertRowBelow:`在下方插入`,deleteColumn:`删除列`,deleteRow:`删除行`,mergeCells:`合并单元格`,unmergeCells:`拆分单元格`,selectCurrentColumn:`选中当前列`,selectCurrentRow:`选中当前行`,selectAllCells:`选中全部单元格`,deleteTable:`删除表格`},common:{name:`PPT`,nameEN:`PPT`,confirm:`确认`,cancel:`取消`,dontRemind:`不再提醒`,feedback:`用户反馈`,user:`用户`,loadFailedRetry:`加载失败,请稍后重试`},annotation:{edit:`编辑`,entry:`批注`,placeholder:`告诉 Kimi 这里怎么改`,add:`添加`,addedCount:`已添加 {count} 条批注`,emptyTip:`在页面上留下批注`,clear:`清空批注`,delete:`删除批注`,marker:`批注`,pageLabel:`第 {page} 页`,clearConfirm:{title:`清空批注`,content:`此操作将移除所有已添加的批注`,cancelText:`取消`,confirmText:`清空`},exitConfirm:{title:`退出批注模式`,content:`未发送的批注不会被保存`,cancelText:`取消`,confirmText:`退出`}},wap:{loading:`加载中`,play:`播放`,export:`导出`,exporting:`正在导出`,playPrevLine1:`点击或左滑`,playPrevLine2:`切换上一页`,playMenuLine1:`点击中部`,playMenuLine2:`展开目录菜单`,playNextLine1:`点击或右滑`,playNextLine2:`切换下一页`},rate:{title:`你对这次生成结果满意吗?`,thanksTitle:`感谢你的反馈`,bad:`不满意`,normal:`还可以`,good:`非常棒`,resultTip:`你的想法将帮助 Kimi 越做越好!`,feedback:`补充反馈`},feedback:{snackbar:{title:`本次生成的作品怎么样?`,good:`好`,normal:`一般`,bad:`不好`,successMessage:`你的反馈将帮助 Kimi 越做越好!`,writeFeedback:`写反馈`}},logoModal:{title:`添加 Logo`,tooltip:`Logo 将被添加到所有幻灯片的左上角`,selected:`已选中`,upload:`上传 Logo`,preview:`预览效果`,maxLimit:`最多上传 5 个 Logo`,alertMaxLimit:`最多只能上传 5 个 Logo`,applyToAll:`应用到所有幻灯片`},latex:{title:`插入公式`,placeholder:`输入 LaTeX 公式,例如:E = mc^2`},themeEditor:{title:`幻灯片主题`,apply:`应用`,cancel:`取消`,themeColors:`主题色`,emptyThemeColors:`暂无主题色`,currentPageBackground:`当前页背景`,backgroundColor:`颜色`,backgroundImage:`图片`,uploadImage:`上传图片`,uploadImageFailed:`图片上传失败,请稍后重试`,backgroundFitFill:`填充`,backgroundFitContain:`适应`,backgroundFitStretch:`拉伸`,applyToAll:`应用到全部`,textStyles:`文本样式`,emptyTextStyles:`暂无文本样式`,fontStyle:`字重`,lineHeight:`行高`,letterSpacing:`字距`,previewText:`认识Kimi123`,normal:`Regular`,textStyleTitle:`标题`,textStyleSubtitle:`副标题`,textStyleBody:`正文`,textStyleCaption:`说明文字 / 注释`,miSans:`微软雅黑`},sideBar:{addSlide:`新建页面`,previewMode:`预览模式`,expand:`展开`,collapse:`收起`},diffChecker:{title:`Diff 检查器`,newFile:`新增文件`,deletedFile:`已删除`,emptyContent:`文件内容为空`},bottomBar:{rectangle:`矩形`,otherShapes:`基础形状`,decoration:`装饰`,straightLine:`直线`,curve:`曲线`,createTable:`创建表格`,searchIcon:`搜索图标`,noIconFound:`未找到图标`},insert:{text:`插入文字`,graphics:`图形工具`,graphicsShapeTab:`形状`,graphicsLineTab:`线条`,graphicsIconTab:`图标`,image:`插入图片`,table:`插入表格`,theme:`主题`,latex:`插入公式`,watermark:`添加水印`,more:`更多`,animation:`动画`},scaleMenu:{zoomIn:`放大`,zoomOut:`缩小`,fitScreen:`适合屏幕`},exportDialog:{image:`图片`,downloadTitle:`导出`,tabDownload:`下载`,tabGoogleSlides:`Google Slides`,outputFormat:`输出格式`,fontEmbed:`嵌入字体`,fontEmbedTooltip:`将字体文件嵌入到 PPTX 中,保证在其他设备上显示一致`,slideTransition:`切换动画`,slideTransitionTooltip:`为幻灯片添加切换动画效果`,defaultDownloadPath:`默认下载路径`,storageTo:`储存至`,download:`下载`,downloadStarted:`导出开始`,downloadStartTip:`导出开始。若未开始下载,请更换浏览器尝试或者重新导出`,loading:`正在导出`,pendingTip:`导出耗时较长,建议更换浏览器后重试`,wechatTip:`微信内置浏览器暂不支持下载,请前往电脑端浏览器操作(如 Chrome、Edge)`,safariTip:`当前浏览器版本过低,请升级或者更换其他浏览器后重试(如 Chrome、Edge)`,mobileTip:`请在电脑端下载`,exportPptxFailed:`导出 PPTX 失败`,exportPptxSignFailed:`导出 PPTX 失败,请刷新重试`,exportImageFailed:`导出图片失败`,exportingToGoogle:`正在导出到 Google Slides...`,exportToGoogle:`导出到 Google`,exportToGoogleTips:`将演示文稿导出到 Google Slides`,exportToGoogleNetworkError:`导出到 Google Slides 失败`},share:{create:`去做PPT`,createDesign:`去设计`,public:`公开`,private:`私密`,createLink:`创建分享链接`,createLinkDesc:`任何人都可以通过链接查看你的演示文稿`,createLinkBtn:`创建链接`,createLinkFailed:`创建分享链接失败`,bannedTips:`分享已被禁用`,goFeedback:`去反馈`,updateLinkTitle:`更新分享链接`,updateLinkDesc:`更新后,旧链接将不再可用`,updateLinkConfirm:`更新`,updateLinkSuccess:`链接已更新`,updateTime:`更新时间:`,viewLink:`查看链接`,notPublic:`未公开`,copySuccess:`链接已复制`,copyFailed:`复制失败`,copyLinkBtn:`复制链接`,updateLinkBtn:`更新链接`,setPrivateTitle:`设为私密`,setPrivateDesc:`设为私密后,其他人将无法通过链接访问`,setPrivateConfirm:`确认`,setPrivateSuccess:`已设为私密`,updateShareFailed:`更新分享状态失败`,linkError:`链接有误,请确认分享链接`,report:`举报`,linkInvalid:`该链接无法访问`},floatBar:{leftAlign:`左对齐`,centerAlign:`居中对齐`,rightAlign:`右对齐`,justify:`两端对齐`,topAlign:`顶部对齐`,verticallyCenter:`垂直居中`,bottomAlign:`底部对齐`,horizontalAlignment:`水平对齐`,verticalAlignment:`垂直对齐`,lineSpacing:`行间距`,textStyle:`文本样式`,tableStyle:`表格样式`,unappliedTextStyle:`未应用`,manageTextStyles:`管理文字样式`,fontColor:`字体颜色`,textBackground:`文字背景`,font:`字体`,unsupportedFont:`⚠️ 暂不支持的字体样式`,fontSize:`字号`,bold:`加粗`,italic:`斜体`,underline:`下划线`,strikethrough:`删除线`,insertLatex:`插入公式`,editLatex:`编辑公式`,editData:`编辑数据`,showChartTitle:`显示标题`,editChartTitle:`编辑标题`,chartTitlePlaceholder:`图表标题`,showChartValues:`显示数值`,chartLegend:`图例`,none:`无`,top:`上`,bottom:`下`,left:`左`,right:`右`,candlestickUpColor:`上涨颜色`,candlestickDownColor:`下跌颜色`,candlestickWickColor:`影线颜色`,waterfallIncreaseColor:`增加颜色`,waterfallDecreaseColor:`减少颜色`,waterfallTotalColor:`汇总颜色`,heatmapLowColor:`低值颜色`,heatmapMiddleColor:`中间值颜色`,heatmapHighColor:`高值颜色`,editLine:`编辑线条`,curveLine:`曲线`,lineCurveSharp:`折线`,lineCurveRound:`圆角`,lineCurveSmooth:`曲线`,lineStartArrow:`起点箭头`,lineEndArrow:`终点箭头`,usedThemeColor:`使用"{name}"主题`,colorFill:`颜色填充`,themeColor:`主题颜色`,replaceImage:`替换图片`,replaceIcon:`替换图标`,replaceShape:`替换形状`,imageFit:`图片适配`,fitFill:`拉伸`,fitContain:`适应`,fitCover:`裁切填充`,cancelCrop:`取消裁剪`,cropImage:`裁剪图片`,opacity:`不透明度`,horizontalFlip:`水平翻转`,verticalFlip:`垂直翻转`,layer:`层级`,bringToTop:`置顶`,sendToBottom:`置底`,bringForward:`上移一层`,sendBackward:`下移一层`,rowAction:`行操作`,columnAction:`列操作`,insertRowBefore:`在上面插入行`,insertRowAfter:`在下面插入行`,insertColumnBefore:`在左边插入列`,insertColumnAfter:`在右边插入列`,defaultBorder:`默认`,allBorders:`所有边框`,topAndBottomBorders:`上下边框`,leftAndRightBorders:`左右边框`,topBorder:`上边框`,rightBorder:`右边框`,bottomBorder:`下边框`,leftBorder:`左边框`,equalizeColumnWidths:`均分列宽`,deselectAll:`取消选择`,selectAll:`全选`,deleteTable:`删除表格`,cellBackground:`单元格背景`,times:`倍`,border:`边框`,line:`线条`,solidLine:`实线`,dashedLine:`虚线`,dottedLine:`点线`,noBorder:`无边框`,style:`样式`,thickness:`粗细`,color:`颜色`,recentColors:`最近使用`,notSupportEyeDropper:`当前浏览器不支持取色吸管,请更换浏览器`,escCloseEyeDropper:`按 ESC 键关闭取色吸管`},notes:{placeholder:`备注`,show:`显示演讲者备注`},animationPanel:{title:`动画`,preview:`预览`,empty:`当前页暂无动画`,add:`添加动画`,addHint:`选择元素后添加动画`,target:`目标元素`,effect:`动画效果`,trigger:`触发方式`,triggerOnClick:`单击时`,triggerWithPrevious:`与上一动画同时`,triggerAfterPrevious:`上一动画之后`,direction:`方向`,directionUp:`向上`,directionDown:`向下`,directionLeft:`向左`,directionRight:`向右`,duration:`时长 (ms)`,delay:`延迟 (ms)`,easing:`缓动`,easingLinear:`线性`,easingEaseIn:`缓入`,easingEaseOut:`缓出`,easingEaseInOut:`缓入缓出`,repeat:`重复次数`,path:`路径`,delete:`删除`,categoryEntrance:`进入`,categoryEmphasis:`强调`,categoryExit:`退出`,categoryMotionPath:`路径`,effects:{appear:`出现`,"fade-in":`淡入`,"fly-in":`飞入`,"zoom-in":`缩放进入`,"wipe-in":`擦除进入`,"float-in":`浮入`,"peek-in":`探入`,"rise-in":`升起`,pulse:`脉冲`,"grow-shrink":`放大缩小`,spin:`旋转`,teeter:`晃动`,"fill-color":`填充变色`,transparency:`透明度`,"color-pulse":`彩色脉冲`,disappear:`消失`,"fade-out":`淡出`,"fly-out":`飞出`,"zoom-out":`缩放退出`,"wipe-out":`擦除退出`,"float-out":`浮出`,"motion-path":`动作路径`},pickElement:`点选元素`,elementTypes:{text:`文本框`,shape:`形状`,image:`图片`,icon:`图标`,table:`表格`,chart:`图表`,line:`线条`}}},dt={topBar:{fullscreen:`全螢幕`,collapse:`收合`,autosaving:`正在自動儲存…`,justSaved:`剛剛儲存`,savedMinutesAgo:`{minutes} 分鐘前儲存`,versionName:`V{version} 版本`,versionLatest:`最新`,versionEditedBy:`{editor} 於 {time} 編輯`,versionMinutesAgo:`{minutes} 分鐘前`,versionYesterday:`昨天 {time}`,restoreVersion:`還原`,returnLatestVersion:`返回最新版本`,close:`關閉`},basic:{undo:`復原`,redo:`重做`,save:`儲存`,screen:`放映`,share:`分享`,export:`匯出`,unnamedPresentation:`未命名簡報`,lastPage:`已經是最後一張投影片`},presenter:{start:`在目前螢幕放映`,mode:`簡報模式`,exit:`退出`,openFailed:`瀏覽器已封鎖簡報者彈出式視窗。請允許來自此網站的彈出式視窗和重新導向後再試一次`,connectFailed:`無法連線至簡報者視窗,請再試一次`},screen:{fullscreenFailed:`無法進入全螢幕。請在瀏覽器設定中允許此網站使用全螢幕後再試一次`,transitionEffects:{none:`無`,fade:`淡化`,"wipe-right":`向右擦去`,"wipe-left":`向左擦去`,"wipe-down":`向下擦去`,"wipe-up":`向上擦去`,"split-vertical":`垂直分割`,"split-horizontal":`水平分割`,box:`方塊`,checkerboard:`棋盤式`,"random-bars-horizontal":`水平隨機線條`,"random-bars-vertical":`垂直隨機線條`,"horizontal-blinds":`水平百葉窗`,"vertical-blinds":`垂直百葉窗`,"column-grid":`直欄格線`,"random-grid":`隨機格線`,random:`隨機效果`}},save:{saveFailed:`儲存失敗`,invalidData:`儲存資料有誤,請重新整理後再試一次`,conflictTitle:`偵測到較新的版本`,conflictContent:`此簡報已於 {time} 更新。重新整理即可查看最新版本;套用變更則會以目前內容繼續儲存。`,conflictRefresh:`重新整理`,conflictApplyChanges:`套用目前的變更`},bottomBar:{rectangle:`矩形`,otherShapes:`基本圖案`,decoration:`裝飾`,straightLine:`直線`,curve:`曲線`,createTable:`建立表格`,searchIcon:`搜尋圖示`,noIconFound:`找不到圖示`},sideBar:{addSlide:`新增投影片`,previewMode:`預覽模式`,expand:`展開`,collapse:`收合`},contextMenu:{cut:`剪下`,copy:`複製`,paste:`貼上`,selectAll:`全選`,changeBackground:`變更背景`,newPage:`新增投影片`,copyPage:`複製投影片`,deletePage:`刪除投影片`,delete:`刪除`,moveUpOneLayer:`上移一層`,moveDownOneLayer:`下移一層`,bringToTop:`移到最上層`,sendToBottom:`移到最下層`,align:`對齊`,alignCenter:`在投影片上置中`,alignHorizontal:`水平置中`,startFromCurrent:`從這張投影片開始放映`,insertColumn:`插入欄`,insertColumnLeft:`插入左欄`,insertColumnRight:`插入右欄`,insertRow:`插入列`,insertRowAbove:`插入上方列`,insertRowBelow:`插入下方列`,deleteColumn:`刪除欄`,deleteRow:`刪除列`,mergeCells:`合併儲存格`,unmergeCells:`取消合併儲存格`,selectCurrentColumn:`選取目前欄`,selectCurrentRow:`選取目前列`,selectAllCells:`選取所有儲存格`,deleteTable:`刪除表格`},common:{name:`簡報`,nameEN:`PPT`,confirm:`確認`,cancel:`取消`,dontRemind:`不再顯示`,feedback:`意見回饋`,user:`使用者`,loadFailedRetry:`載入失敗,請稍後再試`},annotation:{edit:`編輯`,entry:`註解`,placeholder:`告訴 Kimi 要怎麼修改`,add:`新增`,addedCount:`已新增註解:{count}`,emptyTip:`在投影片上新增註解`,clear:`清除註解`,delete:`刪除註解`,marker:`註解`,pageLabel:`投影片 {page}`,clearConfirm:{title:`要清除所有註解嗎?`,content:`這會移除你新增的所有註解`,cancelText:`取消`,confirmText:`清除`},exitConfirm:{title:`要結束註解模式嗎?`,content:`尚未送出的註解不會儲存`,cancelText:`取消`,confirmText:`結束`}},wap:{loading:`載入中`,play:`播放`,export:`匯出`,exporting:`正在匯出`,playPrevLine1:`點一下或向左滑`,playPrevLine2:`前往上一張投影片`,playMenuLine1:`點一下中央`,playMenuLine2:`開啟投影片選單`,playNextLine1:`點一下或向右滑`,playNextLine2:`前往下一張投影片`},rate:{title:`你對這次的結果滿意嗎?`,thanksTitle:`感謝你的意見回饋`,bad:`不滿意`,normal:`還可以`,good:`很棒`,resultTip:`你的意見能幫助 Kimi 持續改進`,feedback:`提供更多意見`},feedback:{snackbar:{title:`這次的結果如何?`,good:`好`,normal:`還可以`,bad:`不太好`,successMessage:`感謝你的意見,這能幫助 Kimi 持續改進`,writeFeedback:`提供意見`}},logoModal:{title:`新增 Logo`,tooltip:`Logo 會顯示在每張投影片的左上角`,selected:`已選取`,upload:`上傳 Logo`,preview:`預覽`,maxLimit:`最多 5 個 Logo`,alertMaxLimit:`最多可上傳 5 個 Logo`,applyToAll:`套用至所有投影片`},latex:{title:`插入公式`,placeholder:`輸入 LaTeX 公式,例如:E = mc^2`},themeEditor:{title:`投影片主題`,apply:`套用`,cancel:`取消`,themeColors:`主題色彩`,emptyThemeColors:`沒有主題色彩`,currentPageBackground:`目前投影片背景`,backgroundColor:`顏色`,backgroundImage:`影像`,uploadImage:`上傳影像`,uploadImageFailed:`影像上傳失敗,請稍後再試`,backgroundFitFill:`填充`,backgroundFitContain:`適應`,backgroundFitStretch:`拉伸`,applyToAll:`全部套用`,textStyles:`文字樣式`,emptyTextStyles:`沒有文字樣式`,fontStyle:`字型粗細`,lineHeight:`行高`,letterSpacing:`字元間距`,previewText:`認識 Kimi123`,normal:`標準`,textStyleTitle:`標題`,textStyleSubtitle:`副標題`,textStyleBody:`正文`,textStyleCaption:`說明文字 / 附註`,miSans:`Microsoft YaHei`},diffChecker:{title:`差異檢查工具`,newFile:`新增`,deletedFile:`已刪除`,emptyContent:`此檔案沒有內容`},insert:{text:`插入文字`,graphics:`圖形`,graphicsShapeTab:`形狀`,graphicsLineTab:`線條`,graphicsIconTab:`圖示`,image:`插入影像`,table:`插入表格`,theme:`主題`,latex:`插入公式`,watermark:`新增浮水印`,more:`更多`,animation:`動畫`},scaleMenu:{zoomIn:`放大`,zoomOut:`縮小`,fitScreen:`配合螢幕大小`},exportDialog:{image:`影像`,downloadTitle:`匯出`,tabDownload:`下載`,tabGoogleSlides:`Google 簡報`,outputFormat:`輸出格式`,fontEmbed:`內嵌字型`,fontEmbedTooltip:`將字型內嵌至 PPTX,讓不同裝置上的顯示保持一致`,slideTransition:`投影片切換`,slideTransitionTooltip:`在投影片之間加入切換效果`,defaultDownloadPath:`預設下載路徑`,storageTo:`儲存至`,download:`下載`,downloadStarted:`已開始匯出`,downloadStartTip:`已開始匯出。若下載未開始,請改用其他瀏覽器或重新匯出。`,loading:`正在匯出`,pendingTip:`匯出時間比預期更久,請改用其他瀏覽器。`,wechatTip:`微信內建瀏覽器不支援下載,請改用 Chrome 或 Edge 等電腦版瀏覽器。`,safariTip:`瀏覽器版本過舊,請更新或改用 Chrome、Edge 等其他瀏覽器。`,mobileTip:`請在電腦上下載`,exportPptxFailed:`無法匯出 PPTX,請再試一次。`,exportPptxSignFailed:`匯出 PPTX 失敗,請重新整理後再試。`,exportImageFailed:`無法匯出影像,請再試一次。`,exportingToGoogle:`正在匯出至 Google 簡報…`,exportToGoogle:`匯出至 Google 簡報`,exportToGoogleTips:`將此簡報匯出至 Google 簡報`,exportToGoogleNetworkError:`無法匯出至 Google 簡報,請檢查網路連線後再試一次。`},share:{create:`建立簡報`,createDesign:`去設計`,public:`公開`,private:`私人`,createLink:`建立分享連結`,createLinkDesc:`任何取得連結的人都能查看此簡報`,createLinkBtn:`建立連結`,createLinkFailed:`無法建立分享連結`,bannedTips:`分享已被停用`,goFeedback:`前往回饋`,updateLinkTitle:`更新分享連結`,updateLinkDesc:`更新後,舊連結將無法使用`,updateLinkConfirm:`更新`,updateLinkSuccess:`連結已更新`,updateTime:`更新時間:`,viewLink:`查看連結`,notPublic:`未公開`,copySuccess:`已複製連結`,copyFailed:`無法複製連結,請再試一次。`,copyLinkBtn:`複製連結`,updateLinkBtn:`更新連結`,setPrivateTitle:`要將簡報設為私人嗎?`,setPrivateDesc:`任何取得連結的人都將失去存取權`,setPrivateConfirm:`設為私人`,setPrivateSuccess:`簡報已設為私人`,updateShareFailed:`無法更新分享設定`,linkError:`此連結無效,請檢查後再試一次。`,report:`檢舉`,linkInvalid:`此連結無法使用`},floatBar:{leftAlign:`左對齊`,centerAlign:`置中對齊`,rightAlign:`右對齊`,justify:`左右對齊`,topAlign:`靠上對齊`,verticallyCenter:`垂直置中`,bottomAlign:`靠下對齊`,horizontalAlignment:`水平對齊`,verticalAlignment:`垂直對齊`,lineSpacing:`行距`,textStyle:`文字樣式`,tableStyle:`表格樣式`,unappliedTextStyle:`未套用`,manageTextStyles:`管理文字樣式`,fontColor:`文字色彩`,textBackground:`文字背景`,font:`字型`,unsupportedFont:`⚠️ 暫不支援的字型樣式`,fontSize:`字型大小`,bold:`粗體`,italic:`斜體`,underline:`底線`,strikethrough:`刪除線`,insertLatex:`插入公式`,editLatex:`編輯公式`,editData:`編輯資料`,showChartTitle:`顯示標題`,editChartTitle:`編輯標題`,chartTitlePlaceholder:`圖表標題`,showChartValues:`顯示值`,chartLegend:`圖例`,none:`無`,top:`上`,bottom:`下`,left:`左`,right:`右`,candlestickUpColor:`上漲顏色`,candlestickDownColor:`下跌顏色`,candlestickWickColor:`影線色彩`,waterfallIncreaseColor:`增加色彩`,waterfallDecreaseColor:`減少色彩`,waterfallTotalColor:`總計色彩`,heatmapLowColor:`低值色彩`,heatmapMiddleColor:`中點色彩`,heatmapHighColor:`高值色彩`,editLine:`編輯線條`,curveLine:`曲線`,lineCurveSharp:`折線`,lineCurveRound:`圓角`,lineCurveSmooth:`曲線`,lineStartArrow:`起點箭頭`,lineEndArrow:`終點箭頭`,usedThemeColor:`使用「{name}」主題`,colorFill:`填滿色彩`,themeColor:`主題色彩`,replaceImage:`取代影像`,replaceIcon:`取代圖示`,replaceShape:`取代圖案`,imageFit:`影像調整`,fitFill:`拉伸`,fitContain:`適應`,fitCover:`裁剪以填滿`,cancelCrop:`取消裁剪`,cropImage:`裁剪影像`,opacity:`不透明度`,horizontalFlip:`水平翻轉`,verticalFlip:`垂直翻轉`,layer:`圖層`,bringToTop:`移到最上層`,sendToBottom:`移到最下層`,bringForward:`上移一層`,sendBackward:`下移一層`,rowAction:`列操作`,columnAction:`欄操作`,insertRowBefore:`在上方插入列`,insertRowAfter:`在下方插入列`,insertColumnBefore:`在左側插入欄`,insertColumnAfter:`在右側插入欄`,defaultBorder:`預設`,allBorders:`所有邊框`,topAndBottomBorders:`上下邊框`,leftAndRightBorders:`左右邊框`,topBorder:`上邊框`,rightBorder:`右邊框`,bottomBorder:`下邊框`,leftBorder:`左邊框`,equalizeColumnWidths:`平均分配欄寬`,deselectAll:`取消全選`,selectAll:`全選`,deleteTable:`刪除表格`,cellBackground:`儲存格背景`,times:`倍`,border:`邊框`,line:`線條`,solidLine:`實線`,dashedLine:`虛線`,dottedLine:`點線`,noBorder:`無邊框`,style:`樣式`,thickness:`粗細`,color:`顏色`,recentColors:`最近使用的色彩`,notSupportEyeDropper:`此瀏覽器不支援滴管,請改用其他瀏覽器。`,escCloseEyeDropper:`按 Esc 關閉滴管`},notes:{placeholder:`備忘稿`,show:`顯示講者備忘稿`},animationPanel:{title:`動畫`,preview:`預覽`,empty:`目前頁面沒有動畫`,add:`新增動畫`,addHint:`選擇元素後新增動畫`,target:`目標元素`,effect:`動畫效果`,trigger:`觸發方式`,triggerOnClick:`按一下時`,triggerWithPrevious:`與上一動畫同時`,triggerAfterPrevious:`接續上一動畫`,direction:`方向`,directionUp:`向上`,directionDown:`向下`,directionLeft:`向左`,directionRight:`向右`,duration:`時間長度 (ms)`,delay:`延遲 (ms)`,easing:`緩動`,easingLinear:`線性`,easingEaseIn:`緩入`,easingEaseOut:`緩出`,easingEaseInOut:`緩入緩出`,repeat:`重複次數`,path:`路徑`,delete:`刪除`,categoryEntrance:`進入`,categoryEmphasis:`強調`,categoryExit:`結束`,categoryMotionPath:`路徑`,effects:{appear:`出現`,"fade-in":`淡入`,"fly-in":`飛入`,"zoom-in":`縮放進入`,"wipe-in":`擦除進入`,"float-in":`浮入`,"peek-in":`探入`,"rise-in":`升起`,pulse:`脈衝`,"grow-shrink":`放大縮小`,spin:`旋轉`,teeter:`晃動`,"fill-color":`填滿變色`,transparency:`透明度`,"color-pulse":`彩色脈衝`,disappear:`消失`,"fade-out":`淡出`,"fly-out":`飛出`,"zoom-out":`縮放退出`,"wipe-out":`擦除退出`,"float-out":`浮出`,"motion-path":`動作路徑`},pickElement:`點選元素`,elementTypes:{text:`文字方塊`,shape:`圖形`,image:`圖片`,icon:`圖示`,table:`表格`,chart:`圖表`,line:`線條`}}},ft=[{locale:`zh-cn`,routeLang:`zh`,displayName:`简体中文`},{locale:`zh-tw`,routeLang:`zh-tw`,displayName:`繁体中文`},{locale:`en-us`,routeLang:`en`,displayName:`英语`},{locale:`pt-br`,routeLang:`pt`,displayName:`葡萄牙语`},{locale:`de`,routeLang:`de`,displayName:`德语`},{locale:`es-419`,routeLang:`es`,displayName:`西班牙语`},{locale:`fr-fr`,routeLang:`fr`,displayName:`法语`},{locale:`tr`,routeLang:`tr`,displayName:`土耳其语`},{locale:`ja`,routeLang:`ja`,displayName:`日语`},{locale:`it`,routeLang:`it`,displayName:`意大利语`},{locale:`ko`,routeLang:`ko`,displayName:`韩语`},{locale:`id`,routeLang:`id`,displayName:`印尼语`},{locale:`vi`,routeLang:`vi`,displayName:`越南语`},{locale:`th`,routeLang:`th`,displayName:`泰语`},{locale:`ru`,routeLang:`ru`,displayName:`俄语`},{locale:`ar`,routeLang:`ar`,displayName:`阿语(标准阿拉伯语)`}],pt=`en-us`,mt=new Set([`ar`,`he`,`fa`,`ur`,`ps`,`sd`,`yi`,`ckb`,`ku`,`dv`,`ug`]),ht=new Map([[`fr`,`fr-fr`]]);new Map(ft.map(e=>[e.locale,e])),new Map(ft.map(e=>[e.routeLang.toLowerCase(),e.locale]));var gt=new Set(ft.map(e=>e.locale)),_t=e=>e?.trim().toLowerCase().replace(/_/g,`-`),vt=e=>{let t=_t(e);if(!t)return;let n=ht.get(t)??t;return gt.has(n)?n:void 0},yt=e=>{let t=typeof e==`string`?[e]:e;for(let e of t??[]){let t=vt(e);if(t)return t}},bt=e=>{let t=_t(e);if(!t)return!1;let[n]=t.split(`-`);return mt.has(t)||mt.has(n)},xt=e=>{let t=typeof e==`string`?[e]:e;for(let e of t??[]){let t=_t(e);if(!t)continue;let n=vt(t);if(n)return n;let r=t.split(`-`)[0],i=ft.find(e=>{let t=e.locale.split(`-`)[0];return e.routeLang===r||t===r});if(i)return i.locale}},St=()=>typeof navigator>`u`?pt:xt(navigator.languages?.length?navigator.languages:navigator.language)??`en-us`,Ct={"en-us":lt,"zh-cn":ut,"zh-tw":dt},wt={ar:()=>T(()=>import(`./ar-CbI07Aji.js`).then(e=>e.default),[]),de:()=>T(()=>import(`./de-DjWrb2Zx.js`).then(e=>e.default),[]),"es-419":()=>T(()=>import(`./es-419-DlFE1O59.js`).then(e=>e.default),[]),"fr-fr":()=>T(()=>import(`./fr-FR-BsowxVaY.js`).then(e=>e.default),[]),id:()=>T(()=>import(`./id-Cg8K7Xy9.js`).then(e=>e.default),[]),it:()=>T(()=>import(`./it-dvmUTs12.js`).then(e=>e.default),[]),ja:()=>T(()=>import(`./ja-HpL7bYhU.js`).then(e=>e.default),[]),ko:()=>T(()=>import(`./ko-DNVKLvAQ.js`).then(e=>e.default),[]),"pt-br":()=>T(()=>import(`./pt-BR-DXr6EdW-.js`).then(e=>e.default),[]),ru:()=>T(()=>import(`./ru-Bp25sOdo.js`).then(e=>e.default),[]),th:()=>T(()=>import(`./th-DfhyGEJz.js`).then(e=>e.default),[]),tr:()=>T(()=>import(`./tr-C10BN1wY.js`).then(e=>e.default),[]),vi:()=>T(()=>import(`./vi-C9Lb0nj3.js`).then(e=>e.default),[])},Tt=new Map,Et=async e=>{let t=Ct[e];if(t)return t;let n=Tt.get(e);if(n)return n;let r=wt[e];if(!r)return Ct[pt];let i=r().then(t=>(Ct[e]=t,Tt.delete(e),t));return Tt.set(e,i),i},Dt=()=>_(),Ot=null,kt=()=>{if(!(typeof window>`u`))return yt(new URLSearchParams(window.location.search).get(`lang`))},At=()=>typeof document>`u`?null:vt(document.cookie.split(`;`).find(e=>e.trim().startsWith(`lang=`))?.split(`=`)[1])??null,jt=e=>typeof localStorage>`u`?null:vt(localStorage.getItem(e))??null,Mt=()=>{let e=kt(),t=St(),n=jt(`KIMI_LOCALE`),r=jt(`kimi-ppt-LOCALE`),i=At();return e||r||i||n||t},Nt=e=>{typeof document>`u`||(document.documentElement.lang=e)},Pt=async e=>{let t=await Et(e);Ot?.global.setLocaleMessage(e,t)},Ft=e=>{let t=Te({legacy:!1,locale:e,fallbackLocale:pt,messages:Ct});return Ot=t,we(()=>t.global.locale.value,e=>{let n=vt(e)??`en-us`;n!==e&&(t.global.locale.value=n),Nt(n),Pt(n)},{immediate:!0,flush:`sync`}),t},It=async e=>{let t=vt(e);if(t)return await Pt(t),Ot&&(Ot.global.locale.value=t),t},Lt=()=>Ot?.global.locale.value??`en-us`,Rt=async()=>{let e=Mt();return await Et(e),Ft(e)},zt=//g;function Vt(e){return e.replace(zt,`<`).replace(Bt,`>`)}function Ht(e){let t=document.createElement(`div`);t.style.position=`fixed`,t.style.opacity=`0`,t.innerHTML=e,document.body.appendChild(t);let n=document.createRange();n.selectNodeContents(t);let r=window.getSelection();r&&(r.removeAllRanges(),r.addRange(n));try{return document.execCommand(`copy`)}catch{return!1}finally{r&&r.removeAllRanges(),document.body.removeChild(t)}}function Ut(e){let t=e.trimStart();return/^/i.test(t)?t:`\n${t}`}async function Wt(e,t){if(!t)return Gt(e);let n=Ut(t);try{return await navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([e],{type:`text/plain`}),"text/html":new Blob([n],{type:`text/html`})})]),!0}catch{return Ht(n)}}async function Gt(e){try{return await navigator.clipboard.writeText(e),!0}catch{let t=document.createElement(`div`);t.style.position=`fixed`,t.style.top=`-9999px`,t.style.opacity=`0`,t.textContent=e,document.body.appendChild(t);let n=document.createRange();n.selectNodeContents(t);let r=window.getSelection();r&&(r.removeAllRanges(),r.addRange(n));try{return document.execCommand(`copy`)}catch{return!1}finally{r&&r.removeAllRanges(),document.body.removeChild(t)}}}var Kt,qt=class{constructor(e){Ae(this,`value`,void 0),Ae(this,`next`,void 0),this.value=e}},k=new WeakMap,Jt=new WeakMap,Yt=new WeakMap;Kt=Symbol.iterator;var Xt=class{constructor(){Se(this,k,void 0),Se(this,Jt,void 0),Se(this,Yt,void 0),this.clear()}enqueue(e){var t;let n=new qt(e);w(k,this)?(w(Jt,this).next=n,S(Jt,this,n)):(S(k,this,n),S(Jt,this,n)),S(Yt,this,(t=w(Yt,this),t++,t))}dequeue(){var e;let t=w(k,this);if(t)return S(k,this,w(k,this).next),S(Yt,this,(e=w(Yt,this),e--,e)),w(k,this)||S(Jt,this,void 0),t.value}peek(){if(w(k,this))return w(k,this).value}clear(){S(k,this,void 0),S(Jt,this,void 0),S(Yt,this,0)}get size(){return w(Yt,this)}*[Kt](){let e=w(k,this);for(;e;)yield e.value,e=e.next}*drain(){for(;w(k,this);)yield this.dequeue()}};function Zt(e){let t=!1;if(typeof e==`object`&&({concurrency:e,rejectOnClear:t=!1}=e),Qt(e),typeof t!=`boolean`)throw TypeError("Expected `rejectOnClear` to be a boolean");let n=new Xt,r=0,i=()=>{r0&&(r++,n.dequeue().run())},a=()=>{r--,i()},o=async(e,t,n)=>{let r=(async()=>e(...n))();t(r);try{await r}catch{}a()},s=(t,a,s,c)=>{let l={reject:s};new Promise(e=>{l.run=e,n.enqueue(l)}).then(o.bind(void 0,t,a,c)),rnew Promise((n,r)=>{s(e,n,r,t)});return Object.defineProperties(c,{activeCount:{get:()=>r},pendingCount:{get:()=>n.size},clearQueue:{value(){if(!t){n.clear();return}let e=AbortSignal.abort().reason;for(;n.size>0;)n.dequeue().reject(e)}},concurrency:{get:()=>e,set(t){Qt(t),e=t,queueMicrotask(()=>{for(;r0;)i()})}},map:{async value(e,t){let n=Array.from(e,(e,n)=>this(t,e,n));return Promise.all(n)}}}),c}function Qt(e){if(!((Number.isInteger(e)||e===1/0)&&e>0))throw TypeError("Expected `concurrency` to be a number from 1 and up")}var $t=e=>new Promise(t=>{let n=new Image;n.crossOrigin=`anonymous`;let r=typeof e==`string`,i=r?e:URL.createObjectURL(e);n.onload=()=>{!r&&URL.revokeObjectURL(i),t({width:n.width,height:n.height})},n.onerror=()=>{!r&&URL.revokeObjectURL(i)},n.src=i}),en=Zt(5),tn=new Map;function nn(e){return en(()=>{let t=tn.get(e);return typeof t==`boolean`?Promise.resolve(t):new Promise(t=>{let n=new Image;n.src=e,n.onload=()=>{t(!0),tn.set(e,!0)},n.onerror=()=>{t(!1)}})})}function rn(e=0){return new Promise(t=>setTimeout(t,e))}function an(e,t,n=`Timeout`){return Promise.race([e,rn(t).then(()=>{throw Error(n)})])}function on(e,t){if(!e)return Promise.resolve(void 0);let n=Date.now();return e.then(e=>(t(void 0,Date.now()-n,e),e)).catch(e=>{throw t(e,Date.now()-n),e})}function sn(e){"@babel/helpers - typeof";return sn=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sn(e)}var cn=/^\s+/,ln=/\s+$/;function A(e,t){if(e=e||``,t=t||{},e instanceof A)return e;if(!(this instanceof A))return new A(e,t);var n=un(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}A.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255,i=t<=.03928?t/12.92:((t+.055)/1.055)**2.4,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4;return .2126*i+.7152*a+.0722*o},setAlpha:function(e){return this._a=Pn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=mn(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=mn(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=fn(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=fn(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return gn(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return _n(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`)`:`rgba(`+Math.round(this._r)+`, `+Math.round(this._g)+`, `+Math.round(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:Math.round(j(this._r,255)*100)+`%`,g:Math.round(j(this._g,255)*100)+`%`,b:Math.round(j(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+Math.round(j(this._r,255)*100)+`%, `+Math.round(j(this._g,255)*100)+`%, `+Math.round(j(this._b,255)*100)+`%)`:`rgba(`+Math.round(j(this._r,255)*100)+`%, `+Math.round(j(this._g,255)*100)+`%, `+Math.round(j(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:Mn[gn(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+vn(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=A(e);n=`#`+vn(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`)?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return A(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Sn,arguments)},brighten:function(){return this._applyModification(Cn,arguments)},darken:function(){return this._applyModification(wn,arguments)},desaturate:function(){return this._applyModification(yn,arguments)},saturate:function(){return this._applyModification(bn,arguments)},greyscale:function(){return this._applyModification(xn,arguments)},spin:function(){return this._applyModification(Tn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(kn,arguments)},complement:function(){return this._applyCombination(En,arguments)},monochromatic:function(){return this._applyCombination(An,arguments)},splitcomplement:function(){return this._applyCombination(On,arguments)},triad:function(){return this._applyCombination(Dn,[3])},tetrad:function(){return this._applyCombination(Dn,[4])}},A.fromRatio=function(e,t){if(sn(e)==`object`){var n={};for(var r in e)e.hasOwnProperty(r)&&(r===`a`?n[r]=e[r]:n[r]=Rn(e[r]));e=n}return A(e,t)};function un(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;return typeof e==`string`&&(e=Vn(e)),sn(e)==`object`&&(F(e.r)&&F(e.g)&&F(e.b)?(t=dn(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):F(e.h)&&F(e.s)&&F(e.v)?(r=Rn(e.s),i=Rn(e.v),t=hn(e.h,r,i),o=!0,s=`hsv`):F(e.h)&&F(e.s)&&F(e.l)&&(r=Rn(e.s),a=Rn(e.l),t=pn(e.h,r,a),o=!0,s=`hsl`),e.hasOwnProperty(`a`)&&(n=e.a)),n=Pn(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function dn(e,t,n){return{r:j(e,255)*255,g:j(t,255)*255,b:j(n,255)*255}}function fn(e,t,n){e=j(e,255),t=j(t,255),n=j(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,o,s=(r+i)/2;if(r==i)a=o=0;else{var c=r-i;switch(o=s>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(t===0)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function mn(e,t,n){e=j(e,255),t=j(t,255),n=j(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a,o,s=r,c=r-i;if(o=r===0?0:c/r,r==i)a=0;else{switch(r){case e:a=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(A(r));return a}function An(e,t){t=t||6;for(var n=A(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(A({h:r,s:i,v:a})),a=(a+s)%1;return o}A.mix=function(e,t,n){n=n===0?0:n||50;var r=A(e).toRgb(),i=A(t).toRgb(),a=n/100;return A({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},A.readability=function(e,t){var n=A(e),r=A(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},A.isReadable=function(e,t,n){var r=A.readability(e,t),i,a=!1;switch(i=Hn(n),i.level+i.size){case`AAsmall`:case`AAAlarge`:a=r>=4.5;break;case`AAlarge`:a=r>=3;break;case`AAAsmall`:a=r>=7;break}return a},A.mostReadable=function(e,t,n){var r=null,i=0,a,o,s,c;n=n||{},o=n.includeFallbackColors,s=n.level,c=n.size;for(var l=0;li&&(i=a,r=A(t[l]));return A.isReadable(e,r,{level:s,size:c})||!o?r:(n.includeFallbackColors=!1,A.mostReadable(e,[`#fff`,`#000`],n))};var jn=A.names={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,burntsienna:`ea7e5d`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgreen:`006400`,darkgrey:`a9a9a9`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,green:`008000`,greenyellow:`adff2f`,grey:`808080`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgreen:`90ee90`,lightgrey:`d3d3d3`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebeccapurple:`663399`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},Mn=A.hexNames=Nn(jn);function Nn(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Pn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,t){In(e)&&(e=`100%`);var n=Ln(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Fn(e){return Math.min(1,Math.max(0,e))}function M(e){return parseInt(e,16)}function In(e){return typeof e==`string`&&e.indexOf(`.`)!=-1&&parseFloat(e)===1}function Ln(e){return typeof e==`string`&&e.indexOf(`%`)!=-1}function N(e){return e.length==1?`0`+e:``+e}function Rn(e){return e<=1&&(e=e*100+`%`),e}function zn(e){return Math.round(parseFloat(e)*255).toString(16)}function Bn(e){return M(e)/255}var P=function(){var e=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,t=`[\\s|\\(]+(`+e+`)[,|\\s]+(`+e+`)[,|\\s]+(`+e+`)\\s*\\)?`,n=`[\\s|\\(]+(`+e+`)[,|\\s]+(`+e+`)[,|\\s]+(`+e+`)[,|\\s]+(`+e+`)\\s*\\)?`;return{CSS_UNIT:new RegExp(e),rgb:RegExp(`rgb`+t),rgba:RegExp(`rgba`+n),hsl:RegExp(`hsl`+t),hsla:RegExp(`hsla`+n),hsv:RegExp(`hsv`+t),hsva:RegExp(`hsva`+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function F(e){return!!P.CSS_UNIT.exec(e)}function Vn(e){e=e.replace(cn,``).replace(ln,``).toLowerCase();var t=!1;if(jn[e])e=jn[e],t=!0;else if(e==`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var n;return(n=P.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=P.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=P.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=P.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=P.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=P.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=P.hex8.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),a:Bn(n[4]),format:t?`name`:`hex8`}:(n=P.hex6.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),format:t?`name`:`hex`}:(n=P.hex4.exec(e))?{r:M(n[1]+``+n[1]),g:M(n[2]+``+n[2]),b:M(n[3]+``+n[3]),a:Bn(n[4]+``+n[4]),format:t?`name`:`hex8`}:(n=P.hex3.exec(e))?{r:M(n[1]+``+n[1]),g:M(n[2]+``+n[2]),b:M(n[3]+``+n[3]),format:t?`name`:`hex`}:!1}function Hn(e){var t,n;return e=e||{level:`AA`,size:`small`},t=(e.level||`AA`).toUpperCase(),n=(e.size||`small`).toLowerCase(),t!==`AA`&&t!==`AAA`&&(t=`AA`),n!==`small`&&n!==`large`&&(n=`small`),{level:t,size:n}}var Un=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,Wn=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=Un[n[e]&63];return t},Gn=Symbol(`shape-defs-pool`);function Kn(e){if(e.kind===`clipPath`)return`clip:${e.pathString}|${e.viewBox[0]}x${e.viewBox[1]}|${e.bounds[0]}x${e.bounds[1]}`;if(e.kind===`gradient`){let t=e.spec,n=t.stops.map(e=>`${e.position}:${e.color}`).join(`,`);return`grad:${t.gradientType}|${t.angle??0}|${n}|${e.bounds[0]}x${e.bounds[1]}`}if(e.kind===`imagePattern`){let t=e.spec,n=t.crop?`${t.crop.left??0},${t.crop.top??0},${t.crop.right??0},${t.crop.bottom??0}`:``;return`img:${t.src}|fit=${t.fit?.mode??`fill`}|crop=${n}|op=${t.opacity??1}|${e.bounds[0]}x${e.bounds[1]}`}let t=e.spec;return`shd:${t.blur}|${t.color}|${t.offset?.[0]??0},${t.offset?.[1]??0}`}function qn(){let e=Yn();return pe(Gn,e),e}function Jn(){return se(Gn,null)||qn()}function Yn(){let e=v([]);return{entries:e,register:t=>{let n=Kn(t),r=e.value.find(e=>e.fingerprint===n);if(r)return r.refCount++,r.id;let i=`def-${Wn(8)}`;return e.value=[...e.value,{id:i,fingerprint:n,refCount:1,spec:t}],i},unref:t=>{let n=e.value.find(e=>e.id===t);n&&(n.refCount--,n.refCount<=0&&(e.value=e.value.filter(e=>e.id!==t)))}}}var Xn={class:`pptd-defs-pool`,"aria-hidden":`true`,focusable:`false`},Zn=[`id`],Qn=[`d`,`transform`],$n=[`id`],er=[`offset`,`stop-color`,`stop-opacity`],tr=[`id`],nr=[`offset`,`stop-color`,`stop-opacity`],rr=[`id`],ir=[`stdDeviation`,`dx`,`dy`,`flood-color`],ar=[`id`,`width`,`height`],or=[`href`,`width`,`height`,`preserveAspectRatio`,`opacity`],sr=je(x({__name:`DefsPool`,setup(e){let{entries:t}=Jn();function n(e=0,t,n){let r=e*Math.PI/180,i=Math.cos(r),a=Math.sin(r),o=t/2,s=n/2,c=(Math.abs(i)*t+Math.abs(a)*n)/2;return{x1:o-i*c,y1:s-a*c,x2:o+i*c,y2:s+a*c}}function i(e,t){let[n,r]=t,i=e.fit?.mode??`fill`;return{w:n,h:r,preserve:i===`cover`?`xMidYMid slice`:i===`contain`?`xMidYMid meet`:`none`,src:e.src,opacity:e.opacity??1}}function a(e,t){let n=t[0]/Math.max(e[0],1e-6),r=t[1]/Math.max(e[1],1e-6);return n===1&&r===1?void 0:`scale(${n} ${r})`}function o(e){let[t,n]=e;return{cx:t/2,cy:n/2,r:Math.min(t,n)*.3}}function c(e){let t=A(e);return t.isValid()?t.setAlpha(1).toHexString():e}function l(e){let t=A(e);if(!t.isValid())return;let n=t.getAlpha();return n<1?n:void 0}return(e,d)=>(C(),u(`svg`,Xn,[y(`defs`,null,[(C(!0),u(r,null,Ce(fe(t),e=>(C(),u(r,{key:e.id},[e.spec.kind===`clipPath`?(C(),u(`clipPath`,{key:0,id:e.id,clipPathUnits:`userSpaceOnUse`},[y(`path`,{d:e.spec.pathString,transform:a(e.spec.viewBox,e.spec.bounds)},null,8,Qn)],8,Zn)):e.spec.kind===`gradient`&&e.spec.spec.gradientType===`linear`?(C(),u(`linearGradient`,ye({key:1,id:e.id,gradientUnits:`userSpaceOnUse`},{ref_for:!0},n(e.spec.spec.angle,e.spec.bounds[0],e.spec.bounds[1])),[(C(!0),u(r,null,Ce(e.spec.spec.stops,(e,t)=>(C(),u(`stop`,{key:t,offset:e.position,"stop-color":c(e.color),"stop-opacity":l(e.color)},null,8,er))),128))],16,$n)):e.spec.kind===`gradient`&&e.spec.spec.gradientType===`radial`?(C(),u(`radialGradient`,ye({key:2,id:e.id,gradientUnits:`userSpaceOnUse`},{ref_for:!0},o(e.spec.bounds)),[(C(!0),u(r,null,Ce(e.spec.spec.stops,(e,t)=>(C(),u(`stop`,{key:t,offset:e.position,"stop-color":c(e.color),"stop-opacity":l(e.color)},null,8,nr))),128))],16,tr)):e.spec.kind===`shadow`?(C(),u(`filter`,{key:3,id:e.id,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`},[y(`feDropShadow`,{stdDeviation:e.spec.spec.blur/2,dx:e.spec.spec.offset?.[0]??0,dy:e.spec.spec.offset?.[1]??0,"flood-color":e.spec.spec.color},null,8,ir)],8,rr)):e.spec.kind===`imagePattern`?(C(),u(`pattern`,{key:4,id:e.id,patternUnits:`userSpaceOnUse`,width:i(e.spec.spec,e.spec.bounds).w,height:i(e.spec.spec,e.spec.bounds).h},[y(`image`,{href:i(e.spec.spec,e.spec.bounds).src,width:i(e.spec.spec,e.spec.bounds).w,height:i(e.spec.spec,e.spec.bounds).h,preserveAspectRatio:i(e.spec.spec,e.spec.bounds).preserve,opacity:i(e.spec.spec,e.spec.bounds).opacity},null,8,or)],8,ar)):s(``,!0)],64))),128))]),oe(e.$slots,`default`,{},void 0,!0)]))}}),[[`__scopeId`,`data-v-a2588ac6`]]),cr={Colors:{KMBlue:{normal:`#1783FF`,hover:`rgba(22, 127, 247, 1)`,active:`rgba(22, 124, 242, 1)`},Red:{normal:`#FF3849`,hover:`rgba(247, 54, 71, 1)`,active:`rgba(242, 53, 69, 1)`},Red25:{normal:`rgba(255, 56, 73, .25)`,hover:`rgba(227, 50, 65, 0.27249999999999996)`,active:`rgba(211, 46, 60, 0.2875000000000001)`},PositiveGreen:{normal:`#16C456`,hover:`rgba(21, 190, 83, 1)`,active:`rgba(21, 186, 82, 1)`},PositiveGreen25:{normal:`rgba(22, 196, 86, .25)`,hover:`rgba(20, 174, 77, 0.27249999999999996)`,active:`rgba(18, 162, 71, 0.2875000000000001)`},Green:{normal:`#32FF7D`,hover:`rgba(49, 247, 121, 1)`,active:`rgba(48, 242, 119, 1)`},Yellow:{normal:`#FFD230`,hover:`rgba(247, 204, 47, 1)`,active:`rgba(242, 200, 46, 1)`},Orange:{normal:`#FF9500`,hover:`rgba(247, 145, 0, 1)`,active:`rgba(242, 142, 0, 1)`},Purple:{normal:`#985FFB`,hover:`rgba(147, 92, 243, 1)`,active:`rgba(144, 90, 238, 1)`}},Bg:{Primary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},Primary90:{normal:`rgba(255, 255, 255, 0.9)`,hover:`rgba(247, 247, 247, 0.903)`,active:`rgba(241, 241, 241, 0.905)`},Primary70:{normal:`rgba(255, 255, 255, 0.7)`,hover:`rgba(244, 244, 244, 0.709)`,active:`rgba(237, 237, 237, 0.715)`},Secondary:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`},Secondary90:{normal:`rgba(245, 245, 245, 0.9)`,hover:`rgba(237, 237, 237, 0.903)`,active:`rgba(231, 231, 231, 0.905)`},Tertiary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},Tertiary90:{normal:`rgba(255, 255, 255, 0.9)`,hover:`rgba(247, 247, 247, 0.903)`,active:`rgba(241, 241, 241, 0.905)`},GroundPC:{normal:`#F9FBFC`,hover:`rgba(242, 243, 244, 1)`,active:`rgba(237, 238, 239, 1)`},Quaternary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`}},BgGp:{Primary:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`},Primary90:{normal:`rgba(245, 245, 245, 0.9)`,hover:`rgba(237, 237, 237, 0.903)`,active:`rgba(231, 231, 231, 0.905)`},Secondary:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},Secondary90:{normal:`rgba(255, 255, 255, 0.9)`,hover:`rgba(247, 247, 247, 0.903)`,active:`rgba(241, 241, 241, 0.905)`},Tertiary:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`}},Labels:{Primary:{normal:`rgba(0, 0, 0, .9)`,hover:`rgba(0, 0, 0, 0.903)`,active:`rgba(0, 0, 0, 0.905)`},Secondary:{normal:`rgba(0, 0, 0, .6)`,hover:`rgba(0, 0, 0, 0.612)`,active:`rgba(0, 0, 0, 0.62)`},Tertiary:{normal:`rgba(0,0,0,.45)`,hover:`rgba(0, 0, 0, 0.4665)`,active:`rgba(0, 0, 0, 0.47750000000000004)`},Quaternary:{normal:`rgba(0,0,0,.3)`,hover:`rgba(0, 0, 0, 0.32100000000000006)`,active:`rgba(0, 0, 0, 0.3350000000000001)`}},Fills:{F1:{normal:`rgba(0, 0, 0, .03)`,hover:`rgba(0, 0, 0, 0.05910000000000004)`,active:`rgba(0, 0, 0, 0.07850000000000001)`},F2:{normal:`rgba(0, 0, 0, .05)`,hover:`rgba(0, 0, 0, 0.07850000000000001)`,active:`rgba(0, 0, 0, 0.09750000000000003)`},F3:{normal:`rgba(0, 0, 0, .15)`,hover:`rgba(0, 0, 0, 0.1755)`,active:`rgba(0, 0, 0, 0.1925)`},F4:{normal:`rgba(0, 0, 0, .25)`,hover:`rgba(0, 0, 0, 0.27249999999999996)`,active:`rgba(0, 0, 0, 0.2875000000000001)`}},Separators:{S1:{normal:`rgba(0, 0, 0, .13)`,hover:`rgba(0, 0, 0, 0.15610000000000002)`,active:`rgba(0, 0, 0, 0.1735)`}},MaskBg:{Light:{normal:`rgba(0, 0, 0, .1)`,hover:`rgba(0, 0, 0, 0.127)`,active:`rgba(0, 0, 0, 0.14500000000000002)`},Base:{normal:`rgba(0, 0, 0, .4)`,hover:`rgba(0, 0, 0, 0.41800000000000004)`,active:`rgba(0, 0, 0, 0.43000000000000005)`},Dark:{normal:`rgba(0, 0, 0, .6)`,hover:`rgba(0, 0, 0, 0.612)`,active:`rgba(0, 0, 0, 0.62)`},Gray:{normal:`rgba(48, 48, 48, .9)`,hover:`rgba(46, 46, 46, 0.903)`,active:`rgba(45, 45, 45, 0.905)`},ToastIOS:{normal:`rgba(69,69,69,.9)`,hover:`rgba(67, 67, 67, 0.903)`,active:`rgba(65, 65, 65, 0.905)`},ToastAndroid:{normal:`#454545`,hover:`rgba(67, 67, 67, 1)`,active:`rgba(66, 66, 66, 1)`},ToastPC:{normal:`#2B2B2B`,hover:`rgba(42, 42, 42, 1)`,active:`rgba(41, 41, 41, 1)`}},Always:{White:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},WhiteSecondary:{normal:`rgba(255, 255, 255, 0.84)`,hover:`rgba(246, 246, 246, 0.8448)`,active:`rgba(240, 240, 240, 0.848)`},WhiteTertiary:{normal:`rgba(255, 255, 255, 0.56)`,hover:`rgba(242, 242, 242, 0.5732)`,active:`rgba(233, 233, 233, 0.5820000000000001)`},WhiteQuaternary:{normal:`rgba(255, 255, 255, 0.42)`,hover:`rgba(238, 238, 238, 0.4373999999999999)`,active:`rgba(227, 227, 227, 0.44899999999999995)`},Black:{normal:`#000000`,hover:`rgba(0, 0, 0, 1)`,active:`rgba(0, 0, 0, 1)`},TransparencyDarkFill:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(0, 0, 0, 0.612)`,active:`rgba(0, 0, 0, 0.62)`},TransparencyTagFill:{normal:`rgba(69, 69, 69, 0.7)`,hover:`rgba(66, 66, 66, 0.709)`,active:`rgba(64, 64, 64, 0.715)`},TransparencyWhite15:{normal:`rgba(255, 255, 255, 0.15)`,hover:`rgba(211, 211, 211, 0.1755)`,active:`rgba(189, 189, 189, 0.1925)`}},Others:{LightBlueBg:{normal:`#E8F3FF`,hover:`rgba(225, 236, 247, 1)`,active:`rgba(220, 231, 242, 1)`},BubbleBlue:{normal:`#1783FF`,hover:`rgba(22, 127, 247, 1)`,active:`rgba(22, 124, 242, 1)`},BubbleGray_PC:{normal:`#F5F5F5`,hover:`rgba(238, 238, 238, 1)`,active:`rgba(233, 233, 233, 1)`},LightRedBg:{normal:`rgba(255, 77, 77, 0.1)`,hover:`rgba(195, 59, 59, 0.127)`,active:`rgba(167, 50, 50, 0.14500000000000002)`},LightOrangeBg:{normal:`rgba(255, 149, 0, 0.1)`,hover:`rgba(195, 114, 0, 0.127)`,active:`rgba(167, 98, 0, 0.14500000000000002)`},LightGreenBg:{normal:`rgba(22, 196, 86, 0.1)`,hover:`rgba(17, 150, 66, 0.127)`,active:`rgba(14, 128, 56, 0.14500000000000002)`},LightYellowBg:{normal:`rgba(255, 200, 0, 0.2)`,hover:`rgba(221, 173, 0, 0.22399999999999998)`,active:`rgba(202, 158, 0, 0.24)`},KMBlueDisabled:{normal:`rgba(23, 131, 255, 0.4)`,hover:`rgba(21, 122, 237, 0.41800000000000004)`,active:`rgba(20, 116, 225, 0.43000000000000005)`},KMBlue10:{normal:`rgba(23, 131, 255, 0.1)`,hover:`rgba(18, 100, 195, 0.127)`,active:`rgba(15, 86, 167, 0.14500000000000002)`},TextSelected:{normal:`rgba(23, 131, 255, 0.2)`,hover:`rgba(20, 113, 221, 0.22399999999999998)`,active:`rgba(18, 104, 202, 0.24)`},WhiteOnDarkDisabled:{normal:`#FFFFFF`,hover:`rgba(247, 247, 247, 1)`,active:`rgba(242, 242, 242, 1)`},SubLayerBg:{normal:`rgba(0, 0, 0, 0.08)`,hover:`rgba(0, 0, 0, 0.10760000000000003)`,active:`rgba(0, 0, 0, 0.126)`}},Syntax:{Keyword:{normal:`#A626A4`,hover:`rgba(161, 37, 159, 1)`,active:`rgba(158, 36, 156, 1)`},String:{normal:`#50A14F`,hover:`rgba(78, 156, 77, 1)`,active:`rgba(76, 153, 75, 1)`},Literal:{normal:`#986801`,hover:`rgba(147, 101, 1, 1)`,active:`rgba(144, 99, 1, 1)`},Comment:{normal:`#A1A1A1`,hover:`rgba(156, 156, 156, 1)`,active:`rgba(153, 153, 153, 1)`},Metadata:{normal:`#C18401`,hover:`rgba(187, 128, 1, 1)`,active:`rgba(183, 125, 1, 1)`},MultilineComment:{normal:`#A1A1A1`,hover:`rgba(156, 156, 156, 1)`,active:`rgba(153, 153, 153, 1)`},Punctuation:{normal:`#E45649`,hover:`rgba(221, 83, 71, 1)`,active:`rgba(217, 82, 69, 1)`},Mark:{normal:`#526FFF`,hover:`rgba(80, 108, 247, 1)`,active:`rgba(78, 105, 242, 1)`}}},lr={Colors:{KMBlue:{normal:`#1A88FF`,hover:`rgba(37, 142, 255, 1)`,active:`rgba(49, 148, 255, 1)`},Red:{normal:`#FF4756`,hover:`rgba(255, 80, 94, 1)`,active:`rgba(255, 89, 103, 1)`},Red25:{normal:`rgba(255, 71, 86, 0.25)`,hover:`rgba(255, 103, 115, 0.2875000000000001)`,active:`rgba(255, 128, 138, 0.32499999999999996)`},PositiveGreen:{normal:`#16C456`,hover:`rgba(34, 199, 94, 1)`,active:`rgba(45, 202, 103, 1)`},PositiveGreen25:{normal:`rgba(22, 196, 86, 0.25)`,hover:`rgba(63, 206, 115, 0.2875000000000001)`,active:`rgba(94, 214, 138, 0.32499999999999996)`},Green:{normal:`#32FF7D`,hover:`rgba(60, 255, 132, 1)`,active:`rgba(71, 255, 138, 1)`},Yellow:{normal:`#FFD230`,hover:`rgba(255, 212, 58, 1)`,active:`rgba(255, 215, 69, 1)`},Orange:{normal:`#FF9F0A`,hover:`rgba(255, 164, 22, 1)`,active:`rgba(255, 169, 35, 1)`},Purple:{normal:`#A16BFF`,hover:`rgba(166, 114, 255, 1)`,active:`rgba(170, 122, 255, 1)`}},Bg:{Primary:{normal:`#121212`,hover:`rgba(30, 30, 30, 1)`,active:`rgba(42, 42, 42, 1)`},Primary90:{normal:`rgba(18, 18, 18, 0.9)`,hover:`rgba(31, 31, 31, 0.905)`,active:`rgba(44, 44, 44, 0.91)`},Primary70:{normal:`rgba(18, 18, 18, 0.7)`,hover:`rgba(35, 35, 35, 0.715)`,active:`rgba(50, 50, 50, 0.73)`},Secondary:{normal:`#1F1F1F`,hover:`rgba(42, 42, 42, 1)`,active:`rgba(53, 53, 53, 1)`},Secondary90:{normal:`rgba(31, 31, 31, 0.9)`,hover:`rgba(43, 43, 43, 0.905)`,active:`rgba(56, 56, 56, 0.91)`},Tertiary:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`},Tertiary90:{normal:`rgba(41, 41, 41, 0.9)`,hover:`rgba(53, 53, 53, 0.905)`,active:`rgba(65, 65, 65, 0.91)`},GroundPC:{normal:`#161717`,hover:`rgba(34, 35, 35, 1)`,active:`rgba(45, 46, 46, 1)`},Quaternary:{normal:`#4D4D4D`,hover:`rgba(86, 86, 86, 1)`,active:`rgba(95, 95, 95, 1)`}},BgGp:{Primary:{normal:`#121212`,hover:`rgba(30, 30, 30, 1)`,active:`rgba(42, 42, 42, 1)`},Primary90:{normal:`rgba(18, 18, 18, 0.9)`,hover:`rgba(31, 31, 31, 0.905)`,active:`rgba(44, 44, 44, 0.91)`},Secondary:{normal:`#1F1F1F`,hover:`rgba(42, 42, 42, 1)`,active:`rgba(53, 53, 53, 1)`},Secondary90:{normal:`rgba(31, 31, 31, 0.9)`,hover:`rgba(43, 43, 43, 0.905)`,active:`rgba(56, 56, 56, 0.91)`},Tertiary:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`}},Labels:{Primary:{normal:`rgba(255, 255, 255, 0.84)`,hover:`rgba(255, 255, 255, 0.848)`,active:`rgba(255, 255, 255, 0.856)`},Secondary:{normal:`rgba(255, 255, 255, 0.56)`,hover:`rgba(255, 255, 255, 0.5820000000000001)`,active:`rgba(255, 255, 255, 0.6040000000000001)`},Tertiary:{normal:`rgba(255, 255, 255, 0.42)`,hover:`rgba(255, 255, 255, 0.44899999999999995)`,active:`rgba(255, 255, 255, 0.47799999999999987)`},Quaternary:{normal:`rgba(255, 255, 255, 0.26)`,hover:`rgba(255, 255, 255, 0.29700000000000004)`,active:`rgba(255, 255, 255, 0.33399999999999996)`}},Fills:{F1:{normal:`rgba(255, 255, 255, 0.05)`,hover:`rgba(255, 255, 255, 0.09750000000000003)`,active:`rgba(255, 255, 255, 0.14500000000000002)`},F2:{normal:`rgba(255, 255, 255, 0.1)`,hover:`rgba(255, 255, 255, 0.14500000000000002)`,active:`rgba(255, 255, 255, 0.18999999999999995)`},F3:{normal:`rgba(255, 255, 255, 0.18)`,hover:`rgba(255, 255, 255, 0.22099999999999997)`,active:`rgba(255, 255, 255, 0.2619999999999999)`},F4:{normal:`rgba(255, 255, 255, 0.25)`,hover:`rgba(255, 255, 255, 0.2875000000000001)`,active:`rgba(255, 255, 255, 0.32499999999999996)`}},Separators:{S1:{normal:`rgba(255, 255, 255, 0.12)`,hover:`rgba(255, 255, 255, 0.16400000000000003)`,active:`rgba(255, 255, 255, 0.20799999999999996)`}},MaskBg:{Light:{normal:`rgba(0, 0, 0, 0.3)`,hover:`rgba(38, 38, 38, 0.3350000000000001)`,active:`rgba(69, 69, 69, 0.37)`},Base:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(21, 21, 21, 0.62)`,active:`rgba(40, 40, 40, 0.6399999999999999)`},Dark:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(21, 21, 21, 0.62)`,active:`rgba(40, 40, 40, 0.6399999999999999)`},Gray:{normal:`rgba(48, 48, 48, 0.9)`,hover:`rgba(59, 59, 59, 0.905)`,active:`rgba(71, 71, 71, 0.91)`},ToastIOS:{normal:`rgba(89, 89, 89, 0.9)`,hover:`rgba(98, 98, 98, 0.905)`,active:`rgba(107, 107, 107, 0.91)`},ToastAndroid:{normal:`#595959`,hover:`rgba(97, 97, 97, 1)`,active:`rgba(106, 106, 106, 1)`},ToastPC:{normal:`#404040`,hover:`rgba(74, 74, 74, 1)`,active:`rgba(83, 83, 83, 1)`}},Always:{White:{normal:`#FFFFFF`,hover:`rgba(255, 255, 255, 1)`,active:`rgba(255, 255, 255, 1)`},WhiteSecondary:{normal:`rgba(255, 255, 255, 0.84)`,hover:`rgba(255, 255, 255, 0.848)`,active:`rgba(255, 255, 255, 0.856)`},WhiteTertiary:{normal:`rgba(255, 255, 255, 0.56)`,hover:`rgba(255, 255, 255, 0.5820000000000001)`,active:`rgba(255, 255, 255, 0.6040000000000001)`},WhiteQuaternary:{normal:`rgba(255, 255, 255, 0.42)`,hover:`rgba(255, 255, 255, 0.44899999999999995)`,active:`rgba(255, 255, 255, 0.47799999999999987)`},Black:{normal:`#000000`,hover:`rgba(13, 13, 13, 1)`,active:`rgba(26, 26, 26, 1)`},TransparencyDarkFill:{normal:`rgba(0, 0, 0, 0.6)`,hover:`rgba(21, 21, 21, 0.62)`,active:`rgba(40, 40, 40, 0.6399999999999999)`},TransparencyTagFill:{normal:`rgba(69, 69, 69, 0.7)`,hover:`rgba(82, 82, 82, 0.715)`,active:`rgba(94, 94, 94, 0.73)`},TransparencyWhite15:{normal:`rgba(255, 255, 255, 0.15)`,hover:`rgba(255, 255, 255, 0.1925)`,active:`rgba(255, 255, 255, 0.235)`}},Others:{LightBlueBg:{normal:`#1E2A38`,hover:`rgba(41, 53, 66, 1)`,active:`rgba(53, 63, 76, 1)`},BubbleBlue:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`},BubbleGray_PC:{normal:`#292929`,hover:`rgba(52, 52, 52, 1)`,active:`rgba(62, 62, 62, 1)`},LightRedBg:{normal:`rgba(255, 82, 82, 0.1)`,hover:`rgba(255, 142, 142, 0.14500000000000002)`,active:`rgba(255, 173, 173, 0.18999999999999995)`},LightOrangeBg:{normal:`rgba(255, 159, 10, 0.1)`,hover:`rgba(255, 192, 94, 0.14500000000000002)`,active:`rgba(255, 210, 139, 0.18999999999999995)`},LightGreenBg:{normal:`rgba(22, 196, 86, 0.1)`,hover:`rgba(102, 216, 144, 0.14500000000000002)`,active:`rgba(145, 227, 175, 0.18999999999999995)`},LightYellowBg:{normal:`rgba(255, 210, 48, 0.2)`,hover:`rgba(255, 219, 91, 0.24)`,active:`rgba(255, 226, 122, 0.2799999999999999)`},KMBlueDisabled:{normal:`rgba(26, 136, 255, 0.4)`,hover:`rgba(53, 150, 255, 0.43000000000000005)`,active:`rgba(76, 162, 255, 0.45999999999999996)`},KMBlue10:{normal:`rgba(26, 136, 255, 0.1)`,hover:`rgba(105, 177, 255, 0.14500000000000002)`,active:`rgba(147, 199, 255, 0.18999999999999995)`},TextSelected:{normal:`rgba(26, 136, 255, 0.2)`,hover:`rgba(74, 161, 255, 0.24)`,active:`rgba(108, 179, 255, 0.2799999999999999)`},WhiteOnDarkDisabled:{normal:`rgba(255, 255, 255, 0.4)`,hover:`rgba(255, 255, 255, 0.43000000000000005)`,active:`rgba(255, 255, 255, 0.45999999999999996)`},SubLayerBg:{normal:`rgba(255, 255, 255, 0.06)`,hover:`rgba(255, 255, 255, 0.1070000000000001)`,active:`rgba(255, 255, 255, 0.15400000000000003)`}},Syntax:{Keyword:{normal:`#D55FDE`,hover:`rgba(215, 103, 224, 1)`,active:`rgba(217, 111, 225, 1)`},String:{normal:`#89CA78`,hover:`rgba(143, 205, 127, 1)`,active:`rgba(149, 207, 134, 1)`},Literal:{normal:`#D19A66`,hover:`rgba(211, 159, 110, 1)`,active:`rgba(214, 164, 117, 1)`},Comment:{normal:`#5C6370`,hover:`rgba(100, 107, 119, 1)`,active:`rgba(108, 115, 126, 1)`},Metadata:{normal:`#E5C07B`,hover:`rgba(230, 195, 130, 1)`,active:`rgba(232, 198, 136, 1)`},MultilineComment:{normal:`#5C6370`,hover:`rgba(100, 107, 119, 1)`,active:`rgba(108, 115, 126, 1)`},Punctuation:{normal:`#EF596F`,hover:`rgba(240, 97, 118, 1)`,active:`rgba(241, 106, 125, 1)`},Mark:{normal:`#2BBAC5`,hover:`rgba(54, 189, 200, 1)`,active:`rgba(64, 193, 203, 1)`}}},ur={ui:{T1:{fontSize:`18px`,lineHeight:`26px`},T2:{fontSize:`16px`,lineHeight:`24px`},T2_Emphasized:{fontSize:`16px`,lineHeight:`24px`},B1:{fontSize:`15px`,lineHeight:`22px`},B1_Emphasized:{fontSize:`15px`,lineHeight:`22px`},B2:{fontSize:`14px`,lineHeight:`20px`},B2_Emphasized:{fontSize:`14px`,lineHeight:`20px`},C1:{fontSize:`12px`,lineHeight:`18px`},C1_Emphasized:{fontSize:`12px`,lineHeight:`18px`},C2:{fontSize:`10px`,lineHeight:`14px`},C2_Emphasized:{fontSize:`10px`,lineHeight:`14px`}},markdown:{H1_Content:{fontSize:`20px`,lineHeight:`32px`},H2_Content:{fontSize:`18px`,lineHeight:`28px`},B1_Content:{fontSize:`16px`,lineHeight:`26px`},B1_Content_Emphasized:{fontSize:`16px`,lineHeight:`26px`},B1_List_Content:{fontSize:`16px`,lineHeight:`26px`},B1_List_Content_Emphasized:{fontSize:`16px`,lineHeight:`26px`},B2_Content:{fontSize:`15px`,lineHeight:`24px`},B2_Content_Emphasized:{fontSize:`15px`,lineHeight:`24px`},B3_Content:{fontSize:`14px`,lineHeight:`22px`},B3_Content_Emphasized:{fontSize:`14px`,lineHeight:`22px`},Codeblocks:{fontSize:`14px`,lineHeight:`22px`},InlineCode:{fontSize:`16px`,lineHeight:`26px`}}},dr=Symbol(`themeInjectKey`),fr=o(`system`),pr=o(`light`);function mr(){return window.matchMedia(`(prefers-color-scheme: dark)`).matches||window.INJECT_ENV?.theme===`dark`}function hr(e){let t=`light`;t=e===`system`?mr()?`dark`:`light`:e,!(pr.value===t&&document.documentElement.classList.contains(t))&&(pr.value=t,document.documentElement.classList.remove(`dark`,`light`),document.documentElement.classList.add(pr.value))}function gr(e){fr.value=e,hr(e)}function _r(){we(()=>fr.value,e=>{hr(e)}),ge(()=>{try{let e=localStorage.getItem(`CUSTOM_THEME`);if(e){let t=JSON.parse(e);(t===`dark`||t===`light`||t===`system`)&&(fr.value=t)}}catch{}/.*Kimi\/\d.*/.test(navigator.userAgent)&&window.INJECT_ENV?.theme&&(fr.value=window.INJECT_ENV.theme===`dark`?`dark`:`light`),hr(fr.value),_e(window.matchMedia(`(prefers-color-scheme: dark)`),`change`,()=>{fr.value===`system`&&hr(fr.value)})});let e={themeSetting:fr,currentTheme:pr,themeVariables:vr(),fontOptions:ur};return pe(dr,e),e}function vr(){return c(()=>pr.value===`dark`?lr:cr)}function yr(e=!1){let n=g();if(!n)throw Error(`useShowModal must be called within a setup function`);let r=n.root.appContext,i=n.provides,a=x({name:`DynamicHolder`,props:{component:{type:[Object,Function],required:!0},props:{type:Object,required:!0}},setup(e){let n=g();return n.appContext=r,n.root.appContext=r,n.provides=i,()=>t(e.component,{...e.props,onClose:e.props.onClose})}}),o=null,s=(e,t)=>{o||(o=document.createElement(`div`),document.body.appendChild(o));let r=ne(a,{component:e,props:t});r.appContext=n.appContext,h(r,o)},c=()=>{o&&(h(null,o),o.remove(),o=null)};return e||re(()=>{c()}),{mount:s,unmount:c}}var[br,xr]=ie(()=>({queue:v([]),preconditions:[],isShowingDialog:v(!1)}));function Sr(e,t){let n=t.length;for(;n>0&&t[n-1].priority{let t=xr();if(!t)throw Error(`useShowModal must be used within a ModalQueueProvider`);let{queue:n,preconditions:r,isShowingDialog:i}=t,{mount:a,unmount:o}=yr(e.withoutDynamicMount??!1),s=e=>{let t=n.value.indexOf(e);t>=0&&n.value.splice(t,1)},c=()=>{if(i.value)return;let e=n.value[0];e&&(i.value=!0,e.fn(e))};return{showModal:e=>new Promise(t=>{let l=e.priority??0,u=!1,d=n=>{let r=r=>{u||(u=!0,i.value=!1,t(r),o(),e.immediate||(s(n),c()))};a(typeof e.component==`function`?te({loader:e.component}):e.component,{...e.props,onClose:r})},f={fn:d,priority:l};if(e.immediate){d(f);return}Sr(f,n.value),Promise.allSettled(r).then(()=>{c()})}),closeModal:o,setPrecondition:e=>{r.push(e)},queue:n}},wr={bdAll:` + + + + + + + + + +`,bdBottom:` + + + +`,bdDef:` + + +`,bdH:` + + + + + + + + + +`,bdLeft:` + + + +`,bdNone:` + + + + + +`,bdRight:` + + + +`,bdTop:` + + + +`,bdV:` + + + + + + +`,chartLegend:` + + + + + +`,chartValue:` + + + + + + +`,colAdd:` + + + + +`,colDel:` + + + +`,fitContain:` + + + +`,fitCover:` + + + + + + + + +`,fitFill:` + + + + + + +`,merge:` + + + + + + + +`,presenterMode:` + + + + + +`,rowAdd:` + + + + +`,rowDel:` + + + +`,split:` + + + + + + + +`,spark:` + + + + + +`};ue(Me);var Tr=new Set(Object.keys(Me.icons));Object.keys(wr).filter(e=>!Tr.has(e));function Er(e){if(!Tr.has(e)&&Object.prototype.hasOwnProperty.call(wr,e))return wr[e]}var Dr=[`innerHTML`],Or=je(x({inheritAttrs:!1,__name:`index`,props:{name:{},size:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean}},setup(e){let t=e,n=le(),r=c(()=>Er(t.name)),i=e=>{if(e!=null)return typeof e==`string`||typeof e==`number`?e:void 0},a=e=>{if(e!=null){if(typeof e==`number`)return`${e}px`;if(typeof e==`string`)return/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}},o=e=>typeof e==`string`?e:void 0,s=c(()=>{let{name:e,size:r,...a}=t,o=i(r??n.size);return o==null?a:{...a,width:a.width??i(n.width)??o,height:a.height??i(n.height)??o}}),l=c(()=>{let{size:e,...t}=n;return{...t,...s.value}}),d=c(()=>{let{style:e,width:t,height:r,color:i,size:a,...o}=n;return o}),f=c(()=>{let e=a(t.width??n.width??t.size??n.size??t.height??n.height),r=a(t.height??n.height??t.size??n.size??t.width??n.width);return{width:e??`1em`,height:r??`1em`,color:t.color??o(n.color)}});return(e,i)=>r.value?(C(),u(`span`,ye({key:0},d.value,{class:`kimi-icon-svg`,style:[fe(n).style,f.value],innerHTML:r.value}),null,16,Dr)):(C(),b(fe(ve),ye({key:1},l.value,{icon:t.name}),null,16,[`icon`]))}}),[[`__scopeId`,`data-v-177f9c47`]]),kr=je(x({__name:`IconWithBackground`,props:{name:{},size:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean},backgroundColor:{}},setup(e){let t=e,n=e=>{if(e!=null){if(typeof e==`number`)return`${e}px`;if(typeof e==`string`)return/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}},r=c(()=>n(t.width??t.size??t.height)??`20px`);return(e,n)=>(C(),u(`span`,{class:`icon-with-background`,style:f({"--icon-background":t.backgroundColor??`#fff`,"--icon-size":r.value})},[ne(Or,ye({class:`icon-svg`},t),null,16)],4))}}),[[`__scopeId`,`data-v-1b5f1a16`]]),Ar={class:`message-content`},jr=je(x({__name:`Message`,props:{type:{},content:{type:[String,Object,Number,Boolean,null,Array]},closable:{type:Boolean},placement:{}},emits:[`mouseenter`,`mouseleave`,`close`],setup(e,{emit:t}){let i=e,a=t,o=c(()=>xe(i.content));return(t,i)=>(C(),u(`div`,{class:n([`message-container`,`message-container-${e.placement}`]),onMouseenter:i[1]||(i[1]=e=>a(`mouseenter`)),onMouseleave:i[2]||(i[2]=e=>a(`mouseleave`))},[e.type===`success`?(C(),b(fe(Or),{key:0,name:`Check_f`,class:n([`message-icon`,e.type])},null,8,[`class`])):e.type===`loading`?(C(),u(`div`,{key:1,class:n([`message-icon`,e.type])},null,2)):e.type===`error`?(C(),b(fe(Or),{key:2,name:`Close_f`,class:n([`message-icon`,e.type])},null,8,[`class`])):s(``,!0),y(`div`,Ar,[o.value?(C(),b(me(e.content),{key:0})):(C(),u(r,{key:1},[l(m(e.content),1)],64))]),e.closable?(C(),u(`button`,{key:3,class:`message-close`,type:`button`,onClick:i[0]||(i[0]=e=>a(`close`))},`关闭`)):s(``,!0)],34))}}),[[`__scopeId`,`data-v-62d950aa`]]),Mr=je(x({__name:`MessageProvider`,props:{placement:{default:`top`},max:{default:10},duration:{default:3e3},closable:{type:Boolean,default:!1},keepAliveOnHover:{type:Boolean,default:!0}},setup(e){let t=e,i=v({}),a=v([]),s=o({placement:`top`,max:10,duration:3e3,closable:!1,keepAliveOnHover:!0});we(()=>t,e=>{s.value={...s.value,...e}},{deep:!0});let c=e=>{let t=i.value[e];t?.timer&&(clearTimeout(t.timer),t.timer=void 0)},l=e=>{c(e),a.value=a.value.filter(t=>t!==e),i.value[e]?.onClose?.(),i.value=Object.fromEntries(Object.entries(i.value).filter(([t])=>t!==e))},f=e=>{let t=i.value[e];!t||t.duration<=0||(t.timer=setTimeout(()=>{l(e)},t.duration))},p=e=>{i.value[e]?.keepAliveOnHover&&c(e)},m=e=>{let t=i.value[e];t?.keepAliveOnHover&&t.duration>0&&f(e)},h=(e,t,n)=>{let r=`${Date.now()}-${Math.random().toString(36).slice(2)}`,o={key:r,content:e,type:t,duration:n?.duration??s.value.duration,closable:n?.closable??s.value.closable,keepAliveOnHover:n?.keepAliveOnHover??s.value.keepAliveOnHover,onClose:n?.onClose};if(s.value.max&&a.value.length>=s.value.max){let e=a.value.shift();i.value=Object.fromEntries(Object.entries(i.value).filter(([t])=>t!==e))}return a.value.push(r),i.value[r]=o,!n?.noAutoClose&&o.type!==`loading`&&f(r),o};return g()?.root.appContext.app.provide(`messageApi`,{create:(e,t)=>h(e,`default`,t),info:(e,t)=>h(e,`info`,t),success:(e,t)=>h(e,`success`,t),warning:(e,t)=>h(e,`warning`,t),error:(e,t)=>h(e,`error`,t),loading:(e,t)=>h(e,`loading`,t),close:e=>{l(e.key)},destroyAll:()=>{for(let e of a.value)c(e),i.value[e]?.onClose?.();a.value=[],i.value={}}}),(t,a)=>(C(),u(r,null,[oe(t.$slots,`default`,{},void 0,!0),(C(),b(ee,{to:`body`},[y(`div`,{class:n([`message-list-container`,[e.placement]])},[ne(d,{name:`message-fade`,appear:``,class:`message-list`,tag:`div`},{default:ae(()=>[(C(!0),u(r,null,Ce(i.value,t=>(C(),b(jr,{key:t.key,type:t.type,content:t.content,closable:t.closable,placement:e.placement,onMouseenter:e=>p(t.key),onMouseleave:e=>m(t.key),onClose:e=>l(t.key)},null,8,[`type`,`content`,`closable`,`placement`,`onMouseenter`,`onMouseleave`,`onClose`]))),128))]),_:1})],2)]))],64))}}),[[`__scopeId`,`data-v-13db0a2e`]]),Nr=x({__name:`App`,setup(e){let t=_r(),n=de(),r=()=>{hr(n.meta.theme??t.themeSetting.value)};return we(()=>[n.meta.theme,t.themeSetting.value,t.currentTheme.value],r,{immediate:!0}),ge(r),br(),qn(),(e,t)=>{let n=ce(`router-view`);return C(),b(Mr,null,{default:ae(()=>[ne(sr),ne(n)]),_:1})}}}),Pr={class:`menu-content`},Fr=[`data-menu-id`,`onClick`],Ir={class:`text`},Lr={key:0,class:`sub-text`},Rr=je(x({__name:`MenuContent`,props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,i)=>{let a=ce(`menu-content`,!0);return C(),u(`ul`,Pr,[(C(!0),u(r,null,Ce(e.menus,(t,i)=>(C(),u(r,{key:t.text||i},[t.hide?s(``,!0):(C(),u(`li`,{key:0,"data-menu-id":t.id,"data-testid":`context-menu-item`,class:n([`menu-item`,{divider:t.divider,disable:t.disable}]),onClick:Ee(n=>e.handleClickMenuItem(t),[`stop`])},[t.divider?s(``,!0):(C(),u(`div`,{key:0,class:n([`menu-item-content`,{"has-children":t.children,"has-handler":t.handler}])},[y(`span`,Ir,m(t.text),1),t.subText&&!t.children?(C(),u(`span`,Lr,m(t.subText),1)):s(``,!0),t.children&&t.children.length?(C(),b(a,{key:1,class:`sub-menu`,menus:t.children,handleClickMenuItem:e.handleClickMenuItem},null,8,[`menus`,`handleClickMenuItem`])):s(``,!0)],2))],10,Fr))],64))),128))])}}}),[[`__scopeId`,`data-v-dab6a2ce`]]),zr=je(x({__name:`index`,props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){let t=e,n=c(()=>{let{x:e,y:n}=t.axis,r=t.menus.filter(e=>!(e.divider||e.hide)).length,i=t.menus.filter(e=>e.divider).length,a=r*40+i*11+10,o=document.body.clientWidth,s=document.body.clientHeight,c=s<=n+a;return{left:o<=e+180?e-180:e,top:s<=n+a?n-a:n,...c&&{transform:`translateY(-100%)`}}}),i=e=>{e.disable||e.children&&!e.handler||(e.handler&&e.handler(t.el),t.removeContextmenu())};return(t,a)=>(C(),u(r,null,[y(`div`,{class:`mask`,onContextmenu:a[0]||(a[0]=Ee(t=>e.removeContextmenu(),[`prevent`])),onMousedown:a[1]||(a[1]=Ee(t=>e.removeContextmenu(),[`left`]))},null,32),y(`div`,{class:`contextmenu`,style:f({left:n.value.left+`px`,top:n.value.top+`px`}),onContextmenu:a[2]||(a[2]=Ee(()=>{},[`prevent`]))},[ne(Rr,{menus:e.menus,handleClickMenuItem:i},null,8,[`menus`])],36)],64))}}),[[`__scopeId`,`data-v-1967551f`]]),Br=`CTX_CONTEXTMENU_HANDLER`,Vr=(e,t,n)=>{t.stopPropagation(),t.preventDefault();let r=n.value(e);if(!r||!r.length)return;let i=null,a=()=>{i&&(document.body.removeChild(i),i=null),e.classList.remove(`contextmenu-active`),document.body.removeEventListener(`scroll`,a),window.removeEventListener(`resize`,a)},o={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:a};i=document.createElement(`div`),h(ne(zr,o,null),i),document.body.appendChild(i),e.classList.add(`contextmenu-active`),document.body.addEventListener(`scroll`,a),window.addEventListener(`resize`,a)},Hr={mounted(e,t){e[Br]=n=>Vr(e,n,t),e.addEventListener(`contextmenu`,e[Br])},unmounted(e){e&&e[Br]&&(e.removeEventListener(`contextmenu`,e[Br]),delete e[Br])}},Ur=3,Wr={writeUnknownFields:!0};function Gr(e){return e?Object.assign(Object.assign({},Wr),e):Wr}function Kr(e,t,n){return qr(new ze,Gr(n),et(e,t)).finish()}function qr(e,t,n){for(let r of n.sortedFields){if(!n.isSet(r)){if(r.presence==Ur)throw Error(`cannot encode ${r} to binary: required field not set`);continue}Jr(e,t,n,r)}if(t.writeUnknownFields)for(let{no:t,wireType:r,data:i}of n.getUnknown()??[])e.tag(t,r).raw(i);return e}function Jr(e,t,n,r){switch(r.fieldKind){case`scalar`:case`enum`:Yr(e,n.desc.typeName,r.name,r.scalar??O.INT32,r.number,n.get(r));break;case`list`:Zr(e,t,r,n.get(r));break;case`message`:Xr(e,t,r,n.get(r));break;case`map`:for(let[i,a]of n.get(r))Qr(e,t,r,i,a);break}}function Yr(e,t,n,r,i,a){$r(e.tag(i,ei(r)),t,n,r,a)}function Xr(e,t,n,r){n.delimitedEncoding?qr(e.tag(n.number,D.StartGroup),t,r).tag(n.number,D.EndGroup):qr(e.tag(n.number,D.LengthDelimited).fork(),t,r).join()}function Zr(e,t,n,r){if(n.listKind==`message`){for(let i of r)Xr(e,t,n,i);return}let i=n.scalar??O.INT32;if(n.packed){if(!r.size)return;e.tag(n.number,D.LengthDelimited).fork();for(let t of r)$r(e,n.parent.typeName,n.name,i,t);e.join();return}for(let t of r)Yr(e,n.parent.typeName,n.name,i,n.number,t)}function Qr(e,t,n,r,i){switch(e.tag(n.number,D.LengthDelimited).fork(),Yr(e,n.parent.typeName,n.name,n.mapKey,1,r),n.mapKind){case`scalar`:case`enum`:Yr(e,n.parent.typeName,n.name,n.scalar??O.INT32,2,i);break;case`message`:qr(e.tag(2,D.LengthDelimited).fork(),t,i).join();break}e.join()}function $r(e,t,n,r,i){try{switch(r){case O.STRING:e.string(i);break;case O.BOOL:e.bool(i);break;case O.DOUBLE:e.double(i);break;case O.FLOAT:e.float(i);break;case O.INT32:e.int32(i);break;case O.INT64:e.int64(i);break;case O.UINT64:e.uint64(i);break;case O.FIXED64:e.fixed64(i);break;case O.BYTES:e.bytes(i);break;case O.FIXED32:e.fixed32(i);break;case O.SFIXED32:e.sfixed32(i);break;case O.SFIXED64:e.sfixed64(i);break;case O.SINT64:e.sint64(i);break;case O.UINT32:e.uint32(i);break;case O.SINT32:e.sint32(i);break}}catch(e){throw e instanceof Error?Error(`cannot encode field ${t}.${n} to binary: ${e.message}`):e}}function ei(e){switch(e){case O.BYTES:case O.STRING:return D.LengthDelimited;case O.DOUBLE:case O.FIXED64:case O.SFIXED64:return D.Bit64;case O.FIXED32:case O.SFIXED32:case O.FLOAT:return D.Bit32;default:return D.Varint}}function ti(e,t,n){let r=!1;return n||(n=qe(Xe),r=!0),n.value=Kr(e,t),n.typeUrl=ii(t.$typeName),r?n:void 0}function ni(e,t){return e.typeUrl===``?!1:(typeof t==`string`?t:t.typeName)===ai(e.typeUrl)}function ri(e,t){if(e.typeUrl===``)return;let n=t.kind==`message`?t:t.getMessage(ai(e.typeUrl));if(!(!n||!ni(e,n)))return Ye(n,e.value)}function ii(e){return`type.googleapis.com/${e}`}function ai(e){let t=e.lastIndexOf(`/`),n=t>=0?e.substring(t+1):e;if(!n.length)throw Error(`invalid type url: ${e}`);return n}function oi(e,t){ui(t,e);let n=ci(e.$unknown,t),[r,i,a]=li(t);for(let e of n)Ge(r,new $e(e.data),i,e.wireType,{readUnknownFields:!0});return a()}function si(e,t,n){ui(t,e);let r=(e.$unknown??[]).filter(e=>e.no!==t.number),[i,a]=li(t,n),o=new ze;Jr(o,{writeUnknownFields:!0},i,a);let s=new $e(o.finish());for(;s.pos=0;--n)if(e[n].no==t.number)return[e[n]];return[]}return e.filter(e=>e.no===t.number)}function li(e,t){let n=e.typeName,r=Object.assign(Object.assign({},e),{kind:`field`,parent:e.extendee,localName:n}),i=Object.assign(Object.assign({},e.extendee),{fields:[r],members:[r],oneofs:[]}),a=qe(i,t===void 0?void 0:{[n]:t});return[et(i,a),r,()=>{let t=a[n];if(t===void 0){let t=e.message;return Ke(t)?Fe(t.fields[0].scalar,t.fields[0].longAsString):qe(t)}return t}]}function ui(e,t){if(e.extendee.typeName!=t.$typeName)throw Error(`extension ${e.typeName} can only be applied to message ${e.extendee.typeName}`)}var di=3,fi=2,pi={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function mi(e){return e?Object.assign(Object.assign({},pi),e):pi}function hi(e,t,n){return _i(et(e,t),mi(n))}function gi(e,t,n){let r=hi(e,t,n);return JSON.stringify(r,null,n?.prettySpaces??0)}function _i(e,t){let n=wi(e,t);if(n!==void 0)return n;let r={};for(let n of e.sortedFields){if(!e.isSet(n)){if(n.presence==di)throw Error(`cannot encode ${n} to JSON: required field not set`);if(!t.alwaysEmitImplicit||n.presence!==fi)continue}let i=vi(n,e.get(n),t);i!==void 0&&(r[Ci(n,t)]=i)}if(t.registry){let n=new Set;for(let{no:i}of e.getUnknown()??[])if(!n.has(i)){n.add(i);let a=t.registry.getExtensionFor(e.desc,i);if(!a)continue;let[o,s]=li(a,oi(e.message,a)),c=vi(s,o.get(s),t);c!==void 0&&(r[a.jsonName]=c)}}return r}function vi(e,t,n){switch(e.fieldKind){case`scalar`:return Si(e,t);case`message`:return _i(t,n);case`enum`:return xi(e.enum,t,n.enumAsInteger);case`list`:return bi(t,n);case`map`:return yi(t,n)}}function yi(e,t){let n=e.field(),r={};switch(n.mapKind){case`scalar`:for(let[t,i]of e)r[t]=Si(n,i);break;case`message`:for(let[n,i]of e)r[n]=_i(i,t);break;case`enum`:for(let[i,a]of e)r[i]=xi(n.enum,a,t.enumAsInteger);break}return t.alwaysEmitImplicit||e.size>0?r:void 0}function bi(e,t){let n=e.field(),r=[];switch(n.listKind){case`scalar`:for(let t of e)r.push(Si(n,t));break;case`enum`:for(let i of e)r.push(xi(n.enum,i,t.enumAsInteger));break;case`message`:for(let n of e)r.push(_i(n,t));break}return t.alwaysEmitImplicit||r.length>0?r:void 0}function xi(e,t,n){if(typeof t!=`number`)throw Error(`cannot encode ${e} to JSON: expected number, got ${E(t)}`);return e.typeName==`google.protobuf.NullValue`?null:n?t:e.value[t]?.name??t}function Si(e,t){switch(e.scalar){case O.INT32:case O.SFIXED32:case O.SINT32:case O.FIXED32:case O.UINT32:if(typeof t!=`number`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return t;case O.FLOAT:case O.DOUBLE:if(typeof t!=`number`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return Number.isNaN(t)?`NaN`:t===1/0?`Infinity`:t===-1/0?`-Infinity`:t;case O.STRING:if(typeof t!=`string`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return t;case O.BOOL:if(typeof t!=`boolean`)throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);return t;case O.UINT64:case O.FIXED64:case O.INT64:case O.SFIXED64:case O.SINT64:if(typeof t==`bigint`||typeof t==`string`||typeof t==`number`&&Number.isInteger(t))return t.toString();throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`);case O.BYTES:if(t instanceof Uint8Array)return Ve(t);throw Error(`cannot encode ${e} to JSON: ${Re(e,t)?.message}`)}}function Ci(e,t){return t.useProtoFieldName?e.name:e.jsonName}function wi(e,t){if(e.desc.typeName.startsWith(`google.protobuf.`))switch(e.desc.typeName){case`google.protobuf.Any`:return Ti(e.message,t);case`google.protobuf.Timestamp`:return ji(e.message);case`google.protobuf.Duration`:return Ei(e.message);case`google.protobuf.FieldMask`:return Di(e.message);case`google.protobuf.Struct`:return Oi(e.message);case`google.protobuf.Value`:return ki(e.message);case`google.protobuf.ListValue`:return Ai(e.message);default:if(Ke(e.desc)){let t=e.desc.fields[0];return Si(t,e.get(t))}return}}function Ti(e,t){if(e.typeUrl===``)return{};let{registry:n}=t,r,i;if(n&&(r=ri(e,n),r&&(i=n.getMessage(r.$typeName))),!i||!r)throw Error(`cannot encode message ${e.$typeName} to JSON: "${e.typeUrl}" is not in the type registry`);let a=et(i,r),o=Ne(i)?{value:wi(a,t)}:_i(a,t);return o[`@type`]=e.typeUrl,o}function Ei(e){let t=Number(e.seconds),n=e.nanos;if(t>315576e6||t<-315576e6)throw Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);if(t>0&&n<0||t<0&&n>0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos sign must match seconds sign`);let r=e.seconds.toString();if(n!==0){let e=Math.abs(n).toString();e=`0`.repeat(9-e.length)+e,e.substring(3)===`000000`?e=e.substring(0,3):e.substring(6)===`000`&&(e=e.substring(0,6)),r+=`.`+e,n<0&&t==0&&(r=`-`+r)}return r+`s`}function Di(e){return e.paths.map(t=>{if(Qe(Be(t))!==t)throw Error(`cannot encode message ${e.$typeName} to JSON: lowerCamelCase of path name "${t}" is irreversible`);return Be(t)}).join(`,`)}function Oi(e){let t={};for(let[n,r]of Object.entries(e.fields))t[n]=ki(r);return t}function ki(e){switch(e.kind.case){case`nullValue`:return null;case`numberValue`:if(!Number.isFinite(e.kind.value))throw Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case`boolValue`:return e.kind.value;case`stringValue`:return e.kind.value;case`structValue`:return Oi(e.kind.value);case`listValue`:return Ai(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function Ai(e){return e.values.map(ki)}function ji(e){let t=Number(e.seconds)*1e3;if(tDate.parse(`9999-12-31T23:59:59Z`))throw Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);if(e.nanos>999999999)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be greater than 99999999`);let n=`Z`;if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);n=t.substring(3)===`000000`?`.`+t.substring(0,3)+`Z`:t.substring(6)===`000`?`.`+t.substring(0,6)+`Z`:`.`+t+`Z`}return new Date(t).toISOString().replace(`.000Z`,n)}var Mi={ignoreUnknownFields:!1};function Ni(e){return e?Object.assign(Object.assign({},Mi),e):Mi}function Pi(e,t,n){return Fi(e,Qi(t,e.typeName),n)}function Fi(e,t,n){let r=et(e);try{Ri(r,t,Ni(n))}catch(e){throw Le(e)?Error(`cannot decode ${e.field()} from JSON: ${e.message}`,{cause:e}):e}return r.message}var Ii=new WeakMap;function Li(e,t){if(!Ii.has(e)){let t=new Map;for(let n of e.fields)t.set(n.name,n).set(n.jsonName,n);Ii.set(e,t)}return Ii.get(e)?.get(t)}function Ri(e,t,n){if($i(e,t,n))return;if(t==null||Array.isArray(t)||typeof t!=`object`)throw Error(`cannot decode ${e.desc} from JSON: ${E(t)}`);let r=new Map;for(let[i,a]of Object.entries(t)){let t=Li(e.desc,i);if(t){if(t.oneof){if(a===null&&t.fieldKind==`scalar`)continue;let e=r.get(t.oneof);if(e!==void 0)throw new Pe(t.oneof,`oneof set multiple times by ${e.name} and ${t.name}`);r.set(t.oneof,t)}zi(e,t,a,n)}else{let t;if(i.startsWith(`[`)&&i.endsWith(`]`)&&(t=n.registry?.getExtension(i.substring(1,i.length-1)))&&t.extendee.typeName===e.desc.typeName){let[r,i,o]=li(t);zi(r,i,a,n),si(e.message,t,o())}if(!t&&!n.ignoreUnknownFields)throw Error(`cannot decode ${e.desc} from JSON: key "${i}" is unknown`)}}}function zi(e,t,n,r){switch(t.fieldKind){case`scalar`:Gi(e,t,n);break;case`enum`:Wi(e,t,n,r);break;case`message`:Ui(e,t,n,r);break;case`list`:Hi(e.get(t),n,r);break;case`map`:Vi(e.get(t),n,r);break}}function Bi(e,t,n){if(e.scalar&&t!==null)return Yi(e,t);if(e.message&&!Ki(e,t)){let r=et(e.message);return Ri(r,t,n),r}if(e.enum&&!Ki(e,t))return Ji(e.enum,t,n.ignoreUnknownFields);throw new Pe(e,`${e.fieldKind===`list`?`list item`:`map value`} must not be null`)}function Vi(e,t,n){if(t===null)return;let r=e.field();if(typeof t!=`object`||Array.isArray(t))throw new Pe(r,`expected object, got `+E(t));for(let[i,a]of Object.entries(t)){let t=Xi(r.mapKey,i),o=Bi(r,a,n);o!==qi&&e.set(t,o)}}function Hi(e,t,n){if(t===null)return;let r=e.field();if(!Array.isArray(t))throw new Pe(r,`expected Array, got `+E(t));for(let i of t){let t=Bi(r,i,n);t!==qi&&e.add(t)}}function Ui(e,t,n,r){if(Ki(t,n)){e.clear(t);return}let i=e.isSet(t)?e.get(t):et(t.message);Ri(i,n,r),e.set(t,i)}function Wi(e,t,n,r){if(Ki(t,n)){e.clear(t);return}let i=Ji(t.enum,n,r.ignoreUnknownFields);i!==qi&&e.set(t,i)}function Gi(e,t,n){n===null?e.clear(t):e.set(t,Yi(t,n))}function Ki(e,t){return t===null&&e.message?.typeName!=`google.protobuf.Value`&&e.enum?.typeName!=`google.protobuf.NullValue`}var qi=Symbol();function Ji(e,t,n){if(t===null)return e.values[0].number;switch(typeof t){case`number`:if(Number.isInteger(t))return t;break;case`string`:let r=e.values.find(e=>e.name===t);if(r!==void 0)return r.number;if(n)return qi;break}throw Error(`cannot decode ${e} from JSON: ${E(t)}`)}function Yi(e,t){switch(e.scalar){case O.DOUBLE:case O.FLOAT:if(t===`NaN`)return NaN;if(t===`Infinity`)return 1/0;if(t===`-Infinity`)return-1/0;if(typeof t==`number`){if(Number.isNaN(t))throw new Pe(e,`unexpected NaN number`);if(!Number.isFinite(t))throw new Pe(e,`unexpected infinite number`);break}if(typeof t==`string`){if(t===``||t.trim().length!==t.length)break;let e=Number(t);if(!Number.isFinite(e))break;return e}break;case O.INT32:case O.FIXED32:case O.SFIXED32:case O.SINT32:case O.UINT32:return Zi(t);case O.BYTES:if(typeof t==`string`){if(t===``)return new Uint8Array;try{return tt(t)}catch(t){throw new Pe(e,t instanceof Error?t.message:String(t))}}break}return t}function Xi(e,t){switch(e){case O.BOOL:switch(t){case`true`:return!0;case`false`:return!1}return t;case O.INT32:case O.FIXED32:case O.UINT32:case O.SFIXED32:case O.SINT32:return Zi(t);default:return t}}function Zi(e){if(typeof e==`string`){if(e===``||e.trim().length!==e.length)return e;let t=Number(e);return Number.isNaN(t)?e:t}return e}function Qi(e,t){try{return JSON.parse(e)}catch(e){let n=e instanceof Error?e.message:String(e);throw Error(`cannot decode message ${t} from JSON: ${n}`,{cause:e})}}function $i(e,t,n){if(!e.desc.typeName.startsWith(`google.protobuf.`))return!1;switch(e.desc.typeName){case`google.protobuf.Any`:return ea(e.message,t,n),!0;case`google.protobuf.Timestamp`:return ta(e.message,t),!0;case`google.protobuf.Duration`:return na(e.message,t),!0;case`google.protobuf.FieldMask`:return ra(e.message,t),!0;case`google.protobuf.Struct`:return ia(e.message,t),!0;case`google.protobuf.Value`:return aa(e.message,t),!0;case`google.protobuf.ListValue`:return oa(e.message,t),!0;default:if(Ke(e.desc)){let n=e.desc.fields[0];return t===null?e.clear(n):e.set(n,Yi(n,t)),!0}return!1}}function ea(e,t,n){if(t===null||Array.isArray(t)||typeof t!=`object`)throw Error(`cannot decode message ${e.$typeName} from JSON: expected object but got ${E(t)}`);if(Object.keys(t).length==0)return;let r=t[`@type`];if(typeof r!=`string`||r==``)throw Error(`cannot decode message ${e.$typeName} from JSON: "@type" is empty`);let i=r.includes(`/`)?r.substring(r.lastIndexOf(`/`)+1):r;if(!i.length)throw Error(`cannot decode message ${e.$typeName} from JSON: "@type" is invalid`);let a=n.registry?.getMessage(i);if(!a)throw Error(`cannot decode message ${e.$typeName} from JSON: ${r} is not in the type registry`);let o=et(a);if(Ne(a)&&Object.prototype.hasOwnProperty.call(t,`value`)){let e=t.value;Ri(o,e,n)}else{let e=Object.assign({},t);delete e[`@type`],Ri(o,e,n)}ti(o.desc,o.message,e)}function ta(e,t){if(typeof t!=`string`)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);let n=t.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.([0-9]{1,9}))?(?:Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!n)throw Error(`cannot decode message ${e.$typeName} from JSON: invalid RFC 3339 string`);let r=Date.parse(n[1]+`-`+n[2]+`-`+n[3]+`T`+n[4]+`:`+n[5]+`:`+n[6]+(n[8]?n[8]:`Z`));if(Number.isNaN(r))throw Error(`cannot decode message ${e.$typeName} from JSON: invalid RFC 3339 string`);if(rDate.parse(`9999-12-31T23:59:59Z`))throw Error(`cannot decode message ${e.$typeName} from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);e.seconds=Ie.parse(r/1e3),e.nanos=0,n[7]&&(e.nanos=parseInt(`1`+n[7]+`0`.repeat(9-n[7].length))-1e9)}function na(e,t){if(typeof t!=`string`)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);let n=t.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);if(n===null)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);let r=Number(n[1]);if(r>315576e6||r<-315576e6)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);if(e.seconds=Ie.parse(r),typeof n[2]!=`string`)return;let i=n[2]+`0`.repeat(9-n[2].length);e.nanos=parseInt(i),(r<0||Object.is(r,-0))&&(e.nanos=-e.nanos)}function ra(e,t){if(typeof t!=`string`)throw Error(`cannot decode message ${e.$typeName} from JSON: ${E(t)}`);t!==``&&(e.paths=t.split(`,`).map(t=>{if(t.includes(`_`))throw Error(`cannot decode message ${e.$typeName} from JSON: path names must be lowerCamelCase`);return Qe(t)}))}function ia(e,t){if(typeof t!=`object`||!t||Array.isArray(t))throw Error(`cannot decode message ${e.$typeName} from JSON ${E(t)}`);for(let[n,r]of Object.entries(t)){let t=qe(Ue);aa(t,r),e.fields[n]=t}}function aa(e,t){switch(typeof t){case`number`:e.kind={case:`numberValue`,value:t};break;case`string`:e.kind={case:`stringValue`,value:t};break;case`boolean`:e.kind={case:`boolValue`,value:t};break;case`object`:if(t===null)e.kind={case:`nullValue`,value:Ze.NULL_VALUE};else if(Array.isArray(t)){let n=qe(Je);oa(n,t),e.kind={case:`listValue`,value:n}}else{let n=qe(He);ia(n,t),e.kind={case:`structValue`,value:n}}break;default:throw Error(`cannot decode message ${e.$typeName} from JSON ${E(t)}`)}return e}function oa(e,t){if(!Array.isArray(t))throw Error(`cannot decode message ${e.$typeName} from JSON ${E(t)}`);for(let n of t){let t=qe(Ue);aa(t,n),e.values.push(t)}}var I;(function(e){e[e.Canceled=1]=`Canceled`,e[e.Unknown=2]=`Unknown`,e[e.InvalidArgument=3]=`InvalidArgument`,e[e.DeadlineExceeded=4]=`DeadlineExceeded`,e[e.NotFound=5]=`NotFound`,e[e.AlreadyExists=6]=`AlreadyExists`,e[e.PermissionDenied=7]=`PermissionDenied`,e[e.ResourceExhausted=8]=`ResourceExhausted`,e[e.FailedPrecondition=9]=`FailedPrecondition`,e[e.Aborted=10]=`Aborted`,e[e.OutOfRange=11]=`OutOfRange`,e[e.Unimplemented=12]=`Unimplemented`,e[e.Internal=13]=`Internal`,e[e.Unavailable=14]=`Unavailable`,e[e.DataLoss=15]=`DataLoss`,e[e.Unauthenticated=16]=`Unauthenticated`})(I||(I={}));function sa(e){let t=I[e];return typeof t==`string`?t[0].toLowerCase()+t.substring(1).replace(/[A-Z]/g,e=>`_`+e.toLowerCase()):e.toString()}var ca;function la(e){if(!ca){ca={};for(let e of Object.values(I))typeof e!=`string`&&(ca[sa(e)]=e)}return ca[e]}var L=class e extends Error{constructor(e,t=I.Unknown,n,r,i){super(ua(e,t)),this.name=`ConnectError`,Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=e,this.code=t,this.metadata=new Headers(n??{}),this.details=r??[],this.cause=i}static from(t,n=I.Unknown){return t instanceof e?t:t instanceof Error?t.name==`AbortError`||t.name==`TimeoutError`?new e(t.message,I.Canceled):new e(t.message,n,void 0,void 0,t):new e(String(t),n,void 0,void 0,t)}static[Symbol.hasInstance](t){return t instanceof Error?Object.getPrototypeOf(t)===e.prototype?!0:t.name===`ConnectError`&&`code`in t&&typeof t.code==`number`&&`metadata`in t&&`details`in t&&Array.isArray(t.details)&&`rawMessage`in t&&typeof t.rawMessage==`string`&&`cause`in t:!1}findDetails(e){let t=e.kind===`message`?{getMessage:t=>t===e.typeName?e:void 0}:e,n=[];for(let e of this.details){if(`desc`in e){t.getMessage(e.desc.typeName)&&n.push(qe(e.desc,e.value));continue}let r=t.getMessage(e.type);if(r)try{n.push(Ye(r,e.value))}catch{}}return n}};function ua(e,t){return e.length?`[${sa(t)}] ${e}`:`[${sa(t)}]`}function da(...e){let t=new Headers;for(let n of e)n.forEach((e,n)=>{t.append(n,e)});return t}function fa(e,t){let n={};for(let r of e.methods){let e=t(r);e!=null&&(n[r.localName]=e)}return n}function pa(e,t,n=!1){if(t>e){let r=`message size is larger than configured readMaxBytes ${e}`;throw n&&(r=`message size ${t} is larger than configured readMaxBytes ${e}`),new L(r,I.ResourceExhausted)}}function ma(e){return new ha(e)}var ha=class{constructor(e){this.readMaxBytes=e,this.header=new Uint8Array(5),this.headerView=new DataView(this.header.buffer),this.buf=[]}get byteLength(){return this.buf.reduce((e,t)=>e+t.byteLength,0)}decode(e){this.buf.push(e);let t=[];for(;;){let e=this.pop();if(!e)break;t.push(e)}return t}pop(){if(!(!this.env&&(this.env=this.head(),!this.env))&&this.cons(this.env.data)){let e=this.env;return this.env=void 0,e}}head(){if(!this.cons(this.header))return;let e=this.headerView.getUint8(0),t=this.headerView.getUint32(1);return pa(this.readMaxBytes,t,!0),{flags:e,data:new Uint8Array(t)}}cons(e){let t=e.byteLength;if(this.byteLengtht-n?(e.set(r.subarray(0,t-n),n),this.buf.unshift(r.subarray(t-n)),n+=t-n):(e.set(r,n),n+=r.byteLength)}return!0}};function ga(e){let t,n=ma(4294967295);return new ReadableStream({start(){t=e.getReader()},async pull(e){let r=!1;for(;!r;){let i=await t.read();if(i.done)n.byteLength>0&&e.error(new L(`protocol error: incomplete envelope`,I.InvalidArgument)),e.close();else for(let t of n.decode(i.value))e.enqueue(t),r=!0}}})}function _a(e,t){let n=new Uint8Array(t.length+5);n.set(t,5);let r=new DataView(n.buffer,n.byteOffset,n.byteLength);return r.setUint8(0,e),r.setUint32(1,t.length),n}var va=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},ya=function(e){return this instanceof ya?(this.v=e,this):new ya(e)},ba=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof ya?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},xa=function(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:ya(e[r](t)),done:!1}:i?i(t):t}:i}};function Sa(e){return ba(this,arguments,function*(){yield ya(yield*xa(va(e)))})}var Ca=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},wa=function(e){return this instanceof wa?(this.v=e,this):new wa(e)},Ta=function(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:wa(e[r](t)),done:!1}:i?i(t):t}:i}},Ea=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof wa?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};function Da(e,t){return fa(e,e=>{switch(e.methodKind){case`unary`:return Oa(t,e);case`server_streaming`:return ka(t,e);case`client_streaming`:return Aa(t,e);case`bidi_streaming`:return ja(t,e);default:return null}})}function Oa(e,t){return async(n,r)=>{var i,a;let o=await e.unary(t,r?.signal,r?.timeoutMs,r?.headers,n,r?.contextValues);return(i=r?.onHeader)==null||i.call(r,o.header),(a=r?.onTrailer)==null||a.call(r,o.trailer),o.message}}function ka(e,t){return(n,r)=>Ma(e.stream(t,r?.signal,r?.timeoutMs,r?.headers,Sa([n]),r?.contextValues),r)}function Aa(e,t){return async(n,r)=>{var i,a,o,s,c,l;let u=await e.stream(t,r?.signal,r?.timeoutMs,r?.headers,n,r?.contextValues);(c=r?.onHeader)==null||c.call(r,u.header);let d,f=0;try{for(var p=!0,m=Ca(u.message),h;h=await m.next(),i=h.done,!i;p=!0)s=h.value,p=!1,d=s,f++}catch(e){a={error:e}}finally{try{!p&&!i&&(o=m.return)&&await o.call(m)}finally{if(a)throw a.error}}if(!d)throw new L(`protocol error: missing response message`,I.Unimplemented);if(f>1)throw new L(`protocol error: received extra messages for client streaming method`,I.Unimplemented);return(l=r?.onTrailer)==null||l.call(r,u.trailer),d}}function ja(e,t){return(n,r)=>Ma(e.stream(t,r?.signal,r?.timeoutMs,r?.headers,n,r?.contextValues),r)}function Ma(e,t){let n=(function(){return Ea(this,arguments,function*(){var n,r;let i=yield wa(e);(n=t?.onHeader)==null||n.call(t,i.header),yield wa(yield*Ta(Ca(i.message))),(r=t?.onTrailer)==null||r.call(t,i.trailer)})})()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>n.next()})}}function Na(...e){let t=new AbortController,n=e.filter(e=>e!==void 0).concat(t.signal);for(let e of n){if(e.aborted){r.apply(e);break}e.addEventListener(`abort`,r)}function r(){t.signal.aborted||t.abort(Fa(this));for(let e of n)e.removeEventListener(`abort`,r)}return t}function Pa(e){let t=new AbortController,n=()=>{t.abort(new L(`the operation timed out`,I.DeadlineExceeded))},r;return e!==void 0&&(e<=0?n():r=setTimeout(n,e)),{signal:t.signal,cleanup:()=>clearTimeout(r)}}function Fa(e){if(!e.aborted)return;if(e.reason!==void 0)return e.reason;let t=Error(`This operation was aborted`);return t.name=`AbortError`,t}function Ia(){return{get(e){return e.id in this?this[e.id]:e.defaultValue},set(e,t){return this[e.id]=t,this},delete(e){return delete this[e.id],this}}}function La(e,t){return e.toString().replace(/\/?$/,`/${t.parent.typeName}/${t.name}`)}function Ra(e,t){return qe(e,t)}function za(e,t){function n(t){return t.done===!0?t:{done:t.done,value:Ra(e,t.value)}}return{[Symbol.asyncIterator](){let e=t[Symbol.asyncIterator](),r={next:()=>e.next().then(n)};return e.throw!==void 0&&(r.throw=t=>e.throw(t).then(n)),e.return!==void 0&&(r.return=t=>e.return(t).then(n)),r}}}function Ba(e,t){if(!t)return e;for(let n of t.concat().reverse())e=n(e);return e}function Va(e){let t=Object.assign({},e);return t.ignoreUnknownFields??(t.ignoreUnknownFields=!0),t}function Ha(e,t,n,r){let i=t?Ua(e.input,r):Wa(e.input,n);return{parse:(t?Ua(e.output,r):Wa(e.output,n)).parse,serialize:i.serialize}}function Ua(e,t){return{parse(n){try{return Ye(e,n,t)}catch(e){throw new L(`parse binary: ${e instanceof Error?e.message:String(e)}`,I.Internal)}},serialize(n){try{return Kr(e,n,t)}catch(e){throw new L(`serialize binary: ${e instanceof Error?e.message:String(e)}`,I.Internal)}}}}function Wa(e,t){let n=t?.textEncoder??new TextEncoder,r=t?.textDecoder??new TextDecoder,i=Va(t);return{parse(t){try{return Pi(e,r.decode(t),i)}catch(e){throw L.from(e,I.InvalidArgument)}},serialize(t){try{let r=gi(e,t,i);return n.encode(r)}catch(e){throw L.from(e,I.Internal)}}}}var Ga=/^application\/(connect\+)?(?:(json)(?:; ?charset=utf-?8)?|(proto))$/i,Ka=`application/proto`,qa=`application/json`,Ja=`application/connect+proto`,Ya=`application/connect+json`;function Xa(e){let t=e?.match(Ga);if(t)return{stream:!!t[1],binary:!!t[3]}}function Za(e,t,n){if(t&&new Headers(t).forEach((e,t)=>n.metadata.append(t,e)),typeof e!=`object`||!e||Array.isArray(e))throw n;let r=n.code;`code`in e&&typeof e.code==`string`&&(r=la(e.code)??r);let i=e.message;if(i!=null&&typeof i!=`string`)throw n;let a=new L(i??``,r,t);if(`details`in e&&Array.isArray(e.details))for(let t of e.details){if(typeof t!=`object`||!t||Array.isArray(t)||typeof t.type!=`string`||typeof t.value!=`string`)throw n;try{a.details.push({type:t.type,value:tt(t.value),debug:t.debug})}catch{throw n}}return a}function Qa(e){let t=new L(`invalid end stream`,I.Unknown),n;try{n=JSON.parse(typeof e==`string`?e:new TextDecoder().decode(e))}catch{throw t}if(typeof n!=`object`||!n||Array.isArray(n))throw t;let r=new Headers;if(`metadata`in n){if(typeof n.metadata!=`object`||n.metadata==null||Array.isArray(n.metadata))throw t;for(let[e,i]of Object.entries(n.metadata)){if(!Array.isArray(i)||i.some(e=>typeof e!=`string`))throw t;for(let t of i)r.append(e,t)}}return{metadata:r,error:`error`in n&&n.error!=null?Za(n.error,r,t):void 0}}var $a=`Content-Type`,eo=`Content-Length`,to=`Content-Encoding`,no=`Accept-Encoding`,ro=`Connect-Timeout-Ms`,io=`Connect-Protocol-Version`,ao=`User-Agent`;function oo(e){switch(e){case 400:return I.Internal;case 401:return I.Unauthenticated;case 403:return I.PermissionDenied;case 404:return I.Unimplemented;case 429:return I.Unavailable;case 502:return I.Unavailable;case 503:return I.Unavailable;case 504:return I.Unavailable;default:return I.Unknown}}function so(e){let t=new Headers,n=new Headers;return e.forEach((e,r)=>{r.toLowerCase().startsWith(`trailer-`)?n.append(r.substring(8),e):t.append(r,e)}),[t,n]}function co(e,t,n,r,i){let a=new Headers(r??{});return n!==void 0&&a.set(ro,`${n}`),a.set($a,e==`unary`?t?Ka:qa:t?Ja:Ya),a.set(io,`1`),!a.has(`User-Agent`)&&i&&a.set(ao,`connect-es/2.1.1`),a}function lo(e,t,n,r){let i=r.get($a),a=Xa(i);if(n!==200){let t=new L(`HTTP ${n}`,oo(n),r);if(e==`unary`&&a&&!a.binary)return{isUnaryError:!0,unaryError:t};throw t}let o={binary:t,stream:e!==`unary`};if(a?.binary!==o.binary||a.stream!==o.stream)throw new L(`unsupported content type ${i}`,a===void 0?I.Unknown:I.Internal,r);return{isUnaryError:!1}}var uo=`application/`;function fo(e,t){return t?Ve(e,`url`):encodeURIComponent(new TextDecoder().decode(e))}function po(e,t,n){let r=`?connect=v1`,i=e.header.get($a);i?.indexOf(uo)===0&&(r+=`&encoding=`+encodeURIComponent(i.slice(12)));let a=e.header.get(to);a!==null&&a!==`identity`&&(r+=`&compression=`+encodeURIComponent(a),n=!0),n&&(r+=`&base64=1`),r+=`&message=`+fo(t,n);let o=e.url+r,s=new Headers(e.header);for(let e of[io,$a,eo,to,no])s.delete(e);return Object.assign(Object.assign({},e),{requestMethod:`GET`,url:o,header:s})}function mo(e){let t=Ba(e.next,e.interceptors),[n,r,i]=go(e);return t(Object.assign(Object.assign({},e.req),{message:Ra(e.req.method.input,e.req.message),signal:n})).then(e=>(i(),e),r)}function ho(e){let t=Ba(e.next,e.interceptors),[n,r,i]=go(e),a=Object.assign(Object.assign({},e.req),{message:za(e.req.method.input,e.req.message),signal:n}),o=!1;return n.addEventListener(`abort`,function(){var t,n;let r=e.req.message[Symbol.asyncIterator]();o||(t=r.throw)==null||t.call(r,this.reason).catch(()=>{}),(n=r.return)==null||n.call(r).catch(()=>{})}),t(a).then(e=>Object.assign(Object.assign({},e),{message:{[Symbol.asyncIterator](){let t=e.message[Symbol.asyncIterator]();return{next(){return t.next().then(e=>(e.done==1&&(o=!0,i()),e),r)}}}}}),r)}function go(e){let{signal:t,cleanup:n}=Pa(e.timeoutMs),r=Na(e.signal,t);return[r.signal,function(e){let i=L.from(t.aborted?Fa(t):e);return r.abort(i),n(),Promise.reject(i)},function(){n(),r.abort()}]}function _o(){try{new Headers}catch{throw Error(`connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.`)}}var vo=function(e){return this instanceof vo?(this.v=e,this):new vo(e)},yo=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof vo?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},bo={redirect:`error`};function xo(e){_o();let t=e.useBinaryFormat??!1;return{async unary(n,r,i,a,o,s){let{serialize:c,parse:l}=Ha(n,t,e.jsonOptions,e.binaryOptions);return i=i===void 0?e.defaultTimeoutMs:i<=0?void 0:i,await mo({interceptors:e.interceptors,signal:r,timeoutMs:i,req:{stream:!1,service:n.parent,method:n,requestMethod:`POST`,url:La(e.baseUrl,n),header:co(n.methodKind,t,i,a,!1),contextValues:s??Ia(),message:o},next:async r=>{let i=e.useHttpGet===!0&&n.idempotency===We.NO_SIDE_EFFECTS,a=null;i?r=po(r,c(r.message),t):a=c(r.message);let o=await(e.fetch??globalThis.fetch)(r.url,Object.assign(Object.assign({},bo),{method:r.requestMethod,headers:r.header,signal:r.signal,body:a})),{isUnaryError:s,unaryError:u}=lo(n.methodKind,t,o.status,o.headers);if(s)throw Za(await o.json(),da(...so(o.headers)),u);let[d,f]=so(o.headers);return{stream:!1,service:n.parent,method:n,header:d,message:t?l(new Uint8Array(await o.arrayBuffer())):Fi(n.output,await o.json(),Va(e.jsonOptions)),trailer:f}}})},async stream(n,r,i,a,o,s){let{serialize:c,parse:l}=Ha(n,t,e.jsonOptions,e.binaryOptions);function u(e,t,n,r){return yo(this,arguments,function*(){let i=ga(e).getReader(),a=!1;for(;;){let e=yield vo(i.read());if(e.done)break;let{flags:r,data:o}=e.value;if((r&1)==1)throw new L(`protocol error: received unsupported compressed output`,I.Internal);if((r&2)==2){a=!0;let e=Qa(o);if(e.error){let t=e.error;throw n.forEach((e,n)=>{t.metadata.append(n,e)}),t}e.metadata.forEach((e,n)=>t.set(n,e));continue}yield yield vo(l(o))}if(`throwIfAborted`in r&&r.throwIfAborted(),!a)throw`missing EndStreamResponse`})}async function d(e){if(n.methodKind!=`server_streaming`)throw`The fetch API does not support streaming request bodies`;let t=await e[Symbol.asyncIterator]().next();if(t.done==1)throw`missing request message`;return _a(0,c(t.value))}return i=i===void 0?e.defaultTimeoutMs:i<=0?void 0:i,await ho({interceptors:e.interceptors,timeoutMs:i,signal:r,req:{stream:!0,service:n.parent,method:n,requestMethod:`POST`,url:La(e.baseUrl,n),header:co(n.methodKind,t,i,a,!1),contextValues:s??Ia(),message:o},next:async r=>{let i=await(e.fetch??globalThis.fetch)(r.url,Object.assign(Object.assign({},bo),{method:r.requestMethod,headers:r.header,signal:r.signal,body:await d(r.message)}));if(lo(n.methodKind,t,i.status,i.headers),i.body===null)throw`missing response body`;let a=new Headers;return Object.assign(Object.assign({},r),{header:i.headers,trailer:a,message:u(i.body,a,i.headers,r.signal)})}})}}}var So={},Co=`kimiBridge is not ready`;typeof window<`u`&&(window.__kimiBridgeCallback=e=>{let{messageId:t,webViewId:n}=e;if(n!==window.webViewId)return;let r=So[t];if(r){if(r.type===`once`){e.error?r.reject(e.error):r.resolve(e.data),So[t]=void 0;return}r.callbackList.forEach(t=>{t(e.data)})}});var wo=()=>!!window.webViewId&&(!!window.webkit||!!window.KimiBridge);async function To(e,t){if(!window.webViewId)return Promise.reject(Error(Co));let n=Math.random().toString(36).slice(2,12),r={webViewId:window.webViewId,messageId:n,method:e,params:t??{}};if(window.webkit)return window.webkit.messageHandlers.kimiBridge.postMessage(r),new Promise((e,t)=>{So[n]={type:`once`,resolve:e,reject:t}});if(window.KimiBridge)return window.KimiBridge[e](JSON.stringify(r)),new Promise((e,t)=>{So[n]={type:`once`,resolve:e,reject:t}});throw Error(Co)}function Eo(e,t){let n=So[e];n?n.type===`multiple`&&n.callbackList.push(t):So[e]={type:`multiple`,callbackList:[t]}}function Do(e,t){let n=So[e];if(n?.type!==`multiple`)return;let r=n.callbackList.indexOf(t);r!==-1&&n.callbackList.splice(r,1)}var Oo=`refresh_token`,ko=`access_token`;async function Ao(){let e=localStorage.getItem(ko),t=localStorage.getItem(Oo);if(!ke&&wo())try{let n=await To(`getToken`);n?.accessToken&&(e=n.accessToken),n?.refreshToken&&(t=n.refreshToken)}catch{console.error(`get token failed`)}return{accessToken:e,refreshToken:t,type:`normal`}}var jo={cn:{remoteFmUrl:`https://static.trustdecision.com/tdfp/cn/1adb3bba719793fb6874417a286e900d/fm.js`,localFmUrl:`https://td-static.kimi.link/cn-fm.js`,localNormalUrl:`https://td-static.kimi.link/cn-normal.js`},sg:{remoteFmUrl:`https://static.trustdecision.com/tdfp/sg/51193b5b2cf8d41581289fba7ba3cce3/fm.js`,localFmUrl:`https://td-static.kimi.link/sg-fm.js`,localNormalUrl:`https://td-static.kimi.link/sg-normal.js`}},Mo,No;function Po(e){return`${e}?t=${+(Date.now()/36e5).toFixed(0)}`}function Fo(e){window.collectEvent?.(`msh_risk_sdk_init`,{is_success:!0,sdk_source:e})}function Io(e,t){window.collectEvent?.(`msh_risk_sdk_init`,{is_success:!1,sdk_source:e,error_msg:t instanceof Error?t.message:String(t)})}function Lo(e){return new Promise((t,n)=>{if(document.querySelector(`script[src="${e}"]`)){t();return}let r=document.createElement(`script`);r.src=e,r.async=!0,r.addEventListener(`load`,()=>t(),{once:!0}),r.addEventListener(`error`,()=>n(Error(`Failed to load script: ${e}`)),{once:!0}),document.head.appendChild(r)})}function Ro(e){let t=jo[e];return new Promise((e,n)=>{window._fmOpt={partner:`kimi`,channel:`kimi-web`,appName:`kimi-web`,success(){e(),Fo(`remote`)}},Lo(Po(t.remoteFmUrl)).catch(n)})}function zo(e){let t=jo[e];return new Promise((e,n)=>{window._fmOpt={partner:`kimi`,channel:`kimi-web`,appName:`kimi-web`,normalUrl:t.localNormalUrl,success(){e(),Fo(`local`)}},Lo(Po(t.localFmUrl)).catch(n)})}async function Bo(e){if(!(typeof window>`u`))return Mo===e&&No?No:(Mo=e,No=Ro(e).catch(async t=>(Io(`remote`,t),zo(e).catch(t=>{throw Mo===e&&(Mo=void 0,No=void 0),Io(`local`,t),t}))),No)}async function Vo(){if(typeof window>`u`)return;No&&await No;let e=window._fmOpt?.getinfo?.();if(window.collectEvent?.(`msh_risk_box_get_sync`,{is_success:!!e?.length,is_initialized:!!No}),!(!Mo||!e))return`${Mo}:${e}`}var Ho=Symbol(`connectService`);async function Uo(e){return Promise.race([rn(1e3).then(()=>null),e.catch(()=>null)])}async function Wo(){let e=await Uo(Vo());return e?{"x-msh-shield-data":e}:{}}async function Go(){let{accessToken:e}=await Ao(),t=await Wo();return{"x-msh-platform":`web`,"R-Timezone":Intl.DateTimeFormat().resolvedOptions().timeZone,...!De&&e?{Authorization:`Bearer ${e}`}:{},...t}}var Ko=(e,t)=>{let n=new Map,r=xo({baseUrl:`/apiv2`,jsonOptions:{useProtoFieldName:!0},interceptors:[e=>async n=>{let r={...await Go(),"X-Language":t()};return Object.entries(r).forEach(([e,t])=>{t!=null&&n.header.set(e,String(t))}),e(n)}]});e.provide(Ho,{serviceMap:n,transport:r})},qo=e=>{let{serviceMap:t,transport:n}=se(Ho);if(t.has(e))return t.get(e);let r=Da(e,n);return t.set(e,r),r},Jo=`https://lf3-data.volccdn.com/obj/data-static/log-sdk/collect/5.0/collect-rangers-v5.1.12.js`,Yo=()=>`zh-cn`,Xo,Zo,Qo={};function $o(...e){[...e]}function es(...e){[...e]}function ts(...e){[...e]}function ns(){if(window.LogAnalyticsObject=`collectEvent`,window.collectEvent)return;let e=function(){e.q?.push(arguments)};e.q=[],e.l=Date.now(),window.collectEvent=e}function rs(){return new Promise((e,t)=>{if(document.querySelector(`script[src="${Jo}"]`)){e();return}let n=document.createElement(`script`);n.src=Jo,n.async=!0,n.addEventListener(`load`,()=>e(),{once:!0}),n.addEventListener(`error`,()=>t(Error(`load data finder sdk failed`)),{once:!0}),document.head.appendChild(n)})}function is(e){Object.assign(Qo,e);for(let t of Object.keys(e))e[t]===void 0&&delete Qo[t]}function as(e={}){return e.getLocale&&(Yo=e.getLocale),e.commonParams&&is(e.commonParams),ns(),Xo=(e,t)=>{window.collectEvent?.(e,{locale:Yo(),...t})},Zo||(window.collectEvent?.(`init`,{app_id:20001731,channel_domain:`https://gator.volces.com`,ab_channel_domain:`https://tab.volces.com`,log:!0,autotrack:!1,enable_ab_test:!0,auto_exposure_expriment:!0,enable_stay_duration:!0}),window.collectEvent?.(`start`),Zo=rs().catch(e=>{ts(e)})),Zo??Promise.resolve()}var os=new Map;function ss(){os.clear()}function cs(e,t,n){let r=Yo(),i={...Qo,...t,ppt_locale:r};if(n)if(n===!0){let t=e;if(os.has(t))return;os.set(t,!0)}else if(Array.isArray(n)){let t=`${e}:${n.map(e=>`${String(e)}=${i[e]}`).join(`&`)}`;if(os.has(t))return;os.set(t,!0)}else{let t=`${e}:${String(n)}=${i[n]}`;if(os.has(t))return;os.set(t,!0)}Xo||as(),Xo?.(e,i)}(function(){var e,t,n;typeof Element>`u`||Element.prototype.addEventListener||(e=[],n=function(t,n){for(var r=0;r=e.length?void 0:e)&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function z(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||0=o&&u.call(this),clearTimeout(l),l=setTimeout(u.bind(this),s)},flush:function(){clearTimeout(l),u.call(this)},getBatchData:function(){return c.length?ps(c):``},clear:function(){clearTimeout(l),c=[]},fail:function(e){t=e},success:function(e){n=e}}}var V=function(){return{}};function hs(e){return e}function H(e){return typeof e==`object`&&!!e}function gs(e){return e===void 0}function _s(e,t){try{return e instanceof t}catch{return!1}}var vs=Object.prototype;function ys(e){return H(e)?typeof Object.getPrototypeOf==`function`?(e=Object.getPrototypeOf(e),e===vs||e===null):vs.toString.call(e)===`[object Object]`:!1}function bs(e){return vs.toString.call(e)===`[object Array]`}function U(e){return typeof e==`function`}function xs(e){return typeof e==`boolean`}function Ss(e){return typeof e==`number`}function W(e){return typeof e==`string`}function Cs(e){switch(Object.prototype.toString.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMError]`:case`[object DOMException]`:return!0;default:return e instanceof Error}}function ws(e){return typeof Event<`u`&&_s(e,Event)}function Ts(e){return Object.prototype.toString.call(e)===`[object ErrorEvent]`}function Es(e){return Object.prototype.toString.call(e)===`[object PromiseRejectionEvent]`}function Ds(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Os(){for(var e=[...arguments],t={},n=0;n>>((3&n)<<3)&255;return e}function ec(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);var r=0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],`-`,i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[+r]],i[e[15]]].join(``)}function tc(){var e=$s();return e[6]=15&e[6]|64,e[8]=63&e[8]|128,ec(e)}var nc=3e5,rc=function(e,t,n){var r=0;return n===-1?V:function(){if(e())return r&&clearTimeout(r),void(r=0);r===0&&(r=setTimeout(t,n))}},ic=function(e,t){var n=[];try{n=t.reduce(function(t,n){try{var r=n(e);typeof r==`function`&&t.push(r)}catch{}return t},[])}catch{}return function(e){return ic(e,n)}},ac=function(e){function t(e){r=js(r,e),a||o()}var n,r=[],i=[],a=!1,o=rc(function(){return!!r.length},function(){a=!0,n&&n[0](),i.forEach(function(e){return e()}),i.length=0,n=void 0},e=e===void 0?nc:e);return{next:function(e){return ic(e,r)},complete:function(e){i.push(e)},attach:function(e,t){n=[e,t]},subscribe:function(e){if(a)throw Error(`Observer is closed`);return r.push(e),n&&n[1]&&n[1](e),o(),function(){return t(e)}},unsubscribe:t}},oc=function(e,t,n){n=ac(n);try{e(n.next,n.attach),t&&n.complete(t)}catch{}return[n.subscribe,n.unsubscribe]},sc=function(e,t){var n=z(e,1)[0];return function(e,r){var i=n(function(n){return Qs(t)(n)?e(n):V});r(function(){i()})}};function cc(){function e(e){e.length&&e.forEach(function(e){try{e()}catch{}}),e.length=0}function t(t){r[t]&&r[t].forEach(function(t){e(t[1])}),r[t]=void 0}var n=!1,r={};return{set:function(t,i,a){r[t]?r[t].push([i,a]):r[t]=[[i,a]],n&&e(a)},has:function(e){return!!r[e]},remove:t,removeByEvType:function(t){Object.keys(r).forEach(function(n){r[n]&&r[n].forEach(function(n){n[0]===t&&e(n[1])})})},clear:function(){n=!0,Object.keys(r).forEach(function(e){t(e)})}}}var K=function(e,t,n,r){return e.destroyAgent.set(t,n,r)},lc=500,uc=50;function dc(e,t,n){t.push(n),t.length`;function el(e){try{for(var t,n=e,r=[],i=0,a=0,o=3;n&&i++<5&&!((t=tl(n))===`html`||1 `)}catch{return $c}}function tl(e){var t,n,r,i=e,a=[];if(!i||!i.tagName)return``;if(a.push(i.tagName.toLowerCase()),i.id)return`#`+i.id;if(e=i.className,e&&W(e))for(t=e.split(/\s+/),s=0;s=J()?a:void 0}catch{return}},fl=function(e,t,n){if(!(n<=0))try{localStorage.setItem(e,ll(JSON.stringify(R(R({},t),{expires:J()+n}))))}catch{}},pl=7776e6,ml=function(e){return!1===e?0:!0!==e&&e!==void 0&&Ss(e)?e:pl},hl=function(e){var t;if(typeof window==`object`&&window.__perfsee__){var n={};return(t=Error.captureStackTrace)!=null&&t.call(Error,n,e),n.stack}},gl=`xhr_0`,_l=function(){var e=RegExp(`\\/monitor_web\\/collect|\\/monitor_browser\\/collect\\/batch`,`i`);return function(t){return e.test(t)}},vl=function(e){return function(){for(var t,n=[],r=0;re?n(B(B([],z(r),!1),[i],!1),e):B(B([],z(r),!1),[i],!1))}]},_u=function(e,t,n){var r=z(t,2),i=r[0],a=r[1],o=n.maxBreadcrumbs,s=n.onAddBreadcrumb,c=n.onMaxBreadcrumbs,t=n.dom,r=z(hu(100),2),n=r[0],r=r[1],s=z(gu(o,s,c),2),c=s[0],s=s[1];return t&&(t=pu(s),e.push(i[0](n(su,mu(t,lu)))),e.push(a[0](r(mu(t,lu))))),[c,s]},vu=`breadcrumb`,yu={maxBreadcrumbs:20,dom:!0};function bu(e,t){var n,r,i,a=sl(t,yu);a&&(a=(t=z(_u(n=[],[q(e,uu),q(e,fu)],a),2))[0],r=t[1],e.on(`report`,i=function(e){return e.ev_type===Q&&r({type:Q,category:e.payload.api,message:``,data:{method:e.payload.request.method,url:e.payload.request.url,status_code:String(e.payload.response.status)},timestamp:e.payload.request.timestamp}),e}),n.push(function(){e.off(`report`,i)}),K(e,vu,Fl,n),e.provide(`getBreadcrumbs`,a),e.provide(`addBreadcrumb`,r))}function xu(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[vu];bu(e,t)})}var Su=function(e,t,n){var r=z(t,2),t=r[0],i=r[1],a=n.setTraceHeader,o=n.ignoreUrls,s=n.setContextAtReq,c=n.extractUrl,l=window.Headers,u=window.Request;u&&l&&e.push(t[0](function(e){var t,e=z(e,2),r=e[0],d=e[1],f=Fc(r instanceof u?r.url:r);if(!Cu(f)||Rs(o,f))return V;a&&a(f,function(e,t){return Tu(e,t,r,d,u,l)});var p=s(),m=J(),h=void 0,g=i()[0](function(e){(f===e.name||t&&t===e.name)&&!h&&(h=e)});return function(e){t=e&&e.url;var i=ku(r,d,e,u,l,n,m),a=Zl(function(e){h&&(e.response.timing=h),Ql(e,c),p&&p({ev_type:Q,payload:e}),g()});setTimeout(function(){a(i)},1e3)}}))},Cu=function(e){if(!W(e))return!1;var t=z(e.split(`:`),2),e=t[0];return!t[1]||e===`http`||e===`https`},wu=function(e,t){return e instanceof t},Tu=function(e,t,n,r,i,a){wu(n,i)?n.headers.set(e,t):r.headers instanceof a?r.headers.set(e,t):r.headers=R(R({},r.headers),((r={})[e]=t,r))},Eu=function(e,t,n){return t=t&&t.method||`get`,(t=wu(e,n)&&e.method||t).toLowerCase()},Du=function(e){var t=[...arguments].slice(1);try{return t.reduce(function(t,n){return new e(n||{}).forEach(function(e,n){return!Xl(n,e)&&(t[n]=e)}),t},{})}catch{return{}}},Ou=function(e,t,n){return wu(e,n)?e.body:t?.body},ku=function(e,t,n,r,i,a,o){function s(){l&&(c.request.body=Ou(e,t,r)?.toString())}var c={api:`fetch`,request:{method:Eu(e,t,r),timestamp:o,url:Fc(e instanceof r?e.url:e),headers:Du(i,e.headers,t.headers)},response:{status:n&&n.status||0,is_custom_error:!1,timestamp:J()},duration:J()-o},l=a.collectBodyOnError,u=a.extraExtractor;if(n)try{var d=Du(i,n.headers);c.response.headers=d;try{(d[`content-type`]||``).indexOf(`application/json`)!==-1&&u&&n.clone().json().catch(function(){return n.clone().text()}).then(function(n){n=u(n,c,(n=Ou(e,t,r))?.toString()),n&&(c.extra=n,c.response.is_custom_error=!0,s())}).catch(V)}catch{}400<=n.status&&s()}catch{}else s();return c},Au=`fetch`,ju={autoWrap:!0,setContextAtReq:function(){return hs},ignoreUrls:[],collectBodyOnError:!1};function Mu(e){e.on(`init`,function(){var t,n,r=ru(e,Au,ju);r&&(t=[],n=(n=e.config())?.domain,(n=R(R({},r),{setContextAtReq:function(){return Bc(e,!0)},setTraceHeader:ql(r.trace,`apmplus.app_id=`+(r=e.config())?.aid+`,apmplus.origin=web,apmplus.client_domain=`+(typeof n==`string`&&0<=n.indexOf(`//`)?``:`https://`)+n)})).autoWrap&&Su(t,[q(e,Tl),function(){return q(e,Ml)}],n),K(e,Au,Q,t))})}var Nu=[`name`,`message`,`stack`,`filename`,`lineno`,`colno`],Pu=function(e){var t;return Cs(e)?t=Fs(e,Nu):(ys(e)||ws(e)||W(e))&&(t={message:zs(e)}),t},Fu=function(e){var t=Pu(e.error);if(!t)return t;var n=e.colno,r=e.lineno,e=e.filename;return n&&!t.colno&&(t.colno=String(n)),r&&!t.lineno&&(t.lineno=String(r)),e&&!t.filename&&(t.filename=e),t},Iu=function(e){try{var t=void 0;if(`reason`in e?t=e.reason:`detail`in e&&`reason`in e.detail&&(t=e.detail.reason),t){var n=Pu(t);return R(R({},n),{name:(n&&n.name)??`UnhandledRejection`})}}catch{}},Lu=function(e){return(Ts(e)?Fu:Es(e)?Iu:Pu)(e)},Ru=[`EventTarget`,`Window`,`Node`,`ApplicationCache`,`ChannelMergerNode`,`EventSource`,`FileReader`,`HTMLUnknownElement`,`IDBDatabase`,`IDBRequest`,`IDBTransaction`,`MessagePort`,`Notification`,`SVGElementInstance`,`Screen`,`TextTrack`,`TextTrackCue`,`TextTrackList`,`WebSocket`,`Worker`,`XMLHttpRequest`,`XMLHttpRequestEventTarget`,`XMLHttpRequestUpload`],zu=[`setTimeout`,`setInterval`,`requestAnimationFrame`,`requestIdleCallback`],Bu=[`onload`,`onerror`,`onprogress`,`onreadystatechange`],Vu=`addEventListener`,Hu=`removeEventListener`,Uu=`capture-global`,Wu=[`async_error_0`,function(e,t){function n(t,r){if(!U(t))return t;var i={type:Uu,data:R({},r)},a=t._w_||(t._w_=function(){try{return(t.handleEvent&&U(t.handleEvent)?t.handleEvent:t).apply(this,[].map.call(arguments,function(e){return n(e,r)}))}catch(t){var a=Pu(t);throw a&&e({source:i,error:a}),t}});return a._hook_=!0,a}var r=Y(),i=Ec(),a=[];r&&a.push.apply(a,B([],z(zu.filter(function(e){return r[e]}).map(function(e){return Hs(r,e,function(t){return function(r){var i=[...arguments].slice(1);return t&&t.call.apply(t,B([this,n(r,{function:e})],z(i),!1))}},!1)()})),!1)),i&&i.prototype&&a.push(Hs(i.prototype,`send`,function(e){return function(){for(var t=this,r=[],i=0;it.frustrating_threshold?2:r>t.satisfying_threshold||n===0?0:1},kd=function(){var e=0,t=void 0;return[function(n){n?t&&(e+=J()-t,t=void 0):t=J()},function(){t&&(e+=J()-t);var n=e;return e=0,t=J(),n}]},Ad=function(e,t){return function(n,r){var i=n.payload;switch(n.ev_type){case zl:var a=i.name;i.isSupport&&e(r[Td],a,i.value);break;case Ul:e(r[Td],Ed,i.duration||0);break;case Fl:t(r[Cd],0);break;case Q:i.response.is_custom_error||400<=i.response.status?t(r[Cd],1):(a=i.response.timing)&&e(r[wd],0,a.duration);break;case Il:t(r[Cd],2);break;case Hl:t(r[Cd],3);break;case Ll:e(r[wd],1,i.duration);break;case Vl:i.longtasks.forEach(function(t){e(r[wd],2,t.duration)})}}},jd=function(){function e(){t=[0,0,0],n=Dd()}var t,n;return e(),[function(e,r,i){var a=e&&e[r];!a||i<=0||(e=i<(a[0].threshold||0)?0:i>(a[1].threshold||0)?2:1,t[e]+=a[e].weight,typeof r==`string`?(i=_d(r,e),a=n[Td][i],n[Td][i]=(a||0)+1):e==2&&(n.duration_count[r]+=1))},function(e,r){e&&(t[2]+=e[r],n.error_count[r]+=1)},function(){return[t,n]},e]},Md=function(){var e={start:J(),end:0,time_spent:0,is_bounced:!1,entry:``,exit:``,p_count:0,a_count:0};return[function(t,n){var r=z(t,3),i=r[0],t=r[1],r=r[2];e.end=J(),e.time_spent+=n&&n.time_spent||0,e.last_page=n,e.p_count+=1,e.rank=i,e.apdex=t,e.apdex_detail=r,r=X(),r&&(e.is_bounced=!ad(r))},function(t,n){e.time_spent+=t.time_spent,e.p_count+=1,e.exit=n},function(){e.a_count+=1},function(t){e.entry=t,e.exit=t},function(){return e}]},Nd=function(e,t,n,r){var i,a,o=r.sendInit,s=r.initPid,c=r.routeMode,l=r.extractPid,r=r.onPidUpdate,u=Sd(c)?function(){return``}:hd(c),d=l||function(){},r=z(vd(xd(e),s||(i=location.href,d(i)??u(i)),u(location.href),r),2),f=r[0],r=r[1];return Sd(c)||(a=z(yd(function(e,t){return f(e,u(t),d(t))},``),1)[0],n.length&&n.forEach(function(e){return t.push(e[0](function(e){return a(c,e)}))})),o&&r(),[f.bind(null,`user_set`)]},Pd=function(e,t,n,r){var i=z(n,2),a=i[0],o=i[1],s=r.apdex===2,c=void 0,l=void 0,u=void 0,d=!1,f=z(jd(),4),p=f[0],m=f[1],h=f[2],g=f[3],n=z(jd(),4),i=n[0],r=n[1],_=n[2],v=n[3],f=z(Md(),5),y=f[0],ee=f[1],b=f[2],te=f[3],ne=f[4],n=z(kd(),2),f=n[0],x=n[1];t.push(a[0](f)),s||t.push(o[0](function(){var t,n,r;d&&(t=(r=z(_(),2))[0],n=r[1],r=Od(t,u),y([r,t,n],ae()),e({ev_type:Pl,payload:ne()}),v())}));var re=Ad(p,m),ie=Ad(i,r),ae=function(){var e=z(h(),2),t=e[0],e=e[1];return{start:c[0],pid:c[1],view_id:c[2],end:J(),time_spent:x(),apdex:t,rank:Od(t,u),detail:e}};return t.push(function(){d=!1}),[function(e,t){if(!c)return c=[J(),e,t],te(e),void(d=!(!u||!c));d&&(l=ae(),ee(l,e)),c=[J(),e,t],g()},function(e){d&&(s||(ie(e,u),e.ev_type===Ul&&b()),e.common.pid===c[1]&&re(e,u))},function(t){d&&(t.payload.last=l),e(t)},function(e){if(!e)return t.forEach(function(e){return e()}),void(t.length=0);d=!(!(u=e)||!c)}]},Fd=`pageview`,Id={sendInit:!0,routeMode:`history`,apdex:2};function Ld(e,t){var n,r,i,a,o,s,c,l,u,d,f=sl(t,Id);f&&Sc()&&(n=f.routeMode,o=f.apdex,l=e.report.bind(e),c=V,o&&(r=[],t=(i=z(Pd(e.report.bind(e),r,[q(e,rd),q(e,sd)],f),4))[0],a=i[1],o=i[2],s=i[3],l=o,c=t,e.on(`send`,a),r.push(function(){return e.off(`send`,a)}),e.on(`start`,function(){s(e.config().apdex)}),K(e,Fd,Pl,r)),u=z(Nd(l,l=[],Sd(n)?[]:[e.initSubject(pd),e.initSubject(md)],R(R({},f),{initPid:(f=e.config())?.pid,onPidUpdate:function(t){var n=gd(t);c(t,n),e.set({pid:t,viewId:n,actionId:void 0})}})),1)[0],xc(e,[Uc,Wc(e)],-1),d=function(){u(e.config().pid)},e.on(`config`,d),l.push(function(){return e.off(`config`,d)}),K(e,Fd,Nl,l),e.provide(`sendPageview`,u))}function Rd(e){e.on(`init`,function(){var t=(t=e.config())?.plugins[Fd];Ld(e,t)})}var zd=`resource`,Bd=[`xmlhttprequest`,`fetch`,`beacon`],Vd=function(e,t,n,r){var i,a,o,s,c=z(n,2),n=c[0],l=c[1],u=wc();u&&(c=r.ignoreUrls,i=r.slowSessionThreshold,a=r.ignoreTypes,o=Is(c),s=function(t,n){n===void 0&&(n=!1),G(a||Bd,t.initiatorType)||o&&o.test(t.name)||(t={ev_type:Ll,payload:t},n&&(t.extra={sample_rate:1}),e(t))},t.push(n[0](function(){var e=z(Yc(u),3),n=e[0],e=e[2],r=function(){if(!n)return!1;var e=n.loadEventEnd-n.navigationStart;return iwindow.innerHeight||n<=0))?0:i+1+.5*t},Uf=function(e){var t=z(e===void 0?[]:e),e=t[0],t=t.slice(1);return t&&t.reduce(function(e,t){var n=z(e,2),r=n[0],e=n[1],n=t.score-r.score;return[t,t.time>=r.time&&e.raten.value?i:n):(e=i.value,t=[i.startTime],i),r(e,n))}]},rp=[tp,function(e,t,n){var r=z(n,4),i=r[1],a=r[2],n=r[3],r=Oc(),o=rf(tp,0),s=cf(e);if(!r)return o.isSupport=!1,void s(o);var e=z(np(),2),c=e[0],e=e[1].bind(null,function(e,t){if(e>o.value){o.value=e;try{var n=pf(t);o.extra=n?{element:el(n)}:void 0}catch{}}});t.push(Al(r,e,ep)),i=i(),t.push(i[0](function(e){e&&c()})),n=n(),t.push(n[0](function(e){s(o,e),c(),o=rf(tp,0)})),a=a(),t.push(a[0](function(){s(o)}))}],ip=`event`,ap=`inp`,op=10,sp=function(e,t){var n=0,r=1/0,i=0;return t.push(Al(e,function(e){e.interactionId&&(r=Math.min(r,e.interactionId),i=Math.max(i,e.interactionId),n=i?(i-r)/7+1:0)},ip,0)),[function(){return n}]},cp=[ap,function(e,t,n){var r=z(n,4),n=r[0],i=r[2],a=r[3],o=Oc(),s=kc(),r=wc(),c=rf(ap,0),l=cf(e);if(!o||!s||!r)return c.isSupport=!1,void l(c);function u(){m=_(),h=[],g={}}function d(e){var t=h[h.length-1],n=g[e.interactionId],r=!h.length||e.duration>h[0].latency;(n||h.lengtht.latency)&&(n?(n.entries.push(e),n.latency=Math.max(n.latency,e.duration),r&&!n.element&&e.target&&(n.element=el(e.target))):(n={id:e.interactionId,latency:e.duration,entries:[e]},r&&e.target&&(n.element=el(e.target)),g[n.id]=n,h.push(n)),h.sort(function(e,t){return t.latency-e.latency}),h.splice(op).forEach(function(e){delete g[e.id]}))}function f(){var e=(e=Math.min(h.length-1,Math.floor(v()/50)),h[e]);e&&(c.value=e.latency,e.element?c.extra={element:e.element}:(e=e.entries[0].target)&&(c.extra={element:el(e)}))}function p(e){e.interactionId&&d(e),e.entryType!==`first-input`||h.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||d(e)}var m=0,h=[],g={},_=z(sp(o,t),1)[0],v=function(){return _()-m};t.push(n[0](function(){t.push(Al(o,p,ip,40)),`interactionId`in s.prototype&&t.push(Al(o,p,$f));var e=a();t.push(e[0](function(e){f(),l(c,e),u(),c=rf(ap,0)})),e=i(),t.push(e[0](function(){f(),l(c)})),t.push(u)}))}],lp=`longtask`,up=[lp,function(e,t,n){n=z(n,4)[3],t.push(n[0](function(t){e(sf(t))}))}],dp=`timing`,fp=[dp,function(e,t,n){var r=z(n,3),i=r[0],a=r[1],n=r[2],r=wc(),r=z(Yc(r),3),o=r[0],s=r[1],c=r[2],l=af(function(e){var t=c(`navigation`)[0],n=t&&t.responseStart;return(!n||n<=0||n>s())&&(t=void 0),{ev_type:Bl,payload:{isBounced:e,timing:o,navigation_timing:t}}},e,t);t.push(n[0](function(){l(!0)}));function u(){function e(){l(!1)}var n=a();t.push(function(){return n[1](e)}),n[0](e)}t.push(function(){return i[1](u)}),i[0](u)}];cp[0];var pp=[`SCRIPT`,`STYLE`,`META`,`HEAD`],mp=[Fl,Q,Il],hp=1.5,gp=1e4,_p=8e3,vp=4e3,yp=1e4,bp=.1,xp=4,Sp=[zl,Vl,Bl,Rl],Cp=function(e){return~Sp.indexOf(e.ev_type)},wp=function(e,t){if(mp.indexOf(t.ev_type)===-1||t.ev_type===Q&&t.payload.response.status<400||e&&mp.indexOf(e.type)innerHeight||n<=0?0:1/(1<`+e+``}var Ap=function(e){var t=e.cb,n=e.screenshotUrl,r=e.window,i=e.document,a=e.mask,o=e.partialShot,s=e.quality,c=e.rootSelector;if(Tc()&&r&&i){if(r.html2canvas)return l();e=i.createElement(`script`),e.src=n,e.crossOrigin=`anonymous`,e.onload=l,e.onerror=function(){t()},(n=i.head)!=null&&n.appendChild(e)}function l(){Xc(r)(function(){r.html2canvas&&r.html2canvas(o&&c&&i.querySelector(c)||i.body,{scale:360/r.innerWidth,mask:a,useCROS:!0}).then(function(e){t(jp(e.toDataURL(`image/jpeg`,s)))}).catch(function(){t(Mp())})})}};function jp(e){return e.slice(0,10)===`data:image`?e:Mp()}function Mp(e,t){e===void 0&&(e=192),t===void 0&&(t=108);var n=document.createElement(`canvas`);n.width=e,n.height=t;var r=n.getContext(`2d`);return r&&(r.fillStyle=`#ffffff`,r.fillRect(0,0,e,t)),n.toDataURL(`image/jpeg`)}var Np=function(e,t,n,r){function i(n,r){le||(o=de())&&(le=!0,t.forEach(function(e){return e()}),t.length=0,e({ev_type:Hl,payload:{timestamp:o[0],score:o[1],screenshot:r,error:s,serialized_dom:kp(Dp(ee))},overrides:{timestamp:n||o[0]}}))}function a(){u&&clearTimeout(u),c&&clearTimeout(c),c=ae.setTimeout(function(){l=C(function(){(o=de())&&fe()})},1e3)}var o,s,c,l,u,d,f,p=z(n,5),m=p[0],h=p[1],g=p[2],_=p[3],v=p[4],y=r.threshold,n=r.screenshot,ee=r.rootSelector,p=r.autoDetect,b=r.ssUrl,te=r.quality,ne=r.mask,x=r.partialShot,re=r.initDetTime,ie=r.runDetTime,ae=Y(),S=X(),C=ae.requestAnimationFrame||V,oe=ae.cancelAnimationFrame||V,se=z(Yc(performance),2)[1],ce=0,le=!1,ue=!n,de=function(){var e=Dp(ee);if(e)return e=Op(e,0,0,y),egp?ie:re)});return t.push(v[0](function(){s&&i()})),p&&t.push(m[0](function(){var e=h();t.push(e[0](function(){var e=z(qc(Dc(),a),2),n=e[0],r=e[1];t.push(function(){clearTimeout(c),clearTimeout(u),oe(l),r&&r()}),n((n=X())?.body,{subtree:!0,childList:!0}),t.push(g()[0](function(){c&&a()})),t.push(_()[0](function(){c&&a()})),a()}))})),[function(e){le||Cp(e)||(ce=J(),s&&ce-s.timestamp>yp&&(s=void 0),s=wp(s,e))},a]},Pp=`blankScreen`;function Fp(e,t){var n,r,i=X(),a=Y();i&&a&&(a=[],t=z(Np(e.report.bind(e),a,[q(e,ld),function(){return q(e,cd)},function(){return q(e,jl)},function(){return q(e,Ml)},q(e,sd)],t),2),n=t[0],t=t[1],e.on(`report`,r=function(e){return n(e),e}),a.push(function(){e.off(`report`,r)}),K(e,Pp,Hl,a),e.provide(`detectBlankScreen`,t))}function Ip(e,t){e.on(`init`,function(){var n={autoDetect:!0,threshold:hp,screenshot:!0,ssUrl:`https://apm.volccdn.com/mars-web/apmplus/web/html2canvas.min.js`,mask:!1,partialShot:!0,quality:bp,initDetTime:_p,runDetTime:vp},n=t?sl(t,n):ru(e,Pp,n);n&&Fp(e,n)})}var Lp={entries:[],observer:void 0},Rp=`performance`;function zp(e){e.on(`init`,function(){var t=e.pp||Lp;(u=t.observer)!=null&&u.disconnect();var n,r,i,a,o,s,c,l,u,d,f,p=ru(e,Rp,{});p&&(n=function(){return q(e,ld)},r=function(){return q(e,rd)},i=function(){return q(e,sd)},a=q(e,od),o=q(e,jl),s=void 0,xc(e,[Uc,Wc(e)],-1)[0](function(e){s=e})(),c=function(t){t=t.ev_type===zl&&(t.payload.name===rp[0]||t.payload.name===cp[0])||t.ev_type===Vl?t:R(R({},t),{overrides:s}),e.report(t)},l=function(){return xc(e,[Vc,Hc(e)])},[Cf,wf,Qf,cp,rp].forEach(function(t){!1!==p[t[0]]&&(t[1](c,t=[],[n(),r,i,l]),K(e,Rp,zl,t))}),[up,fp].forEach(function(t){var r;!1!==p[t[0]]&&(t[1](c,r=[],[a,n,i(),o]),t=t[0]===lp?Vl:t[0]===dp?Bl:zl,K(e,Rp,t,r))}),u=(d=z(uf(e.report.bind(e)),2))[0],d=d[1],e.provide(`performanceInit`,u),e.provide(`performanceSend`,d),t.entries.length=0,f=function(t){var n=R(R(R({},nf),t),{isCustom:!0}),t=hl(f);t&&Object.assign(n,{stacks:t}),e.report(of(n))},e.provide(`sendCustomPerfMetric`,f))})}var Bp=`event`,Vp=`log`,Hp=function(e){if(e&&H(e)&&e.name&&W(e.name)){var t={name:e.name,type:Bp};if(`metrics`in e&&H(e.metrics)){var n=e.metrics,r={};for(i in n)Ss(n[i])&&(r[i]=n[i]);t.metrics=r}if(`categories`in e&&H(e.categories)){var i,a=e.categories,o={};for(i in a)o[i]=zs(a[i]);t.categories=o}return`attached_log`in e&&W(e.attached_log)&&(t.attached_log=e.attached_log),t}},Up=function(e){if(e&&H(e)&&e.content&&W(e.content)){var t={content:zs(e.content),type:Vp,level:`info`};if(`level`in e&&(t.level=e.level),`extra`in e&&H(e.extra)){var n,r=e.extra,i={},a={};for(n in r)Ss(r[n])?i[n]=r[n]:a[n]=zs(r[n]);t.metrics=i,t.categories=a}return`attached_log`in e&&W(e.attached_log)&&(t.attached_log=e.attached_log),t}},Wp=function(e){function t(n){var r=Hp(n);r&&((n=hl(t))&&(r.stacks=n),e.report({ev_type:Rl,payload:r,extra:{timestamp:J()}}))}e.provide(`sendEvent`,t),e.provide(`sendLog`,function(t){t=Up(t),t&&e.report({ev_type:Rl,payload:t,extra:{timestamp:J()}})})},Gp=function(e){var t=Nc(),n=Pc(t);t&&(t.onchange=function(){n=Pc(t)}),e.on(`report`,function(e){return R(R({},e),{extra:R(R({},e.extra||{}),{network_type:n})})})},Kp=function(e,t){var n=e.common||{};return n.sample_rate=t,e.common=n,e},qp=function(e,t,n,r,i){return e?(a=i(r,t),function(){return a}):function(){return n(t)};var a},Jp=function(e,t){return e.map(function(e){switch(t){case`number`:return Number(e);case`boolean`:return e===`1`;default:return String(e)}})},Yp=function(e,t,n){switch(n){case`eq`:return G(t,e);case`neq`:return!G(t,e);case`gt`:return e>t[0];case`gte`:return e>=t[0];case`lt`:return e{let e=await Rt();as({getLocale:()=>e.global.locale.value});let t=p(Nr);t.use(nt).use(ct).use(e),t.use(he,{queryClient:uh}),Ko(t,()=>e.global.locale.value),t.directive(`contextmenu`,Hr),t.mount(`#app`)})();export{$t as A,yt as B,Gn as C,rn as D,A as E,Lt as F,It as I,Dt as L,Zt as M,Wt as N,on as O,Vt as P,bt as R,sr as S,Wn as T,st as V,kr as _,cs as a,Cr as b,Wo as c,Ao as d,Eo as f,Pi as g,Do as h,es as i,nn as j,an as k,qo as l,wo as m,ts as n,is as o,To as p,$o as r,Go as s,ss as t,Bo as u,Or as v,qn as w,gr as x,Er as y,vt as z}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/index-legacy-Ce-qKpT_.js b/editor/neo-ppt/assets/index-legacy-Ce-qKpT_.js new file mode 100644 index 0000000..d991df1 --- /dev/null +++ b/editor/neo-ppt/assets/index-legacy-Ce-qKpT_.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./const-legacy-Bw9iWaro.js","./preload-helper-legacy-CKCAnWGV.js","./common-utils-legacy-BUVwbO7W.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./icons-legacy-CLUsfzcg.js","./kimi-legacy-KFfRFtSB.js"],function(e,t){var n,r,o,a,i,s,l,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,Sa,_a,Ea,Ta,Ba,La,Ma,Aa,Oa,Fa,Pa,Ia,Na,Ra,Da,ja,Ha,za,$a,Ua,Va,Ga,qa,Wa,Ka,Ja,Za,Xa,Ya,Qa,ei,ti,ni,ri,oi,ai,ii,si,li,ci,ui,di,fi,gi,hi,pi,mi,vi,bi,yi,wi,Ci,ki,xi,Si,_i,Ei,Ti,Bi,Li,Mi,Ai,Oi,Fi,Pi,Ii,Ni,Ri,Di,ji,Hi,zi,$i,Ui,Vi,Gi,qi,Wi,Ki,Ji,Zi,Xi,Yi,Qi,es,ts,ns,rs,os,as,is,ss,ls,cs,us,ds,fs,gs,hs,ps,ms,vs,bs,ys,ws,Cs,ks,xs,Ss,_s,Es,Ts,Bs,Ls,Ms,As,Os,Fs,Ps,Is,Ns,Rs,Ds,js,Hs,zs,$s,Us,Vs,Gs,qs,Ws,Ks,Js,Zs,Xs,Ys,Qs,el,tl,nl,rl,ol,al,il,sl,ll,cl,ul,dl,fl,gl,hl,pl,ml,vl,bl,yl,wl,Cl,kl,xl,Sl,_l,El,Tl,Bl,Ll,Ml,Al,Ol,Fl,Pl,Il,Nl,Rl,Dl,jl,Hl,zl,$l,Ul,Vl,Gl,ql,Wl,Kl,Jl,Zl,Xl,Yl,Ql,ec,tc,nc,rc,oc,ac,ic,sc,lc,cc,uc,dc,fc,gc,hc,pc,mc;function vc(e){const t=v();if(!t)throw new Error("useModel must use in a setup context!");const n=v()?.root.appContext.config.globalProperties.modelContextMap;if(!n)throw new Error("You haven't install model plugin!");if(!n.has(e)){const r=function(e){const t=v();return{key:Symbol("model"),instance:e.fn(),vueInstance:t}}(e);n.set(e,{contextInfo:r,count:0}),t.root.appContext.app.provide(r.key,r.instance)}const r=n.get(e);return r.count++,n.set(e,r),E(()=>{r.count--,0===r.count&&n.delete(e)}),r.contextInfo.instance}function bc(e){let t=!1;if("object"==typeof e&&({concurrency:e,rejectOnClear:t=!1}=e),yc(e),"boolean"!=typeof t)throw new TypeError("Expected `rejectOnClear` to be a boolean");const n=new mt;let r=0;const o=()=>{r0&&(r++,n.dequeue().run())},a=async(e,t,n)=>{const a=(async()=>e(...n))();t(a);try{await a}catch{}r--,o()},i=(t,...i)=>new Promise((s,l)=>{((t,i,s,l)=>{const c={reject:s};new Promise(e=>{c.run=e,n.enqueue(c)}).then(a.bind(void 0,t,i,l)),rr},pendingCount:{get:()=>n.size},clearQueue:{value(){if(!t)return void n.clear();const e=AbortSignal.abort().reason;for(;n.size>0;)n.dequeue().reject(e)}},concurrency:{get:()=>e,set(t){yc(t),e=t,queueMicrotask(()=>{for(;r0;)o()})}},map:{async value(e,t){const n=Array.from(e,(e,n)=>this(t,e,n));return Promise.all(n)}}}),i}function yc(e){if(!Number.isInteger(e)&&e!==Number.POSITIVE_INFINITY||!(e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}function wc(e=0){return new Promise(t=>setTimeout(t,e))}function Cc(e){return Cc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cc(e)}function kc(e,t){if(t=t||{},(e=e||"")instanceof kc)return e;if(!(this instanceof kc))return new kc(e,t);var n=function(e){var t,n,r,o={r:0,g:0,b:0},a=1,i=null,s=null,l=null,c=!1,u=!1;return"string"==typeof e&&(e=function(e){e=e.replace(yt,"").replace(wt,"").toLowerCase();var t,n=!1;if(Ct[e])e=Ct[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=xt.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=xt.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=xt.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=xt.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=xt.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=xt.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=xt.hex8.exec(e))?{r:$c(t[1]),g:$c(t[2]),b:$c(t[3]),a:qc(t[4]),format:n?"name":"hex8"}:(t=xt.hex6.exec(e))?{r:$c(t[1]),g:$c(t[2]),b:$c(t[3]),format:n?"name":"hex"}:(t=xt.hex4.exec(e))?{r:$c(t[1]+""+t[1]),g:$c(t[2]+""+t[2]),b:$c(t[3]+""+t[3]),a:qc(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=xt.hex3.exec(e))&&{r:$c(t[1]+""+t[1]),g:$c(t[2]+""+t[2]),b:$c(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==Cc(e)&&(Wc(e.r)&&Wc(e.g)&&Wc(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*Hc(t,255),g:255*Hc(n,255),b:255*Hc(r,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Wc(e.h)&&Wc(e.s)&&Wc(e.v)?(i=Vc(e.s),s=Vc(e.v),o=function(e,t,n){e=6*Hc(e,360),t=Hc(t,100),n=Hc(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,i,a,a,s,n][l],u=[s,n,n,i,a,a][l],d=[a,a,s,n,n,i][l];return{r:255*c,g:255*u,b:255*d}}(e.h,i,s),c=!0,u="hsv"):Wc(e.h)&&Wc(e.s)&&Wc(e.l)&&(i=Vc(e.s),l=Vc(e.l),o=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=Hc(e,360),t=Hc(t,100),n=Hc(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,i,l),c=!0,u="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=jc(a),{ok:c,format:e.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:a}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function xc(e,t,n){e=Hc(e,255),t=Hc(t,255),n=Hc(n,255);var r,o,a=Math.max(e,t,n),i=Math.min(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var l=a-i;switch(o=s>.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(kc(r));return a}function Dc(e,t){t=t||6;for(var n=kc(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(kc({h:r,s:o,v:a})),a=(a+s)%1;return i}function jc(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Hc(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function zc(e){return Math.min(1,Math.max(0,e))}function $c(e){return parseInt(e,16)}function Uc(e){return 1==e.length?"0"+e:""+e}function Vc(e){return e<=1&&(e=100*e+"%"),e}function Gc(e){return Math.round(255*parseFloat(e)).toString(16)}function qc(e){return $c(e)/255}function Wc(e){return!!xt.CSS_UNIT.exec(e)}function Kc(){const e=function(){const e=y([]),t=t=>{const n=function(e){if("clipPath"===e.kind)return`clip:${e.pathString}|${e.viewBox[0]}x${e.viewBox[1]}|${e.bounds[0]}x${e.bounds[1]}`;if("gradient"===e.kind){const t=e.spec,n=t.stops.map(e=>`${e.position}:${e.color}`).join(",");return`grad:${t.gradientType}|${t.angle??0}|${n}|${e.bounds[0]}x${e.bounds[1]}`}if("imagePattern"===e.kind){const t=e.spec,n=t.crop?`${t.crop.left??0},${t.crop.top??0},${t.crop.right??0},${t.crop.bottom??0}`:"";return`img:${t.src}|fit=${t.fit?.mode??"fill"}|crop=${n}|op=${t.opacity??1}|${e.bounds[0]}x${e.bounds[1]}`}const t=e.spec;return`shd:${t.blur}|${t.color}|${t.offset?.[0]??0},${t.offset?.[1]??0}`}(t),r=e.value.find(e=>e.fingerprint===n);if(r)return r.refCount++,r.id;const o=`def-${St(8)}`;return e.value=[...e.value,{id:o,fingerprint:n,refCount:1,spec:t}],o},n=t=>{const n=e.value.find(e=>e.id===t);n&&(n.refCount--,n.refCount<=0&&(e.value=e.value.filter(e=>e.id!==t)))};return{entries:e,register:t,unref:n}}();return j(_t,e),e}function Jc(e){let t="light";t="system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches||"dark"===window.INJECT_ENV?.theme?"dark":"light":e,Vt.value===t&&document.documentElement.classList.contains(t)||(Vt.value=t,document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(Vt.value))}function Zc(e){if(!Kt.has(e)&&Object.prototype.hasOwnProperty.call(Wt,e))return Wt[e]}function Xc(e,t,n){return Yc(new pe,function(e){return e?Object.assign(Object.assign({},mn),e):mn}(n),Me(e,t)).finish()}function Yc(e,t,n){var r;for(const o of n.sortedFields)if(n.isSet(o))Qc(e,t,n,o);else if(o.presence==pn)throw new Error(`cannot encode ${o} to binary: required field not set`);if(t.writeUnknownFields)for(const{no:o,wireType:a,data:i}of null!==(r=n.getUnknown())&&void 0!==r?r:[])e.tag(o,a).raw(i);return e}function Qc(e,t,n,r){var o;switch(r.fieldKind){case"scalar":case"enum":eu(e,n.desc.typeName,r.name,null!==(o=r.scalar)&&void 0!==o?o:ge.INT32,r.number,n.get(r));break;case"list":!function(e,t,n,r){var o;if("message"==n.listKind){for(const o of r)tu(e,t,n,o);return}const a=null!==(o=n.scalar)&&void 0!==o?o:ge.INT32;if(n.packed){if(!r.size)return;e.tag(n.number,ce.LengthDelimited).fork();for(const t of r)ru(e,n.parent.typeName,n.name,a,t);e.join()}else for(const i of r)eu(e,n.parent.typeName,n.name,a,n.number,i)}(e,t,r,n.get(r));break;case"message":tu(e,t,r,n.get(r));break;case"map":for(const[o,a]of n.get(r))nu(e,t,r,o,a)}}function eu(e,t,n,r,o,a){ru(e.tag(o,function(e){switch(e){case ge.BYTES:case ge.STRING:return ce.LengthDelimited;case ge.DOUBLE:case ge.FIXED64:case ge.SFIXED64:return ce.Bit64;case ge.FIXED32:case ge.SFIXED32:case ge.FLOAT:return ce.Bit32;default:return ce.Varint}}(r)),t,n,r,a)}function tu(e,t,n,r){n.delimitedEncoding?Yc(e.tag(n.number,ce.StartGroup),t,r).tag(n.number,ce.EndGroup):Yc(e.tag(n.number,ce.LengthDelimited).fork(),t,r).join()}function nu(e,t,n,r,o){var a;switch(e.tag(n.number,ce.LengthDelimited).fork(),eu(e,n.parent.typeName,n.name,n.mapKey,1,r),n.mapKind){case"scalar":case"enum":eu(e,n.parent.typeName,n.name,null!==(a=n.scalar)&&void 0!==a?a:ge.INT32,2,o);break;case"message":Yc(e.tag(2,ce.LengthDelimited).fork(),t,o).join()}e.join()}function ru(e,t,n,r,o){try{switch(r){case ge.STRING:e.string(o);break;case ge.BOOL:e.bool(o);break;case ge.DOUBLE:e.double(o);break;case ge.FLOAT:e.float(o);break;case ge.INT32:e.int32(o);break;case ge.INT64:e.int64(o);break;case ge.UINT64:e.uint64(o);break;case ge.FIXED64:e.fixed64(o);break;case ge.BYTES:e.bytes(o);break;case ge.FIXED32:e.fixed32(o);break;case ge.SFIXED32:e.sfixed32(o);break;case ge.SFIXED64:e.sfixed64(o);break;case ge.SINT64:e.sint64(o);break;case ge.UINT32:e.uint32(o);break;case ge.SINT32:e.sint32(o)}}catch(a){if(a instanceof Error)throw new Error(`cannot encode field ${t}.${n} to binary: ${a.message}`);throw a}}function ou(e,t){if(""===e.typeUrl)return;const n="message"==t.kind?t:t.getMessage(au(e.typeUrl));return n&&function(e,t){return""!==e.typeUrl&&("string"==typeof t?t:t.typeName)===au(e.typeUrl)}(e,n)?_e(n,e.value):void 0}function au(e){const t=e.lastIndexOf("/"),n=t>=0?e.substring(t+1):e;if(!n.length)throw new Error(`invalid type url: ${e}`);return n}function iu(e,t){cu(t,e);const n=function(e,t){if(void 0===e)return[];if("enum"===t.fieldKind||"scalar"===t.fieldKind){for(let n=e.length-1;n>=0;--n)if(e[n].no==t.number)return[e[n]];return[]}return e.filter(e=>e.no===t.number)}(e.$unknown,t),[r,o,a]=lu(t);for(const i of n)Ce(r,new Le(i.data),o,i.wireType,{readUnknownFields:!0});return a()}function su(e,t,n){var r;cu(t,e);const o=(null!==(r=e.$unknown)&&void 0!==r?r:[]).filter(e=>e.no!==t.number),[a,i]=lu(t,n),s=new pe;Qc(s,{writeUnknownFields:!0},a,i);const l=new Le(s.finish());for(;l.pos{const t=a[n];if(void 0===t){const t=e.message;return ke(t)?ue(t.fields[0].scalar,t.fields[0].longAsString):xe(t)}return t}]}function cu(e,t){if(e.extendee.typeName!=t.$typeName)throw new Error(`extension ${e.typeName} can only be applied to message ${e.extendee.typeName}`)}function uu(e,t,n){return du(Me(e,t),function(e){return e?Object.assign(Object.assign({},yn),e):yn}(n))}function du(e,t){var n;const r=mu(e,t);if(void 0!==r)return r;const o={};for(const a of e.sortedFields){if(!e.isSet(a)){if(a.presence==vn)throw new Error(`cannot encode ${a} to JSON: required field not set`);if(!t.alwaysEmitImplicit||a.presence!==bn)continue}const n=fu(a,e.get(a),t);void 0!==n&&(o[pu(a,t)]=n)}if(t.registry){const r=new Set;for(const{no:a}of null!==(n=e.getUnknown())&&void 0!==n?n:[])if(!r.has(a)){r.add(a);const n=t.registry.getExtensionFor(e.desc,a);if(!n)continue;const[i,s]=lu(n,iu(e.message,n)),l=fu(s,i.get(s),t);void 0!==l&&(o[n.jsonName]=l)}}return o}function fu(e,t,n){switch(e.fieldKind){case"scalar":return hu(e,t);case"message":return du(t,n);case"enum":return gu(e.enum,t,n.enumAsInteger);case"list":return function(e,t){const n=e.field(),r=[];switch(n.listKind){case"scalar":for(const t of e)r.push(hu(n,t));break;case"enum":for(const o of e)r.push(gu(n.enum,o,t.enumAsInteger));break;case"message":for(const n of e)r.push(du(n,t))}return t.alwaysEmitImplicit||r.length>0?r:void 0}(t,n);case"map":return function(e,t){const n=e.field(),r={};switch(n.mapKind){case"scalar":for(const[t,o]of e)r[t]=hu(n,o);break;case"message":for(const[n,o]of e)r[n]=du(o,t);break;case"enum":for(const[o,a]of e)r[o]=gu(n.enum,a,t.enumAsInteger)}return t.alwaysEmitImplicit||e.size>0?r:void 0}(t,n)}}function gu(e,t,n){var r;if("number"!=typeof t)throw new Error(`cannot encode ${e} to JSON: expected number, got ${se(t)}`);if("google.protobuf.NullValue"==e.typeName)return null;if(n)return t;const o=e.value[t];return null!==(r=null==o?void 0:o.name)&&void 0!==r?r:t}function hu(e,t){var n,r,o,a,i,s;switch(e.scalar){case ge.INT32:case ge.SFIXED32:case ge.SINT32:case ge.FIXED32:case ge.UINT32:if("number"!=typeof t)throw new Error(`cannot encode ${e} to JSON: ${null===(n=he(e,t))||void 0===n?void 0:n.message}`);return t;case ge.FLOAT:case ge.DOUBLE:if("number"!=typeof t)throw new Error(`cannot encode ${e} to JSON: ${null===(r=he(e,t))||void 0===r?void 0:r.message}`);return Number.isNaN(t)?"NaN":t===Number.POSITIVE_INFINITY?"Infinity":t===Number.NEGATIVE_INFINITY?"-Infinity":t;case ge.STRING:if("string"!=typeof t)throw new Error(`cannot encode ${e} to JSON: ${null===(o=he(e,t))||void 0===o?void 0:o.message}`);return t;case ge.BOOL:if("boolean"!=typeof t)throw new Error(`cannot encode ${e} to JSON: ${null===(a=he(e,t))||void 0===a?void 0:a.message}`);return t;case ge.UINT64:case ge.FIXED64:case ge.INT64:case ge.SFIXED64:case ge.SINT64:if("bigint"==typeof t||"string"==typeof t||"number"==typeof t&&Number.isInteger(t))return t.toString();throw new Error(`cannot encode ${e} to JSON: ${null===(i=he(e,t))||void 0===i?void 0:i.message}`);case ge.BYTES:if(t instanceof Uint8Array)return ve(t);throw new Error(`cannot encode ${e} to JSON: ${null===(s=he(e,t))||void 0===s?void 0:s.message}`)}}function pu(e,t){return t.useProtoFieldName?e.name:e.jsonName}function mu(e,t){var n;if(e.desc.typeName.startsWith("google.protobuf."))switch(e.desc.typeName){case"google.protobuf.Any":return function(e,t){if(""===e.typeUrl)return{};const{registry:n}=t;let r,o;if(n&&(r=ou(e,n),r&&(o=n.getMessage(r.$typeName))),!o||!r)throw new Error(`cannot encode message ${e.$typeName} to JSON: "${e.typeUrl}" is not in the type registry`);const a=Me(o,r),i=ie(o)?{value:mu(a,t)}:du(a,t);return i["@type"]=e.typeUrl,i}(e.message,t);case"google.protobuf.Timestamp":return function(e){const t=1e3*Number(e.seconds);if(tDate.parse("9999-12-31T23:59:59Z"))throw new Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw new Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);if(e.nanos>999999999)throw new Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be greater than 99999999`);let n="Z";if(e.nanos>0){const t=(e.nanos+1e9).toString().substring(1);n="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(t).toISOString().replace(".000Z",n)}(e.message);case"google.protobuf.Duration":return function(e){const t=Number(e.seconds),n=e.nanos;if(t>315576e6||t<-315576e6)throw new Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);if(t>0&&n<0||t<0&&n>0)throw new Error(`cannot encode message ${e.$typeName} to JSON: nanos sign must match seconds sign`);let r=e.seconds.toString();if(0!==n){let e=Math.abs(n).toString();e="0".repeat(9-e.length)+e,"000000"===e.substring(3)?e=e.substring(0,3):"000"===e.substring(6)&&(e=e.substring(0,6)),r+="."+e,n<0&&0==t&&(r="-"+r)}return r+"s"}(e.message);case"google.protobuf.FieldMask":return(n=e.message).paths.map(e=>{if(Be(me(e))!==e)throw new Error(`cannot encode message ${n.$typeName} to JSON: lowerCamelCase of path name "${e}" is irreversible`);return me(e)}).join(",");case"google.protobuf.Struct":return vu(e.message);case"google.protobuf.Value":return bu(e.message);case"google.protobuf.ListValue":return yu(e.message);default:if(ke(e.desc)){const t=e.desc.fields[0];return hu(t,e.get(t))}return}}function vu(e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=bu(r);return t}function bu(e){switch(e.kind.case){case"nullValue":return null;case"numberValue":if(!Number.isFinite(e.kind.value))throw new Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case"boolValue":case"stringValue":return e.kind.value;case"structValue":return vu(e.kind.value);case"listValue":return yu(e.kind.value);default:throw new Error(`${e.$typeName} must have a value`)}}function yu(e){return e.values.map(bu)}function wu(e,t,n){return Cu(e,function(e,t){try{return JSON.parse(e)}catch(n){const e=n instanceof Error?n.message:String(n);throw new Error(`cannot decode message ${t} from JSON: ${e}`,{cause:n})}}(t,e.typeName),n)}function Cu(e,t,n){const r=Me(e);try{xu(r,t,function(e){return e?Object.assign(Object.assign({},wn),e):wn}(n))}catch(o){if(fe(o))throw new Error(`cannot decode ${o.field()} from JSON: ${o.message}`,{cause:o});throw o}return r.message}function ku(e,t){var n;if(!Cn.has(e)){const t=new Map;for(const n of e.fields)t.set(n.name,n).set(n.jsonName,n);Cn.set(e,t)}return null===(n=Cn.get(e))||void 0===n?void 0:n.get(t)}function xu(e,t,n){var r;if(function(e,t,n){if(!e.desc.typeName.startsWith("google.protobuf."))return!1;switch(e.desc.typeName){case"google.protobuf.Any":return function(e,t,n){var r;if(null===t||Array.isArray(t)||"object"!=typeof t)throw new Error(`cannot decode message ${e.$typeName} from JSON: expected object but got ${se(t)}`);if(0==Object.keys(t).length)return;const o=t["@type"];if("string"!=typeof o||""==o)throw new Error(`cannot decode message ${e.$typeName} from JSON: "@type" is empty`);const a=o.includes("/")?o.substring(o.lastIndexOf("/")+1):o;if(!a.length)throw new Error(`cannot decode message ${e.$typeName} from JSON: "@type" is invalid`);const i=null===(r=n.registry)||void 0===r?void 0:r.getMessage(a);if(!i)throw new Error(`cannot decode message ${e.$typeName} from JSON: ${o} is not in the type registry`);const s=Me(i);if(ie(i)&&Object.prototype.hasOwnProperty.call(t,"value"))xu(s,t.value,n);else{const e=Object.assign({},t);delete e["@type"],xu(s,e,n)}!function(e,t,n){let r=!1;n||(n=xe(Ee),r=!0),n.value=Xc(e,t),n.typeUrl=`type.googleapis.com/${t.$typeName}`}(s.desc,s.message,e)}(e.message,t,n),!0;case"google.protobuf.Timestamp":return function(e,t){if("string"!=typeof t)throw new Error(`cannot decode message ${e.$typeName} from JSON: ${se(t)}`);const n=t.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.([0-9]{1,9}))?(?:Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!n)throw new Error(`cannot decode message ${e.$typeName} from JSON: invalid RFC 3339 string`);const r=Date.parse(n[1]+"-"+n[2]+"-"+n[3]+"T"+n[4]+":"+n[5]+":"+n[6]+(n[8]?n[8]:"Z"));if(Number.isNaN(r))throw new Error(`cannot decode message ${e.$typeName} from JSON: invalid RFC 3339 string`);if(rDate.parse("9999-12-31T23:59:59Z"))throw new Error(`cannot decode message ${e.$typeName} from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);e.seconds=de.parse(r/1e3),e.nanos=0,n[7]&&(e.nanos=parseInt("1"+n[7]+"0".repeat(9-n[7].length))-1e9)}(e.message,t),!0;case"google.protobuf.Duration":return function(e,t){if("string"!=typeof t)throw new Error(`cannot decode message ${e.$typeName} from JSON: ${se(t)}`);const n=t.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);if(null===n)throw new Error(`cannot decode message ${e.$typeName} from JSON: ${se(t)}`);const r=Number(n[1]);if(r>315576e6||r<-315576e6)throw new Error(`cannot decode message ${e.$typeName} from JSON: ${se(t)}`);if(e.seconds=de.parse(r),"string"!=typeof n[2])return;const o=n[2]+"0".repeat(9-n[2].length);e.nanos=parseInt(o),(r<0||Object.is(r,-0))&&(e.nanos=-e.nanos)}(e.message,t),!0;case"google.protobuf.FieldMask":return function(e,t){if("string"!=typeof t)throw new Error(`cannot decode message ${e.$typeName} from JSON: ${se(t)}`);""!==t&&(e.paths=t.split(",").map(t=>{if(t.includes("_"))throw new Error(`cannot decode message ${e.$typeName} from JSON: path names must be lowerCamelCase`);return Be(t)}))}(e.message,t),!0;case"google.protobuf.Struct":return Au(e.message,t),!0;case"google.protobuf.Value":return Ou(e.message,t),!0;case"google.protobuf.ListValue":return Fu(e.message,t),!0;default:if(ke(e.desc)){const n=e.desc.fields[0];return null===t?e.clear(n):e.set(n,Bu(n,t)),!0}return!1}}(e,t,n))return;if(null==t||Array.isArray(t)||"object"!=typeof t)throw new Error(`cannot decode ${e.desc} from JSON: ${se(t)}`);const o=new Map;for(const[a,i]of Object.entries(t)){const t=ku(e.desc,a);if(t){if(t.oneof){if(null===i&&"scalar"==t.fieldKind)continue;const e=o.get(t.oneof);if(void 0!==e)throw new le(t.oneof,`oneof set multiple times by ${e.name} and ${t.name}`);o.set(t.oneof,t)}Su(e,t,i,n)}else{let t;if(a.startsWith("[")&&a.endsWith("]")&&(t=null===(r=n.registry)||void 0===r?void 0:r.getExtension(a.substring(1,a.length-1)))&&t.extendee.typeName===e.desc.typeName){const[r,o,a]=lu(t);Su(r,o,i,n),su(e.message,t,a())}if(!t&&!n.ignoreUnknownFields)throw new Error(`cannot decode ${e.desc} from JSON: key "${a}" is unknown`)}}}function Su(e,t,n,r){switch(t.fieldKind){case"scalar":!function(e,t,n){null===n?e.clear(t):e.set(t,Bu(t,n))}(e,t,n);break;case"enum":!function(e,t,n,r){if(Eu(t,n))return void e.clear(t);const o=Tu(t.enum,n,r.ignoreUnknownFields);o!==kn&&e.set(t,o)}(e,t,n,r);break;case"message":!function(e,t,n,r){if(Eu(t,n))return void e.clear(t);const o=e.isSet(t)?e.get(t):Me(t.message);xu(o,n,r),e.set(t,o)}(e,t,n,r);break;case"list":!function(e,t,n){if(null===t)return;const r=e.field();if(!Array.isArray(t))throw new le(r,"expected Array, got "+se(t));for(const o of t){const t=_u(r,o,n);t!==kn&&e.add(t)}}(e.get(t),n,r);break;case"map":!function(e,t,n){if(null===t)return;const r=e.field();if("object"!=typeof t||Array.isArray(t))throw new le(r,"expected object, got "+se(t));for(const[o,a]of Object.entries(t)){const t=Lu(r.mapKey,o),i=_u(r,a,n);i!==kn&&e.set(t,i)}}(e.get(t),n,r)}}function _u(e,t,n){if(e.scalar&&null!==t)return Bu(e,t);if(e.message&&!Eu(e,t)){const r=Me(e.message);return xu(r,t,n),r}if(e.enum&&!Eu(e,t))return Tu(e.enum,t,n.ignoreUnknownFields);throw new le(e,("list"===e.fieldKind?"list item":"map value")+" must not be null")}function Eu(e,t){var n,r;return null===t&&"google.protobuf.Value"!=(null===(n=e.message)||void 0===n?void 0:n.typeName)&&"google.protobuf.NullValue"!=(null===(r=e.enum)||void 0===r?void 0:r.typeName)}function Tu(e,t,n){if(null===t)return e.values[0].number;switch(typeof t){case"number":if(Number.isInteger(t))return t;break;case"string":const r=e.values.find(e=>e.name===t);if(void 0!==r)return r.number;if(n)return kn}throw new Error(`cannot decode ${e} from JSON: ${se(t)}`)}function Bu(e,t){switch(e.scalar){case ge.DOUBLE:case ge.FLOAT:if("NaN"===t)return NaN;if("Infinity"===t)return Number.POSITIVE_INFINITY;if("-Infinity"===t)return Number.NEGATIVE_INFINITY;if("number"==typeof t){if(Number.isNaN(t))throw new le(e,"unexpected NaN number");if(!Number.isFinite(t))throw new le(e,"unexpected infinite number");break}if("string"==typeof t){if(""===t)break;if(t.trim().length!==t.length)break;const e=Number(t);if(!Number.isFinite(e))break;return e}break;case ge.INT32:case ge.FIXED32:case ge.SFIXED32:case ge.SINT32:case ge.UINT32:return Mu(t);case ge.BYTES:if("string"==typeof t){if(""===t)return new Uint8Array(0);try{return Ae(t)}catch(n){throw new le(e,n instanceof Error?n.message:String(n))}}}return t}function Lu(e,t){switch(e){case ge.BOOL:switch(t){case"true":return!0;case"false":return!1}return t;case ge.INT32:case ge.FIXED32:case ge.UINT32:case ge.SFIXED32:case ge.SINT32:return Mu(t);default:return t}}function Mu(e){if("string"==typeof e){if(""===e)return e;if(e.trim().length!==e.length)return e;const t=Number(e);return Number.isNaN(t)?e:t}return e}function Au(e,t){if("object"!=typeof t||null==t||Array.isArray(t))throw new Error(`cannot decode message ${e.$typeName} from JSON ${se(t)}`);for(const[n,r]of Object.entries(t)){const t=xe(ye);Ou(t,r),e.fields[n]=t}}function Ou(e,t){switch(typeof t){case"number":e.kind={case:"numberValue",value:t};break;case"string":e.kind={case:"stringValue",value:t};break;case"boolean":e.kind={case:"boolValue",value:t};break;case"object":if(null===t)e.kind={case:"nullValue",value:Te.NULL_VALUE};else if(Array.isArray(t)){const n=xe(Se);Fu(n,t),e.kind={case:"listValue",value:n}}else{const n=xe(be);Au(n,t),e.kind={case:"structValue",value:n}}break;default:throw new Error(`cannot decode message ${e.$typeName} from JSON ${se(t)}`)}return e}function Fu(e,t){if(!Array.isArray(t))throw new Error(`cannot decode message ${e.$typeName} from JSON ${se(t)}`);for(const n of t){const t=xe(ye);Ou(t,n),e.values.push(t)}}function Pu(e){const t=xn[e];return"string"!=typeof t?e.toString():t[0].toLowerCase()+t.substring(1).replace(/[A-Z]/g,e=>"_"+e.toLowerCase())}function Iu(e){let t;const n=new En(4294967295);return new ReadableStream({start(){t=e.getReader()},async pull(e){let r=!1;for(;!r;){const o=await t.read();if(o.done)n.byteLength>0&&e.error(new _n("protocol error: incomplete envelope",xn.InvalidArgument)),e.close();else for(const t of n.decode(o.value))e.enqueue(t),r=!0}}})}function Nu(e,t){return function(e,t){const n={};for(const r of e.methods){const e=t(r);null!=e&&(n[r.localName]=e)}return n}(e,e=>{switch(e.methodKind){case"unary":return function(e,t){return async(n,r)=>{var o,a;const i=await e.unary(t,null==r?void 0:r.signal,null==r?void 0:r.timeoutMs,null==r?void 0:r.headers,n,null==r?void 0:r.contextValues);return null===(o=null==r?void 0:r.onHeader)||void 0===o||o.call(r,i.header),null===(a=null==r?void 0:r.onTrailer)||void 0===a||a.call(r,i.trailer),i.message}}(t,e);case"server_streaming":return function(e,t){return(n,r)=>Ru(e.stream(t,null==r?void 0:r.signal,null==r?void 0:r.timeoutMs,null==r?void 0:r.headers,function(e){return Ln(this,arguments,function*(){yield Bn(yield*Mn(Tn(e)))})}([n]),null==r?void 0:r.contextValues),r)}(t,e);case"client_streaming":return function(e,t){return async(n,r)=>{var o,a,i,s,l,c;const u=await e.stream(t,null==r?void 0:r.signal,null==r?void 0:r.timeoutMs,null==r?void 0:r.headers,n,null==r?void 0:r.contextValues);let d;null===(l=null==r?void 0:r.onHeader)||void 0===l||l.call(r,u.header);let f=0;try{for(var g,h=!0,p=An(u.message);!(o=(g=await p.next()).done);h=!0)s=g.value,h=!1,d=s,f++}catch(m){a={error:m}}finally{try{h||o||!(i=p.return)||await i.call(p)}finally{if(a)throw a.error}}if(!d)throw new _n("protocol error: missing response message",xn.Unimplemented);if(f>1)throw new _n("protocol error: received extra messages for client streaming method",xn.Unimplemented);return null===(c=null==r?void 0:r.onTrailer)||void 0===c||c.call(r,u.trailer),d}}(t,e);case"bidi_streaming":return function(e,t){return(n,r)=>Ru(e.stream(t,null==r?void 0:r.signal,null==r?void 0:r.timeoutMs,null==r?void 0:r.headers,n,null==r?void 0:r.contextValues),r)}(t,e);default:return null}})}function Ru(e,t){const n=function(){return Pn(this,arguments,function*(){var n,r;const o=yield On(e);null===(n=null==t?void 0:t.onHeader)||void 0===n||n.call(t,o.header),yield On(yield*Fn(An(o.message))),null===(r=null==t?void 0:t.onTrailer)||void 0===r||r.call(t,o.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>n.next()})}}function Du(e){if(!e.aborted)return;if(void 0!==e.reason)return e.reason;const t=new Error("This operation was aborted");return t.name="AbortError",t}function ju(){return{get(e){return e.id in this?this[e.id]:e.defaultValue},set(e,t){return this[e.id]=t,this},delete(e){return delete this[e.id],this}}}function Hu(e,t){return e.toString().replace(/\/?$/,`/${t.parent.typeName}/${t.name}`)}function zu(e,t){return xe(e,t)}function $u(e,t){function n(t){return!0===t.done?t:{done:t.done,value:zu(e,t.value)}}return{[Symbol.asyncIterator](){const e=t[Symbol.asyncIterator](),r={next:()=>e.next().then(n)};return void 0!==e.throw&&(r.throw=t=>e.throw(t).then(n)),void 0!==e.return&&(r.return=t=>e.return(t).then(n)),r}}}function Uu(e,t){if(!t)return e;for(const n of t.concat().reverse())e=n(e);return e}function Vu(e){var t;const n=Object.assign({},e);return null!==(t=n.ignoreUnknownFields)&&void 0!==t||(n.ignoreUnknownFields=!0),n}function Gu(e,t,n,r){const o=t?qu(e.input,r):Wu(e.input,n);return{parse:(t?qu(e.output,r):Wu(e.output,n)).parse,serialize:o.serialize}}function qu(e,t){return{parse(n){try{return _e(e,n,t)}catch(r){throw new _n(`parse binary: ${r instanceof Error?r.message:String(r)}`,xn.Internal)}},serialize(n){try{return Xc(e,n,t)}catch(r){throw new _n(`serialize binary: ${r instanceof Error?r.message:String(r)}`,xn.Internal)}}}}function Wu(e,t){var n,r;const o=null!==(n=null==t?void 0:t.textEncoder)&&void 0!==n?n:new TextEncoder,a=null!==(r=null==t?void 0:t.textDecoder)&&void 0!==r?r:new TextDecoder,i=Vu(t);return{parse(t){try{return wu(e,a.decode(t),i)}catch(n){throw _n.from(n,xn.InvalidArgument)}},serialize(t){try{const n=function(e,t,n){var r;const o=uu(e,t,n);return JSON.stringify(o,null,null!==(r=null==n?void 0:n.prettySpaces)&&void 0!==r?r:0)}(e,t,i);return o.encode(n)}catch(n){throw _n.from(n,xn.Internal)}}}}function Ku(e,t,n){var r;if(t&&new Headers(t).forEach((e,t)=>n.metadata.append(t,e)),"object"!=typeof e||null==e||Array.isArray(e))throw n;let o=n.code;"code"in e&&"string"==typeof e.code&&(o=null!==(r=function(e){if(!Sn){Sn={};for(const e of Object.values(xn))"string"!=typeof e&&(Sn[Pu(e)]=e)}return Sn[e]}(e.code))&&void 0!==r?r:o);const a=e.message;if(null!=a&&"string"!=typeof a)throw n;const i=new _n(null!=a?a:"",o,t);if("details"in e&&Array.isArray(e.details))for(const l of e.details){if(null===l||"object"!=typeof l||Array.isArray(l)||"string"!=typeof l.type||"string"!=typeof l.value)throw n;try{i.details.push({type:l.type,value:Ae(l.value),debug:l.debug})}catch(s){throw n}}return i}function Ju(e){const t=new _n("invalid end stream",xn.Unknown);let n;try{n=JSON.parse("string"==typeof e?e:(new TextDecoder).decode(e))}catch(o){throw t}if("object"!=typeof n||null==n||Array.isArray(n))throw t;const r=new Headers;if("metadata"in n){if("object"!=typeof n.metadata||null==n.metadata||Array.isArray(n.metadata))throw t;for(const[e,o]of Object.entries(n.metadata)){if(!Array.isArray(o)||o.some(e=>"string"!=typeof e))throw t;for(const t of o)r.append(e,t)}}return{metadata:r,error:"error"in n&&null!=n.error?Ku(n.error,r,t):void 0}}function Zu(e){const t=new Headers,n=new Headers;return e.forEach((e,r)=>{r.toLowerCase().startsWith("trailer-")?n.append(r.substring(8),e):t.append(r,e)}),[t,n]}function Xu(e,t,n,r,o){const a=new Headers(null!=r?r:{});return void 0!==n&&a.set(Vn,`${n}`),a.set(Hn,"unary"==e?t?Nn:Rn:t?Dn:jn),a.set(Gn,"1"),!a.has("User-Agent")&&o&&a.set(qn,"connect-es/2.1.1"),a}function Yu(e,t,n,r){const o=r.get(Hn),a=function(e){const t=null==e?void 0:e.match(In);if(t)return{stream:!!t[1],binary:!!t[3]}}(o);if(200!==n){const t=new _n(`HTTP ${n}`,function(e){switch(e){case 400:return xn.Internal;case 401:return xn.Unauthenticated;case 403:return xn.PermissionDenied;case 404:return xn.Unimplemented;case 429:case 502:case 503:case 504:return xn.Unavailable;default:return xn.Unknown}}(n),r);if("unary"==e&&a&&!a.binary)return{isUnaryError:!0,unaryError:t};throw t}const i=t,s="unary"!==e;if((null==a?void 0:a.binary)!==i||a.stream!==s)throw new _n(`unsupported content type ${o}`,void 0===a?xn.Unknown:xn.Internal,r);return{isUnaryError:!1}}function Qu(e,t,n){let r="?connect=v1";const o=e.header.get(Hn);0===(null==o?void 0:o.indexOf(Wn))&&(r+="&encoding="+encodeURIComponent(o.slice(12)));const a=e.header.get($n);null!==a&&"identity"!==a&&(r+="&compression="+encodeURIComponent(a),n=!0),n&&(r+="&base64=1"),r+="&message="+function(e,t){return t?ve(e,"url"):encodeURIComponent((new TextDecoder).decode(e))}(t,n);const i=e.url+r,s=new Headers(e.header);for(const l of[Gn,Hn,zn,$n,Un])s.delete(l);return Object.assign(Object.assign({},e),{requestMethod:"GET",url:i,header:s})}function ed(e){const{signal:t,cleanup:n}=function(e){const t=new AbortController,n=()=>{t.abort(new _n("the operation timed out",xn.DeadlineExceeded))};let r;return void 0!==e&&(e<=0?n():r=setTimeout(n,e)),{signal:t.signal,cleanup:()=>clearTimeout(r)}}(e.timeoutMs),r=function(...e){const t=new AbortController,n=e.filter(e=>void 0!==e).concat(t.signal);for(const o of n){if(o.aborted){r.apply(o);break}o.addEventListener("abort",r)}function r(){t.signal.aborted||t.abort(Du(this));for(const e of n)e.removeEventListener("abort",r)}return t}(e.signal,t);return[r.signal,function(e){const o=_n.from(t.aborted?Du(t):e);return r.abort(o),n(),Promise.reject(o)},function(){n(),r.abort()}]}function td(e){var t;!function(){try{new Headers}catch(e){throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}();const n=null!==(t=e.useBinaryFormat)&&void 0!==t&&t;return{async unary(t,r,o,a,i,s){const{serialize:l,parse:c}=Gu(t,n,e.jsonOptions,e.binaryOptions);return o=void 0===o?e.defaultTimeoutMs:o<=0?void 0:o,await function(e){const t=Uu(e.next,e.interceptors),[n,r,o]=ed(e);return t(Object.assign(Object.assign({},e.req),{message:zu(e.req.method.input,e.req.message),signal:n})).then(e=>(o(),e),r)}({interceptors:e.interceptors,signal:r,timeoutMs:o,req:{stream:!1,service:t.parent,method:t,requestMethod:"POST",url:Hu(e.baseUrl,t),header:Xu(t.methodKind,n,o,a,!1),contextValues:null!=s?s:ju(),message:i},next:async r=>{var o;let a=null;!0===e.useHttpGet&&t.idempotency===we.NO_SIDE_EFFECTS?r=Qu(r,l(r.message),n):a=l(r.message);const i=await(null!==(o=e.fetch)&&void 0!==o?o:globalThis.fetch)(r.url,Object.assign(Object.assign({},Zn),{method:r.requestMethod,headers:r.header,signal:r.signal,body:a})),{isUnaryError:s,unaryError:u}=Yu(t.methodKind,n,i.status,i.headers);if(s)throw Ku(await i.json(),function(...e){const t=new Headers;for(const n of e)n.forEach((e,n)=>{t.append(n,e)});return t}(...Zu(i.headers)),u);const[d,f]=Zu(i.headers);return{stream:!1,service:t.parent,method:t,header:d,message:n?c(new Uint8Array(await i.arrayBuffer())):Cu(t.output,await i.json(),Vu(e.jsonOptions)),trailer:f}}})},async stream(t,r,o,a,i,s){const{serialize:l,parse:c}=Gu(t,n,e.jsonOptions,e.binaryOptions);function u(e,t,n,r){return Jn(this,arguments,function*(){const o=Iu(e).getReader();let a=!1;for(;;){const e=yield Kn(o.read());if(e.done)break;const{flags:r,data:i}=e.value;if(!(1&~r))throw new _n("protocol error: received unsupported compressed output",xn.Internal);if(!(2&~r)){a=!0;const e=Ju(i);if(e.error){const t=e.error;throw n.forEach((e,n)=>{t.metadata.append(n,e)}),t}e.metadata.forEach((e,n)=>t.set(n,e));continue}yield yield Kn(c(i))}if("throwIfAborted"in r&&r.throwIfAborted(),!a)throw"missing EndStreamResponse"})}async function d(e){if("server_streaming"!=t.methodKind)throw"The fetch API does not support streaming request bodies";const n=await e[Symbol.asyncIterator]().next();if(1==n.done)throw"missing request message";return function(e,t){const n=new Uint8Array(t.length+5);n.set(t,5);const r=new DataView(n.buffer,n.byteOffset,n.byteLength);return r.setUint8(0,e),r.setUint32(1,t.length),n}(0,l(n.value))}return o=void 0===o?e.defaultTimeoutMs:o<=0?void 0:o,await function(e){const t=Uu(e.next,e.interceptors),[n,r,o]=ed(e),a=Object.assign(Object.assign({},e.req),{message:$u(e.req.method.input,e.req.message),signal:n});let i=!1;return n.addEventListener("abort",function(){var t,n;const r=e.req.message[Symbol.asyncIterator]();i||null===(t=r.throw)||void 0===t||t.call(r,this.reason).catch(()=>{}),null===(n=r.return)||void 0===n||n.call(r).catch(()=>{})}),t(a).then(e=>Object.assign(Object.assign({},e),{message:{[Symbol.asyncIterator](){const t=e.message[Symbol.asyncIterator]();return{next:()=>t.next().then(e=>(1==e.done&&(i=!0,o()),e),r)}}}}),r)}({interceptors:e.interceptors,timeoutMs:o,signal:r,req:{stream:!0,service:t.parent,method:t,requestMethod:"POST",url:Hu(e.baseUrl,t),header:Xu(t.methodKind,n,o,a,!1),contextValues:null!=s?s:ju(),message:i},next:async r=>{var o;const a=await(null!==(o=e.fetch)&&void 0!==o?o:globalThis.fetch)(r.url,Object.assign(Object.assign({},Zn),{method:r.requestMethod,headers:r.header,signal:r.signal,body:await d(r.message)}));if(Yu(t.methodKind,n,a.status,a.headers),null===a.body)throw"missing response body";const i=new Headers;return Object.assign(Object.assign({},r),{header:a.headers,trailer:i,message:u(a.body,i,a.headers,r.signal)})}})}}}async function nd(e,t){if(!window.webViewId)return Promise.reject(new Error(Yn));const n=Math.random().toString(36).slice(2,12),r={webViewId:window.webViewId,messageId:n,method:e,params:t??{}};if(window.webkit)return window.webkit.messageHandlers.kimiBridge.postMessage(r),new Promise((e,t)=>{Xn[n]={type:"once",resolve:e,reject:t}});if(window.KimiBridge)return window.KimiBridge[e](JSON.stringify(r)),new Promise((e,t)=>{Xn[n]={type:"once",resolve:e,reject:t}});throw new Error(Yn)}async function rd(){let e=localStorage.getItem(tr),t=localStorage.getItem(er);if(!te&&Qn())try{const n=await nd("getToken");n?.accessToken&&(e=n.accessToken),n?.refreshToken&&(t=n.refreshToken)}catch(n){console.error("get token failed")}return{accessToken:e,refreshToken:t,type:"normal"}}function od(e){return`${e}?t=${+(Date.now()/36e5).toFixed(0)}`}function ad(e){window.collectEvent?.("msh_risk_sdk_init",{is_success:!0,sdk_source:e})}function id(e,t){window.collectEvent?.("msh_risk_sdk_init",{is_success:!1,sdk_source:e,error_msg:t instanceof Error?t.message:String(t)})}function sd(e){return new Promise((t,n)=>{if(document.querySelector(`script[src="${e}"]`))return void t();const r=document.createElement("script");r.src=e,r.async=!0,r.addEventListener("load",()=>t(),{once:!0}),r.addEventListener("error",()=>n(new Error(`Failed to load script: ${e}`)),{once:!0}),document.head.appendChild(r)})}async function ld(){const e=await async function(e){return Promise.race([wc(1e3).then(()=>null),e.catch(()=>null)])}(async function(){if("undefined"==typeof window)return;or&&await or;const e=window._fmOpt?.getinfo?.();return window.collectEvent?.("msh_risk_box_get_sync",{is_success:!!e?.length,is_initialized:!!or}),rr&&e?`${rr}:${e}`:void 0}());return e?{"x-msh-shield-data":e}:{}}async function cd(){const{accessToken:e}=await rd(),t=await ld();return{"x-msh-platform":"web","R-Timezone":Intl.DateTimeFormat().resolvedOptions().timeZone,...!Q&&e?{Authorization:`Bearer ${e}`}:{},...t}}function ud(e,...t){}function dd(...e){ud("error",...e)}function fd(e){Object.assign(dr,e);for(const t of Object.keys(e))void 0===e[t]&&delete dr[t]}function gd(e={}){return e.getLocale&&(lr=e.getLocale),e.commonParams&&fd(e.commonParams),function(){if(window.LogAnalyticsObject="collectEvent",window.collectEvent)return;const e=function(){e.q?.push(arguments)};e.q=[],e.l=Date.now(),window.collectEvent=e}(),cr=(e,t)=>{window.collectEvent?.(e,{locale:lr(),...t})},ur||(window.collectEvent?.("init",{app_id:20001731,channel_domain:"https://gator.volces.com",ab_channel_domain:"https://tab.volces.com",log:!0,autotrack:!1,enable_ab_test:!0,auto_exposure_expriment:!0,enable_stay_duration:!0}),window.collectEvent?.("start"),ur=new Promise((e,t)=>{if(document.querySelector(`script[src="${sr}"]`))return void e();const n=document.createElement("script");n.src=sr,n.async=!0,n.addEventListener("load",()=>e(),{once:!0}),n.addEventListener("error",()=>t(new Error("load data finder sdk failed")),{once:!0}),document.head.appendChild(n)}).catch(e=>{dd(e)})),ur??Promise.resolve()}function hd(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||0>>((3&n)<<3)&255;return e}();return e[6]=15&e[6]|64,e[8]=63&e[8]|128,function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);var r=0,o=t;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[14]],o[e[15]]].join("")}(e)}function Md(e){var t,n,r=e.builder,o=e.createSender,a=e.createDefaultConfig,i=e.createConfigManager,s=e.userConfigNormalizer,l=e.initConfigNormalizer,c=e.validateInitConfig,u={};qr.forEach(function(e){return u[e]=[]});var d=!1,f=!1,g=!1,h=[],p=[],m=function(){function e(e){e.length&&e.forEach(function(e){try{e()}catch(e){}}),e.length=0}function t(t){r[t]&&r[t].forEach(function(t){e(t[1])}),r[t]=void 0}var n=!1,r={};return{set:function(t,o,a){r[t]?r[t].push([o,a]):r[t]=[[o,a]],n&&e(a)},has:function(e){return!!r[e]},remove:t,removeByEvType:function(t){Object.keys(r).forEach(function(n){r[n]&&r[n].forEach(function(n){n[0]===t&&e(n[1])})})},clear:function(){n=!0,Object.keys(r).forEach(function(e){t(e)})}}}(),v={getBuilder:function(){return r},getSender:function(){return t},getPreStartQueue:function(){return h},init:function(e){if(d)Fr("already inited");else{if(!(e&&vd(e)&&c(e)))throw new Error("invalid InitConfig, init failed");var r=a(e);if(!r)throw new Error("defaultConfig missing");if(e=l(e),(n=i(r)).setConfig(e),n.onChange(function(){b("config")}),!(t=o(n.getConfig())))throw new Error("sender missing");b("init",d=!0)}},set:function(e){d&&e&&vd(e)&&(b("beforeConfig",!1,e),n?.setConfig(e))},config:function(e){if(d)return e&&vd(e)&&(b("beforeConfig",!1,e),n?.setConfig(s(e))),null==n?void 0:n.getConfig()},provide:function(e,t){Ed(p,e)?Fr("cannot provide "+e+", reserved"):(v[e]=t,b("provide",!1,e))},start:function(){d&&(f||n?.onReady(function(){b("start",f=!0),function(e){var t=e.getPreStartQueue();t.forEach(function(t){return e.build(t)}),t.length=0}(v)}))},report:function(e){e&&(!(e=Nr(u.beforeReport)(e))||(e=Nr(u.report)(e))&&(f?this.build(e):function(e,t,n){t.push(n),t.length ")}catch(e){return go}}function qd(e){var t,n,r,o,a=e,i=[];if(!a||!a.tagName)return"";if(i.push(a.tagName.toLowerCase()),a.id)return"#"+a.id;if((e=a.className)&&kd(e))for(n=e.split(/\s+/),l=0;l=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),i=a.next();!i.done;i=a.next()){var s=i.value,l=is(s);o"+e+""}function sf(e,t){void 0===e&&(e=192),void 0===t&&(t=108);var n=document.createElement("canvas");n.width=e,n.height=t;var r=n.getContext("2d");return r&&(r.fillStyle="#ffffff",r.fillRect(0,0,e,t)),n.toDataURL("image/jpeg")}function lf(e,t){e.on("init",function(){var n={autoDetect:!0,threshold:Xs,screenshot:!0,ssUrl:"https://apm.volccdn.com/mars-web/apmplus/web/html2canvas.min.js",mask:!1,partialShot:!0,quality:el,initDetTime:Ys,runDetTime:Qs};(n=t?yo(t,n):Kd(e,ul,n))&&function(e,t){var n,r,o=Pd(),a=Fd();o&&a&&(a=[],t=hd(cl(e.report.bind(e),a,[Ad(e,pi),function(){return Ad(e,gi)},function(){return Ad(e,zo)},function(){return Ad(e,Uo)},Ad(e,di)],t),2),n=t[0],t=t[1],e.on("report",r=function(e){return n(e),e}),a.push(function(){e.off("report",r)}),Ur(e,ul,ea,a),e.provide("detectBlankScreen",t))}(e,n)})}function cf(e){e.on("init",function(){var t=e.pp||dl;null!==(u=t.observer)&&void 0!==u&&u.disconnect();var n,r,o,a,i,s,l,c,u,d,f,g=Kd(e,fl,{});g&&(n=function(){return Ad(e,pi)},r=function(){return Ad(e,ii)},o=function(){return Ad(e,di)},a=Ad(e,ci),i=Ad(e,zo),s=void 0,Od(e,[no,ro(e)],-1)[0](function(e){s=e})(),l=function(t){t=t.ev_type===Xo&&(t.payload.name===Rs[0]||t.payload.name===$s[0])||t.ev_type===Qo?t:gr(gr({},t),{overrides:s}),e.report(t)},c=function(){return Od(e,[eo,to(e)])},[fs,gs,Fs,$s,Rs].forEach(function(t){!1!==g[t[0]]&&(t[1](l,t=[],[n(),r,o,c]),Ur(e,fl,Xo,t))}),[Gs,Ks].forEach(function(t){var r;!1!==g[t[0]]&&(t[1](l,r=[],[a,n,o(),i]),t=t[0]===Us?Qo:t[0]===qs?Yo:Xo,Ur(e,fl,t,r))}),u=(d=hd(rs(e.report.bind(e)),2))[0],d=d[1],e.provide("performanceInit",u),e.provide("performanceSend",d),t.entries.length=0,f=function(t){var n=gr(gr(gr({},Xi),t),{isCustom:!0});(t=So(f))&&Object.assign(n,{stacks:t}),e.report(es(n))},e.provide("sendCustomPerfMetric",f))})}function uf(e){return(e=new Error(e)).name="RequestNetworkError",e}function df(e){var t=function(e){var t,n,r=e.transport,o=e.endpoint,a=e.size,i=void 0===a?hr:a,s=void 0===(e=e.wait)?pr:e,l=[],c=0;function u(){var e;l.length&&(e=this.getBatchData(),r.post({url:o,data:e,fail:function(n){t&&t(n,e)},success:function(){n&&n(e)}}),l=[])}return{getSize:function(){return i},getWait:function(){return s},setSize:function(e){i=e},setWait:function(e){s=e},getEndpoint:function(){return o},setEndpoint:function(e){o=e},send:function(e){l.push(e),l.length>=i&&u.call(this),clearTimeout(c),c=setTimeout(u.bind(this),s)},flush:function(){clearTimeout(c),u.call(this)},getBatchData:function(){return l.length?mr(l):""},clear:function(){clearTimeout(c),l=[]},fail:function(e){t=e},success:function(e){n=e}}}(e),n=t.send;return vo(function(){var r,o;e.transport.useBeacon?(r=El(),(o=t.getBatchData())&&(r.post(t.getEndpoint(),o),t.clear()),t.send=function(e){r.post(t.getEndpoint(),mr([e]))},bo(function(){t.send=n})):t.flush()}),t}function ff(e,t){return e.plugins.filter(function(e){return e.name===t&&"2.10.1"===e.version})[0]}function gf(e,t,n){(n=void 0===n?oo(Fd()):n)&&n.plugins&&(ff(n,e)||n.plugins.push({name:e,version:"2.10.1",apply:t}))}function hf(e){e.provide("reloadPlugin",function(t,n){var r;e.destroyAgent.has(t)&&e.destroyAgent.remove(t),void 0!==n&&e.set({plugins:gr(gr({},e.config().plugins),((r={})[t]=n,r))}),e.config().plugins[t]&&function(e,t,n){if(n=void 0===n?oo(Fd()):n)if(n=ff(n,t))try{if(e.destroyAgent.has(t))return;n.apply(e)}catch(e){Fr("[loader].applyPlugin failed",t,e)}else Fr("[loader].applyPlugin not found",t)}(e,t)})}function pf(e){var t,n=e.plugins||{};for(t in n)n[t]&&!vd(n[t])&&(n[t]={});return gr(gr({},e),{plugins:n})}function mf(e){return vd(e)&&"aid"in e}function vf(e){return gr({},e)}function bf(e,t){if(!e||!t)return e||t;var n=gr(gr({},e),t);return n.include_users=pd(pd([],hd(e.include_users||[]),!1),hd(t.include_users||[]),!1),n.rules=pd(pd([],hd(Object.keys(e.rules||{})),!1),hd(Object.keys(t.rules||{})),!1).reduce(function(n,r){var o;return r in n||(r in(e.rules||{})&&r in(t.rules||{})?(n[r]=gr(gr({},e.rules[r]),t.rules[r]),n[r].conditional_sample_rules=pd(pd([],hd(e.rules[r].conditional_sample_rules||[]),!1),hd(t.rules[r].conditional_sample_rules||[]),!1)):n[r]=(null===(o=e.rules)||void 0===o?void 0:o[r])||(null===(o=t.rules)||void 0===o?void 0:o[r])),n},{}),n}return e({D:wc,E:kc,M:bc,N:async function(e,t){if(!t)return async function(e){try{return await navigator.clipboard.writeText(e),!0}catch(Ar){const r=document.createElement("div");r.style.position="fixed",r.style.top="-9999px",r.style.opacity="0",r.textContent=e,document.body.appendChild(r);const o=document.createRange();o.selectNodeContents(r);const a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(o));try{return document.execCommand("copy")}catch(t){return!1}finally{a&&a.removeAllRanges(),document.body.removeChild(r)}}}(e);const n=function(e){const t=e.trimStart();return/^/i.test(t)?t:`\n${t}`}(t);try{return await navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([e],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})})]),!0}catch{return function(e){const t=document.createElement("div");t.style.position="fixed",t.style.opacity="0",t.innerHTML=e,document.body.appendChild(t);const n=document.createRange();n.selectNodeContents(t);const r=window.getSelection();r&&(r.removeAllRanges(),r.addRange(n));try{return document.execCommand("copy")}catch(Ar){return!1}finally{r&&r.removeAllRanges(),document.body.removeChild(t)}}(n)}},O:function(e,t){if(!e)return Promise.resolve(void 0);const n=Date.now();return e.then(e=>(t(void 0,Date.now()-n,e),e)).catch(e=>{throw t(e,Date.now()-n),e})},P:function(e){return e.replace(ct,"<").replace(ut,">")},V:function(e){const t=function(e){return{fn:e}}(e);return()=>vc(t)},a:function(e,t,n){const r=lr(),o={...dr,...t,ppt_locale:r};if(n)if(!0===n){const t=e;if(fr.has(t))return;fr.set(t,!0)}else if(Array.isArray(n)){const t=`${e}:${n.map(e=>`${String(e)}=${o[e]}`).join("&")}`;if(fr.has(t))return;fr.set(t,!0)}else{const t=`${e}:${String(n)}=${o[n]}`;if(fr.has(t))return;fr.set(t,!0)}cr||gd(),cr?.(e,o)},c:ld,d:rd,f:function(e,t){const n=Xn[e];n?"multiple"===n.type&&n.callbackList.push(t):Xn[e]={type:"multiple",callbackList:[t]}},g:wu,h:function(e,t){const n=Xn[e];if("multiple"!==n?.type)return;const r=n.callbackList.indexOf(t);-1!==r&&n.callbackList.splice(r,1)},i:function(...e){ud("warn",...e)},j:function(e){return vt(()=>{const t=bt.get(e);return"boolean"==typeof t?Promise.resolve(t):new Promise(t=>{const n=new Image;n.src=e,n.onload=()=>{t(!0),bt.set(e,!0)},n.onerror=()=>{t(!1)}})})},k:function(e,t,n="Timeout"){return Promise.race([e,wc(t).then(()=>{throw new Error(n)})])},n:dd,o:fd,p:nd,r:function(...e){ud("log",...e)},s:cd,t:function(){fr.clear()},u:async function(e){if("undefined"!=typeof window)return rr===e&&or||(rr=e,or=function(e){const t=nr[e];return new Promise((e,n)=>{window._fmOpt={partner:"kimi",channel:"kimi-web",appName:"kimi-web",success(){e(),ad("remote")}},sd(od(t.remoteFmUrl)).catch(n)})}(e).catch(async t=>(id("remote",t),function(e){const t=nr[e];return new Promise((e,n)=>{window._fmOpt={partner:"kimi",channel:"kimi-web",appName:"kimi-web",normalUrl:t.localNormalUrl,success(){e(),ad("local")}},sd(od(t.localFmUrl)).catch(n)})}(e).catch(t=>{throw rr===e&&(rr=void 0,or=void 0),id("local",t),t})))),or},w:Kc,x:function(e){Ut.value=e,Jc(e)},y:Zc}),{setters:[function(e){n=e.$,r=e.At,o=e.B,a=e.D,i=e.E,s=e.Et,l=e.G,c=e.H,u=e.J,d=e.K,f=e.M,g=e.Mt,h=e.N,p=e.Nt,m=e.P,v=e.Q,b=e.T,y=e.Tt,w=e.U,C=e.V,k=e.W,x=e.X,S=e.Y,_=e.Z,E=e.at,T=e.b,B=e.bt,L=e.c,M=e.ct,A=e.dt,O=e.et,F=e.ft,P=e.ht,I=e.i,N=e.k,R=e.kt,D=e.l,j=e.lt,H=e.mt,z=e.o,$=e.ot,U=e.p,V=e.r,G=e.rt,q=e.s,W=e.tt,K=e.u,J=e.ut,Z=e.vt,X=e.w,Y=e.z},function(e){Q=e.b,ee=e.r,te=e.u},function(e){ne=e.t},function(e){re=e.o},function(e){oe=e.t},function(e){ae=e.t},function(e){ie=e.A,se=e.C,le=e.D,ce=e.E,ue=e.M,de=e.N,fe=e.O,ge=e.P,he=e.S,pe=e.T,me=e._,ve=e.b,be=e.d,ye=e.f,we=e.g,Ce=e.h,ke=e.j,xe=e.k,Se=e.l,_e=e.m,Ee=e.p,Te=e.u,Be=e.v,Le=e.w,Me=e.x,Ae=e.y}],execute:function(){var te,ie,se,le,ce,ue;(Oe=document.createElement("style")).textContent='.pptd-defs-pool[data-v-a2588ac6]{pointer-events:none;width:0;height:0;position:absolute;overflow:hidden}.kimi-icon-svg[data-v-177f9c47]{vertical-align:-.125em;flex-shrink:0;line-height:0;display:inline-block}.kimi-icon-svg[data-v-177f9c47] svg{width:100%;height:100%;display:block}.icon-with-background[data-v-1b5f1a16]{width:var(--icon-size);height:var(--icon-size);display:inline-block;position:relative}.icon-with-background .icon-svg[data-v-1b5f1a16]{z-index:2;position:relative}.icon-with-background[data-v-1b5f1a16]:before{content:"";background:var(--icon-background);pointer-events:none;z-index:1;border-radius:50%;width:78%;height:78%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.message-container[data-v-62d950aa]{box-sizing:border-box;background-color:var(--MaskBg-ToastPC,rgba(0,0,0,.82));border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:0 10px;display:flex;box-shadow:0 8px 24px rgba(0,0,0,.16)}.message-icon[data-v-62d950aa]{width:20px;height:20px}.message-icon.success[data-v-62d950aa]{color:var(--Colors-PositiveGreen,#2fb344)}.message-icon.error[data-v-62d950aa]{color:var(--Colors-Red,#ef4444)}.message-icon.loading[data-v-62d950aa]{border:2px solid rgba(255,255,255,.32);border-top-color:var(--Always-White,#fff);border-radius:50%;width:16px;height:16px;animation:1s linear infinite spin-62d950aa}.message-content[data-v-62d950aa]{max-width:320px;color:var(--Always-White,#fff);padding:12px 8px;font-size:14px;font-weight:400;line-height:20px}.message-close[data-v-62d950aa]{cursor:pointer;color:var(--Colors-KMBlue,#1890ff);background:0 0;border:0;margin-left:32px;padding:0;font-size:12px}@keyframes spin-62d950aa{to{transform:rotate(360deg)}}.message-list-container[data-v-13db0a2e]{z-index:6000;pointer-events:none;width:100%;display:flex;position:fixed;left:0}.message-list-container[data-v-13db0a2e] .message-container{pointer-events:all}.message-list-container.top[data-v-13db0a2e]{top:12px}.message-list-container.bottom[data-v-13db0a2e]{bottom:12px}.message-list[data-v-13db0a2e]{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.message-fade-enter-active[data-v-13db0a2e],.message-fade-leave-active[data-v-13db0a2e]{transition:transform .3s ease-in-out,opacity .3s ease-in-out,margin-bottom .3s ease-in-out}.message-fade-enter-from[data-v-13db0a2e]{opacity:0;transform:translateY(-20px)}.message-fade-leave-to[data-v-13db0a2e]{opacity:0;margin-bottom:-56px;transform:translateY(-12px)}body{margin:0}html.no-body-scroll,html.no-body-scroll body{overscroll-behavior:none;overflow:hidden}.menu-content[data-v-dab6a2ce]{box-sizing:border-box;background:var(--Bg-Primary);width:178px;box-shadow:0 4px 12px var(--MaskBg-Light);border-radius:8px;margin:0;padding:6px;list-style:none}.menu-item[data-v-dab6a2ce]{color:var(--Labels-Primary);white-space:nowrap;box-sizing:border-box;cursor:pointer;background-color:transparent;border-radius:6px;height:40px;padding:10px 8px;font-size:14px;transition:background-color .2s ease-in-out}.menu-item:not(.disable):hover>.menu-item-content>.sub-menu[data-v-dab6a2ce]{opacity:1;visibility:visible}.menu-item:not(.disable):hover>.has-children.has-handler[data-v-dab6a2ce]:after{transform:scale(1)}.menu-item[data-v-dab6a2ce]:hover:not(.disable){background:var(--Bg-Secondary-hover)}.menu-item.divider[data-v-dab6a2ce]{cursor:default;pointer-events:none;background:0 0;height:auto;padding:0 8px}.menu-item.divider[data-v-dab6a2ce]:after{content:"";background:var(--Separators-S1);height:.5px;margin:5px 0;display:block}.menu-item.disable[data-v-dab6a2ce]{color:var(--Labels-Tertiary);cursor:not-allowed}.menu-item-content[data-v-dab6a2ce]{justify-content:space-between;align-items:center;display:flex;position:relative}.menu-item-content.has-children[data-v-dab6a2ce]:after{content:"›";color:var(--Labels-Tertiary);margin-left:8px;font-size:16px}.text[data-v-dab6a2ce]{flex:1}.sub-text[data-v-dab6a2ce]{color:var(--Labels-Tertiary);margin-left:8px;font-size:12px}.sub-menu[data-v-dab6a2ce]{opacity:0;visibility:hidden;margin-left:4px;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;position:absolute;top:-6px;left:100%}.mask[data-v-1967551f]{z-index:9998;width:100vw;height:100vh;position:fixed;top:0;left:0}.contextmenu[data-v-1967551f]{z-index:9999;user-select:none;position:fixed}:root{--Colors-KMBlue:#1783ff;--Colors-KMBlue-hover:#167ff7;--Colors-KMBlue-active:#167cf2;--Colors-Red:#ff3849;--Colors-Red-hover:#f73647;--Colors-Red-active:#f23545;--Colors-Red25:rgba(255,56,73,.25);--Colors-Red25-hover:rgba(227,50,65,.27);--Colors-Red25-active:rgba(211,46,60,.286);--Colors-PositiveGreen:#16c456;--Colors-PositiveGreen-hover:#15be53;--Colors-PositiveGreen-active:#15ba52;--Colors-PositiveGreen25:rgba(22,196,86,.25);--Colors-PositiveGreen25-hover:rgba(20,174,77,.27);--Colors-PositiveGreen25-active:rgba(18,162,71,.286);--Colors-Green:#32ff7d;--Colors-Green-hover:#31f779;--Colors-Green-active:#30f277;--Colors-Yellow:#ffd230;--Colors-Yellow-hover:#f7cc2f;--Colors-Yellow-active:#f2c82e;--Colors-Orange:#ff9500;--Colors-Orange-hover:#f79100;--Colors-Orange-active:#f28e00;--Colors-Purple:#985ffb;--Colors-Purple-hover:#935cf3;--Colors-Purple-active:#905aee;--Bg-Primary:#fff;--Bg-Primary-hover:#f7f7f7;--Bg-Primary-active:#f2f2f2;--Bg-Primary90:rgba(255,255,255,.9);--Bg-Primary90-hover:rgba(247,247,247,.9);--Bg-Primary90-active:rgba(241,241,241,.906);--Bg-Primary70:rgba(255,255,255,.7);--Bg-Primary70-hover:rgba(244,244,244,.71);--Bg-Primary70-active:rgba(237,237,237,.714);--Bg-Secondary:#f5f5f5;--Bg-Secondary-hover:#eee;--Bg-Secondary-active:#e9e9e9;--Bg-Secondary90:rgba(245,245,245,.9);--Bg-Secondary90-hover:rgba(237,237,237,.9);--Bg-Secondary90-active:rgba(231,231,231,.906);--Bg-Tertiary:#fff;--Bg-Tertiary-hover:#f7f7f7;--Bg-Tertiary-active:#f2f2f2;--Bg-Tertiary90:rgba(255,255,255,.9);--Bg-Tertiary90-hover:rgba(247,247,247,.9);--Bg-Tertiary90-active:rgba(241,241,241,.906);--Bg-GroundPC:#f9fbfc;--Bg-GroundPC-hover:#f2f3f4;--Bg-GroundPC-active:#edeeef;--Bg-Quaternary:#fff;--Bg-Quaternary-hover:#f7f7f7;--Bg-Quaternary-active:#f2f2f2;--BgGp-Primary:#f5f5f5;--BgGp-Primary-hover:#eee;--BgGp-Primary-active:#e9e9e9;--BgGp-Primary90:rgba(245,245,245,.9);--BgGp-Primary90-hover:rgba(237,237,237,.9);--BgGp-Primary90-active:rgba(231,231,231,.906);--BgGp-Secondary:#fff;--BgGp-Secondary-hover:#f7f7f7;--BgGp-Secondary-active:#f2f2f2;--BgGp-Secondary90:rgba(255,255,255,.9);--BgGp-Secondary90-hover:rgba(247,247,247,.9);--BgGp-Secondary90-active:rgba(241,241,241,.906);--BgGp-Tertiary:#f5f5f5;--BgGp-Tertiary-hover:#eee;--BgGp-Tertiary-active:#e9e9e9;--Labels-Primary:rgba(0,0,0,.9);--Labels-Primary-hover:rgba(0,0,0,.9);--Labels-Primary-active:rgba(0,0,0,.906);--Labels-Secondary:rgba(0,0,0,.6);--Labels-Secondary-hover:rgba(0,0,0,.61);--Labels-Secondary-active:rgba(0,0,0,.62);--Labels-Tertiary:rgba(0,0,0,.45);--Labels-Tertiary-hover:rgba(0,0,0,.467);--Labels-Tertiary-active:rgba(0,0,0,.48);--Labels-Quaternary:rgba(0,0,0,.3);--Labels-Quaternary-hover:rgba(0,0,0,.32);--Labels-Quaternary-active:rgba(0,0,0,.333);--Fills-F1:rgba(0,0,0,.03);--Fills-F1-hover:rgba(0,0,0,.06);--Fills-F1-active:rgba(0,0,0,.08);--Fills-F2:rgba(0,0,0,.05);--Fills-F2-hover:rgba(0,0,0,.08);--Fills-F2-active:rgba(0,0,0,.098);--Fills-F3:rgba(0,0,0,.15);--Fills-F3-hover:rgba(0,0,0,.176);--Fills-F3-active:rgba(0,0,0,.192);--Fills-F4:rgba(0,0,0,.25);--Fills-F4-hover:rgba(0,0,0,.27);--Fills-F4-active:rgba(0,0,0,.286);--Separators-S1:rgba(0,0,0,.13);--Separators-S1-hover:rgba(0,0,0,.157);--Separators-S1-active:rgba(0,0,0,.173);--MaskBg-Light:rgba(0,0,0,.1);--MaskBg-Light-hover:rgba(0,0,0,.125);--MaskBg-Light-active:rgba(0,0,0,.145);--MaskBg-Base:rgba(0,0,0,.4);--MaskBg-Base-hover:rgba(0,0,0,.42);--MaskBg-Base-active:rgba(0,0,0,.43);--MaskBg-Dark:rgba(0,0,0,.6);--MaskBg-Dark-hover:rgba(0,0,0,.61);--MaskBg-Dark-active:rgba(0,0,0,.62);--MaskBg-Gray:rgba(48,48,48,.9);--MaskBg-Gray-hover:rgba(46,46,46,.9);--MaskBg-Gray-active:rgba(45,45,45,.906);--MaskBg-ToastIOS:rgba(69,69,69,.9);--MaskBg-ToastIOS-hover:rgba(67,67,67,.9);--MaskBg-ToastIOS-active:rgba(65,65,65,.906);--MaskBg-ToastAndroid:#454545;--MaskBg-ToastAndroid-hover:#434343;--MaskBg-ToastAndroid-active:#424242;--MaskBg-ToastPC:#2b2b2b;--MaskBg-ToastPC-hover:#2a2a2a;--MaskBg-ToastPC-active:#292929;--Always-White:#fff;--Always-White-hover:#f7f7f7;--Always-White-active:#f2f2f2;--Always-WhiteSecondary:rgba(255,255,255,.84);--Always-WhiteSecondary-hover:rgba(246,246,246,.843);--Always-WhiteSecondary-active:rgba(240,240,240,.847);--Always-WhiteTertiary:rgba(255,255,255,.56);--Always-WhiteTertiary-hover:rgba(242,242,242,.573);--Always-WhiteTertiary-active:rgba(233,233,233,.58);--Always-WhiteQuaternary:rgba(255,255,255,.42);--Always-WhiteQuaternary-hover:rgba(238,238,238,.44);--Always-WhiteQuaternary-active:rgba(227,227,227,.447);--Always-Black:#000;--Always-Black-hover:#000;--Always-Black-active:#000;--Always-TransparencyDarkFill:rgba(0,0,0,.6);--Always-TransparencyDarkFill-hover:rgba(0,0,0,.61);--Always-TransparencyDarkFill-active:rgba(0,0,0,.62);--Always-TransparencyTagFill:rgba(69,69,69,.7);--Always-TransparencyTagFill-hover:rgba(66,66,66,.71);--Always-TransparencyTagFill-active:rgba(64,64,64,.714);--Always-TransparencyWhite15:rgba(255,255,255,.15);--Always-TransparencyWhite15-hover:rgba(211,211,211,.176);--Always-TransparencyWhite15-active:rgba(189,189,189,.192);--Others-LightBlueBg:#e8f3ff;--Others-LightBlueBg-hover:#e1ecf7;--Others-LightBlueBg-active:#dce7f2;--Others-BubbleBlue:#1783ff;--Others-BubbleBlue-hover:#167ff7;--Others-BubbleBlue-active:#167cf2;--Others-BubbleGray_PC:#f5f5f5;--Others-BubbleGray_PC-hover:#eee;--Others-BubbleGray_PC-active:#e9e9e9;--Others-LightRedBg:rgba(255,77,77,.1);--Others-LightRedBg-hover:rgba(195,59,59,.125);--Others-LightRedBg-active:rgba(167,50,50,.145);--Others-LightOrangeBg:rgba(255,149,0,.1);--Others-LightOrangeBg-hover:rgba(195,114,0,.125);--Others-LightOrangeBg-active:rgba(167,98,0,.145);--Others-LightGreenBg:rgba(22,196,86,.1);--Others-LightGreenBg-hover:rgba(17,150,66,.125);--Others-LightGreenBg-active:rgba(14,128,56,.145);--Others-LightYellowBg:rgba(255,200,0,.2);--Others-LightYellowBg-hover:rgba(221,173,0,.224);--Others-LightYellowBg-active:rgba(202,158,0,.24);--Others-KMBlueDisabled:rgba(23,131,255,.4);--Others-KMBlueDisabled-hover:rgba(21,122,237,.42);--Others-KMBlueDisabled-active:rgba(20,116,225,.43);--Others-KMBlue10:rgba(23,131,255,.1);--Others-KMBlue10-hover:rgba(18,100,195,.125);--Others-KMBlue10-active:rgba(15,86,167,.145);--Others-TextSelected:rgba(23,131,255,.2);--Others-TextSelected-hover:rgba(20,113,221,.224);--Others-TextSelected-active:rgba(18,104,202,.24);--Others-WhiteOnDarkDisabled:#fff;--Others-WhiteOnDarkDisabled-hover:#f7f7f7;--Others-WhiteOnDarkDisabled-active:#f2f2f2;--Others-SubLayerBg:rgba(0,0,0,.08);--Others-SubLayerBg-hover:rgba(0,0,0,.106);--Others-SubLayerBg-active:rgba(0,0,0,.125);--Syntax-Keyword:#a626a4;--Syntax-Keyword-hover:#a1259f;--Syntax-Keyword-active:#9e249c;--Syntax-String:#50a14f;--Syntax-String-hover:#4e9c4d;--Syntax-String-active:#4c994b;--Syntax-Literal:#986801;--Syntax-Literal-hover:#936501;--Syntax-Literal-active:#906301;--Syntax-Comment:#a1a1a1;--Syntax-Comment-hover:#9c9c9c;--Syntax-Comment-active:#999;--Syntax-Metadata:#c18401;--Syntax-Metadata-hover:#bb8001;--Syntax-Metadata-active:#b77d01;--Syntax-MultilineComment:#a1a1a1;--Syntax-MultilineComment-hover:#9c9c9c;--Syntax-MultilineComment-active:#999;--Syntax-Punctuation:#e45649;--Syntax-Punctuation-hover:#dd5347;--Syntax-Punctuation-active:#d95245;--Syntax-Mark:#526fff;--Syntax-Mark-hover:#506cf7;--Syntax-Mark-active:#4e69f2;--ui-T1-font-size:18px;--ui-T1-line-height:26px;--ui-T2-font-size:16px;--ui-T2-line-height:24px;--ui-T2_Emphasized-font-size:16px;--ui-T2_Emphasized-line-height:24px;--ui-B1-font-size:15px;--ui-B1-line-height:22px;--ui-B1_Emphasized-font-size:15px;--ui-B1_Emphasized-line-height:22px;--ui-B2-font-size:14px;--ui-B2-line-height:20px;--ui-B2_Emphasized-font-size:14px;--ui-B2_Emphasized-line-height:20px;--ui-C1-font-size:12px;--ui-C1-line-height:18px;--ui-C1_Emphasized-font-size:12px;--ui-C1_Emphasized-line-height:18px;--ui-C2-font-size:10px;--ui-C2-line-height:14px;--ui-C2_Emphasized-font-size:10px;--ui-C2_Emphasized-line-height:14px;--markdown-H1_Content-font-size:20px;--markdown-H1_Content-line-height:32px;--markdown-H2_Content-font-size:18px;--markdown-H2_Content-line-height:28px;--markdown-B1_Content-font-size:16px;--markdown-B1_Content-line-height:26px;--markdown-B1_Content_Emphasized-font-size:16px;--markdown-B1_Content_Emphasized-line-height:26px;--markdown-B1_List_Content-font-size:16px;--markdown-B1_List_Content-line-height:26px;--markdown-B1_List_Content_Emphasized-font-size:16px;--markdown-B1_List_Content_Emphasized-line-height:26px;--markdown-B2_Content-font-size:15px;--markdown-B2_Content-line-height:24px;--markdown-B2_Content_Emphasized-font-size:15px;--markdown-B2_Content_Emphasized-line-height:24px;--markdown-B3_Content-font-size:14px;--markdown-B3_Content-line-height:22px;--markdown-B3_Content_Emphasized-font-size:14px;--markdown-B3_Content_Emphasized-line-height:22px;--markdown-Codeblocks-font-size:14px;--markdown-Codeblocks-line-height:22px;--markdown-InlineCode-font-size:16px;--markdown-InlineCode-line-height:26px}:root.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--Colors-KMBlue:#1a88ff;--Colors-KMBlue-hover:#258eff;--Colors-KMBlue-active:#3194ff;--Colors-Red:#ff4756;--Colors-Red-hover:#ff505e;--Colors-Red-active:#ff5967;--Colors-Red25:rgba(255,71,86,.25);--Colors-Red25-hover:rgba(255,103,115,.286);--Colors-Red25-active:rgba(255,128,138,.325);--Colors-PositiveGreen:#16c456;--Colors-PositiveGreen-hover:#22c75e;--Colors-PositiveGreen-active:#2dca67;--Colors-PositiveGreen25:rgba(22,196,86,.25);--Colors-PositiveGreen25-hover:rgba(63,206,115,.286);--Colors-PositiveGreen25-active:rgba(94,214,138,.325);--Colors-Green:#32ff7d;--Colors-Green-hover:#3cff84;--Colors-Green-active:#47ff8a;--Colors-Yellow:#ffd230;--Colors-Yellow-hover:#ffd43a;--Colors-Yellow-active:#ffd745;--Colors-Orange:#ff9f0a;--Colors-Orange-hover:#ffa416;--Colors-Orange-active:#ffa923;--Colors-Purple:#a16bff;--Colors-Purple-hover:#a672ff;--Colors-Purple-active:#aa7aff;--Bg-Primary:#121212;--Bg-Primary-hover:#1e1e1e;--Bg-Primary-active:#2a2a2a;--Bg-Primary90:rgba(18,18,18,.9);--Bg-Primary90-hover:rgba(31,31,31,.906);--Bg-Primary90-active:rgba(44,44,44,.91);--Bg-Primary70:rgba(18,18,18,.7);--Bg-Primary70-hover:rgba(35,35,35,.714);--Bg-Primary70-active:rgba(50,50,50,.73);--Bg-Secondary:#1f1f1f;--Bg-Secondary-hover:#2a2a2a;--Bg-Secondary-active:#353535;--Bg-Secondary90:rgba(31,31,31,.9);--Bg-Secondary90-hover:rgba(43,43,43,.906);--Bg-Secondary90-active:rgba(56,56,56,.91);--Bg-Tertiary:#292929;--Bg-Tertiary-hover:#343434;--Bg-Tertiary-active:#3e3e3e;--Bg-Tertiary90:rgba(41,41,41,.9);--Bg-Tertiary90-hover:rgba(53,53,53,.906);--Bg-Tertiary90-active:rgba(65,65,65,.91);--Bg-GroundPC:#161717;--Bg-GroundPC-hover:#222323;--Bg-GroundPC-active:#2d2e2e;--Bg-Quaternary:#4d4d4d;--Bg-Quaternary-hover:#565656;--Bg-Quaternary-active:#5f5f5f;--BgGp-Primary:#121212;--BgGp-Primary-hover:#1e1e1e;--BgGp-Primary-active:#2a2a2a;--BgGp-Primary90:rgba(18,18,18,.9);--BgGp-Primary90-hover:rgba(31,31,31,.906);--BgGp-Primary90-active:rgba(44,44,44,.91);--BgGp-Secondary:#1f1f1f;--BgGp-Secondary-hover:#2a2a2a;--BgGp-Secondary-active:#353535;--BgGp-Secondary90:rgba(31,31,31,.9);--BgGp-Secondary90-hover:rgba(43,43,43,.906);--BgGp-Secondary90-active:rgba(56,56,56,.91);--BgGp-Tertiary:#292929;--BgGp-Tertiary-hover:#343434;--BgGp-Tertiary-active:#3e3e3e;--Labels-Primary:rgba(255,255,255,.84);--Labels-Primary-hover:rgba(255,255,255,.847);--Labels-Primary-active:rgba(255,255,255,.855);--Labels-Secondary:rgba(255,255,255,.56);--Labels-Secondary-hover:rgba(255,255,255,.58);--Labels-Secondary-active:rgba(255,255,255,.604);--Labels-Tertiary:rgba(255,255,255,.42);--Labels-Tertiary-hover:rgba(255,255,255,.447);--Labels-Tertiary-active:rgba(255,255,255,.48);--Labels-Quaternary:rgba(255,255,255,.26);--Labels-Quaternary-hover:rgba(255,255,255,.298);--Labels-Quaternary-active:rgba(255,255,255,.333);--Fills-F1:rgba(255,255,255,.05);--Fills-F1-hover:rgba(255,255,255,.098);--Fills-F1-active:rgba(255,255,255,.145);--Fills-F2:rgba(255,255,255,.1);--Fills-F2-hover:rgba(255,255,255,.145);--Fills-F2-active:rgba(255,255,255,.19);--Fills-F3:rgba(255,255,255,.18);--Fills-F3-hover:rgba(255,255,255,.22);--Fills-F3-active:rgba(255,255,255,.263);--Fills-F4:rgba(255,255,255,.25);--Fills-F4-hover:rgba(255,255,255,.286);--Fills-F4-active:rgba(255,255,255,.325);--Separators-S1:rgba(255,255,255,.12);--Separators-S1-hover:rgba(255,255,255,.165);--Separators-S1-active:rgba(255,255,255,.208);--MaskBg-Light:rgba(0,0,0,.3);--MaskBg-Light-hover:rgba(38,38,38,.333);--MaskBg-Light-active:rgba(69,69,69,.37);--MaskBg-Base:rgba(0,0,0,.6);--MaskBg-Base-hover:rgba(21,21,21,.62);--MaskBg-Base-active:rgba(40,40,40,.64);--MaskBg-Dark:rgba(0,0,0,.6);--MaskBg-Dark-hover:rgba(21,21,21,.62);--MaskBg-Dark-active:rgba(40,40,40,.64);--MaskBg-Gray:rgba(48,48,48,.9);--MaskBg-Gray-hover:rgba(59,59,59,.906);--MaskBg-Gray-active:rgba(71,71,71,.91);--MaskBg-ToastIOS:rgba(89,89,89,.9);--MaskBg-ToastIOS-hover:rgba(98,98,98,.906);--MaskBg-ToastIOS-active:rgba(107,107,107,.91);--MaskBg-ToastAndroid:#595959;--MaskBg-ToastAndroid-hover:#616161;--MaskBg-ToastAndroid-active:#6a6a6a;--MaskBg-ToastPC:#404040;--MaskBg-ToastPC-hover:#4a4a4a;--MaskBg-ToastPC-active:#535353;--Always-White:#fff;--Always-White-hover:#fff;--Always-White-active:#fff;--Always-WhiteSecondary:rgba(255,255,255,.84);--Always-WhiteSecondary-hover:rgba(255,255,255,.847);--Always-WhiteSecondary-active:rgba(255,255,255,.855);--Always-WhiteTertiary:rgba(255,255,255,.56);--Always-WhiteTertiary-hover:rgba(255,255,255,.58);--Always-WhiteTertiary-active:rgba(255,255,255,.604);--Always-WhiteQuaternary:rgba(255,255,255,.42);--Always-WhiteQuaternary-hover:rgba(255,255,255,.447);--Always-WhiteQuaternary-active:rgba(255,255,255,.48);--Always-Black:#000;--Always-Black-hover:#0d0d0d;--Always-Black-active:#1a1a1a;--Always-TransparencyDarkFill:rgba(0,0,0,.6);--Always-TransparencyDarkFill-hover:rgba(21,21,21,.62);--Always-TransparencyDarkFill-active:rgba(40,40,40,.64);--Always-TransparencyTagFill:rgba(69,69,69,.7);--Always-TransparencyTagFill-hover:rgba(82,82,82,.714);--Always-TransparencyTagFill-active:rgba(94,94,94,.73);--Always-TransparencyWhite15:rgba(255,255,255,.15);--Always-TransparencyWhite15-hover:rgba(255,255,255,.192);--Always-TransparencyWhite15-active:rgba(255,255,255,.235);--Others-LightBlueBg:#1e2a38;--Others-LightBlueBg-hover:#293542;--Others-LightBlueBg-active:#353f4c;--Others-BubbleBlue:#292929;--Others-BubbleBlue-hover:#343434;--Others-BubbleBlue-active:#3e3e3e;--Others-BubbleGray_PC:#292929;--Others-BubbleGray_PC-hover:#343434;--Others-BubbleGray_PC-active:#3e3e3e;--Others-LightRedBg:rgba(255,82,82,.1);--Others-LightRedBg-hover:rgba(255,142,142,.145);--Others-LightRedBg-active:rgba(255,173,173,.19);--Others-LightOrangeBg:rgba(255,159,10,.1);--Others-LightOrangeBg-hover:rgba(255,192,94,.145);--Others-LightOrangeBg-active:rgba(255,210,139,.19);--Others-LightGreenBg:rgba(22,196,86,.1);--Others-LightGreenBg-hover:rgba(102,216,144,.145);--Others-LightGreenBg-active:rgba(145,227,175,.19);--Others-LightYellowBg:rgba(255,210,48,.2);--Others-LightYellowBg-hover:rgba(255,219,91,.24);--Others-LightYellowBg-active:rgba(255,226,122,.28);--Others-KMBlueDisabled:rgba(26,136,255,.4);--Others-KMBlueDisabled-hover:rgba(53,150,255,.43);--Others-KMBlueDisabled-active:rgba(76,162,255,.46);--Others-KMBlue10:rgba(26,136,255,.1);--Others-KMBlue10-hover:rgba(105,177,255,.145);--Others-KMBlue10-active:rgba(147,199,255,.19);--Others-TextSelected:rgba(26,136,255,.2);--Others-TextSelected-hover:rgba(74,161,255,.24);--Others-TextSelected-active:rgba(108,179,255,.28);--Others-WhiteOnDarkDisabled:rgba(255,255,255,.4);--Others-WhiteOnDarkDisabled-hover:rgba(255,255,255,.43);--Others-WhiteOnDarkDisabled-active:rgba(255,255,255,.46);--Others-SubLayerBg:rgba(255,255,255,.06);--Others-SubLayerBg-hover:rgba(255,255,255,.106);--Others-SubLayerBg-active:rgba(255,255,255,.153);--Syntax-Keyword:#d55fde;--Syntax-Keyword-hover:#d767e0;--Syntax-Keyword-active:#d96fe1;--Syntax-String:#89ca78;--Syntax-String-hover:#8fcd7f;--Syntax-String-active:#95cf86;--Syntax-Literal:#d19a66;--Syntax-Literal-hover:#d39f6e;--Syntax-Literal-active:#d6a475;--Syntax-Comment:#5c6370;--Syntax-Comment-hover:#646b77;--Syntax-Comment-active:#6c737e;--Syntax-Metadata:#e5c07b;--Syntax-Metadata-hover:#e6c382;--Syntax-Metadata-active:#e8c688;--Syntax-MultilineComment:#5c6370;--Syntax-MultilineComment-hover:#646b77;--Syntax-MultilineComment-active:#6c737e;--Syntax-Punctuation:#ef596f;--Syntax-Punctuation-hover:#f06176;--Syntax-Punctuation-active:#f16a7d;--Syntax-Mark:#2bbac5;--Syntax-Mark-hover:#36bdc8;--Syntax-Mark-active:#40c1cb}@media (min-width:768px){::-webkit-scrollbar{background-color:transparent;width:5px;height:5px}::-webkit-scrollbar-thumb{background-color:var(--Separators-S1);border-radius:3px}}@font-face{font-family:MiSans;src:url(//statics.moonshot.cn/neo-design/fonts/css/MiSans.woff2)format("woff2");font-display:swap}@font-face{font-family:Liter;src:url(//statics.moonshot.cn/neo-design/fonts/css/Liter.woff2)format("woff2");font-display:swap}@font-face{font-family:Oranienbaum;src:url(//statics.moonshot.cn/neo-design/fonts/css/Oranienbaum.woff2)format("woff2");font-display:swap}@font-face{font-family:HedvigLettersSans;src:url(//statics.moonshot.cn/neo-design/fonts/css/HedvigLettersSans.woff2)format("woff2");font-display:swap}@font-face{font-family:QuattrocentoSans;src:url(//statics.moonshot.cn/neo-design/fonts/css/QuattrocentoSans.woff2)format("woff2");font-display:swap}@font-face{font-family:SortsMillGoudy;src:url(//statics.moonshot.cn/neo-design/fonts/css/SortsMillGoudy.woff2)format("woff2");font-display:swap}@font-face{font-family:Unna;src:url(//statics.moonshot.cn/neo-design/fonts/css/Unna.woff2)format("woff2");font-display:swap}@font-face{font-family:LuckiestGuy;src:url(//statics.moonshot.cn/neo-design/fonts/css/LuckiestGuy.woff2)format("woff2");font-display:swap}@font-face{font-family:Coda;src:url(//statics.moonshot.cn/neo-design/fonts/css/Coda.woff2)format("woff2");font-display:swap}@font-face{font-family:Jersey15;src:url(//statics.moonshot.cn/neo-design/fonts/css/Jersey15.woff2)format("woff2");font-display:swap}@font-face{font-family:PressStart2P;src:url(//statics.moonshot.cn/neo-design/fonts/css/PressStart2P.woff2)format("woff2");font-display:swap}@font-face{font-family:Jersey20Charted;src:url(//statics.moonshot.cn/neo-design/fonts/css/Jersey20Charted.woff2)format("woff2");font-display:swap}@font-face{font-family:Noto Sans SC;src:url(//statics.moonshot.cn/neo-design/fonts/css/Noto%20Sans%20SC.woff2)format("woff2");font-display:swap}@font-face{font-family:思源宋体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E6%80%9D%E6%BA%90%E5%AE%8B%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:阿里妈妈刀隶体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E9%98%BF%E9%87%8C%E5%A6%88%E5%A6%88%E5%88%80%E9%9A%B6%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:阿里妈妈东方大楷;src:url(/fonts/css/阿里妈妈东方大楷.woff2)format("woff2");font-display:swap}@font-face{font-family:阿里妈妈数黑体;src:url(/fonts/css/阿里妈妈数黑体.woff2)format("woff2");font-display:swap}@font-face{font-family:站酷文艺体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E7%AB%99%E9%85%B7%E6%96%87%E8%89%BA%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:站酷庆科黄油体;src:url(//statics.moonshot.cn/neo-design/fonts/css/ZCOOLQingKeHuangYou-Regular.woff2)format("woff2");font-display:swap}@font-face{font-family:飞波正点体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E9%A3%9E%E6%B3%A2%E6%AD%A3%E7%82%B9%E4%BD%93.woff2)format("woff2");font-display:swap}@font-face{font-family:程荣光刻楷;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E7%A8%8B%E8%8D%A3%E5%85%89%E5%88%BB%E6%A5%B7.woff2)format("woff2");font-display:swap}@font-face{font-family:得意黑;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E5%BE%97%E6%84%8F%E9%BB%91.woff2)format("woff2");font-display:swap}@font-face{font-family:精品点阵体;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E7%B2%BE%E5%93%81%E7%82%B9%E9%98%B5%E4%BD%939%C3%979%201.6.woff2)format("woff2");font-display:swap}@font-face{font-family:Long Cang;src:url(//statics.moonshot.cn/neo-design/fonts/css/Long%20Cang.woff2)format("woff2");font-display:swap}@font-face{font-family:LXGW Bright;src:url(//statics.moonshot.cn/neo-design/fonts/css/LXGW%20Bright.woff2)format("woff2");font-display:swap}@font-face{font-family:ZCOOL KuaiLe;src:url(//statics.moonshot.cn/neo-design/fonts/css/ZCOOL%20KuaiLe.woff2)format("woff2");font-display:swap}@font-face{font-family:霞鹜新致宋;src:url(//statics.moonshot.cn/neo-design/fonts/css/%E9%9C%9E%E9%B9%9C%E6%96%B0%E8%87%B4%E5%AE%8B.woff2)format("woff2");font-display:swap}html[lang=ar] .auto-rtl,html[lang^=ar-] .auto-rtl,html[lang=he] .auto-rtl,html[lang^=he-] .auto-rtl,html[lang=fa] .auto-rtl,html[lang^=fa-] .auto-rtl,html[lang=ur] .auto-rtl,html[lang^=ur-] .auto-rtl,html[lang=ps] .auto-rtl,html[lang^=ps-] .auto-rtl,html[lang=sd] .auto-rtl,html[lang^=sd-] .auto-rtl,html[lang=yi] .auto-rtl,html[lang^=yi-] .auto-rtl,html[lang=ckb] .auto-rtl,html[lang^=ckb-] .auto-rtl,html[lang=ku] .auto-rtl,html[lang^=ku-] .auto-rtl,html[lang=dv] .auto-rtl,html[lang^=dv-] .auto-rtl,html[lang=ug] .auto-rtl,html[lang^=ug-] .auto-rtl{direction:rtl}html[lang=ar] .auto-rtl .rtl-align,html[lang=ar] .auto-rtl.rtl-align,html[lang^=ar-] .auto-rtl .rtl-align,html[lang^=ar-] .auto-rtl.rtl-align,html[lang=he] .auto-rtl .rtl-align,html[lang=he] .auto-rtl.rtl-align,html[lang^=he-] .auto-rtl .rtl-align,html[lang^=he-] .auto-rtl.rtl-align,html[lang=fa] .auto-rtl .rtl-align,html[lang=fa] .auto-rtl.rtl-align,html[lang^=fa-] .auto-rtl .rtl-align,html[lang^=fa-] .auto-rtl.rtl-align,html[lang=ur] .auto-rtl .rtl-align,html[lang=ur] .auto-rtl.rtl-align,html[lang^=ur-] .auto-rtl .rtl-align,html[lang^=ur-] .auto-rtl.rtl-align,html[lang=ps] .auto-rtl .rtl-align,html[lang=ps] .auto-rtl.rtl-align,html[lang^=ps-] .auto-rtl .rtl-align,html[lang^=ps-] .auto-rtl.rtl-align,html[lang=sd] .auto-rtl .rtl-align,html[lang=sd] .auto-rtl.rtl-align,html[lang^=sd-] .auto-rtl .rtl-align,html[lang^=sd-] .auto-rtl.rtl-align,html[lang=yi] .auto-rtl .rtl-align,html[lang=yi] .auto-rtl.rtl-align,html[lang^=yi-] .auto-rtl .rtl-align,html[lang^=yi-] .auto-rtl.rtl-align,html[lang=ckb] .auto-rtl .rtl-align,html[lang=ckb] .auto-rtl.rtl-align,html[lang^=ckb-] .auto-rtl .rtl-align,html[lang^=ckb-] .auto-rtl.rtl-align,html[lang=ku] .auto-rtl .rtl-align,html[lang=ku] .auto-rtl.rtl-align,html[lang^=ku-] .auto-rtl .rtl-align,html[lang^=ku-] .auto-rtl.rtl-align,html[lang=dv] .auto-rtl .rtl-align,html[lang=dv] .auto-rtl.rtl-align,html[lang^=dv-] .auto-rtl .rtl-align,html[lang^=dv-] .auto-rtl.rtl-align,html[lang=ug] .auto-rtl .rtl-align,html[lang=ug] .auto-rtl.rtl-align,html[lang^=ug-] .auto-rtl .rtl-align,html[lang^=ug-] .auto-rtl.rtl-align{text-align:right}\n/*$vite$:1*/',document.head.appendChild(Oe),function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}(),Fe={install(e){e.config.globalProperties.modelContextMap=new Map}},Pe=[{path:"/",name:"Editor",component:()=>ne(()=>t.import("./Editor-legacy-CXXJZDfa.js"),void 0),meta:{noBodyScroll:!0}},{path:"/presenter",name:"Presenter",component:()=>ne(()=>t.import("./Presenter-legacy-B8Wyep6G.js"),void 0),meta:{noBodyScroll:!0}},{path:"/share/:id?",name:"Share",component:()=>ne(()=>t.import("./Share-legacy-d-Bdk4fN.js"),void 0),meta:{theme:"light"}},{path:"/mobile",name:"Mobile",component:()=>ne(()=>t.import("./Mobile-legacy-CWS2kLEi.js"),void 0)},{path:"/raw",name:"RawPreview",component:()=>ne(()=>t.import("./Raw-legacy-skQdnznt.js"),void 0),meta:{theme:"light"}},{path:"/preview",name:"NormalPreview",component:()=>ne(()=>t.import("./Preview-legacy-DFamtDBA.js"),void 0),meta:{theme:"light"}},{path:"/player",name:"Player",component:()=>ne(()=>t.import("./Player-legacy-CbSWmnSv.js"),void 0),meta:{noBodyScroll:!0,theme:"light"}}],Ie=[{path:"/share/:id?",component:()=>ne(()=>t.import("./Share-legacy-d-Bdk4fN.js"),void 0),meta:{theme:"light"}}],(Ne=i({history:a(ee),routes:Q?Ie:Pe})).afterEach(e=>{document.documentElement.classList.toggle("no-body-scroll",!!e.meta.noBodyScroll)}),Re={topBar:{fullscreen:"Fullscreen",collapse:"Collapse",autosaving:"Autosaving...",justSaved:"Just saved",savedMinutesAgo:"Saved {minutes} min ago",versionName:"V{version}",versionLatest:"Latest",versionEditedBy:"Edited by {editor} at {time}",versionMinutesAgo:"{minutes} min ago",versionYesterday:"Yesterday {time}",restoreVersion:"Restore",returnLatestVersion:"Back to latest",close:"Close"},basic:{undo:"Undo",redo:"Redo",save:"Save",screen:"Play",share:"Share",export:"Export",unnamedPresentation:"Untitled presentation",lastPage:"This is the last page"},presenter:{start:"Present on this screen",mode:"Presenter mode",exit:"Exit",openFailed:"Browser blocked the presenter pop-up. Click the pop-up blocked icon in the address bar, choose Always allow pop-ups and redirects from this site, then try again.",connectFailed:"Failed to connect presenter window. Please try again."},screen:{fullscreenFailed:"Browser denied fullscreen. Allow fullscreen permission for this site in browser settings, then try again.",transitionEffects:{none:"No Effect",fade:"Fade","wipe-right":"Wipe Right","wipe-left":"Wipe Left","wipe-down":"Wipe Down","wipe-up":"Wipe Up","split-vertical":"Split Vertical","split-horizontal":"Split Horizontal",box:"Box",checkerboard:"Checkerboard","random-bars-horizontal":"Random Bars Horizontal","random-bars-vertical":"Random Bars Vertical","horizontal-blinds":"Horizontal Blinds","vertical-blinds":"Vertical Blinds","column-grid":"Column Grid","random-grid":"Random Grid",random:"Random Effect"}},save:{saveFailed:"Save failed",invalidData:"Save data is invalid. Refresh and try again.",conflictTitle:"Newer version detected",conflictContent:"This presentation was updated at {time}. Refresh to view the latest version, or apply your current changes and save again.",conflictRefresh:"Refresh page",conflictApplyChanges:"Apply current changes"},bottomBar:{rectangle:"Rectangle",otherShapes:"Other shapes",decoration:"Decoration",straightLine:"Straight line",curve:"Curve",createTable:"Create table",searchIcon:"Search icon",noIconFound:"No icons found"},sideBar:{addSlide:"New slide",previewMode:"Preview mode",expand:"Expand",collapse:"Collapse"},contextMenu:{cut:"Cut",copy:"Copy",paste:"Paste",selectAll:"Select all",changeBackground:"Change background",newPage:"New slide",copyPage:"Copy page",deletePage:"Delete slide",delete:"Delete",moveUpOneLayer:"Bring forward",moveDownOneLayer:"Send backward",bringToTop:"Bring to front",sendToBottom:"Send to back",align:"Align",alignCenter:"Center",alignHorizontal:"Center horizontally",startFromCurrent:"Start from current",insertColumn:"Insert column",insertColumnLeft:"Left",insertColumnRight:"Right",insertRow:"Insert row",insertRowAbove:"Above",insertRowBelow:"Below",deleteColumn:"Delete column",deleteRow:"Delete row",mergeCells:"Merge cells",unmergeCells:"Unmerge cells",selectCurrentColumn:"Select column",selectCurrentRow:"Select row",selectAllCells:"Select all",deleteTable:"Delete table"},common:{name:"Slides",nameEN:"Slides",confirm:"Confirm",cancel:"Cancel",dontRemind:"Don't remind me again",feedback:"Feedback",user:"User",loadFailedRetry:"Load failed. Please try again later."},annotation:{edit:"Edit",entry:"Comment",placeholder:"Tell Kimi what to change",add:"Add",addedCount:"{count} comments added",emptyTip:"Add comments on the pages",clear:"Clear comments",delete:"Delete comments",marker:"Comment",pageLabel:"Page {page}",clearConfirm:{title:"Clear all comments?",content:"This will remove all added comments",cancelText:"Cancel",confirmText:"Clear"},exitConfirm:{title:"Exit comment mode?",content:"Unsent comments won’t be saved",cancelText:"Cancel",confirmText:"Exit"}},wap:{loading:"Loading",play:"Play",export:"Export",exporting:"Exporting",playPrevLine1:"Tap or swipe left",playPrevLine2:"Previous slide",playMenuLine1:"Tap center",playMenuLine2:"Open slide menu",playNextLine1:"Tap or swipe right",playNextLine2:"Next slide"},rate:{title:"How was this result?",thanksTitle:"Thanks for sharing",bad:"Not good",normal:"Okay",good:"Great",resultTip:"Your ideas make Kimi better! ",feedback:"More feedback"},feedback:{snackbar:{title:"How is this result?",good:"Good",normal:"Normal",bad:"Bad",successMessage:"Got it, feel free to share more feedback!",writeFeedback:"Feedback"}},logoModal:{title:"Add logo",tooltip:"Logo will be added to the top-left corner of all slides",selected:"Selected",upload:"Upload logo",preview:"Preview",maxLimit:"Maximum 5 logos",alertMaxLimit:"Maximum 5 logos allowed",applyToAll:"Apply to all slides"},latex:{title:"Insert equation",placeholder:"Enter LaTeX formula, e.g. E = mc^2"},themeEditor:{title:"Slides theme",apply:"Apply",cancel:"Cancel",themeColors:"Theme colors",emptyThemeColors:"No theme colors",currentPageBackground:"Current page background",backgroundColor:"Color",backgroundImage:"Image",uploadImage:"Upload image",uploadImageFailed:"Image upload failed. Please try again later.",backgroundFitFill:"Fill",backgroundFitContain:"Fit",backgroundFitStretch:"Stretch",applyToAll:"Apply to all",textStyles:"Text styles",emptyTextStyles:"No text styles",fontStyle:"Weight",lineHeight:"Line height",letterSpacing:"Letter spacing",previewText:"Meet Kimi123",normal:"Regular",textStyleTitle:"Title",textStyleSubtitle:"Subtitle",textStyleBody:"Body",textStyleCaption:"Caption / note",miSans:"Microsoft YaHei"},diffChecker:{title:"Diff checker",newFile:"New file",deletedFile:"Deleted",emptyContent:"File content is empty"},insert:{text:"Insert text",graphics:"Graphics",graphicsShapeTab:"Shapes",graphicsLineTab:"Lines",graphicsIconTab:"Icons",image:"Insert image",table:"Insert table",theme:"Theme",latex:"Insert equation",watermark:"Add watermark",more:"More",animation:"Animation"},scaleMenu:{zoomIn:"Zoom in",zoomOut:"Zoom out",fitScreen:"Fit screen"},exportDialog:{image:"Image",downloadTitle:"Export",tabDownload:"Download",tabGoogleSlides:"Google Slides",outputFormat:"Output format",fontEmbed:"Embed fonts",fontEmbedTooltip:"Embed font files into PPTX for consistent display across devices",slideTransition:"Slide transition",slideTransitionTooltip:"Add transition animations to slides",defaultDownloadPath:"Default download path",storageTo:"Save to",download:"Download",downloadStarted:"Export started",downloadStartTip:"Export started. If the download doesn’t start, please try another browser or export again",loading:"Exporting",pendingTip:"Export is taking too long, please try a different browser",wechatTip:"WeChat built-in browser does not support downloads. Please use a desktop browser such as Chrome or Edge",safariTip:"Current browser version is outdated, please upgrade or change browser and try again",mobileTip:"Please download on desktop",exportPptxFailed:"Failed to export PPTX",exportPptxSignFailed:"Failed to export PPTX. Please refresh and try again.",exportImageFailed:"Failed to export images",exportingToGoogle:"Exporting to Google Slides...",exportToGoogle:"Export to Google",exportToGoogleTips:"Export presentation to Google Slides",exportToGoogleNetworkError:"Failed to export to Google Slides"},share:{create:"Create slides",createDesign:"Start designing",public:"Public",private:"Private",createLink:"Create share link",createLinkDesc:"Anyone with the link can view your presentation",createLinkBtn:"Create link",createLinkFailed:"Failed to create share link",bannedTips:"Sharing has been disabled",goFeedback:"Send feedback",updateLinkTitle:"Update share link",updateLinkDesc:"The old link will no longer work after updating",updateLinkConfirm:"Update",updateLinkSuccess:"Link updated",updateTime:"Updated: ",viewLink:"View link",notPublic:"Not public",copySuccess:"Link copied",copyFailed:"Copy failed",copyLinkBtn:"Copy link",updateLinkBtn:"Update link",setPrivateTitle:"Set to private",setPrivateDesc:"Others will not be able to access via the link",setPrivateConfirm:"Confirm",setPrivateSuccess:"Set to private",updateShareFailed:"Failed to update share status",linkError:"Invalid link, please check the share link",report:"Report",linkInvalid:"Unable to access this link"},floatBar:{leftAlign:"Left",centerAlign:"Center",rightAlign:"Right",justify:"Justify",topAlign:"Top",verticallyCenter:"Center",bottomAlign:"Bottom",horizontalAlignment:"Horizontal alignment",verticalAlignment:"Vertical alignment",lineSpacing:"Line spacing",textStyle:"Text style",tableStyle:"Table style",unappliedTextStyle:"Unapplied",manageTextStyles:"Manage text styles",fontColor:"Font color",textBackground:"Text background",font:"Font",unsupportedFont:"⚠️ Unsupported font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",insertLatex:"Insert equation",editLatex:"Edit equation",editData:"Edit data",showChartTitle:"Show title",editChartTitle:"Edit title",chartTitlePlaceholder:"Chart title",showChartValues:"Show values",chartLegend:"Legend",none:"None",top:"Top",bottom:"Bottom",left:"Left",right:"Right",candlestickUpColor:"Up color",candlestickDownColor:"Down color",candlestickWickColor:"Wick color",waterfallIncreaseColor:"Increase color",waterfallDecreaseColor:"Decrease color",waterfallTotalColor:"Total color",heatmapLowColor:"Low value color",heatmapMiddleColor:"Middle value color",heatmapHighColor:"High value color",editLine:"Edit line",curveLine:"Curve",lineCurveSharp:"Polyline",lineCurveRound:"Rounded",lineCurveSmooth:"Curve",lineStartArrow:"Start arrow",lineEndArrow:"End arrow",usedThemeColor:'Using "{name}" theme',colorFill:"Color fill",themeColor:"Theme color",replaceImage:"Replace image",replaceIcon:"Replace icon",replaceShape:"Replace shape",imageFit:"Image fit",fitFill:"Stretch",fitContain:"Contain",fitCover:"Cover",cancelCrop:"Cancel crop",cropImage:"Crop image",opacity:"Opacity",horizontalFlip:"Horizontal flip",verticalFlip:"Vertical flip",layer:"Layer",bringToTop:"Bring to front",sendToBottom:"Send to back",bringForward:"Bring forward",sendBackward:"Send backward",rowAction:"Row actions",columnAction:"Column actions",insertRowBefore:"Insert row above",insertRowAfter:"Insert row below",insertColumnBefore:"Insert column left",insertColumnAfter:"Insert column right",defaultBorder:"Default",allBorders:"All borders",topAndBottomBorders:"Top and bottom borders",leftAndRightBorders:"Left and right borders",topBorder:"Top border",rightBorder:"Right border",bottomBorder:"Bottom border",leftBorder:"Left border",equalizeColumnWidths:"Equalize column widths",deselectAll:"Deselect all",selectAll:"Select all",deleteTable:"Delete table",cellBackground:"Cell background",times:"x",border:"Border",line:"Line",solidLine:"Solid",dashedLine:"Dashed",dottedLine:"Dotted",noBorder:"No border",style:"Style",thickness:"Thickness",color:"Color",recentColors:"Recent colors",notSupportEyeDropper:"Current browser does not support color picker, please change browser",escCloseEyeDropper:"Press ESC to close color picker"},notes:{placeholder:"Notes",show:"Show speaker notes"},animationPanel:{title:"Animation",preview:"Preview",empty:"No animations on this page",add:"Add animation",addHint:"Select an element to add an animation",target:"Target element",effect:"Effect",trigger:"Trigger",triggerOnClick:"On click",triggerWithPrevious:"With previous",triggerAfterPrevious:"After previous",direction:"Direction",directionUp:"Up",directionDown:"Down",directionLeft:"Left",directionRight:"Right",duration:"Duration (ms)",delay:"Delay (ms)",easing:"Easing",easingLinear:"Linear",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"Repeat",path:"Path",delete:"Delete",categoryEntrance:"Entrance",categoryEmphasis:"Emphasis",categoryExit:"Exit",categoryMotionPath:"Motion path",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"Pick element",elementTypes:{text:"Text",shape:"Shape",image:"Image",icon:"Icon",table:"Table",chart:"Chart",line:"Line"}}},De={topBar:{fullscreen:"全屏",collapse:"收起",autosaving:"正在自动保存...",justSaved:"刚刚保存",savedMinutesAgo:"{minutes} 分钟前保存",versionName:"V{version} 版本",versionLatest:"最新",versionEditedBy:"{editor} 编辑于 {time}",versionMinutesAgo:"{minutes} 分钟前",versionYesterday:"昨天 {time}",restoreVersion:"还原",returnLatestVersion:"返回最新版",close:"关闭"},basic:{undo:"撤销",redo:"重做",save:"保存",screen:"放映",share:"分享",export:"导出",unnamedPresentation:"未命名演示文稿",lastPage:"已经是最后一页了"},presenter:{start:"在当前屏幕放映",mode:"演讲者模式",exit:"退出",openFailed:"浏览器已阻止新开演讲小窗口。请点击地址栏中的弹出式窗口已被阻止图标,选择始终允许来自本站的弹出式窗口和重定向后重试",connectFailed:"演讲窗口连接失败,请重试"},screen:{fullscreenFailed:"浏览器拒绝进入全屏。请在浏览器设置中允许本站使用全屏权限后重试",transitionEffects:{none:"无效果",fade:"淡入淡出","wipe-right":"向右擦除","wipe-left":"向左擦除","wipe-down":"向下擦除","wipe-up":"向上擦除","split-vertical":"垂直分割","split-horizontal":"水平分割",box:"方框",checkerboard:"棋盘","random-bars-horizontal":"横向随机线条","random-bars-vertical":"纵向随机线条","horizontal-blinds":"横向百叶窗","vertical-blinds":"纵向百叶窗","column-grid":"列网格","random-grid":"随机网格",random:"随机效果"}},save:{saveFailed:"保存失败",invalidData:"保存数据有问题,请刷新重试",conflictTitle:"检测到更新版本",conflictContent:"该演示文稿已于 {time} 更新。刷新页面可查看最新版本;应用改动会用当前内容继续保存。",conflictRefresh:"刷新页面",conflictApplyChanges:"应用当前改动"},contextMenu:{cut:"剪切",copy:"复制",paste:"粘贴",selectAll:"全选",changeBackground:"修改背景",newPage:"新建页面",copyPage:"复制页面",deletePage:"删除页面",delete:"删除",moveUpOneLayer:"上移一层",moveDownOneLayer:"下移一层",bringToTop:"置于顶层",sendToBottom:"置于底层",align:"对齐",alignCenter:"水平垂直居中",alignHorizontal:"水平居中",startFromCurrent:"从当前页开始放映",insertColumn:"插入列",insertColumnLeft:"在左侧插入",insertColumnRight:"在右侧插入",insertRow:"插入行",insertRowAbove:"在上方插入",insertRowBelow:"在下方插入",deleteColumn:"删除列",deleteRow:"删除行",mergeCells:"合并单元格",unmergeCells:"拆分单元格",selectCurrentColumn:"选中当前列",selectCurrentRow:"选中当前行",selectAllCells:"选中全部单元格",deleteTable:"删除表格"},common:{name:"PPT",nameEN:"PPT",confirm:"确认",cancel:"取消",dontRemind:"不再提醒",feedback:"用户反馈",user:"用户",loadFailedRetry:"加载失败,请稍后重试"},annotation:{edit:"编辑",entry:"批注",placeholder:"告诉 Kimi 这里怎么改",add:"添加",addedCount:"已添加 {count} 条批注",emptyTip:"在页面上留下批注",clear:"清空批注",delete:"删除批注",marker:"批注",pageLabel:"第 {page} 页",clearConfirm:{title:"清空批注",content:"此操作将移除所有已添加的批注",cancelText:"取消",confirmText:"清空"},exitConfirm:{title:"退出批注模式",content:"未发送的批注不会被保存",cancelText:"取消",confirmText:"退出"}},wap:{loading:"加载中",play:"播放",export:"导出",exporting:"正在导出",playPrevLine1:"点击或左滑",playPrevLine2:"切换上一页",playMenuLine1:"点击中部",playMenuLine2:"展开目录菜单",playNextLine1:"点击或右滑",playNextLine2:"切换下一页"},rate:{title:"你对这次生成结果满意吗?",thanksTitle:"感谢你的反馈",bad:"不满意",normal:"还可以",good:"非常棒",resultTip:"你的想法将帮助 Kimi 越做越好!",feedback:"补充反馈"},feedback:{snackbar:{title:"本次生成的作品怎么样?",good:"好",normal:"一般",bad:"不好",successMessage:"你的反馈将帮助 Kimi 越做越好!",writeFeedback:"写反馈"}},logoModal:{title:"添加 Logo",tooltip:"Logo 将被添加到所有幻灯片的左上角",selected:"已选中",upload:"上传 Logo",preview:"预览效果",maxLimit:"最多上传 5 个 Logo",alertMaxLimit:"最多只能上传 5 个 Logo",applyToAll:"应用到所有幻灯片"},latex:{title:"插入公式",placeholder:"输入 LaTeX 公式,例如:E = mc^2"},themeEditor:{title:"幻灯片主题",apply:"应用",cancel:"取消",themeColors:"主题色",emptyThemeColors:"暂无主题色",currentPageBackground:"当前页背景",backgroundColor:"颜色",backgroundImage:"图片",uploadImage:"上传图片",uploadImageFailed:"图片上传失败,请稍后重试",backgroundFitFill:"填充",backgroundFitContain:"适应",backgroundFitStretch:"拉伸",applyToAll:"应用到全部",textStyles:"文本样式",emptyTextStyles:"暂无文本样式",fontStyle:"字重",lineHeight:"行高",letterSpacing:"字距",previewText:"认识Kimi123",normal:"Regular",textStyleTitle:"标题",textStyleSubtitle:"副标题",textStyleBody:"正文",textStyleCaption:"说明文字 / 注释",miSans:"微软雅黑"},sideBar:{addSlide:"新建页面",previewMode:"预览模式",expand:"展开",collapse:"收起"},diffChecker:{title:"Diff 检查器",newFile:"新增文件",deletedFile:"已删除",emptyContent:"文件内容为空"},bottomBar:{rectangle:"矩形",otherShapes:"基础形状",decoration:"装饰",straightLine:"直线",curve:"曲线",createTable:"创建表格",searchIcon:"搜索图标",noIconFound:"未找到图标"},insert:{text:"插入文字",graphics:"图形工具",graphicsShapeTab:"形状",graphicsLineTab:"线条",graphicsIconTab:"图标",image:"插入图片",table:"插入表格",theme:"主题",latex:"插入公式",watermark:"添加水印",more:"更多",animation:"动画"},scaleMenu:{zoomIn:"放大",zoomOut:"缩小",fitScreen:"适合屏幕"},exportDialog:{image:"图片",downloadTitle:"导出",tabDownload:"下载",tabGoogleSlides:"Google Slides",outputFormat:"输出格式",fontEmbed:"嵌入字体",fontEmbedTooltip:"将字体文件嵌入到 PPTX 中,保证在其他设备上显示一致",slideTransition:"切换动画",slideTransitionTooltip:"为幻灯片添加切换动画效果",defaultDownloadPath:"默认下载路径",storageTo:"储存至",download:"下载",downloadStarted:"导出开始",downloadStartTip:"导出开始。若未开始下载,请更换浏览器尝试或者重新导出",loading:"正在导出",pendingTip:"导出耗时较长,建议更换浏览器后重试",wechatTip:"微信内置浏览器暂不支持下载,请前往电脑端浏览器操作(如 Chrome、Edge)",safariTip:"当前浏览器版本过低,请升级或者更换其他浏览器后重试(如 Chrome、Edge)",mobileTip:"请在电脑端下载",exportPptxFailed:"导出 PPTX 失败",exportPptxSignFailed:"导出 PPTX 失败,请刷新重试",exportImageFailed:"导出图片失败",exportingToGoogle:"正在导出到 Google Slides...",exportToGoogle:"导出到 Google",exportToGoogleTips:"将演示文稿导出到 Google Slides",exportToGoogleNetworkError:"导出到 Google Slides 失败"},share:{create:"去做PPT",createDesign:"去设计",public:"公开",private:"私密",createLink:"创建分享链接",createLinkDesc:"任何人都可以通过链接查看你的演示文稿",createLinkBtn:"创建链接",createLinkFailed:"创建分享链接失败",bannedTips:"分享已被禁用",goFeedback:"去反馈",updateLinkTitle:"更新分享链接",updateLinkDesc:"更新后,旧链接将不再可用",updateLinkConfirm:"更新",updateLinkSuccess:"链接已更新",updateTime:"更新时间:",viewLink:"查看链接",notPublic:"未公开",copySuccess:"链接已复制",copyFailed:"复制失败",copyLinkBtn:"复制链接",updateLinkBtn:"更新链接",setPrivateTitle:"设为私密",setPrivateDesc:"设为私密后,其他人将无法通过链接访问",setPrivateConfirm:"确认",setPrivateSuccess:"已设为私密",updateShareFailed:"更新分享状态失败",linkError:"链接有误,请确认分享链接",report:"举报",linkInvalid:"该链接无法访问"},floatBar:{leftAlign:"左对齐",centerAlign:"居中对齐",rightAlign:"右对齐",justify:"两端对齐",topAlign:"顶部对齐",verticallyCenter:"垂直居中",bottomAlign:"底部对齐",horizontalAlignment:"水平对齐",verticalAlignment:"垂直对齐",lineSpacing:"行间距",textStyle:"文本样式",tableStyle:"表格样式",unappliedTextStyle:"未应用",manageTextStyles:"管理文字样式",fontColor:"字体颜色",textBackground:"文字背景",font:"字体",unsupportedFont:"⚠️ 暂不支持的字体样式",fontSize:"字号",bold:"加粗",italic:"斜体",underline:"下划线",strikethrough:"删除线",insertLatex:"插入公式",editLatex:"编辑公式",editData:"编辑数据",showChartTitle:"显示标题",editChartTitle:"编辑标题",chartTitlePlaceholder:"图表标题",showChartValues:"显示数值",chartLegend:"图例",none:"无",top:"上",bottom:"下",left:"左",right:"右",candlestickUpColor:"上涨颜色",candlestickDownColor:"下跌颜色",candlestickWickColor:"影线颜色",waterfallIncreaseColor:"增加颜色",waterfallDecreaseColor:"减少颜色",waterfallTotalColor:"汇总颜色",heatmapLowColor:"低值颜色",heatmapMiddleColor:"中间值颜色",heatmapHighColor:"高值颜色",editLine:"编辑线条",curveLine:"曲线",lineCurveSharp:"折线",lineCurveRound:"圆角",lineCurveSmooth:"曲线",lineStartArrow:"起点箭头",lineEndArrow:"终点箭头",usedThemeColor:'使用"{name}"主题',colorFill:"颜色填充",themeColor:"主题颜色",replaceImage:"替换图片",replaceIcon:"替换图标",replaceShape:"替换形状",imageFit:"图片适配",fitFill:"拉伸",fitContain:"适应",fitCover:"裁切填充",cancelCrop:"取消裁剪",cropImage:"裁剪图片",opacity:"不透明度",horizontalFlip:"水平翻转",verticalFlip:"垂直翻转",layer:"层级",bringToTop:"置顶",sendToBottom:"置底",bringForward:"上移一层",sendBackward:"下移一层",rowAction:"行操作",columnAction:"列操作",insertRowBefore:"在上面插入行",insertRowAfter:"在下面插入行",insertColumnBefore:"在左边插入列",insertColumnAfter:"在右边插入列",defaultBorder:"默认",allBorders:"所有边框",topAndBottomBorders:"上下边框",leftAndRightBorders:"左右边框",topBorder:"上边框",rightBorder:"右边框",bottomBorder:"下边框",leftBorder:"左边框",equalizeColumnWidths:"均分列宽",deselectAll:"取消选择",selectAll:"全选",deleteTable:"删除表格",cellBackground:"单元格背景",times:"倍",border:"边框",line:"线条",solidLine:"实线",dashedLine:"虚线",dottedLine:"点线",noBorder:"无边框",style:"样式",thickness:"粗细",color:"颜色",recentColors:"最近使用",notSupportEyeDropper:"当前浏览器不支持取色吸管,请更换浏览器",escCloseEyeDropper:"按 ESC 键关闭取色吸管"},notes:{placeholder:"备注",show:"显示演讲者备注"},animationPanel:{title:"动画",preview:"预览",empty:"当前页暂无动画",add:"添加动画",addHint:"选择元素后添加动画",target:"目标元素",effect:"动画效果",trigger:"触发方式",triggerOnClick:"单击时",triggerWithPrevious:"与上一动画同时",triggerAfterPrevious:"上一动画之后",direction:"方向",directionUp:"向上",directionDown:"向下",directionLeft:"向左",directionRight:"向右",duration:"时长 (ms)",delay:"延迟 (ms)",easing:"缓动",easingLinear:"线性",easingEaseIn:"缓入",easingEaseOut:"缓出",easingEaseInOut:"缓入缓出",repeat:"重复次数",path:"路径",delete:"删除",categoryEntrance:"进入",categoryEmphasis:"强调",categoryExit:"退出",categoryMotionPath:"路径",effects:{appear:"出现","fade-in":"淡入","fly-in":"飞入","zoom-in":"缩放进入","wipe-in":"擦除进入","float-in":"浮入","peek-in":"探入","rise-in":"升起",pulse:"脉冲","grow-shrink":"放大缩小",spin:"旋转",teeter:"晃动","fill-color":"填充变色",transparency:"透明度","color-pulse":"彩色脉冲",disappear:"消失","fade-out":"淡出","fly-out":"飞出","zoom-out":"缩放退出","wipe-out":"擦除退出","float-out":"浮出","motion-path":"动作路径"},pickElement:"点选元素",elementTypes:{text:"文本框",shape:"形状",image:"图片",icon:"图标",table:"表格",chart:"图表",line:"线条"}}},je={topBar:{fullscreen:"全螢幕",collapse:"收合",autosaving:"正在自動儲存…",justSaved:"剛剛儲存",savedMinutesAgo:"{minutes} 分鐘前儲存",versionName:"V{version} 版本",versionLatest:"最新",versionEditedBy:"{editor} 於 {time} 編輯",versionMinutesAgo:"{minutes} 分鐘前",versionYesterday:"昨天 {time}",restoreVersion:"還原",returnLatestVersion:"返回最新版本",close:"關閉"},basic:{undo:"復原",redo:"重做",save:"儲存",screen:"放映",share:"分享",export:"匯出",unnamedPresentation:"未命名簡報",lastPage:"已經是最後一張投影片"},presenter:{start:"在目前螢幕放映",mode:"簡報模式",exit:"退出",openFailed:"瀏覽器已封鎖簡報者彈出式視窗。請允許來自此網站的彈出式視窗和重新導向後再試一次",connectFailed:"無法連線至簡報者視窗,請再試一次"},screen:{fullscreenFailed:"無法進入全螢幕。請在瀏覽器設定中允許此網站使用全螢幕後再試一次",transitionEffects:{none:"無",fade:"淡化","wipe-right":"向右擦去","wipe-left":"向左擦去","wipe-down":"向下擦去","wipe-up":"向上擦去","split-vertical":"垂直分割","split-horizontal":"水平分割",box:"方塊",checkerboard:"棋盤式","random-bars-horizontal":"水平隨機線條","random-bars-vertical":"垂直隨機線條","horizontal-blinds":"水平百葉窗","vertical-blinds":"垂直百葉窗","column-grid":"直欄格線","random-grid":"隨機格線",random:"隨機效果"}},save:{saveFailed:"儲存失敗",invalidData:"儲存資料有誤,請重新整理後再試一次",conflictTitle:"偵測到較新的版本",conflictContent:"此簡報已於 {time} 更新。重新整理即可查看最新版本;套用變更則會以目前內容繼續儲存。",conflictRefresh:"重新整理",conflictApplyChanges:"套用目前的變更"},bottomBar:{rectangle:"矩形",otherShapes:"基本圖案",decoration:"裝飾",straightLine:"直線",curve:"曲線",createTable:"建立表格",searchIcon:"搜尋圖示",noIconFound:"找不到圖示"},sideBar:{addSlide:"新增投影片",previewMode:"預覽模式",expand:"展開",collapse:"收合"},contextMenu:{cut:"剪下",copy:"複製",paste:"貼上",selectAll:"全選",changeBackground:"變更背景",newPage:"新增投影片",copyPage:"複製投影片",deletePage:"刪除投影片",delete:"刪除",moveUpOneLayer:"上移一層",moveDownOneLayer:"下移一層",bringToTop:"移到最上層",sendToBottom:"移到最下層",align:"對齊",alignCenter:"在投影片上置中",alignHorizontal:"水平置中",startFromCurrent:"從這張投影片開始放映",insertColumn:"插入欄",insertColumnLeft:"插入左欄",insertColumnRight:"插入右欄",insertRow:"插入列",insertRowAbove:"插入上方列",insertRowBelow:"插入下方列",deleteColumn:"刪除欄",deleteRow:"刪除列",mergeCells:"合併儲存格",unmergeCells:"取消合併儲存格",selectCurrentColumn:"選取目前欄",selectCurrentRow:"選取目前列",selectAllCells:"選取所有儲存格",deleteTable:"刪除表格"},common:{name:"簡報",nameEN:"PPT",confirm:"確認",cancel:"取消",dontRemind:"不再顯示",feedback:"意見回饋",user:"使用者",loadFailedRetry:"載入失敗,請稍後再試"},annotation:{edit:"編輯",entry:"註解",placeholder:"告訴 Kimi 要怎麼修改",add:"新增",addedCount:"已新增註解:{count}",emptyTip:"在投影片上新增註解",clear:"清除註解",delete:"刪除註解",marker:"註解",pageLabel:"投影片 {page}",clearConfirm:{title:"要清除所有註解嗎?",content:"這會移除你新增的所有註解",cancelText:"取消",confirmText:"清除"},exitConfirm:{title:"要結束註解模式嗎?",content:"尚未送出的註解不會儲存",cancelText:"取消",confirmText:"結束"}},wap:{loading:"載入中",play:"播放",export:"匯出",exporting:"正在匯出",playPrevLine1:"點一下或向左滑",playPrevLine2:"前往上一張投影片",playMenuLine1:"點一下中央",playMenuLine2:"開啟投影片選單",playNextLine1:"點一下或向右滑",playNextLine2:"前往下一張投影片"},rate:{title:"你對這次的結果滿意嗎?",thanksTitle:"感謝你的意見回饋",bad:"不滿意",normal:"還可以",good:"很棒",resultTip:"你的意見能幫助 Kimi 持續改進",feedback:"提供更多意見"},feedback:{snackbar:{title:"這次的結果如何?",good:"好",normal:"還可以",bad:"不太好",successMessage:"感謝你的意見,這能幫助 Kimi 持續改進",writeFeedback:"提供意見"}},logoModal:{title:"新增 Logo",tooltip:"Logo 會顯示在每張投影片的左上角",selected:"已選取",upload:"上傳 Logo",preview:"預覽",maxLimit:"最多 5 個 Logo",alertMaxLimit:"最多可上傳 5 個 Logo",applyToAll:"套用至所有投影片"},latex:{title:"插入公式",placeholder:"輸入 LaTeX 公式,例如:E = mc^2"},themeEditor:{title:"投影片主題",apply:"套用",cancel:"取消",themeColors:"主題色彩",emptyThemeColors:"沒有主題色彩",currentPageBackground:"目前投影片背景",backgroundColor:"顏色",backgroundImage:"影像",uploadImage:"上傳影像",uploadImageFailed:"影像上傳失敗,請稍後再試",backgroundFitFill:"填充",backgroundFitContain:"適應",backgroundFitStretch:"拉伸",applyToAll:"全部套用",textStyles:"文字樣式",emptyTextStyles:"沒有文字樣式",fontStyle:"字型粗細",lineHeight:"行高",letterSpacing:"字元間距",previewText:"認識 Kimi123",normal:"標準",textStyleTitle:"標題",textStyleSubtitle:"副標題",textStyleBody:"正文",textStyleCaption:"說明文字 / 附註",miSans:"Microsoft YaHei"},diffChecker:{title:"差異檢查工具",newFile:"新增",deletedFile:"已刪除",emptyContent:"此檔案沒有內容"},insert:{text:"插入文字",graphics:"圖形",graphicsShapeTab:"形狀",graphicsLineTab:"線條",graphicsIconTab:"圖示",image:"插入影像",table:"插入表格",theme:"主題",latex:"插入公式",watermark:"新增浮水印",more:"更多",animation:"動畫"},scaleMenu:{zoomIn:"放大",zoomOut:"縮小",fitScreen:"配合螢幕大小"},exportDialog:{image:"影像",downloadTitle:"匯出",tabDownload:"下載",tabGoogleSlides:"Google 簡報",outputFormat:"輸出格式",fontEmbed:"內嵌字型",fontEmbedTooltip:"將字型內嵌至 PPTX,讓不同裝置上的顯示保持一致",slideTransition:"投影片切換",slideTransitionTooltip:"在投影片之間加入切換效果",defaultDownloadPath:"預設下載路徑",storageTo:"儲存至",download:"下載",downloadStarted:"已開始匯出",downloadStartTip:"已開始匯出。若下載未開始,請改用其他瀏覽器或重新匯出。",loading:"正在匯出",pendingTip:"匯出時間比預期更久,請改用其他瀏覽器。",wechatTip:"微信內建瀏覽器不支援下載,請改用 Chrome 或 Edge 等電腦版瀏覽器。",safariTip:"瀏覽器版本過舊,請更新或改用 Chrome、Edge 等其他瀏覽器。",mobileTip:"請在電腦上下載",exportPptxFailed:"無法匯出 PPTX,請再試一次。",exportPptxSignFailed:"匯出 PPTX 失敗,請重新整理後再試。",exportImageFailed:"無法匯出影像,請再試一次。",exportingToGoogle:"正在匯出至 Google 簡報…",exportToGoogle:"匯出至 Google 簡報",exportToGoogleTips:"將此簡報匯出至 Google 簡報",exportToGoogleNetworkError:"無法匯出至 Google 簡報,請檢查網路連線後再試一次。"},share:{create:"建立簡報",createDesign:"去設計",public:"公開",private:"私人",createLink:"建立分享連結",createLinkDesc:"任何取得連結的人都能查看此簡報",createLinkBtn:"建立連結",createLinkFailed:"無法建立分享連結",bannedTips:"分享已被停用",goFeedback:"前往回饋",updateLinkTitle:"更新分享連結",updateLinkDesc:"更新後,舊連結將無法使用",updateLinkConfirm:"更新",updateLinkSuccess:"連結已更新",updateTime:"更新時間:",viewLink:"查看連結",notPublic:"未公開",copySuccess:"已複製連結",copyFailed:"無法複製連結,請再試一次。",copyLinkBtn:"複製連結",updateLinkBtn:"更新連結",setPrivateTitle:"要將簡報設為私人嗎?",setPrivateDesc:"任何取得連結的人都將失去存取權",setPrivateConfirm:"設為私人",setPrivateSuccess:"簡報已設為私人",updateShareFailed:"無法更新分享設定",linkError:"此連結無效,請檢查後再試一次。",report:"檢舉",linkInvalid:"此連結無法使用"},floatBar:{leftAlign:"左對齊",centerAlign:"置中對齊",rightAlign:"右對齊",justify:"左右對齊",topAlign:"靠上對齊",verticallyCenter:"垂直置中",bottomAlign:"靠下對齊",horizontalAlignment:"水平對齊",verticalAlignment:"垂直對齊",lineSpacing:"行距",textStyle:"文字樣式",tableStyle:"表格樣式",unappliedTextStyle:"未套用",manageTextStyles:"管理文字樣式",fontColor:"文字色彩",textBackground:"文字背景",font:"字型",unsupportedFont:"⚠️ 暫不支援的字型樣式",fontSize:"字型大小",bold:"粗體",italic:"斜體",underline:"底線",strikethrough:"刪除線",insertLatex:"插入公式",editLatex:"編輯公式",editData:"編輯資料",showChartTitle:"顯示標題",editChartTitle:"編輯標題",chartTitlePlaceholder:"圖表標題",showChartValues:"顯示值",chartLegend:"圖例",none:"無",top:"上",bottom:"下",left:"左",right:"右",candlestickUpColor:"上漲顏色",candlestickDownColor:"下跌顏色",candlestickWickColor:"影線色彩",waterfallIncreaseColor:"增加色彩",waterfallDecreaseColor:"減少色彩",waterfallTotalColor:"總計色彩",heatmapLowColor:"低值色彩",heatmapMiddleColor:"中點色彩",heatmapHighColor:"高值色彩",editLine:"編輯線條",curveLine:"曲線",lineCurveSharp:"折線",lineCurveRound:"圓角",lineCurveSmooth:"曲線",lineStartArrow:"起點箭頭",lineEndArrow:"終點箭頭",usedThemeColor:"使用「{name}」主題",colorFill:"填滿色彩",themeColor:"主題色彩",replaceImage:"取代影像",replaceIcon:"取代圖示",replaceShape:"取代圖案",imageFit:"影像調整",fitFill:"拉伸",fitContain:"適應",fitCover:"裁剪以填滿",cancelCrop:"取消裁剪",cropImage:"裁剪影像",opacity:"不透明度",horizontalFlip:"水平翻轉",verticalFlip:"垂直翻轉",layer:"圖層",bringToTop:"移到最上層",sendToBottom:"移到最下層",bringForward:"上移一層",sendBackward:"下移一層",rowAction:"列操作",columnAction:"欄操作",insertRowBefore:"在上方插入列",insertRowAfter:"在下方插入列",insertColumnBefore:"在左側插入欄",insertColumnAfter:"在右側插入欄",defaultBorder:"預設",allBorders:"所有邊框",topAndBottomBorders:"上下邊框",leftAndRightBorders:"左右邊框",topBorder:"上邊框",rightBorder:"右邊框",bottomBorder:"下邊框",leftBorder:"左邊框",equalizeColumnWidths:"平均分配欄寬",deselectAll:"取消全選",selectAll:"全選",deleteTable:"刪除表格",cellBackground:"儲存格背景",times:"倍",border:"邊框",line:"線條",solidLine:"實線",dashedLine:"虛線",dottedLine:"點線",noBorder:"無邊框",style:"樣式",thickness:"粗細",color:"顏色",recentColors:"最近使用的色彩",notSupportEyeDropper:"此瀏覽器不支援滴管,請改用其他瀏覽器。",escCloseEyeDropper:"按 Esc 關閉滴管"},notes:{placeholder:"備忘稿",show:"顯示講者備忘稿"},animationPanel:{title:"動畫",preview:"預覽",empty:"目前頁面沒有動畫",add:"新增動畫",addHint:"選擇元素後新增動畫",target:"目標元素",effect:"動畫效果",trigger:"觸發方式",triggerOnClick:"按一下時",triggerWithPrevious:"與上一動畫同時",triggerAfterPrevious:"接續上一動畫",direction:"方向",directionUp:"向上",directionDown:"向下",directionLeft:"向左",directionRight:"向右",duration:"時間長度 (ms)",delay:"延遲 (ms)",easing:"緩動",easingLinear:"線性",easingEaseIn:"緩入",easingEaseOut:"緩出",easingEaseInOut:"緩入緩出",repeat:"重複次數",path:"路徑",delete:"刪除",categoryEntrance:"進入",categoryEmphasis:"強調",categoryExit:"結束",categoryMotionPath:"路徑",effects:{appear:"出現","fade-in":"淡入","fly-in":"飛入","zoom-in":"縮放進入","wipe-in":"擦除進入","float-in":"浮入","peek-in":"探入","rise-in":"升起",pulse:"脈衝","grow-shrink":"放大縮小",spin:"旋轉",teeter:"晃動","fill-color":"填滿變色",transparency:"透明度","color-pulse":"彩色脈衝",disappear:"消失","fade-out":"淡出","fly-out":"飛出","zoom-out":"縮放退出","wipe-out":"擦除退出","float-out":"浮出","motion-path":"動作路徑"},pickElement:"點選元素",elementTypes:{text:"文字方塊",shape:"圖形",image:"圖片",icon:"圖示",table:"表格",chart:"圖表",line:"線條"}}},He=[{locale:"zh-cn",routeLang:"zh",displayName:"简体中文"},{locale:"zh-tw",routeLang:"zh-tw",displayName:"繁体中文"},{locale:"en-us",routeLang:"en",displayName:"英语"},{locale:"pt-br",routeLang:"pt",displayName:"葡萄牙语"},{locale:"de",routeLang:"de",displayName:"德语"},{locale:"es-419",routeLang:"es",displayName:"西班牙语"},{locale:"fr-fr",routeLang:"fr",displayName:"法语"},{locale:"tr",routeLang:"tr",displayName:"土耳其语"},{locale:"ja",routeLang:"ja",displayName:"日语"},{locale:"it",routeLang:"it",displayName:"意大利语"},{locale:"ko",routeLang:"ko",displayName:"韩语"},{locale:"id",routeLang:"id",displayName:"印尼语"},{locale:"vi",routeLang:"vi",displayName:"越南语"},{locale:"th",routeLang:"th",displayName:"泰语"},{locale:"ru",routeLang:"ru",displayName:"俄语"},{locale:"ar",routeLang:"ar",displayName:"阿语(标准阿拉伯语)"}],ze="en-us",$e=new Set(["ar","he","fa","ur","ps","sd","yi","ckb","ku","dv","ug"]),Ue=new Map([["fr","fr-fr"]]),new Map(He.map(e=>[e.locale,e])),new Map(He.map(e=>[e.routeLang.toLowerCase(),e.locale])),Ve=new Set(He.map(e=>e.locale)),Ge=e=>e?.trim().toLowerCase().replace(/_/g,"-"),e("z",qe=e=>{const t=Ge(e);if(!t)return;const n=Ue.get(t)??t;return Ve.has(n)?n:void 0}),e("B",We=e=>{const t="string"==typeof e?[e]:e;for(const n of t??[]){const e=qe(n);if(e)return e}}),e("R",e=>{const t=Ge(e);if(!t)return!1;const[n]=t.split("-");return $e.has(t)||$e.has(n)}),Ke=e=>{const t="string"==typeof e?[e]:e;for(const n of t??[]){const e=Ge(n);if(!e)continue;const t=qe(e);if(t)return t;const r=e.split("-")[0],o=He.find(e=>{const t=e.locale.split("-")[0];return e.routeLang===r||t===r});if(o)return o.locale}},Je=()=>"undefined"==typeof navigator?ze:Ke(navigator.languages?.length?navigator.languages:navigator.language)??"en-us",Ze={"en-us":Re,"zh-cn":De,"zh-tw":je},Xe={ar:()=>ne(()=>t.import("./ar-legacy-krZL9v0d.js").then(e=>e.default),void 0),de:()=>ne(()=>t.import("./de-legacy-Bv8JyJDi.js").then(e=>e.default),void 0),"es-419":()=>ne(()=>t.import("./es-419-legacy-B3ncjgZL.js").then(e=>e.default),void 0),"fr-fr":()=>ne(()=>t.import("./fr-FR-legacy-DOsokj7_.js").then(e=>e.default),void 0),id:()=>ne(()=>t.import("./id-legacy-DgGYDVIG.js").then(e=>e.default),void 0),it:()=>ne(()=>t.import("./it-legacy-BREUGM7H.js").then(e=>e.default),void 0),ja:()=>ne(()=>t.import("./ja-legacy-CKu0gmXl.js").then(e=>e.default),void 0),ko:()=>ne(()=>t.import("./ko-legacy-DmgAD8k2.js").then(e=>e.default),void 0),"pt-br":()=>ne(()=>t.import("./pt-BR-legacy--9_CA0bo.js").then(e=>e.default),void 0),ru:()=>ne(()=>t.import("./ru-legacy-BAhG_43S.js").then(e=>e.default),void 0),th:()=>ne(()=>t.import("./th-legacy-Dqw6j-IC.js").then(e=>e.default),void 0),tr:()=>ne(()=>t.import("./tr-legacy-DR5GQobQ.js").then(e=>e.default),void 0),vi:()=>ne(()=>t.import("./vi-legacy-iSO90paa.js").then(e=>e.default),void 0)},Ye=new Map,Qe=async e=>{const t=Ze[e];if(t)return t;const n=Ye.get(e);if(n)return n;const r=Xe[e];if(!r)return Ze[ze];const o=r().then(t=>(Ze[e]=t,Ye.delete(e),t));return Ye.set(e,o),o},e("L",()=>b()),et=null,tt=()=>{if("undefined"!=typeof window)return We(new URLSearchParams(window.location.search).get("lang"))},nt=()=>"undefined"==typeof document?null:qe(document.cookie.split(";").find(e=>e.trim().startsWith("lang="))?.split("=")[1])??null,rt=e=>"undefined"==typeof localStorage?null:qe(localStorage.getItem(e))??null,ot=()=>{const e=tt(),t=Je(),n=rt("KIMI_LOCALE"),r=rt("kimi-ppt-LOCALE"),o=nt();return e||r||o||n||t},at=e=>{"undefined"!=typeof document&&(document.documentElement.lang=e)},it=async e=>{const t=await Qe(e);et?.global.setLocaleMessage(e,t)},st=e=>{const t=X({legacy:!1,locale:e,fallbackLocale:ze,messages:Ze});return et=t,Z(()=>t.global.locale.value,e=>{const n=qe(e)??"en-us";n!==e&&(t.global.locale.value=n),at(n),it(n)},{immediate:!0,flush:"sync"}),t},e("I",async e=>{const t=qe(e);if(t)return await it(t),et&&(et.global.locale.value=t),t}),e("F",()=>et?.global.locale.value??"en-us"),lt=async()=>{const e=ot();return await Qe(e),st(e)},ct=//g,ft=class{constructor(e){re(this,"value",void 0),re(this,"next",void 0),this.value=e}},gt=new WeakMap,ht=new WeakMap,pt=new WeakMap,dt=Symbol.iterator,mt=class{constructor(){K(this,gt,void 0),K(this,ht,void 0),K(this,pt,void 0),this.clear()}enqueue(e){var t;const n=new ft(e);D(gt,this)?(D(ht,this).next=n,L(ht,this,n)):(L(gt,this,n),L(ht,this,n)),L(pt,this,(t=D(pt,this),++t))}dequeue(){var e;const t=D(gt,this);if(t)return L(gt,this,D(gt,this).next),L(pt,this,(e=D(pt,this),--e)),D(gt,this)||L(ht,this,void 0),t.value}peek(){if(D(gt,this))return D(gt,this).value}clear(){L(gt,this,void 0),L(ht,this,void 0),L(pt,this,0)}get size(){return D(pt,this)}*[dt](){let e=D(gt,this);for(;e;)yield e.value,e=e.next}*drain(){for(;D(gt,this);)yield this.dequeue()}},e("A",e=>new Promise(t=>{const n=new Image;n.crossOrigin="anonymous";const r="string"==typeof e,o=r?e:URL.createObjectURL(e);n.onload=()=>{!r&&URL.revokeObjectURL(o),t({width:n.width,height:n.height})},n.onerror=()=>{!r&&URL.revokeObjectURL(o)},n.src=o})),vt=bc(5),bt=new Map,yt=/^\s+/,wt=/\s+$/,kc.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=jc(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Sc(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Sc(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=xc(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=xc(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return _c(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[Uc(Math.round(e).toString(16)),Uc(Math.round(t).toString(16)),Uc(Math.round(n).toString(16)),Uc(Gc(r))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Hc(this._r,255))+"%",g:Math.round(100*Hc(this._g,255))+"%",b:Math.round(100*Hc(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Hc(this._r,255))+"%, "+Math.round(100*Hc(this._g,255))+"%, "+Math.round(100*Hc(this._b,255))+"%)":"rgba("+Math.round(100*Hc(this._r,255))+"%, "+Math.round(100*Hc(this._g,255))+"%, "+Math.round(100*Hc(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(kt[_c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Ec(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=kc(e);n="#"+Ec(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return kc(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Mc,arguments)},brighten:function(){return this._applyModification(Ac,arguments)},darken:function(){return this._applyModification(Oc,arguments)},desaturate:function(){return this._applyModification(Tc,arguments)},saturate:function(){return this._applyModification(Bc,arguments)},greyscale:function(){return this._applyModification(Lc,arguments)},spin:function(){return this._applyModification(Fc,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Rc,arguments)},complement:function(){return this._applyCombination(Pc,arguments)},monochromatic:function(){return this._applyCombination(Dc,arguments)},splitcomplement:function(){return this._applyCombination(Nc,arguments)},triad:function(){return this._applyCombination(Ic,[3])},tetrad:function(){return this._applyCombination(Ic,[4])}},kc.fromRatio=function(e,t){if("object"==Cc(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:Vc(e[r]));e=n}return kc(e,t)},kc.equals=function(e,t){return!(!e||!t)&&kc(e).toRgbString()==kc(t).toRgbString()},kc.random=function(){return kc.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},kc.mix=function(e,t,n){n=0===n?0:n||50;var r=kc(e).toRgb(),o=kc(t).toRgb(),a=n/100;return kc({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},kc.readability=function(e,t){var n=kc(e),r=kc(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},kc.isReadable=function(e,t,n){var r,o,a,i,s=kc.readability(e,t),l=!1;switch("AA"!==(a=((o=(o=n)||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(i=(o.size||"small").toLowerCase())&&"large"!==i&&(i="small"),(r={level:a,size:i}).level+r.size){case"AAsmall":case"AAAlarge":l=s>=4.5;break;case"AAlarge":l=s>=3;break;case"AAAsmall":l=s>=7}return l},kc.mostReadable=function(e,t,n){var r,o,a,i,s=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var c=0;cl&&(l=r,s=kc(t[c]));return kc.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,kc.mostReadable(e,["#fff","#000"],n))},Ct=kc.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},kt=kc.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(Ct),ie="[\\s|\\(]+("+(te="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+te+")[,|\\s]+("+te+")\\s*\\)?",se="[\\s|\\(]+("+te+")[,|\\s]+("+te+")[,|\\s]+("+te+")[,|\\s]+("+te+")\\s*\\)?",xt={CSS_UNIT:new RegExp(te),rgb:new RegExp("rgb"+ie),rgba:new RegExp("rgba"+se),hsl:new RegExp("hsl"+ie),hsla:new RegExp("hsla"+se),hsv:new RegExp("hsv"+ie),hsva:new RegExp("hsva"+se),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/},e("T",St=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t}),e("C",_t=Symbol("shape-defs-pool")),Et={class:"pptd-defs-pool","aria-hidden":"true",focusable:"false"},Tt=["id"],Bt=["d","transform"],Lt=["id"],Mt=["offset","stop-color","stop-opacity"],At=["id"],Ot=["offset","stop-color","stop-opacity"],Ft=["id"],Pt=["stdDeviation","dx","dy","flood-color"],It=["id","width","height"],Nt=["href","width","height","preserveAspectRatio","opacity"],Rt=_({__name:"DefsPool",setup(e){const{entries:t}=O(_t,null)||Kc();function n(e=0,t,n){const r=e*Math.PI/180,o=Math.cos(r),a=Math.sin(r),i=t/2,s=n/2,l=(Math.abs(o)*t+Math.abs(a)*n)/2;return{x1:i-o*l,y1:s-a*l,x2:i+o*l,y2:s+a*l}}function r(e,t){const[n,r]=t,o=e.fit?.mode??"fill";return{w:n,h:r,preserve:"cover"===o?"xMidYMid slice":"contain"===o?"xMidYMid meet":"none",src:e.src,opacity:e.opacity??1}}function a(e,t){const n=t[0]/Math.max(e[0],1e-6),r=t[1]/Math.max(e[1],1e-6);return 1===n&&1===r?void 0:`scale(${n} ${r})`}function i(e){const[t,n]=e;return{cx:t/2,cy:n/2,r:.3*Math.min(t,n)}}function s(e){const t=kc(e);return t.isValid()?t.setAlpha(1).toHexString():e}function c(e){const t=kc(e);if(!t.isValid())return;const n=t.getAlpha();return n<1?n:void 0}return(e,u)=>(M(),d("svg",Et,[w("defs",null,[(M(!0),d(o,null,J(R(t),e=>(M(),d(o,{key:e.id},["clipPath"===e.spec.kind?(M(),d("clipPath",{key:0,id:e.id,clipPathUnits:"userSpaceOnUse"},[w("path",{d:e.spec.pathString,transform:a(e.spec.viewBox,e.spec.bounds)},null,8,Bt)],8,Tt)):"gradient"===e.spec.kind&&"linear"===e.spec.spec.gradientType?(M(),d("linearGradient",G({key:1,id:e.id,gradientUnits:"userSpaceOnUse"},{ref_for:!0},n(e.spec.spec.angle,e.spec.bounds[0],e.spec.bounds[1])),[(M(!0),d(o,null,J(e.spec.spec.stops,(e,t)=>(M(),d("stop",{key:t,offset:e.position,"stop-color":s(e.color),"stop-opacity":c(e.color)},null,8,Mt))),128))],16,Lt)):"gradient"===e.spec.kind&&"radial"===e.spec.spec.gradientType?(M(),d("radialGradient",G({key:2,id:e.id,gradientUnits:"userSpaceOnUse"},{ref_for:!0},i(e.spec.bounds)),[(M(!0),d(o,null,J(e.spec.spec.stops,(e,t)=>(M(),d("stop",{key:t,offset:e.position,"stop-color":s(e.color),"stop-opacity":c(e.color)},null,8,Ot))),128))],16,At)):"shadow"===e.spec.kind?(M(),d("filter",{key:3,id:e.id,x:"-50%",y:"-50%",width:"200%",height:"200%"},[w("feDropShadow",{stdDeviation:e.spec.spec.blur/2,dx:e.spec.spec.offset?.[0]??0,dy:e.spec.spec.offset?.[1]??0,"flood-color":e.spec.spec.color},null,8,Pt)],8,Ft)):"imagePattern"===e.spec.kind?(M(),d("pattern",{key:4,id:e.id,patternUnits:"userSpaceOnUse",width:r(e.spec.spec,e.spec.bounds).w,height:r(e.spec.spec,e.spec.bounds).h},[w("image",{href:r(e.spec.spec,e.spec.bounds).src,width:r(e.spec.spec,e.spec.bounds).w,height:r(e.spec.spec,e.spec.bounds).h,preserveAspectRatio:r(e.spec.spec,e.spec.bounds).preserve,opacity:r(e.spec.spec,e.spec.bounds).opacity},null,8,Nt)],8,It)):l("",!0)],64))),128))]),A(e.$slots,"default",{},void 0,!0)]))}}),e("S",Dt=oe(Rt,[["__scopeId","data-v-a2588ac6"]])),jt={Colors:{KMBlue:{normal:"#1783FF",hover:"rgba(22, 127, 247, 1)",active:"rgba(22, 124, 242, 1)"},Red:{normal:"#FF3849",hover:"rgba(247, 54, 71, 1)",active:"rgba(242, 53, 69, 1)"},Red25:{normal:"rgba(255, 56, 73, .25)",hover:"rgba(227, 50, 65, 0.27249999999999996)",active:"rgba(211, 46, 60, 0.2875000000000001)"},PositiveGreen:{normal:"#16C456",hover:"rgba(21, 190, 83, 1)",active:"rgba(21, 186, 82, 1)"},PositiveGreen25:{normal:"rgba(22, 196, 86, .25)",hover:"rgba(20, 174, 77, 0.27249999999999996)",active:"rgba(18, 162, 71, 0.2875000000000001)"},Green:{normal:"#32FF7D",hover:"rgba(49, 247, 121, 1)",active:"rgba(48, 242, 119, 1)"},Yellow:{normal:"#FFD230",hover:"rgba(247, 204, 47, 1)",active:"rgba(242, 200, 46, 1)"},Orange:{normal:"#FF9500",hover:"rgba(247, 145, 0, 1)",active:"rgba(242, 142, 0, 1)"},Purple:{normal:"#985FFB",hover:"rgba(147, 92, 243, 1)",active:"rgba(144, 90, 238, 1)"}},Bg:{Primary:{normal:"#FFFFFF",hover:"rgba(247, 247, 247, 1)",active:"rgba(242, 242, 242, 1)"},Primary90:{normal:"rgba(255, 255, 255, 0.9)",hover:"rgba(247, 247, 247, 0.903)",active:"rgba(241, 241, 241, 0.905)"},Primary70:{normal:"rgba(255, 255, 255, 0.7)",hover:"rgba(244, 244, 244, 0.709)",active:"rgba(237, 237, 237, 0.715)"},Secondary:{normal:"#F5F5F5",hover:"rgba(238, 238, 238, 1)",active:"rgba(233, 233, 233, 1)"},Secondary90:{normal:"rgba(245, 245, 245, 0.9)",hover:"rgba(237, 237, 237, 0.903)",active:"rgba(231, 231, 231, 0.905)"},Tertiary:{normal:"#FFFFFF",hover:"rgba(247, 247, 247, 1)",active:"rgba(242, 242, 242, 1)"},Tertiary90:{normal:"rgba(255, 255, 255, 0.9)",hover:"rgba(247, 247, 247, 0.903)",active:"rgba(241, 241, 241, 0.905)"},GroundPC:{normal:"#F9FBFC",hover:"rgba(242, 243, 244, 1)",active:"rgba(237, 238, 239, 1)"},Quaternary:{normal:"#FFFFFF",hover:"rgba(247, 247, 247, 1)",active:"rgba(242, 242, 242, 1)"}},BgGp:{Primary:{normal:"#F5F5F5",hover:"rgba(238, 238, 238, 1)",active:"rgba(233, 233, 233, 1)"},Primary90:{normal:"rgba(245, 245, 245, 0.9)",hover:"rgba(237, 237, 237, 0.903)",active:"rgba(231, 231, 231, 0.905)"},Secondary:{normal:"#FFFFFF",hover:"rgba(247, 247, 247, 1)",active:"rgba(242, 242, 242, 1)"},Secondary90:{normal:"rgba(255, 255, 255, 0.9)",hover:"rgba(247, 247, 247, 0.903)",active:"rgba(241, 241, 241, 0.905)"},Tertiary:{normal:"#F5F5F5",hover:"rgba(238, 238, 238, 1)",active:"rgba(233, 233, 233, 1)"}},Labels:{Primary:{normal:"rgba(0, 0, 0, .9)",hover:"rgba(0, 0, 0, 0.903)",active:"rgba(0, 0, 0, 0.905)"},Secondary:{normal:"rgba(0, 0, 0, .6)",hover:"rgba(0, 0, 0, 0.612)",active:"rgba(0, 0, 0, 0.62)"},Tertiary:{normal:"rgba(0,0,0,.45)",hover:"rgba(0, 0, 0, 0.4665)",active:"rgba(0, 0, 0, 0.47750000000000004)"},Quaternary:{normal:"rgba(0,0,0,.3)",hover:"rgba(0, 0, 0, 0.32100000000000006)",active:"rgba(0, 0, 0, 0.3350000000000001)"}},Fills:{F1:{normal:"rgba(0, 0, 0, .03)",hover:"rgba(0, 0, 0, 0.05910000000000004)",active:"rgba(0, 0, 0, 0.07850000000000001)"},F2:{normal:"rgba(0, 0, 0, .05)",hover:"rgba(0, 0, 0, 0.07850000000000001)",active:"rgba(0, 0, 0, 0.09750000000000003)"},F3:{normal:"rgba(0, 0, 0, .15)",hover:"rgba(0, 0, 0, 0.1755)",active:"rgba(0, 0, 0, 0.1925)"},F4:{normal:"rgba(0, 0, 0, .25)",hover:"rgba(0, 0, 0, 0.27249999999999996)",active:"rgba(0, 0, 0, 0.2875000000000001)"}},Separators:{S1:{normal:"rgba(0, 0, 0, .13)",hover:"rgba(0, 0, 0, 0.15610000000000002)",active:"rgba(0, 0, 0, 0.1735)"}},MaskBg:{Light:{normal:"rgba(0, 0, 0, .1)",hover:"rgba(0, 0, 0, 0.127)",active:"rgba(0, 0, 0, 0.14500000000000002)"},Base:{normal:"rgba(0, 0, 0, .4)",hover:"rgba(0, 0, 0, 0.41800000000000004)",active:"rgba(0, 0, 0, 0.43000000000000005)"},Dark:{normal:"rgba(0, 0, 0, .6)",hover:"rgba(0, 0, 0, 0.612)",active:"rgba(0, 0, 0, 0.62)"},Gray:{normal:"rgba(48, 48, 48, .9)",hover:"rgba(46, 46, 46, 0.903)",active:"rgba(45, 45, 45, 0.905)"},ToastIOS:{normal:"rgba(69,69,69,.9)",hover:"rgba(67, 67, 67, 0.903)",active:"rgba(65, 65, 65, 0.905)"},ToastAndroid:{normal:"#454545",hover:"rgba(67, 67, 67, 1)",active:"rgba(66, 66, 66, 1)"},ToastPC:{normal:"#2B2B2B",hover:"rgba(42, 42, 42, 1)",active:"rgba(41, 41, 41, 1)"}},Always:{White:{normal:"#FFFFFF",hover:"rgba(247, 247, 247, 1)",active:"rgba(242, 242, 242, 1)"},WhiteSecondary:{normal:"rgba(255, 255, 255, 0.84)",hover:"rgba(246, 246, 246, 0.8448)",active:"rgba(240, 240, 240, 0.848)"},WhiteTertiary:{normal:"rgba(255, 255, 255, 0.56)",hover:"rgba(242, 242, 242, 0.5732)",active:"rgba(233, 233, 233, 0.5820000000000001)"},WhiteQuaternary:{normal:"rgba(255, 255, 255, 0.42)",hover:"rgba(238, 238, 238, 0.4373999999999999)",active:"rgba(227, 227, 227, 0.44899999999999995)"},Black:{normal:"#000000",hover:"rgba(0, 0, 0, 1)",active:"rgba(0, 0, 0, 1)"},TransparencyDarkFill:{normal:"rgba(0, 0, 0, 0.6)",hover:"rgba(0, 0, 0, 0.612)",active:"rgba(0, 0, 0, 0.62)"},TransparencyTagFill:{normal:"rgba(69, 69, 69, 0.7)",hover:"rgba(66, 66, 66, 0.709)",active:"rgba(64, 64, 64, 0.715)"},TransparencyWhite15:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(211, 211, 211, 0.1755)",active:"rgba(189, 189, 189, 0.1925)"}},Others:{LightBlueBg:{normal:"#E8F3FF",hover:"rgba(225, 236, 247, 1)",active:"rgba(220, 231, 242, 1)"},BubbleBlue:{normal:"#1783FF",hover:"rgba(22, 127, 247, 1)",active:"rgba(22, 124, 242, 1)"},BubbleGray_PC:{normal:"#F5F5F5",hover:"rgba(238, 238, 238, 1)",active:"rgba(233, 233, 233, 1)"},LightRedBg:{normal:"rgba(255, 77, 77, 0.1)",hover:"rgba(195, 59, 59, 0.127)",active:"rgba(167, 50, 50, 0.14500000000000002)"},LightOrangeBg:{normal:"rgba(255, 149, 0, 0.1)",hover:"rgba(195, 114, 0, 0.127)",active:"rgba(167, 98, 0, 0.14500000000000002)"},LightGreenBg:{normal:"rgba(22, 196, 86, 0.1)",hover:"rgba(17, 150, 66, 0.127)",active:"rgba(14, 128, 56, 0.14500000000000002)"},LightYellowBg:{normal:"rgba(255, 200, 0, 0.2)",hover:"rgba(221, 173, 0, 0.22399999999999998)",active:"rgba(202, 158, 0, 0.24)"},KMBlueDisabled:{normal:"rgba(23, 131, 255, 0.4)",hover:"rgba(21, 122, 237, 0.41800000000000004)",active:"rgba(20, 116, 225, 0.43000000000000005)"},KMBlue10:{normal:"rgba(23, 131, 255, 0.1)",hover:"rgba(18, 100, 195, 0.127)",active:"rgba(15, 86, 167, 0.14500000000000002)"},TextSelected:{normal:"rgba(23, 131, 255, 0.2)",hover:"rgba(20, 113, 221, 0.22399999999999998)",active:"rgba(18, 104, 202, 0.24)"},WhiteOnDarkDisabled:{normal:"#FFFFFF",hover:"rgba(247, 247, 247, 1)",active:"rgba(242, 242, 242, 1)"},SubLayerBg:{normal:"rgba(0, 0, 0, 0.08)",hover:"rgba(0, 0, 0, 0.10760000000000003)",active:"rgba(0, 0, 0, 0.126)"}},Syntax:{Keyword:{normal:"#A626A4",hover:"rgba(161, 37, 159, 1)",active:"rgba(158, 36, 156, 1)"},String:{normal:"#50A14F",hover:"rgba(78, 156, 77, 1)",active:"rgba(76, 153, 75, 1)"},Literal:{normal:"#986801",hover:"rgba(147, 101, 1, 1)",active:"rgba(144, 99, 1, 1)"},Comment:{normal:"#A1A1A1",hover:"rgba(156, 156, 156, 1)",active:"rgba(153, 153, 153, 1)"},Metadata:{normal:"#C18401",hover:"rgba(187, 128, 1, 1)",active:"rgba(183, 125, 1, 1)"},MultilineComment:{normal:"#A1A1A1",hover:"rgba(156, 156, 156, 1)",active:"rgba(153, 153, 153, 1)"},Punctuation:{normal:"#E45649",hover:"rgba(221, 83, 71, 1)",active:"rgba(217, 82, 69, 1)"},Mark:{normal:"#526FFF",hover:"rgba(80, 108, 247, 1)",active:"rgba(78, 105, 242, 1)"}}},Ht={Colors:{KMBlue:{normal:"#1A88FF",hover:"rgba(37, 142, 255, 1)",active:"rgba(49, 148, 255, 1)"},Red:{normal:"#FF4756",hover:"rgba(255, 80, 94, 1)",active:"rgba(255, 89, 103, 1)"},Red25:{normal:"rgba(255, 71, 86, 0.25)",hover:"rgba(255, 103, 115, 0.2875000000000001)",active:"rgba(255, 128, 138, 0.32499999999999996)"},PositiveGreen:{normal:"#16C456",hover:"rgba(34, 199, 94, 1)",active:"rgba(45, 202, 103, 1)"},PositiveGreen25:{normal:"rgba(22, 196, 86, 0.25)",hover:"rgba(63, 206, 115, 0.2875000000000001)",active:"rgba(94, 214, 138, 0.32499999999999996)"},Green:{normal:"#32FF7D",hover:"rgba(60, 255, 132, 1)",active:"rgba(71, 255, 138, 1)"},Yellow:{normal:"#FFD230",hover:"rgba(255, 212, 58, 1)",active:"rgba(255, 215, 69, 1)"},Orange:{normal:"#FF9F0A",hover:"rgba(255, 164, 22, 1)",active:"rgba(255, 169, 35, 1)"},Purple:{normal:"#A16BFF",hover:"rgba(166, 114, 255, 1)",active:"rgba(170, 122, 255, 1)"}},Bg:{Primary:{normal:"#121212",hover:"rgba(30, 30, 30, 1)",active:"rgba(42, 42, 42, 1)"},Primary90:{normal:"rgba(18, 18, 18, 0.9)",hover:"rgba(31, 31, 31, 0.905)",active:"rgba(44, 44, 44, 0.91)"},Primary70:{normal:"rgba(18, 18, 18, 0.7)",hover:"rgba(35, 35, 35, 0.715)",active:"rgba(50, 50, 50, 0.73)"},Secondary:{normal:"#1F1F1F",hover:"rgba(42, 42, 42, 1)",active:"rgba(53, 53, 53, 1)"},Secondary90:{normal:"rgba(31, 31, 31, 0.9)",hover:"rgba(43, 43, 43, 0.905)",active:"rgba(56, 56, 56, 0.91)"},Tertiary:{normal:"#292929",hover:"rgba(52, 52, 52, 1)",active:"rgba(62, 62, 62, 1)"},Tertiary90:{normal:"rgba(41, 41, 41, 0.9)",hover:"rgba(53, 53, 53, 0.905)",active:"rgba(65, 65, 65, 0.91)"},GroundPC:{normal:"#161717",hover:"rgba(34, 35, 35, 1)",active:"rgba(45, 46, 46, 1)"},Quaternary:{normal:"#4D4D4D",hover:"rgba(86, 86, 86, 1)",active:"rgba(95, 95, 95, 1)"}},BgGp:{Primary:{normal:"#121212",hover:"rgba(30, 30, 30, 1)",active:"rgba(42, 42, 42, 1)"},Primary90:{normal:"rgba(18, 18, 18, 0.9)",hover:"rgba(31, 31, 31, 0.905)",active:"rgba(44, 44, 44, 0.91)"},Secondary:{normal:"#1F1F1F",hover:"rgba(42, 42, 42, 1)",active:"rgba(53, 53, 53, 1)"},Secondary90:{normal:"rgba(31, 31, 31, 0.9)",hover:"rgba(43, 43, 43, 0.905)",active:"rgba(56, 56, 56, 0.91)"},Tertiary:{normal:"#292929",hover:"rgba(52, 52, 52, 1)",active:"rgba(62, 62, 62, 1)"}},Labels:{Primary:{normal:"rgba(255, 255, 255, 0.84)",hover:"rgba(255, 255, 255, 0.848)",active:"rgba(255, 255, 255, 0.856)"},Secondary:{normal:"rgba(255, 255, 255, 0.56)",hover:"rgba(255, 255, 255, 0.5820000000000001)",active:"rgba(255, 255, 255, 0.6040000000000001)"},Tertiary:{normal:"rgba(255, 255, 255, 0.42)",hover:"rgba(255, 255, 255, 0.44899999999999995)",active:"rgba(255, 255, 255, 0.47799999999999987)"},Quaternary:{normal:"rgba(255, 255, 255, 0.26)",hover:"rgba(255, 255, 255, 0.29700000000000004)",active:"rgba(255, 255, 255, 0.33399999999999996)"}},Fills:{F1:{normal:"rgba(255, 255, 255, 0.05)",hover:"rgba(255, 255, 255, 0.09750000000000003)",active:"rgba(255, 255, 255, 0.14500000000000002)"},F2:{normal:"rgba(255, 255, 255, 0.1)",hover:"rgba(255, 255, 255, 0.14500000000000002)",active:"rgba(255, 255, 255, 0.18999999999999995)"},F3:{normal:"rgba(255, 255, 255, 0.18)",hover:"rgba(255, 255, 255, 0.22099999999999997)",active:"rgba(255, 255, 255, 0.2619999999999999)"},F4:{normal:"rgba(255, 255, 255, 0.25)",hover:"rgba(255, 255, 255, 0.2875000000000001)",active:"rgba(255, 255, 255, 0.32499999999999996)"}},Separators:{S1:{normal:"rgba(255, 255, 255, 0.12)",hover:"rgba(255, 255, 255, 0.16400000000000003)",active:"rgba(255, 255, 255, 0.20799999999999996)"}},MaskBg:{Light:{normal:"rgba(0, 0, 0, 0.3)",hover:"rgba(38, 38, 38, 0.3350000000000001)",active:"rgba(69, 69, 69, 0.37)"},Base:{normal:"rgba(0, 0, 0, 0.6)",hover:"rgba(21, 21, 21, 0.62)",active:"rgba(40, 40, 40, 0.6399999999999999)"},Dark:{normal:"rgba(0, 0, 0, 0.6)",hover:"rgba(21, 21, 21, 0.62)",active:"rgba(40, 40, 40, 0.6399999999999999)"},Gray:{normal:"rgba(48, 48, 48, 0.9)",hover:"rgba(59, 59, 59, 0.905)",active:"rgba(71, 71, 71, 0.91)"},ToastIOS:{normal:"rgba(89, 89, 89, 0.9)",hover:"rgba(98, 98, 98, 0.905)",active:"rgba(107, 107, 107, 0.91)"},ToastAndroid:{normal:"#595959",hover:"rgba(97, 97, 97, 1)",active:"rgba(106, 106, 106, 1)"},ToastPC:{normal:"#404040",hover:"rgba(74, 74, 74, 1)",active:"rgba(83, 83, 83, 1)"}},Always:{White:{normal:"#FFFFFF",hover:"rgba(255, 255, 255, 1)",active:"rgba(255, 255, 255, 1)"},WhiteSecondary:{normal:"rgba(255, 255, 255, 0.84)",hover:"rgba(255, 255, 255, 0.848)",active:"rgba(255, 255, 255, 0.856)"},WhiteTertiary:{normal:"rgba(255, 255, 255, 0.56)",hover:"rgba(255, 255, 255, 0.5820000000000001)",active:"rgba(255, 255, 255, 0.6040000000000001)"},WhiteQuaternary:{normal:"rgba(255, 255, 255, 0.42)",hover:"rgba(255, 255, 255, 0.44899999999999995)",active:"rgba(255, 255, 255, 0.47799999999999987)"},Black:{normal:"#000000",hover:"rgba(13, 13, 13, 1)",active:"rgba(26, 26, 26, 1)"},TransparencyDarkFill:{normal:"rgba(0, 0, 0, 0.6)",hover:"rgba(21, 21, 21, 0.62)",active:"rgba(40, 40, 40, 0.6399999999999999)"},TransparencyTagFill:{normal:"rgba(69, 69, 69, 0.7)",hover:"rgba(82, 82, 82, 0.715)",active:"rgba(94, 94, 94, 0.73)"},TransparencyWhite15:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.1925)",active:"rgba(255, 255, 255, 0.235)"}},Others:{LightBlueBg:{normal:"#1E2A38",hover:"rgba(41, 53, 66, 1)",active:"rgba(53, 63, 76, 1)"},BubbleBlue:{normal:"#292929",hover:"rgba(52, 52, 52, 1)",active:"rgba(62, 62, 62, 1)"},BubbleGray_PC:{normal:"#292929",hover:"rgba(52, 52, 52, 1)",active:"rgba(62, 62, 62, 1)"},LightRedBg:{normal:"rgba(255, 82, 82, 0.1)",hover:"rgba(255, 142, 142, 0.14500000000000002)",active:"rgba(255, 173, 173, 0.18999999999999995)"},LightOrangeBg:{normal:"rgba(255, 159, 10, 0.1)",hover:"rgba(255, 192, 94, 0.14500000000000002)",active:"rgba(255, 210, 139, 0.18999999999999995)"},LightGreenBg:{normal:"rgba(22, 196, 86, 0.1)",hover:"rgba(102, 216, 144, 0.14500000000000002)",active:"rgba(145, 227, 175, 0.18999999999999995)"},LightYellowBg:{normal:"rgba(255, 210, 48, 0.2)",hover:"rgba(255, 219, 91, 0.24)",active:"rgba(255, 226, 122, 0.2799999999999999)"},KMBlueDisabled:{normal:"rgba(26, 136, 255, 0.4)",hover:"rgba(53, 150, 255, 0.43000000000000005)",active:"rgba(76, 162, 255, 0.45999999999999996)"},KMBlue10:{normal:"rgba(26, 136, 255, 0.1)",hover:"rgba(105, 177, 255, 0.14500000000000002)",active:"rgba(147, 199, 255, 0.18999999999999995)"},TextSelected:{normal:"rgba(26, 136, 255, 0.2)",hover:"rgba(74, 161, 255, 0.24)",active:"rgba(108, 179, 255, 0.2799999999999999)"},WhiteOnDarkDisabled:{normal:"rgba(255, 255, 255, 0.4)",hover:"rgba(255, 255, 255, 0.43000000000000005)",active:"rgba(255, 255, 255, 0.45999999999999996)"},SubLayerBg:{normal:"rgba(255, 255, 255, 0.06)",hover:"rgba(255, 255, 255, 0.1070000000000001)",active:"rgba(255, 255, 255, 0.15400000000000003)"}},Syntax:{Keyword:{normal:"#D55FDE",hover:"rgba(215, 103, 224, 1)",active:"rgba(217, 111, 225, 1)"},String:{normal:"#89CA78",hover:"rgba(143, 205, 127, 1)",active:"rgba(149, 207, 134, 1)"},Literal:{normal:"#D19A66",hover:"rgba(211, 159, 110, 1)",active:"rgba(214, 164, 117, 1)"},Comment:{normal:"#5C6370",hover:"rgba(100, 107, 119, 1)",active:"rgba(108, 115, 126, 1)"},Metadata:{normal:"#E5C07B",hover:"rgba(230, 195, 130, 1)",active:"rgba(232, 198, 136, 1)"},MultilineComment:{normal:"#5C6370",hover:"rgba(100, 107, 119, 1)",active:"rgba(108, 115, 126, 1)"},Punctuation:{normal:"#EF596F",hover:"rgba(240, 97, 118, 1)",active:"rgba(241, 106, 125, 1)"},Mark:{normal:"#2BBAC5",hover:"rgba(54, 189, 200, 1)",active:"rgba(64, 193, 203, 1)"}}},zt={ui:{T1:{fontSize:"18px",lineHeight:"26px"},T2:{fontSize:"16px",lineHeight:"24px"},T2_Emphasized:{fontSize:"16px",lineHeight:"24px"},B1:{fontSize:"15px",lineHeight:"22px"},B1_Emphasized:{fontSize:"15px",lineHeight:"22px"},B2:{fontSize:"14px",lineHeight:"20px"},B2_Emphasized:{fontSize:"14px",lineHeight:"20px"},C1:{fontSize:"12px",lineHeight:"18px"},C1_Emphasized:{fontSize:"12px",lineHeight:"18px"},C2:{fontSize:"10px",lineHeight:"14px"},C2_Emphasized:{fontSize:"10px",lineHeight:"14px"}},markdown:{H1_Content:{fontSize:"20px",lineHeight:"32px"},H2_Content:{fontSize:"18px",lineHeight:"28px"},B1_Content:{fontSize:"16px",lineHeight:"26px"},B1_Content_Emphasized:{fontSize:"16px",lineHeight:"26px"},B1_List_Content:{fontSize:"16px",lineHeight:"26px"},B1_List_Content_Emphasized:{fontSize:"16px",lineHeight:"26px"},B2_Content:{fontSize:"15px",lineHeight:"24px"},B2_Content_Emphasized:{fontSize:"15px",lineHeight:"24px"},B3_Content:{fontSize:"14px",lineHeight:"22px"},B3_Content_Emphasized:{fontSize:"14px",lineHeight:"22px"},Codeblocks:{fontSize:"14px",lineHeight:"22px"},InlineCode:{fontSize:"16px",lineHeight:"26px"}}},$t=Symbol("themeInjectKey"),Ut=s("system"),Vt=s("light"),[Gt,qt]=T(()=>({queue:y([]),preconditions:[],isShowingDialog:y(!1)})),e("b",(e={})=>{const t=qt();if(!t)throw new Error("useShowModal must be used within a ModalQueueProvider");const{queue:r,preconditions:o,isShowingDialog:a}=t,{mount:i,unmount:s}=function(e=!1){const t=v();if(!t)throw new Error("useShowModal must be called within a setup function");const r=t.root.appContext,o=t.provides,a=_({name:"DynamicHolder",props:{component:{type:[Object,Function],required:!0},props:{type:Object,required:!0}},setup(e){const t=v();return t.appContext=r,t.root.appContext=r,t.provides=o,()=>n(e.component,{...e.props,onClose:e.props.onClose})}});let i=null;const s=()=>{i&&(m(null,i),i.remove(),i=null)};return e||E(()=>{s()}),{mount:(e,n)=>{i||(i=document.createElement("div"),document.body.appendChild(i));const r=S(a,{component:e,props:n});r.appContext=t.appContext,m(r,i)},unmount:s}}(e.withoutDynamicMount??!1),l=()=>{if(a.value)return;const e=r.value[0];e&&(a.value=!0,e.fn(e))};return{showModal:e=>new Promise(t=>{const n=e.priority??0;let c=!1;const u=n=>{i("function"==typeof e.component?x({loader:e.component}):e.component,{...e.props,onClose:o=>{c||(c=!0,a.value=!1,t(o),s(),e.immediate||((e=>{const t=r.value.indexOf(e);t>=0&&r.value.splice(t,1)})(n),l()))}})},d={fn:u,priority:n};e.immediate?u(d):(function(e,t){let n=t.length;for(;n>0&&t[n-1].priority{l()}))}),closeModal:s,setPrecondition:e=>{o.push(e)},queue:r}}),Wt={bdAll:'\n\n\n\n\n\n\n\n\n\n',bdBottom:'\n\n\n\n',bdDef:'\n\n\n',bdH:'\n\n\n\n\n\n\n\n\n\n',bdLeft:'\n\n\n\n',bdNone:'\n\n\n\n\n\n',bdRight:'\n\n\n\n',bdTop:'\n\n\n\n',bdV:'\n\n\n\n\n\n\n',chartLegend:'\n\n\n\n\n\n',chartValue:'\n\n\n\n\n\n\n',colAdd:'\n\n\n\n\n',colDel:'\n\n\n\n',fitContain:'\n\n\n\n',fitCover:'\n\n\n\n\n\n\n\n\n',fitFill:'\n\n\n\n\n\n\n',merge:'\n\n\n\n\n\n\n\n',presenterMode:'\n \n \n \n \n\n',rowAdd:'\n\n\n\n\n',rowDel:'\n \n \n\n',split:'\n \n \n \n \n \n \n\n',spark:'\n \n \n \n \n\n'},I(ae),Kt=new Set(Object.keys(ae.icons)),Object.keys(Wt).filter(e=>!Kt.has(e)),Jt=["innerHTML"],Zt=_({inheritAttrs:!1,__name:"index",props:{name:{},size:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean}},setup(e){const t=e,n=P(),r=c(()=>Zc(t.name)),o=e=>{if(null!=e)return"string"==typeof e||"number"==typeof e?e:void 0},a=e=>{if(null!=e){if("number"==typeof e)return`${e}px`;if("string"==typeof e)return/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}},i=c(()=>{const{name:e,size:r,...a}=t,i=o(r??n.size);return null==i?a:{...a,width:a.width??o(n.width)??i,height:a.height??o(n.height)??i}}),s=c(()=>{const{size:e,...t}=n;return{...t,...i.value}}),l=c(()=>{const{style:e,width:t,height:r,color:o,size:a,...i}=n;return i}),u=c(()=>{return{width:a(t.width??n.width??t.size??n.size??t.height??n.height)??"1em",height:a(t.height??n.height??t.size??n.size??t.width??n.width)??"1em",color:t.color??(e=n.color,"string"==typeof e?e:void 0)};var e});return(e,o)=>r.value?(M(),d("span",G({key:0},l.value,{class:"kimi-icon-svg",style:[R(n).style,u.value],innerHTML:r.value}),null,16,Jt)):(M(),k(R(V),G({key:1},s.value,{icon:t.name}),null,16,["icon"]))}}),e("v",Xt=oe(Zt,[["__scopeId","data-v-177f9c47"]])),Yt=_({__name:"IconWithBackground",props:{name:{},size:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean},backgroundColor:{}},setup(e){const t=e,n=c(()=>(e=>{if(null!=e){if("number"==typeof e)return`${e}px`;if("string"==typeof e)return/^\d+(\.\d+)?$/.test(e)?`${e}px`:e}})(t.width??t.size??t.height)??"20px");return(e,r)=>(M(),d("span",{class:"icon-with-background",style:g({"--icon-background":t.backgroundColor??"#fff","--icon-size":n.value})},[S(Xt,G({class:"icon-svg"},t),null,16)],4))}}),e("_",oe(Yt,[["__scopeId","data-v-1b5f1a16"]])),Qt={class:"message-content"},en=_({__name:"Message",props:{type:{},content:{type:[String,Object,Number,Boolean,null,Array]},closable:{type:Boolean},placement:{}},emits:["mouseenter","mouseleave","close"],setup(e,{emit:t}){const n=e,a=t,i=c(()=>W(n.content));return(t,n)=>(M(),d("div",{class:r(["message-container",`message-container-${e.placement}`]),onMouseenter:n[1]||(n[1]=e=>a("mouseenter")),onMouseleave:n[2]||(n[2]=e=>a("mouseleave"))},["success"===e.type?(M(),k(R(Xt),{key:0,name:"Check_f",class:r(["message-icon",e.type])},null,8,["class"])):"loading"===e.type?(M(),d("div",{key:1,class:r(["message-icon",e.type])},null,2)):"error"===e.type?(M(),k(R(Xt),{key:2,name:"Close_f",class:r(["message-icon",e.type])},null,8,["class"])):l("",!0),w("div",Qt,[i.value?(M(),k(H(e.content),{key:0})):(M(),d(o,{key:1},[u(p(e.content),1)],64))]),e.closable?(M(),d("button",{key:3,class:"message-close",type:"button",onClick:n[0]||(n[0]=e=>a("close"))},"关闭")):l("",!0)],34))}}),tn=oe(en,[["__scopeId","data-v-62d950aa"]]),nn=_({__name:"MessageProvider",props:{placement:{default:"top"},max:{default:10},duration:{default:3e3},closable:{type:Boolean,default:!1},keepAliveOnHover:{type:Boolean,default:!0}},setup(e){const t=e,n=y({}),a=y([]),i=s({placement:"top",max:10,duration:3e3,closable:!1,keepAliveOnHover:!0});Z(()=>t,e=>{i.value={...i.value,...e}},{deep:!0});const l=e=>{const t=n.value[e];t?.timer&&(clearTimeout(t.timer),t.timer=void 0)},c=e=>{l(e),a.value=a.value.filter(t=>t!==e),n.value[e]?.onClose?.(),n.value=Object.fromEntries(Object.entries(n.value).filter(([t])=>t!==e))},u=e=>{const t=n.value[e];!t||t.duration<=0||(t.timer=setTimeout(()=>{c(e)},t.duration))},g=(e,t,r)=>{const o=`${Date.now()}-${Math.random().toString(36).slice(2)}`,s={key:o,content:e,type:t,duration:r?.duration??i.value.duration,closable:r?.closable??i.value.closable,keepAliveOnHover:r?.keepAliveOnHover??i.value.keepAliveOnHover,onClose:r?.onClose};if(i.value.max&&a.value.length>=i.value.max){const e=a.value.shift();n.value=Object.fromEntries(Object.entries(n.value).filter(([t])=>t!==e))}return a.value.push(o),n.value[o]=s,r?.noAutoClose||"loading"===s.type||u(o),s};return v()?.root.appContext.app.provide("messageApi",{create:(e,t)=>g(e,"default",t),info:(e,t)=>g(e,"info",t),success:(e,t)=>g(e,"success",t),warning:(e,t)=>g(e,"warning",t),error:(e,t)=>g(e,"error",t),loading:(e,t)=>g(e,"loading",t),close:e=>{c(e.key)},destroyAll:()=>{for(const e of a.value)l(e),n.value[e]?.onClose?.();a.value=[],n.value={}}}),(t,a)=>(M(),d(o,null,[A(t.$slots,"default",{},void 0,!0),(M(),k(C,{to:"body"},[w("div",{class:r(["message-list-container",[e.placement]])},[S(f,{name:"message-fade",appear:"",class:"message-list",tag:"div"},{default:B(()=>[(M(!0),d(o,null,J(n.value,t=>(M(),k(tn,{key:t.key,type:t.type,content:t.content,closable:t.closable,placement:e.placement,onMouseenter:e=>{return r=t.key,void(n.value[r]?.keepAliveOnHover&&l(r));var r},onMouseleave:e=>(e=>{const t=n.value[e];t?.keepAliveOnHover&&t.duration>0&&u(e)})(t.key),onClose:e=>c(t.key)},null,8,["type","content","closable","placement","onMouseenter","onMouseleave","onClose"]))),128))]),_:1})],2)]))],64))}}),rn=oe(nn,[["__scopeId","data-v-13db0a2e"]]),on=_({__name:"App",setup(e){const t=function(){Z(()=>Ut.value,e=>{Jc(e)}),$(()=>{try{const e=localStorage.getItem("CUSTOM_THEME");if(e){const t=JSON.parse(e);"dark"!==t&&"light"!==t&&"system"!==t||(Ut.value=t)}}catch{}/.*Kimi\/\d.*/.test(navigator.userAgent)&&window.INJECT_ENV?.theme&&(Ut.value="dark"===window.INJECT_ENV.theme?"dark":"light"),Jc(Ut.value),U(window.matchMedia("(prefers-color-scheme: dark)"),"change",()=>{"system"===Ut.value&&Jc(Ut.value)})});const e={themeSetting:Ut,currentTheme:Vt,themeVariables:c(()=>"dark"===Vt.value?Ht:jt),fontOptions:zt};return j($t,e),e}(),n=N(),r=()=>{Jc(n.meta.theme??t.themeSetting.value)};return Z(()=>[n.meta.theme,t.themeSetting.value,t.currentTheme.value],r,{immediate:!0}),$(r),Gt(),Kc(),(e,t)=>{const n=F("router-view");return M(),k(rn,null,{default:B(()=>[S(Dt),S(n)]),_:1})}}}),an={class:"menu-content"},sn=["data-menu-id","onClick"],ln={class:"text"},cn={key:0,class:"sub-text"},un=oe(_({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup:e=>(t,n)=>{const a=F("menu-content",!0);return M(),d("ul",an,[(M(!0),d(o,null,J(e.menus,(t,n)=>(M(),d(o,{key:t.text||n},[t.hide?l("",!0):(M(),d("li",{key:0,"data-menu-id":t.id,"data-testid":"context-menu-item",class:r(["menu-item",{divider:t.divider,disable:t.disable}]),onClick:Y(n=>e.handleClickMenuItem(t),["stop"])},[t.divider?l("",!0):(M(),d("div",{key:0,class:r(["menu-item-content",{"has-children":t.children,"has-handler":t.handler}])},[w("span",ln,p(t.text),1),t.subText&&!t.children?(M(),d("span",cn,p(t.subText),1)):l("",!0),t.children&&t.children.length?(M(),k(a,{key:1,class:"sub-menu",menus:t.children,handleClickMenuItem:e.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):l("",!0)],2))],10,sn))],64))),128))])}}),[["__scopeId","data-v-dab6a2ce"]]),dn=oe(_({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=c(()=>{const{x:e,y:n}=t.axis,r=40*t.menus.filter(e=>!(e.divider||e.hide)).length+11*t.menus.filter(e=>e.divider).length+10,o=document.body.clientWidth,a=document.body.clientHeight;return{left:o<=e+180?e-180:e,top:a<=n+r?n-r:n,...a<=n+r&&{transform:"translateY(-100%)"}}}),r=e=>{e.disable||e.children&&!e.handler||(e.handler&&e.handler(t.el),t.removeContextmenu())};return(t,a)=>(M(),d(o,null,[w("div",{class:"mask",onContextmenu:a[0]||(a[0]=Y(t=>e.removeContextmenu(),["prevent"])),onMousedown:a[1]||(a[1]=Y(t=>e.removeContextmenu(),["left"]))},null,32),w("div",{class:"contextmenu",style:g({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:a[2]||(a[2]=Y(()=>{},["prevent"]))},[S(un,{menus:e.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),[["__scopeId","data-v-1967551f"]]),fn="CTX_CONTEXTMENU_HANDLER",gn=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r||!r.length)return;let o=null;const a=()=>{o&&(document.body.removeChild(o),o=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",a),window.removeEventListener("resize",a)},i={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:a};o=document.createElement("div"),m(S(dn,i,null),o),document.body.appendChild(o),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",a),window.addEventListener("resize",a)},hn={mounted(e,t){e[fn]=n=>gn(e,n,t),e.addEventListener("contextmenu",e[fn])},unmounted(e){e&&e[fn]&&(e.removeEventListener("contextmenu",e[fn]),delete e[fn])}},pn=3,mn={writeUnknownFields:!0},vn=3,bn=2,yn={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1},wn={ignoreUnknownFields:!1},Cn=new WeakMap,kn=Symbol(),function(e){e[e.Canceled=1]="Canceled",e[e.Unknown=2]="Unknown",e[e.InvalidArgument=3]="InvalidArgument",e[e.DeadlineExceeded=4]="DeadlineExceeded",e[e.NotFound=5]="NotFound",e[e.AlreadyExists=6]="AlreadyExists",e[e.PermissionDenied=7]="PermissionDenied",e[e.ResourceExhausted=8]="ResourceExhausted",e[e.FailedPrecondition=9]="FailedPrecondition",e[e.Aborted=10]="Aborted",e[e.OutOfRange=11]="OutOfRange",e[e.Unimplemented=12]="Unimplemented",e[e.Internal=13]="Internal",e[e.Unavailable=14]="Unavailable",e[e.DataLoss=15]="DataLoss",e[e.Unauthenticated=16]="Unauthenticated"}(xn||(xn={})),_n=class e extends Error{constructor(e,t=xn.Unknown,n,r,o){super(function(e,t){return e.length?`[${Pu(t)}] ${e}`:`[${Pu(t)}]`}(e,t)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=e,this.code=t,this.metadata=new Headers(null!=n?n:{}),this.details=null!=r?r:[],this.cause=o}static from(t,n=xn.Unknown){return t instanceof e?t:t instanceof Error?"AbortError"==t.name||"TimeoutError"==t.name?new e(t.message,xn.Canceled):new e(t.message,n,void 0,void 0,t):new e(String(t),n,void 0,void 0,t)}static[Symbol.hasInstance](t){return t instanceof Error&&(Object.getPrototypeOf(t)===e.prototype||"ConnectError"===t.name&&"code"in t&&"number"==typeof t.code&&"metadata"in t&&"details"in t&&Array.isArray(t.details)&&"rawMessage"in t&&"string"==typeof t.rawMessage&&"cause"in t)}findDetails(e){const t="message"===e.kind?{getMessage:t=>t===e.typeName?e:void 0}:e,n=[];for(const o of this.details){if("desc"in o){t.getMessage(o.desc.typeName)&&n.push(xe(o.desc,o.value));continue}const e=t.getMessage(o.type);if(e)try{n.push(_e(e,o.value))}catch(r){}}return n}},En=class{constructor(e){this.readMaxBytes=e,this.header=new Uint8Array(5),this.headerView=new DataView(this.header.buffer),this.buf=[]}get byteLength(){return this.buf.reduce((e,t)=>e+t.byteLength,0)}decode(e){this.buf.push(e);const t=[];for(;;){let e=this.pop();if(!e)break;t.push(e)}return t}pop(){if((this.env||(this.env=this.head(),this.env))&&this.cons(this.env.data)){const e=this.env;return this.env=void 0,e}}head(){if(!this.cons(this.header))return;const e=this.headerView.getUint8(0),t=this.headerView.getUint32(1);return function(e,t,n=!1){if(t>e){let r=`message size is larger than configured readMaxBytes ${e}`;throw n&&(r=`message size ${t} is larger than configured readMaxBytes ${e}`),new _n(r,xn.ResourceExhausted)}}(this.readMaxBytes,t,!0),{flags:e,data:new Uint8Array(t)}}cons(e){const t=e.byteLength;if(this.byteLengtht-n?(e.set(r.subarray(0,t-n),n),this.buf.unshift(r.subarray(t-n)),n+=t-n):(e.set(r,n),n+=r.byteLength)}return!0}},Tn=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,o,(t=e[n](t)).done,t.value)})}}},Bn=function(e){return this instanceof Bn?(this.v=e,this):new Bn(e)},Ln=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),a=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=o[e](t)).value instanceof Bn?Promise.resolve(n.value.v).then(l,c):u(a[0][2],n)}catch(ce){u(a[0][3],ce)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}},Mn=function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:Bn(e[r](t)),done:!1}:o?o(t):t}:o}},An=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,o,(t=e[n](t)).done,t.value)})}}},On=function(e){return this instanceof On?(this.v=e,this):new On(e)},Fn=function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:On(e[r](t)),done:!1}:o?o(t):t}:o}},Pn=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),a=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=o[e](t)).value instanceof On?Promise.resolve(n.value.v).then(l,c):u(a[0][2],n)}catch(ce){u(a[0][3],ce)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}},In=/^application\/(connect\+)?(?:(json)(?:; ?charset=utf-?8)?|(proto))$/i,Nn="application/proto",Rn="application/json",Dn="application/connect+proto",jn="application/connect+json",Hn="Content-Type",zn="Content-Length",$n="Content-Encoding",Un="Accept-Encoding",Vn="Connect-Timeout-Ms",Gn="Connect-Protocol-Version",qn="User-Agent",Wn="application/",Kn=function(e){return this instanceof Kn?(this.v=e,this):new Kn(e)},Jn=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),a=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=o[e](t)).value instanceof Kn?Promise.resolve(n.value.v).then(l,c):u(a[0][2],n)}catch(ce){u(a[0][3],ce)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}},Zn={redirect:"error"},Xn={},Yn="kimiBridge is not ready","undefined"!=typeof window&&(window.__kimiBridgeCallback=e=>{const{messageId:t,webViewId:n}=e;if(n!==window.webViewId)return;const r=Xn[t];return r?"once"===r.type?(e.error?r.reject(e.error):r.resolve(e.data),void(Xn[t]=void 0)):void r.callbackList.forEach(t=>{t(e.data)}):void 0}),e("m",Qn=()=>!(!window.webViewId||!window.webkit&&!window.KimiBridge)),er="refresh_token",tr="access_token",nr={cn:{remoteFmUrl:"https://static.trustdecision.com/tdfp/cn/1adb3bba719793fb6874417a286e900d/fm.js",localFmUrl:"https://td-static.kimi.link/cn-fm.js",localNormalUrl:"https://td-static.kimi.link/cn-normal.js"},sg:{remoteFmUrl:"https://static.trustdecision.com/tdfp/sg/51193b5b2cf8d41581289fba7ba3cce3/fm.js",localFmUrl:"https://td-static.kimi.link/sg-fm.js",localNormalUrl:"https://td-static.kimi.link/sg-normal.js"}},ar=Symbol("connectService"),ir=(e,t)=>{const n=new Map,r=td({baseUrl:"/apiv2",jsonOptions:{useProtoFieldName:!0},interceptors:[e=>async n=>{const r={...await cd(),"X-Language":t()};return Object.entries(r).forEach(([e,t])=>{null!=t&&n.header.set(e,String(t))}),e(n)}]});e.provide(ar,{serviceMap:n,transport:r})},e("l",e=>{const{serviceMap:t,transport:n}=O(ar);if(t.has(e))return t.get(e);const r=Nu(e,n);return t.set(e,r),r}),sr="https://lf3-data.volccdn.com/obj/data-static/log-sdk/collect/5.0/collect-rangers-v5.1.12.js",lr=()=>"zh-cn",dr={},fr=new Map,"undefined"==typeof Element||Element.prototype.addEventListener||(le=[],ue=function(e,t){for(var n=0;n",ho=function(e,t,n,r){return void 0===r&&(r=!1),e.addEventListener(t,n,r),function(){e.removeEventListener(t,n,r)}},po=function(e,t,n,r){return void 0===r&&(r=!1),e.addEventListener(t,n,r),function(){e.removeEventListener(t,n,r)}},mo=function(e){var t=!1;return[function(n){t||(t=!0,e&&e(n))}]},vo=function(e){var t,n=Fd();n&&(t=hd(mo(e),1)[0],["unload","beforeunload","pagehide"].forEach(function(e){ho(n,e,t,!1)}))},bo=function(e){var t,n=Pd(),r=Fd();n&&r&&(t=vr,t=po(n,"visibilitychange",function(){"visible"===n.visibilityState&&(e(),t())},!0))},yo=function(e,t){return vd(e)?gr(gr({},t),e):!!e&&t},wo=function(){return!!btoa&&!!atob},Co=function(e){try{var t=localStorage.getItem(e),n=t,r=n=t&&"string"==typeof t?JSON.parse(function(e){return wo()?decodeURI(atob(e)):e}(t)):n,o=r.expires,a=function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r=Zr()?a:void 0}catch(e){return}},ko=function(e,t,n){if(!(n<=0))try{localStorage.setItem(e,function(e){return wo()?btoa(encodeURI(e)):e}(JSON.stringify(gr(gr({},t),{expires:Zr()+n}))))}catch(e){}},xo=function(e){return!1===e?0:!0!==e&&void 0!==e&&Cd(e)?e:7776e6},So=function(e){var t;if("object"==typeof window&&window.__perfsee__){var n={};return null!==(t=Error.captureStackTrace)&&void 0!==t&&t.call(Error,n,e),n.stack}},_o="xhr_0",Eo=function(){var e=new RegExp("\\/monitor_web\\/collect|\\/monitor_browser\\/collect\\/batch","i");return function(t){return e.test(t)}},To=function(e){return function(){for(var t,n=[],r=0;re?n(pd(pd([],hd(r),!1),[o],!1),e):pd(pd([],hd(r),!1),[o],!1))}]},Sa=function(e,t,n){var r=(l=hd(t,2))[0],o=l[1],a=n.maxBreadcrumbs,i=n.onAddBreadcrumb,s=n.onMaxBreadcrumbs,l=(t=n.dom,n=(l=hd(ka(100),2))[0],l[1]);return s=(i=hd(xa(a,i,s),2))[0],i=i[1],t&&(t=wa(i),e.push(r[0](n(ha,Ca(t,"dom")))),e.push(o[0](l(Ca(t,"dom"))))),[s,i]},_a="breadcrumb",Ea={maxBreadcrumbs:20,dom:!0},Ta=function(e,t,n){var r=hd(t,2),o=(t=r[0],r[1]),a=n.setTraceHeader,i=n.ignoreUrls,s=n.setContextAtReq,l=n.extractUrl,c=window.Headers,u=window.Request;u&&c&&e.push(t[0](function(e){var t,r=(e=hd(e,2))[0],d=e[1],f=$d(r instanceof u?r.url:r);if(!Ba(f)||Sr(i,f))return vr;a&&a(f,function(e,t){return Ma(e,t,r,d,u,c)});var g=s(),h=Zr(),p=void 0,m=o()[0](function(e){(f===e.name||t&&t===e.name)&&!p&&(p=e)});return function(e){t=e&&e.url;var o=Pa(r,d,e,u,c,n,h),a=la(function(e){p&&(e.response.timing=p),ca(e,l),g&&g({ev_type:Wo,payload:e}),m()});setTimeout(function(){a(o)},1e3)}}))},Ba=function(e){if(!kd(e))return!1;var t=hd(e.split(":"),2);return e=t[0],!t[1]||"http"===e||"https"===e},La=function(e,t){return e instanceof t},Ma=function(e,t,n,r,o,a){La(n,o)?n.headers.set(e,t):r.headers instanceof a?r.headers.set(e,t):r.headers=gr(gr({},r.headers),((r={})[e]=t,r))},Aa=function(e,t,n){return t=t&&t.method||"get",(t=La(e,n)&&e.method||t).toLowerCase()},Oa=function(e){for(var t=[],n=1;nt.frustrating_threshold?2:r>t.satisfying_threshold||0===n?0:1},Fi=function(){var e=0,t=void 0;return[function(n){n?t&&(e+=Zr()-t,t=void 0):t=Zr()},function(){t&&(e+=Zr()-t);var n=e;return e=0,t=Zr(),n}]},Pi=function(e,t){return function(n,r){var o=n.payload;switch(n.ev_type){case Xo:var a=o.name;o.isSupport&&e(r[Mi],a,o.value);break;case ta:e(r[Mi],"action",o.duration||0);break;case qo:t(r[Bi],0);break;case Wo:o.response.is_custom_error||400<=o.response.status?t(r[Bi],1):(a=o.response.timing)&&e(r[Li],0,a.duration);break;case Ko:t(r[Bi],2);break;case ea:t(r[Bi],3);break;case Jo:e(r[Li],1,o.duration);break;case Qo:o.longtasks.forEach(function(t){e(r[Li],2,t.duration)})}}},Ii=function(){function e(){t=[0,0,0],n=Ai()}var t,n;return e(),[function(e,r,o){var a=e&&e[r];!a||o<=0||(e=o<(a[0].threshold||0)?0:o>(a[1].threshold||0)?2:1,t[e]+=a[e].weight,"string"==typeof r?(o=ki(r,e),a=n[Mi][o],n[Mi][o]=(a||0)+1):2==e&&(n.duration_count[r]+=1))},function(e,r){e&&(t[2]+=e[r],n.error_count[r]+=1)},function(){return[t,n]},e]},Ni=function(){var e={start:Zr(),end:0,time_spent:0,is_bounced:!1,entry:"",exit:"",p_count:0,a_count:0};return[function(t,n){var r=(o=hd(t,3))[0],o=(t=o[1],o[2]);e.end=Zr(),e.time_spent+=n&&n.time_spent||0,e.last_page=n,e.p_count+=1,e.rank=r,e.apdex=t,e.apdex_detail=o,(o=Pd())&&(e.is_bounced=!si(o))},function(t,n){e.time_spent+=t.time_spent,e.p_count+=1,e.exit=n},function(){e.a_count+=1},function(t){e.entry=t,e.exit=t},function(){return e}]},Ri=function(e,t,n,r){var o,a,i,s=r.sendInit,l=r.initPid,c=r.routeMode,u=r.extractPid,d=(r=r.onPidUpdate,Ti(c)?function(){return""}:wi(c)),f=u||function(){},g=(r=hd(xi(Ei(e),l||(o=location.href,null!==(a=f(o))&&void 0!==a?a:d(o)),d(location.href),r),2))[0];return r=r[1],Ti(c)||(i=hd(Si(function(e,t){return g(e,d(t),f(t))},""),1)[0],n.length&&n.forEach(function(e){return t.push(e[0](function(e){return i(c,e)}))})),s&&r(),[g.bind(null,"user_set")]},Di=function(e,t,n,r){var o=(p=hd(n,2))[0],a=p[1],i=2===r.apdex,s=void 0,l=void 0,c=void 0,u=!1,d=(x=hd(Ii(),4))[0],f=x[1],g=x[2],h=x[3],p=(n=hd(Ii(),4))[0],m=(r=n[1],n[2]),v=n[3],b=(x=hd(Ni(),5))[0],y=x[1],w=x[2],C=x[3],k=x[4],x=(n=hd(Fi(),2))[0],S=n[1];t.push(o[0](x)),i||t.push(a[0](function(){var t,n,r;u&&(t=(r=hd(m(),2))[0],n=r[1],r=Oi(t,c),b([r,t,n],T()),e({ev_type:Go,payload:k()}),v())}));var _=Pi(d,f),E=Pi(p,r),T=function(){var e=(t=hd(g(),2))[0],t=t[1];return{start:s[0],pid:s[1],view_id:s[2],end:Zr(),time_spent:S(),apdex:e,rank:Oi(e,c),detail:t}};return t.push(function(){u=!1}),[function(e,t){if(!s)return s=[Zr(),e,t],C(e),void(u=!(!c||!s));u&&(l=T(),y(l,e)),s=[Zr(),e,t],h()},function(e){u&&(i||(E(e,c),e.ev_type===ta&&w()),e.common.pid===s[1]&&_(e,c))},function(t){u&&(t.payload.last=l),e(t)},function(e){if(!e)return t.forEach(function(e){return e()}),void(t.length=0);u=!(!(c=e)||!s)}]},Hi={sendInit:!0,routeMode:"history",apdex:2},zi=["xmlhttprequest","fetch","beacon"],$i=function(e,t,n,r){var o,a,i,s,l=hd(n,2),c=(n=l[0],l[1]),u=Nd();u&&(l=r.ignoreUrls,o=r.slowSessionThreshold,a=r.ignoreTypes,i=Td(l),s=function(t,n){void 0===n&&(n=!1),Ed(a||zi,t.initiatorType)||i&&i.test(t.name)||(t={ev_type:Jo,payload:t},n&&(t.extra={sample_rate:1}),e(t))},t.push(n[0](function(){var e=(n=hd(lo(u),3))[0],n=n[2],r=function(){if(!e)return!1;var t=e.loadEventEnd-e.navigationStart;return owindow.innerHeight||n<=0)return 0}return o+1+.5*t},Ts=function(e){var t;return e=(t=hd(void 0===e?[]:e))[0],(t=t.slice(1))&&t.reduce(function(e,t){var n=(r=hd(e,2))[0],r=(e=r[1],t.score-n.score);return[t,t.time>=n.time&&e.raten.value?o:n):(e=o.value,t=[o.startTime],o),r(e,n))}]},Ns=function(e,t,n){var r=(a=hd(n,4))[1],o=a[2],a=(n=a[3],jd()),i=Yi(Ps,0),s=ns(e);if(!a)return i.isSupport=!1,void s(i);var l=(e=hd(Is(),2))[0];e=e[1].bind(null,function(e,t){if(e>i.value){i.value=e;try{var n=nf(t);i.extra=n?{element:Gd(n)}:void 0}catch(e){}}}),t.push(jo(a,e,"layout-shift")),r=r(),t.push(r[0](function(e){e&&l()})),n=n(),t.push(n[0](function(e){s(i,e),l(),i=Yi(Ps,0)})),o=o(),t.push(o[0](function(){s(i)}))},Rs=[Ps="cls",Ns],Ds="event",Hs=function(e,t){var n=0,r=1/0,o=0;return t.push(jo(e,function(e){e.interactionId&&(r=Math.min(r,e.interactionId),o=Math.max(o,e.interactionId),n=o?(o-r)/7+1:0)},Ds,0)),[function(){return n}]},zs=function(e,t,n){n=(s=hd(n,4))[0];var r=s[2],o=s[3],a=jd(),i=function(){if(Fd()&&wd(window.PerformanceEventTiming))return window.PerformanceEventTiming}(),s=Nd(),l=Yi(js,0),c=ns(e);if(!a||!i||!s)return l.isSupport=!1,void c(l);function u(){h=v(),p=[],m={}}function d(e){var t=p[p.length-1],n=m[e.interactionId],r=!p.length||e.duration>p[0].latency;(n||p.length<10||e.duration>t.latency)&&(n?(n.entries.push(e),n.latency=Math.max(n.latency,e.duration),r&&!n.element&&e.target&&(n.element=Gd(e.target))):(n={id:e.interactionId,latency:e.duration,entries:[e]},r&&e.target&&(n.element=Gd(e.target)),m[n.id]=n,p.push(n)),p.sort(function(e,t){return t.latency-e.latency}),p.splice(10).forEach(function(e){delete m[e.id]}))}function f(){var e=(e=Math.min(p.length-1,Math.floor(b()/50)),p[e]);e&&(l.value=e.latency,e.element?l.extra={element:e.element}:(e=e.entries[0].target)&&(l.extra={element:Gd(e)}))}function g(e){e.interactionId&&d(e),"first-input"!==e.entryType||p.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||d(e)}var h=0,p=[],m={},v=hd(Hs(a,t),1)[0],b=function(){return v()-h};t.push(n[0](function(){t.push(jo(a,g,Ds,40)),"interactionId"in i.prototype&&t.push(jo(a,g,"first-input"));var e=o();t.push(e[0](function(e){f(),c(l,e),u(),l=Yi(js,0)})),e=r(),t.push(e[0](function(){f(),c(l)})),t.push(u)}))},Vs=function(e,t,n){n=hd(n,4)[3],t.push(n[0](function(t){e(ts(t))}))},Gs=[Us="longtask",Vs],Ws=function(e,t,n){var r=(a=hd(n,3))[0],o=a[1],a=(n=a[2],Nd()),i=(a=hd(lo(a),3))[0],s=a[1],l=a[2],c=Qi(function(e){var t=l("navigation")[0],n=t&&t.responseStart;return(!n||n<=0||n>s())&&(t=void 0),{ev_type:Yo,payload:{isBounced:e,timing:i,navigation_timing:t}}},e,t);function u(){function e(){c(!1)}var n=o();t.push(function(){return n[1](e)}),n[0](e)}t.push(n[0](function(){c(!0)})),t.push(function(){return r[1](u)}),r[0](u)},Ks=[qs="timing",Ws],$s=[js="inp",zs],Js=["SCRIPT","STYLE","META","HEAD"],Zs=[qo,Wo,Ko],Xs=1.5,Ys=8e3,Qs=4e3,el=.1,tl=[Xo,Qo,Yo,Zo],nl=function(e){return~tl.indexOf(e.ev_type)},rl=function(e,t){if(-1===Zs.indexOf(t.ev_type))return e;if(t.ev_type===Wo&&t.payload.response.status<400)return e;if(e&&Zs.indexOf(e.type)innerHeight||r<=0?0:1/(1<1e4?E:_)});return t.push(v[0](function(){s&&o()})),w&&t.push(g[0](function(){var e=h();t.push(e[0](function(){var e=hd(io(Dd(),a),2),n=e[0],r=e[1];t.push(function(){clearTimeout(l),clearTimeout(u),M(c),r&&r()}),n(null===(n=Pd())||void 0===n?void 0:n.body,{subtree:!0,childList:!0}),t.push(p()[0](function(){l&&a()})),t.push(m()[0](function(){l&&a()})),a()}))})),[function(e){F||nl(e)||(O=Zr(),s&&O-s.timestamp>1e4&&(s=void 0),s=rl(s,e))},a]},ul="blankScreen",dl={entries:[],observer:void 0},fl="performance",gl=function(e){if(e&&vd(e)&&e.name&&kd(e.name)){var t={name:e.name,type:"event"};if("metrics"in e&&vd(e.metrics)){var n=e.metrics,r={};for(o in n)Cd(n[o])&&(r[o]=n[o]);t.metrics=r}if("categories"in e&&vd(e.categories)){var o,a=e.categories,i={};for(o in a)i[o]=Bd(a[o]);t.categories=i}return"attached_log"in e&&kd(e.attached_log)&&(t.attached_log=e.attached_log),t}},hl=function(e){if(e&&vd(e)&&e.content&&kd(e.content)){var t={content:Bd(e.content),type:"log",level:"info"};if("level"in e&&(t.level=e.level),"extra"in e&&vd(e.extra)){var n,r=e.extra,o={},a={};for(n in r)Cd(r[n])?o[n]=r[n]:a[n]=Bd(r[n]);t.metrics=o,t.categories=a}return"attached_log"in e&&kd(e.attached_log)&&(t.attached_log=e.attached_log),t}},pl=function(e){e.provide("sendEvent",function t(n){var r=gl(n);r&&((n=So(t))&&(r.stacks=n),e.report({ev_type:Zo,payload:r,extra:{timestamp:Zr()}}))}),e.provide("sendLog",function(t){(t=hl(t))&&e.report({ev_type:Zo,payload:t,extra:{timestamp:Zr()}})})},ml=function(e){var t=Hd(),n=zd(t);t&&(t.onchange=function(){n=zd(t)}),e.on("report",function(e){return gr(gr({},e),{extra:gr(gr({},e.extra||{}),{network_type:n})})})},vl=function(e,t){var n=e.common||{};return n.sample_rate=t,e.common=n,e},bl=function(e,t,n,r,o){return e?(a=o(r,t),function(){return a}):function(){return n(t)};var a},yl=function(e,t){return e.map(function(e){switch(t){case"number":return Number(e);case"boolean":return"1"===e;default:return String(e)}})},wl=function(e,t,n){switch(n){case"eq":return Ed(t,e);case"neq":return!Ed(t,e);case"gt":return e>t[0];case"gte":return e>=t[0];case"lt":return e{const e=await lt();gd({getLocale:()=>e.global.locale.value});const t=h(on);t.use(Fe).use(Ne).use(e),t.use(z,{queryClient:mc}),ir(t,()=>e.global.locale.value),t.directive("contextmenu",hn),t.mount("#app")})()}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/index_bg-Blvrv-U2.wasm b/editor/neo-ppt/assets/index_bg-Blvrv-U2.wasm new file mode 100644 index 0000000..6133230 Binary files /dev/null and b/editor/neo-ppt/assets/index_bg-Blvrv-U2.wasm differ diff --git a/editor/neo-ppt/assets/it-legacy-BREUGM7H.js b/editor/neo-ppt/assets/it-legacy-BREUGM7H.js new file mode 100644 index 0000000..5c68e58 --- /dev/null +++ b/editor/neo-ppt/assets/it-legacy-BREUGM7H.js @@ -0,0 +1 @@ +System.register([],function(e,i){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"Schermo intero",collapse:"Comprimi",autosaving:"Salvataggio automatico…",justSaved:"Appena salvato",savedMinutesAgo:"Salvato {minutes} min fa",versionName:"V{version}",versionLatest:"Più recente",versionEditedBy:"Modificato da {editor} alle {time}",versionMinutesAgo:"{minutes} min fa",versionYesterday:"Ieri alle {time}",restoreVersion:"Ripristina",returnLatestVersion:"Torna alla versione più recente",close:"Chiudi"},basic:{undo:"Annulla",redo:"Ripeti",save:"Salva",screen:"Presenta",share:"Condividi",export:"Esporta",unnamedPresentation:"Presentazione senza titolo",lastPage:"Questa è l’ultima diapositiva"},presenter:{start:"Presenta su questo schermo",mode:"Modalità presentazione",exit:"Esci",openFailed:"Il browser ha bloccato il popup della visualizzazione relatore. Consenti popup e reindirizzamenti per questo sito e riprova.",connectFailed:"Impossibile connettersi alla finestra del relatore. Riprova."},screen:{fullscreenFailed:"Impossibile attivare lo schermo intero. Consenti l’accesso a schermo intero per questo sito nelle impostazioni del browser e riprova.",transitionEffects:{none:"Nessuna",fade:"Dissolvenza","wipe-right":"Scorrimento a destra","wipe-left":"Scorrimento a sinistra","wipe-down":"Scorrimento verso il basso","wipe-up":"Scorrimento verso l’alto","split-vertical":"Divisione verticale","split-horizontal":"Divisione orizzontale",box:"Riquadro",checkerboard:"Scacchiera","random-bars-horizontal":"Barre orizzontali casuali","random-bars-vertical":"Barre verticali casuali","horizontal-blinds":"Veneziane orizzontali","vertical-blinds":"Veneziane verticali","column-grid":"Griglia a colonne","random-grid":"Griglia casuale",random:"Effetto casuale"}},save:{saveFailed:"Impossibile salvare. Riprova.",invalidData:"Impossibile salvare perché i dati non sono validi. Aggiorna la pagina e riprova.",conflictTitle:"Rilevata una versione più recente",conflictContent:"Questa presentazione è stata aggiornata alle {time}. Aggiorna la pagina per visualizzare la versione più recente oppure applica e salva le modifiche attuali.",conflictRefresh:"Aggiorna",conflictApplyChanges:"Applica modifiche"},bottomBar:{rectangle:"Rettangolo",otherShapes:"Forme di base",decoration:"Decorazione",straightLine:"Linea retta",curve:"Curva",createTable:"Crea tabella",searchIcon:"Cerca icone",noIconFound:"Nessuna icona trovata"},sideBar:{addSlide:"Nuova diapositiva",previewMode:"Modalità anteprima",expand:"Espandi",collapse:"Comprimi"},contextMenu:{cut:"Taglia",copy:"Copia",paste:"Incolla",selectAll:"Seleziona tutto",changeBackground:"Cambia sfondo",newPage:"Nuova diapositiva",copyPage:"Duplica diapositiva",deletePage:"Elimina diapositiva",delete:"Elimina",moveUpOneLayer:"Porta avanti",moveDownOneLayer:"Porta indietro",bringToTop:"Porta in primo piano",sendToBottom:"Porta in secondo piano",align:"Allinea",alignCenter:"Centra nella diapositiva",alignHorizontal:"Centra orizzontalmente",startFromCurrent:"Presenta da questa diapositiva",insertColumn:"Inserisci colonna",insertColumnLeft:"A sinistra",insertColumnRight:"A destra",insertRow:"Inserisci riga",insertRowAbove:"Sopra",insertRowBelow:"Sotto",deleteColumn:"Elimina colonna",deleteRow:"Elimina riga",mergeCells:"Unisci celle",unmergeCells:"Dividi celle",selectCurrentColumn:"Seleziona colonna",selectCurrentRow:"Seleziona riga",selectAllCells:"Seleziona tutte le celle",deleteTable:"Elimina tabella"},common:{name:"Diapositive",nameEN:"Slides",confirm:"Conferma",cancel:"Annulla",dontRemind:"Non mostrare più",feedback:"Feedback",user:"Utente",loadFailedRetry:"Impossibile caricare. Riprova più tardi."},annotation:{edit:"Modifica",entry:"Commento",placeholder:"Spiega a Kimi cosa modificare",add:"Aggiungi",addedCount:"Numero di commenti aggiunti: {count}",emptyTip:"Aggiungi commenti alle diapositive",clear:"Cancella commenti",delete:"Elimina commento",marker:"Commento",pageLabel:"Diapositiva {page}",clearConfirm:{title:"Cancellare tutti i commenti?",content:"Verranno rimossi tutti i commenti che hai aggiunto",cancelText:"Annulla",confirmText:"Cancella"},exitConfirm:{title:"Uscire dalla modalità commenti?",content:"I commenti non inviati non verranno salvati",cancelText:"Annulla",confirmText:"Esci"}},wap:{loading:"Caricamento",play:"Riproduci",export:"Esporta",exporting:"Esportazione",playPrevLine1:"Tocca o scorri verso sinistra",playPrevLine2:"per passare alla diapositiva precedente",playMenuLine1:"Tocca il centro",playMenuLine2:"per aprire il menu delle diapositive",playNextLine1:"Tocca o scorri verso destra",playNextLine2:"per passare alla diapositiva successiva"},rate:{title:"Come valuti questo risultato?",thanksTitle:"Grazie per il feedback",bad:"Scarso",normal:"Discreto",good:"Ottimo",resultTip:"Il tuo feedback aiuta Kimi a migliorare",feedback:"Altro feedback"},feedback:{snackbar:{title:"Come valuti questo risultato?",good:"Buono",normal:"Discreto",bad:"Scarso",successMessage:"Grazie — il tuo feedback aiuta Kimi a migliorare",writeFeedback:"Scrivi un feedback"}},logoModal:{title:"Aggiungi logo",tooltip:"Il logo verrà visualizzato nell’angolo in alto a sinistra di ogni diapositiva",selected:"Selezionato",upload:"Carica logo",preview:"Anteprima",maxLimit:"Fino a 5 loghi",alertMaxLimit:"Puoi caricare fino a 5 loghi",applyToAll:"Applica a tutte le diapositive"},latex:{title:"Inserisci equazione",placeholder:"Inserisci una formula LaTeX, ad es. E = mc^2"},themeEditor:{title:"Tema delle diapositive",apply:"Applica",cancel:"Annulla",themeColors:"Colori tema",emptyThemeColors:"Nessun colore tema",currentPageBackground:"Sfondo della diapositiva corrente",backgroundColor:"Colore",backgroundImage:"Immagine",uploadImage:"Carica immagine",uploadImageFailed:"Impossibile caricare l’immagine. Riprova più tardi.",backgroundFitFill:"Riempi",backgroundFitContain:"Adatta",backgroundFitStretch:"Allunga",applyToAll:"Applica a tutte",textStyles:"Stili di testo",emptyTextStyles:"Nessuno stile di testo",fontStyle:"Spessore",lineHeight:"Interlinea",letterSpacing:"Spaziatura caratteri",previewText:"Scopri Kimi123",normal:"Normale",textStyleTitle:"Titolo",textStyleSubtitle:"Sottotitolo",textStyleBody:"Corpo",textStyleCaption:"Didascalia / nota",miSans:"Microsoft YaHei"},diffChecker:{title:"Controllo differenze",newFile:"Aggiunto",deletedFile:"Eliminato",emptyContent:"Questo file è vuoto"},insert:{text:"Inserisci testo",graphics:"Elementi grafici",graphicsShapeTab:"Forme",graphicsLineTab:"Linee",graphicsIconTab:"Icone",image:"Inserisci immagine",table:"Inserisci tabella",theme:"Tema",latex:"Inserisci equazione",watermark:"Aggiungi filigrana",more:"Altro",animation:"Animazione"},scaleMenu:{zoomIn:"Ingrandisci",zoomOut:"Riduci",fitScreen:"Adatta allo schermo"},exportDialog:{image:"Immagine",downloadTitle:"Esporta",tabDownload:"Scarica",tabGoogleSlides:"Presentazioni Google",outputFormat:"Formato di output",fontEmbed:"Incorpora font",fontEmbedTooltip:"Incorpora i font nel file PPTX per mantenerli uniformi su tutti i dispositivi",slideTransition:"Transizione diapositiva",slideTransitionTooltip:"Aggiungi transizioni tra le diapositive",defaultDownloadPath:"Percorso di download predefinito",storageTo:"Salva in",download:"Scarica",downloadStarted:"Esportazione avviata",downloadStartTip:"Esportazione avviata. Se il download non inizia, prova un altro browser o esporta di nuovo.",loading:"Esportazione",pendingTip:"L’esportazione sta richiedendo più tempo del previsto. Prova un altro browser.",wechatTip:"Il browser integrato di WeChat non supporta i download. Usa un browser per computer come Chrome o Edge.",safariTip:"Il browser non è aggiornato. Aggiornalo o usane un altro, come Chrome o Edge.",mobileTip:"Scarica su un computer",exportPptxFailed:"Impossibile esportare il file PPTX. Riprova.",exportPptxSignFailed:"Impossibile esportare il file PPTX. Aggiorna la pagina e riprova.",exportImageFailed:"Impossibile esportare le immagini. Riprova.",exportingToGoogle:"Esportazione in Presentazioni Google…",exportToGoogle:"Esporta in Presentazioni Google",exportToGoogleTips:"Esporta questa presentazione in Presentazioni Google",exportToGoogleNetworkError:"Impossibile esportare in Presentazioni Google. Controlla la connessione e riprova."},share:{create:"Crea presentazione",createDesign:"Crea un design",public:"Pubblico",private:"Privato",createLink:"Crea link di condivisione",createLinkDesc:"Chiunque abbia il link può visualizzare questa presentazione",createLinkBtn:"Crea link",createLinkFailed:"Impossibile creare il link di condivisione",bannedTips:"La condivisione è stata disattivata",goFeedback:"Invia feedback",updateLinkTitle:"Aggiorna link di condivisione",updateLinkDesc:"Il vecchio link smetterà di funzionare dopo l’aggiornamento",updateLinkConfirm:"Aggiorna",updateLinkSuccess:"Link aggiornato",updateTime:"Aggiornato: ",viewLink:"Visualizza link",notPublic:"Non pubblico",copySuccess:"Link copiato",copyFailed:"Impossibile copiare il link. Riprova.",copyLinkBtn:"Copia link",updateLinkBtn:"Aggiorna link",setPrivateTitle:"Rendere privata la presentazione?",setPrivateDesc:"Chiunque abbia il link perderà l’accesso",setPrivateConfirm:"Rendi privata",setPrivateSuccess:"La presentazione ora è privata",updateShareFailed:"Impossibile aggiornare le impostazioni di condivisione",linkError:"Questo link non è valido. Controllalo e riprova.",report:"Segnala",linkInvalid:"Questo link non è disponibile"},floatBar:{leftAlign:"Allinea a sinistra",centerAlign:"Centra",rightAlign:"Allinea a destra",justify:"Giustifica",topAlign:"Allinea in alto",verticallyCenter:"Centra verticalmente",bottomAlign:"Allinea in basso",horizontalAlignment:"Allineamento orizzontale",verticalAlignment:"Allineamento verticale",lineSpacing:"Interlinea",textStyle:"Stile testo",tableStyle:"Stile tabella",unappliedTextStyle:"Non applicato",manageTextStyles:"Gestisci stili di testo",fontColor:"Colore testo",textBackground:"Sfondo testo",font:"Font",unsupportedFont:"⚠️ Stile del font non supportato",fontSize:"Dimensione carattere",bold:"Grassetto",italic:"Corsivo",underline:"Sottolineato",strikethrough:"Barrato",insertLatex:"Inserisci equazione",editLatex:"Modifica equazione",editData:"Modifica dati",showChartTitle:"Mostra titolo",editChartTitle:"Modifica titolo",chartTitlePlaceholder:"Titolo grafico",showChartValues:"Mostra valori",chartLegend:"Legenda",none:"Nessuna",top:"In alto",bottom:"In basso",left:"Sinistra",right:"Destra",candlestickUpColor:"Colore rialzo",candlestickDownColor:"Colore ribasso",candlestickWickColor:"Colore stoppino",waterfallIncreaseColor:"Colore aumento",waterfallDecreaseColor:"Colore diminuzione",waterfallTotalColor:"Colore totale",heatmapLowColor:"Colore valori bassi",heatmapMiddleColor:"Colore punto medio",heatmapHighColor:"Colore valori alti",editLine:"Modifica linea",curveLine:"Curva",lineCurveSharp:"Spezzata",lineCurveRound:"Arrotondata",lineCurveSmooth:"Curva",lineStartArrow:"Freccia iniziale",lineEndArrow:"Freccia finale",usedThemeColor:"Tema “{name}” in uso",colorFill:"Colore riempimento",themeColor:"Colore tema",replaceImage:"Sostituisci immagine",replaceIcon:"Sostituisci icona",replaceShape:"Sostituisci forma",imageFit:"Adattamento immagine",fitFill:"Allunga",fitContain:"Adatta",fitCover:"Ritaglia e riempi",cancelCrop:"Annulla ritaglio",cropImage:"Ritaglia immagine",opacity:"Opacità",horizontalFlip:"Rifletti orizzontalmente",verticalFlip:"Rifletti verticalmente",layer:"Livello",bringToTop:"Porta in primo piano",sendToBottom:"Porta in secondo piano",bringForward:"Porta avanti",sendBackward:"Porta indietro",rowAction:"Azioni riga",columnAction:"Azioni colonna",insertRowBefore:"Inserisci riga sopra",insertRowAfter:"Inserisci riga sotto",insertColumnBefore:"Inserisci colonna a sinistra",insertColumnAfter:"Inserisci colonna a destra",defaultBorder:"Predefinito",allBorders:"Tutti i bordi",topAndBottomBorders:"Bordi superiore e inferiore",leftAndRightBorders:"Bordi sinistro e destro",topBorder:"Bordo superiore",rightBorder:"Bordo destro",bottomBorder:"Bordo inferiore",leftBorder:"Bordo sinistro",equalizeColumnWidths:"Distribuisci uniformemente le colonne",deselectAll:"Deseleziona tutto",selectAll:"Seleziona tutto",deleteTable:"Elimina tabella",cellBackground:"Sfondo cella",times:"x",border:"Bordo",line:"Linea",solidLine:"Continua",dashedLine:"Tratteggiata",dottedLine:"Punteggiata",noBorder:"Nessun bordo",style:"Stile",thickness:"Spessore",color:"Colore",recentColors:"Colori recenti",notSupportEyeDropper:"Questo browser non supporta il contagocce. Prova un altro browser.",escCloseEyeDropper:"Premi Esc per chiudere il contagocce"},notes:{placeholder:"Note",show:"Mostra note del relatore"},animationPanel:{title:"Animazione",preview:"Anteprima",empty:"Nessuna animazione in questa diapositiva",add:"Aggiungi animazione",addHint:"Seleziona un elemento per aggiungere un'animazione",target:"Elemento di destinazione",effect:"Effetto",trigger:"Trigger",triggerOnClick:"Al clic",triggerWithPrevious:"Con la precedente",triggerAfterPrevious:"Dopo la precedente",direction:"Direzione",directionUp:"Su",directionDown:"Giù",directionLeft:"Sinistra",directionRight:"Destra",duration:"Durata (ms)",delay:"Ritardo (ms)",easing:"Easing",easingLinear:"Lineare",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"Ripetizioni",path:"Percorso",delete:"Elimina",categoryEntrance:"Entrata",categoryEmphasis:"Enfasi",categoryExit:"Uscita",categoryMotionPath:"Percorso",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"Scegli elemento",elementTypes:{text:"Casella di testo",shape:"Forma",image:"Immagine",icon:"Icona",table:"Tabella",chart:"Grafico",line:"Linea"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/ja-legacy-CKu0gmXl.js b/editor/neo-ppt/assets/ja-legacy-CKu0gmXl.js new file mode 100644 index 0000000..246ee3a --- /dev/null +++ b/editor/neo-ppt/assets/ja-legacy-CKu0gmXl.js @@ -0,0 +1 @@ +System.register([],function(e,t){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"全画面",collapse:"折りたたむ",autosaving:"自動保存中…",justSaved:"保存しました",savedMinutesAgo:"{minutes}分前に保存",versionName:"バージョン{version}",versionLatest:"最新",versionEditedBy:"{editor}が{time}に編集",versionMinutesAgo:"{minutes}分前",versionYesterday:"昨日 {time}",restoreVersion:"復元",returnLatestVersion:"最新版に戻る",close:"閉じる"},basic:{undo:"元に戻す",redo:"やり直す",save:"保存",screen:"スライドショー",share:"共有",export:"エクスポート",unnamedPresentation:"無題のプレゼンテーション",lastPage:"最後のスライドです"},presenter:{start:"この画面でスライドショー",mode:"プレゼンテーションモード",exit:"終了",openFailed:"ブラウザでプレゼンターのポップアップがブロックされました。このサイトのポップアップとリダイレクトを許可してから、もう一度お試しください。",connectFailed:"プレゼンター表示に接続できませんでした。もう一度お試しください。"},screen:{fullscreenFailed:"全画面にできませんでした。ブラウザの設定でこのサイトの全画面表示を許可してから、もう一度お試しください。",transitionEffects:{none:"なし",fade:"フェード","wipe-right":"右へワイプ","wipe-left":"左へワイプ","wipe-down":"下へワイプ","wipe-up":"上へワイプ","split-vertical":"縦に分割","split-horizontal":"横に分割",box:"ボックス",checkerboard:"チェッカーボード","random-bars-horizontal":"横方向のランダムバー","random-bars-vertical":"縦方向のランダムバー","horizontal-blinds":"横ブラインド","vertical-blinds":"縦ブラインド","column-grid":"列グリッド","random-grid":"ランダムグリッド",random:"ランダム効果"}},save:{saveFailed:"保存できませんでした。もう一度お試しください。",invalidData:"データが無効なため保存できませんでした。再読み込みして、もう一度お試しください。",conflictTitle:"新しいバージョンがあります",conflictContent:"このプレゼンテーションは{time}に更新されました。再読み込みして最新版を表示するか、現在の変更を適用して保存してください。",conflictRefresh:"再読み込み",conflictApplyChanges:"変更を適用"},bottomBar:{rectangle:"四角形",otherShapes:"基本図形",decoration:"装飾",straightLine:"直線",curve:"曲線",createTable:"表を作成",searchIcon:"アイコンを検索",noIconFound:"アイコンが見つかりません"},sideBar:{addSlide:"新しいスライド",previewMode:"プレビューモード",expand:"展開",collapse:"折りたたむ"},contextMenu:{cut:"切り取り",copy:"コピー",paste:"貼り付け",selectAll:"すべて選択",changeBackground:"背景を変更",newPage:"新しいスライド",copyPage:"スライドを複製",deletePage:"スライドを削除",delete:"削除",moveUpOneLayer:"前面へ移動",moveDownOneLayer:"背面へ移動",bringToTop:"最前面へ移動",sendToBottom:"最背面へ移動",align:"配置",alignCenter:"スライド中央に配置",alignHorizontal:"左右中央揃え",startFromCurrent:"このスライドからスライドショー",insertColumn:"列を挿入",insertColumnLeft:"左",insertColumnRight:"右",insertRow:"行を挿入",insertRowAbove:"上",insertRowBelow:"下",deleteColumn:"列を削除",deleteRow:"行を削除",mergeCells:"セルを結合",unmergeCells:"セルの結合を解除",selectCurrentColumn:"列を選択",selectCurrentRow:"行を選択",selectAllCells:"すべてのセルを選択",deleteTable:"表を削除"},common:{name:"スライド",nameEN:"Slides",confirm:"確認",cancel:"キャンセル",dontRemind:"今後表示しない",feedback:"フィードバック",user:"ユーザー",loadFailedRetry:"読み込めませんでした。しばらくしてからもう一度お試しください。"},annotation:{edit:"編集",entry:"コメント",placeholder:"Kimiに変更内容を伝える",add:"追加",addedCount:"追加したコメント:{count}件",emptyTip:"スライドにコメントを追加",clear:"コメントをクリア",delete:"コメントを削除",marker:"コメント",pageLabel:"スライド{page}",clearConfirm:{title:"すべてのコメントをクリアしますか?",content:"追加したコメントがすべて削除されます",cancelText:"キャンセル",confirmText:"クリア"},exitConfirm:{title:"コメントモードを終了しますか?",content:"未送信のコメントは保存されません",cancelText:"キャンセル",confirmText:"終了"}},wap:{loading:"読み込み中",play:"再生",export:"エクスポート",exporting:"エクスポート中",playPrevLine1:"タップまたは左にスワイプして",playPrevLine2:"前のスライドへ移動",playMenuLine1:"中央をタップして",playMenuLine2:"スライドメニューを開く",playNextLine1:"タップまたは右にスワイプして",playNextLine2:"次のスライドへ移動"},rate:{title:"今回の結果はいかがでしたか?",thanksTitle:"フィードバックありがとうございます",bad:"良くない",normal:"まあまあ",good:"良い",resultTip:"フィードバックはKimiの改善に役立ちます",feedback:"さらにフィードバック"},feedback:{snackbar:{title:"今回の結果はいかがでしたか?",good:"良い",normal:"まあまあ",bad:"良くない",successMessage:"ありがとうございます。フィードバックはKimiの改善に役立ちます",writeFeedback:"フィードバックを書く"}},logoModal:{title:"ロゴを追加",tooltip:"すべてのスライドの左上にロゴが表示されます",selected:"選択済み",upload:"ロゴをアップロード",preview:"プレビュー",maxLimit:"ロゴは5個まで",alertMaxLimit:"アップロードできるロゴは5個までです",applyToAll:"すべてのスライドに適用"},latex:{title:"数式を挿入",placeholder:"LaTeX数式を入力(例:E = mc^2)"},themeEditor:{title:"スライドのテーマ",apply:"適用",cancel:"キャンセル",themeColors:"テーマカラー",emptyThemeColors:"テーマカラーがありません",currentPageBackground:"現在のスライドの背景",backgroundColor:"色",backgroundImage:"画像",uploadImage:"画像をアップロード",uploadImageFailed:"画像をアップロードできませんでした。しばらくしてからもう一度お試しください。",backgroundFitFill:"塗りつぶし",backgroundFitContain:"サイズに合わせる",backgroundFitStretch:"引き伸ばす",applyToAll:"すべてに適用",textStyles:"テキストスタイル",emptyTextStyles:"テキストスタイルがありません",fontStyle:"太さ",lineHeight:"行の高さ",letterSpacing:"文字間隔",previewText:"Kimi123のご紹介",normal:"標準",textStyleTitle:"タイトル",textStyleSubtitle:"サブタイトル",textStyleBody:"本文",textStyleCaption:"キャプション/注釈",miSans:"Microsoft YaHei"},diffChecker:{title:"差分チェッカー",newFile:"追加",deletedFile:"削除済み",emptyContent:"ファイルが空です"},insert:{text:"テキストを挿入",graphics:"グラフィック",graphicsShapeTab:"図形",graphicsLineTab:"線",graphicsIconTab:"アイコン",image:"画像を挿入",table:"表を挿入",theme:"テーマ",latex:"数式を挿入",watermark:"透かしを追加",more:"その他",animation:"アニメーション"},scaleMenu:{zoomIn:"拡大",zoomOut:"縮小",fitScreen:"画面に合わせる"},exportDialog:{image:"画像",downloadTitle:"エクスポート",tabDownload:"ダウンロード",tabGoogleSlides:"Googleスライド",outputFormat:"出力形式",fontEmbed:"フォントを埋め込む",fontEmbedTooltip:"PPTXにフォントを埋め込み、デバイスが変わっても表示を統一します",slideTransition:"スライド切り替え",slideTransitionTooltip:"スライド間に切り替え効果を追加します",defaultDownloadPath:"既定のダウンロード先",storageTo:"保存先",download:"ダウンロード",downloadStarted:"エクスポートを開始しました",downloadStartTip:"エクスポートを開始しました。ダウンロードが始まらない場合は、別のブラウザを使うか、もう一度エクスポートしてください。",loading:"エクスポート中",pendingTip:"エクスポートに時間がかかっています。別のブラウザをお試しください。",wechatTip:"WeChat内ブラウザではダウンロードできません。ChromeやEdgeなど、パソコンのブラウザをお使いください。",safariTip:"ブラウザが古いため、更新するか、ChromeやEdgeなど別のブラウザをお試しください。",mobileTip:"パソコンでダウンロードしてください",exportPptxFailed:"PPTXをエクスポートできませんでした。もう一度お試しください。",exportPptxSignFailed:"PPTXをエクスポートできませんでした。ページを更新してもう一度お試しください。",exportImageFailed:"画像をエクスポートできませんでした。もう一度お試しください。",exportingToGoogle:"Google スライドにエクスポート中…",exportToGoogle:"Google スライドにエクスポート",exportToGoogleTips:"このプレゼンテーションをGoogle スライドにエクスポートします",exportToGoogleNetworkError:"Google スライドにエクスポートできませんでした。接続を確認して、もう一度お試しください。"},share:{create:"スライドを作成",createDesign:"デザインを作成",public:"公開",private:"非公開",createLink:"共有リンクを作成",createLinkDesc:"リンクを知っている全員がこのプレゼンテーションを閲覧できます",createLinkBtn:"リンクを作成",createLinkFailed:"共有リンクを作成できませんでした",bannedTips:"共有が無効になっています",goFeedback:"フィードバックを送信",updateLinkTitle:"共有リンクを更新",updateLinkDesc:"更新すると、古いリンクは使用できなくなります",updateLinkConfirm:"更新",updateLinkSuccess:"リンクを更新しました",updateTime:"更新日時:",viewLink:"リンクを表示",notPublic:"非公開",copySuccess:"リンクをコピーしました",copyFailed:"リンクをコピーできませんでした。もう一度お試しください。",copyLinkBtn:"リンクをコピー",updateLinkBtn:"リンクを更新",setPrivateTitle:"プレゼンテーションを非公開にしますか?",setPrivateDesc:"リンクを知っている全員がアクセスできなくなります",setPrivateConfirm:"非公開にする",setPrivateSuccess:"プレゼンテーションを非公開にしました",updateShareFailed:"共有設定を更新できませんでした",linkError:"このリンクは無効です。確認して、もう一度お試しください。",report:"通報",linkInvalid:"このリンクは利用できません"},floatBar:{leftAlign:"左揃え",centerAlign:"中央揃え",rightAlign:"右揃え",justify:"両端揃え",topAlign:"上揃え",verticallyCenter:"上下中央揃え",bottomAlign:"下揃え",horizontalAlignment:"横方向の配置",verticalAlignment:"縦方向の配置",lineSpacing:"行間",textStyle:"テキストスタイル",tableStyle:"表のスタイル",unappliedTextStyle:"未適用",manageTextStyles:"テキストスタイルを管理",fontColor:"文字色",textBackground:"テキストの背景",font:"フォント",unsupportedFont:"⚠️ このフォントスタイルはサポートされていません",fontSize:"フォントサイズ",bold:"太字",italic:"斜体",underline:"下線",strikethrough:"取り消し線",insertLatex:"数式を挿入",editLatex:"数式を編集",editData:"データを編集",showChartTitle:"タイトルを表示",editChartTitle:"タイトルを編集",chartTitlePlaceholder:"グラフのタイトル",showChartValues:"値を表示",chartLegend:"凡例",none:"なし",top:"上",bottom:"下",left:"左",right:"右",candlestickUpColor:"上昇色",candlestickDownColor:"下落色",candlestickWickColor:"ひげの色",waterfallIncreaseColor:"増加色",waterfallDecreaseColor:"減少色",waterfallTotalColor:"合計色",heatmapLowColor:"低い値の色",heatmapMiddleColor:"中間値の色",heatmapHighColor:"高い値の色",editLine:"線を編集",curveLine:"曲線",lineCurveSharp:"折れ線",lineCurveRound:"角丸",lineCurveSmooth:"曲線",lineStartArrow:"始点の矢印",lineEndArrow:"終点の矢印",usedThemeColor:"「{name}」テーマを使用中",colorFill:"塗りつぶし色",themeColor:"テーマカラー",replaceImage:"画像を置換",replaceIcon:"アイコンを置換",replaceShape:"図形を置換",imageFit:"画像の配置",fitFill:"引き伸ばす",fitContain:"サイズに合わせる",fitCover:"トリミングして塗りつぶす",cancelCrop:"トリミングをキャンセル",cropImage:"画像をトリミング",opacity:"不透明度",horizontalFlip:"左右反転",verticalFlip:"上下反転",layer:"レイヤー",bringToTop:"最前面へ移動",sendToBottom:"最背面へ移動",bringForward:"前面へ移動",sendBackward:"背面へ移動",rowAction:"行の操作",columnAction:"列の操作",insertRowBefore:"上に行を挿入",insertRowAfter:"下に行を挿入",insertColumnBefore:"左に列を挿入",insertColumnAfter:"右に列を挿入",defaultBorder:"既定",allBorders:"すべての罫線",topAndBottomBorders:"上下の罫線",leftAndRightBorders:"左右の罫線",topBorder:"上罫線",rightBorder:"右罫線",bottomBorder:"下罫線",leftBorder:"左罫線",equalizeColumnWidths:"列の幅を均等にする",deselectAll:"すべて選択解除",selectAll:"すべて選択",deleteTable:"表を削除",cellBackground:"セルの背景",times:"倍",border:"罫線",line:"線",solidLine:"実線",dashedLine:"破線",dottedLine:"点線",noBorder:"罫線なし",style:"スタイル",thickness:"太さ",color:"色",recentColors:"最近使った色",notSupportEyeDropper:"このブラウザはスポイトに対応していません。別のブラウザをお試しください。",escCloseEyeDropper:"Escキーを押してスポイトを閉じる"},notes:{placeholder:"ノート",show:"スピーカーノートを表示"},animationPanel:{title:"アニメーション",preview:"プレビュー",empty:"このページにアニメーションはありません",add:"アニメーションを追加",addHint:"要素を選択してアニメーションを追加",target:"対象要素",effect:"効果",trigger:"トリガー",triggerOnClick:"クリック時",triggerWithPrevious:"前と同時",triggerAfterPrevious:"前の後",direction:"方向",directionUp:"上",directionDown:"下",directionLeft:"左",directionRight:"右",duration:"時間 (ms)",delay:"遅延 (ms)",easing:"イージング",easingLinear:"リニア",easingEaseIn:"イーズイン",easingEaseOut:"イーズアウト",easingEaseInOut:"イーズインアウト",repeat:"繰り返し",path:"パス",delete:"削除",categoryEntrance:"開始",categoryEmphasis:"強調",categoryExit:"終了",categoryMotionPath:"パス",effects:{appear:"出現","fade-in":"フェードイン","fly-in":"フライイン","zoom-in":"ズームイン","wipe-in":"ワイプイン","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"パルス","grow-shrink":"拡大/縮小",spin:"スピン",teeter:"揺れ","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"消失","fade-out":"フェードアウト","fly-out":"フライアウト","zoom-out":"ズームアウト","wipe-out":"ワイプアウト","float-out":"Float Out","motion-path":"モーションパス"},pickElement:"要素を選択",elementTypes:{text:"テキストボックス",shape:"図形",image:"画像",icon:"アイコン",table:"表",chart:"グラフ",line:"線"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/katex-BotMgawn.js b/editor/neo-ppt/assets/katex-BotMgawn.js new file mode 100644 index 0000000..99ed0e9 --- /dev/null +++ b/editor/neo-ppt/assets/katex-BotMgawn.js @@ -0,0 +1,257 @@ +var e=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15e.replace(t,`-$1`).toLowerCase(),r={"&":`&`,">":`>`,"<":`<`,'"':`"`,"'":`'`},i=/[&><"']/g,a=e=>String(e).replace(i,e=>r[e]),o=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?o(e.body[0]):e:e.type===`font`?o(e.body):e,s=new Set([`mathord`,`textord`,`atom`]),c=e=>s.has(o(e).type),l=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},u={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format `},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color `,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro `,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness `,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size `,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand `,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function d(e){if(`default`in e)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!=`string`)return n.enum[0];switch(n){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{}}}var f=class{constructor(e){e===void 0&&(e={}),e=e||{};for(var t of Object.keys(u)){var n=u[t],r=e[t];this[t]=r===void 0?d(n):n.processor?n.processor(r):r}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i==`function`&&(i=i(t,n,r)),!(!i||i===`ignore`)){if(i===!0||i===`error`)throw new e(`LaTeX-incompatible input and strict mode is set to 'error': `+(n+` [`+t+`]`),r);i===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(n+` [`+t+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+i+`': `+n+` [`+t+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=l(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},p=class{constructor(e,t,n){this.id=e,this.size=t,this.cramped=n}sup(){return S[C[this.id]]}sub(){return S[ee[this.id]]}fracNum(){return S[te[this.id]]}fracDen(){return S[w[this.id]]}cramp(){return S[ne[this.id]]}text(){return S[re[this.id]]}isTight(){return this.size>=2}},m=0,h=1,g=2,_=3,v=4,y=5,b=6,x=7,S=[new p(m,0,!1),new p(h,0,!0),new p(g,1,!1),new p(_,1,!0),new p(v,2,!1),new p(y,2,!0),new p(b,3,!1),new p(x,3,!0)],C=[v,y,v,y,b,x,b,x],ee=[y,y,y,y,x,x,x,x],te=[g,_,v,y,b,x,b,x],w=[_,_,y,y,x,x,x,x],ne=[h,h,_,_,y,y,x,x],re=[m,h,g,_,g,_,g,_],T={DISPLAY:S[m],TEXT:S[g],SCRIPT:S[v],SCRIPTSCRIPT:S[b]},ie=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function ae(e){for(var t=0;t=i[0]&&e<=i[1])return n.name}return null}var oe=[];ie.forEach(e=>e.blocks.forEach(e=>oe.push(...e)));function se(e){for(var t=0;t=oe[t]&&e<=oe[t+1])return!0;return!1}var E=e=>e+` `+e,ce=80,le=function(e,t){return`M95,`+(622+e+t)+` +c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 +c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 +c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 +s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 +c69,-144,104.5,-217.7,106.5,-221 +l`+e/2.075+` -`+e+` +c5.3,-9.3,12,-14,20,-14 +H400000v`+(40+e)+`H845.2724 +s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 +c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z +M`+(834+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},ue=function(e,t){return`M263,`+(601+e+t)+`c0.7,0,18,39.7,52,119 +c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 +c340,-704.7,510.7,-1060.3,512,-1067 +l`+e/2.084+` -`+e+` +c4.7,-7.3,11,-11,19,-11 +H40000v`+(40+e)+`H1012.3 +s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 +c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 +s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 +c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z +M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},de=function(e,t){return`M983 `+(10+e+t)+` +l`+e/3.13+` -`+e+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` +H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 +s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 +c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 +c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 +c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 +c53.7,-170.3,84.5,-266.8,92.5,-289.5z +M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},fe=function(e,t){return`M424,`+(2398+e+t)+` +c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 +c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 +s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 +s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 +l`+e/4.223+` -`+e+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+e)+`H1014.6 +s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 +c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+` `+t+` +h400000v`+(40+e)+`h-400000z`},pe=function(e,t){return`M473,`+(2713+e+t)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+` -`+e+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 +s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 +c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 +s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, +606zM`+(1001+e)+` `+t+`h400000v`+(40+e)+`H1017.7z`},me=function(e){var t=e/2;return`M400000 `+e+` H0 L`+t+` 0 l65 45 L145 `+(e-80)+` H400000z`},he=function(e,t,n){var r=n-54-t-e;return`M702 `+(e+t)+`H400000`+(40+e)+` +H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 +c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 +219 661 l218 661zM702 `+t+`H400000v`+(40+e)+`H742z`},ge=function(e,t,n){t=1e3*t;var r=``;switch(e){case`sqrtMain`:r=le(t,ce);break;case`sqrtSize1`:r=ue(t,ce);break;case`sqrtSize2`:r=de(t,ce);break;case`sqrtSize3`:r=fe(t,ce);break;case`sqrtSize4`:r=pe(t,ce);break;case`sqrtTall`:r=he(t,ce,n)}return r},_e=function(e,t){switch(e){case`⎜`:return E(`M291 0 H417 V`+t+` H291z`);case`∣`:return E(`M145 0 H188 V`+t+` H145z`);case`∥`:return E(`M145 0 H188 V`+t+` H145z`)+E(`M367 0 H410 V`+t+` H367z`);case`⎟`:return E(`M457 0 H583 V`+t+` H457z`);case`⎢`:return E(`M319 0 H403 V`+t+` H319z`);case`⎥`:return E(`M263 0 H347 V`+t+` H263z`);case`⎪`:return E(`M384 0 H504 V`+t+` H384z`);case`⏐`:return E(`M312 0 H355 V`+t+` H312z`);case`‖`:return E(`M257 0 H300 V`+t+` H257z`)+E(`M478 0 H521 V`+t+` H478z`);default:return``}},ve={doubleleftarrow:`M262 157 +l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 + 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 + 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 +c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 + 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 +-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 +-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z +m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l +-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 + 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 +-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 +-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 +-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 +c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 +-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 + 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 +-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 +c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 + 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 + 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 + l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 +-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 + 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 + 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 + 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 +-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 +H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 + 435 0h399565z`,leftgroupunder:`M400000 262 +H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 + 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 +-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 +-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 +-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 + 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 +-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 +-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z +m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 + 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 + 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 +-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 + 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 +-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 +v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 +-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 +-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:E(`M40 281 V428 H0 V94 H40 V241 H400000 v40z`),leftbracketunder:E(`M0 0 h120 V290 H399995 v120 H0z`),leftbracketover:E(`M0 440 h120 V150 H399995 v-120 H0z`),leftmapsto:E(`M40 281 V448H0V74H40V241H400000v40z`),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 +-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 +c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:E(`M0 50 h400000 v40H0z m0 194h40000v40H0z`),midbrace:`M200428 334 +c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 +-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 + 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 + 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 +c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 + 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 + 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 +-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 +-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z +m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 +60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 +-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z +m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 +c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 +-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z +m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 +85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 +-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z +m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 +c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 +-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 + 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 + 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 +-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 + 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l +-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 +s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 +c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 + 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 +-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 + 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 + 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 +-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 +-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 + 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 +-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 + 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z +m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 + 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 +-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 +-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 + 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 + 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 +-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z +m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 + 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 +-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:E(`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`),rightbracketunder:E(`M399995 0 h-120 V290 H0 v120 H400000z`),rightbracketover:E(`M399995 440 h-120 V150 H0 v-120 H399995z`),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 +-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 +-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 + 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 +-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 +-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 +-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 + 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 +c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 + 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 + 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 +-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 + 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 +-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 + 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 + 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 +-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 +-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 + 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 +c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 + 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 +-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 + 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 + 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 + -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 +-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 + 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 + 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 + -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 +3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 +10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 +-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 +-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 +H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 +c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 +c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, +-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 +c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 +c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 +s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 +121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 +s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 +c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z +M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 +-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 +13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 +-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 +-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 +151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 +c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 +c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 +c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z +M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, +1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, +-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z +M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ye=function(e,t){switch(e){case`lbrack`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v1759 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+t+` v1759 h84z`;case`rbrack`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+t+` v1759 h84z`;case`vert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z`;case`doublevert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z +M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+` v585 h43z`;case`lfloor`:return`M319 602 V0 H403 V602 v`+t+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`rfloor`:return`M319 602 V0 H403 V602 v`+t+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`lceil`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v602 h84z +M403 1759 V0 H319 V1759 v`+t+` v602 h84z`;case`rceil`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v602 h84z +M347 1759 V0 h-84 V1759 v`+t+` v602 h84z`;case`lparen`:return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, +-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 +c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, +-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 +l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case`rparen`:return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, +63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+` +c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 +c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 +c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 +c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 +l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw Error(`Unknown stretchy delimiter.`)}},be=class{constructor(e){this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText()).join(``)}},xe={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Se={ex:!0,em:!0,mu:!0},Ce=function(e){return typeof e!=`string`&&(e=e.unit),e in xe||e in Se||e===`ex`},D=function(t,n){var r;if(t.unit in xe)r=xe[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit===`mu`)r=n.fontMetrics().cssEmPerMu;else{var i=n.style.isTight()?n.havingStyle(n.style.text()):n;if(t.unit===`ex`)r=i.fontMetrics().xHeight;else if(t.unit===`em`)r=i.fontMetrics().quad;else throw new e(`Invalid unit: '`+t.unit+`'`);i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},O=function(e){return+e.toFixed(4)+`em`},we=function(e){return e.filter(e=>e).join(` `)},Te=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push(`mtight`);var r=t.getColor();r&&(this.style.color=r)}},Ee=function(e){var t=document.createElement(e);t.className=we(this.classes);for(var n of Object.keys(this.style))t.style[n]=this.style[n];for(var r of Object.keys(this.attributes))t.setAttribute(r,this.attributes[r]);for(var i=0;i/=\x00-\x1f]/,Oe=function(t){var r=`<`+t;this.classes.length&&(r+=` class="`+a(we(this.classes))+`"`);var i=``;for(var o of Object.keys(this.style))i+=n(o)+`:`+this.style[o]+`;`;i&&(r+=` style="`+a(i)+`"`);for(var s of Object.keys(this.attributes)){if(De.test(s))throw new e(`Invalid attribute name '`+s+`'`);r+=` `+s+`="`+a(this.attributes[s])+`"`}r+=`>`;for(var c=0;c`,r},ke=class{constructor(e,t,n,r){Te.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Ee.call(this,`span`)}toMarkup(){return Oe.call(this,`span`)}},Ae=class{constructor(e,t,n,r){Te.call(this,t,r),this.children=n||[],this.setAttribute(`href`,e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Ee.call(this,`a`)}toMarkup(){return Oe.call(this,`a`)}},je=class{constructor(e,t,n){this.alt=t,this.src=e,this.classes=[`mord`],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement(`img`);e.src=this.src,e.alt=this.alt,e.className=`mord`;for(var t of Object.keys(this.style))e.style[t]=this.style[t];return e}toMarkup(){var e=``+a(this.alt)+``,e}},Me={î:`ı̂`,ï:`ı̈`,í:`ı́`,ì:`ı̀`},Ne=class{constructor(e,t,n,r,i,a,o,s){this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var c=ae(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïíì]/.test(this.text)&&(this.text=Me[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement(`span`),t.style.marginRight=O(this.italic)),this.classes.length>0&&(t=t||document.createElement(`span`),t.className=we(this.classes));for(var n of Object.keys(this.style))t=t||document.createElement(`span`),t.style[n]=this.style[n];return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t=`0&&(r+=`margin-right:`+O(this.italic)+`;`);for(var i of Object.keys(this.style))r+=n(i)+`:`+this.style[i]+`;`;r&&(e=!0,t+=` style="`+a(r)+`"`);var o=a(this.text);return e?(t+=`>`,t+=o,t+=``,t):o}},Pe=class{constructor(e,t){this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var n=0;n`;for(var n=0;n`,e}},Fe=class{constructor(e,t){this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return this.alternate?e.setAttribute(`d`,this.alternate):e.setAttribute(`d`,ve[this.pathName]),e}toMarkup(){return this.alternate?``:``}},Ie=class{constructor(e){this.attributes=e||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`line`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=``,e}};function Le(e){if(e instanceof Ne)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function Re(e){if(e instanceof ke)return e;throw Error(`Expected span but got `+String(e)+`.`)}var ze=e=>e instanceof ke||e instanceof Ae||e instanceof be,Be={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ve={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},He={Å:`A`,Ð:`D`,Þ:`o`,å:`a`,ð:`d`,þ:`o`,А:`A`,Б:`B`,В:`B`,Г:`F`,Д:`A`,Е:`E`,Ж:`K`,З:`3`,И:`N`,Й:`N`,К:`K`,Л:`N`,М:`M`,Н:`H`,О:`O`,П:`N`,Р:`P`,С:`C`,Т:`T`,У:`y`,Ф:`O`,Х:`X`,Ц:`U`,Ч:`h`,Ш:`W`,Щ:`W`,Ъ:`B`,Ы:`X`,Ь:`B`,Э:`3`,Ю:`X`,Я:`R`,а:`a`,б:`b`,в:`a`,г:`r`,д:`y`,е:`e`,ж:`m`,з:`e`,и:`n`,й:`n`,к:`n`,л:`n`,м:`m`,н:`n`,о:`o`,п:`n`,р:`p`,с:`c`,т:`o`,у:`y`,ф:`b`,х:`x`,ц:`n`,ч:`n`,ш:`w`,щ:`w`,ъ:`a`,ы:`m`,ь:`a`,э:`e`,ю:`m`,я:`r`};function Ue(e,t){Be[e]=t}function We(e,t,n){if(!Be[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=Be[t][r];if(!i&&e[0]in He&&(r=He[e[0]].charCodeAt(0),i=Be[t][r]),!i&&n===`text`&&se(r)&&(i=Be[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Ge={};function Ke(e){var t=e>=5?0:e>=3?1:2;if(!Ge[t]){var n=Ge[t]={cssEmPerMu:Ve.quad[t]/18};for(var r in Ve)Ve.hasOwnProperty(r)&&(n[r]=Ve[r][t])}return Ge[t]}var qe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Je={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},k={math:{},text:{}};function A(e,t,n,r,i,a){k[e][i]={font:t,group:n,replace:r},a&&r&&(k[e][r]=k[e][i])}var j=`math`,M=`text`,N=`main`,P=`ams`,F=`accent-token`,I=`bin`,Ye=`close`,Xe=`inner`,L=`mathord`,R=`op-token`,Ze=`open`,Qe=`punct`,z=`rel`,$e=`spacing`,B=`textord`;A(j,N,z,`≡`,`\\equiv`,!0),A(j,N,z,`≺`,`\\prec`,!0),A(j,N,z,`≻`,`\\succ`,!0),A(j,N,z,`∼`,`\\sim`,!0),A(j,N,z,`⊥`,`\\perp`),A(j,N,z,`⪯`,`\\preceq`,!0),A(j,N,z,`⪰`,`\\succeq`,!0),A(j,N,z,`≃`,`\\simeq`,!0),A(j,N,z,`∣`,`\\mid`,!0),A(j,N,z,`≪`,`\\ll`,!0),A(j,N,z,`≫`,`\\gg`,!0),A(j,N,z,`≍`,`\\asymp`,!0),A(j,N,z,`∥`,`\\parallel`),A(j,N,z,`⋈`,`\\bowtie`,!0),A(j,N,z,`⌣`,`\\smile`,!0),A(j,N,z,`⊑`,`\\sqsubseteq`,!0),A(j,N,z,`⊒`,`\\sqsupseteq`,!0),A(j,N,z,`≐`,`\\doteq`,!0),A(j,N,z,`⌢`,`\\frown`,!0),A(j,N,z,`∋`,`\\ni`,!0),A(j,N,z,`∝`,`\\propto`,!0),A(j,N,z,`⊢`,`\\vdash`,!0),A(j,N,z,`⊣`,`\\dashv`,!0),A(j,N,z,`∋`,`\\owns`),A(j,N,Qe,`.`,`\\ldotp`),A(j,N,Qe,`⋅`,`\\cdotp`),A(j,N,Qe,`⋅`,`·`),A(M,N,B,`⋅`,`·`),A(j,N,B,`#`,`\\#`),A(M,N,B,`#`,`\\#`),A(j,N,B,`&`,`\\&`),A(M,N,B,`&`,`\\&`),A(j,N,B,`ℵ`,`\\aleph`,!0),A(j,N,B,`∀`,`\\forall`,!0),A(j,N,B,`ℏ`,`\\hbar`,!0),A(j,N,B,`∃`,`\\exists`,!0),A(j,N,B,`∇`,`\\nabla`,!0),A(j,N,B,`♭`,`\\flat`,!0),A(j,N,B,`ℓ`,`\\ell`,!0),A(j,N,B,`♮`,`\\natural`,!0),A(j,N,B,`♣`,`\\clubsuit`,!0),A(j,N,B,`℘`,`\\wp`,!0),A(j,N,B,`♯`,`\\sharp`,!0),A(j,N,B,`♢`,`\\diamondsuit`,!0),A(j,N,B,`ℜ`,`\\Re`,!0),A(j,N,B,`♡`,`\\heartsuit`,!0),A(j,N,B,`ℑ`,`\\Im`,!0),A(j,N,B,`♠`,`\\spadesuit`,!0),A(j,N,B,`§`,`\\S`,!0),A(M,N,B,`§`,`\\S`),A(j,N,B,`¶`,`\\P`,!0),A(M,N,B,`¶`,`\\P`),A(j,N,B,`†`,`\\dag`),A(M,N,B,`†`,`\\dag`),A(M,N,B,`†`,`\\textdagger`),A(j,N,B,`‡`,`\\ddag`),A(M,N,B,`‡`,`\\ddag`),A(M,N,B,`‡`,`\\textdaggerdbl`),A(j,N,Ye,`⎱`,`\\rmoustache`,!0),A(j,N,Ze,`⎰`,`\\lmoustache`,!0),A(j,N,Ye,`⟯`,`\\rgroup`,!0),A(j,N,Ze,`⟮`,`\\lgroup`,!0),A(j,N,I,`∓`,`\\mp`,!0),A(j,N,I,`⊖`,`\\ominus`,!0),A(j,N,I,`⊎`,`\\uplus`,!0),A(j,N,I,`⊓`,`\\sqcap`,!0),A(j,N,I,`∗`,`\\ast`),A(j,N,I,`⊔`,`\\sqcup`,!0),A(j,N,I,`◯`,`\\bigcirc`,!0),A(j,N,I,`∙`,`\\bullet`,!0),A(j,N,I,`‡`,`\\ddagger`),A(j,N,I,`≀`,`\\wr`,!0),A(j,N,I,`⨿`,`\\amalg`),A(j,N,I,`&`,`\\And`),A(j,N,z,`⟵`,`\\longleftarrow`,!0),A(j,N,z,`⇐`,`\\Leftarrow`,!0),A(j,N,z,`⟸`,`\\Longleftarrow`,!0),A(j,N,z,`⟶`,`\\longrightarrow`,!0),A(j,N,z,`⇒`,`\\Rightarrow`,!0),A(j,N,z,`⟹`,`\\Longrightarrow`,!0),A(j,N,z,`↔`,`\\leftrightarrow`,!0),A(j,N,z,`⟷`,`\\longleftrightarrow`,!0),A(j,N,z,`⇔`,`\\Leftrightarrow`,!0),A(j,N,z,`⟺`,`\\Longleftrightarrow`,!0),A(j,N,z,`↦`,`\\mapsto`,!0),A(j,N,z,`⟼`,`\\longmapsto`,!0),A(j,N,z,`↗`,`\\nearrow`,!0),A(j,N,z,`↩`,`\\hookleftarrow`,!0),A(j,N,z,`↪`,`\\hookrightarrow`,!0),A(j,N,z,`↘`,`\\searrow`,!0),A(j,N,z,`↼`,`\\leftharpoonup`,!0),A(j,N,z,`⇀`,`\\rightharpoonup`,!0),A(j,N,z,`↙`,`\\swarrow`,!0),A(j,N,z,`↽`,`\\leftharpoondown`,!0),A(j,N,z,`⇁`,`\\rightharpoondown`,!0),A(j,N,z,`↖`,`\\nwarrow`,!0),A(j,N,z,`⇌`,`\\rightleftharpoons`,!0),A(j,P,z,`≮`,`\\nless`,!0),A(j,P,z,``,`\\@nleqslant`),A(j,P,z,``,`\\@nleqq`),A(j,P,z,`⪇`,`\\lneq`,!0),A(j,P,z,`≨`,`\\lneqq`,!0),A(j,P,z,``,`\\@lvertneqq`),A(j,P,z,`⋦`,`\\lnsim`,!0),A(j,P,z,`⪉`,`\\lnapprox`,!0),A(j,P,z,`⊀`,`\\nprec`,!0),A(j,P,z,`⋠`,`\\npreceq`,!0),A(j,P,z,`⋨`,`\\precnsim`,!0),A(j,P,z,`⪹`,`\\precnapprox`,!0),A(j,P,z,`≁`,`\\nsim`,!0),A(j,P,z,``,`\\@nshortmid`),A(j,P,z,`∤`,`\\nmid`,!0),A(j,P,z,`⊬`,`\\nvdash`,!0),A(j,P,z,`⊭`,`\\nvDash`,!0),A(j,P,z,`⋪`,`\\ntriangleleft`),A(j,P,z,`⋬`,`\\ntrianglelefteq`,!0),A(j,P,z,`⊊`,`\\subsetneq`,!0),A(j,P,z,``,`\\@varsubsetneq`),A(j,P,z,`⫋`,`\\subsetneqq`,!0),A(j,P,z,``,`\\@varsubsetneqq`),A(j,P,z,`≯`,`\\ngtr`,!0),A(j,P,z,``,`\\@ngeqslant`),A(j,P,z,``,`\\@ngeqq`),A(j,P,z,`⪈`,`\\gneq`,!0),A(j,P,z,`≩`,`\\gneqq`,!0),A(j,P,z,``,`\\@gvertneqq`),A(j,P,z,`⋧`,`\\gnsim`,!0),A(j,P,z,`⪊`,`\\gnapprox`,!0),A(j,P,z,`⊁`,`\\nsucc`,!0),A(j,P,z,`⋡`,`\\nsucceq`,!0),A(j,P,z,`⋩`,`\\succnsim`,!0),A(j,P,z,`⪺`,`\\succnapprox`,!0),A(j,P,z,`≆`,`\\ncong`,!0),A(j,P,z,``,`\\@nshortparallel`),A(j,P,z,`∦`,`\\nparallel`,!0),A(j,P,z,`⊯`,`\\nVDash`,!0),A(j,P,z,`⋫`,`\\ntriangleright`),A(j,P,z,`⋭`,`\\ntrianglerighteq`,!0),A(j,P,z,``,`\\@nsupseteqq`),A(j,P,z,`⊋`,`\\supsetneq`,!0),A(j,P,z,``,`\\@varsupsetneq`),A(j,P,z,`⫌`,`\\supsetneqq`,!0),A(j,P,z,``,`\\@varsupsetneqq`),A(j,P,z,`⊮`,`\\nVdash`,!0),A(j,P,z,`⪵`,`\\precneqq`,!0),A(j,P,z,`⪶`,`\\succneqq`,!0),A(j,P,z,``,`\\@nsubseteqq`),A(j,P,I,`⊴`,`\\unlhd`),A(j,P,I,`⊵`,`\\unrhd`),A(j,P,z,`↚`,`\\nleftarrow`,!0),A(j,P,z,`↛`,`\\nrightarrow`,!0),A(j,P,z,`⇍`,`\\nLeftarrow`,!0),A(j,P,z,`⇏`,`\\nRightarrow`,!0),A(j,P,z,`↮`,`\\nleftrightarrow`,!0),A(j,P,z,`⇎`,`\\nLeftrightarrow`,!0),A(j,P,z,`△`,`\\vartriangle`),A(j,P,B,`ℏ`,`\\hslash`),A(j,P,B,`▽`,`\\triangledown`),A(j,P,B,`◊`,`\\lozenge`),A(j,P,B,`Ⓢ`,`\\circledS`),A(j,P,B,`®`,`\\circledR`),A(M,P,B,`®`,`\\circledR`),A(j,P,B,`∡`,`\\measuredangle`,!0),A(j,P,B,`∄`,`\\nexists`),A(j,P,B,`℧`,`\\mho`),A(j,P,B,`Ⅎ`,`\\Finv`,!0),A(j,P,B,`⅁`,`\\Game`,!0),A(j,P,B,`‵`,`\\backprime`),A(j,P,B,`▲`,`\\blacktriangle`),A(j,P,B,`▼`,`\\blacktriangledown`),A(j,P,B,`■`,`\\blacksquare`),A(j,P,B,`⧫`,`\\blacklozenge`),A(j,P,B,`★`,`\\bigstar`),A(j,P,B,`∢`,`\\sphericalangle`,!0),A(j,P,B,`∁`,`\\complement`,!0),A(j,P,B,`ð`,`\\eth`,!0),A(M,N,B,`ð`,`ð`),A(j,P,B,`╱`,`\\diagup`),A(j,P,B,`╲`,`\\diagdown`),A(j,P,B,`□`,`\\square`),A(j,P,B,`□`,`\\Box`),A(j,P,B,`◊`,`\\Diamond`),A(j,P,B,`¥`,`\\yen`,!0),A(M,P,B,`¥`,`\\yen`,!0),A(j,P,B,`✓`,`\\checkmark`,!0),A(M,P,B,`✓`,`\\checkmark`),A(j,P,B,`ℶ`,`\\beth`,!0),A(j,P,B,`ℸ`,`\\daleth`,!0),A(j,P,B,`ℷ`,`\\gimel`,!0),A(j,P,B,`ϝ`,`\\digamma`,!0),A(j,P,B,`ϰ`,`\\varkappa`),A(j,P,Ze,`┌`,`\\@ulcorner`,!0),A(j,P,Ye,`┐`,`\\@urcorner`,!0),A(j,P,Ze,`└`,`\\@llcorner`,!0),A(j,P,Ye,`┘`,`\\@lrcorner`,!0),A(j,P,z,`≦`,`\\leqq`,!0),A(j,P,z,`⩽`,`\\leqslant`,!0),A(j,P,z,`⪕`,`\\eqslantless`,!0),A(j,P,z,`≲`,`\\lesssim`,!0),A(j,P,z,`⪅`,`\\lessapprox`,!0),A(j,P,z,`≊`,`\\approxeq`,!0),A(j,P,I,`⋖`,`\\lessdot`),A(j,P,z,`⋘`,`\\lll`,!0),A(j,P,z,`≶`,`\\lessgtr`,!0),A(j,P,z,`⋚`,`\\lesseqgtr`,!0),A(j,P,z,`⪋`,`\\lesseqqgtr`,!0),A(j,P,z,`≑`,`\\doteqdot`),A(j,P,z,`≓`,`\\risingdotseq`,!0),A(j,P,z,`≒`,`\\fallingdotseq`,!0),A(j,P,z,`∽`,`\\backsim`,!0),A(j,P,z,`⋍`,`\\backsimeq`,!0),A(j,P,z,`⫅`,`\\subseteqq`,!0),A(j,P,z,`⋐`,`\\Subset`,!0),A(j,P,z,`⊏`,`\\sqsubset`,!0),A(j,P,z,`≼`,`\\preccurlyeq`,!0),A(j,P,z,`⋞`,`\\curlyeqprec`,!0),A(j,P,z,`≾`,`\\precsim`,!0),A(j,P,z,`⪷`,`\\precapprox`,!0),A(j,P,z,`⊲`,`\\vartriangleleft`),A(j,P,z,`⊴`,`\\trianglelefteq`),A(j,P,z,`⊨`,`\\vDash`,!0),A(j,P,z,`⊪`,`\\Vvdash`,!0),A(j,P,z,`⌣`,`\\smallsmile`),A(j,P,z,`⌢`,`\\smallfrown`),A(j,P,z,`≏`,`\\bumpeq`,!0),A(j,P,z,`≎`,`\\Bumpeq`,!0),A(j,P,z,`≧`,`\\geqq`,!0),A(j,P,z,`⩾`,`\\geqslant`,!0),A(j,P,z,`⪖`,`\\eqslantgtr`,!0),A(j,P,z,`≳`,`\\gtrsim`,!0),A(j,P,z,`⪆`,`\\gtrapprox`,!0),A(j,P,I,`⋗`,`\\gtrdot`),A(j,P,z,`⋙`,`\\ggg`,!0),A(j,P,z,`≷`,`\\gtrless`,!0),A(j,P,z,`⋛`,`\\gtreqless`,!0),A(j,P,z,`⪌`,`\\gtreqqless`,!0),A(j,P,z,`≖`,`\\eqcirc`,!0),A(j,P,z,`≗`,`\\circeq`,!0),A(j,P,z,`≜`,`\\triangleq`,!0),A(j,P,z,`∼`,`\\thicksim`),A(j,P,z,`≈`,`\\thickapprox`),A(j,P,z,`⫆`,`\\supseteqq`,!0),A(j,P,z,`⋑`,`\\Supset`,!0),A(j,P,z,`⊐`,`\\sqsupset`,!0),A(j,P,z,`≽`,`\\succcurlyeq`,!0),A(j,P,z,`⋟`,`\\curlyeqsucc`,!0),A(j,P,z,`≿`,`\\succsim`,!0),A(j,P,z,`⪸`,`\\succapprox`,!0),A(j,P,z,`⊳`,`\\vartriangleright`),A(j,P,z,`⊵`,`\\trianglerighteq`),A(j,P,z,`⊩`,`\\Vdash`,!0),A(j,P,z,`∣`,`\\shortmid`),A(j,P,z,`∥`,`\\shortparallel`),A(j,P,z,`≬`,`\\between`,!0),A(j,P,z,`⋔`,`\\pitchfork`,!0),A(j,P,z,`∝`,`\\varpropto`),A(j,P,z,`◀`,`\\blacktriangleleft`),A(j,P,z,`∴`,`\\therefore`,!0),A(j,P,z,`∍`,`\\backepsilon`),A(j,P,z,`▶`,`\\blacktriangleright`),A(j,P,z,`∵`,`\\because`,!0),A(j,P,z,`⋘`,`\\llless`),A(j,P,z,`⋙`,`\\gggtr`),A(j,P,I,`⊲`,`\\lhd`),A(j,P,I,`⊳`,`\\rhd`),A(j,P,z,`≂`,`\\eqsim`,!0),A(j,N,z,`⋈`,`\\Join`),A(j,P,z,`≑`,`\\Doteq`,!0),A(j,P,I,`∔`,`\\dotplus`,!0),A(j,P,I,`∖`,`\\smallsetminus`),A(j,P,I,`⋒`,`\\Cap`,!0),A(j,P,I,`⋓`,`\\Cup`,!0),A(j,P,I,`⩞`,`\\doublebarwedge`,!0),A(j,P,I,`⊟`,`\\boxminus`,!0),A(j,P,I,`⊞`,`\\boxplus`,!0),A(j,P,I,`⋇`,`\\divideontimes`,!0),A(j,P,I,`⋉`,`\\ltimes`,!0),A(j,P,I,`⋊`,`\\rtimes`,!0),A(j,P,I,`⋋`,`\\leftthreetimes`,!0),A(j,P,I,`⋌`,`\\rightthreetimes`,!0),A(j,P,I,`⋏`,`\\curlywedge`,!0),A(j,P,I,`⋎`,`\\curlyvee`,!0),A(j,P,I,`⊝`,`\\circleddash`,!0),A(j,P,I,`⊛`,`\\circledast`,!0),A(j,P,I,`⋅`,`\\centerdot`),A(j,P,I,`⊺`,`\\intercal`,!0),A(j,P,I,`⋒`,`\\doublecap`),A(j,P,I,`⋓`,`\\doublecup`),A(j,P,I,`⊠`,`\\boxtimes`,!0),A(j,P,z,`⇢`,`\\dashrightarrow`,!0),A(j,P,z,`⇠`,`\\dashleftarrow`,!0),A(j,P,z,`⇇`,`\\leftleftarrows`,!0),A(j,P,z,`⇆`,`\\leftrightarrows`,!0),A(j,P,z,`⇚`,`\\Lleftarrow`,!0),A(j,P,z,`↞`,`\\twoheadleftarrow`,!0),A(j,P,z,`↢`,`\\leftarrowtail`,!0),A(j,P,z,`↫`,`\\looparrowleft`,!0),A(j,P,z,`⇋`,`\\leftrightharpoons`,!0),A(j,P,z,`↶`,`\\curvearrowleft`,!0),A(j,P,z,`↺`,`\\circlearrowleft`,!0),A(j,P,z,`↰`,`\\Lsh`,!0),A(j,P,z,`⇈`,`\\upuparrows`,!0),A(j,P,z,`↿`,`\\upharpoonleft`,!0),A(j,P,z,`⇃`,`\\downharpoonleft`,!0),A(j,N,z,`⊶`,`\\origof`,!0),A(j,N,z,`⊷`,`\\imageof`,!0),A(j,P,z,`⊸`,`\\multimap`,!0),A(j,P,z,`↭`,`\\leftrightsquigarrow`,!0),A(j,P,z,`⇉`,`\\rightrightarrows`,!0),A(j,P,z,`⇄`,`\\rightleftarrows`,!0),A(j,P,z,`↠`,`\\twoheadrightarrow`,!0),A(j,P,z,`↣`,`\\rightarrowtail`,!0),A(j,P,z,`↬`,`\\looparrowright`,!0),A(j,P,z,`↷`,`\\curvearrowright`,!0),A(j,P,z,`↻`,`\\circlearrowright`,!0),A(j,P,z,`↱`,`\\Rsh`,!0),A(j,P,z,`⇊`,`\\downdownarrows`,!0),A(j,P,z,`↾`,`\\upharpoonright`,!0),A(j,P,z,`⇂`,`\\downharpoonright`,!0),A(j,P,z,`⇝`,`\\rightsquigarrow`,!0),A(j,P,z,`⇝`,`\\leadsto`),A(j,P,z,`⇛`,`\\Rrightarrow`,!0),A(j,P,z,`↾`,`\\restriction`),A(j,N,B,`‘`,"`"),A(j,N,B,`$`,`\\$`),A(M,N,B,`$`,`\\$`),A(M,N,B,`$`,`\\textdollar`),A(j,N,B,`%`,`\\%`),A(M,N,B,`%`,`\\%`),A(j,N,B,`_`,`\\_`),A(M,N,B,`_`,`\\_`),A(M,N,B,`_`,`\\textunderscore`),A(j,N,B,`∠`,`\\angle`,!0),A(j,N,B,`∞`,`\\infty`,!0),A(j,N,B,`′`,`\\prime`),A(j,N,B,`△`,`\\triangle`),A(j,N,B,`Γ`,`\\Gamma`,!0),A(j,N,B,`Δ`,`\\Delta`,!0),A(j,N,B,`Θ`,`\\Theta`,!0),A(j,N,B,`Λ`,`\\Lambda`,!0),A(j,N,B,`Ξ`,`\\Xi`,!0),A(j,N,B,`Π`,`\\Pi`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`ψ`,`\\psi`,!0),A(j,N,L,`ω`,`\\omega`,!0),A(j,N,L,`ε`,`\\varepsilon`,!0),A(j,N,L,`ϑ`,`\\vartheta`,!0),A(j,N,L,`ϖ`,`\\varpi`,!0),A(j,N,L,`ϱ`,`\\varrho`,!0),A(j,N,L,`ς`,`\\varsigma`,!0),A(j,N,L,`φ`,`\\varphi`,!0),A(j,N,I,`∗`,`*`,!0),A(j,N,I,`+`,`+`),A(j,N,I,`−`,`-`,!0),A(j,N,I,`⋅`,`\\cdot`,!0),A(j,N,I,`∘`,`\\circ`,!0),A(j,N,I,`÷`,`\\div`,!0),A(j,N,I,`±`,`\\pm`,!0),A(j,N,I,`×`,`\\times`,!0),A(j,N,I,`∩`,`\\cap`,!0),A(j,N,I,`∪`,`\\cup`,!0),A(j,N,I,`∖`,`\\setminus`,!0),A(j,N,I,`∧`,`\\land`),A(j,N,I,`∨`,`\\lor`),A(j,N,I,`∧`,`\\wedge`,!0),A(j,N,I,`∨`,`\\vee`,!0),A(j,N,B,`√`,`\\surd`),A(j,N,Ze,`⟨`,`\\langle`,!0),A(j,N,Ze,`∣`,`\\lvert`),A(j,N,Ze,`∥`,`\\lVert`),A(j,N,Ye,`?`,`?`),A(j,N,Ye,`!`,`!`),A(j,N,Ye,`⟩`,`\\rangle`,!0),A(j,N,Ye,`∣`,`\\rvert`),A(j,N,Ye,`∥`,`\\rVert`),A(j,N,z,`=`,`=`),A(j,N,z,`:`,`:`),A(j,N,z,`≈`,`\\approx`,!0),A(j,N,z,`≅`,`\\cong`,!0),A(j,N,z,`≥`,`\\ge`),A(j,N,z,`≥`,`\\geq`,!0),A(j,N,z,`←`,`\\gets`),A(j,N,z,`>`,`\\gt`,!0),A(j,N,z,`∈`,`\\in`,!0),A(j,N,z,``,`\\@not`),A(j,N,z,`⊂`,`\\subset`,!0),A(j,N,z,`⊃`,`\\supset`,!0),A(j,N,z,`⊆`,`\\subseteq`,!0),A(j,N,z,`⊇`,`\\supseteq`,!0),A(j,P,z,`⊈`,`\\nsubseteq`,!0),A(j,P,z,`⊉`,`\\nsupseteq`,!0),A(j,N,z,`⊨`,`\\models`),A(j,N,z,`←`,`\\leftarrow`,!0),A(j,N,z,`≤`,`\\le`),A(j,N,z,`≤`,`\\leq`,!0),A(j,N,z,`<`,`\\lt`,!0),A(j,N,z,`→`,`\\rightarrow`,!0),A(j,N,z,`→`,`\\to`),A(j,P,z,`≱`,`\\ngeq`,!0),A(j,P,z,`≰`,`\\nleq`,!0),A(j,N,$e,`\xA0`,`\\ `),A(j,N,$e,`\xA0`,`\\space`),A(j,N,$e,`\xA0`,`\\nobreakspace`),A(M,N,$e,`\xA0`,`\\ `),A(M,N,$e,`\xA0`,` `),A(M,N,$e,`\xA0`,`\\space`),A(M,N,$e,`\xA0`,`\\nobreakspace`),A(j,N,$e,null,`\\nobreak`),A(j,N,$e,null,`\\allowbreak`),A(j,N,Qe,`,`,`,`),A(j,N,Qe,`;`,`;`),A(j,P,I,`⊼`,`\\barwedge`,!0),A(j,P,I,`⊻`,`\\veebar`,!0),A(j,N,I,`⊙`,`\\odot`,!0),A(j,N,I,`⊕`,`\\oplus`,!0),A(j,N,I,`⊗`,`\\otimes`,!0),A(j,N,B,`∂`,`\\partial`,!0),A(j,N,I,`⊘`,`\\oslash`,!0),A(j,P,I,`⊚`,`\\circledcirc`,!0),A(j,P,I,`⊡`,`\\boxdot`,!0),A(j,N,I,`△`,`\\bigtriangleup`),A(j,N,I,`▽`,`\\bigtriangledown`),A(j,N,I,`†`,`\\dagger`),A(j,N,I,`⋄`,`\\diamond`),A(j,N,I,`⋆`,`\\star`),A(j,N,I,`◃`,`\\triangleleft`),A(j,N,I,`▹`,`\\triangleright`),A(j,N,Ze,`{`,`\\{`),A(M,N,B,`{`,`\\{`),A(M,N,B,`{`,`\\textbraceleft`),A(j,N,Ye,`}`,`\\}`),A(M,N,B,`}`,`\\}`),A(M,N,B,`}`,`\\textbraceright`),A(j,N,Ze,`{`,`\\lbrace`),A(j,N,Ye,`}`,`\\rbrace`),A(j,N,Ze,`[`,`\\lbrack`,!0),A(M,N,B,`[`,`\\lbrack`,!0),A(j,N,Ye,`]`,`\\rbrack`,!0),A(M,N,B,`]`,`\\rbrack`,!0),A(j,N,Ze,`(`,`\\lparen`,!0),A(j,N,Ye,`)`,`\\rparen`,!0),A(M,N,B,`<`,`\\textless`,!0),A(M,N,B,`>`,`\\textgreater`,!0),A(j,N,Ze,`⌊`,`\\lfloor`,!0),A(j,N,Ye,`⌋`,`\\rfloor`,!0),A(j,N,Ze,`⌈`,`\\lceil`,!0),A(j,N,Ye,`⌉`,`\\rceil`,!0),A(j,N,B,`\\`,`\\backslash`),A(j,N,B,`∣`,`|`),A(j,N,B,`∣`,`\\vert`),A(M,N,B,`|`,`\\textbar`,!0),A(j,N,B,`∥`,`\\|`),A(j,N,B,`∥`,`\\Vert`),A(M,N,B,`∥`,`\\textbardbl`),A(M,N,B,`~`,`\\textasciitilde`),A(M,N,B,`\\`,`\\textbackslash`),A(M,N,B,`^`,`\\textasciicircum`),A(j,N,z,`↑`,`\\uparrow`,!0),A(j,N,z,`⇑`,`\\Uparrow`,!0),A(j,N,z,`↓`,`\\downarrow`,!0),A(j,N,z,`⇓`,`\\Downarrow`,!0),A(j,N,z,`↕`,`\\updownarrow`,!0),A(j,N,z,`⇕`,`\\Updownarrow`,!0),A(j,N,R,`∐`,`\\coprod`),A(j,N,R,`⋁`,`\\bigvee`),A(j,N,R,`⋀`,`\\bigwedge`),A(j,N,R,`⨄`,`\\biguplus`),A(j,N,R,`⋂`,`\\bigcap`),A(j,N,R,`⋃`,`\\bigcup`),A(j,N,R,`∫`,`\\int`),A(j,N,R,`∫`,`\\intop`),A(j,N,R,`∬`,`\\iint`),A(j,N,R,`∭`,`\\iiint`),A(j,N,R,`∏`,`\\prod`),A(j,N,R,`∑`,`\\sum`),A(j,N,R,`⨂`,`\\bigotimes`),A(j,N,R,`⨁`,`\\bigoplus`),A(j,N,R,`⨀`,`\\bigodot`),A(j,N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F,`¨`,`\\"`),A(M,N,F,`˝`,`\\H`),A(M,N,F,`◯`,`\\textcircled`);var et={"--":!0,"---":!0,"``":!0,"''":!0};A(M,N,B,`–`,`--`,!0),A(M,N,B,`–`,`\\textendash`),A(M,N,B,`—`,`---`,!0),A(M,N,B,`—`,`\\textemdash`),A(M,N,B,`‘`,"`",!0),A(M,N,B,`‘`,`\\textquoteleft`),A(M,N,B,`’`,`'`,!0),A(M,N,B,`’`,`\\textquoteright`),A(M,N,B,`“`,"``",!0),A(M,N,B,`“`,`\\textquotedblleft`),A(M,N,B,`”`,`''`,!0),A(M,N,B,`”`,`\\textquotedblright`),A(j,N,B,`°`,`\\degree`,!0),A(M,N,B,`°`,`\\degree`),A(M,N,B,`°`,`\\textdegree`,!0),A(j,N,B,`£`,`\\pounds`),A(j,N,B,`£`,`\\mathsterling`,!0),A(M,N,B,`£`,`\\pounds`),A(M,N,B,`£`,`\\textsterling`,!0),A(j,P,B,`✠`,`\\maltese`),A(M,P,B,`✠`,`\\maltese`);for(var tt=`0123456789/@."`,nt=0;nt{var r=t.charCodeAt(0),i=t.charCodeAt(1),a=(r-55296)*1024+(i-56320)+65536,o=n===`math`?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[gt[s][2],gt[s][o]]}else if(120782<=a&&a<=120831){var c=Math.floor((a-120782)/10);return[_t[c][2],_t[c][o]]}else if(a===120485||a===120486)return[gt[0][2],gt[0][o]];else if(1204860)return bt(i,c,r,t,a.concat(l));if(s){var u,d;if(s===`boldsymbol`){var f=St(i,r,t,a,n);u=f.fontName,d=[f.fontClass]}else o?(u=Ft[s].fontName,d=[s]):(u=Pt(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(yt(i,u,r).metrics)return bt(i,u,r,t,a.concat(d));if(et.hasOwnProperty(i)&&u.slice(0,10)===`Typewriter`){for(var p=[],m=0;m{if(we(e.classes)!==we(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass(`mathnormal`))return!1;if(e.classes.length===1){var n=e.classes[0];if(n===`mbin`||n===`mord`)return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},Tt=e=>{for(var t=0;tt&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},U=function(e,t,n,r){var i=new ke(e,t,n,r);return Et(i),i},Dt=(e,t,n,r)=>new ke(e,t,n,r),Ot=function(e,t,n){var r=U([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=O(r.height),r.maxFontSize=1,r},kt=function(e,t,n,r){var i=new Ae(e,t,n,r);return Et(i),i},At=function(e){var t=new be(e);return Et(t),t},jt=function(e,t){return e instanceof be?U([],[e],t):e},Mt=function(e){if(e.positionType===`individualShift`){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a{var n=U([`mspace`],[],t),r=D(e,t);return n.style.marginRight=O(r),n},Pt=function(e,t,n){var r=``;switch(e){case`amsrm`:r=`AMS`;break;case`textrm`:r=`Main`;break;case`textsf`:r=`SansSerif`;break;case`texttt`:r=`Typewriter`;break;default:r=e}var i=t===`textbf`&&n===`textit`?`BoldItalic`:t===`textbf`?`Bold`:t===`textit`?`Italic`:`Regular`;return r+`-`+i},Ft={mathbf:{variant:`bold`,fontName:`Main-Bold`},mathrm:{variant:`normal`,fontName:`Main-Regular`},textit:{variant:`italic`,fontName:`Main-Italic`},mathit:{variant:`italic`,fontName:`Main-Italic`},mathnormal:{variant:`italic`,fontName:`Math-Italic`},mathsfit:{variant:`sans-serif-italic`,fontName:`SansSerif-Italic`},mathbb:{variant:`double-struck`,fontName:`AMS-Regular`},mathcal:{variant:`script`,fontName:`Caligraphic-Regular`},mathfrak:{variant:`fraktur`,fontName:`Fraktur-Regular`},mathscr:{variant:`script`,fontName:`Script-Regular`},mathsf:{variant:`sans-serif`,fontName:`SansSerif-Regular`},mathtt:{variant:`monospace`,fontName:`Typewriter-Regular`}},It={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},Lt=function(e,t){var[n,r,i]=It[e],a=Dt([`overlay`],[new Pe([new Fe(n)],{width:O(r),height:O(i),style:`width:`+O(r),viewBox:`0 0 `+1e3*r+` `+1e3*i,preserveAspectRatio:`xMinYMin`})],t);return a.height=i,a.style.height=O(i),a.style.width=O(r),a},G={number:3,unit:`mu`},Rt={number:4,unit:`mu`},zt={number:5,unit:`mu`},Bt={mord:{mop:G,mbin:Rt,mrel:zt,minner:G},mop:{mord:G,mop:G,mrel:zt,minner:G},mbin:{mord:Rt,mop:Rt,mopen:Rt,minner:Rt},mrel:{mord:zt,mop:zt,mopen:zt,minner:zt},mopen:{},mclose:{mop:G,mbin:Rt,mrel:zt,minner:G},mpunct:{mord:G,mop:G,mrel:zt,mopen:G,mclose:G,mpunct:G,minner:G},minner:{mord:G,mop:G,mbin:Rt,mrel:zt,mopen:G,mpunct:G,minner:G}},Vt={mord:{mop:G},mop:{mord:G,mop:G},mbin:{},mrel:{},mopen:{},mclose:{mop:G},mpunct:{},minner:{mop:G}},Ht={},Ut={},Wt={};function K(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},c=0;c{var n=t.classes[0],r=e.classes[0];n===`mbin`&&Jt.has(r)?t.classes[0]=`mord`:r===`mbin`&&qt.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),Qt(i,(e,t)=>{var n=tn(t),r=tn(e),i=n&&r?e.hasClass(`mtight`)?Vt[n]?.[r]:Bt[n]?.[r]:null;if(i)return Nt(i,c)},{node:u},d,f),i},Qt=function(e,t,n,r,i){r&&e.push(r);for(var a=0;an=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},$t=function(e){return e instanceof be||e instanceof Ae||e instanceof ke&&e.hasClass(`enclosing`)?e:null},en=function(e,t){var n=$t(e);if(n){var r=n.children;if(r.length){if(t===`right`)return en(r[r.length-1],`right`);if(t===`left`)return en(r[0],`left`)}}return e},tn=function(e,t){return e?(t&&(e=en(e,t)),Xt[e.classes[0]]||null):null},nn=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return U(t.concat(n))},J=function(t,n,r){if(!t)return U();if(Ut[t.type]){var i=Ut[t.type](t,n);if(r&&n.size!==r.size){i=U(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new e(`Got group of unknown type: '`+t.type+`'`)};function rn(e,t){var n=U([`base`],e,t),r=U([`strut`]);return r.style.height=O(n.height+n.depth),n.depth&&(r.style.verticalAlign=O(-n.depth)),n.children.unshift(r),n}function an(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=Zt(e,t,`root`),i;r.length===2&&r[1].hasClass(`tag`)&&(i=r.pop());for(var a=[],o=[],s=0;s0&&(a.push(rn(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(rn(o,t));var l;n?(l=rn(Zt(n,t,!0),t),l.classes=[`tag`],a.push(l)):i&&a.push(i);var u=U([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=O(u.height+u.depth),u.depth&&(d.style.verticalAlign=O(-u.depth))}return u}function on(e){return new be(e)}var Y=class{constructor(e,t,n){this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=we(this.classes));for(var n=0;n0&&(e+=` class ="`+a(we(this.classes))+`"`),e+=`>`;for(var n=0;n`,e}toText(){return this.children.map(e=>e.toText()).join(``)}},X=class{constructor(e){this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return a(this.toText())}toText(){return this.text}},sn=class{constructor(e){this.width=e,e>=.05555&&e<=.05556?this.character=` `:e>=.1666&&e<=.1667?this.character=` `:e>=.2222&&e<=.2223?this.character=` `:e>=.2777&&e<=.2778?this.character=`  `:e>=-.05556&&e<=-.05555?this.character=` ⁣`:e>=-.1667&&e<=-.1666?this.character=` ⁣`:e>=-.2223&&e<=-.2222?this.character=` ⁣`:e>=-.2778&&e<=-.2777?this.character=` ⁣`:this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`mspace`);return e.setAttribute(`width`,O(this.width)),e}toMarkup(){return this.character?``+this.character+``:``}toText(){return this.character?this.character:` `}},cn=new Set([`\\imath`,`\\jmath`]),ln=new Set([`mrow`,`mtable`]),un=function(e,t,n){return k[t][e]&&k[t][e].replace&&e.charCodeAt(0)!==55349&&!(et.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)===`tt`||n.font&&n.font.slice(4,6)===`tt`))&&(e=k[t][e].replace),new X(e)},dn=function(e){return e.length===1?e[0]:new Y(`mrow`,e)},fn=function(e,t){if(t.fontFamily===`texttt`)return`monospace`;if(t.fontFamily===`textsf`)return t.fontShape===`textit`&&t.fontWeight===`textbf`?`sans-serif-bold-italic`:t.fontShape===`textit`?`sans-serif-italic`:t.fontWeight===`textbf`?`bold-sans-serif`:`sans-serif`;if(t.fontShape===`textit`&&t.fontWeight===`textbf`)return`bold-italic`;if(t.fontShape===`textit`)return`italic`;if(t.fontWeight===`textbf`)return`bold`;var n=t.font;if(!n||n===`mathnormal`)return null;var r=e.mode;if(n===`mathit`)return`italic`;if(n===`boldsymbol`)return e.type===`textord`?`bold`:`bold-italic`;if(n===`mathbf`)return`bold`;if(n===`mathbb`)return`double-struck`;if(n===`mathsfit`)return`sans-serif-italic`;if(n===`mathfrak`)return`fraktur`;if(n===`mathscr`||n===`mathcal`)return`script`;if(n===`mathsf`)return`sans-serif`;if(n===`mathtt`)return`monospace`;var i=e.text;if(cn.has(i))return null;if(k[r][i]){var a=k[r][i].replace;a&&(i=a)}var o=Ft[n].fontName;return We(i,o,r)?Ft[n].variant:null};function pn(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof X&&t.text===`.`}else if(e.type===`mo`&&e.children.length===1&&e.getAttribute(`separator`)===`true`&&e.getAttribute(`lspace`)===`0em`&&e.getAttribute(`rspace`)===`0em`){var n=e.children[0];return n instanceof X&&n.text===`,`}else return!1}var mn=function(e,t,n){if(e.length===1){var r=Z(e[0],t);return n&&r instanceof Y&&r.type===`mo`&&(r.setAttribute(`lspace`,`0em`),r.setAttribute(`rspace`,`0em`)),[r]}for(var i=[],a,o=0;o=1&&(a.type===`mn`||pn(a))){var c=s.children[0];c instanceof Y&&c.type===`mn`&&(c.children=[...a.children,...c.children],i.pop())}else if(a.type===`mi`&&a.children.length===1){var l=a.children[0];if(l instanceof X&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof X&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},hn=function(e,t,n){return dn(mn(e,t,n))},Z=function(t,n){if(!t)return new Y(`mrow`);if(Wt[t.type])return Wt[t.type](t,n);throw new e(`Got group of unknown type: '`+t.type+`'`)};function gn(e,t,n,r,i){var a=mn(e,n),o=a.length===1&&a[0]instanceof Y&&ln.has(a[0].type)?a[0]:new Y(`mrow`,a),s=new Y(`annotation`,[new X(t)]);s.setAttribute(`encoding`,`application/x-tex`);var c=new Y(`math`,[new Y(`semantics`,[o,s])]);return c.setAttribute(`xmlns`,`http://www.w3.org/1998/Math/MathML`),r&&c.setAttribute(`display`,`block`),U([i?`katex`:`katex-mathml`],[c])}var _n=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],vn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],yn=function(e,t){return t.size<2?e:_n[e-1][t.size-1]},bn=class e{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||``,this.fontFamily=t.fontFamily||``,this.fontWeight=t.fontWeight||``,this.fontShape=t.fontShape||``,this.sizeMultiplier=vn[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new e(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:yn(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:vn[e-1]})}havingBaseStyle(t){t=t||this.style.text();var n=yn(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:``})}withTextFontWeight(e){return this.extend({fontWeight:e,font:``})}withTextFontShape(e){return this.extend({fontShape:e,font:``})}sizingClasses(e){return e.size===this.size?[]:[`sizing`,`reset-size`+e.size,`size`+this.size]}baseSizingClasses(){return this.size===e.BASESIZE?[]:[`sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Ke(this.size)),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};bn.BASESIZE=6;var xn=function(e){return new bn({style:e.displayMode?T.DISPLAY:T.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Sn=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=U(n,[e])}return e},Cn=function(e,t,n){var r=xn(n),i;return n.output===`mathml`?gn(e,t,r,n.displayMode,!0):(i=n.output===`html`?U([`katex`],[an(e,r)]):U([`katex`],[gn(e,t,r,n.displayMode,!1),an(e,r)]),Sn(i,n))},wn=function(e,t,n){return Sn(U([`katex`],[an(e,xn(n))]),n)},Tn={widehat:`^`,widecheck:`ˇ`,widetilde:`~`,utilde:`~`,overleftarrow:`←`,underleftarrow:`←`,xleftarrow:`←`,overrightarrow:`→`,underrightarrow:`→`,xrightarrow:`→`,underbrace:`⏟`,overbrace:`⏞`,underbracket:`⎵`,overbracket:`⎴`,overgroup:`⏠`,undergroup:`⏡`,overleftrightarrow:`↔`,underleftrightarrow:`↔`,xleftrightarrow:`↔`,Overrightarrow:`⇒`,xRightarrow:`⇒`,overleftharpoon:`↼`,xleftharpoonup:`↼`,overrightharpoon:`⇀`,xrightharpoonup:`⇀`,xLeftarrow:`⇐`,xLeftrightarrow:`⇔`,xhookleftarrow:`↩`,xhookrightarrow:`↪`,xmapsto:`↦`,xrightharpoondown:`⇁`,xleftharpoondown:`↽`,xrightleftharpoons:`⇌`,xleftrightharpoons:`⇋`,xtwoheadleftarrow:`↞`,xtwoheadrightarrow:`↠`,xlongequal:`=`,xtofrom:`⇄`,xrightleftarrows:`⇄`,xrightequilibrium:`⇌`,xleftequilibrium:`⇋`,"\\cdrightarrow":`→`,"\\cdleftarrow":`←`,"\\cdlongequal":`=`},En=function(e){var t=new Y(`mo`,[new X(Tn[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},Dn={overrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],overleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],underrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],underleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],xrightarrow:[[`rightarrow`],1.469,522,`xMaxYMin`],"\\cdrightarrow":[[`rightarrow`],3,522,`xMaxYMin`],xleftarrow:[[`leftarrow`],1.469,522,`xMinYMin`],"\\cdleftarrow":[[`leftarrow`],3,522,`xMinYMin`],Overrightarrow:[[`doublerightarrow`],.888,560,`xMaxYMin`],xRightarrow:[[`doublerightarrow`],1.526,560,`xMaxYMin`],xLeftarrow:[[`doubleleftarrow`],1.526,560,`xMinYMin`],overleftharpoon:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoonup:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoondown:[[`leftharpoondown`],.888,522,`xMinYMin`],overrightharpoon:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoonup:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoondown:[[`rightharpoondown`],.888,522,`xMaxYMin`],xlongequal:[[`longequal`],.888,334,`xMinYMin`],"\\cdlongequal":[[`longequal`],3,334,`xMinYMin`],xtwoheadleftarrow:[[`twoheadleftarrow`],.888,334,`xMinYMin`],xtwoheadrightarrow:[[`twoheadrightarrow`],.888,334,`xMaxYMin`],overleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],overbrace:[[`leftbrace`,`midbrace`,`rightbrace`],1.6,548],underbrace:[[`leftbraceunder`,`midbraceunder`,`rightbraceunder`],1.6,548],underleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],xleftrightarrow:[[`leftarrow`,`rightarrow`],1.75,522],xLeftrightarrow:[[`doubleleftarrow`,`doublerightarrow`],1.75,560],xrightleftharpoons:[[`leftharpoondownplus`,`rightharpoonplus`],1.75,716],xleftrightharpoons:[[`leftharpoonplus`,`rightharpoondownplus`],1.75,716],xhookleftarrow:[[`leftarrow`,`righthook`],1.08,522],xhookrightarrow:[[`lefthook`,`rightarrow`],1.08,522],overlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],underlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],overbracket:[[`leftbracketover`,`rightbracketover`],1.6,440],underbracket:[[`leftbracketunder`,`rightbracketunder`],1.6,410],overgroup:[[`leftgroup`,`rightgroup`],.888,342],undergroup:[[`leftgroupunder`,`rightgroupunder`],.888,342],xmapsto:[[`leftmapsto`,`rightarrow`],1.5,522],xtofrom:[[`leftToFrom`,`rightToFrom`],1.75,528],xrightleftarrows:[[`baraboveleftarrow`,`rightarrowabovebar`],1.75,901],xrightequilibrium:[[`baraboveshortleftharpoon`,`rightharpoonaboveshortbar`],1.75,716],xleftequilibrium:[[`shortbaraboveleftharpoon`,`shortrightharpoonabovebar`],1.75,716]},On=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),kn=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(On.has(r)){var i=e,a=i.base.type===`ordgroup`?i.base.body.length:1,o,s,c;if(a>5)r===`widehat`||r===`widecheck`?(o=420,n=2364,c=.42,s=r+`4`):(o=312,n=2340,c=.34,s=`tilde4`);else{var l=[1,1,2,2,3,3][a];r===`widehat`||r===`widecheck`?(n=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],c=[0,.24,.3,.3,.36,.42][l],s=r+l):(n=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],c=[0,.26,.286,.3,.306,.34][l],s=`tilde`+l)}return{span:Dt([],[new Pe([new Fe(s)],{width:`100%`,height:O(c),viewBox:`0 0 `+n+` `+o,preserveAspectRatio:`none`})],t),minWidth:0,height:c}}else{var u=[],d=Dn[r],[f,p,m]=d,h=m/1e3,g=f.length,_,v;if(g===1){var y=d[3];_=[`hide-tail`],v=[y]}else if(g===2)_=[`halfarrow-left`,`halfarrow-right`],v=[`xMinYMin`,`xMaxYMin`];else if(g===3)_=[`brace-left`,`brace-center`,`brace-right`],v=[`xMinYMin`,`xMidYMin`,`xMaxYMin`];else throw Error(`Correct katexImagesData or update code here to support + `+g+` children.`);for(var b=0;b0&&(r.style.minWidth=O(i)),r},An=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=U([`stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new Ie({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new Ie({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=Dt([],[new Pe(c,{width:`100%`,height:O(o)})],i)}return a.height=o,a.style.height=O(o),a};function Q(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function jn(e){var t=Mn(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function Mn(e){return e&&(e.type===`atom`||Je.hasOwnProperty(e.type))?e:null}var Nn=e=>{if(e instanceof Ne)return e;if(ze(e)&&e.children.length===1)return Nn(e.children[0])},Pn=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Q(e.base,`accent`),n=r.base,e.base=n,i=Re(J(e,t)),e.base=r):(r=Q(e,`accent`),n=r.base);var a=J(n,t.havingCrampedStyle()),o=r.isShifty&&c(n),s=0;o&&(s=Nn(a)?.skew??0);var l=r.label===`\\c`,u=l?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=kn(r,t),d=W({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:d,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+O(2*s)+`)`,marginLeft:O(2*s)}:void 0}]});else{var f,p;r.label===`\\vec`?(f=Lt(`vec`,t),p=It.vec[1]):(f=Ct({type:`textord`,mode:r.mode,text:r.label},t,`textord`),f=Le(f),f.italic=0,p=f.width,l&&(u+=f.depth)),d=U([`accent-body`],[f]);var m=r.label===`\\textcircled`;m&&(d.classes.push(`accent-full`),u=a.height);var h=s;m||(h-=p/2),d.style.left=O(h),r.label===`\\textcircled`&&(d.style.top=`.2em`),d=W({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-u},{type:`elem`,elem:d}]})}var g=U([`mord`,`accent`],[d],t);return i?(i.children[0]=g,i.height=Math.max(g.height,i.height),i.classes[0]=`mord`,i):g},Fn=(e,t)=>{var n=e.isStretchy?En(e.label):new Y(`mo`,[un(e.label,e.mode)]),r=new Y(`mover`,[Z(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},In=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));K({type:`accent`,names:[`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`,`\\widecheck`,`\\widehat`,`\\widetilde`,`\\overrightarrow`,`\\overleftarrow`,`\\Overrightarrow`,`\\overleftrightarrow`,`\\overgroup`,`\\overlinesegment`,`\\overleftharpoon`,`\\overrightharpoon`],props:{numArgs:1},handler:(e,t)=>{var n=Kt(t[0]),r=!In.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Pn,mathmlBuilder:Fn}),K({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Pn,mathmlBuilder:Fn}),K({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=J(e.base,t),r=kn(e,t),i=e.label===`\\utilde`?.12:0;return U([`mord`,`accentunder`],[W({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=En(e.label),r=new Y(`munder`,[Z(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var Ln=e=>{var t=new Y(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};K({type:`xArrow`,names:[`\\xleftarrow`,`\\xrightarrow`,`\\xLeftarrow`,`\\xRightarrow`,`\\xleftrightarrow`,`\\xLeftrightarrow`,`\\xhookleftarrow`,`\\xhookrightarrow`,`\\xmapsto`,`\\xrightharpoondown`,`\\xrightharpoonup`,`\\xleftharpoondown`,`\\xleftharpoonup`,`\\xrightleftharpoons`,`\\xleftrightharpoons`,`\\xlongequal`,`\\xtwoheadrightarrow`,`\\xtwoheadleftarrow`,`\\xtofrom`,`\\xrightleftarrows`,`\\xrightequilibrium`,`\\xleftequilibrium`,`\\\\cdrightarrow`,`\\\\cdleftarrow`,`\\\\cdlongequal`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=jt(J(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=jt(J(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=kn(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=W({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c},{type:`elem`,elem:o,shift:d}]})}else u=W({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c}]});return u.children[0].children[0].children[1].classes.push(`svg-align`),U([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=En(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=Ln(Z(e.body,t));r=e.below?new Y(`munderover`,[n,Ln(Z(e.below,t)),i]):new Y(`mover`,[n,i])}else e.below?r=new Y(`munder`,[n,Ln(Z(e.below,t))]):(r=Ln(),r=new Y(`mover`,[n,r]));return r}});function Rn(e,t){var n=Zt(e.body,t,!0);return U([e.mclass],n,t)}function zn(e,t){var n,r=mn(e.body,t);return e.mclass===`minner`?n=new Y(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new Y(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new Y(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):e.mclass===`mopen`||e.mclass===`mclose`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`):e.mclass===`minner`&&(n.attributes.lspace=`0.0556em`,n.attributes.width=`+0.1111em`)),n}K({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:q(i),isCharacterBox:c(i)}},htmlBuilder:Rn,mathmlBuilder:zn});var Bn=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};K({type:`mclass`,names:[`\\@binrel`],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:`mclass`,mode:n.mode,mclass:Bn(t[0]),body:q(t[1]),isCharacterBox:c(t[1])}}}),K({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:Bn(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:q(i)},l={type:`supsub`,mode:a.mode,base:s,sup:r===`\\underset`?null:a,sub:r===`\\underset`?a:null};return{type:`mclass`,mode:n.mode,mclass:o,body:[l],isCharacterBox:c(l)}},htmlBuilder:Rn,mathmlBuilder:zn}),K({type:`pmb`,names:[`\\pmb`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`pmb`,mode:n.mode,mclass:Bn(t[0]),body:q(t[0])}},htmlBuilder(e,t){var n=Zt(e.body,t,!0),r=U([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new Y(`mstyle`,mn(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var Vn={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},Hn=()=>({type:`styling`,body:[],mode:`math`,style:`display`}),Un=e=>e.type===`textord`&&e.text===`@`,Wn=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function Gn(e,t,n){var r=Vn[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function Kn(t){var n=[];for(t.gullet.beginGroup(),t.gullet.macros.set(`\\cr`,`\\\\\\relax`),t.gullet.beginGroup();;){n.push(t.parseExpression(!1,`\\\\`)),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r===`&`||r===`\\\\`)t.consume();else if(r===`\\end`){n[n.length-1].length===0&&n.pop();break}else throw new e(`Expected \\\\ or \\cr or \\end`,t.nextToken)}for(var i=[],a=[i],o=0;oAV`.includes(u))for(var f=0;f<2;f++){for(var p=!0,m=l+1;mAV=|." after @`,s[l]);var h={type:`styling`,body:[Gn(u,d,t)],mode:`math`,style:`display`};i.push(h),c=Hn()}o%2==0?i.push(c):i.shift(),i=[],a.push(i)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:`array`,mode:`math`,body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(a[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(a.length+1).fill([])}}K({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=jt(J(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=O(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Y(`mrow`,[Z(e.label,t)]);return n=new Y(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new Y(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),K({type:`cdlabelparent`,names:[`\\\\cdparent`],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:`cdlabelparent`,mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=jt(J(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new Y(`mrow`,[Z(e.fragment,t)])}}),K({type:`textord`,names:[`\\@char`],props:{numArgs:1,allowedInText:!0},handler(t,n){for(var{parser:r}=t,i=Q(n[0],`ordgroup`).body,a=``,o=0;o=1114111)throw new e(`\\@char with invalid code point `+a);return c<=65535?l=String.fromCharCode(c):(c-=65536,l=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:`textord`,mode:r.mode,text:l}}});var qn=(e,t)=>At(Zt(e.body,t.withColor(e.color),!1)),Jn=(e,t)=>{var n=new Y(`mstyle`,mn(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n};K({type:`color`,names:[`\\textcolor`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`original`]},handler(e,t){var{parser:n}=e,r=Q(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:q(i)}},htmlBuilder:qn,mathmlBuilder:Jn}),K({type:`color`,names:[`\\color`],props:{numArgs:1,allowedInText:!0,argTypes:[`color`]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Q(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}},htmlBuilder:qn,mathmlBuilder:Jn}),K({type:`cr`,names:[`\\\\`],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&Q(i,`size`).value}},htmlBuilder(e,t){var n=U([`mspace`],[],t);return e.newLine&&(n.classes.push(`newline`),e.size&&(n.style.marginTop=O(D(e.size,t)))),n},mathmlBuilder(e,t){var n=new Y(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,O(D(e.size,t)))),n}});var Yn={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},Xn=t=>{var n=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new e(`Expected a control sequence`,t);return n},Zn=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},Qn=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};K({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:n,funcName:r}=t;n.consumeSpaces();var i=n.fetch();if(Yn[i.text])return(r===`\\global`||r===`\\\\globallong`)&&(i.text=Yn[i.text]),Q(n.parseFunction(),`internal`);throw new e(`Invalid token after macro prefix`,i)}}),K({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:n,funcName:r}=t,i=n.gullet.popToken(),a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new e(`Expected a control sequence`,i);for(var o=0,s,c=[[]];n.gullet.future().text!==`{`;)if(i=n.gullet.popToken(),i.text===`#`){if(n.gullet.future().text===`{`){s=n.gullet.future(),c[o].push(`{`);break}if(i=n.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new e(`Invalid argument number "`+i.text+`"`);if(parseInt(i.text)!==o+1)throw new e(`Argument number "`+i.text+`" out of order`);o++,c.push([])}else if(i.text===`EOF`)throw new e(`Expected a macro definition`);else c[o].push(i.text);var{tokens:l}=n.gullet.consumeArg();return s&&l.unshift(s),(r===`\\edef`||r===`\\xdef`)&&(l=n.gullet.expandTokens(l),l.reverse()),n.gullet.macros.set(a,{tokens:l,numArgs:o,delimiters:c},r===Yn[r]),{type:`internal`,mode:n.mode}}}),K({type:`internal`,names:[`\\let`,`\\\\globallet`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Xn(t.gullet.popToken());return t.gullet.consumeSpaces(),Qn(t,r,Zn(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),K({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Xn(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Qn(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var $n=function(e,t,n){var r=We(k.math[e]&&k.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},er=function(e,t,n,r){var i=n.havingBaseStyle(t),a=U(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},tr=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=O(i),e.height-=i,e.depth+=i},nr=function(e,t,n,r,i,a){var o=er(bt(e,`Main-Regular`,i,r),t,r,a);return n&&tr(o,r,t),o},rr=function(e,t,n,r){return bt(e,`Size`+t+`-Regular`,n,r)},ir=function(e,t,n,r,i,a){var o=rr(e,t,i,r),s=er(U([`delimsizing`,`size`+t],[o],r),T.TEXT,r,a);return n&&tr(s,r,T.TEXT),s},ar=function(e,t,n){return{type:`elem`,elem:U([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[U([],[bt(e,t,n)])])}},or=function(e,t,n){var r=Be[`Size4-Regular`][e.charCodeAt(0)]?Be[`Size4-Regular`][e.charCodeAt(0)][4]:Be[`Size1-Regular`][e.charCodeAt(0)][4],i=Dt([],[new Pe([new Fe(`inner`,_e(e,Math.round(1e3*t)))],{width:O(r),height:O(t),style:`width:`+O(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=O(t),i.style.width=O(r),{type:`elem`,elem:i}},sr=.008,cr={type:`kern`,size:-1*sr},lr=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),ur=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),dr=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):lr.has(e)?(c=`∣`,u=`vert`,d=333):ur.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=$n(o,f,i),m=p.height+p.depth,h=$n(c,f,i),g=h.height+h.depth,_=$n(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=$n(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,C=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,ee=r.fontMetrics().axisHeight;n&&(ee*=r.sizeMultiplier);var te=C/2-ee,w=[];if(u.length>0){var ne=C-m-v,re=Math.round(C*1e3),ie=ye(u,Math.round(ne*1e3)),ae=new Fe(u,ie),oe=O(d/1e3),se=O(re/1e3),E=Dt([],[new Pe([ae],{width:oe,height:se,viewBox:`0 0 `+d+` `+re})],r);E.height=re/1e3,E.style.width=oe,E.style.height=se,w.push({type:`elem`,elem:E})}else{if(w.push(ar(l,f,i)),w.push(cr),s===null){var ce=C-m-v+2*sr;w.push(or(c,ce,r))}else{var le=(C-m-v-y)/2+2*sr;w.push(or(c,le,r)),w.push(cr),w.push(ar(s,f,i)),w.push(cr),w.push(or(c,le,r))}w.push(cr),w.push(ar(o,f,i))}var ue=r.havingBaseStyle(T.TEXT);return er(U([`delimsizing`,`mult`],[W({positionType:`bottom`,positionData:te,children:w})],ue),T.TEXT,r,a)},fr=80,pr=.08,mr=function(e,t,n,r,i){return Dt([`hide-tail`],[new Pe([new Fe(e,ge(e,r,n))],{width:`400em`,height:O(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},hr=function(e,t){var n=t.havingBaseSizing(),r=Tr(`\\surd`,e*n.sizeMultiplier,Cr,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s=0,c=0,l=0,u;return r.type===`small`?(l=1e3+1e3*a+fr,e<1?i=1:e<1.4&&(i=.7),s=(1+a+pr)/i,c=(1+a)/i,o=mr(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+fr)*yr[r.size],c=(yr[r.size]+a)/i,s=(yr[r.size]+a+pr)/i,o=mr(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+pr,c=e+a,l=Math.floor(1e3*e+a)+fr,o=mr(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=O(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},gr=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),_r=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),vr=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),yr=[0,1.2,1.8,2.4,3],br=function(t,n,r,i,a){if(t===`<`||t===`\\lt`||t===`⟨`?t=`\\langle`:(t===`>`||t===`\\gt`||t===`⟩`)&&(t=`\\rangle`),gr.has(t)||vr.has(t))return ir(t,n,!1,r,i,a);if(_r.has(t))return dr(t,yr[n],!1,r,i,a);throw new e(`Illegal delimiter: '`+t+`'`)},xr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4}],Sr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`stack`}],Cr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4},{type:`stack`}],wr=function(e){if(e.type===`small`)return`Main-Regular`;if(e.type===`large`)return`Size`+e.size+`-Regular`;if(e.type===`stack`)return`Size4-Regular`;var t=e.type;throw Error(`Add support for delim type '`+t+`' here.`)},Tr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);it)return a}return n[n.length-1]},Er=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=vr.has(e)?xr:gr.has(e)?Cr:Sr,s=Tr(e,t,o,r);return s.type===`small`?nr(e,s.style,n,r,i,a):s.type===`large`?ir(e,s.size,n,r,i,a):dr(e,t,n,r,i,a)},Dr=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return Er(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Or={"\\bigl":{mclass:`mopen`,size:1},"\\Bigl":{mclass:`mopen`,size:2},"\\biggl":{mclass:`mopen`,size:3},"\\Biggl":{mclass:`mopen`,size:4},"\\bigr":{mclass:`mclose`,size:1},"\\Bigr":{mclass:`mclose`,size:2},"\\biggr":{mclass:`mclose`,size:3},"\\Biggr":{mclass:`mclose`,size:4},"\\bigm":{mclass:`mrel`,size:1},"\\Bigm":{mclass:`mrel`,size:2},"\\biggm":{mclass:`mrel`,size:3},"\\Biggm":{mclass:`mrel`,size:4},"\\big":{mclass:`mord`,size:1},"\\Big":{mclass:`mord`,size:2},"\\bigg":{mclass:`mord`,size:3},"\\Bigg":{mclass:`mord`,size:4}},kr=new Set(`(,\\lparen,),\\rparen,[,\\lbrack,],\\rbrack,\\{,\\lbrace,\\},\\rbrace,\\lfloor,\\rfloor,⌊,⌋,\\lceil,\\rceil,⌈,⌉,<,>,\\langle,⟨,\\rangle,⟩,\\lt,\\gt,\\lvert,\\rvert,\\lVert,\\rVert,\\lgroup,\\rgroup,⟮,⟯,\\lmoustache,\\rmoustache,⎰,⎱,/,\\backslash,|,\\vert,\\|,\\Vert,\\uparrow,\\Uparrow,\\downarrow,\\Downarrow,\\updownarrow,\\Updownarrow,.`.split(`,`));function Ar(t,n){var r=Mn(t);if(r&&kr.has(r.text))return r;throw r?new e(`Invalid delimiter '`+r.text+`' after '`+n.funcName+`'`,t):new e(`Invalid delimiter type '`+t.type+`'`,t)}K({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],props:{numArgs:1,argTypes:[`primitive`]},handler:(e,t)=>{var n=Ar(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Or[e.funcName].size,mclass:Or[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?U([e.mclass]):br(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(un(e.delim,e.mode));var n=new Y(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=O(yr[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function jr(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}K({type:`leftright-right`,names:[`\\right`],props:{numArgs:1,primitive:!0},handler:(t,n)=>{var r=t.parser.gullet.macros.get(`\\current@color`);if(r&&typeof r!=`string`)throw new e(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:t.parser.mode,delim:Ar(n[0],t).text,color:r}}}),K({type:`leftright`,names:[`\\left`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Ar(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Q(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{jr(e);for(var n=Zt(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o{jr(e);var n=mn(e.body,t);if(e.left!==`.`){var r=new Y(`mo`,[un(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new Y(`mo`,[un(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return dn(n)}}),K({type:`middle`,names:[`\\middle`],props:{numArgs:1,primitive:!0},handler:(t,n)=>{var r=Ar(n[0],t);if(!t.parser.leftrightDepth)throw new e(`\\middle without preceding \\left`,r);return{type:`middle`,mode:t.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===`.`)n=nn(t,[]);else{n=br(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=new Y(`mo`,[e.delim===`\\vert`||e.delim===`|`?un(`|`,`text`):un(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}});var Mr=(e,t)=>{var n=jt(J(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=c(e.body);if(r===`sout`)a=U([`stretchy`,`sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var l=D({number:.6,unit:`pt`},t),u=D({number:.35,unit:`ex`},t),d=t.havingBaseSizing();i/=d.sizeMultiplier;var f=n.height+n.depth+l+u;n.style.paddingLeft=O(f/2+l);var p=Math.floor(1e3*f*i);a=Dt([`hide-tail`],[new Pe([new Fe(`phase`,me(p))],{width:`400em`,height:O(p/1e3),viewBox:`0 0 400000 `+p,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=O(f),o=n.depth+l+u}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var m=0,h=0,g=0;/box/.test(r)?(g=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),m=t.fontMetrics().fboxsep+(r===`colorbox`?0:g),h=m):r===`angl`?(g=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),m=4*g,h=Math.max(0,.25-n.depth)):(m=s?.2:0,h=m),a=An(n,r,m,h,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=O(g)):r===`angl`&&g!==.049&&(a.style.borderTopWidth=O(g),a.style.borderRightWidth=O(g)),o=n.depth+h,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var _;if(e.backgroundColor)_=W({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var v=/cancel|phase/.test(r)?[`svg-align`]:[];_=W({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:v}]})}return/cancel/.test(r)&&(_.height=n.height,_.depth=n.depth),/cancel/.test(r)&&!s?U([`mord`,`cancel-lap`],[_],t):U([`mord`],[_],t)},Nr=(e,t)=>{var n=0,r=new Y(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[Z(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+O(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`);break}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r};K({type:`enclose`,names:[`\\colorbox`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`text`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:Mr,mathmlBuilder:Nr}),K({type:`enclose`,names:[`\\fcolorbox`],props:{numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`text`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=Q(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:Mr,mathmlBuilder:Nr}),K({type:`enclose`,names:[`\\fbox`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\fbox`,body:t[0]}}}),K({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:Mr,mathmlBuilder:Nr}),K({type:`enclose`,names:[`\\sout`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:Mr,mathmlBuilder:Nr}),K({type:`enclose`,names:[`\\angl`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\angl`,body:t[0]}}});var Pr={};function Fr(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c{if(!t.parser.settings.displayMode)throw new e(`{`+t.envName+`} can be used only in display mode.`)},Vr=new Set([`gather`,`gather*`]);function Hr(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Ur(t,n,r){var{hskipBeforeAndAfter:i,addJot:a,cols:o,arraystretch:s,colSeparationType:c,autoTag:l,singleRow:u,emptySingleRow:d,maxNumCols:f,leqno:p}=n;if(t.gullet.beginGroup(),u||t.gullet.macros.set(`\\cr`,`\\\\\\relax`),!s){var m=t.gullet.expandMacroAsText(`\\arraystretch`);if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new e(`Invalid \\arraystretch: `+m)}t.gullet.beginGroup();var h=[],g=[h],_=[],v=[],y=l==null?void 0:[];function b(){l&&t.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function x(){y&&(t.gullet.macros.get(`\\df@tag`)?(y.push(t.subparse([new Rr(`\\df@tag`)])),t.gullet.macros.set(`\\df@tag`,void 0,!0)):y.push(!!l&&t.gullet.macros.get(`\\@eqnsw`)===`1`))}for(b(),v.push(zr(t));;){var S=t.parseExpression(!1,u?`\\end`:`\\\\`);t.gullet.endGroup(),t.gullet.beginGroup();var C={type:`ordgroup`,mode:t.mode,body:S};r&&(C={type:`styling`,mode:t.mode,style:r,body:[C]}),h.push(C);var ee=t.fetch().text;if(ee===`&`){if(f&&h.length===f){if(u||c)throw new e(`Too many tab characters: &`,t.nextToken);t.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}t.consume()}else if(ee===`\\end`){x(),h.length===1&&C.type===`styling`&&C.body.length===1&&C.body[0].type===`ordgroup`&&C.body[0].body.length===0&&(g.length>1||!d)&&g.pop(),v.length0&&(v+=.25),l.push({pos:v,isDashed:e[t]})}for(y(o[0]),r=0;r0&&(w+=_,Se))for(r=0;r=s)){var _e=void 0;(i>0||t.hskipBeforeAndAfter)&&(_e=de?.pregap??f,_e!==0&&(ae=U([`arraycolsep`],[]),ae.style.width=O(_e),ie.push(ae)));var ve=[];for(r=0;r0){for(var Te=Ot(`hline`,n,u),Ee=Ot(`hdashline`,n,u),De=[{type:`elem`,elem:we,shift:0}];l.length>0;){var Oe=l.pop(),ke=Oe.pos-ne;Oe.isDashed?De.push({type:`elem`,elem:Ee,shift:ke}):De.push({type:`elem`,elem:Te,shift:ke})}we=W({positionType:`individualShift`,children:De})}if(se.length===0)return U([`mord`],[we],n);var Ae=U([`tag`],[W({positionType:`individualShift`,children:se})],n);return At([we,Ae])},Kr={c:`center `,l:`left `,r:`right `},qr=function(e,t){for(var n=[],r=new Y(`mtd`,[],[`mtr-glue`]),i=new Y(`mtd`,[],[`mml-eqn-num`]),a=0;a0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Kr[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&h&&(m+=y.separator===`|`?`solid `:`dashed `,h=!1)}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S0?`left `:``,d+=ee[ee.length-1].length>0?`right `:``;for(var te=1;te0&&p&&(g=1),r[m]={type:`align`,align:h,pregap:g,postgap:0}}return o.colSeparationType=p?`align`:`alignat`,o};Fr({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(t,n){var r=(Mn(n[0])?[n[0]]:Q(n[0],`ordgroup`).body).map(function(t){var n=jn(t).text;if(`lcr`.includes(n))return{type:`align`,align:n};if(n===`|`)return{type:`separator`,separator:`|`};if(n===`:`)return{type:`separator`,separator:`:`};throw new e(`Unknown column alignment: `+n,t)}),i={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Ur(t.parser,i,Wr(t.envName))},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(t){var n={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[t.envName.replace(`*`,``)],r=`c`,i={hskipBeforeAndAfter:!1,cols:[{type:`align`,align:r}]};if(t.envName.charAt(t.envName.length-1)===`*`){var a=t.parser;if(a.consumeSpaces(),a.fetch().text===`[`){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!`lcr`.includes(r))throw new e(`Expected l or c or r`,a.nextToken);a.consume(),a.consumeSpaces(),a.expect(`]`),a.consume(),i.cols=[{type:`align`,align:r}]}}var o=Ur(t.parser,i,Wr(t.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=Array(s).fill({type:`align`,align:r}),n?{type:`leftright`,mode:t.mode,body:[o],left:n[0],right:n[1],rightColor:void 0}:o},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Ur(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`subarray`],props:{numArgs:1},handler(t,n){var r=(Mn(n[0])?[n[0]]:Q(n[0],`ordgroup`).body).map(function(t){var n=jn(t).text;if(`lc`.includes(n))return{type:`align`,align:n};throw new e(`Unknown column alignment: `+n,t)});if(r.length>1)throw new e(`{subarray} can contain only one column`);var i={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},a=Ur(t.parser,i,`script`);if(a.body.length>0&&a.body[0].length>1)throw new e(`{subarray} can contain only one column`);return a},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Ur(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},Wr(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:Jr,htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){Vr.has(e.envName)&&Br(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Hr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Ur(e.parser,t,`display`)},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:Jr,htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){Br(e);var t={autoTag:Hr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Ur(e.parser,t,`display`)},htmlBuilder:Gr,mathmlBuilder:qr}),Fr({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return Br(e),Kn(e.parser)},htmlBuilder:Gr,mathmlBuilder:qr}),$(`\\nonumber`,`\\gdef\\@eqnsw{0}`),$(`\\notag`,`\\nonumber`),K({type:`text`,names:[`\\hline`,`\\hdashline`],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,n){throw new e(t.funcName+` valid only within array environment`)}});var Yr=Pr;K({type:`environment`,names:[`\\begin`,`\\end`],props:{numArgs:1,argTypes:[`text`]},handler(t,n){var{parser:r,funcName:i}=t,a=n[0];if(a.type!==`ordgroup`)throw new e(`Invalid environment name`,a);for(var o=``,s=0;s{var n=e.font,r=t.withFont(n);return J(e.body,r)},Zr=(e,t)=>{var n=e.font,r=t.withFont(n);return Z(e.body,r)},Qr={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`,"\\bm":`\\boldsymbol`};K({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=Kt(t[0]),a=r;return a in Qr&&(a=Qr[a]),{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Xr,mathmlBuilder:Zr}),K({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`mclass`,mode:n.mode,mclass:Bn(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:c(r)}}}),K({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}},htmlBuilder:Xr,mathmlBuilder:Zr});var $r=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=J(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d){var n=new Y(`mfrac`,[Z(e.numer,t),Z(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=D(e.barSize,t);n.setAttribute(`linethickness`,O(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new Y(`mo`,[new X(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new Y(`mo`,[new X(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return dn(i)}return n},ti=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;K({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),ti({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:$r,mathmlBuilder:ei}),K({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var ni=[`display`,`text`,`script`,`scriptscript`],ri=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};K({type:`genfrac`,names:[`\\genfrac`],props:{numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Kt(t[0]),o=a.type===`atom`&&a.family===`open`?ri(a.text):null,s=Kt(t[1]),c=s.type===`atom`&&s.family===`close`?ri(s.text):null,l=Q(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=Q(p.body[0],`textord`);f=ni[Number(m.text)]}}else p=Q(p,`textord`),f=ni[Number(p.text)];return ti({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),K({type:`infix`,names:[`\\above`],props:{numArgs:1,argTypes:[`size`],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Q(t[0],`size`).value,token:i}}}),K({type:`genfrac`,names:[`\\\\abovefrac`],props:{numArgs:3,argTypes:[`math`,`size`,`math`]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Q(t[1],`infix`).size;if(!a)throw Error(`\\\\abovefrac expected size, but got `+String(a));var o=t[2],s=a.number>0;return{type:`genfrac`,mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var ii=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?J(e.sup,t.havingStyle(n.sup()),t):J(e.sub,t.havingStyle(n.sub()),t),i=Q(e.base,`horizBrace`)):i=Q(e,`horizBrace`);var a=J(i.base,t.havingBaseStyle(T.DISPLAY)),o=kn(i,t),s;if(i.isOver?(s=W({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o}]}),s.children[0].children[0].children[1].classes.push(`svg-align`)):(s=W({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o},{type:`kern`,size:.1},{type:`elem`,elem:a}]}),s.children[0].children[0].children[0].classes.push(`svg-align`)),r){var c=U([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?W({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):W({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return U([`minner`,i.isOver?`mover`:`munder`],[s],t)};K({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:ii,mathmlBuilder:(e,t)=>{var n=En(e.label);return new Y(e.isOver?`mover`:`munder`,[Z(e.base,t),n])}}),K({type:`href`,names:[`\\href`],props:{numArgs:2,argTypes:[`url`,`original`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Q(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:q(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=Zt(e.body,t,!1);return kt(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=hn(e.body,t);return n instanceof Y||(n=new Y(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),K({type:`href`,names:[`\\url`],props:{numArgs:1,argTypes:[`url`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Q(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a{var{parser:r,funcName:i,token:a}=t,o=Q(n[0],`raw`).string,s=n[1];r.settings.strict&&r.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var c,l={};switch(i){case`\\htmlClass`:l.class=o,c={command:`\\htmlClass`,class:o};break;case`\\htmlId`:l.id=o,c={command:`\\htmlId`,id:o};break;case`\\htmlStyle`:l.style=o,c={command:`\\htmlStyle`,style:o};break;case`\\htmlData`:for(var u=o.split(`,`),d=0;d{var n=Zt(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=U(r,n,t);for(var a in e.attributes)a!==`class`&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>hn(e.body,t)}),K({type:`htmlmathml`,names:[`\\html@mathml`],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`htmlmathml`,mode:n.mode,html:q(t[0]),mathml:q(t[1])}},htmlBuilder:(e,t)=>At(Zt(e.html,t,!1)),mathmlBuilder:(e,t)=>hn(e.mathml,t)});var ai=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:`bp`};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new e(`Invalid size: '`+t+`' in \\includegraphics`);var r={number:+(n[1]+n[2]),unit:n[3]};if(!Ce(r))throw new e(`Invalid unit: '`+r.unit+`' in \\includegraphics.`);return r};K({type:`includegraphics`,names:[`\\includegraphics`],props:{numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1},handler:(t,n,r)=>{var{parser:i}=t,a={number:0,unit:`em`},o={number:.9,unit:`em`},s={number:0,unit:`em`},c=``;if(r[0])for(var l=Q(r[0],`raw`).string.split(`,`),u=0;u{var n=D(e.height,t),r=0;e.totalheight.number>0&&(r=D(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=D(e.width,t));var a={height:O(n+r)};i>0&&(a.width=O(i)),r>0&&(a.verticalAlign=O(-r));var o=new je(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Y(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=D(e.height,t),i=0;if(e.totalheight.number>0&&(i=D(e.totalheight,t)-r,n.setAttribute(`valign`,O(-i))),n.setAttribute(`height`,O(r+i)),e.width.number>0){var a=D(e.width,t);n.setAttribute(`width`,O(a))}return n.setAttribute(`src`,e.src),n}}),K({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],props:{numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Q(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Nt(e.dimension,t)},mathmlBuilder(e,t){return new sn(D(e.dimension,t))}}),K({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=U([],[J(e.body,t)]),n=U([`inner`],[n],t)):n=U([`inner`],[J(e.body,t)]);var r=U([`fix`],[]),i=U([e.alignment],[n,r],t),a=U([`strut`]);return a.style.height=O(i.height+i.depth),i.depth&&(a.style.verticalAlign=O(-i.depth)),i.children.unshift(a),i=U([`thinbox`],[i],t),U([`mord`,`vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[Z(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),K({type:`styling`,names:[`\\(`,`$`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,body:o}}}),K({type:`text`,names:[`\\)`,`\\]`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,n){throw new e(`Mismatched `+t.funcName)}});var oi=(e,t)=>{switch(t.style.size){case T.DISPLAY.size:return e.display;case T.TEXT.size:return e.text;case T.SCRIPT.size:return e.script;case T.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};K({type:`mathchoice`,names:[`\\mathchoice`],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`mathchoice`,mode:n.mode,display:q(t[0]),text:q(t[1]),script:q(t[2]),scriptscript:q(t[3])}},htmlBuilder:(e,t)=>At(Zt(oi(e,t),t,!1)),mathmlBuilder:(e,t)=>hn(oi(e,t),t)});var si=(e,t,n,r,i,a,o)=>{e=U([],[e]);var s=n&&c(n),l,u;if(t){var d=J(t,r.havingStyle(i.sup()),r);u={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var f=J(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var p;if(u&&l)p=W({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:l.elem,marginLeft:O(-a)},{type:`kern`,size:l.kern},{type:`elem`,elem:e},{type:`kern`,size:u.kern},{type:`elem`,elem:u.elem,marginLeft:O(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(l)p=W({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:l.elem,marginLeft:O(-a)},{type:`kern`,size:l.kern},{type:`elem`,elem:e}]});else if(u)p=W({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:u.kern},{type:`elem`,elem:u.elem,marginLeft:O(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var m=[p];if(l&&a!==0&&!s){var h=U([`mspace`],[],r);h.style.marginRight=O(a),m.unshift(h)}return U([`mop`,`op-limits`],m,r)},ci=new Set([`\\smallint`]),li=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`op`),i=!0):a=Q(e,`op`);var o=t.style,s=!1;o.size===T.DISPLAY.size&&a.symbol&&!ci.has(a.name)&&(s=!0);var c;if(a.symbol){var l=s?`Size2-Regular`:`Size1-Regular`,u=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(u=a.name.slice(1),a.name=u===`oiint`?`\\iint`:`\\iiint`),c=bt(a.name,l,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),u.length>0){var d=c.italic,f=Lt(u+`Size`+(s?`2`:`1`),t);c=W({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+u,c.classes.unshift(`mop`),c.italic=d}}else if(a.body){var p=Zt(a.body,t,!0);p.length===1&&p[0]instanceof Ne?(c=p[0],c.classes[0]=`mop`):c=U([`mop`],p,t)}else{for(var m=[],h=1;h{var n;if(e.symbol)n=new Y(`mo`,[un(e.name,e.mode)]),ci.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new Y(`mo`,mn(e.body,t));else{n=new Y(`mi`,[new X(e.name.slice(1))]);var r=new Y(`mo`,[un(`⁡`,`text`)]);n=e.parentIsSupSub?new Y(`mrow`,[n,r]):on([n,r])}return n},di={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};K({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=di[i]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:li,mathmlBuilder:ui}),K({type:`op`,names:[`\\mathop`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:q(r)}},htmlBuilder:li,mathmlBuilder:ui});var fi={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};K({type:`op`,names:`\\arcsin.\\arccos.\\arctan.\\arctg.\\arcctg.\\arg.\\ch.\\cos.\\cosec.\\cosh.\\cot.\\cotg.\\coth.\\csc.\\ctg.\\cth.\\deg.\\dim.\\exp.\\hom.\\ker.\\lg.\\ln.\\log.\\sec.\\sin.\\sinh.\\sh.\\tan.\\tanh.\\tg.\\th`.split(`.`),props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:li,mathmlBuilder:ui}),K({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:li,mathmlBuilder:ui}),K({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=fi[r]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:li,mathmlBuilder:ui});var pi=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`operatorname`),i=!0):a=Q(e,`operatorname`);var o;if(a.body.length>0){for(var s=Zt(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c{var{parser:n,funcName:r}=e,i=t[0];return{type:`operatorname`,mode:n.mode,body:q(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:pi,mathmlBuilder:(e,t)=>{for(var n=mn(e.body,t.withFont(`mathrm`)),r=!0,i=0;ie.toText()).join(``))]);var s=new Y(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new Y(`mo`,[un(`⁡`,`text`)]);return e.parentIsSupSub?new Y(`mrow`,[s,c]):on([s,c])}}),$(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),Gt({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?At(Zt(e.body,t,!1)):U([`mord`],Zt(e.body,t,!0),t)},mathmlBuilder(e,t){return hn(e.body,t,!0)}}),K({type:`overline`,names:[`\\overline`],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=J(e.body,t.havingCrampedStyle()),r=Ot(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return U([`mord`,`overline`],[W({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new Y(`mo`,[new X(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Y(`mover`,[Z(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),K({type:`phantom`,names:[`\\phantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`phantom`,mode:n.mode,body:q(r)}},htmlBuilder:(e,t)=>At(Zt(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new Y(`mphantom`,mn(e.body,t))}),$(`\\hphantom`,`\\smash{\\phantom{#1}}`),K({type:`vphantom`,names:[`\\vphantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>U([`mord`,`rlap`],[U([`inner`],[J(e.body,t.withPhantom())]),U([`fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[new Y(`mphantom`,mn(q(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),K({type:`raisebox`,names:[`\\raisebox`],props:{numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Q(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=J(e.body,t);return W({positionType:`shift`,positionData:-D(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new Y(`mpadded`,[Z(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),K({type:`internal`,names:[`\\relax`],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:`internal`,mode:t.mode}}}),K({type:`rule`,names:[`\\rule`],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Q(t[0],`size`),o=Q(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Q(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=U([`mord`,`rule`],[],t),r=D(e.width,t),i=D(e.height,t),a=e.shift?D(e.shift,t):0;return n.style.borderRightWidth=O(r),n.style.borderTopWidth=O(i),n.style.bottom=O(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=D(e.width,t),r=D(e.height,t),i=e.shift?D(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new Y(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,O(n)),o.setAttribute(`height`,O(r));var s=new Y(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,O(i)):(s.setAttribute(`height`,O(i)),s.setAttribute(`depth`,O(-i))),s.setAttribute(`voffset`,O(i)),s}});function mi(e,t,n){for(var r=Zt(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:hi.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return mi(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new Y(`mstyle`,mn(e.body,n));return r.setAttribute(`mathsize`,O(n.sizeMultiplier)),r}}),K({type:`smash`,names:[`\\smash`],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Q(n[0],`ordgroup`);if(o)for(var s=``,c=0;c{var n=U([],[J(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return U([`mord`,`smash`],[n],t);if(n.children)for(var r=0;r{var n=new Y(`mpadded`,[Z(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),K({type:`sqrt`,names:[`\\sqrt`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=J(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=jt(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.idn.height+n.depth+a&&(a=(a+l-n.height-n.depth)/2);var u=o.height-n.height-a-s;n.style.paddingLeft=O(c);var d=W({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+u)},{type:`elem`,elem:o},{type:`kern`,size:s}]});if(e.index){var f=t.havingStyle(T.SCRIPTSCRIPT),p=J(e.index,f,t);return U([`mord`,`sqrt`],[U([`root`],[W({positionType:`shift`,positionData:-(.6*(d.height-d.depth)),children:[{type:`elem`,elem:p}]})]),d],t)}else return U([`mord`,`sqrt`],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Y(`mroot`,[Z(n,t),Z(r,t)]):new Y(`msqrt`,[Z(n,t)])}});var gi={display:T.DISPLAY,text:T.TEXT,script:T.SCRIPT,scriptscript:T.SCRIPTSCRIPT};K({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=gi[e.style],r=t.havingStyle(n).withFont(``);return mi(e.body,r,t)},mathmlBuilder(e,t){var n=gi[e.style],r=t.havingStyle(n),i=new Y(`mstyle`,mn(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var _i=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===T.DISPLAY.size||n.alwaysHandleSupSub)?li:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===T.DISPLAY.size||n.limits)?pi:null:n.type===`accent`?c(n.base)?Pn:null:n.type===`horizBrace`&&!e.sub===n.isOver?ii:null:null};Gt({type:`supsub`,htmlBuilder(e,t){var n=_i(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=J(r,t),s,l,u=t.fontMetrics(),d=0,f=0,p=r&&c(r);if(i){var m=t.havingStyle(t.style.sup());s=J(i,m,t),p||(d=o.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var h=t.havingStyle(t.style.sub());l=J(a,h,t),p||(f=o.depth+h.fontMetrics().subDrop*h.sizeMultiplier/t.sizeMultiplier)}var g=t.style===T.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2,_=t.sizeMultiplier,v=O(.5/u.ptPerEm/_),y=null;if(l){var b=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof Ne||b)&&(y=O(-o.italic))}var x;if(s&&l){d=Math.max(d,g,s.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var S=4*u.defaultRuleThickness;if(d-s.depth-(l.height-f)0&&(d+=C,f-=C)}x=W({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:f,marginRight:v,marginLeft:y},{type:`elem`,elem:s,shift:-d,marginRight:v}]})}else if(l)f=Math.max(f,u.sub1,l.height-.8*u.xHeight),x=W({positionType:`shift`,positionData:f,children:[{type:`elem`,elem:l,marginLeft:y,marginRight:v}]});else if(s)d=Math.max(d,g,s.depth+.25*u.xHeight),x=W({positionType:`shift`,positionData:-d,children:[{type:`elem`,elem:s,marginRight:v}]});else throw Error(`supsub must have either sup or sub.`);return U([tn(o,`right`)||`mord`],[o,U([`msupsub`],[x])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[Z(e.base,t)];e.sub&&a.push(Z(e.sub,t)),e.sup&&a.push(Z(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===T.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===T.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===T.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===T.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===T.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===T.DISPLAY)?`munder`:`msub`}return new Y(o,a)}}),Gt({type:`atom`,htmlBuilder(e,t){return xt(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new Y(`mo`,[un(e.text,e.mode)]);if(e.family===`bin`){var r=fn(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var vi={mi:`italic`,mn:`normal`,mtext:`normal`};Gt({type:`mathord`,htmlBuilder(e,t){return Ct(e,t,`mathord`)},mathmlBuilder(e,t){var n=new Y(`mi`,[un(e.text,e.mode,t)]),r=fn(e,t)||`italic`;return r!==vi[n.type]&&n.setAttribute(`mathvariant`,r),n}}),Gt({type:`textord`,htmlBuilder(e,t){return Ct(e,t,`textord`)},mathmlBuilder(e,t){var n=un(e.text,e.mode,t),r=fn(e,t)||`normal`,i=e.mode===`text`?new Y(`mtext`,[n]):/[0-9]/.test(e.text)?new Y(`mn`,[n]):e.text===`\\prime`?new Y(`mo`,[n]):new Y(`mi`,[n]);return r!==vi[i.type]&&i.setAttribute(`mathvariant`,r),i}});var yi={"\\nobreak":`nobreak`,"\\allowbreak":`allowbreak`},bi={" ":{},"\\ ":{},"~":{className:`nobreak`},"\\space":{},"\\nobreakspace":{className:`nobreak`}};Gt({type:`spacing`,htmlBuilder(t,n){if(bi.hasOwnProperty(t.text)){var r=bi[t.text].className||``;if(t.mode===`text`){var i=Ct(t,n,`textord`);return i.classes.push(r),i}else return U([`mspace`,r],[xt(t.text,t.mode,n)],n)}else if(yi.hasOwnProperty(t.text))return U([`mspace`,yi[t.text]],[],n);else throw new e(`Unknown type of space "`+t.text+`"`)},mathmlBuilder(t,n){var r;if(bi.hasOwnProperty(t.text))r=new Y(`mtext`,[new X(`\xA0`)]);else if(yi.hasOwnProperty(t.text))return new Y(`mspace`);else throw new e(`Unknown type of space "`+t.text+`"`);return r}});var xi=()=>{var e=new Y(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};Gt({type:`tag`,mathmlBuilder(e,t){var n=new Y(`mtable`,[new Y(`mtr`,[xi(),new Y(`mtd`,[hn(e.body,t)]),xi(),new Y(`mtd`,[hn(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var Si={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},Ci={"\\textbf":`textbf`,"\\textmd":`textmd`},wi={"\\textit":`textit`,"\\textup":`textup`},Ti=(e,t)=>{var n=e.font;return n?Si[n]?t.withTextFontFamily(Si[n]):Ci[n]?t.withTextFontWeight(Ci[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(wi[n]):t};K({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],props:{numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`text`,mode:n.mode,body:q(i),font:r}},htmlBuilder(e,t){var n=Ti(e,t);return U([`mord`,`text`],Zt(e.body,n,!0),n)},mathmlBuilder(e,t){var n=Ti(e,t);return hn(e.body,n)}}),K({type:`underline`,names:[`\\underline`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`underline`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=J(e.body,t),r=Ot(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return U([`mord`,`underline`],[W({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new Y(`mo`,[new X(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Y(`munder`,[Z(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),K({type:`vcenter`,names:[`\\vcenter`],props:{numArgs:1,argTypes:[`original`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`vcenter`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=J(e.body,t),r=t.fontMetrics().axisHeight;return W({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new Y(`mrow`,[new Y(`mpadded`,[Z(e.body,t)],[`vcenter`])])}}),K({type:`verb`,names:[`\\verb`],props:{numArgs:0,allowedInText:!0},handler(t,n,r){throw new e(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Ei(e),r=[],i=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?`␣`:`\xA0`),Di=Ht,Oi=`[ \r + ]`,ki=`\\\\[a-zA-Z@]+`,Ai=`\\\\[^\ud800-\udfff]`,ji=`(`+ki+`)`+Oi+`*`,Mi=`\\\\( +|[ \r ]+ +?)[ \r ]*`,Ni=`[̀-ͯ]`,Pi=RegExp(Ni+`+$`),Fi=`(`+Oi+`+)|`+(Mi+`|`)+`([!-\\[\\]-‧‪-퟿豈-￿]`+(Ni+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(Ni+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+ji)+(`|`+Ai+`)`),Ii=class{constructor(e,t){this.input=e,this.settings=t,this.tokenRegex=new RegExp(Fi,`g`),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new Rr(`EOF`,new Lr(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new e(`Unexpected character: '`+t[n]+`'`,new Rr(t[n],new Lr(this,n,n+1)));var i=r[6]||r[3]||(r[2]?`\\ `:` `);if(this.catcodes[i]===14){var a=t.indexOf(` +`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict(`commentAtEnd`,`% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)`)):this.tokenRegex.lastIndex=a+1,this.lex()}return new Rr(i,new Lr(this,n,this.tokenRegex.lastIndex))}},Li=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new e(`Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug`);var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},Ri=Ir;$(`\\noexpand`,function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),$(`\\expandafter`,function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),$(`\\@firstoftwo`,function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),$(`\\@secondoftwo`,function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),$(`\\@ifnextchar`,function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),$(`\\@ifstar`,`\\@ifnextchar *{\\@firstoftwo{#1}}`),$(`\\TextOrMath`,function(e){var t=e.consumeArgs(2);return e.mode===`text`?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var zi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};$(`\\char`,function(t){var n=t.popToken(),r,i=0;if(n.text===`'`)r=8,n=t.popToken();else if(n.text===`"`)r=16,n=t.popToken();else if(n.text==="`")if(n=t.popToken(),n.text[0]===`\\`)i=n.text.charCodeAt(1);else if(n.text===`EOF`)throw new e("\\char` missing argument");else i=n.text.charCodeAt(0);else r=10;if(r){if(i=zi[n.text],i==null||i>=r)throw new e(`Invalid base-`+r+` digit `+n.text);for(var a;(a=zi[t.future().text])!=null&&a{var a=t.consumeArg().tokens;if(a.length!==1)throw new e(`\\newcommand's first argument must be a macro name`);var o=a[0].text,s=t.isDefined(o);if(s&&!n)throw new e(`\\newcommand{`+o+`} attempting to redefine `+(o+`; use \\renewcommand`));if(!s&&!r)throw new e(`\\renewcommand{`+o+`} when command `+o+` does not yet exist; use \\newcommand`);var c=0;if(a=t.consumeArg().tokens,a.length===1&&a[0].text===`[`){for(var l=``,u=t.expandNextToken();u.text!==`]`&&u.text!==`EOF`;)l+=u.text,u=t.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new e(`Invalid number of arguments: `+l);c=parseInt(l),a=t.consumeArg().tokens}return s&&i||t.macros.set(o,{tokens:a,numArgs:c}),``};$(`\\newcommand`,e=>Bi(e,!1,!0,!1)),$(`\\renewcommand`,e=>Bi(e,!0,!1,!1)),$(`\\providecommand`,e=>Bi(e,!0,!0,!0)),$(`\\message`,e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join(``)),``}),$(`\\errmessage`,e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join(``)),``}),$(`\\show`,e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Di[n],k.math[n],k.text[n]),``}),$(`\\bgroup`,`{`),$(`\\egroup`,`}`),$(`~`,`\\nobreakspace`),$(`\\lq`,"`"),$(`\\rq`,`'`),$(`\\aa`,`\\r a`),$(`\\AA`,`\\r A`),$(`\\textcopyright`,"\\html@mathml{\\textcircled{c}}{\\char`©}"),$(`\\copyright`,`\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}`),$(`\\textregistered`,"\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),$(`ℬ`,`\\mathscr{B}`),$(`ℰ`,`\\mathscr{E}`),$(`ℱ`,`\\mathscr{F}`),$(`ℋ`,`\\mathscr{H}`),$(`ℐ`,`\\mathscr{I}`),$(`ℒ`,`\\mathscr{L}`),$(`ℳ`,`\\mathscr{M}`),$(`ℛ`,`\\mathscr{R}`),$(`ℭ`,`\\mathfrak{C}`),$(`ℌ`,`\\mathfrak{H}`),$(`ℨ`,`\\mathfrak{Z}`),$(`\\Bbbk`,`\\Bbb{k}`),$(`\\llap`,`\\mathllap{\\textrm{#1}}`),$(`\\rlap`,`\\mathrlap{\\textrm{#1}}`),$(`\\clap`,`\\mathclap{\\textrm{#1}}`),$(`\\mathstrut`,`\\vphantom{(}`),$(`\\underbar`,`\\underline{\\text{#1}}`),$(`\\not`,`\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}`),$(`\\neq`,"\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),$(`\\ne`,`\\neq`),$(`≠`,`\\neq`),$(`\\notin`,"\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),$(`∉`,`\\notin`),$(`≘`,"\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),$(`≙`,"\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),$(`≚`,"\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),$(`≛`,"\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),$(`≝`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),$(`≞`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),$(`≟`,"\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),$(`⟂`,`\\perp`),$(`‼`,`\\mathclose{!\\mkern-0.8mu!}`),$(`∌`,`\\notni`),$(`⌜`,`\\ulcorner`),$(`⌝`,`\\urcorner`),$(`⌞`,`\\llcorner`),$(`⌟`,`\\lrcorner`),$(`©`,`\\copyright`),$(`®`,`\\textregistered`),$(`\\ulcorner`,`\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}`),$(`\\urcorner`,`\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}`),$(`\\llcorner`,`\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}`),$(`\\lrcorner`,`\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}`),$(`\\vdots`,`{\\varvdots\\rule{0pt}{15pt}}`),$(`⋮`,`\\vdots`),$(`\\varGamma`,`\\mathit{\\Gamma}`),$(`\\varDelta`,`\\mathit{\\Delta}`),$(`\\varTheta`,`\\mathit{\\Theta}`),$(`\\varLambda`,`\\mathit{\\Lambda}`),$(`\\varXi`,`\\mathit{\\Xi}`),$(`\\varPi`,`\\mathit{\\Pi}`),$(`\\varSigma`,`\\mathit{\\Sigma}`),$(`\\varUpsilon`,`\\mathit{\\Upsilon}`),$(`\\varPhi`,`\\mathit{\\Phi}`),$(`\\varPsi`,`\\mathit{\\Psi}`),$(`\\varOmega`,`\\mathit{\\Omega}`),$(`\\substack`,`\\begin{subarray}{c}#1\\end{subarray}`),$(`\\colon`,`\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax`),$(`\\boxed`,`\\fbox{$\\displaystyle{#1}$}`),$(`\\iff`,`\\DOTSB\\;\\Longleftrightarrow\\;`),$(`\\implies`,`\\DOTSB\\;\\Longrightarrow\\;`),$(`\\impliedby`,`\\DOTSB\\;\\Longleftarrow\\;`),$(`\\dddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}`),$(`\\ddddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}`);var Vi={",":`\\dotsc`,"\\not":`\\dotsb`,"+":`\\dotsb`,"=":`\\dotsb`,"<":`\\dotsb`,">":`\\dotsb`,"-":`\\dotsb`,"*":`\\dotsb`,":":`\\dotsb`,"\\DOTSB":`\\dotsb`,"\\coprod":`\\dotsb`,"\\bigvee":`\\dotsb`,"\\bigwedge":`\\dotsb`,"\\biguplus":`\\dotsb`,"\\bigcap":`\\dotsb`,"\\bigcup":`\\dotsb`,"\\prod":`\\dotsb`,"\\sum":`\\dotsb`,"\\bigotimes":`\\dotsb`,"\\bigoplus":`\\dotsb`,"\\bigodot":`\\dotsb`,"\\bigsqcup":`\\dotsb`,"\\And":`\\dotsb`,"\\longrightarrow":`\\dotsb`,"\\Longrightarrow":`\\dotsb`,"\\longleftarrow":`\\dotsb`,"\\Longleftarrow":`\\dotsb`,"\\longleftrightarrow":`\\dotsb`,"\\Longleftrightarrow":`\\dotsb`,"\\mapsto":`\\dotsb`,"\\longmapsto":`\\dotsb`,"\\hookrightarrow":`\\dotsb`,"\\doteq":`\\dotsb`,"\\mathbin":`\\dotsb`,"\\mathrel":`\\dotsb`,"\\relbar":`\\dotsb`,"\\Relbar":`\\dotsb`,"\\xrightarrow":`\\dotsb`,"\\xleftarrow":`\\dotsb`,"\\DOTSI":`\\dotsi`,"\\int":`\\dotsi`,"\\oint":`\\dotsi`,"\\iint":`\\dotsi`,"\\iiint":`\\dotsi`,"\\iiiint":`\\dotsi`,"\\idotsint":`\\dotsi`,"\\DOTSX":`\\dotsx`},Hi=new Set([`bin`,`rel`]);$(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in Vi?t=Vi[n]:(n.slice(0,4)===`\\not`||n in k.math&&Hi.has(k.math[n].group))&&(t=`\\dotsb`),t});var Ui={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};$(`\\dotso`,function(e){return e.future().text in Ui?`\\ldots\\,`:`\\ldots`}),$(`\\dotsc`,function(e){var t=e.future().text;return t in Ui&&t!==`,`?`\\ldots\\,`:`\\ldots`}),$(`\\cdots`,function(e){return e.future().text in Ui?`\\@cdots\\,`:`\\@cdots`}),$(`\\dotsb`,`\\cdots`),$(`\\dotsm`,`\\cdots`),$(`\\dotsi`,`\\!\\cdots`),$(`\\dotsx`,`\\ldots\\,`),$(`\\DOTSI`,`\\relax`),$(`\\DOTSB`,`\\relax`),$(`\\DOTSX`,`\\relax`),$(`\\tmspace`,`\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax`),$(`\\,`,`\\tmspace+{3mu}{.1667em}`),$(`\\thinspace`,`\\,`),$(`\\>`,`\\mskip{4mu}`),$(`\\:`,`\\tmspace+{4mu}{.2222em}`),$(`\\medspace`,`\\:`),$(`\\;`,`\\tmspace+{5mu}{.2777em}`),$(`\\thickspace`,`\\;`),$(`\\!`,`\\tmspace-{3mu}{.1667em}`),$(`\\negthinspace`,`\\!`),$(`\\negmedspace`,`\\tmspace-{4mu}{.2222em}`),$(`\\negthickspace`,`\\tmspace-{5mu}{.277em}`),$(`\\enspace`,`\\kern.5em `),$(`\\enskip`,`\\hskip.5em\\relax`),$(`\\quad`,`\\hskip1em\\relax`),$(`\\qquad`,`\\hskip2em\\relax`),$(`\\tag`,`\\@ifstar\\tag@literal\\tag@paren`),$(`\\tag@paren`,`\\tag@literal{({#1})}`),$(`\\tag@literal`,t=>{if(t.macros.get(`\\df@tag`))throw new e(`Multiple \\tag`);return`\\gdef\\df@tag{\\text{#1}}`}),$(`\\bmod`,`\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}`),$(`\\pod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)`),$(`\\pmod`,`\\pod{{\\rm mod}\\mkern6mu#1}`),$(`\\mod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1`),$(`\\newline`,`\\\\\\relax`),$(`\\TeX`,`\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}`);var Wi=O(Be[`Main-Regular`][84][1]-.7*Be[`Main-Regular`][65][1]);$(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+Wi+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),$(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+Wi+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{KaTeX}}`),$(`\\hspace`,`\\@ifstar\\@hspacer\\@hspace`),$(`\\@hspace`,`\\hskip #1\\relax`),$(`\\@hspacer`,`\\rule{0pt}{0pt}\\hskip #1\\relax`),$(`\\ordinarycolon`,`:`),$(`\\vcentcolon`,`\\mathrel{\\mathop\\ordinarycolon}`),$(`\\dblcolon`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}`),$(`\\coloneqq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}`),$(`\\Coloneqq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}`),$(`\\coloneq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}`),$(`\\Coloneq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}`),$(`\\eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}`),$(`\\Eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}`),$(`\\eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}`),$(`\\Eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}`),$(`\\colonapprox`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}`),$(`\\Colonapprox`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}`),$(`\\colonsim`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}`),$(`\\Colonsim`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}`),$(`∷`,`\\dblcolon`),$(`∹`,`\\eqcolon`),$(`≔`,`\\coloneqq`),$(`≕`,`\\eqqcolon`),$(`⩴`,`\\Coloneqq`),$(`\\ratio`,`\\vcentcolon`),$(`\\coloncolon`,`\\dblcolon`),$(`\\colonequals`,`\\coloneqq`),$(`\\coloncolonequals`,`\\Coloneqq`),$(`\\equalscolon`,`\\eqqcolon`),$(`\\equalscoloncolon`,`\\Eqqcolon`),$(`\\colonminus`,`\\coloneq`),$(`\\coloncolonminus`,`\\Coloneq`),$(`\\minuscolon`,`\\eqcolon`),$(`\\minuscoloncolon`,`\\Eqcolon`),$(`\\coloncolonapprox`,`\\Colonapprox`),$(`\\coloncolonsim`,`\\Colonsim`),$(`\\simcolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),$(`\\simcoloncolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}`),$(`\\approxcolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),$(`\\approxcoloncolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}`),$(`\\notni`,"\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),$(`\\limsup`,`\\DOTSB\\operatorname*{lim\\,sup}`),$(`\\liminf`,`\\DOTSB\\operatorname*{lim\\,inf}`),$(`\\injlim`,`\\DOTSB\\operatorname*{inj\\,lim}`),$(`\\projlim`,`\\DOTSB\\operatorname*{proj\\,lim}`),$(`\\varlimsup`,`\\DOTSB\\operatorname*{\\overline{lim}}`),$(`\\varliminf`,`\\DOTSB\\operatorname*{\\underline{lim}}`),$(`\\varinjlim`,`\\DOTSB\\operatorname*{\\underrightarrow{lim}}`),$(`\\varprojlim`,`\\DOTSB\\operatorname*{\\underleftarrow{lim}}`),$(`\\gvertneqq`,`\\html@mathml{\\@gvertneqq}{≩}`),$(`\\lvertneqq`,`\\html@mathml{\\@lvertneqq}{≨}`),$(`\\ngeqq`,`\\html@mathml{\\@ngeqq}{≱}`),$(`\\ngeqslant`,`\\html@mathml{\\@ngeqslant}{≱}`),$(`\\nleqq`,`\\html@mathml{\\@nleqq}{≰}`),$(`\\nleqslant`,`\\html@mathml{\\@nleqslant}{≰}`),$(`\\nshortmid`,`\\html@mathml{\\@nshortmid}{∤}`),$(`\\nshortparallel`,`\\html@mathml{\\@nshortparallel}{∦}`),$(`\\nsubseteqq`,`\\html@mathml{\\@nsubseteqq}{⊈}`),$(`\\nsupseteqq`,`\\html@mathml{\\@nsupseteqq}{⊉}`),$(`\\varsubsetneq`,`\\html@mathml{\\@varsubsetneq}{⊊}`),$(`\\varsubsetneqq`,`\\html@mathml{\\@varsubsetneqq}{⫋}`),$(`\\varsupsetneq`,`\\html@mathml{\\@varsupsetneq}{⊋}`),$(`\\varsupsetneqq`,`\\html@mathml{\\@varsupsetneqq}{⫌}`),$(`\\imath`,`\\html@mathml{\\@imath}{ı}`),$(`\\jmath`,`\\html@mathml{\\@jmath}{ȷ}`),$(`\\llbracket`,"\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),$(`\\rrbracket`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),$(`⟦`,`\\llbracket`),$(`⟧`,`\\rrbracket`),$(`\\lBrace`,"\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),$(`\\rBrace`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),$(`⦃`,`\\lBrace`),$(`⦄`,`\\rBrace`),$(`\\minuso`,"\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),$(`⦵`,`\\minuso`),$(`\\darr`,`\\downarrow`),$(`\\dArr`,`\\Downarrow`),$(`\\Darr`,`\\Downarrow`),$(`\\lang`,`\\langle`),$(`\\rang`,`\\rangle`),$(`\\uarr`,`\\uparrow`),$(`\\uArr`,`\\Uparrow`),$(`\\Uarr`,`\\Uparrow`),$(`\\N`,`\\mathbb{N}`),$(`\\R`,`\\mathbb{R}`),$(`\\Z`,`\\mathbb{Z}`),$(`\\alef`,`\\aleph`),$(`\\alefsym`,`\\aleph`),$(`\\Alpha`,`\\mathrm{A}`),$(`\\Beta`,`\\mathrm{B}`),$(`\\bull`,`\\bullet`),$(`\\Chi`,`\\mathrm{X}`),$(`\\clubs`,`\\clubsuit`),$(`\\cnums`,`\\mathbb{C}`),$(`\\Complex`,`\\mathbb{C}`),$(`\\Dagger`,`\\ddagger`),$(`\\diamonds`,`\\diamondsuit`),$(`\\empty`,`\\emptyset`),$(`\\Epsilon`,`\\mathrm{E}`),$(`\\Eta`,`\\mathrm{H}`),$(`\\exist`,`\\exists`),$(`\\harr`,`\\leftrightarrow`),$(`\\hArr`,`\\Leftrightarrow`),$(`\\Harr`,`\\Leftrightarrow`),$(`\\hearts`,`\\heartsuit`),$(`\\image`,`\\Im`),$(`\\infin`,`\\infty`),$(`\\Iota`,`\\mathrm{I}`),$(`\\isin`,`\\in`),$(`\\Kappa`,`\\mathrm{K}`),$(`\\larr`,`\\leftarrow`),$(`\\lArr`,`\\Leftarrow`),$(`\\Larr`,`\\Leftarrow`),$(`\\lrarr`,`\\leftrightarrow`),$(`\\lrArr`,`\\Leftrightarrow`),$(`\\Lrarr`,`\\Leftrightarrow`),$(`\\Mu`,`\\mathrm{M}`),$(`\\natnums`,`\\mathbb{N}`),$(`\\Nu`,`\\mathrm{N}`),$(`\\Omicron`,`\\mathrm{O}`),$(`\\plusmn`,`\\pm`),$(`\\rarr`,`\\rightarrow`),$(`\\rArr`,`\\Rightarrow`),$(`\\Rarr`,`\\Rightarrow`),$(`\\real`,`\\Re`),$(`\\reals`,`\\mathbb{R}`),$(`\\Reals`,`\\mathbb{R}`),$(`\\Rho`,`\\mathrm{P}`),$(`\\sdot`,`\\cdot`),$(`\\sect`,`\\S`),$(`\\spades`,`\\spadesuit`),$(`\\sub`,`\\subset`),$(`\\sube`,`\\subseteq`),$(`\\supe`,`\\supseteq`),$(`\\Tau`,`\\mathrm{T}`),$(`\\thetasym`,`\\vartheta`),$(`\\weierp`,`\\wp`),$(`\\Zeta`,`\\mathrm{Z}`),$(`\\argmin`,`\\DOTSB\\operatorname*{arg\\,min}`),$(`\\argmax`,`\\DOTSB\\operatorname*{arg\\,max}`),$(`\\plim`,`\\DOTSB\\mathop{\\operatorname{plim}}\\limits`),$(`\\bra`,`\\mathinner{\\langle{#1}|}`),$(`\\ket`,`\\mathinner{|{#1}\\rangle}`),$(`\\braket`,`\\mathinner{\\langle{#1}\\rangle}`),$(`\\Bra`,`\\left\\langle#1\\right|`),$(`\\Ket`,`\\left|#1\\right\\rangle`);var Gi=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get(`|`),s=t.macros.get(`\\|`);t.macros.beginGroup();var c=t=>n=>{e&&(n.macros.set(`|`,o),i.length&&n.macros.set(`\\|`,s));var a=t;return!t&&i.length&&n.future().text===`|`&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set(`|`,c(!1)),i.length&&t.macros.set(`\\|`,c(!0));var l=t.consumeArg().tokens,u=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};$(`\\bra@ket`,Gi(!1)),$(`\\bra@set`,Gi(!0)),$(`\\Braket`,`\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}`),$(`\\Set`,`\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}`),$(`\\set`,`\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}`),$(`\\angln`,`{\\angl n}`),$(`\\blue`,`\\textcolor{##6495ed}{#1}`),$(`\\orange`,`\\textcolor{##ffa500}{#1}`),$(`\\pink`,`\\textcolor{##ff00af}{#1}`),$(`\\red`,`\\textcolor{##df0030}{#1}`),$(`\\green`,`\\textcolor{##28ae7b}{#1}`),$(`\\gray`,`\\textcolor{gray}{#1}`),$(`\\purple`,`\\textcolor{##9d38bd}{#1}`),$(`\\blueA`,`\\textcolor{##ccfaff}{#1}`),$(`\\blueB`,`\\textcolor{##80f6ff}{#1}`),$(`\\blueC`,`\\textcolor{##63d9ea}{#1}`),$(`\\blueD`,`\\textcolor{##11accd}{#1}`),$(`\\blueE`,`\\textcolor{##0c7f99}{#1}`),$(`\\tealA`,`\\textcolor{##94fff5}{#1}`),$(`\\tealB`,`\\textcolor{##26edd5}{#1}`),$(`\\tealC`,`\\textcolor{##01d1c1}{#1}`),$(`\\tealD`,`\\textcolor{##01a995}{#1}`),$(`\\tealE`,`\\textcolor{##208170}{#1}`),$(`\\greenA`,`\\textcolor{##b6ffb0}{#1}`),$(`\\greenB`,`\\textcolor{##8af281}{#1}`),$(`\\greenC`,`\\textcolor{##74cf70}{#1}`),$(`\\greenD`,`\\textcolor{##1fab54}{#1}`),$(`\\greenE`,`\\textcolor{##0d923f}{#1}`),$(`\\goldA`,`\\textcolor{##ffd0a9}{#1}`),$(`\\goldB`,`\\textcolor{##ffbb71}{#1}`),$(`\\goldC`,`\\textcolor{##ff9c39}{#1}`),$(`\\goldD`,`\\textcolor{##e07d10}{#1}`),$(`\\goldE`,`\\textcolor{##a75a05}{#1}`),$(`\\redA`,`\\textcolor{##fca9a9}{#1}`),$(`\\redB`,`\\textcolor{##ff8482}{#1}`),$(`\\redC`,`\\textcolor{##f9685d}{#1}`),$(`\\redD`,`\\textcolor{##e84d39}{#1}`),$(`\\redE`,`\\textcolor{##bc2612}{#1}`),$(`\\maroonA`,`\\textcolor{##ffbde0}{#1}`),$(`\\maroonB`,`\\textcolor{##ff92c6}{#1}`),$(`\\maroonC`,`\\textcolor{##ed5fa6}{#1}`),$(`\\maroonD`,`\\textcolor{##ca337c}{#1}`),$(`\\maroonE`,`\\textcolor{##9e034e}{#1}`),$(`\\purpleA`,`\\textcolor{##ddd7ff}{#1}`),$(`\\purpleB`,`\\textcolor{##c6b9fc}{#1}`),$(`\\purpleC`,`\\textcolor{##aa87ff}{#1}`),$(`\\purpleD`,`\\textcolor{##7854ab}{#1}`),$(`\\purpleE`,`\\textcolor{##543b78}{#1}`),$(`\\mintA`,`\\textcolor{##f5f9e8}{#1}`),$(`\\mintB`,`\\textcolor{##edf2df}{#1}`),$(`\\mintC`,`\\textcolor{##e0e5cc}{#1}`),$(`\\grayA`,`\\textcolor{##f6f7f7}{#1}`),$(`\\grayB`,`\\textcolor{##f0f1f2}{#1}`),$(`\\grayC`,`\\textcolor{##e3e5e6}{#1}`),$(`\\grayD`,`\\textcolor{##d6d8da}{#1}`),$(`\\grayE`,`\\textcolor{##babec2}{#1}`),$(`\\grayF`,`\\textcolor{##888d93}{#1}`),$(`\\grayG`,`\\textcolor{##626569}{#1}`),$(`\\grayH`,`\\textcolor{##3b3e40}{#1}`),$(`\\grayI`,`\\textcolor{##21242c}{#1}`),$(`\\kaBlue`,`\\textcolor{##314453}{#1}`),$(`\\kaGreen`,`\\textcolor{##71B307}{#1}`);var Ki={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},qi=class{constructor(e,t,n){this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Li(Ri,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Ii(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),this.future().text!==`[`)return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg([`]`])}else ({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Rr(`EOF`,n.loc)),this.pushTokens(r),new Rr(``,Lr.range(t,n))}consumeSpaces(){for(;this.future().text===` `;)this.stack.pop()}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),n.push(a),a.text===`{`)++o;else if(a.text===`}`){if(--o,o===-1)throw new e(`Extra }`,a)}else if(a.text===`EOF`)throw new e(`Unexpected end of input in a macro argument, expected '`+(t&&r?t[s]:`}`)+`'`,a);if(t&&r)if((o===0||o===1&&t[s]===`{`)&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(o!==0||r);return i.text===`{`&&n[n.length-1].text===`}`&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new e(`The length of delimiters doesn't match the number of args!`);for(var r=n[0],i=0;ithis.settings.maxExpand)throw new e(`Too many expansions: infinite loop or need to increase maxExpand setting`)}expandOnce(t){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||t&&i.unexpandable){if(t&&i==null&&r[0]===`\\`&&!this.isDefined(r))throw new e(`Undefined control sequence: `+r);return this.pushToken(n),!1}this.countExpansion(1);var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var c=a[s];if(c.text===`#`){if(s===0)throw new e(`Incomplete placeholder at end of macro body`,c);if(c=a[--s],c.text===`#`)a.splice(s+1,1);else if(/^[1-9]$/.test(c.text))a.splice(s,2,...o[c.text-1]);else throw new e(`Not a valid argument number`,c)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text=`\\relax`),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Rr(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(e=>e.text).join(``)}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t==`function`?t(this):t;if(typeof r==`string`){var i=0;if(r.includes(`#`))for(var a=r.replace(/##/g,``);a.includes(`#`+(i+1));)++i;for(var o=new Ii(r,this.settings),s=[],c=o.lex();c.text!==`EOF`;)s.push(c),c=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return r}isDefined(e){return this.macros.has(e)||Di.hasOwnProperty(e)||k.math.hasOwnProperty(e)||k.text.hasOwnProperty(e)||Ki.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?Di.hasOwnProperty(e)&&!Di[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},Ji=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Yi=Object.freeze({"₊":`+`,"₋":`-`,"₌":`=`,"₍":`(`,"₎":`)`,"₀":`0`,"₁":`1`,"₂":`2`,"₃":`3`,"₄":`4`,"₅":`5`,"₆":`6`,"₇":`7`,"₈":`8`,"₉":`9`,ₐ:`a`,ₑ:`e`,ₕ:`h`,ᵢ:`i`,ⱼ:`j`,ₖ:`k`,ₗ:`l`,ₘ:`m`,ₙ:`n`,ₒ:`o`,ₚ:`p`,ᵣ:`r`,ₛ:`s`,ₜ:`t`,ᵤ:`u`,ᵥ:`v`,ₓ:`x`,ᵦ:`β`,ᵧ:`γ`,ᵨ:`ρ`,ᵩ:`ϕ`,ᵪ:`χ`,"⁺":`+`,"⁻":`-`,"⁼":`=`,"⁽":`(`,"⁾":`)`,"⁰":`0`,"¹":`1`,"²":`2`,"³":`3`,"⁴":`4`,"⁵":`5`,"⁶":`6`,"⁷":`7`,"⁸":`8`,"⁹":`9`,ᴬ:`A`,ᴮ:`B`,ᴰ:`D`,ᴱ:`E`,ᴳ:`G`,ᴴ:`H`,ᴵ:`I`,ᴶ:`J`,ᴷ:`K`,ᴸ:`L`,ᴹ:`M`,ᴺ:`N`,ᴼ:`O`,ᴾ:`P`,ᴿ:`R`,ᵀ:`T`,ᵁ:`U`,ⱽ:`V`,ᵂ:`W`,ᵃ:`a`,ᵇ:`b`,ᶜ:`c`,ᵈ:`d`,ᵉ:`e`,ᶠ:`f`,ᵍ:`g`,ʰ:`h`,ⁱ:`i`,ʲ:`j`,ᵏ:`k`,ˡ:`l`,ᵐ:`m`,ⁿ:`n`,ᵒ:`o`,ᵖ:`p`,ʳ:`r`,ˢ:`s`,ᵗ:`t`,ᵘ:`u`,ᵛ:`v`,ʷ:`w`,ˣ:`x`,ʸ:`y`,ᶻ:`z`,ᵝ:`β`,ᵞ:`γ`,ᵟ:`δ`,ᵠ:`ϕ`,ᵡ:`χ`,ᶿ:`θ`}),Xi={"́":{text:`\\'`,math:`\\acute`},"̀":{text:"\\`",math:`\\grave`},"̈":{text:`\\"`,math:`\\ddot`},"̃":{text:`\\~`,math:`\\tilde`},"̄":{text:`\\=`,math:`\\bar`},"̆":{text:`\\u`,math:`\\breve`},"̌":{text:`\\v`,math:`\\check`},"̂":{text:`\\^`,math:`\\hat`},"̇":{text:`\\.`,math:`\\dot`},"̊":{text:`\\r`,math:`\\mathring`},"̋":{text:`\\H`},"̧":{text:`\\c`}},Zi={á:`á`,à:`à`,ä:`ä`,ǟ:`ǟ`,ã:`ã`,ā:`ā`,ă:`ă`,ắ:`ắ`,ằ:`ằ`,ẵ:`ẵ`,ǎ:`ǎ`,â:`â`,ấ:`ấ`,ầ:`ầ`,ẫ:`ẫ`,ȧ:`ȧ`,ǡ:`ǡ`,å:`å`,ǻ:`ǻ`,ḃ:`ḃ`,ć:`ć`,ḉ:`ḉ`,č:`č`,ĉ:`ĉ`,ċ:`ċ`,ç:`ç`,ď:`ď`,ḋ:`ḋ`,ḑ:`ḑ`,é:`é`,è:`è`,ë:`ë`,ẽ:`ẽ`,ē:`ē`,ḗ:`ḗ`,ḕ:`ḕ`,ĕ:`ĕ`,ḝ:`ḝ`,ě:`ě`,ê:`ê`,ế:`ế`,ề:`ề`,ễ:`ễ`,ė:`ė`,ȩ:`ȩ`,ḟ:`ḟ`,ǵ:`ǵ`,ḡ:`ḡ`,ğ:`ğ`,ǧ:`ǧ`,ĝ:`ĝ`,ġ:`ġ`,ģ:`ģ`,ḧ:`ḧ`,ȟ:`ȟ`,ĥ:`ĥ`,ḣ:`ḣ`,ḩ:`ḩ`,í:`í`,ì:`ì`,ï:`ï`,ḯ:`ḯ`,ĩ:`ĩ`,ī:`ī`,ĭ:`ĭ`,ǐ:`ǐ`,î:`î`,ǰ:`ǰ`,ĵ:`ĵ`,ḱ:`ḱ`,ǩ:`ǩ`,ķ:`ķ`,ĺ:`ĺ`,ľ:`ľ`,ļ:`ļ`,ḿ:`ḿ`,ṁ:`ṁ`,ń:`ń`,ǹ:`ǹ`,ñ:`ñ`,ň:`ň`,ṅ:`ṅ`,ņ:`ņ`,ó:`ó`,ò:`ò`,ö:`ö`,ȫ:`ȫ`,õ:`õ`,ṍ:`ṍ`,ṏ:`ṏ`,ȭ:`ȭ`,ō:`ō`,ṓ:`ṓ`,ṑ:`ṑ`,ŏ:`ŏ`,ǒ:`ǒ`,ô:`ô`,ố:`ố`,ồ:`ồ`,ỗ:`ỗ`,ȯ:`ȯ`,ȱ:`ȱ`,ő:`ő`,ṕ:`ṕ`,ṗ:`ṗ`,ŕ:`ŕ`,ř:`ř`,ṙ:`ṙ`,ŗ:`ŗ`,ś:`ś`,ṥ:`ṥ`,š:`š`,ṧ:`ṧ`,ŝ:`ŝ`,ṡ:`ṡ`,ş:`ş`,ẗ:`ẗ`,ť:`ť`,ṫ:`ṫ`,ţ:`ţ`,ú:`ú`,ù:`ù`,ü:`ü`,ǘ:`ǘ`,ǜ:`ǜ`,ǖ:`ǖ`,ǚ:`ǚ`,ũ:`ũ`,ṹ:`ṹ`,ū:`ū`,ṻ:`ṻ`,ŭ:`ŭ`,ǔ:`ǔ`,û:`û`,ů:`ů`,ű:`ű`,ṽ:`ṽ`,ẃ:`ẃ`,ẁ:`ẁ`,ẅ:`ẅ`,ŵ:`ŵ`,ẇ:`ẇ`,ẘ:`ẘ`,ẍ:`ẍ`,ẋ:`ẋ`,ý:`ý`,ỳ:`ỳ`,ÿ:`ÿ`,ỹ:`ỹ`,ȳ:`ȳ`,ŷ:`ŷ`,ẏ:`ẏ`,ẙ:`ẙ`,ź:`ź`,ž:`ž`,ẑ:`ẑ`,ż:`ż`,Á:`Á`,À:`À`,Ä:`Ä`,Ǟ:`Ǟ`,Ã:`Ã`,Ā:`Ā`,Ă:`Ă`,Ắ:`Ắ`,Ằ:`Ằ`,Ẵ:`Ẵ`,Ǎ:`Ǎ`,Â:`Â`,Ấ:`Ấ`,Ầ:`Ầ`,Ẫ:`Ẫ`,Ȧ:`Ȧ`,Ǡ:`Ǡ`,Å:`Å`,Ǻ:`Ǻ`,Ḃ:`Ḃ`,Ć:`Ć`,Ḉ:`Ḉ`,Č:`Č`,Ĉ:`Ĉ`,Ċ:`Ċ`,Ç:`Ç`,Ď:`Ď`,Ḋ:`Ḋ`,Ḑ:`Ḑ`,É:`É`,È:`È`,Ë:`Ë`,Ẽ:`Ẽ`,Ē:`Ē`,Ḗ:`Ḗ`,Ḕ:`Ḕ`,Ĕ:`Ĕ`,Ḝ:`Ḝ`,Ě:`Ě`,Ê:`Ê`,Ế:`Ế`,Ề:`Ề`,Ễ:`Ễ`,Ė:`Ė`,Ȩ:`Ȩ`,Ḟ:`Ḟ`,Ǵ:`Ǵ`,Ḡ:`Ḡ`,Ğ:`Ğ`,Ǧ:`Ǧ`,Ĝ:`Ĝ`,Ġ:`Ġ`,Ģ:`Ģ`,Ḧ:`Ḧ`,Ȟ:`Ȟ`,Ĥ:`Ĥ`,Ḣ:`Ḣ`,Ḩ:`Ḩ`,Í:`Í`,Ì:`Ì`,Ï:`Ï`,Ḯ:`Ḯ`,Ĩ:`Ĩ`,Ī:`Ī`,Ĭ:`Ĭ`,Ǐ:`Ǐ`,Î:`Î`,İ:`İ`,Ĵ:`Ĵ`,Ḱ:`Ḱ`,Ǩ:`Ǩ`,Ķ:`Ķ`,Ĺ:`Ĺ`,Ľ:`Ľ`,Ļ:`Ļ`,Ḿ:`Ḿ`,Ṁ:`Ṁ`,Ń:`Ń`,Ǹ:`Ǹ`,Ñ:`Ñ`,Ň:`Ň`,Ṅ:`Ṅ`,Ņ:`Ņ`,Ó:`Ó`,Ò:`Ò`,Ö:`Ö`,Ȫ:`Ȫ`,Õ:`Õ`,Ṍ:`Ṍ`,Ṏ:`Ṏ`,Ȭ:`Ȭ`,Ō:`Ō`,Ṓ:`Ṓ`,Ṑ:`Ṑ`,Ŏ:`Ŏ`,Ǒ:`Ǒ`,Ô:`Ô`,Ố:`Ố`,Ồ:`Ồ`,Ỗ:`Ỗ`,Ȯ:`Ȯ`,Ȱ:`Ȱ`,Ő:`Ő`,Ṕ:`Ṕ`,Ṗ:`Ṗ`,Ŕ:`Ŕ`,Ř:`Ř`,Ṙ:`Ṙ`,Ŗ:`Ŗ`,Ś:`Ś`,Ṥ:`Ṥ`,Š:`Š`,Ṧ:`Ṧ`,Ŝ:`Ŝ`,Ṡ:`Ṡ`,Ş:`Ş`,Ť:`Ť`,Ṫ:`Ṫ`,Ţ:`Ţ`,Ú:`Ú`,Ù:`Ù`,Ü:`Ü`,Ǘ:`Ǘ`,Ǜ:`Ǜ`,Ǖ:`Ǖ`,Ǚ:`Ǚ`,Ũ:`Ũ`,Ṹ:`Ṹ`,Ū:`Ū`,Ṻ:`Ṻ`,Ŭ:`Ŭ`,Ǔ:`Ǔ`,Û:`Û`,Ů:`Ů`,Ű:`Ű`,Ṽ:`Ṽ`,Ẃ:`Ẃ`,Ẁ:`Ẁ`,Ẅ:`Ẅ`,Ŵ:`Ŵ`,Ẇ:`Ẇ`,Ẍ:`Ẍ`,Ẋ:`Ẋ`,Ý:`Ý`,Ỳ:`Ỳ`,Ÿ:`Ÿ`,Ỹ:`Ỹ`,Ȳ:`Ȳ`,Ŷ:`Ŷ`,Ẏ:`Ẏ`,Ź:`Ź`,Ž:`Ž`,Ẑ:`Ẑ`,Ż:`Ż`,ά:`ά`,ὰ:`ὰ`,ᾱ:`ᾱ`,ᾰ:`ᾰ`,έ:`έ`,ὲ:`ὲ`,ή:`ή`,ὴ:`ὴ`,ί:`ί`,ὶ:`ὶ`,ϊ:`ϊ`,ΐ:`ΐ`,ῒ:`ῒ`,ῑ:`ῑ`,ῐ:`ῐ`,ό:`ό`,ὸ:`ὸ`,ύ:`ύ`,ὺ:`ὺ`,ϋ:`ϋ`,ΰ:`ΰ`,ῢ:`ῢ`,ῡ:`ῡ`,ῠ:`ῠ`,ώ:`ώ`,ὼ:`ὼ`,Ύ:`Ύ`,Ὺ:`Ὺ`,Ϋ:`Ϋ`,Ῡ:`Ῡ`,Ῠ:`Ῠ`,Ώ:`Ώ`,Ὼ:`Ὼ`},Qi=class t{constructor(e,t){this.mode=`math`,this.gullet=new qi(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new e(`Expected '`+t+`', got '`+this.fetch().text+`'`,this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(`\\color`,`\\textcolor`);try{var e=this.parseExpression(!1);return this.expect(`EOF`),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Rr(`}`)),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect(`}`),this.nextToken=t,n}parseExpression(e,n){for(var r=[];;){this.mode===`math`&&this.consumeSpaces();var i=this.fetch();if(t.endOfExpression.has(i.text)||n&&i.text===n||e&&Di[i.text]&&Di[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;a.type!==`internal`&&r.push(a)}return this.mode===`text`&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i=128)this.settings.strict&&(se(n.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+n[0]+`" used in math mode`,t):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+n[0]+`"`+(` (`+n.charCodeAt(0)+`)`),t)),o={type:`textord`,mode:`text`,loc:Lr.range(t),text:n};else return null;if(this.consume(),a)for(var d=0;d.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/editor/neo-ppt/assets/katex-legacy-COlBCYAe.js b/editor/neo-ppt/assets/katex-legacy-COlBCYAe.js new file mode 100644 index 0000000..4b156f3 --- /dev/null +++ b/editor/neo-ppt/assets/katex-legacy-COlBCYAe.js @@ -0,0 +1 @@ +System.register([],function(e,t){var r,i,s,n,a,o,l,h,m,c,u,p,d,f,g,x,b,y,v,z,w,k,S,T,A,M,B,C,q,R,I,N,E,H,O,D,X,L,K,F,P,V,G,U,_,W,j,Y,Z,J,Q,$,ee,te,re,ie,se,ne,ae,oe,le,he,me,ce,ue,pe,de,fe,ge,xe,be,ye,ve,ze,we,ke,Se,Te,Ae,Me,Be,Ce,qe,Re,Ie,Ne,Ee,He,Oe,De,Xe,Le,Ke,Fe,Pe,Ve,Ge,Ue,_e,We,je,Ye,Ze,Je,Qe,$e,et,tt,rt,it,st,nt,at,ot,lt,ht,mt,ct,ut,pt,dt,ft,gt,xt,bt,yt,vt,zt,wt,kt,St,Tt,At,Mt,Bt,Ct,qt,Rt,It,Nt,Et,Ht,Ot,Dt,Xt,Lt,Kt,Ft,Pt,Vt,Gt,Ut,_t,Wt,jt,Yt,Zt,Jt,Qt,$t,er,tr,rr,ir,sr,nr,ar,or,lr,hr,mr,cr,ur,pr,dr,fr,gr,xr,br,yr,vr,zr,wr,kr,Sr,Tr,Ar,Mr,Br,Cr,qr,Rr,Ir,Nr,Er,Hr,Or,Dr,Xr,Lr,Kr,Fr,Pr,Vr,Gr,Ur,_r,Wr,jr,Yr,Zr,Jr,Qr,$r,ei,ti,ri,ii,si,ni,ai,oi,li,hi,mi,ci,ui,pi,di,fi,gi,xi,bi,yi,vi,zi,wi,ki,Si,Ti,Ai,Mi,Bi,Ci,qi,Ri,Ii,Ni,Ei,Hi,Oi,Di,Xi,Li,Ki,Fi,Pi,Vi,Gi,Ui,_i,Wi,ji,Yi,Zi,Ji,Qi,$i,es,ts,rs,is,ss,ns,as,os,ls,hs,ms,cs,us,ps;function ds(e){if("default"in e)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}function fs(e){for(var t=0;t=T[t]&&e<=T[t+1])return!0;return!1}function gs(e,t){ne[e]=t}function xs(e,t,r){if(!ne[t])throw new Error("Font metrics not found for font: "+t+".");var i=e.charCodeAt(0),s=ne[t][i];if(!s&&e[0]in oe&&(i=oe[e[0]].charCodeAt(0),s=ne[t][i]),s||"text"!==r||fs(i)&&(s=ne[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}function bs(e,t,r,i,s,n){ce[e][s]={font:t,group:r,replace:i},n&&i&&(ce[e][i]=ce[e][s])}function ys(e){for(var{type:t,names:r,props:i,handler:s,htmlBuilder:n,mathmlBuilder:a}=e,o={type:t,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:void 0===i.allowedInMath||i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:s},l=0;l0&&(a.push(zs(o,t)),o=[]),a.push(s[l]));o.length>0&&a.push(zs(o,t)),r?((n=zs(Ct(r,t,!0),t)).classes=["tag"],a.push(n)):i&&a.push(i);var m=rt(["katex-html"],a);if(m.setAttribute("aria-hidden","true"),n){var c=n.children[0];c.style.height=G(m.height+m.depth),m.depth&&(c.style.verticalAlign=G(-m.depth))}return m}function ks(e){return new L(e)}function Ss(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof Dt&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){var r=e.children[0];return r instanceof Dt&&","===r.text}return!1}function Ts(e,t,r,i,s){var n,a=Gt(e,r);n=1===a.length&&a[0]instanceof Ot&&Kt.has(a[0].type)?a[0]:new Ot("mrow",a);var o=new Ot("annotation",[new Dt(t)]);o.setAttribute("encoding","application/x-tex");var l=new Ot("math",[new Ot("semantics",[n,o])]);return l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&l.setAttribute("display","block"),rt([s?"katex":"katex-mathml"],[l])}function As(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Ms(e){var t=Bs(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Bs(e){return e&&("atom"===e.type||me.hasOwnProperty(e.type))?e:null}function Cs(e,t){var r=Ct(e.body,t,!0);return rt([e.mclass],r,t)}function qs(e,t){var r,i=Gt(e.body,t);return"minner"===e.mclass?r=new Ot("mpadded",i):"mord"===e.mclass?e.isCharacterBox?(r=i[0]).type="mi":r=new Ot("mi",i):(e.isCharacterBox?(r=i[0]).type="mo":r=new Ot("mo",i),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}function Rs(e,t,r){var i=pr[e];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(i,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var s={type:"atom",text:i,mode:"math",family:"rel"},n={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[s],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[n],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}function Is(e,t){var r=Bs(e);if(r&&Jr.has(r.text))return r;throw new i(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Ns(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}function Es(e){for(var{type:t,names:r,props:i,handler:s,htmlBuilder:n,mathmlBuilder:a}=e,o={type:t,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:s},l=0;l1||!c)&&g.pop(),b.length.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}\n/*$vite$:1*/',document.head.appendChild(r),i=class e extends Error{constructor(t,r){var i,s,n="KaTeX parse error: "+t,a=r&&r.loc;if(a&&a.start<=a.end){var o=a.lexer.input;i=a.start,s=a.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,s).replace(/[^]/g,"$&̲");n+=(i>15?"…"+o.slice(i-15,i):o.slice(0,i))+l+(s+15e.replace(s,"-$1").toLowerCase(),a={"&":"&",">":">","<":"<",'"':""","'":"'"},o=/[&><"']/g,l=e=>String(e).replace(o,e=>a[e]),h=e=>"ordgroup"===e.type||"color"===e.type?1===e.body.length?h(e.body[0]):e:"font"===e.type?h(e.body):e,m=new Set(["mathord","textord","atom"]),c=e=>m.has(h(e).type),u=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"},p={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}},d=class{constructor(e){for(var t of(void 0===e&&(e={}),e=e||{},Object.keys(p))){var r=p[t],i=e[t];this[t]=void 0!==i?r.processor?r.processor(i):i:ds(r)}}reportNonstrict(e,t,r){var s=this.strict;if("function"==typeof s&&(s=s(e,t,r)),s&&"ignore"!==s){if(!0===s||"error"===s)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===s?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+s+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var i=this.strict;if("function"==typeof i)try{i=i(e,t,r)}catch(s){i="error"}return!(!i||"ignore"===i||!0!==i&&"error"!==i&&("warn"===i?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]"),1)))}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t=u(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}},g=[new(f=class{constructor(e,t,r){this.id=e,this.size=t,this.cramped=r}sup(){return g[x[this.id]]}sub(){return g[b[this.id]]}fracNum(){return g[y[this.id]]}fracDen(){return g[v[this.id]]}cramp(){return g[z[this.id]]}text(){return g[w[this.id]]}isTight(){return this.size>=2}})(0,0,!1),new f(1,0,!0),new f(2,1,!1),new f(3,1,!0),new f(4,2,!1),new f(5,2,!0),new f(6,3,!1),new f(7,3,!0)],x=[4,5,4,5,6,7,6,7],b=[5,5,5,5,7,7,7,7],y=[2,3,4,5,6,7,6,7],v=[3,3,5,5,7,7,7,7],z=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],k={DISPLAY:g[0],TEXT:g[2],SCRIPT:g[4],SCRIPTSCRIPT:g[6]},T=[],(S=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}]).forEach(e=>e.blocks.forEach(e=>T.push(...e))),M=80,B=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},C=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},q=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},R=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},I=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},N=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"},E=function(e,t,r){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(r-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},H=function(e,t,r){t*=1e3;var i="";switch(e){case"sqrtMain":i=B(t,M);break;case"sqrtSize1":i=C(t,M);break;case"sqrtSize2":i=q(t,M);break;case"sqrtSize3":i=R(t,M);break;case"sqrtSize4":i=I(t,M);break;case"sqrtTall":i=E(t,M,r)}return i},O=function(e,t){switch(e){case"⎜":return A("M291 0 H417 V"+t+" H291z");case"∣":return A("M145 0 H188 V"+t+" H145z");case"∥":return A("M145 0 H188 V"+t+" H145z")+A("M367 0 H410 V"+t+" H367z");case"⎟":return A("M457 0 H583 V"+t+" H457z");case"⎢":return A("M319 0 H403 V"+t+" H319z");case"⎥":return A("M263 0 H347 V"+t+" H263z");case"⎪":return A("M384 0 H504 V"+t+" H384z");case"⏐":return A("M312 0 H355 V"+t+" H312z");case"‖":return A("M257 0 H300 V"+t+" H257z")+A("M478 0 H521 V"+t+" H478z");default:return""}},D={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:(A=e=>e+" "+e)("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:A("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:A("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:A("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:A("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:A("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:A("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:A("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},X=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}},L=class{constructor(e){this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText()).join("")}},K={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},F={ex:!0,em:!0,mu:!0},P=function(e){return"string"!=typeof e&&(e=e.unit),e in K||e in F||"ex"===e},V=function(e,t){var r;if(e.unit in K)r=K[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var s;if(s=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=s.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");r=s.fontMetrics().quad}s!==t&&(r*=s.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},G=function(e){return+e.toFixed(4)+"em"},U=function(e){return e.filter(e=>e).join(" ")},_=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var i=t.getColor();i&&(this.style.color=i)}},W=function(e){var t=document.createElement(e);for(var r of(t.className=U(this.classes),Object.keys(this.style)))t.style[r]=this.style[r];for(var i of Object.keys(this.attributes))t.setAttribute(i,this.attributes[i]);for(var s=0;s/=\x00-\x1f]/,Y=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+l(U(this.classes))+'"');var r="";for(var s of Object.keys(this.style))r+=n(s)+":"+this.style[s]+";";for(var a of(r&&(t+=' style="'+l(r)+'"'),Object.keys(this.attributes))){if(j.test(a))throw new i("Invalid attribute name '"+a+"'");t+=" "+a+'="'+l(this.attributes[a])+'"'}t+=">";for(var o=0;o"},Z=class{constructor(e,t,r,i){_.call(this,e,r,i),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return W.call(this,"span")}toMarkup(){return Y.call(this,"span")}},J=class{constructor(e,t,r,i){_.call(this,t,i),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return W.call(this,"a")}toMarkup(){return Y.call(this,"a")}},Q=class{constructor(e,t,r){this.alt=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");for(var t of(e.src=this.src,e.alt=this.alt,e.className="mord",Object.keys(this.style)))e.style[t]=this.style[t];return e}toMarkup(){var e=''+l(this.alt)+'=s[0]&&e<=s[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=$[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r of(this.italic>0&&((t=document.createElement("span")).style.marginRight=G(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=U(this.classes)),Object.keys(this.style)))(t=t||document.createElement("span")).style[r]=this.style[r];return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+G(this.italic)+";"),Object.keys(this.style)))r+=n(i)+":"+this.style[i]+";";r&&(e=!0,t+=' style="'+l(r)+'"');var s=l(this.text);return e?(t+=">",t+=s,t+=""):s}},te=class{constructor(e,t){this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var r=0;r':''}},ie=class{constructor(e){this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="e instanceof Z||e instanceof J||e instanceof L,ne={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ae={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},oe={"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"},le={},he={bin:1,close:1,inner:1,open:1,punct:1,rel:1},me={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ce={math:{},text:{}},pe="text",fe="ams",ge="accent-token",xe="bin",be="close",ye="inner",ve="mathord",ze="op-token",we="open",ke="punct",Te="spacing",Ae="textord",bs(ue="math",de="main",Se="rel","≡","\\equiv",!0),bs(ue,de,Se,"≺","\\prec",!0),bs(ue,de,Se,"≻","\\succ",!0),bs(ue,de,Se,"∼","\\sim",!0),bs(ue,de,Se,"⊥","\\perp"),bs(ue,de,Se,"⪯","\\preceq",!0),bs(ue,de,Se,"⪰","\\succeq",!0),bs(ue,de,Se,"≃","\\simeq",!0),bs(ue,de,Se,"∣","\\mid",!0),bs(ue,de,Se,"≪","\\ll",!0),bs(ue,de,Se,"≫","\\gg",!0),bs(ue,de,Se,"≍","\\asymp",!0),bs(ue,de,Se,"∥","\\parallel"),bs(ue,de,Se,"⋈","\\bowtie",!0),bs(ue,de,Se,"⌣","\\smile",!0),bs(ue,de,Se,"⊑","\\sqsubseteq",!0),bs(ue,de,Se,"⊒","\\sqsupseteq",!0),bs(ue,de,Se,"≐","\\doteq",!0),bs(ue,de,Se,"⌢","\\frown",!0),bs(ue,de,Se,"∋","\\ni",!0),bs(ue,de,Se,"∝","\\propto",!0),bs(ue,de,Se,"⊢","\\vdash",!0),bs(ue,de,Se,"⊣","\\dashv",!0),bs(ue,de,Se,"∋","\\owns"),bs(ue,de,ke,".","\\ldotp"),bs(ue,de,ke,"⋅","\\cdotp"),bs(ue,de,ke,"⋅","·"),bs(pe,de,Ae,"⋅","·"),bs(ue,de,Ae,"#","\\#"),bs(pe,de,Ae,"#","\\#"),bs(ue,de,Ae,"&","\\&"),bs(pe,de,Ae,"&","\\&"),bs(ue,de,Ae,"ℵ","\\aleph",!0),bs(ue,de,Ae,"∀","\\forall",!0),bs(ue,de,Ae,"ℏ","\\hbar",!0),bs(ue,de,Ae,"∃","\\exists",!0),bs(ue,de,Ae,"∇","\\nabla",!0),bs(ue,de,Ae,"♭","\\flat",!0),bs(ue,de,Ae,"ℓ","\\ell",!0),bs(ue,de,Ae,"♮","\\natural",!0),bs(ue,de,Ae,"♣","\\clubsuit",!0),bs(ue,de,Ae,"℘","\\wp",!0),bs(ue,de,Ae,"♯","\\sharp",!0),bs(ue,de,Ae,"♢","\\diamondsuit",!0),bs(ue,de,Ae,"ℜ","\\Re",!0),bs(ue,de,Ae,"♡","\\heartsuit",!0),bs(ue,de,Ae,"ℑ","\\Im",!0),bs(ue,de,Ae,"♠","\\spadesuit",!0),bs(ue,de,Ae,"§","\\S",!0),bs(pe,de,Ae,"§","\\S"),bs(ue,de,Ae,"¶","\\P",!0),bs(pe,de,Ae,"¶","\\P"),bs(ue,de,Ae,"†","\\dag"),bs(pe,de,Ae,"†","\\dag"),bs(pe,de,Ae,"†","\\textdagger"),bs(ue,de,Ae,"‡","\\ddag"),bs(pe,de,Ae,"‡","\\ddag"),bs(pe,de,Ae,"‡","\\textdaggerdbl"),bs(ue,de,be,"⎱","\\rmoustache",!0),bs(ue,de,we,"⎰","\\lmoustache",!0),bs(ue,de,be,"⟯","\\rgroup",!0),bs(ue,de,we,"⟮","\\lgroup",!0),bs(ue,de,xe,"∓","\\mp",!0),bs(ue,de,xe,"⊖","\\ominus",!0),bs(ue,de,xe,"⊎","\\uplus",!0),bs(ue,de,xe,"⊓","\\sqcap",!0),bs(ue,de,xe,"∗","\\ast"),bs(ue,de,xe,"⊔","\\sqcup",!0),bs(ue,de,xe,"◯","\\bigcirc",!0),bs(ue,de,xe,"∙","\\bullet",!0),bs(ue,de,xe,"‡","\\ddagger"),bs(ue,de,xe,"≀","\\wr",!0),bs(ue,de,xe,"⨿","\\amalg"),bs(ue,de,xe,"&","\\And"),bs(ue,de,Se,"⟵","\\longleftarrow",!0),bs(ue,de,Se,"⇐","\\Leftarrow",!0),bs(ue,de,Se,"⟸","\\Longleftarrow",!0),bs(ue,de,Se,"⟶","\\longrightarrow",!0),bs(ue,de,Se,"⇒","\\Rightarrow",!0),bs(ue,de,Se,"⟹","\\Longrightarrow",!0),bs(ue,de,Se,"↔","\\leftrightarrow",!0),bs(ue,de,Se,"⟷","\\longleftrightarrow",!0),bs(ue,de,Se,"⇔","\\Leftrightarrow",!0),bs(ue,de,Se,"⟺","\\Longleftrightarrow",!0),bs(ue,de,Se,"↦","\\mapsto",!0),bs(ue,de,Se,"⟼","\\longmapsto",!0),bs(ue,de,Se,"↗","\\nearrow",!0),bs(ue,de,Se,"↩","\\hookleftarrow",!0),bs(ue,de,Se,"↪","\\hookrightarrow",!0),bs(ue,de,Se,"↘","\\searrow",!0),bs(ue,de,Se,"↼","\\leftharpoonup",!0),bs(ue,de,Se,"⇀","\\rightharpoonup",!0),bs(ue,de,Se,"↙","\\swarrow",!0),bs(ue,de,Se,"↽","\\leftharpoondown",!0),bs(ue,de,Se,"⇁","\\rightharpoondown",!0),bs(ue,de,Se,"↖","\\nwarrow",!0),bs(ue,de,Se,"⇌","\\rightleftharpoons",!0),bs(ue,fe,Se,"≮","\\nless",!0),bs(ue,fe,Se,"","\\@nleqslant"),bs(ue,fe,Se,"","\\@nleqq"),bs(ue,fe,Se,"⪇","\\lneq",!0),bs(ue,fe,Se,"≨","\\lneqq",!0),bs(ue,fe,Se,"","\\@lvertneqq"),bs(ue,fe,Se,"⋦","\\lnsim",!0),bs(ue,fe,Se,"⪉","\\lnapprox",!0),bs(ue,fe,Se,"⊀","\\nprec",!0),bs(ue,fe,Se,"⋠","\\npreceq",!0),bs(ue,fe,Se,"⋨","\\precnsim",!0),bs(ue,fe,Se,"⪹","\\precnapprox",!0),bs(ue,fe,Se,"≁","\\nsim",!0),bs(ue,fe,Se,"","\\@nshortmid"),bs(ue,fe,Se,"∤","\\nmid",!0),bs(ue,fe,Se,"⊬","\\nvdash",!0),bs(ue,fe,Se,"⊭","\\nvDash",!0),bs(ue,fe,Se,"⋪","\\ntriangleleft"),bs(ue,fe,Se,"⋬","\\ntrianglelefteq",!0),bs(ue,fe,Se,"⊊","\\subsetneq",!0),bs(ue,fe,Se,"","\\@varsubsetneq"),bs(ue,fe,Se,"⫋","\\subsetneqq",!0),bs(ue,fe,Se,"","\\@varsubsetneqq"),bs(ue,fe,Se,"≯","\\ngtr",!0),bs(ue,fe,Se,"","\\@ngeqslant"),bs(ue,fe,Se,"","\\@ngeqq"),bs(ue,fe,Se,"⪈","\\gneq",!0),bs(ue,fe,Se,"≩","\\gneqq",!0),bs(ue,fe,Se,"","\\@gvertneqq"),bs(ue,fe,Se,"⋧","\\gnsim",!0),bs(ue,fe,Se,"⪊","\\gnapprox",!0),bs(ue,fe,Se,"⊁","\\nsucc",!0),bs(ue,fe,Se,"⋡","\\nsucceq",!0),bs(ue,fe,Se,"⋩","\\succnsim",!0),bs(ue,fe,Se,"⪺","\\succnapprox",!0),bs(ue,fe,Se,"≆","\\ncong",!0),bs(ue,fe,Se,"","\\@nshortparallel"),bs(ue,fe,Se,"∦","\\nparallel",!0),bs(ue,fe,Se,"⊯","\\nVDash",!0),bs(ue,fe,Se,"⋫","\\ntriangleright"),bs(ue,fe,Se,"⋭","\\ntrianglerighteq",!0),bs(ue,fe,Se,"","\\@nsupseteqq"),bs(ue,fe,Se,"⊋","\\supsetneq",!0),bs(ue,fe,Se,"","\\@varsupsetneq"),bs(ue,fe,Se,"⫌","\\supsetneqq",!0),bs(ue,fe,Se,"","\\@varsupsetneqq"),bs(ue,fe,Se,"⊮","\\nVdash",!0),bs(ue,fe,Se,"⪵","\\precneqq",!0),bs(ue,fe,Se,"⪶","\\succneqq",!0),bs(ue,fe,Se,"","\\@nsubseteqq"),bs(ue,fe,xe,"⊴","\\unlhd"),bs(ue,fe,xe,"⊵","\\unrhd"),bs(ue,fe,Se,"↚","\\nleftarrow",!0),bs(ue,fe,Se,"↛","\\nrightarrow",!0),bs(ue,fe,Se,"⇍","\\nLeftarrow",!0),bs(ue,fe,Se,"⇏","\\nRightarrow",!0),bs(ue,fe,Se,"↮","\\nleftrightarrow",!0),bs(ue,fe,Se,"⇎","\\nLeftrightarrow",!0),bs(ue,fe,Se,"△","\\vartriangle"),bs(ue,fe,Ae,"ℏ","\\hslash"),bs(ue,fe,Ae,"▽","\\triangledown"),bs(ue,fe,Ae,"◊","\\lozenge"),bs(ue,fe,Ae,"Ⓢ","\\circledS"),bs(ue,fe,Ae,"®","\\circledR"),bs(pe,fe,Ae,"®","\\circledR"),bs(ue,fe,Ae,"∡","\\measuredangle",!0),bs(ue,fe,Ae,"∄","\\nexists"),bs(ue,fe,Ae,"℧","\\mho"),bs(ue,fe,Ae,"Ⅎ","\\Finv",!0),bs(ue,fe,Ae,"⅁","\\Game",!0),bs(ue,fe,Ae,"‵","\\backprime"),bs(ue,fe,Ae,"▲","\\blacktriangle"),bs(ue,fe,Ae,"▼","\\blacktriangledown"),bs(ue,fe,Ae,"■","\\blacksquare"),bs(ue,fe,Ae,"⧫","\\blacklozenge"),bs(ue,fe,Ae,"★","\\bigstar"),bs(ue,fe,Ae,"∢","\\sphericalangle",!0),bs(ue,fe,Ae,"∁","\\complement",!0),bs(ue,fe,Ae,"ð","\\eth",!0),bs(pe,de,Ae,"ð","ð"),bs(ue,fe,Ae,"╱","\\diagup"),bs(ue,fe,Ae,"╲","\\diagdown"),bs(ue,fe,Ae,"□","\\square"),bs(ue,fe,Ae,"□","\\Box"),bs(ue,fe,Ae,"◊","\\Diamond"),bs(ue,fe,Ae,"¥","\\yen",!0),bs(pe,fe,Ae,"¥","\\yen",!0),bs(ue,fe,Ae,"✓","\\checkmark",!0),bs(pe,fe,Ae,"✓","\\checkmark"),bs(ue,fe,Ae,"ℶ","\\beth",!0),bs(ue,fe,Ae,"ℸ","\\daleth",!0),bs(ue,fe,Ae,"ℷ","\\gimel",!0),bs(ue,fe,Ae,"ϝ","\\digamma",!0),bs(ue,fe,Ae,"ϰ","\\varkappa"),bs(ue,fe,we,"┌","\\@ulcorner",!0),bs(ue,fe,be,"┐","\\@urcorner",!0),bs(ue,fe,we,"└","\\@llcorner",!0),bs(ue,fe,be,"┘","\\@lrcorner",!0),bs(ue,fe,Se,"≦","\\leqq",!0),bs(ue,fe,Se,"⩽","\\leqslant",!0),bs(ue,fe,Se,"⪕","\\eqslantless",!0),bs(ue,fe,Se,"≲","\\lesssim",!0),bs(ue,fe,Se,"⪅","\\lessapprox",!0),bs(ue,fe,Se,"≊","\\approxeq",!0),bs(ue,fe,xe,"⋖","\\lessdot"),bs(ue,fe,Se,"⋘","\\lll",!0),bs(ue,fe,Se,"≶","\\lessgtr",!0),bs(ue,fe,Se,"⋚","\\lesseqgtr",!0),bs(ue,fe,Se,"⪋","\\lesseqqgtr",!0),bs(ue,fe,Se,"≑","\\doteqdot"),bs(ue,fe,Se,"≓","\\risingdotseq",!0),bs(ue,fe,Se,"≒","\\fallingdotseq",!0),bs(ue,fe,Se,"∽","\\backsim",!0),bs(ue,fe,Se,"⋍","\\backsimeq",!0),bs(ue,fe,Se,"⫅","\\subseteqq",!0),bs(ue,fe,Se,"⋐","\\Subset",!0),bs(ue,fe,Se,"⊏","\\sqsubset",!0),bs(ue,fe,Se,"≼","\\preccurlyeq",!0),bs(ue,fe,Se,"⋞","\\curlyeqprec",!0),bs(ue,fe,Se,"≾","\\precsim",!0),bs(ue,fe,Se,"⪷","\\precapprox",!0),bs(ue,fe,Se,"⊲","\\vartriangleleft"),bs(ue,fe,Se,"⊴","\\trianglelefteq"),bs(ue,fe,Se,"⊨","\\vDash",!0),bs(ue,fe,Se,"⊪","\\Vvdash",!0),bs(ue,fe,Se,"⌣","\\smallsmile"),bs(ue,fe,Se,"⌢","\\smallfrown"),bs(ue,fe,Se,"≏","\\bumpeq",!0),bs(ue,fe,Se,"≎","\\Bumpeq",!0),bs(ue,fe,Se,"≧","\\geqq",!0),bs(ue,fe,Se,"⩾","\\geqslant",!0),bs(ue,fe,Se,"⪖","\\eqslantgtr",!0),bs(ue,fe,Se,"≳","\\gtrsim",!0),bs(ue,fe,Se,"⪆","\\gtrapprox",!0),bs(ue,fe,xe,"⋗","\\gtrdot"),bs(ue,fe,Se,"⋙","\\ggg",!0),bs(ue,fe,Se,"≷","\\gtrless",!0),bs(ue,fe,Se,"⋛","\\gtreqless",!0),bs(ue,fe,Se,"⪌","\\gtreqqless",!0),bs(ue,fe,Se,"≖","\\eqcirc",!0),bs(ue,fe,Se,"≗","\\circeq",!0),bs(ue,fe,Se,"≜","\\triangleq",!0),bs(ue,fe,Se,"∼","\\thicksim"),bs(ue,fe,Se,"≈","\\thickapprox"),bs(ue,fe,Se,"⫆","\\supseteqq",!0),bs(ue,fe,Se,"⋑","\\Supset",!0),bs(ue,fe,Se,"⊐","\\sqsupset",!0),bs(ue,fe,Se,"≽","\\succcurlyeq",!0),bs(ue,fe,Se,"⋟","\\curlyeqsucc",!0),bs(ue,fe,Se,"≿","\\succsim",!0),bs(ue,fe,Se,"⪸","\\succapprox",!0),bs(ue,fe,Se,"⊳","\\vartriangleright"),bs(ue,fe,Se,"⊵","\\trianglerighteq"),bs(ue,fe,Se,"⊩","\\Vdash",!0),bs(ue,fe,Se,"∣","\\shortmid"),bs(ue,fe,Se,"∥","\\shortparallel"),bs(ue,fe,Se,"≬","\\between",!0),bs(ue,fe,Se,"⋔","\\pitchfork",!0),bs(ue,fe,Se,"∝","\\varpropto"),bs(ue,fe,Se,"◀","\\blacktriangleleft"),bs(ue,fe,Se,"∴","\\therefore",!0),bs(ue,fe,Se,"∍","\\backepsilon"),bs(ue,fe,Se,"▶","\\blacktriangleright"),bs(ue,fe,Se,"∵","\\because",!0),bs(ue,fe,Se,"⋘","\\llless"),bs(ue,fe,Se,"⋙","\\gggtr"),bs(ue,fe,xe,"⊲","\\lhd"),bs(ue,fe,xe,"⊳","\\rhd"),bs(ue,fe,Se,"≂","\\eqsim",!0),bs(ue,de,Se,"⋈","\\Join"),bs(ue,fe,Se,"≑","\\Doteq",!0),bs(ue,fe,xe,"∔","\\dotplus",!0),bs(ue,fe,xe,"∖","\\smallsetminus"),bs(ue,fe,xe,"⋒","\\Cap",!0),bs(ue,fe,xe,"⋓","\\Cup",!0),bs(ue,fe,xe,"⩞","\\doublebarwedge",!0),bs(ue,fe,xe,"⊟","\\boxminus",!0),bs(ue,fe,xe,"⊞","\\boxplus",!0),bs(ue,fe,xe,"⋇","\\divideontimes",!0),bs(ue,fe,xe,"⋉","\\ltimes",!0),bs(ue,fe,xe,"⋊","\\rtimes",!0),bs(ue,fe,xe,"⋋","\\leftthreetimes",!0),bs(ue,fe,xe,"⋌","\\rightthreetimes",!0),bs(ue,fe,xe,"⋏","\\curlywedge",!0),bs(ue,fe,xe,"⋎","\\curlyvee",!0),bs(ue,fe,xe,"⊝","\\circleddash",!0),bs(ue,fe,xe,"⊛","\\circledast",!0),bs(ue,fe,xe,"⋅","\\centerdot"),bs(ue,fe,xe,"⊺","\\intercal",!0),bs(ue,fe,xe,"⋒","\\doublecap"),bs(ue,fe,xe,"⋓","\\doublecup"),bs(ue,fe,xe,"⊠","\\boxtimes",!0),bs(ue,fe,Se,"⇢","\\dashrightarrow",!0),bs(ue,fe,Se,"⇠","\\dashleftarrow",!0),bs(ue,fe,Se,"⇇","\\leftleftarrows",!0),bs(ue,fe,Se,"⇆","\\leftrightarrows",!0),bs(ue,fe,Se,"⇚","\\Lleftarrow",!0),bs(ue,fe,Se,"↞","\\twoheadleftarrow",!0),bs(ue,fe,Se,"↢","\\leftarrowtail",!0),bs(ue,fe,Se,"↫","\\looparrowleft",!0),bs(ue,fe,Se,"⇋","\\leftrightharpoons",!0),bs(ue,fe,Se,"↶","\\curvearrowleft",!0),bs(ue,fe,Se,"↺","\\circlearrowleft",!0),bs(ue,fe,Se,"↰","\\Lsh",!0),bs(ue,fe,Se,"⇈","\\upuparrows",!0),bs(ue,fe,Se,"↿","\\upharpoonleft",!0),bs(ue,fe,Se,"⇃","\\downharpoonleft",!0),bs(ue,de,Se,"⊶","\\origof",!0),bs(ue,de,Se,"⊷","\\imageof",!0),bs(ue,fe,Se,"⊸","\\multimap",!0),bs(ue,fe,Se,"↭","\\leftrightsquigarrow",!0),bs(ue,fe,Se,"⇉","\\rightrightarrows",!0),bs(ue,fe,Se,"⇄","\\rightleftarrows",!0),bs(ue,fe,Se,"↠","\\twoheadrightarrow",!0),bs(ue,fe,Se,"↣","\\rightarrowtail",!0),bs(ue,fe,Se,"↬","\\looparrowright",!0),bs(ue,fe,Se,"↷","\\curvearrowright",!0),bs(ue,fe,Se,"↻","\\circlearrowright",!0),bs(ue,fe,Se,"↱","\\Rsh",!0),bs(ue,fe,Se,"⇊","\\downdownarrows",!0),bs(ue,fe,Se,"↾","\\upharpoonright",!0),bs(ue,fe,Se,"⇂","\\downharpoonright",!0),bs(ue,fe,Se,"⇝","\\rightsquigarrow",!0),bs(ue,fe,Se,"⇝","\\leadsto"),bs(ue,fe,Se,"⇛","\\Rrightarrow",!0),bs(ue,fe,Se,"↾","\\restriction"),bs(ue,de,Ae,"‘","`"),bs(ue,de,Ae,"$","\\$"),bs(pe,de,Ae,"$","\\$"),bs(pe,de,Ae,"$","\\textdollar"),bs(ue,de,Ae,"%","\\%"),bs(pe,de,Ae,"%","\\%"),bs(ue,de,Ae,"_","\\_"),bs(pe,de,Ae,"_","\\_"),bs(pe,de,Ae,"_","\\textunderscore"),bs(ue,de,Ae,"∠","\\angle",!0),bs(ue,de,Ae,"∞","\\infty",!0),bs(ue,de,Ae,"′","\\prime"),bs(ue,de,Ae,"△","\\triangle"),bs(ue,de,Ae,"Γ","\\Gamma",!0),bs(ue,de,Ae,"Δ","\\Delta",!0),bs(ue,de,Ae,"Θ","\\Theta",!0),bs(ue,de,Ae,"Λ","\\Lambda",!0),bs(ue,de,Ae,"Ξ","\\Xi",!0),bs(ue,de,Ae,"Π","\\Pi",!0),bs(ue,de,Ae,"Σ","\\Sigma",!0),bs(ue,de,Ae,"Υ","\\Upsilon",!0),bs(ue,de,Ae,"Φ","\\Phi",!0),bs(ue,de,Ae,"Ψ","\\Psi",!0),bs(ue,de,Ae,"Ω","\\Omega",!0),bs(ue,de,Ae,"A","Α"),bs(ue,de,Ae,"B","Β"),bs(ue,de,Ae,"E","Ε"),bs(ue,de,Ae,"Z","Ζ"),bs(ue,de,Ae,"H","Η"),bs(ue,de,Ae,"I","Ι"),bs(ue,de,Ae,"K","Κ"),bs(ue,de,Ae,"M","Μ"),bs(ue,de,Ae,"N","Ν"),bs(ue,de,Ae,"O","Ο"),bs(ue,de,Ae,"P","Ρ"),bs(ue,de,Ae,"T","Τ"),bs(ue,de,Ae,"X","Χ"),bs(ue,de,Ae,"¬","\\neg",!0),bs(ue,de,Ae,"¬","\\lnot"),bs(ue,de,Ae,"⊤","\\top"),bs(ue,de,Ae,"⊥","\\bot"),bs(ue,de,Ae,"∅","\\emptyset"),bs(ue,fe,Ae,"∅","\\varnothing"),bs(ue,de,ve,"α","\\alpha",!0),bs(ue,de,ve,"β","\\beta",!0),bs(ue,de,ve,"γ","\\gamma",!0),bs(ue,de,ve,"δ","\\delta",!0),bs(ue,de,ve,"ϵ","\\epsilon",!0),bs(ue,de,ve,"ζ","\\zeta",!0),bs(ue,de,ve,"η","\\eta",!0),bs(ue,de,ve,"θ","\\theta",!0),bs(ue,de,ve,"ι","\\iota",!0),bs(ue,de,ve,"κ","\\kappa",!0),bs(ue,de,ve,"λ","\\lambda",!0),bs(ue,de,ve,"μ","\\mu",!0),bs(ue,de,ve,"ν","\\nu",!0),bs(ue,de,ve,"ξ","\\xi",!0),bs(ue,de,ve,"ο","\\omicron",!0),bs(ue,de,ve,"π","\\pi",!0),bs(ue,de,ve,"ρ","\\rho",!0),bs(ue,de,ve,"σ","\\sigma",!0),bs(ue,de,ve,"τ","\\tau",!0),bs(ue,de,ve,"υ","\\upsilon",!0),bs(ue,de,ve,"ϕ","\\phi",!0),bs(ue,de,ve,"χ","\\chi",!0),bs(ue,de,ve,"ψ","\\psi",!0),bs(ue,de,ve,"ω","\\omega",!0),bs(ue,de,ve,"ε","\\varepsilon",!0),bs(ue,de,ve,"ϑ","\\vartheta",!0),bs(ue,de,ve,"ϖ","\\varpi",!0),bs(ue,de,ve,"ϱ","\\varrho",!0),bs(ue,de,ve,"ς","\\varsigma",!0),bs(ue,de,ve,"φ","\\varphi",!0),bs(ue,de,xe,"∗","*",!0),bs(ue,de,xe,"+","+"),bs(ue,de,xe,"−","-",!0),bs(ue,de,xe,"⋅","\\cdot",!0),bs(ue,de,xe,"∘","\\circ",!0),bs(ue,de,xe,"÷","\\div",!0),bs(ue,de,xe,"±","\\pm",!0),bs(ue,de,xe,"×","\\times",!0),bs(ue,de,xe,"∩","\\cap",!0),bs(ue,de,xe,"∪","\\cup",!0),bs(ue,de,xe,"∖","\\setminus",!0),bs(ue,de,xe,"∧","\\land"),bs(ue,de,xe,"∨","\\lor"),bs(ue,de,xe,"∧","\\wedge",!0),bs(ue,de,xe,"∨","\\vee",!0),bs(ue,de,Ae,"√","\\surd"),bs(ue,de,we,"⟨","\\langle",!0),bs(ue,de,we,"∣","\\lvert"),bs(ue,de,we,"∥","\\lVert"),bs(ue,de,be,"?","?"),bs(ue,de,be,"!","!"),bs(ue,de,be,"⟩","\\rangle",!0),bs(ue,de,be,"∣","\\rvert"),bs(ue,de,be,"∥","\\rVert"),bs(ue,de,Se,"=","="),bs(ue,de,Se,":",":"),bs(ue,de,Se,"≈","\\approx",!0),bs(ue,de,Se,"≅","\\cong",!0),bs(ue,de,Se,"≥","\\ge"),bs(ue,de,Se,"≥","\\geq",!0),bs(ue,de,Se,"←","\\gets"),bs(ue,de,Se,">","\\gt",!0),bs(ue,de,Se,"∈","\\in",!0),bs(ue,de,Se,"","\\@not"),bs(ue,de,Se,"⊂","\\subset",!0),bs(ue,de,Se,"⊃","\\supset",!0),bs(ue,de,Se,"⊆","\\subseteq",!0),bs(ue,de,Se,"⊇","\\supseteq",!0),bs(ue,fe,Se,"⊈","\\nsubseteq",!0),bs(ue,fe,Se,"⊉","\\nsupseteq",!0),bs(ue,de,Se,"⊨","\\models"),bs(ue,de,Se,"←","\\leftarrow",!0),bs(ue,de,Se,"≤","\\le"),bs(ue,de,Se,"≤","\\leq",!0),bs(ue,de,Se,"<","\\lt",!0),bs(ue,de,Se,"→","\\rightarrow",!0),bs(ue,de,Se,"→","\\to"),bs(ue,fe,Se,"≱","\\ngeq",!0),bs(ue,fe,Se,"≰","\\nleq",!0),bs(ue,de,Te," ","\\ "),bs(ue,de,Te," ","\\space"),bs(ue,de,Te," ","\\nobreakspace"),bs(pe,de,Te," ","\\ "),bs(pe,de,Te," "," "),bs(pe,de,Te," ","\\space"),bs(pe,de,Te," ","\\nobreakspace"),bs(ue,de,Te,null,"\\nobreak"),bs(ue,de,Te,null,"\\allowbreak"),bs(ue,de,ke,",",","),bs(ue,de,ke,";",";"),bs(ue,fe,xe,"⊼","\\barwedge",!0),bs(ue,fe,xe,"⊻","\\veebar",!0),bs(ue,de,xe,"⊙","\\odot",!0),bs(ue,de,xe,"⊕","\\oplus",!0),bs(ue,de,xe,"⊗","\\otimes",!0),bs(ue,de,Ae,"∂","\\partial",!0),bs(ue,de,xe,"⊘","\\oslash",!0),bs(ue,fe,xe,"⊚","\\circledcirc",!0),bs(ue,fe,xe,"⊡","\\boxdot",!0),bs(ue,de,xe,"△","\\bigtriangleup"),bs(ue,de,xe,"▽","\\bigtriangledown"),bs(ue,de,xe,"†","\\dagger"),bs(ue,de,xe,"⋄","\\diamond"),bs(ue,de,xe,"⋆","\\star"),bs(ue,de,xe,"◃","\\triangleleft"),bs(ue,de,xe,"▹","\\triangleright"),bs(ue,de,we,"{","\\{"),bs(pe,de,Ae,"{","\\{"),bs(pe,de,Ae,"{","\\textbraceleft"),bs(ue,de,be,"}","\\}"),bs(pe,de,Ae,"}","\\}"),bs(pe,de,Ae,"}","\\textbraceright"),bs(ue,de,we,"{","\\lbrace"),bs(ue,de,be,"}","\\rbrace"),bs(ue,de,we,"[","\\lbrack",!0),bs(pe,de,Ae,"[","\\lbrack",!0),bs(ue,de,be,"]","\\rbrack",!0),bs(pe,de,Ae,"]","\\rbrack",!0),bs(ue,de,we,"(","\\lparen",!0),bs(ue,de,be,")","\\rparen",!0),bs(pe,de,Ae,"<","\\textless",!0),bs(pe,de,Ae,">","\\textgreater",!0),bs(ue,de,we,"⌊","\\lfloor",!0),bs(ue,de,be,"⌋","\\rfloor",!0),bs(ue,de,we,"⌈","\\lceil",!0),bs(ue,de,be,"⌉","\\rceil",!0),bs(ue,de,Ae,"\\","\\backslash"),bs(ue,de,Ae,"∣","|"),bs(ue,de,Ae,"∣","\\vert"),bs(pe,de,Ae,"|","\\textbar",!0),bs(ue,de,Ae,"∥","\\|"),bs(ue,de,Ae,"∥","\\Vert"),bs(pe,de,Ae,"∥","\\textbardbl"),bs(pe,de,Ae,"~","\\textasciitilde"),bs(pe,de,Ae,"\\","\\textbackslash"),bs(pe,de,Ae,"^","\\textasciicircum"),bs(ue,de,Se,"↑","\\uparrow",!0),bs(ue,de,Se,"⇑","\\Uparrow",!0),bs(ue,de,Se,"↓","\\downarrow",!0),bs(ue,de,Se,"⇓","\\Downarrow",!0),bs(ue,de,Se,"↕","\\updownarrow",!0),bs(ue,de,Se,"⇕","\\Updownarrow",!0),bs(ue,de,ze,"∐","\\coprod"),bs(ue,de,ze,"⋁","\\bigvee"),bs(ue,de,ze,"⋀","\\bigwedge"),bs(ue,de,ze,"⨄","\\biguplus"),bs(ue,de,ze,"⋂","\\bigcap"),bs(ue,de,ze,"⋃","\\bigcup"),bs(ue,de,ze,"∫","\\int"),bs(ue,de,ze,"∫","\\intop"),bs(ue,de,ze,"∬","\\iint"),bs(ue,de,ze,"∭","\\iiint"),bs(ue,de,ze,"∏","\\prod"),bs(ue,de,ze,"∑","\\sum"),bs(ue,de,ze,"⨂","\\bigotimes"),bs(ue,de,ze,"⨁","\\bigoplus"),bs(ue,de,ze,"⨀","\\bigodot"),bs(ue,de,ze,"∮","\\oint"),bs(ue,de,ze,"∯","\\oiint"),bs(ue,de,ze,"∰","\\oiiint"),bs(ue,de,ze,"⨆","\\bigsqcup"),bs(ue,de,ze,"∫","\\smallint"),bs(pe,de,ye,"…","\\textellipsis"),bs(ue,de,ye,"…","\\mathellipsis"),bs(pe,de,ye,"…","\\ldots",!0),bs(ue,de,ye,"…","\\ldots",!0),bs(ue,de,ye,"⋯","\\@cdots",!0),bs(ue,de,ye,"⋱","\\ddots",!0),bs(ue,de,Ae,"⋮","\\varvdots"),bs(pe,de,Ae,"⋮","\\varvdots"),bs(ue,de,ge,"ˊ","\\acute"),bs(ue,de,ge,"ˋ","\\grave"),bs(ue,de,ge,"¨","\\ddot"),bs(ue,de,ge,"~","\\tilde"),bs(ue,de,ge,"ˉ","\\bar"),bs(ue,de,ge,"˘","\\breve"),bs(ue,de,ge,"ˇ","\\check"),bs(ue,de,ge,"^","\\hat"),bs(ue,de,ge,"⃗","\\vec"),bs(ue,de,ge,"˙","\\dot"),bs(ue,de,ge,"˚","\\mathring"),bs(ue,de,ve,"","\\@imath"),bs(ue,de,ve,"","\\@jmath"),bs(ue,de,Ae,"ı","ı"),bs(ue,de,Ae,"ȷ","ȷ"),bs(pe,de,Ae,"ı","\\i",!0),bs(pe,de,Ae,"ȷ","\\j",!0),bs(pe,de,Ae,"ß","\\ss",!0),bs(pe,de,Ae,"æ","\\ae",!0),bs(pe,de,Ae,"œ","\\oe",!0),bs(pe,de,Ae,"ø","\\o",!0),bs(pe,de,Ae,"Æ","\\AE",!0),bs(pe,de,Ae,"Œ","\\OE",!0),bs(pe,de,Ae,"Ø","\\O",!0),bs(pe,de,ge,"ˊ","\\'"),bs(pe,de,ge,"ˋ","\\`"),bs(pe,de,ge,"ˆ","\\^"),bs(pe,de,ge,"˜","\\~"),bs(pe,de,ge,"ˉ","\\="),bs(pe,de,ge,"˘","\\u"),bs(pe,de,ge,"˙","\\."),bs(pe,de,ge,"¸","\\c"),bs(pe,de,ge,"˚","\\r"),bs(pe,de,ge,"ˇ","\\v"),bs(pe,de,ge,"¨",'\\"'),bs(pe,de,ge,"˝","\\H"),bs(pe,de,ge,"◯","\\textcircled"),Me={"--":!0,"---":!0,"``":!0,"''":!0},bs(pe,de,Ae,"–","--",!0),bs(pe,de,Ae,"–","\\textendash"),bs(pe,de,Ae,"—","---",!0),bs(pe,de,Ae,"—","\\textemdash"),bs(pe,de,Ae,"‘","`",!0),bs(pe,de,Ae,"‘","\\textquoteleft"),bs(pe,de,Ae,"’","'",!0),bs(pe,de,Ae,"’","\\textquoteright"),bs(pe,de,Ae,"“","``",!0),bs(pe,de,Ae,"“","\\textquotedblleft"),bs(pe,de,Ae,"”","''",!0),bs(pe,de,Ae,"”","\\textquotedblright"),bs(ue,de,Ae,"°","\\degree",!0),bs(pe,de,Ae,"°","\\degree"),bs(pe,de,Ae,"°","\\textdegree",!0),bs(ue,de,Ae,"£","\\pounds"),bs(ue,de,Ae,"£","\\mathsterling",!0),bs(pe,de,Ae,"£","\\pounds"),bs(pe,de,Ae,"£","\\textsterling",!0),bs(ue,fe,Ae,"✠","\\maltese"),bs(pe,fe,Ae,"✠","\\maltese"),Be='0123456789/@."',Ce=0;Ce<14;Ce++)qe=Be.charAt(Ce),bs(ue,de,Ae,qe,qe);for(Re='0123456789!@*()-=+";:?/.,',Ie=0;Ie<25;Ie++)Ne=Re.charAt(Ie),bs(pe,de,Ae,Ne,Ne);for(Ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",He=0;He<52;He++)Oe=Ee.charAt(He),bs(ue,de,ve,Oe,Oe),bs(pe,de,Ae,Oe,Oe);for(bs(ue,fe,Ae,"C","ℂ"),bs(pe,fe,Ae,"C","ℂ"),bs(ue,fe,Ae,"H","ℍ"),bs(pe,fe,Ae,"H","ℍ"),bs(ue,fe,Ae,"N","ℕ"),bs(pe,fe,Ae,"N","ℕ"),bs(ue,fe,Ae,"P","ℙ"),bs(pe,fe,Ae,"P","ℙ"),bs(ue,fe,Ae,"Q","ℚ"),bs(pe,fe,Ae,"Q","ℚ"),bs(ue,fe,Ae,"R","ℝ"),bs(pe,fe,Ae,"R","ℝ"),bs(ue,fe,Ae,"Z","ℤ"),bs(pe,fe,Ae,"Z","ℤ"),bs(ue,de,ve,"h","ℎ"),bs(pe,de,ve,"h","ℎ"),De="",Xe=0;Xe<52;Xe++)Le=Ee.charAt(Xe),De=String.fromCharCode(55349,56320+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56372+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56424+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56580+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56684+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56736+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56788+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56840+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56944+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),Xe<26&&(De=String.fromCharCode(55349,56632+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De),De=String.fromCharCode(55349,56476+Xe),bs(ue,de,ve,Le,De),bs(pe,de,Ae,Le,De));for(De=String.fromCharCode(55349,56668),bs(ue,de,ve,"k",De),bs(pe,de,Ae,"k",De),Ke=0;Ke<10;Ke++)Fe=Ke.toString(),De=String.fromCharCode(55349,57294+Ke),bs(ue,de,ve,Fe,De),bs(pe,de,Ae,Fe,De),De=String.fromCharCode(55349,57314+Ke),bs(ue,de,ve,Fe,De),bs(pe,de,Ae,Fe,De),De=String.fromCharCode(55349,57324+Ke),bs(ue,de,ve,Fe,De),bs(pe,de,Ae,Fe,De),De=String.fromCharCode(55349,57334+Ke),bs(ue,de,ve,Fe,De),bs(pe,de,Ae,Fe,De);for(Pe="ÐÞþ",Ve=0;Ve<3;Ve++)Ge=Pe.charAt(Ve),bs(ue,de,ve,Ge,Ge),bs(pe,de,Ae,Ge,Ge);Ue=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],_e=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],We=(e,t)=>{var r=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,s="math"===t?0:1;if(119808<=r&&r<120484){var n=Math.floor((r-119808)/26);return[Ue[n][2],Ue[n][s]]}if(120782<=r&&r<=120831){var a=Math.floor((r-120782)/10);return[_e[a][2],_e[a][s]]}if(120485===r||120486===r)return[Ue[0][2],Ue[0][s]];if(1204860)return Ye(s,l,i,t,n.concat(h));if(o){var m,c;if("boldsymbol"===o){var u=Je(s,i,0,0,r);m=u.fontName,c=[u.fontClass]}else a?(m=ut[o].fontName,c=[o]):(m=ct(o,t.fontWeight,t.fontShape),c=[o,t.fontWeight,t.fontShape]);if(je(s,m,i).metrics)return Ye(s,m,i,t,n.concat(c));if(Me.hasOwnProperty(s)&&"Typewriter"===m.slice(0,10)){for(var p=[],d=0;d{if(U(e.classes)!==U(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||0!==e.italic&&e.hasClass("mathnormal"))return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var i of Object.keys(e.style))if(e.style[i]!==t.style[i])return!1;for(var s of Object.keys(t.style))if(e.style[s]!==t.style[s])return!1;return!0},et=e=>{for(var t=0;tt&&(t=n.height),n.depth>r&&(r=n.depth),n.maxFontSize>i&&(i=n.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=i},rt=function(e,t,r,i){var s=new Z(e,t,r,i);return tt(s),s},it=(e,t,r,i)=>new Z(e,t,r,i),st=function(e,t,r){var i=rt([e],[],t);return i.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),i.style.borderBottomWidth=G(i.height),i.maxFontSize=1,i},nt=function(e,t,r,i){var s=new J(e,t,r,i);return tt(s),s},at=function(e){var t=new L(e);return tt(t),t},ot=function(e,t){return e instanceof L?rt([],[e],t):e},lt=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],i=-t[0].shift-t[0].elem.depth,s=i,n=1;n{var r=rt(["mspace"],[],t),i=V(e,t);return r.style.marginRight=G(i),r},ct=function(e,t,r){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return i+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},ut={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},pt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},dt=function(e,t){var[r,i,s]=pt[e],n=it(["overlay"],[new te([new re(r)],{width:G(i),height:G(s),style:"width:"+G(i),viewBox:"0 0 "+1e3*i+" "+1e3*s,preserveAspectRatio:"xMinYMin"})],t);return n.height=s,n.style.height=G(s),n.style.width=G(i),n},bt={mord:{mop:ft={number:3,unit:"mu"},mbin:gt={number:4,unit:"mu"},mrel:xt={number:5,unit:"mu"},minner:ft},mop:{mord:ft,mop:ft,mrel:xt,minner:ft},mbin:{mord:gt,mop:gt,mopen:gt,minner:gt},mrel:{mord:xt,mop:xt,mopen:xt,minner:xt},mopen:{},mclose:{mop:ft,mbin:gt,mrel:xt,minner:ft},mpunct:{mord:ft,mop:ft,mrel:xt,mopen:ft,mclose:ft,mpunct:ft,minner:ft},minner:{mord:ft,mop:ft,mbin:gt,mrel:xt,mopen:ft,mpunct:ft,minner:ft}},yt={mord:{mop:ft},mop:{mord:ft,mop:ft},mbin:{},mrel:{},mopen:{},mclose:{mop:ft},mpunct:{},minner:{mop:ft}},vt={},zt={},wt={},kt=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},St=function(e){return"ordgroup"===e.type?e.body:[e]},Tt=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),At=new Set(["rightmost","mrel","mclose","mpunct"]),Mt={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},Bt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ct=function(e,t,r,i){void 0===i&&(i=[null,null]);for(var s=[],n=0;n{var r=t.classes[0],i=e.classes[0];"mbin"===r&&At.has(i)?t.classes[0]="mord":"mbin"===i&&Tt.has(r)&&(e.classes[0]="mord")},{node:m},c,u),qt(s,(e,t)=>{var r,i,s=Nt(t),n=Nt(e),a=s&&n?e.hasClass("mtight")?null==(r=yt[s])?void 0:r[n]:null==(i=bt[s])?void 0:i[n]:null;if(a)return mt(a,l)},{node:m},c,u),s},qt=function(e,t,r,i,s){i&&e.push(i);for(var n=0;nr=>{e.splice(t+1,0,r),n++})(n)}}i&&e.pop()},Rt=function(e){return e instanceof L||e instanceof J||e instanceof Z&&e.hasClass("enclosing")?e:null},It=function(e,t){var r=Rt(e);if(r){var i=r.children;if(i.length){if("right"===t)return It(i[i.length-1],"right");if("left"===t)return It(i[0],"left")}}return e},Nt=function(e,t){return e?(t&&(e=It(e,t)),Bt[e.classes[0]]||null):null},Et=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return rt(t.concat(r))},Ht=function(e,t,r){if(!e)return rt();if(zt[e.type]){var s=zt[e.type](e,t);if(r&&t.size!==r.size){s=rt(t.sizingClasses(r),[s],t);var n=t.sizeMultiplier/r.sizeMultiplier;s.height*=n,s.depth*=n}return s}throw new i("Got group of unknown type: '"+e.type+"'")},Ot=class{constructor(e,t,r){this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=U(this.classes));for(var r=0;r0&&(e+=' class ="'+l(U(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map(e=>e.toText()).join("")}},Dt=class{constructor(e){this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return l(this.toText())}toText(){return this.text}},Xt=class{constructor(e){this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",G(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},Lt=new Set(["\\imath","\\jmath"]),Kt=new Set(["mrow","mtable"]),Ft=function(e,t,r){return!ce[t][e]||!ce[t][e].replace||55349===e.charCodeAt(0)||Me.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=ce[t][e].replace),new Dt(e)},Pt=function(e){return 1===e.length?e[0]:new Ot("mrow",e)},Vt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var i=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathsfit"===r)return"sans-serif-italic";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var s=e.text;if(Lt.has(s))return null;if(ce[i][s]){var n=ce[i][s].replace;n&&(s=n)}return xs(s,ut[r].fontName,i)?ut[r].variant:null},Gt=function(e,t,r){if(1===e.length){var i=_t(e[0],t);return r&&i instanceof Ot&&"mo"===i.type&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var s,n=[],a=0;a=1&&("mn"===s.type||Ss(s))){var l=o.children[0];l instanceof Ot&&"mn"===l.type&&(l.children=[...s.children,...l.children],n.pop())}else if("mi"===s.type&&1===s.children.length){var h=s.children[0];if(h instanceof Dt&&"̸"===h.text&&("mo"===o.type||"mi"===o.type||"mn"===o.type)){var m=o.children[0];m instanceof Dt&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),n.pop())}}}n.push(o),s=o}return n},Ut=function(e,t,r){return Pt(Gt(e,t,r))},_t=function(e,t){if(!e)return new Ot("mrow");if(wt[e.type])return wt[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")},Wt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],jt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Yt=function(e,t){return t.size<2?e:Wt[e-1][t.size-1]},(Zt=class e{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=jt[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(r,t),new e(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Yt(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:jt[e-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Yt(e.BASESIZE,t);return this.size===r&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!le[t=e>=5?0:e>=3?1:2]){var r=le[t]={cssEmPerMu:ae.quad[t]/18};for(var i in ae)ae.hasOwnProperty(i)&&(r[i]=ae[i][t])}return le[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}).BASESIZE=6,Jt=function(e){return new Zt({style:e.displayMode?k.DISPLAY:k.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Qt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=rt(r,[e])}return e},$t=function(e,t,r){var i,s=Jt(r);return"mathml"===r.output?Ts(e,t,s,r.displayMode,!0):(i="html"===r.output?rt(["katex"],[ws(e,s)]):rt(["katex"],[Ts(e,t,s,r.displayMode,!1),ws(e,s)]),Qt(i,r))},er=function(e,t,r){return Qt(rt(["katex"],[ws(e,Jt(r))]),r)},tr={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},rr=function(e){var t=new Ot("mo",[new Dt(tr[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},ir={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},sr=new Set(["widehat","widecheck","widetilde","utilde"]),nr=function(e,t){var{span:r,minWidth:i,height:s}=function(){var r=4e5,i=e.label.slice(1);if(sr.has(i)){var s,n,a,o=e,l="ordgroup"===o.base.type?o.base.body.length:1;if(l>5)"widehat"===i||"widecheck"===i?(s=420,r=2364,a=.42,n=i+"4"):(s=312,r=2340,a=.34,n="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===i||"widecheck"===i?(r=[0,1062,2364,2364,2364][h],s=[0,239,300,360,420][h],a=[0,.24,.3,.3,.36,.42][h],n=i+h):(r=[0,600,1033,2339,2340][h],s=[0,260,286,306,312][h],a=[0,.26,.286,.3,.306,.34][h],n="tilde"+h)}return{span:it([],[new te([new re(n)],{width:"100%",height:G(a),viewBox:"0 0 "+r+" "+s,preserveAspectRatio:"none"})],t),minWidth:0,height:a}}var m,c,u=[],p=ir[i],[d,f,g]=p,x=g/1e3,b=d.length;if(1===b)m=["hide-tail"],c=[p[3]];else if(2===b)m=["halfarrow-left","halfarrow-right"],c=["xMinYMin","xMaxYMin"];else{if(3!==b)throw new Error("Correct katexImagesData or update code here to support\n "+b+" children.");m=["brace-left","brace-center","brace-right"],c=["xMinYMin","xMidYMin","xMaxYMin"]}for(var y=0;y0&&(r.style.minWidth=G(i)),r},ar=function(e,t,r,i,s){var n,a=e.height+e.depth+r+i;if(/fbox|color|angl/.test(t)){if(n=rt(["stretchy",t],[],s),"fbox"===t){var o=s.color&&s.getColor();o&&(n.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"})),n=it([],[new te(l,{width:"100%",height:G(a)})],s)}return n.height=a,n.style.height=G(a),n},or=e=>e instanceof ee?e:se(e)&&1===e.children.length?or(e.children[0]):void 0,lr=(e,t)=>{var r,i,s;e&&"supsub"===e.type?(r=(i=As(e.base,"accent")).base,e.base=r,s=function(e){if(e instanceof Z)return e;throw new Error("Expected span but got "+String(e)+".")}(Ht(e,t)),e.base=i):r=(i=As(e,"accent")).base;var n,a,o=Ht(r,t.havingCrampedStyle()),l=0;i.isShifty&&c(r)&&(l=null!=(n=null==(a=or(o))?void 0:a.skew)?n:0);var h,m="\\c"===i.label,u=m?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight);if(i.isStretchy)h=nr(i,t),h=ht({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:h,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+G(2*l)+")",marginLeft:G(2*l)}:void 0}]});else{var p,d;"\\vec"===i.label?(p=dt("vec",t),d=pt.vec[1]):(p=function(e){if(e instanceof ee)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}(p=Qe({type:"textord",mode:i.mode,text:i.label},t,"textord")),p.italic=0,d=p.width,m&&(u+=p.depth)),h=rt(["accent-body"],[p]);var f="\\textcircled"===i.label;f&&(h.classes.push("accent-full"),u=o.height);var g=l;f||(g-=d/2),h.style.left=G(g),"\\textcircled"===i.label&&(h.style.top=".2em"),h=ht({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-u},{type:"elem",elem:h}]})}var x=rt(["mord","accent"],[h],t);return s?(s.children[0]=x,s.height=Math.max(x.height,s.height),s.classes[0]="mord",s):x},hr=(e,t)=>{var r=e.isStretchy?rr(e.label):new Ot("mo",[Ft(e.label,e.mode)]),i=new Ot("mover",[_t(e.base,t),r]);return i.setAttribute("accent","true"),i},mr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|")),ys({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=kt(t[0]),i=!mr.test(e.funcName),s=!i||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:i,isShifty:s,base:r}},htmlBuilder:lr,mathmlBuilder:hr}),ys({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],i=e.parser.mode;return"math"===i&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:lr,mathmlBuilder:hr}),ys({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:i}=e,s=t[0];return{type:"accentUnder",mode:r.mode,label:i,base:s}},htmlBuilder:(e,t)=>{var r=Ht(e.base,t),i=nr(e,t),s="\\utilde"===e.label?.12:0;return rt(["mord","accentunder"],[ht({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:r}]})],t)},mathmlBuilder:(e,t)=>{var r=rr(e.label),i=new Ot("munder",[_t(e.base,t),r]);return i.setAttribute("accentunder","true"),i}}),cr=e=>{var t=new Ot("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t},ys({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:i,funcName:s}=e;return{type:"xArrow",mode:i.mode,label:s,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,i=t.style,s=t.havingStyle(i.sup()),n=ot(Ht(e.body,s,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";n.classes.push(a+"-arrow-pad"),e.below&&(s=t.havingStyle(i.sub()),(r=ot(Ht(e.below,s,t),t)).classes.push(a+"-arrow-pad"));var o,l=nr(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((n.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=n.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;o=ht({positionType:"individualShift",children:[{type:"elem",elem:n,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]})}else o=ht({positionType:"individualShift",children:[{type:"elem",elem:n,shift:m},{type:"elem",elem:l,shift:h}]});return o.children[0].children[0].children[1].classes.push("svg-align"),rt(["mrel","x-arrow"],[o],t)},mathmlBuilder(e,t){var r,i=rr(e.label);if(i.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var s=cr(_t(e.body,t));r=e.below?new Ot("munderover",[i,cr(_t(e.below,t)),s]):new Ot("mover",[i,s])}else e.below?r=new Ot("munder",[i,cr(_t(e.below,t))]):(r=cr(),r=new Ot("mover",[i,r]));return r}}),ys({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:i}=e,s=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+i.slice(5),body:St(s),isCharacterBox:c(s)}},htmlBuilder:Cs,mathmlBuilder:qs}),ur=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family},ys({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:ur(t[0]),body:St(t[1]),isCharacterBox:c(t[1])}}}),ys({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:i,funcName:s}=e,n=t[1],a=t[0];r="\\stackrel"!==s?ur(n):"mrel";var o={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==s,body:St(n)},l={type:"supsub",mode:a.mode,base:o,sup:"\\underset"===s?null:a,sub:"\\underset"===s?a:null};return{type:"mclass",mode:i.mode,mclass:r,body:[l],isCharacterBox:c(l)}},htmlBuilder:Cs,mathmlBuilder:qs}),ys({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:ur(t[0]),body:St(t[0])}},htmlBuilder(e,t){var r=Ct(e.body,t,!0),i=rt([e.mclass],r,t);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(e,t){var r=new Ot("mstyle",Gt(e.body,t));return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}}),pr={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},dr=()=>({type:"styling",body:[],mode:"math",style:"display"}),fr=e=>"textord"===e.type&&"@"===e.text,gr=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t,ys({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:i}=e;return{type:"cdlabel",mode:r.mode,side:i.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),i=ot(Ht(e.label,r,t),t);return i.classes.push("cd-label-"+e.side),i.style.bottom=G(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(e,t){var r=new Ot("mrow",[_t(e.label,t)]);return(r=new Ot("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Ot("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ys({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=ot(Ht(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Ot("mrow",[_t(e.fragment,t)])}),ys({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,s=As(t[0],"ordgroup").body,n="",a=0;a=1114111)throw new i("\\@char with invalid code point "+n);return l<=65535?o=String.fromCharCode(l):(l-=65536,o=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:o}}}),xr=(e,t)=>at(Ct(e.body,t.withColor(e.color),!1)),br=(e,t)=>{var r=new Ot("mstyle",Gt(e.body,t.withColor(e.color)));return r.setAttribute("mathcolor",e.color),r},ys({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,i=As(t[0],"color-token").color,s=t[1];return{type:"color",mode:r.mode,color:i,body:St(s)}},htmlBuilder:xr,mathmlBuilder:br}),ys({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:i}=e,s=As(t[0],"color-token").color;r.gullet.macros.set("\\current@color",s);var n=r.parseExpression(!0,i);return{type:"color",mode:r.mode,color:s,body:n}},htmlBuilder:xr,mathmlBuilder:br}),ys({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:i}=e,s="["===i.gullet.future().text?i.parseSizeGroup(!0):null,n=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:n,size:s&&As(s,"size").value}},htmlBuilder(e,t){var r=rt(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=G(V(e.size,t)))),r},mathmlBuilder(e,t){var r=new Ot("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",G(V(e.size,t)))),r}}),yr={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},vr=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},zr=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},wr=(e,t,r,i)=>{var s=e.gullet.macros.get(r.text);null==s&&(r.noexpand=!0,s={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,s,i)},ys({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var s=t.fetch();if(yr[s.text])return"\\global"!==r&&"\\\\globallong"!==r||(s.text=yr[s.text]),As(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",s)}}),ys({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,s=t.gullet.popToken(),n=s.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new i("Expected a control sequence",s);for(var a,o=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(s=t.gullet.popToken()).text){if("{"===t.gullet.future().text){a=t.gullet.future(),l[o].push("{");break}if(s=t.gullet.popToken(),!/^[1-9]$/.test(s.text))throw new i('Invalid argument number "'+s.text+'"');if(parseInt(s.text)!==o+1)throw new i('Argument number "'+s.text+'" out of order');o++,l.push([])}else{if("EOF"===s.text)throw new i("Expected a macro definition");l[o].push(s.text)}var{tokens:h}=t.gullet.consumeArg();return a&&h.unshift(a),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(n,{tokens:h,numArgs:o,delimiters:l},r===yr[r]),{type:"internal",mode:t.mode}}}),ys({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,i=vr(t.gullet.popToken());return t.gullet.consumeSpaces(),wr(t,i,zr(t),"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ys({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,i=vr(t.gullet.popToken()),s=t.gullet.popToken(),n=t.gullet.popToken();return wr(t,i,n,"\\\\globalfuture"===r),t.gullet.pushToken(n),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}}),kr=function(e,t,r){var i=xs(ce.math[e]&&ce.math[e].replace||e,t,r);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},Sr=function(e,t,r,i){var s=r.havingBaseStyle(t),n=rt(i.concat(s.sizingClasses(r)),[e],r),a=s.sizeMultiplier/r.sizeMultiplier;return n.height*=a,n.depth*=a,n.maxFontSize=s.sizeMultiplier,n},Tr=function(e,t,r){var i=t.havingBaseStyle(r),s=(1-t.sizeMultiplier/i.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=G(s),e.height-=s,e.depth+=s},Ar=function(e,t,r,i,s,n){var a=Sr(Ye(e,"Main-Regular",s,i),t,i,n);return r&&Tr(a,i,t),a},Mr=function(e,t,r,i){return Ye(e,"Size"+t+"-Regular",r,i)},Br=function(e,t,r,i,s,n){var a=Mr(e,t,s,i),o=Sr(rt(["delimsizing","size"+t],[a],i),k.TEXT,i,n);return r&&Tr(o,i,k.TEXT),o},Cr=function(e,t,r){return{type:"elem",elem:rt(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[rt([],[Ye(e,t,r)])])}},qr=function(e,t,r){var i=ne["Size4-Regular"][e.charCodeAt(0)]?ne["Size4-Regular"][e.charCodeAt(0)][4]:ne["Size1-Regular"][e.charCodeAt(0)][4],s=it([],[new te([new re("inner",O(e,Math.round(1e3*t)))],{width:G(i),height:G(t),style:"width:"+G(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"})],r);return s.height=t,s.style.height=G(t),s.style.width=G(i),{type:"elem",elem:s}},Rr={type:"kern",size:-.008},Ir=new Set(["|","\\lvert","\\rvert","\\vert"]),Nr=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Er=function(e,t,r,i,s,n){var a,o,l,h,m="",c=0;a=l=h=e,o=null;var u="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",h="\\Downarrow"):Ir.has(e)?(l="∣",m="vert",c=333):Nr.has(e)?(l="∥",m="doublevert",c=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",h="⎣",u="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",h="⎦",u="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",h="⎣",u="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=h="⎢",u="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",h="⎦",u="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=h="⎥",u="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",h="⎝",u="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",h="⎠",u="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(a="⎧",o="⎨",h="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",o="⎬",h="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",h="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",h="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",h="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",h="⎩",l="⎪",u="Size4-Regular");var p=kr(a,u,s),d=p.height+p.depth,f=kr(l,u,s),g=f.height+f.depth,x=kr(h,u,s),b=x.height+x.depth,y=0,v=1;if(null!==o){var z=kr(o,u,s);y=z.height+z.depth,v=2}var w=d+b+y,S=w+Math.max(0,Math.ceil((t-w)/(v*g)))*v*g,T=i.fontMetrics().axisHeight;r&&(T*=i.sizeMultiplier);var A=S/2-T,M=[];if(m.length>0){var B=S-d-b,C=Math.round(1e3*S),q=X(m,Math.round(1e3*B)),R=new re(m,q),I=G(c/1e3),N=G(C/1e3),E=it([],[new te([R],{width:I,height:N,viewBox:"0 0 "+c+" "+C})],i);E.height=C/1e3,E.style.width=I,E.style.height=N,M.push({type:"elem",elem:E})}else{if(M.push(Cr(h,u,s)),M.push(Rr),null===o){var H=S-d-b+.016;M.push(qr(l,H,i))}else{var O=(S-d-b-y)/2+.016;M.push(qr(l,O,i)),M.push(Rr),M.push(Cr(o,u,s)),M.push(Rr),M.push(qr(l,O,i))}M.push(Rr),M.push(Cr(a,u,s))}var D=i.havingBaseStyle(k.TEXT);return Sr(rt(["delimsizing","mult"],[ht({positionType:"bottom",positionData:A,children:M})],D),k.TEXT,i,n)},Hr=.08,Or=function(e,t,r,i,s){return it(["hide-tail"],[new te([new re(e,H(e,i,r))],{width:"400em",height:G(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"})],s)},Dr=function(e,t){var r,i,s=t.havingBaseSizing(),n=Wr("\\surd",e*s.sizeMultiplier,Ur,s),a=s.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===n.type?(e<1?a=1:e<1.4&&(a=.7),h=(1+o)/a,(r=Or("sqrtMain",l=(1+o+Hr)/a,m=1e3+1e3*o+80,o,t)).style.minWidth="0.853em",i=.833/a):"large"===n.type?(m=1080*Fr[n.size],h=(Fr[n.size]+o)/a,l=(Fr[n.size]+o+Hr)/a,(r=Or("sqrtSize"+n.size,l,m,o,t)).style.minWidth="1.02em",i=1/a):(l=e+o+Hr,h=e+o,m=Math.floor(1e3*e+o)+80,(r=Or("sqrtTall",l,m,o,t)).style.minWidth="0.742em",i=1.056),r.height=h,r.style.height=G(l),{span:r,advanceWidth:i,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*a}},Xr=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),Lr=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Kr=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Fr=[0,1.2,1.8,2.4,3],Pr=function(e,t,r,s,n){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),Xr.has(e)||Kr.has(e))return Br(e,t,!1,r,s,n);if(Lr.has(e))return Er(e,Fr[t],!1,r,s,n);throw new i("Illegal delimiter: '"+e+"'")},Vr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Gr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],Ur=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_r=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";var t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},Wr=function(e,t,r,i){for(var s=Math.min(2,3-i.style.size);st)return n}return r[r.length-1]},jr=function(e,t,r,i,s,n){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=Kr.has(e)?Vr:Xr.has(e)?Ur:Gr;var o=Wr(e,t,a,i);return"small"===o.type?Ar(e,o.style,r,i,s,n):"large"===o.type?Br(e,o.size,r,i,s,n):Er(e,t,r,i,s,n)},Yr=function(e,t,r,i,s,n){var a=i.fontMetrics().axisHeight*i.sizeMultiplier,o=5/i.fontMetrics().ptPerEm,l=Math.max(t-a,r+a);return jr(e,Math.max(l/500*901,2*l-o),!0,i,s,n)},Zr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Jr=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]),ys({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Is(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Zr[e.funcName].size,mclass:Zr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?rt([e.mclass]):Pr(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(Ft(e.delim,e.mode));var r=new Ot("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=G(Fr[e.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}}),ys({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Is(t[0],e).text,color:r}}}),ys({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Is(t[0],e),i=e.parser;++i.leftrightDepth;var s=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var n=As(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:s,left:r.text,right:n.delim,rightColor:n.color}},htmlBuilder:(e,t)=>{Ns(e);for(var r,i,s=Ct(e.body,t,!0,["mopen","mclose"]),n=0,a=0,o=!1,l=0;l{Ns(e);var r=Gt(e.body,t);if("."!==e.left){var i=new Ot("mo",[Ft(e.left,e.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if("."!==e.right){var s=new Ot("mo",[Ft(e.right,e.mode)]);s.setAttribute("fence","true"),e.rightColor&&s.setAttribute("mathcolor",e.rightColor),r.push(s)}return Pt(r)}}),ys({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Is(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=Et(t,[]);else{r=Pr(e.delim,1,t,e.mode,[]);var i={delim:e.delim,options:t};r.isMiddle=i}return r},mathmlBuilder:(e,t)=>{var r=new Ot("mo",["\\vert"===e.delim||"|"===e.delim?Ft("|","text"):Ft(e.delim,e.mode)]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}}),Qr=(e,t)=>{var r,i,s=ot(Ht(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,o=0,l=c(e.body);if("sout"===n)(r=rt(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if("phase"===n){var h=V({number:.6,unit:"pt"},t),m=V({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;var u=s.height+s.depth+h+m;s.style.paddingLeft=G(u/2+h);var p=Math.floor(1e3*u*a);(r=it(["hide-tail"],[new te([new re("phase",N(p))],{width:"400em",height:G(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"})],t)).style.height=G(u),o=s.depth+h+m}else{/cancel/.test(n)?l||s.classes.push("cancel-pad"):"angl"===n?s.classes.push("anglpad"):s.classes.push("boxpad");var d=0,f=0,g=0;/box/.test(n)?(g=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),f=d=t.fontMetrics().fboxsep+("colorbox"===n?0:g)):"angl"===n?(d=4*(g=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),f=Math.max(0,.25-s.depth)):f=d=l?.2:0,r=ar(s,n,d,f,t),/fbox|boxed|fcolorbox/.test(n)?(r.style.borderStyle="solid",r.style.borderWidth=G(g)):"angl"===n&&.049!==g&&(r.style.borderTopWidth=G(g),r.style.borderRightWidth=G(g)),o=s.depth+f,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)i=ht({positionType:"individualShift",children:[{type:"elem",elem:r,shift:o},{type:"elem",elem:s,shift:0}]});else{var x=/cancel|phase/.test(n)?["svg-align"]:[];i=ht({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:r,shift:o,wrapperClasses:x}]})}return/cancel/.test(n)&&(i.height=s.height,i.depth=s.depth),/cancel/.test(n)&&!l?rt(["mord","cancel-lap"],[i],t):rt(["mord"],[i],t)},$r=(e,t)=>{var r=0,i=new Ot(e.label.includes("colorbox")?"mpadded":"menclose",[_t(e.body,t)]);switch(e.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*r+"pt"),i.setAttribute("height","+"+2*r+"pt"),i.setAttribute("lspace",r+"pt"),i.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var s=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);i.setAttribute("style","border: "+G(s)+" solid "+e.borderColor)}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&i.setAttribute("mathbackground",e.backgroundColor),i},ys({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:i,funcName:s}=e,n=As(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:i.mode,label:s,backgroundColor:n,body:a}},htmlBuilder:Qr,mathmlBuilder:$r}),ys({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:i,funcName:s}=e,n=As(t[0],"color-token").color,a=As(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:i.mode,label:s,backgroundColor:a,borderColor:n,body:o}},htmlBuilder:Qr,mathmlBuilder:$r}),ys({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ys({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:i}=e,s=t[0];return{type:"enclose",mode:r.mode,label:i,body:s}},htmlBuilder:Qr,mathmlBuilder:$r}),ys({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:i}=e;"math"===r.mode&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var s=t[0];return{type:"enclose",mode:r.mode,label:i,body:s}},htmlBuilder:Qr,mathmlBuilder:$r}),ys({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}}),ei={},ti={},ri=class e{constructor(e,t,r){this.lexer=e,this.start=t,this.end=r}static range(t,r){return r?t&&t.loc&&r.loc&&t.loc.lexer===r.loc.lexer?new e(t.loc.lexer,t.loc.start,r.loc.end):null:t&&t.loc}},ii=class e{constructor(e,t){this.text=e,this.loc=t}range(t,r){return new e(r,ri.range(this,t))}},si=e=>{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")},ni=new Set(["gather","gather*"]),ai=function(e,t){var r,s,n=e.body.length,a=e.hLinesBeforeRow,o=0,l=new Array(n),h=[],m=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,u=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(u=t.havingStyle(k.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var p="CD"===e.colSeparationType?V({number:3,unit:"ex"},t):12*c,d=3*c,f=e.arraystretch*p,g=.7*f,x=.3*f,b=0;function y(e){for(var t=0;t0&&(b+=.25),h.push({pos:b,isDashed:e[t]})}for(y(a[0]),r=0;r0&&(w<(M+=x)&&(w=M),M=0),e.addJot&&re))for(r=0;r=o)){var W,j,Y=void 0;(s>0||e.hskipBeforeAndAfter)&&0!==(Y=null!=(W=null==(j=L)?void 0:j.pregap)?W:u)&&((B=rt(["arraycolsep"],[])).style.width=G(Y),I.push(B));var Z=[];for(r=0;r0){for(var ne=st("hline",t,m),ae=st("hdashline",t,m),oe=[{type:"elem",elem:se,shift:0}];h.length>0;){var le=h.pop(),he=le.pos-q;le.isDashed?oe.push({type:"elem",elem:ae,shift:he}):oe.push({type:"elem",elem:ne,shift:he})}se=ht({positionType:"individualShift",children:oe})}if(0===N.length)return rt(["mord"],[se],t);var me=rt(["tag"],[ht({positionType:"individualShift",children:N})],t);return at([se,me])},oi={c:"center ",l:"left ",r:"right "},li=function(e,t){for(var r=[],i=new Ot("mtd",[],["mtr-glue"]),s=new Ot("mtd",[],["mml-eqn-num"]),n=0;n0){var p=e.cols,d="",f=!1,g=0,x=p.length;"separator"===p[0].type&&(c+="top ",g=1),"separator"===p[p.length-1].type&&(c+="bottom ",x-=1);for(var b=g;b0?"left ":"",c+=S[S.length-1].length>0?"right ":"";for(var T=1;T0&&u&&(f=1),r[p]={type:"align",align:d,pregap:f,postgap:0}}return a.colSeparationType=u?"align":"alignat",a},Es({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Bs(t[0])?[t[0]]:As(t[0],"ordgroup").body).map(function(e){var t=Ms(e).text;if("lcr".includes(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)}),s={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Xs(e.parser,s,Ls(e.envName))},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",s={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,!"lcr".includes(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),s.cols=[{type:"align",align:r}]}}var a=Xs(e.parser,s,Ls(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=new Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Xs(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Bs(t[0])?[t[0]]:As(t[0],"ordgroup").body).map(function(e){var t=Ms(e).text;if("lc".includes(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)});if(r.length>1)throw new i("{subarray} can contain only one column");var s={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},n=Xs(e.parser,s,"script");if(n.body.length>0&&n.body[0].length>1)throw new i("{subarray} can contain only one column");return n},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Xs(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ls(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:hi,htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){ni.has(e.envName)&&si(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ds(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Xs(e.parser,t,"display")},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:hi,htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){si(e);var t={autoTag:Ds(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Xs(e.parser,t,"display")},htmlBuilder:ai,mathmlBuilder:li}),Es({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(si(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var s=[],n=[s],a=0;aAV".includes(m))throw new i('Expected one of "<>AV=|." after @',o[h]);for(var u=0;u<2;u++){for(var p=!0,d=h+1;d{var{parser:r,funcName:i}=e,s=kt(t[0]),n=i;return n in pi&&(n=pi[n]),{type:"font",mode:r.mode,font:n.slice(1),body:s}},htmlBuilder:ci=(e,t)=>{var r=e.font,i=t.withFont(r);return Ht(e.body,i)},mathmlBuilder:ui=(e,t)=>{var r=e.font,i=t.withFont(r);return _t(e.body,i)}}),ys({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:ur(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:c(i)}}}),ys({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:i,breakOnTokenText:s}=e,{mode:n}=r,a=r.parseExpression(!0,s);return{type:"font",mode:n,font:"math"+i.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:ci,mathmlBuilder:ui}),di=(e,t)=>t?{type:"styling",mode:e.mode,style:t,body:[e]}:e,ys({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:i,funcName:s}=e,n=t[0],a=t[1],o=null,l=null;switch(s){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",l=")";break;case"\\\\bracefrac":r=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var h="\\cfrac"===s,m=null;return h||s.startsWith("\\d")?m="display":s.startsWith("\\t")&&(m="text"),di({type:"genfrac",mode:i.mode,numer:n,denom:a,continued:h,hasBarLine:r,leftDelim:o,rightDelim:l,barSize:null},m)},htmlBuilder:(e,t)=>{var r=t.style,i=r.fracNum(),s=r.fracDen(),n=t.havingStyle(i),a=Ht(e.numer,n,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*c:7*c,d=t.fontMetrics().denom1):(m>0?(u=t.fontMetrics().num2,p=c):(u=t.fontMetrics().num3,p=3*c),d=t.fontMetrics().denom2),h){var v=t.fontMetrics().axisHeight;u-a.depth-(v+.5*m){var r=new Ot("mfrac",[_t(e.numer,t),_t(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var i=V(e.barSize,t);r.setAttribute("linethickness",G(i))}}else r.setAttribute("linethickness","0px");if(null!=e.leftDelim||null!=e.rightDelim){var s=[];if(null!=e.leftDelim){var n=new Ot("mo",[new Dt(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),s.push(n)}if(s.push(r),null!=e.rightDelim){var a=new Ot("mo",[new Dt(e.rightDelim.replace("\\",""))]);a.setAttribute("fence","true"),s.push(a)}return Pt(s)}return r}}),ys({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:i,token:s}=e;switch(i){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:s}}}),fi=["display","text","script","scriptscript"],gi=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t},ys({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:i}=e,s=t[4],n=t[5],a=kt(t[0]),o="atom"===a.type&&"open"===a.family?gi(a.text):null,l=kt(t[1]),h="atom"===l.type&&"close"===l.family?gi(l.text):null,m=As(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var u=null,p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var d=As(p.body[0],"textord");u=fi[Number(d.text)]}}else p=As(p,"textord"),u=fi[Number(p.text)];return di({type:"genfrac",mode:i.mode,numer:s,denom:n,continued:!1,hasBarLine:r,barSize:c,leftDelim:o,rightDelim:h},u)}}),ys({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:i,token:s}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:As(t[0],"size").value,token:s}}}),ys({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:i}=e,s=t[0],n=As(t[1],"infix").size;if(!n)throw new Error("\\\\abovefrac expected size, but got "+String(n));var a=t[2],o=n.number>0;return{type:"genfrac",mode:r.mode,numer:s,denom:a,continued:!1,hasBarLine:o,barSize:n,leftDelim:null,rightDelim:null}}}),xi=(e,t)=>{var r,i,s=t.style;"supsub"===e.type?(r=e.sup?Ht(e.sup,t.havingStyle(s.sup()),t):Ht(e.sub,t.havingStyle(s.sub()),t),i=As(e.base,"horizBrace")):i=As(e,"horizBrace");var n,a=Ht(i.base,t.havingBaseStyle(k.DISPLAY)),o=nr(i,t);if(i.isOver?(n=ht({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]})).children[0].children[0].children[1].classes.push("svg-align"):(n=ht({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]})).children[0].children[0].children[0].classes.push("svg-align"),r){var l=rt(["minner",i.isOver?"mover":"munder"],[n],t);n=i.isOver?ht({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]}):ht({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]})}return rt(["minner",i.isOver?"mover":"munder"],[n],t)},bi=(e,t)=>{var r=rr(e.label);return new Ot(e.isOver?"mover":"munder",[_t(e.base,t),r])},ys({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:i}=e;return{type:"horizBrace",mode:r.mode,label:i,isOver:i.includes("\\over"),base:t[0]}},htmlBuilder:xi,mathmlBuilder:bi}),ys({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,i=t[1],s=As(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:r.mode,href:s,body:St(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ct(e.body,t,!1);return nt(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Ut(e.body,t);return r instanceof Ot||(r=new Ot("mrow",[r])),r.setAttribute("href",e.href),r}}),ys({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,i=As(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var s=[],n=0;nat(Ct(e.body,t,!1)),mathmlBuilder:(e,t)=>new Ot("mrow",Gt(e.body,t))}),ys({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:s,funcName:n,token:a}=e,o=As(t[0],"raw").string,l=t[1];s.settings.strict&&s.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":h.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":h.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var m=o.split(","),c=0;c{var r=Ct(e.body,t,!1),i=["enclosing"];e.attributes.class&&i.push(...e.attributes.class.trim().split(/\s+/));var s=rt(i,r,t);for(var n in e.attributes)"class"!==n&&e.attributes.hasOwnProperty(n)&&s.setAttribute(n,e.attributes[n]);return s},mathmlBuilder:(e,t)=>Ut(e.body,t)}),ys({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:St(t[0]),mathml:St(t[1])}},htmlBuilder:(e,t)=>at(Ct(e.html,t,!1)),mathmlBuilder:(e,t)=>Ut(e.mathml,t)}),yi=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!P(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r},ys({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:s}=e,n={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0])for(var h=As(r[0],"raw").string.split(","),m=0;m{var r=V(e.height,t),i=0;e.totalheight.number>0&&(i=V(e.totalheight,t)-r);var s=0;e.width.number>0&&(s=V(e.width,t));var n={height:G(r+i)};s>0&&(n.width=G(s)),i>0&&(n.verticalAlign=G(-i));var a=new Q(e.src,e.alt,n);return a.height=r,a.depth=i,a},mathmlBuilder:(e,t)=>{var r=new Ot("mglyph",[]);r.setAttribute("alt",e.alt);var i=V(e.height,t),s=0;if(e.totalheight.number>0&&(s=V(e.totalheight,t)-i,r.setAttribute("valign",G(-s))),r.setAttribute("height",G(i+s)),e.width.number>0){var n=V(e.width,t);r.setAttribute("width",G(n))}return r.setAttribute("src",e.src),r}}),ys({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:i}=e,s=As(t[0],"size");if(r.settings.strict){var n="m"===i[1],a="mu"===s.value.unit;n?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, not "+s.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:s.value}},htmlBuilder:(e,t)=>mt(e.dimension,t),mathmlBuilder:(e,t)=>new Xt(V(e.dimension,t))}),ys({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:i}=e,s=t[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:s}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=rt([],[Ht(e.body,t)]),r=rt(["inner"],[r],t)):r=rt(["inner"],[Ht(e.body,t)]);var i=rt(["fix"],[]),s=rt([e.alignment],[r,i],t),n=rt(["strut"]);return n.style.height=G(s.height+s.depth),s.depth&&(n.style.verticalAlign=G(-s.depth)),s.children.unshift(n),s=rt(["thinbox"],[s],t),rt(["mord","vbox"],[s],t)},mathmlBuilder:(e,t)=>{var r=new Ot("mpadded",[_t(e.body,t)]);if("rlap"!==e.alignment){var i="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",i+"width")}return r.setAttribute("width","0px"),r}}),ys({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:i}=e,s=i.mode;i.switchMode("math");var n="\\("===r?"\\)":"$",a=i.parseExpression(!1,n);return i.expect(n),i.switchMode(s),{type:"styling",mode:i.mode,style:"text",body:a}}}),ys({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}}),vi=(e,t)=>{switch(t.style.size){case k.DISPLAY.size:return e.display;case k.TEXT.size:return e.text;case k.SCRIPT.size:return e.script;case k.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}},ys({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:St(t[0]),text:St(t[1]),script:St(t[2]),scriptscript:St(t[3])}},htmlBuilder:(e,t)=>at(Ct(vi(e,t),t,!1)),mathmlBuilder:(e,t)=>Ut(vi(e,t),t)}),zi=(e,t,r,i,s,n,a)=>{e=rt([],[e]);var o,l,h,m=r&&c(r);if(t){var u=Ht(t,i.havingStyle(s.sup()),i);l={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var p=Ht(r,i.havingStyle(s.sub()),i);o={elem:p,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-p.height)}}if(l&&o)h=ht({positionType:"bottom",positionData:i.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+a,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:G(-n)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:G(n)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]});else if(o)h=ht({positionType:"top",positionData:e.height-a,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:G(-n)},{type:"kern",size:o.kern},{type:"elem",elem:e}]});else{if(!l)return e;h=ht({positionType:"bottom",positionData:e.depth+a,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:G(n)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}var d=[h];if(o&&0!==n&&!m){var f=rt(["mspace"],[],i);f.style.marginRight=G(n),d.unshift(f)}return rt(["mop","op-limits"],d,i)},wi=new Set(["\\smallint"]),ki=(e,t)=>{var r,i,s,n=!1;"supsub"===e.type?(r=e.sup,i=e.sub,s=As(e.base,"op"),n=!0):s=As(e,"op");var a,o=t.style,l=!1;if(o.size===k.DISPLAY.size&&s.symbol&&!wi.has(s.name)&&(l=!0),s.symbol){var h=l?"Size2-Regular":"Size1-Regular",m="";if("\\oiint"!==s.name&&"\\oiiint"!==s.name||(m=s.name.slice(1),s.name="oiint"===m?"\\iint":"\\iiint"),a=Ye(s.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),m.length>0){var c=a.italic,u=dt(m+"Size"+(l?"2":"1"),t);a=ht({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:u,shift:l?.08:0}]}),s.name="\\"+m,a.classes.unshift("mop"),a.italic=c}}else if(s.body){var p=Ct(s.body,t,!0);1===p.length&&p[0]instanceof ee?(a=p[0]).classes[0]="mop":a=rt(["mop"],p,t)}else{for(var d=[],f=1;f{var{parser:r,funcName:i}=e,s=i;return 1===s.length&&(s=Ti[s]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:ki,mathmlBuilder:Si=(e,t)=>{var r;if(e.symbol)r=new Ot("mo",[Ft(e.name,e.mode)]),wi.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Ot("mo",Gt(e.body,t));else{r=new Ot("mi",[new Dt(e.name.slice(1))]);var i=new Ot("mo",[Ft("⁡","text")]);r=e.parentIsSupSub?new Ot("mrow",[r,i]):ks([r,i])}return r}}),ys({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,i=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:St(i)}},htmlBuilder:ki,mathmlBuilder:Si}),Ai={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"},ys({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ki,mathmlBuilder:Si}),ys({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ki,mathmlBuilder:Si}),ys({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,i=r;return 1===i.length&&(i=Ai[i]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ki,mathmlBuilder:Si}),Mi=(e,t)=>{var r,i,s,n,a=!1;if("supsub"===e.type?(r=e.sup,i=e.sub,s=As(e.base,"operatorname"),a=!0):s=As(e,"operatorname"),s.body.length>0){for(var o=(Ct(s.body.map(e=>{var t="text"in e?e.text:void 0;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0)),l=0;l{for(var r=Gt(e.body,t.withFont("mathrm")),i=!0,s=0;se.toText()).join(""))]);var o=new Ot("mi",r);o.setAttribute("mathvariant","normal");var l=new Ot("mo",[Ft("⁡","text")]);return e.parentIsSupSub?new Ot("mrow",[o,l]):ks([o,l])},ys({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:i}=e,s=t[0];return{type:"operatorname",mode:r.mode,body:St(s),alwaysHandleSupSub:"\\operatornamewithlimits"===i,limits:!1,parentIsSupSub:!1}},htmlBuilder:Mi,mathmlBuilder:Bi}),Hs("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),vs({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?at(Ct(e.body,t,!1)):rt(["mord"],Ct(e.body,t,!0),t),mathmlBuilder:(e,t)=>Ut(e.body,t,!0)}),ys({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,i=t[0];return{type:"overline",mode:r.mode,body:i}},htmlBuilder(e,t){var r=Ht(e.body,t.havingCrampedStyle()),i=st("overline-line",t),s=t.fontMetrics().defaultRuleThickness;return rt(["mord","overline"],[ht({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*s},{type:"elem",elem:i},{type:"kern",size:s}]})],t)},mathmlBuilder(e,t){var r=new Ot("mo",[new Dt("‾")]);r.setAttribute("stretchy","true");var i=new Ot("mover",[_t(e.body,t),r]);return i.setAttribute("accent","true"),i}}),ys({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,i=t[0];return{type:"phantom",mode:r.mode,body:St(i)}},htmlBuilder:(e,t)=>at(Ct(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new Ot("mphantom",Gt(e.body,t))}),Hs("\\hphantom","\\smash{\\phantom{#1}}"),ys({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,i=t[0];return{type:"vphantom",mode:r.mode,body:i}},htmlBuilder:(e,t)=>rt(["mord","rlap"],[rt(["inner"],[Ht(e.body,t.withPhantom())]),rt(["fix"],[])],t),mathmlBuilder:(e,t)=>{var r=new Ot("mpadded",[new Ot("mphantom",Gt(St(e.body),t))]);return r.setAttribute("width","0px"),r}}),ys({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,i=As(t[0],"size").value,s=t[1];return{type:"raisebox",mode:r.mode,dy:i,body:s}},htmlBuilder(e,t){var r=Ht(e.body,t);return ht({positionType:"shift",positionData:-V(e.dy,t),children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Ot("mpadded",[_t(e.body,t)]),i=e.dy.number+e.dy.unit;return r.setAttribute("voffset",i),r}}),ys({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ys({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:i}=e,s=r[0],n=As(t[0],"size"),a=As(t[1],"size");return{type:"rule",mode:i.mode,shift:s&&As(s,"size").value,width:n.value,height:a.value}},htmlBuilder(e,t){var r=rt(["mord","rule"],[],t),i=V(e.width,t),s=V(e.height,t),n=e.shift?V(e.shift,t):0;return r.style.borderRightWidth=G(i),r.style.borderTopWidth=G(s),r.style.bottom=G(n),r.width=i,r.height=s+n,r.depth=-n,r.maxFontSize=1.125*s*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=V(e.width,t),i=V(e.height,t),s=e.shift?V(e.shift,t):0,n=t.color&&t.getColor()||"black",a=new Ot("mspace");a.setAttribute("mathbackground",n),a.setAttribute("width",G(r)),a.setAttribute("height",G(i));var o=new Ot("mpadded",[a]);return s>=0?o.setAttribute("height",G(s)):(o.setAttribute("height",G(s)),o.setAttribute("depth",G(-s))),o.setAttribute("voffset",G(s)),o}}),ys({type:"sizing",names:Ci=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:i,parser:s}=e,n=s.parseExpression(!1,r);return{type:"sizing",mode:s.mode,size:Ci.indexOf(i)+1,body:n}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return Ks(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),i=new Ot("mstyle",Gt(e.body,r));return i.setAttribute("mathsize",G(r.sizeMultiplier)),i}}),ys({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:i}=e,s=!1,n=!1,a=r[0]&&As(r[0],"ordgroup");if(a)for(var o="",l=0;l{var r=rt([],[Ht(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return rt(["mord","smash"],[r],t);if(r.children)for(var i=0;i{var r=new Ot("mpadded",[_t(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ys({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:i}=e,s=r[0],n=t[0];return{type:"sqrt",mode:i.mode,body:n,index:s}},htmlBuilder(e,t){var r=Ht(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=ot(r,t);var i=t.fontMetrics().defaultRuleThickness,s=i;t.style.idr.height+r.depth+n&&(n=(n+h-r.height-r.depth)/2);var m=a.height-r.height-n-o;r.style.paddingLeft=G(l);var c=ht({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:a},{type:"kern",size:o}]});if(e.index){var u=t.havingStyle(k.SCRIPTSCRIPT),p=Ht(e.index,u,t);return rt(["mord","sqrt"],[rt(["root"],[ht({positionType:"shift",positionData:-.6*(c.height-c.depth),children:[{type:"elem",elem:p}]})]),c],t)}return rt(["mord","sqrt"],[c],t)},mathmlBuilder(e,t){var{body:r,index:i}=e;return i?new Ot("mroot",[_t(r,t),_t(i,t)]):new Ot("msqrt",[_t(r,t)])}}),qi={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},ys({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:i,parser:s}=e,n=s.parseExpression(!0,r),a=i.slice(1,i.length-5);return{type:"styling",mode:s.mode,style:a,body:n}},htmlBuilder(e,t){var r=qi[e.style],i=t.havingStyle(r).withFont("");return Ks(e.body,i,t)},mathmlBuilder(e,t){var r=qi[e.style],i=t.havingStyle(r),s=new Ot("mstyle",Gt(e.body,i)),n={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return s.setAttribute("scriptlevel",n[0]),s.setAttribute("displaystyle",n[1]),s}}),Ri=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===k.DISPLAY.size||r.alwaysHandleSupSub)?ki:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===k.DISPLAY.size||r.limits)?Mi:null:"accent"===r.type?c(r.base)?lr:null:"horizBrace"===r.type&&!e.sub===r.isOver?xi:null:null},vs({type:"supsub",htmlBuilder(e,t){var r=Ri(e,t);if(r)return r(e,t);var i,s,n,{base:a,sup:o,sub:l}=e,h=Ht(a,t),m=t.fontMetrics(),u=0,p=0,d=a&&c(a);if(o){var f=t.havingStyle(t.style.sup());i=Ht(o,f,t),d||(u=h.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());s=Ht(l,g,t),d||(p=h.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}n=t.style===k.DISPLAY?m.sup1:t.style.cramped?m.sup3:m.sup2;var x,b=t.sizeMultiplier,y=G(.5/m.ptPerEm/b),v=null;if(s){var z=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof ee||z)&&(v=G(-h.italic))}if(i&&s){u=Math.max(u,n,i.depth+.25*m.xHeight),p=Math.max(p,m.sub2);var w=4*m.defaultRuleThickness;if(u-i.depth-(s.height-p)0&&(u+=S,p-=S)}x=ht({positionType:"individualShift",children:[{type:"elem",elem:s,shift:p,marginRight:y,marginLeft:v},{type:"elem",elem:i,shift:-u,marginRight:y}]})}else if(s)p=Math.max(p,m.sub1,s.height-.8*m.xHeight),x=ht({positionType:"shift",positionData:p,children:[{type:"elem",elem:s,marginLeft:v,marginRight:y}]});else{if(!i)throw new Error("supsub must have either sup or sub.");u=Math.max(u,n,i.depth+.25*m.xHeight),x=ht({positionType:"shift",positionData:-u,children:[{type:"elem",elem:i,marginRight:y}]})}return rt([Nt(h,"right")||"mord"],[h,rt(["msupsub"],[x])],t)},mathmlBuilder(e,t){var r,i=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(i=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var s,n=[_t(e.base,t)];if(e.sub&&n.push(_t(e.sub,t)),e.sup&&n.push(_t(e.sup,t)),i)s=r?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;s=a&&"op"===a.type&&a.limits&&t.style===k.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===k.DISPLAY||a.limits)?"munderover":"msubsup"}else{var o=e.base;s=o&&"op"===o.type&&o.limits&&(t.style===k.DISPLAY||o.alwaysHandleSupSub)||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(o.limits||t.style===k.DISPLAY)?"munder":"msub"}else{var l=e.base;s=l&&"op"===l.type&&l.limits&&(t.style===k.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===k.DISPLAY)?"mover":"msup"}return new Ot(s,n)}}),vs({type:"atom",htmlBuilder:(e,t)=>Ze(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Ot("mo",[Ft(e.text,e.mode)]);if("bin"===e.family){var i=Vt(e,t);"bold-italic"===i&&r.setAttribute("mathvariant",i)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}}),Ii={mi:"italic",mn:"normal",mtext:"normal"},vs({type:"mathord",htmlBuilder:(e,t)=>Qe(e,t,"mathord"),mathmlBuilder(e,t){var r=new Ot("mi",[Ft(e.text,e.mode,t)]),i=Vt(e,t)||"italic";return i!==Ii[r.type]&&r.setAttribute("mathvariant",i),r}}),vs({type:"textord",htmlBuilder:(e,t)=>Qe(e,t,"textord"),mathmlBuilder(e,t){var r,i=Ft(e.text,e.mode,t),s=Vt(e,t)||"normal";return r="text"===e.mode?new Ot("mtext",[i]):/[0-9]/.test(e.text)?new Ot("mn",[i]):"\\prime"===e.text?new Ot("mo",[i]):new Ot("mi",[i]),s!==Ii[r.type]&&r.setAttribute("mathvariant",s),r}}),Ni={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ei={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}},vs({type:"spacing",htmlBuilder(e,t){if(Ei.hasOwnProperty(e.text)){var r=Ei[e.text].className||"";if("text"===e.mode){var s=Qe(e,t,"textord");return s.classes.push(r),s}return rt(["mspace",r],[Ze(e.text,e.mode,t)],t)}if(Ni.hasOwnProperty(e.text))return rt(["mspace",Ni[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!Ei.hasOwnProperty(e.text)){if(Ni.hasOwnProperty(e.text))return new Ot("mspace");throw new i('Unknown type of space "'+e.text+'"')}return new Ot("mtext",[new Dt(" ")])}}),Hi=()=>{var e=new Ot("mtd",[]);return e.setAttribute("width","50%"),e},vs({type:"tag",mathmlBuilder(e,t){var r=new Ot("mtable",[new Ot("mtr",[Hi(),new Ot("mtd",[Ut(e.body,t)]),Hi(),new Ot("mtd",[Ut(e.tag,t)])])]);return r.setAttribute("width","100%"),r}}),Oi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Di={"\\textbf":"textbf","\\textmd":"textmd"},Xi={"\\textit":"textit","\\textup":"textup"},Li=(e,t)=>{var r=e.font;return r?Oi[r]?t.withTextFontFamily(Oi[r]):Di[r]?t.withTextFontWeight(Di[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(Xi[r]):t},ys({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:i}=e,s=t[0];return{type:"text",mode:r.mode,body:St(s),font:i}},htmlBuilder(e,t){var r=Li(e,t);return rt(["mord","text"],Ct(e.body,r,!0),r)},mathmlBuilder(e,t){var r=Li(e,t);return Ut(e.body,r)}}),ys({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ht(e.body,t),i=st("underline-line",t),s=t.fontMetrics().defaultRuleThickness;return rt(["mord","underline"],[ht({positionType:"top",positionData:r.height,children:[{type:"kern",size:s},{type:"elem",elem:i},{type:"kern",size:3*s},{type:"elem",elem:r}]})],t)},mathmlBuilder(e,t){var r=new Ot("mo",[new Dt("‾")]);r.setAttribute("stretchy","true");var i=new Ot("munder",[_t(e.body,t),r]);return i.setAttribute("accentunder","true"),i}}),ys({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ht(e.body,t),i=t.fontMetrics().axisHeight;return ht({positionType:"shift",positionData:.5*(r.height-i-(r.depth+i)),children:[{type:"elem",elem:r}]})},mathmlBuilder:(e,t)=>new Ot("mrow",[new Ot("mpadded",[_t(e.body,t)],["vcenter"])])}),ys({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ki(e),i=[],s=t.havingStyle(t.style.text()),n=0;ne.body.replace(/ /g,e.star?"␣":" "),Fi=vt,Vi="(\\\\[a-zA-Z@]+)"+(Pi="[ \r\n\t]")+"*",Gi="[̀-ͯ]",Ui=new RegExp(Gi+"+$"),_i="("+Pi+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+Gi+"*|[\ud800-\udbff][\udc00-\udfff]"+Gi+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Vi+"|\\\\[^\ud800-\udfff])",Wi=class{constructor(e,t){this.input=e,this.settings=t,this.tokenRegex=new RegExp(_i,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new ii("EOF",new ri(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new ii(e[t],new ri(this,t,t+1)));var s=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[s]){var n=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===n?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=n+1,this.lex()}return new ii(s,new ri(this,t,this.tokenRegex.lastIndex))}},ji=class{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}},Yi=ti,Hs("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),Hs("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),Hs("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),Hs("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),Hs("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),Hs("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Hs("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}),Zi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15},Hs("\\char",function(e){var t,r=e.popToken(),s=0;if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])s=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new i("\\char` missing argument");s=r.text.charCodeAt(0)}else t=10;if(t){if(null==(s=Zi[r.text])||s>=t)throw new i("Invalid base-"+t+" digit "+r.text);for(var n;null!=(n=Zi[e.future().text])&&n{var n=e.consumeArg().tokens;if(1!==n.length)throw new i("\\newcommand's first argument must be a macro name");var a=n[0].text,o=e.isDefined(a);if(o&&!t)throw new i("\\newcommand{"+a+"} attempting to redefine "+a+"; use \\renewcommand");if(!o&&!r)throw new i("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var l=0;if(1===(n=e.consumeArg().tokens).length&&"["===n[0].text){for(var h="",m=e.expandNextToken();"]"!==m.text&&"EOF"!==m.text;)h+=m.text,m=e.expandNextToken();if(!h.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+h);l=parseInt(h),n=e.consumeArg().tokens}return o&&s||e.macros.set(a,{tokens:n,numArgs:l}),""},Hs("\\newcommand",e=>Ji(e,!1,!0,!1)),Hs("\\renewcommand",e=>Ji(e,!0,!1,!1)),Hs("\\providecommand",e=>Ji(e,!0,!0,!0)),Hs("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),Hs("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),Hs("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Fi[r],ce.math[r],ce.text[r]),""}),Hs("\\bgroup","{"),Hs("\\egroup","}"),Hs("~","\\nobreakspace"),Hs("\\lq","`"),Hs("\\rq","'"),Hs("\\aa","\\r a"),Hs("\\AA","\\r A"),Hs("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Hs("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Hs("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Hs("ℬ","\\mathscr{B}"),Hs("ℰ","\\mathscr{E}"),Hs("ℱ","\\mathscr{F}"),Hs("ℋ","\\mathscr{H}"),Hs("ℐ","\\mathscr{I}"),Hs("ℒ","\\mathscr{L}"),Hs("ℳ","\\mathscr{M}"),Hs("ℛ","\\mathscr{R}"),Hs("ℭ","\\mathfrak{C}"),Hs("ℌ","\\mathfrak{H}"),Hs("ℨ","\\mathfrak{Z}"),Hs("\\Bbbk","\\Bbb{k}"),Hs("\\llap","\\mathllap{\\textrm{#1}}"),Hs("\\rlap","\\mathrlap{\\textrm{#1}}"),Hs("\\clap","\\mathclap{\\textrm{#1}}"),Hs("\\mathstrut","\\vphantom{(}"),Hs("\\underbar","\\underline{\\text{#1}}"),Hs("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),Hs("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Hs("\\ne","\\neq"),Hs("≠","\\neq"),Hs("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Hs("∉","\\notin"),Hs("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Hs("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Hs("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Hs("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Hs("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Hs("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Hs("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Hs("⟂","\\perp"),Hs("‼","\\mathclose{!\\mkern-0.8mu!}"),Hs("∌","\\notni"),Hs("⌜","\\ulcorner"),Hs("⌝","\\urcorner"),Hs("⌞","\\llcorner"),Hs("⌟","\\lrcorner"),Hs("©","\\copyright"),Hs("®","\\textregistered"),Hs("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Hs("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Hs("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Hs("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Hs("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Hs("⋮","\\vdots"),Hs("\\varGamma","\\mathit{\\Gamma}"),Hs("\\varDelta","\\mathit{\\Delta}"),Hs("\\varTheta","\\mathit{\\Theta}"),Hs("\\varLambda","\\mathit{\\Lambda}"),Hs("\\varXi","\\mathit{\\Xi}"),Hs("\\varPi","\\mathit{\\Pi}"),Hs("\\varSigma","\\mathit{\\Sigma}"),Hs("\\varUpsilon","\\mathit{\\Upsilon}"),Hs("\\varPhi","\\mathit{\\Phi}"),Hs("\\varPsi","\\mathit{\\Psi}"),Hs("\\varOmega","\\mathit{\\Omega}"),Hs("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Hs("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Hs("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Hs("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Hs("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Hs("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Hs("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Hs("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}"),Qi={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},$i=new Set(["bin","rel"]),Hs("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Qi?t=Qi[r]:("\\not"===r.slice(0,4)||r in ce.math&&$i.has(ce.math[r].group))&&(t="\\dotsb"),t}),es={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0},Hs("\\dotso",function(e){return e.future().text in es?"\\ldots\\,":"\\ldots"}),Hs("\\dotsc",function(e){var t=e.future().text;return t in es&&","!==t?"\\ldots\\,":"\\ldots"}),Hs("\\cdots",function(e){return e.future().text in es?"\\@cdots\\,":"\\@cdots"}),Hs("\\dotsb","\\cdots"),Hs("\\dotsm","\\cdots"),Hs("\\dotsi","\\!\\cdots"),Hs("\\dotsx","\\ldots\\,"),Hs("\\DOTSI","\\relax"),Hs("\\DOTSB","\\relax"),Hs("\\DOTSX","\\relax"),Hs("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Hs("\\,","\\tmspace+{3mu}{.1667em}"),Hs("\\thinspace","\\,"),Hs("\\>","\\mskip{4mu}"),Hs("\\:","\\tmspace+{4mu}{.2222em}"),Hs("\\medspace","\\:"),Hs("\\;","\\tmspace+{5mu}{.2777em}"),Hs("\\thickspace","\\;"),Hs("\\!","\\tmspace-{3mu}{.1667em}"),Hs("\\negthinspace","\\!"),Hs("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Hs("\\negthickspace","\\tmspace-{5mu}{.277em}"),Hs("\\enspace","\\kern.5em "),Hs("\\enskip","\\hskip.5em\\relax"),Hs("\\quad","\\hskip1em\\relax"),Hs("\\qquad","\\hskip2em\\relax"),Hs("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Hs("\\tag@paren","\\tag@literal{({#1})}"),Hs("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Hs("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Hs("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Hs("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Hs("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Hs("\\newline","\\\\\\relax"),Hs("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}"),Hs("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+(ts=G(ne["Main-Regular"]["T".charCodeAt(0)][1]-.7*ne["Main-Regular"]["A".charCodeAt(0)][1]))+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Hs("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+ts+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Hs("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Hs("\\@hspace","\\hskip #1\\relax"),Hs("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Hs("\\ordinarycolon",":"),Hs("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Hs("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Hs("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Hs("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Hs("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Hs("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Hs("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Hs("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Hs("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Hs("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Hs("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Hs("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Hs("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Hs("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Hs("∷","\\dblcolon"),Hs("∹","\\eqcolon"),Hs("≔","\\coloneqq"),Hs("≕","\\eqqcolon"),Hs("⩴","\\Coloneqq"),Hs("\\ratio","\\vcentcolon"),Hs("\\coloncolon","\\dblcolon"),Hs("\\colonequals","\\coloneqq"),Hs("\\coloncolonequals","\\Coloneqq"),Hs("\\equalscolon","\\eqqcolon"),Hs("\\equalscoloncolon","\\Eqqcolon"),Hs("\\colonminus","\\coloneq"),Hs("\\coloncolonminus","\\Coloneq"),Hs("\\minuscolon","\\eqcolon"),Hs("\\minuscoloncolon","\\Eqcolon"),Hs("\\coloncolonapprox","\\Colonapprox"),Hs("\\coloncolonsim","\\Colonsim"),Hs("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Hs("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Hs("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Hs("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Hs("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Hs("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Hs("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Hs("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Hs("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Hs("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Hs("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Hs("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Hs("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Hs("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Hs("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Hs("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Hs("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Hs("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Hs("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Hs("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Hs("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Hs("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Hs("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Hs("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Hs("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Hs("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Hs("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Hs("\\imath","\\html@mathml{\\@imath}{ı}"),Hs("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Hs("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Hs("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Hs("⟦","\\llbracket"),Hs("⟧","\\rrbracket"),Hs("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Hs("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Hs("⦃","\\lBrace"),Hs("⦄","\\rBrace"),Hs("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Hs("⦵","\\minuso"),Hs("\\darr","\\downarrow"),Hs("\\dArr","\\Downarrow"),Hs("\\Darr","\\Downarrow"),Hs("\\lang","\\langle"),Hs("\\rang","\\rangle"),Hs("\\uarr","\\uparrow"),Hs("\\uArr","\\Uparrow"),Hs("\\Uarr","\\Uparrow"),Hs("\\N","\\mathbb{N}"),Hs("\\R","\\mathbb{R}"),Hs("\\Z","\\mathbb{Z}"),Hs("\\alef","\\aleph"),Hs("\\alefsym","\\aleph"),Hs("\\Alpha","\\mathrm{A}"),Hs("\\Beta","\\mathrm{B}"),Hs("\\bull","\\bullet"),Hs("\\Chi","\\mathrm{X}"),Hs("\\clubs","\\clubsuit"),Hs("\\cnums","\\mathbb{C}"),Hs("\\Complex","\\mathbb{C}"),Hs("\\Dagger","\\ddagger"),Hs("\\diamonds","\\diamondsuit"),Hs("\\empty","\\emptyset"),Hs("\\Epsilon","\\mathrm{E}"),Hs("\\Eta","\\mathrm{H}"),Hs("\\exist","\\exists"),Hs("\\harr","\\leftrightarrow"),Hs("\\hArr","\\Leftrightarrow"),Hs("\\Harr","\\Leftrightarrow"),Hs("\\hearts","\\heartsuit"),Hs("\\image","\\Im"),Hs("\\infin","\\infty"),Hs("\\Iota","\\mathrm{I}"),Hs("\\isin","\\in"),Hs("\\Kappa","\\mathrm{K}"),Hs("\\larr","\\leftarrow"),Hs("\\lArr","\\Leftarrow"),Hs("\\Larr","\\Leftarrow"),Hs("\\lrarr","\\leftrightarrow"),Hs("\\lrArr","\\Leftrightarrow"),Hs("\\Lrarr","\\Leftrightarrow"),Hs("\\Mu","\\mathrm{M}"),Hs("\\natnums","\\mathbb{N}"),Hs("\\Nu","\\mathrm{N}"),Hs("\\Omicron","\\mathrm{O}"),Hs("\\plusmn","\\pm"),Hs("\\rarr","\\rightarrow"),Hs("\\rArr","\\Rightarrow"),Hs("\\Rarr","\\Rightarrow"),Hs("\\real","\\Re"),Hs("\\reals","\\mathbb{R}"),Hs("\\Reals","\\mathbb{R}"),Hs("\\Rho","\\mathrm{P}"),Hs("\\sdot","\\cdot"),Hs("\\sect","\\S"),Hs("\\spades","\\spadesuit"),Hs("\\sub","\\subset"),Hs("\\sube","\\subseteq"),Hs("\\supe","\\supseteq"),Hs("\\Tau","\\mathrm{T}"),Hs("\\thetasym","\\vartheta"),Hs("\\weierp","\\wp"),Hs("\\Zeta","\\mathrm{Z}"),Hs("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Hs("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Hs("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Hs("\\bra","\\mathinner{\\langle{#1}|}"),Hs("\\ket","\\mathinner{|{#1}\\rangle}"),Hs("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Hs("\\Bra","\\left\\langle#1\\right|"),Hs("\\Ket","\\left|#1\\right\\rangle"),Hs("\\bra@ket",(rs=e=>t=>{var r=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",a),s.length&&r.macros.set("\\|",o));var n=t;return!t&&s.length&&"|"===r.future().text&&(r.popToken(),n=!0),{tokens:n?s:i,numArgs:0}};t.macros.set("|",l(!1)),s.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...n,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}})(!1)),Hs("\\bra@set",rs(!0)),Hs("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Hs("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Hs("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Hs("\\angln","{\\angl n}"),Hs("\\blue","\\textcolor{##6495ed}{#1}"),Hs("\\orange","\\textcolor{##ffa500}{#1}"),Hs("\\pink","\\textcolor{##ff00af}{#1}"),Hs("\\red","\\textcolor{##df0030}{#1}"),Hs("\\green","\\textcolor{##28ae7b}{#1}"),Hs("\\gray","\\textcolor{gray}{#1}"),Hs("\\purple","\\textcolor{##9d38bd}{#1}"),Hs("\\blueA","\\textcolor{##ccfaff}{#1}"),Hs("\\blueB","\\textcolor{##80f6ff}{#1}"),Hs("\\blueC","\\textcolor{##63d9ea}{#1}"),Hs("\\blueD","\\textcolor{##11accd}{#1}"),Hs("\\blueE","\\textcolor{##0c7f99}{#1}"),Hs("\\tealA","\\textcolor{##94fff5}{#1}"),Hs("\\tealB","\\textcolor{##26edd5}{#1}"),Hs("\\tealC","\\textcolor{##01d1c1}{#1}"),Hs("\\tealD","\\textcolor{##01a995}{#1}"),Hs("\\tealE","\\textcolor{##208170}{#1}"),Hs("\\greenA","\\textcolor{##b6ffb0}{#1}"),Hs("\\greenB","\\textcolor{##8af281}{#1}"),Hs("\\greenC","\\textcolor{##74cf70}{#1}"),Hs("\\greenD","\\textcolor{##1fab54}{#1}"),Hs("\\greenE","\\textcolor{##0d923f}{#1}"),Hs("\\goldA","\\textcolor{##ffd0a9}{#1}"),Hs("\\goldB","\\textcolor{##ffbb71}{#1}"),Hs("\\goldC","\\textcolor{##ff9c39}{#1}"),Hs("\\goldD","\\textcolor{##e07d10}{#1}"),Hs("\\goldE","\\textcolor{##a75a05}{#1}"),Hs("\\redA","\\textcolor{##fca9a9}{#1}"),Hs("\\redB","\\textcolor{##ff8482}{#1}"),Hs("\\redC","\\textcolor{##f9685d}{#1}"),Hs("\\redD","\\textcolor{##e84d39}{#1}"),Hs("\\redE","\\textcolor{##bc2612}{#1}"),Hs("\\maroonA","\\textcolor{##ffbde0}{#1}"),Hs("\\maroonB","\\textcolor{##ff92c6}{#1}"),Hs("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Hs("\\maroonD","\\textcolor{##ca337c}{#1}"),Hs("\\maroonE","\\textcolor{##9e034e}{#1}"),Hs("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Hs("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Hs("\\purpleC","\\textcolor{##aa87ff}{#1}"),Hs("\\purpleD","\\textcolor{##7854ab}{#1}"),Hs("\\purpleE","\\textcolor{##543b78}{#1}"),Hs("\\mintA","\\textcolor{##f5f9e8}{#1}"),Hs("\\mintB","\\textcolor{##edf2df}{#1}"),Hs("\\mintC","\\textcolor{##e0e5cc}{#1}"),Hs("\\grayA","\\textcolor{##f6f7f7}{#1}"),Hs("\\grayB","\\textcolor{##f0f1f2}{#1}"),Hs("\\grayC","\\textcolor{##e3e5e6}{#1}"),Hs("\\grayD","\\textcolor{##d6d8da}{#1}"),Hs("\\grayE","\\textcolor{##babec2}{#1}"),Hs("\\grayF","\\textcolor{##888d93}{#1}"),Hs("\\grayG","\\textcolor{##626569}{#1}"),Hs("\\grayH","\\textcolor{##3b3e40}{#1}"),Hs("\\grayI","\\textcolor{##21242c}{#1}"),Hs("\\kaBlue","\\textcolor{##314453}{#1}"),Hs("\\kaGreen","\\textcolor{##71B307}{#1}"),is={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ss=class{constructor(e,t,r){this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new ji(Yi,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Wi(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,i;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:i,end:r}=this.consumeArg(["]"]))}else({tokens:i,start:t,end:r}=this.consumeArg());return this.pushToken(new ii("EOF",r.loc)),this.pushTokens(i),new ii("",ri.range(t,r))}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var s,n=this.future(),a=0,o=0;do{if(s=this.popToken(),t.push(s),"{"===s.text)++a;else if("}"===s.text){if(-1===--a)throw new i("Extra }",s)}else if("EOF"===s.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&r?e[o]:"}")+"'",s);if(e&&r)if((0===a||1===a&&"{"===e[o])&&s.text===e[o]){if(++o===e.length){t.splice(-o,o);break}}else o=0}while(0!==a||r);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:s}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],s=0;sthis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,s=t.noexpand?null:this._getExpansion(r);if(null==s||e&&s.unexpandable){if(e&&null==s&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=s.tokens,a=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs)for(var o=(n=n.slice()).length-1;o>=0;--o){var l=n[o];if("#"===l.text){if(0===o)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--o]).text)n.splice(o+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);n.splice(o,2,...a[+l.text-1])}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new ii(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),t.push(i)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var i="function"==typeof t?t(this):t;if("string"==typeof i){var s=0;if(i.includes("#"))for(var n=i.replace(/##/g,"");n.includes("#"+(s+1));)++s;for(var a=new Wi(i,this.settings),o=[],l=a.lex();"EOF"!==l.text;)o.push(l),l=a.lex();return o.reverse(),{tokens:o,numArgs:s}}return i}isDefined(e){return this.macros.has(e)||Fi.hasOwnProperty(e)||ce.math.hasOwnProperty(e)||ce.text.hasOwnProperty(e)||is.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Fi.hasOwnProperty(e)&&!Fi[e].primitive}},ns=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,as=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),os={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},ls={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},hs=class e{constructor(e,t){this.mode="math",this.gullet=new ss(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new ii("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(t,r){for(var i=[];;){"math"===this.mode&&this.consumeSpaces();var s=this.fetch();if(e.endOfExpression.has(s.text))break;if(r&&s.text===r)break;if(t&&Fi[s.text]&&Fi[s.text].infix)break;var n=this.parseAtom(r);if(!n)break;"internal"!==n.type&&i.push(n)}return"text"===this.mode&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(e){for(var t,r=-1,s=0;s=128))return null;this.settings.strict&&(fs(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),n={type:"textord",mode:"text",loc:ri.range(e),text:t}}if(this.consume(),a)for(var c=0;c>4,!(n&128))return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(r&127)<>>r,a=!(!(i>>>7)&&t==0),o=(a?i|128:i)&255;if(n.push(o),!a)return}let r=e>>>28&15|(t&7)<<4,i=!!(t>>3);if(n.push((i?r|128:r)&255),i){for(let e=3;e<31;e+=7){let r=t>>>e,i=!!(r>>>7),a=(i?r|128:r)&255;if(n.push(a),!i)return}n.push(t>>>31&1)}}var i=4294967296;function a(e){let t=e[0]===`-`;t&&(e=e.slice(1));let n=1e6,r=0,a=0;function o(t,o){let s=Number(e.slice(t,o));a*=n,r=r*n+s,r>=i&&(a+=r/i|0,r%=i)}return o(-24,-18),o(-18,-12),o(-12,-6),o(-6),t?u(r,a):l(r,a)}function o(e,t){let n=l(e,t),r=n.hi&2147483648;r&&(n=u(n.lo,n.hi));let i=s(n.lo,n.hi);return r?`-`+i:i}function s(e,t){if({lo:e,hi:t}=c(e,t),t<=2097151)return String(i*t+e);let n=e&16777215,r=(e>>>24|t<<8)&16777215,a=t>>16&65535,o=n+r*6777216+a*6710656,s=r+a*8147497,l=a*2,u=1e7;return o>=u&&(s+=Math.floor(o/u),o%=u),s>=u&&(l+=Math.floor(s/u),s%=u),l.toString()+ee(s)+ee(o)}function c(e,t){return{lo:e>>>0,hi:t>>>0}}function l(e,t){return{lo:e|0,hi:t|0}}function u(e,t){return t=~t,e?e=~e+1:t+=1,l(e,t)}var ee=e=>{let t=String(e);return`0000000`.slice(t.length)+t};function te(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e>>=7;t.push(1)}}function ne(){let e=this.buf[this.pos++],t=e&127;if(!(e&128)||(e=this.buf[this.pos++],t|=(e&127)<<7,!(e&128))||(e=this.buf[this.pos++],t|=(e&127)<<14,!(e&128))||(e=this.buf[this.pos++],t|=(e&127)<<21,!(e&128)))return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let t=5;e&128&&t<10;t++)e=this.buf[this.pos++];if(e&128)throw Error(`invalid varint`);return this.assertBounds(),t>>>0}var d=re();function re(){let e=new DataView(new ArrayBuffer(8));if(typeof BigInt==`function`&&typeof e.getBigInt64==`function`&&typeof e.getBigUint64==`function`&&typeof e.setBigInt64==`function`&&typeof e.setBigUint64==`function`&&(globalThis.Deno||typeof process!=`object`||{}.BUF_BIGINT_DISABLE!==`1`)){let t=BigInt(`-9223372036854775808`),n=BigInt(`9223372036854775807`),r=BigInt(`0`),i=BigInt(`18446744073709551615`);return{zero:BigInt(0),supported:!0,parse(e){let r=typeof e==`bigint`?e:BigInt(e);if(r>n||ri||te.localName===n)}function le(e,t){let n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(t.presence!=se)return e[n]!==void 0&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case`list`:return e[n].length>0;case`map`:return Object.keys(e[n]).length>0;case`scalar`:return!oe(t.scalar,e[n]);case`enum`:return e[n]!==t.enum.values[0].number}throw Error(`message field with implicit presence`)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==void 0}function ue(e,t){if(t.oneof){let n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}function de(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}function fe(e,t){let n=t.localName;if(t.oneof){let r=t.oneof.localName;e[r].case===n&&(e[r]={case:void 0})}else if(t.presence!=se)delete e[n];else switch(t.fieldKind){case`map`:e[n]={};break;case`list`:e[n]=[];break;case`enum`:e[n]=t.enum.values[0].number;break;case`scalar`:e[n]=f(t.scalar,t.longAsString);break}}function h(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function pe(e,t){if(h(e)&&p in e&&`add`in e&&`field`in e&&typeof e.field==`function`){if(t!==void 0){let n=t,r=e.field();return n.listKind==r.listKind&&n.scalar===r.scalar&&n.message?.typeName===r.message?.typeName&&n.enum?.typeName===r.enum?.typeName}return!0}return!1}function me(e,t){if(h(e)&&p in e&&`has`in e&&`field`in e&&typeof e.field==`function`){if(t!==void 0){let n=t,r=e.field();return n.mapKey===r.mapKey&&n.mapKind==r.mapKind&&n.scalar===r.scalar&&n.message?.typeName===r.message?.typeName&&n.enum?.typeName===r.enum?.typeName}return!0}return!1}function he(e,t){return h(e)&&p in e&&`desc`in e&&h(e.desc)&&e.desc.kind===`message`&&(t===void 0||e.desc.typeName==t.typeName)}function ge(e){return ve(e.$typeName)}function g(e){let t=e.fields[0];return ve(e.typeName)&&t!==void 0&&t.fieldKind==`scalar`&&t.name==`value`&&t.number==1}function _e(e){switch(e.typeName){case`google.protobuf.Any`:case`google.protobuf.Timestamp`:case`google.protobuf.Duration`:case`google.protobuf.FieldMask`:case`google.protobuf.Struct`:case`google.protobuf.Value`:case`google.protobuf.ListValue`:return!0;default:return g(e)}}function ve(e){return e.startsWith(`google.protobuf.`)&&[`DoubleValue`,`FloatValue`,`Int64Value`,`UInt64Value`,`Int32Value`,`UInt32Value`,`BoolValue`,`StringValue`,`BytesValue`].includes(e.substring(16))}var ye=999,be=998,_=2;function xe(t,n){if(e(n,t))return n;let r=je(t);return n!==void 0&&Se(t,r,n),r}function Se(e,t,n){for(let r of e.members){let e=n[r.localName];if(e==null)continue;let i;if(r.kind==`oneof`){let t=ce(n,r);if(!t)continue;i=t,e=ue(n,t)}else i=r;switch(i.fieldKind){case`message`:e=Ee(i,e);break;case`scalar`:e=Ce(i,e);break;case`list`:e=Te(i,e);break;case`map`:e=we(i,e);break}de(t,i,e)}return t}function Ce(e,n){return e.scalar==t.BYTES?De(n):n}function we(e,n){if(h(n)){if(e.scalar==t.BYTES)return Oe(n,De);if(e.mapKind==`message`)return Oe(n,t=>Ee(e,t))}return n}function Te(e,n){if(Array.isArray(n)){if(e.scalar==t.BYTES)return n.map(De);if(e.listKind==`message`)return n.map(t=>Ee(e,t))}return n}function Ee(t,n){if(t.fieldKind==`message`&&!t.oneof&&g(t.message))return Ce(t.message.fields[0],n);if(h(n)){if(t.message.typeName==`google.protobuf.Struct`&&t.parent.typeName!==`google.protobuf.Value`)return n;if(!e(n,t.message))return xe(t.message,n)}return n}function De(e){return Array.isArray(e)?new Uint8Array(e):e}function Oe(e,t){let n={};for(let r of Object.entries(e))n[r[0]]=t(r[1]);return n}var ke=Symbol(),Ae=new WeakMap;function je(e){let t;if(Me(e)){let n=Ae.get(e),r,i;if(n)({prototype:r,members:i}=n);else{r={},i=new Set;for(let t of e.members)t.kind!=`oneof`&&(t.fieldKind!=`scalar`&&t.fieldKind!=`enum`||t.presence!=_&&(i.add(t),r[t.localName]=Ne(t)));Ae.set(e,{prototype:r,members:i})}t=Object.create(r),t.$typeName=e.typeName;for(let n of e.members)i.has(n)||n.kind==`field`&&(n.fieldKind==`message`||(n.fieldKind==`scalar`||n.fieldKind==`enum`)&&n.presence!=_)||(t[n.localName]=Ne(n))}else{t={$typeName:e.typeName};for(let n of e.members)(n.kind==`oneof`||n.presence==_)&&(t[n.localName]=Ne(n))}return t}function Me(e){switch(e.file.edition){case ye:return!1;case be:return!0;default:return e.fields.some(e=>e.presence!=_&&e.fieldKind!=`message`&&!e.oneof)}}function Ne(e){if(e.kind==`oneof`)return{case:void 0};if(e.fieldKind==`list`)return[];if(e.fieldKind==`map`)return{};if(e.fieldKind==`message`)return ke;let t=e.getDefaultValue();return t===void 0?e.fieldKind==`scalar`?f(e.scalar,e.longAsString):e.enum.values[0].number:e.fieldKind==`scalar`&&e.longAsString?t.toString():t}var Pe=[`FieldValueInvalidError`,`FieldListRangeError`,`ForeignFieldError`],v=class extends Error{constructor(e,t,n=`FieldValueInvalidError`){super(t),this.name=n,this.field=()=>e}};function Fe(e){return e instanceof Error&&Pe.includes(e.name)&&`field`in e&&typeof e.field==`function`}var Ie=Symbol.for(`@bufbuild/protobuf/text-encoding`);function Le(){if(globalThis[Ie]==null){let e=new globalThis.TextEncoder,t=new globalThis.TextDecoder,n;globalThis[Ie]={encodeUtf8(t){return e.encode(t)},decodeUtf8(e,r){return r?(n===void 0&&(n=new globalThis.TextDecoder(`utf-8`,{fatal:!0})),n.decode(e)):t.decode(e)},checkUtf8(e){try{return!0}catch{return!1}}}}return globalThis[Ie]}var y;(function(e){e[e.Varint=0]=`Varint`,e[e.Bit64=1]=`Bit64`,e[e.LengthDelimited=2]=`LengthDelimited`,e[e.StartGroup=3]=`StartGroup`,e[e.EndGroup=4]=`EndGroup`,e[e.Bit32=5]=`Bit32`})(y||(y={}));var Re=class{constructor(e=Le().encodeUtf8){this.encodeUtf8=e,this.stack=[],this.chunks=[],this.buf=[]}finish(){this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Ve(e);e>127;)this.buf.push(e&127|128),e>>>=7;return this.buf.push(e),this}int32(e){return Be(e),te(e,this.buf),this}bool(e){return this.buf.push(+!!e),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.encodeUtf8(e);return this.uint32(t.byteLength),this.raw(t)}float(e){He(e);let t=new Uint8Array(4);return new DataView(t.buffer).setFloat32(0,e,!0),this.raw(t)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){Ve(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){Be(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return Be(e),e=(e<<1^e>>31)>>>0,te(e,this.buf),this}sfixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=d.enc(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=d.uEnc(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}int64(e){let t=d.enc(e);return r(t.lo,t.hi,this.buf),this}sint64(e){let t=d.enc(e),n=t.hi>>31;return r(t.lo<<1^n,(t.hi<<1|t.lo>>>31)^n,this.buf),this}uint64(e){let t=d.uEnc(e);return r(t.lo,t.hi,this.buf),this}},ze=class{constructor(e,t=Le().decodeUtf8){this.decodeUtf8=t,this.varint64=n,this.uint32=ne,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}tag(){let e=this.pos,t=this.uint32(),n=this.pos-e;if(n>5||n==5&&this.buf[this.pos-1]>15)throw Error(`illegal tag: varint overflows uint32`);let r=t>>>3,i=t&7;if(r<=0||i>5)throw Error(`illegal tag: field no `+r+` wire type `+i);return[r,i]}skip(e,t){let n=this.pos;switch(e){case y.Varint:for(;this.buf[this.pos++]&128;);break;case y.Bit64:this.pos+=4;case y.Bit32:this.pos+=4;break;case y.LengthDelimited:let n=this.uint32();this.pos+=n;break;case y.StartGroup:for(;;){let[e,n]=this.tag();if(n===y.EndGroup){if(t!==void 0&&e!==t)throw Error(`invalid end group tag`);break}this.skip(n,e)}break;default:throw Error(`cant skip wire type `+e)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError(`premature EOF`)}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return d.dec(...this.varint64())}uint64(){return d.uDec(...this.varint64())}sint64(){let[e,t]=this.varint64(),n=-(e&1);return e=(e>>>1|(t&1)<<31)^n,t=t>>>1^n,d.dec(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return d.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return d.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(e){return this.decodeUtf8(this.bytes(),e)}};function Be(e){if(typeof e==`string`)e=Number(e);else if(typeof e!=`number`)throw Error(`invalid int32: `+typeof e);if(!Number.isInteger(e)||e>2147483647||e<-2147483648)throw Error(`invalid int32: `+e)}function Ve(e){if(typeof e==`string`)e=Number(e);else if(typeof e!=`number`)throw Error(`invalid uint32: `+typeof e);if(!Number.isInteger(e)||e>4294967295||e<0)throw Error(`invalid uint32: `+e)}function He(e){if(typeof e==`string`){let t=e;if(e=Number(e),Number.isNaN(e)&&t!==`NaN`)throw Error(`invalid float32: `+t)}else if(typeof e!=`number`)throw Error(`invalid float32: `+typeof e);if(Number.isFinite(e)&&(e>34028234663852886e22||e<-34028234663852886e22))throw Error(`invalid float32: `+e)}function Ue(e,t){let n=e.fieldKind==`list`?pe(t,e):e.fieldKind==`map`?me(t,e):Ke(e,t);if(n===!0)return;let r;switch(e.fieldKind){case`list`:r=`expected ${Ye(e)}, got ${x(t)}`;break;case`map`:r=`expected ${Xe(e)}, got ${x(t)}`;break;default:r=b(e,t,n)}return new v(e,r)}function We(e,t,n){let r=Ke(e,n);if(r!==!0)return new v(e,`list item #${t+1}: ${b(e,n,r)}`)}function Ge(e,t,n){let r=qe(t,e.mapKey);if(r!==!0)return new v(e,`invalid map key: ${b({scalar:e.mapKey},t,r)}`);let i=Ke(e,n);if(i!==!0)return new v(e,`map entry ${x(t)}: ${b(e,n,i)}`)}function Ke(e,t){return e.scalar===void 0?e.enum===void 0?he(t,e.message):e.enum.open?Number.isInteger(t):e.enum.values.some(e=>e.number===t):qe(t,e.scalar)}function qe(e,n){switch(n){case t.DOUBLE:return typeof e==`number`;case t.FLOAT:return typeof e==`number`?Number.isNaN(e)||!Number.isFinite(e)?!0:e>34028234663852886e22||e<-34028234663852886e22?`${e.toFixed()} out of range`:!0:!1;case t.INT32:case t.SFIXED32:case t.SINT32:return typeof e!=`number`||!Number.isInteger(e)?!1:e>2147483647||e<-2147483648?`${e.toFixed()} out of range`:!0;case t.FIXED32:case t.UINT32:return typeof e!=`number`||!Number.isInteger(e)?!1:e>4294967295||e<0?`${e.toFixed()} out of range`:!0;case t.BOOL:return typeof e==`boolean`;case t.STRING:return typeof e==`string`?Le().checkUtf8(e)||`invalid UTF8`:!1;case t.BYTES:return e instanceof Uint8Array;case t.INT64:case t.SFIXED64:case t.SINT64:if(typeof e==`bigint`||typeof e==`number`||typeof e==`string`&&e.length>0)try{return d.parse(e),!0}catch{return`${e} out of range`}return!1;case t.FIXED64:case t.UINT64:if(typeof e==`bigint`||typeof e==`number`||typeof e==`string`&&e.length>0)try{return d.uParse(e),!0}catch{return`${e} out of range`}return!1}}function b(e,t,n){return n=typeof n==`string`?`: ${n}`:`, got ${x(t)}`,e.scalar===void 0?e.enum===void 0?`expected ${Je(e.message)}`+n:`expected ${e.enum.toString()}`+n:`expected ${Ze(e.scalar)}`+n}function x(t){switch(typeof t){case`object`:return t===null?`null`:t instanceof Uint8Array?`Uint8Array(${t.length})`:Array.isArray(t)?`Array(${t.length})`:pe(t)?Ye(t.field()):me(t)?Xe(t.field()):he(t)?Je(t.desc):e(t)?`message ${t.$typeName}`:`object`;case`string`:return t.length>30?`string`:`"${t.split(`"`).join(`\\"`)}"`;case`boolean`:return String(t);case`number`:return String(t);case`bigint`:return String(t)+`n`;default:return typeof t}}function Je(e){return`ReflectMessage (${e.typeName})`}function Ye(e){switch(e.listKind){case`message`:return`ReflectList (${e.message.toString()})`;case`enum`:return`ReflectList (${e.enum.toString()})`;case`scalar`:return`ReflectList (${t[e.scalar]})`}}function Xe(e){switch(e.mapKind){case`message`:return`ReflectMap (${t[e.mapKey]}, ${e.message.toString()})`;case`enum`:return`ReflectMap (${t[e.mapKey]}, ${e.enum.toString()})`;case`scalar`:return`ReflectMap (${t[e.mapKey]}, ${t[e.scalar]})`}}function Ze(e){switch(e){case t.STRING:return`string`;case t.BOOL:return`boolean`;case t.INT64:case t.SINT64:case t.SFIXED64:return`bigint (int64)`;case t.UINT64:case t.FIXED64:return`bigint (uint64)`;case t.BYTES:return`Uint8Array`;case t.DOUBLE:return`number (float64)`;case t.FLOAT:return`number (float32)`;case t.FIXED32:case t.UINT32:return`number (uint32)`;case t.INT32:case t.SFIXED32:case t.SINT32:return`number (int32)`}}function S(e,t,n=!0){return new $e(e,t,n)}var Qe=new WeakMap,$e=class{get sortedFields(){let e=Qe.get(this.desc);if(e)return e;let t=this.desc.fields.concat().sort((e,t)=>e.number-t.number);return Qe.set(this.desc,t),t}constructor(e,t,n=!0){this.lists=new Map,this.maps=new Map,this.check=n,this.desc=e,this.message=this[p]=t??xe(e),this.fields=e.fields,this.oneofs=e.oneofs,this.members=e.members}findNumber(e){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(e=>[e.number,e]))),this._fieldsByNumber.get(e)}oneofCase(e){return C(this.message,e),ce(this.message,e)}isSet(e){return C(this.message,e),le(this.message,e)}clear(e){C(this.message,e),fe(this.message,e)}get(e){C(this.message,e);let t=ue(this.message,e);switch(e.fieldKind){case`list`:let n=this.lists.get(e);return(!n||n[p]!==t)&&this.lists.set(e,n=new et(e,t,this.check)),n;case`map`:let r=this.maps.get(e);return(!r||r[p]!==t)&&this.maps.set(e,r=new tt(e,t,this.check)),r;case`message`:return rt(e,t,this.check);case`scalar`:return t===void 0?f(e.scalar,!1):lt(e,t);case`enum`:return t??e.enum.values[0].number}}set(e,t){if(C(this.message,e),this.check){let n=Ue(e,t);if(n)throw n}let n;n=e.fieldKind==`message`?nt(e,t):me(t)||pe(t)?t[p]:ut(e,t),de(this.message,e,n)}getUnknown(){return this.message.$unknown}setUnknown(e){this.message.$unknown=e}};function C(e,t){if(t.parent.typeName!==e.$typeName)throw new v(t,`cannot use ${t.toString()} with message ${e.$typeName}`,`ForeignFieldError`)}var et=class{field(){return this._field}get size(){return this._arr.length}constructor(e,t,n){this._field=e,this._arr=this[p]=t,this.check=n}get(e){let t=this._arr[e];return t===void 0?void 0:at(this._field,t,this.check)}set(e,t){if(e<0||e>=this._arr.length)throw new v(this._field,`list item #${e+1}: out of range`);if(this.check){let n=We(this._field,e,t);if(n)throw n}this._arr[e]=it(this._field,t)}add(e){if(this.check){let t=We(this._field,this._arr.length,e);if(t)throw t}this._arr.push(it(this._field,e))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(let e of this._arr)yield at(this._field,e,this.check)}*entries(){for(let e=0;e>4,s=o,a=2;break;case 2:r[i++]=(s&15)<<4|(o&60)>>2,s=o,a=3;break;case 3:r[i++]=(s&3)<<6|o,a=0;break}}if(a==1)throw Error(`invalid base64 string`);return r.subarray(0,i)}function gt(e,t=`std`){let n=vt(t),r=t==`std`,i=``,a=0,o,s=0;for(let t=0;t>2],s=(o&3)<<4,a=1;break;case 1:i+=n[s|o>>4],s=(o&15)<<2,a=2;break;case 2:i+=n[s|o>>6],i+=n[o&63],a=0;break}return a&&(i+=n[s],r&&(i+=`=`,a==1&&(i+=`=`))),i}var T,_t,E;function vt(e){return T||(T=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``),_t=T.slice(0,-2).concat(`-`,`_`)),e==`url`?_t:T}function yt(){if(!E){E=[];let e=vt(`std`);for(let t=0;t`_`+e.toLowerCase())}var xt=new Set([`constructor`,`toString`,`toJSON`,`valueOf`]);function O(e){return xt.has(e)?e+`$`:e}function St(e){for(let t of e.field)m(t,`jsonName`)||(t.jsonName=D(t.name));e.nestedType.forEach(St)}function Ct(e,t){let n=e.values.find(e=>e.name===t);if(!n)throw Error(`cannot parse ${e} default value: ${t}`);return n.number}function wt(e,n){switch(e){case t.STRING:return n;case t.BYTES:{let r=Tt(n);if(r===!1)throw Error(`cannot parse ${t[e]} default value: ${n}`);return r}case t.INT64:case t.SFIXED64:case t.SINT64:return d.parse(n);case t.UINT64:case t.FIXED64:return d.uParse(n);case t.DOUBLE:case t.FLOAT:switch(n){case`inf`:return 1/0;case`-inf`:return-1/0;case`nan`:return NaN;default:return parseFloat(n)}case t.BOOL:return n===`true`;case t.INT32:case t.UINT32:case t.SINT32:case t.FIXED32:case t.SFIXED32:return parseInt(n,10)}}function Tt(e){let t=[],n={tail:e,c:``,next(){return this.tail.length==0?!1:(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(e){if(this.tail.length>=e){let t=this.tail.substring(0,e);return this.tail=this.tail.substring(e),t}return!1}};for(;n.next();)switch(n.c){case`\\`:if(n.next())switch(n.c){case`\\`:t.push(n.c.charCodeAt(0));break;case`b`:t.push(8);break;case`f`:t.push(12);break;case`n`:t.push(10);break;case`r`:t.push(13);break;case`t`:t.push(9);break;case`v`:t.push(11);break;case`0`:case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:{let e=n.c,r=n.take(2);if(r===!1)return!1;let i=parseInt(e+r,8);if(Number.isNaN(i))return!1;t.push(i);break}case`x`:{let e=n.c,r=n.take(2);if(r===!1)return!1;let i=parseInt(e+r,16);if(Number.isNaN(i))return!1;t.push(i);break}case`u`:{let e=n.c,r=n.take(4);if(r===!1)return!1;let i=parseInt(e+r,16);if(Number.isNaN(i))return!1;let a=new Uint8Array(4);new DataView(a.buffer).setInt32(0,i,!0),t.push(a[0],a[1],a[2],a[3]);break}case`U`:{let e=n.c,r=n.take(8);if(r===!1)return!1;let i=d.uEnc(e+r),a=new Uint8Array(8),o=new DataView(a.buffer);o.setInt32(0,i.lo,!0),o.setInt32(4,i.hi,!0),t.push(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7]);break}}break;default:t.push(n.c.charCodeAt(0))}return new Uint8Array(t)}function*Et(e){switch(e.kind){case`file`:for(let t of e.messages)yield t,yield*Et(t);yield*e.enums,yield*e.services,yield*e.extensions;break;case`message`:for(let t of e.nestedMessages)yield t,yield*Et(t);yield*e.nestedEnums,yield*e.nestedExtensions;break}}function Dt(...e){let t=Ot();if(!e.length)return t;if(`$typeName`in e[0]&&e[0].$typeName==`google.protobuf.FileDescriptorSet`){for(let n of e[0].file)Jt(n,t);return t}if(`$typeName`in e[0]){let n=e[0],r=e[1],i=new Set;function a(e){let n=[];for(let a of e.dependency){if(t.getFile(a)!=null||i.has(a))continue;let o=r(a);if(!o)throw Error(`Unable to resolve ${a}, imported by ${e.name}`);`kind`in o?t.addFile(o,!1,!0):(i.add(o.name),n.push(o))}return n.concat(...n.map(a))}for(let e of[n,...a(n)].reverse())Jt(e,t)}else for(let n of e)for(let e of n.files)t.addFile(e);return t}function Ot(){let e=new Map,t=new Map,n=new Map;return{kind:`registry`,types:e,extendees:t,[Symbol.iterator](){return e.values()},get files(){return n.values()},addFile(e,t,r){if(n.set(e.proto.name,e),!t)for(let t of Et(e))this.add(t);if(r)for(let n of e.dependencies)this.addFile(n,t,r)},add(n){if(n.kind==`extension`){let e=t.get(n.extendee.typeName);e||t.set(n.extendee.typeName,e=new Map),e.set(n.number,n)}e.set(n.typeName,n)},get(t){return e.get(t)},getFile(e){return n.get(e)},getMessage(t){let n=e.get(t);return n?.kind==`message`?n:void 0},getEnum(t){let n=e.get(t);return n?.kind==`enum`?n:void 0},getExtension(t){let n=e.get(t);return n?.kind==`extension`?n:void 0},getExtensionFor(e,n){return t.get(e.typeName)?.get(n)},getService(t){let n=e.get(t);return n?.kind==`service`?n:void 0}}}var kt=998,At=999,jt=9999,Mt=9,k=10,A=11,Nt=12,Pt=14,Ft=3,It=2,Lt=1,Rt=0,zt=1,Bt=2,Vt=3,Ht=1,Ut=2,Wt=1,Gt=2,Kt=1001,qt={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2,enforceNamingStyle:2,defaultSymbolVisibility:1},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1001:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:1,defaultSymbolVisibility:2}};function Jt(e,t){let n={kind:`file`,proto:e,deprecated:e.options?.deprecated??!1,edition:rn(e),name:e.name.replace(/\.proto$/,``),dependencies:an(e,t),enums:[],messages:[],extensions:[],services:[],toString(){return`file ${e.name}`}},r=new Map,i={get(e){return r.get(e)},add(e){P(e.proto.options?.mapEntry===!0),r.set(e.typeName,e)}};for(let r of e.enumType)Zt(r,n,void 0,t);for(let r of e.messageType)Qt(r,n,void 0,t,i);for(let r of e.service)$t(r,n,t);Yt(n,t);for(let e of r.values())Xt(e,t,i);for(let e of n.messages)Xt(e,t,i),Yt(e,t);t.addFile(n,!0)}function Yt(e,t){switch(e.kind){case`file`:for(let n of e.proto.extension){let r=nn(n,e,t);e.extensions.push(r),t.add(r)}break;case`message`:for(let n of e.proto.extension){let r=nn(n,e,t);e.nestedExtensions.push(r),t.add(r)}for(let n of e.nestedMessages)Yt(n,t);break}}function Xt(e,t,n){let r=e.proto.oneofDecl.map(t=>tn(t,e)),i=new Set;for(let a of e.proto.field){let o=cn(a,r),s=nn(a,e,t,o,n);e.fields.push(s),e.field[s.localName]=s,o===void 0?e.members.push(s):(o.fields.push(s),i.has(o)||(i.add(o),e.members.push(o)))}for(let t of r.filter(e=>i.has(e)))e.oneofs.push(t);for(let r of e.nestedMessages)Xt(r,t,n)}function Zt(e,t,n,r){let i=on(e.name,e.value),a={kind:`enum`,proto:e,deprecated:e.options?.deprecated??!1,file:t,parent:n,open:!0,name:e.name,typeName:j(e,n,t),value:{},values:[],sharedPrefix:i,toString(){return`enum ${this.typeName}`}};a.open=fn(a),r.add(a);for(let t of e.value){let e=t.name;a.values.push(a.value[t.number]={kind:`enum_value`,proto:t,deprecated:t.options?.deprecated??!1,parent:a,name:e,localName:O(i==null?e:e.substring(i.length)),number:t.number,toString(){return`enum value ${a.typeName}.${e}`}})}(n?.nestedEnums??t.enums).push(a)}function Qt(e,t,n,r,i){let a={kind:`message`,proto:e,deprecated:e.options?.deprecated??!1,file:t,parent:n,name:e.name,typeName:j(e,n,t),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};e.options?.mapEntry===!0?i.add(a):((n?.nestedMessages??t.messages).push(a),r.add(a));for(let n of e.enumType)Zt(n,t,a,r);for(let n of e.nestedType)Qt(n,t,a,r,i)}function $t(e,t,n){let r={kind:`service`,proto:e,deprecated:e.options?.deprecated??!1,file:t,name:e.name,typeName:j(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};t.services.push(r),n.add(r);for(let t of e.method){let e=en(t,r,n);r.methods.push(e),r.method[e.localName]=e}}function en(e,t,n){let r;r=e.clientStreaming&&e.serverStreaming?`bidi_streaming`:e.clientStreaming?`client_streaming`:e.serverStreaming?`server_streaming`:`unary`;let i=n.getMessage(M(e.inputType)),a=n.getMessage(M(e.outputType));P(i,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),P(a,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);let o=e.name;return{kind:`rpc`,proto:e,deprecated:e.options?.deprecated??!1,parent:t,name:o,localName:O(o.length?O(o[0].toLowerCase()+o.substring(1)):o),methodKind:r,input:i,output:a,idempotency:e.options?.idempotencyLevel??Rt,toString(){return`rpc ${t.typeName}.${o}`}}}function tn(e,t){return{kind:`oneof`,proto:e,deprecated:!1,parent:t,fields:[],name:e.name,localName:O(D(e.name)),toString(){return`oneof ${t.typeName}.${this.name}`}}}function nn(e,t,n,r,i){let a=i===void 0,o={kind:`field`,proto:e,deprecated:e.options?.deprecated??!1,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:ln(e,r,a,t),utf8Validation:mn(e,t),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(a){let r=t.kind==`file`?t:t.file,i=t.kind==`file`?void 0:t,a=j(e,i,r);o.kind=`extension`,o.file=r,o.parent=i,o.oneof=void 0,o.typeName=a,o.jsonName=`[${a}]`,o.toString=()=>`extension ${a}`;let s=n.getMessage(M(e.extendee));P(s,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),o.extendee=s}else{let n=t;P(n.kind==`message`),o.parent=n,o.oneof=r,o.localName=r?D(e.name):O(D(e.name)),o.jsonName=e.jsonName,o.toString=()=>`field ${n.typeName}.${e.name}`}let s=e.label,c=e.type,l=e.options?.jstype;if(s===Ft){let r=c==A?i?.get(M(e.typeName)):void 0;if(r){o.fieldKind=`map`;let{key:e,value:t}=dn(r);return o.mapKey=e.scalar,o.mapKind=t.fieldKind,o.message=t.message,o.delimitedEncoding=!1,o.enum=t.enum,o.scalar=t.scalar,o}switch(o.fieldKind=`list`,c){case A:case k:o.listKind=`message`,o.message=n.getMessage(M(e.typeName)),P(o.message),o.delimitedEncoding=pn(e,t);break;case Pt:o.listKind=`enum`,o.enum=n.getEnum(M(e.typeName)),P(o.enum);break;default:o.listKind=`scalar`,o.scalar=c,o.longAsString=l==Lt;break}return o.packed=un(e,t),o}switch(c){case A:case k:o.fieldKind=`message`,o.message=n.getMessage(M(e.typeName)),P(o.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),o.delimitedEncoding=pn(e,t),o.getDefaultValue=()=>void 0;break;case Pt:{let t=n.getEnum(M(e.typeName));P(t!==void 0,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),o.fieldKind=`enum`,o.enum=n.getEnum(M(e.typeName)),o.getDefaultValue=()=>m(e,`defaultValue`)?Ct(t,e.defaultValue):void 0;break}default:o.fieldKind=`scalar`,o.scalar=c,o.longAsString=l==Lt,o.getDefaultValue=()=>m(e,`defaultValue`)?wt(c,e.defaultValue):void 0;break}return o}function rn(e){switch(e.syntax){case``:case`proto2`:return kt;case`proto3`:return At;case`editions`:if(e.edition===jt)return Kt;if(e.edition in qt)return e.edition;throw Error(`${e.name}: unsupported edition`);default:throw Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}function an(e,t){return e.dependency.map(n=>{let r=t.getFile(n);if(!r)throw Error(`Cannot find ${n}, imported by ${e.name}`);return r})}function on(e,t){let n=sn(e)+`_`;for(let e of t){if(!e.name.toLowerCase().startsWith(n))return;let t=e.name.substring(n.length);if(t.length==0||/^\d/.test(t))return}return n}function sn(e){return(e.substring(0,1)+e.substring(1).replace(/[A-Z]/g,e=>`_`+e)).toLowerCase()}function j(e,t,n){let r;return r=t?`${t.typeName}.${e.name}`:n.proto.package.length>0?`${n.proto.package}.${e.name}`:`${e.name}`,r}function M(e){return e.startsWith(`.`)?e.substring(1):e}function cn(e,t){if(!m(e,`oneofIndex`)||e.proto3Optional)return;let n=t[e.oneofIndex];return P(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}function ln(e,t,n,r){if(e.label==It)return Vt;if(e.label==Ft)return Bt;if(t||e.proto3Optional||n)return zt;let i=N(`fieldPresence`,{proto:e,parent:r});return i==Bt&&(e.type==A||e.type==k)?zt:i}function un(e,t){if(e.label!=Ft)return!1;switch(e.type){case Mt:case Nt:case k:case A:return!1}let n=e.options;return n&&m(n,`packed`)?n.packed:Ht==N(`repeatedFieldEncoding`,{proto:e,parent:t})}function dn(e){let n=e.fields.find(e=>e.number===1),r=e.fields.find(e=>e.number===2);return P(n&&n.fieldKind==`scalar`&&n.scalar!=t.BYTES&&n.scalar!=t.FLOAT&&n.scalar!=t.DOUBLE&&r&&r.fieldKind!=`list`&&r.fieldKind!=`map`),{key:n,value:r}}function fn(e){return Wt==N(`enumType`,{proto:e.proto,parent:e.parent??e.file})}function pn(e,t){return e.type==k?!0:Ut==N(`messageEncoding`,{proto:e,parent:t})}function mn(e,t){return Gt==N(`utf8Validation`,{proto:e,parent:t})}function N(e,t){let n=t.proto.options?.features;if(n){let t=n[e];if(t!=0)return t}if(`kind`in t){if(t.kind==`message`)return N(e,t.parent??t.file);let n=qt[t.edition];if(!n)throw Error(`feature default for edition ${t.edition} not found`);return n[e]}return N(e,t.parent)}function P(e,t){if(!e)throw Error(t)}function hn(e){let t=gn(e);return t.messageType.forEach(St),Dt(t,()=>void 0).getFile(t.name)}function gn(e){return Object.assign(Object.create({syntax:``,edition:0}),Object.assign(Object.assign({$typeName:`google.protobuf.FileDescriptorProto`,dependency:[],publicDependency:[],weakDependency:[],optionDependency:[],service:[],extension:[]},e),{messageType:e.messageType.map(_n),enumType:e.enumType.map(bn)}))}function _n(e){return Object.assign(Object.create({visibility:0}),{$typeName:`google.protobuf.DescriptorProto`,name:e.name,field:e.field?.map(vn)??[],extension:[],nestedType:e.nestedType?.map(_n)??[],enumType:e.enumType?.map(bn)??[],extensionRange:e.extensionRange?.map(e=>Object.assign({$typeName:`google.protobuf.DescriptorProto.ExtensionRange`},e))??[],oneofDecl:[],reservedRange:[],reservedName:[]})}function vn(e){return Object.assign(Object.create({label:1,typeName:``,extendee:``,defaultValue:``,oneofIndex:0,jsonName:``,proto3Optional:!1}),Object.assign(Object.assign({$typeName:`google.protobuf.FieldDescriptorProto`},e),{options:e.options?yn(e.options):void 0}))}function yn(e){return Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:`google.protobuf.FieldOptions`},e),{targets:e.targets??[],editionDefaults:e.editionDefaults?.map(e=>Object.assign({$typeName:`google.protobuf.FieldOptions.EditionDefault`},e))??[],uninterpretedOption:[]}))}function bn(e){return Object.assign(Object.create({visibility:0}),{$typeName:`google.protobuf.EnumDescriptorProto`,name:e.name,reservedName:[],reservedRange:[],value:e.value.map(e=>Object.assign({$typeName:`google.protobuf.EnumValueDescriptorProto`},e))})}function F(e,t,...n){return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t])}var I=hn({name:`google/protobuf/descriptor.proto`,package:`google.protobuf`,messageType:[{name:`FileDescriptorSet`,field:[{name:`file`,number:1,type:11,label:3,typeName:`.google.protobuf.FileDescriptorProto`}],extensionRange:[{start:536e6,end:536000001}]},{name:`FileDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`package`,number:2,type:9,label:1},{name:`dependency`,number:3,type:9,label:3},{name:`public_dependency`,number:10,type:5,label:3},{name:`weak_dependency`,number:11,type:5,label:3},{name:`option_dependency`,number:15,type:9,label:3},{name:`message_type`,number:4,type:11,label:3,typeName:`.google.protobuf.DescriptorProto`},{name:`enum_type`,number:5,type:11,label:3,typeName:`.google.protobuf.EnumDescriptorProto`},{name:`service`,number:6,type:11,label:3,typeName:`.google.protobuf.ServiceDescriptorProto`},{name:`extension`,number:7,type:11,label:3,typeName:`.google.protobuf.FieldDescriptorProto`},{name:`options`,number:8,type:11,label:1,typeName:`.google.protobuf.FileOptions`},{name:`source_code_info`,number:9,type:11,label:1,typeName:`.google.protobuf.SourceCodeInfo`},{name:`syntax`,number:12,type:9,label:1},{name:`edition`,number:14,type:14,label:1,typeName:`.google.protobuf.Edition`}]},{name:`DescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`field`,number:2,type:11,label:3,typeName:`.google.protobuf.FieldDescriptorProto`},{name:`extension`,number:6,type:11,label:3,typeName:`.google.protobuf.FieldDescriptorProto`},{name:`nested_type`,number:3,type:11,label:3,typeName:`.google.protobuf.DescriptorProto`},{name:`enum_type`,number:4,type:11,label:3,typeName:`.google.protobuf.EnumDescriptorProto`},{name:`extension_range`,number:5,type:11,label:3,typeName:`.google.protobuf.DescriptorProto.ExtensionRange`},{name:`oneof_decl`,number:8,type:11,label:3,typeName:`.google.protobuf.OneofDescriptorProto`},{name:`options`,number:7,type:11,label:1,typeName:`.google.protobuf.MessageOptions`},{name:`reserved_range`,number:9,type:11,label:3,typeName:`.google.protobuf.DescriptorProto.ReservedRange`},{name:`reserved_name`,number:10,type:9,label:3},{name:`visibility`,number:11,type:14,label:1,typeName:`.google.protobuf.SymbolVisibility`}],nestedType:[{name:`ExtensionRange`,field:[{name:`start`,number:1,type:5,label:1},{name:`end`,number:2,type:5,label:1},{name:`options`,number:3,type:11,label:1,typeName:`.google.protobuf.ExtensionRangeOptions`}]},{name:`ReservedRange`,field:[{name:`start`,number:1,type:5,label:1},{name:`end`,number:2,type:5,label:1}]}]},{name:`ExtensionRangeOptions`,field:[{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`},{name:`declaration`,number:2,type:11,label:3,typeName:`.google.protobuf.ExtensionRangeOptions.Declaration`,options:{retention:2}},{name:`features`,number:50,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`verification`,number:3,type:14,label:1,typeName:`.google.protobuf.ExtensionRangeOptions.VerificationState`,defaultValue:`UNVERIFIED`,options:{retention:2}}],nestedType:[{name:`Declaration`,field:[{name:`number`,number:1,type:5,label:1},{name:`full_name`,number:2,type:9,label:1},{name:`type`,number:3,type:9,label:1},{name:`reserved`,number:5,type:8,label:1},{name:`repeated`,number:6,type:8,label:1}]}],enumType:[{name:`VerificationState`,value:[{name:`DECLARATION`,number:0},{name:`UNVERIFIED`,number:1}]}],extensionRange:[{start:1e3,end:536870912}]},{name:`FieldDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`number`,number:3,type:5,label:1},{name:`label`,number:4,type:14,label:1,typeName:`.google.protobuf.FieldDescriptorProto.Label`},{name:`type`,number:5,type:14,label:1,typeName:`.google.protobuf.FieldDescriptorProto.Type`},{name:`type_name`,number:6,type:9,label:1},{name:`extendee`,number:2,type:9,label:1},{name:`default_value`,number:7,type:9,label:1},{name:`oneof_index`,number:9,type:5,label:1},{name:`json_name`,number:10,type:9,label:1},{name:`options`,number:8,type:11,label:1,typeName:`.google.protobuf.FieldOptions`},{name:`proto3_optional`,number:17,type:8,label:1}],enumType:[{name:`Type`,value:[{name:`TYPE_DOUBLE`,number:1},{name:`TYPE_FLOAT`,number:2},{name:`TYPE_INT64`,number:3},{name:`TYPE_UINT64`,number:4},{name:`TYPE_INT32`,number:5},{name:`TYPE_FIXED64`,number:6},{name:`TYPE_FIXED32`,number:7},{name:`TYPE_BOOL`,number:8},{name:`TYPE_STRING`,number:9},{name:`TYPE_GROUP`,number:10},{name:`TYPE_MESSAGE`,number:11},{name:`TYPE_BYTES`,number:12},{name:`TYPE_UINT32`,number:13},{name:`TYPE_ENUM`,number:14},{name:`TYPE_SFIXED32`,number:15},{name:`TYPE_SFIXED64`,number:16},{name:`TYPE_SINT32`,number:17},{name:`TYPE_SINT64`,number:18}]},{name:`Label`,value:[{name:`LABEL_OPTIONAL`,number:1},{name:`LABEL_REPEATED`,number:3},{name:`LABEL_REQUIRED`,number:2}]}]},{name:`OneofDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`options`,number:2,type:11,label:1,typeName:`.google.protobuf.OneofOptions`}]},{name:`EnumDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`value`,number:2,type:11,label:3,typeName:`.google.protobuf.EnumValueDescriptorProto`},{name:`options`,number:3,type:11,label:1,typeName:`.google.protobuf.EnumOptions`},{name:`reserved_range`,number:4,type:11,label:3,typeName:`.google.protobuf.EnumDescriptorProto.EnumReservedRange`},{name:`reserved_name`,number:5,type:9,label:3},{name:`visibility`,number:6,type:14,label:1,typeName:`.google.protobuf.SymbolVisibility`}],nestedType:[{name:`EnumReservedRange`,field:[{name:`start`,number:1,type:5,label:1},{name:`end`,number:2,type:5,label:1}]}]},{name:`EnumValueDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`number`,number:2,type:5,label:1},{name:`options`,number:3,type:11,label:1,typeName:`.google.protobuf.EnumValueOptions`}]},{name:`ServiceDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`method`,number:2,type:11,label:3,typeName:`.google.protobuf.MethodDescriptorProto`},{name:`options`,number:3,type:11,label:1,typeName:`.google.protobuf.ServiceOptions`}]},{name:`MethodDescriptorProto`,field:[{name:`name`,number:1,type:9,label:1},{name:`input_type`,number:2,type:9,label:1},{name:`output_type`,number:3,type:9,label:1},{name:`options`,number:4,type:11,label:1,typeName:`.google.protobuf.MethodOptions`},{name:`client_streaming`,number:5,type:8,label:1,defaultValue:`false`},{name:`server_streaming`,number:6,type:8,label:1,defaultValue:`false`}]},{name:`FileOptions`,field:[{name:`java_package`,number:1,type:9,label:1},{name:`java_outer_classname`,number:8,type:9,label:1},{name:`java_multiple_files`,number:10,type:8,label:1,defaultValue:`false`,options:{}},{name:`java_generate_equals_and_hash`,number:20,type:8,label:1,options:{deprecated:!0}},{name:`java_string_check_utf8`,number:27,type:8,label:1,defaultValue:`false`},{name:`optimize_for`,number:9,type:14,label:1,typeName:`.google.protobuf.FileOptions.OptimizeMode`,defaultValue:`SPEED`},{name:`go_package`,number:11,type:9,label:1},{name:`cc_generic_services`,number:16,type:8,label:1,defaultValue:`false`},{name:`java_generic_services`,number:17,type:8,label:1,defaultValue:`false`},{name:`py_generic_services`,number:18,type:8,label:1,defaultValue:`false`},{name:`deprecated`,number:23,type:8,label:1,defaultValue:`false`},{name:`cc_enable_arenas`,number:31,type:8,label:1,defaultValue:`true`},{name:`objc_class_prefix`,number:36,type:9,label:1},{name:`csharp_namespace`,number:37,type:9,label:1},{name:`swift_prefix`,number:39,type:9,label:1},{name:`php_class_prefix`,number:40,type:9,label:1},{name:`php_namespace`,number:41,type:9,label:1},{name:`php_metadata_namespace`,number:44,type:9,label:1},{name:`ruby_package`,number:45,type:9,label:1},{name:`features`,number:50,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],enumType:[{name:`OptimizeMode`,value:[{name:`SPEED`,number:1},{name:`CODE_SIZE`,number:2},{name:`LITE_RUNTIME`,number:3}]}],extensionRange:[{start:1e3,end:536870912}]},{name:`MessageOptions`,field:[{name:`message_set_wire_format`,number:1,type:8,label:1,defaultValue:`false`},{name:`no_standard_descriptor_accessor`,number:2,type:8,label:1,defaultValue:`false`},{name:`deprecated`,number:3,type:8,label:1,defaultValue:`false`},{name:`map_entry`,number:7,type:8,label:1},{name:`deprecated_legacy_json_field_conflicts`,number:11,type:8,label:1,options:{deprecated:!0}},{name:`features`,number:12,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],extensionRange:[{start:1e3,end:536870912}]},{name:`FieldOptions`,field:[{name:`ctype`,number:1,type:14,label:1,typeName:`.google.protobuf.FieldOptions.CType`,defaultValue:`STRING`},{name:`packed`,number:2,type:8,label:1},{name:`jstype`,number:6,type:14,label:1,typeName:`.google.protobuf.FieldOptions.JSType`,defaultValue:`JS_NORMAL`},{name:`lazy`,number:5,type:8,label:1,defaultValue:`false`},{name:`unverified_lazy`,number:15,type:8,label:1,defaultValue:`false`},{name:`deprecated`,number:3,type:8,label:1,defaultValue:`false`},{name:`weak`,number:10,type:8,label:1,defaultValue:`false`,options:{deprecated:!0}},{name:`debug_redact`,number:16,type:8,label:1,defaultValue:`false`},{name:`retention`,number:17,type:14,label:1,typeName:`.google.protobuf.FieldOptions.OptionRetention`},{name:`targets`,number:19,type:14,label:3,typeName:`.google.protobuf.FieldOptions.OptionTargetType`},{name:`edition_defaults`,number:20,type:11,label:3,typeName:`.google.protobuf.FieldOptions.EditionDefault`},{name:`features`,number:21,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`feature_support`,number:22,type:11,label:1,typeName:`.google.protobuf.FieldOptions.FeatureSupport`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],nestedType:[{name:`EditionDefault`,field:[{name:`edition`,number:3,type:14,label:1,typeName:`.google.protobuf.Edition`},{name:`value`,number:2,type:9,label:1}]},{name:`FeatureSupport`,field:[{name:`edition_introduced`,number:1,type:14,label:1,typeName:`.google.protobuf.Edition`},{name:`edition_deprecated`,number:2,type:14,label:1,typeName:`.google.protobuf.Edition`},{name:`deprecation_warning`,number:3,type:9,label:1},{name:`edition_removed`,number:4,type:14,label:1,typeName:`.google.protobuf.Edition`},{name:`removal_error`,number:5,type:9,label:1}]}],enumType:[{name:`CType`,value:[{name:`STRING`,number:0},{name:`CORD`,number:1},{name:`STRING_PIECE`,number:2}]},{name:`JSType`,value:[{name:`JS_NORMAL`,number:0},{name:`JS_STRING`,number:1},{name:`JS_NUMBER`,number:2}]},{name:`OptionRetention`,value:[{name:`RETENTION_UNKNOWN`,number:0},{name:`RETENTION_RUNTIME`,number:1},{name:`RETENTION_SOURCE`,number:2}]},{name:`OptionTargetType`,value:[{name:`TARGET_TYPE_UNKNOWN`,number:0},{name:`TARGET_TYPE_FILE`,number:1},{name:`TARGET_TYPE_EXTENSION_RANGE`,number:2},{name:`TARGET_TYPE_MESSAGE`,number:3},{name:`TARGET_TYPE_FIELD`,number:4},{name:`TARGET_TYPE_ONEOF`,number:5},{name:`TARGET_TYPE_ENUM`,number:6},{name:`TARGET_TYPE_ENUM_ENTRY`,number:7},{name:`TARGET_TYPE_SERVICE`,number:8},{name:`TARGET_TYPE_METHOD`,number:9}]}],extensionRange:[{start:1e3,end:536870912}]},{name:`OneofOptions`,field:[{name:`features`,number:1,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],extensionRange:[{start:1e3,end:536870912}]},{name:`EnumOptions`,field:[{name:`allow_alias`,number:2,type:8,label:1},{name:`deprecated`,number:3,type:8,label:1,defaultValue:`false`},{name:`deprecated_legacy_json_field_conflicts`,number:6,type:8,label:1,options:{deprecated:!0}},{name:`features`,number:7,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],extensionRange:[{start:1e3,end:536870912}]},{name:`EnumValueOptions`,field:[{name:`deprecated`,number:1,type:8,label:1,defaultValue:`false`},{name:`features`,number:2,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`debug_redact`,number:3,type:8,label:1,defaultValue:`false`},{name:`feature_support`,number:4,type:11,label:1,typeName:`.google.protobuf.FieldOptions.FeatureSupport`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],extensionRange:[{start:1e3,end:536870912}]},{name:`ServiceOptions`,field:[{name:`features`,number:34,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`deprecated`,number:33,type:8,label:1,defaultValue:`false`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],extensionRange:[{start:1e3,end:536870912}]},{name:`MethodOptions`,field:[{name:`deprecated`,number:33,type:8,label:1,defaultValue:`false`},{name:`idempotency_level`,number:34,type:14,label:1,typeName:`.google.protobuf.MethodOptions.IdempotencyLevel`,defaultValue:`IDEMPOTENCY_UNKNOWN`},{name:`features`,number:35,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`uninterpreted_option`,number:999,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption`}],enumType:[{name:`IdempotencyLevel`,value:[{name:`IDEMPOTENCY_UNKNOWN`,number:0},{name:`NO_SIDE_EFFECTS`,number:1},{name:`IDEMPOTENT`,number:2}]}],extensionRange:[{start:1e3,end:536870912}]},{name:`UninterpretedOption`,field:[{name:`name`,number:2,type:11,label:3,typeName:`.google.protobuf.UninterpretedOption.NamePart`},{name:`identifier_value`,number:3,type:9,label:1},{name:`positive_int_value`,number:4,type:4,label:1},{name:`negative_int_value`,number:5,type:3,label:1},{name:`double_value`,number:6,type:1,label:1},{name:`string_value`,number:7,type:12,label:1},{name:`aggregate_value`,number:8,type:9,label:1}],nestedType:[{name:`NamePart`,field:[{name:`name_part`,number:1,type:9,label:2},{name:`is_extension`,number:2,type:8,label:2}]}]},{name:`FeatureSet`,field:[{name:`field_presence`,number:1,type:14,label:1,typeName:`.google.protobuf.FeatureSet.FieldPresence`,options:{retention:1,targets:[4,1],editionDefaults:[{value:`EXPLICIT`,edition:900},{value:`IMPLICIT`,edition:999},{value:`EXPLICIT`,edition:1e3}]}},{name:`enum_type`,number:2,type:14,label:1,typeName:`.google.protobuf.FeatureSet.EnumType`,options:{retention:1,targets:[6,1],editionDefaults:[{value:`CLOSED`,edition:900},{value:`OPEN`,edition:999}]}},{name:`repeated_field_encoding`,number:3,type:14,label:1,typeName:`.google.protobuf.FeatureSet.RepeatedFieldEncoding`,options:{retention:1,targets:[4,1],editionDefaults:[{value:`EXPANDED`,edition:900},{value:`PACKED`,edition:999}]}},{name:`utf8_validation`,number:4,type:14,label:1,typeName:`.google.protobuf.FeatureSet.Utf8Validation`,options:{retention:1,targets:[4,1],editionDefaults:[{value:`NONE`,edition:900},{value:`VERIFY`,edition:999}]}},{name:`message_encoding`,number:5,type:14,label:1,typeName:`.google.protobuf.FeatureSet.MessageEncoding`,options:{retention:1,targets:[4,1],editionDefaults:[{value:`LENGTH_PREFIXED`,edition:900}]}},{name:`json_format`,number:6,type:14,label:1,typeName:`.google.protobuf.FeatureSet.JsonFormat`,options:{retention:1,targets:[3,6,1],editionDefaults:[{value:`LEGACY_BEST_EFFORT`,edition:900},{value:`ALLOW`,edition:999}]}},{name:`enforce_naming_style`,number:7,type:14,label:1,typeName:`.google.protobuf.FeatureSet.EnforceNamingStyle`,options:{retention:2,targets:[1,2,3,4,5,6,7,8,9],editionDefaults:[{value:`STYLE_LEGACY`,edition:900},{value:`STYLE2024`,edition:1001}]}},{name:`default_symbol_visibility`,number:8,type:14,label:1,typeName:`.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility`,options:{retention:2,targets:[1],editionDefaults:[{value:`EXPORT_ALL`,edition:900},{value:`EXPORT_TOP_LEVEL`,edition:1001}]}}],nestedType:[{name:`VisibilityFeature`,enumType:[{name:`DefaultSymbolVisibility`,value:[{name:`DEFAULT_SYMBOL_VISIBILITY_UNKNOWN`,number:0},{name:`EXPORT_ALL`,number:1},{name:`EXPORT_TOP_LEVEL`,number:2},{name:`LOCAL_ALL`,number:3},{name:`STRICT`,number:4}]}]}],enumType:[{name:`FieldPresence`,value:[{name:`FIELD_PRESENCE_UNKNOWN`,number:0},{name:`EXPLICIT`,number:1},{name:`IMPLICIT`,number:2},{name:`LEGACY_REQUIRED`,number:3}]},{name:`EnumType`,value:[{name:`ENUM_TYPE_UNKNOWN`,number:0},{name:`OPEN`,number:1},{name:`CLOSED`,number:2}]},{name:`RepeatedFieldEncoding`,value:[{name:`REPEATED_FIELD_ENCODING_UNKNOWN`,number:0},{name:`PACKED`,number:1},{name:`EXPANDED`,number:2}]},{name:`Utf8Validation`,value:[{name:`UTF8_VALIDATION_UNKNOWN`,number:0},{name:`VERIFY`,number:2},{name:`NONE`,number:3}]},{name:`MessageEncoding`,value:[{name:`MESSAGE_ENCODING_UNKNOWN`,number:0},{name:`LENGTH_PREFIXED`,number:1},{name:`DELIMITED`,number:2}]},{name:`JsonFormat`,value:[{name:`JSON_FORMAT_UNKNOWN`,number:0},{name:`ALLOW`,number:1},{name:`LEGACY_BEST_EFFORT`,number:2}]},{name:`EnforceNamingStyle`,value:[{name:`ENFORCE_NAMING_STYLE_UNKNOWN`,number:0},{name:`STYLE2024`,number:1},{name:`STYLE_LEGACY`,number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:`FeatureSetDefaults`,field:[{name:`defaults`,number:1,type:11,label:3,typeName:`.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault`},{name:`minimum_edition`,number:4,type:14,label:1,typeName:`.google.protobuf.Edition`},{name:`maximum_edition`,number:5,type:14,label:1,typeName:`.google.protobuf.Edition`}],nestedType:[{name:`FeatureSetEditionDefault`,field:[{name:`edition`,number:3,type:14,label:1,typeName:`.google.protobuf.Edition`},{name:`overridable_features`,number:4,type:11,label:1,typeName:`.google.protobuf.FeatureSet`},{name:`fixed_features`,number:5,type:11,label:1,typeName:`.google.protobuf.FeatureSet`}]}]},{name:`SourceCodeInfo`,field:[{name:`location`,number:1,type:11,label:3,typeName:`.google.protobuf.SourceCodeInfo.Location`}],nestedType:[{name:`Location`,field:[{name:`path`,number:1,type:5,label:3,options:{packed:!0}},{name:`span`,number:2,type:5,label:3,options:{packed:!0}},{name:`leading_comments`,number:3,type:9,label:1},{name:`trailing_comments`,number:4,type:9,label:1},{name:`leading_detached_comments`,number:6,type:9,label:3}]}],extensionRange:[{start:536e6,end:536000001}]},{name:`GeneratedCodeInfo`,field:[{name:`annotation`,number:1,type:11,label:3,typeName:`.google.protobuf.GeneratedCodeInfo.Annotation`}],nestedType:[{name:`Annotation`,field:[{name:`path`,number:1,type:5,label:3,options:{packed:!0}},{name:`source_file`,number:2,type:9,label:1},{name:`begin`,number:3,type:5,label:1},{name:`end`,number:4,type:5,label:1},{name:`semantic`,number:5,type:14,label:1,typeName:`.google.protobuf.GeneratedCodeInfo.Annotation.Semantic`}],enumType:[{name:`Semantic`,value:[{name:`NONE`,number:0},{name:`SET`,number:1},{name:`ALIAS`,number:2}]}]}]}],enumType:[{name:`Edition`,value:[{name:`EDITION_UNKNOWN`,number:0},{name:`EDITION_LEGACY`,number:900},{name:`EDITION_PROTO2`,number:998},{name:`EDITION_PROTO3`,number:999},{name:`EDITION_2023`,number:1e3},{name:`EDITION_2024`,number:1001},{name:`EDITION_UNSTABLE`,number:9999},{name:`EDITION_1_TEST_ONLY`,number:1},{name:`EDITION_2_TEST_ONLY`,number:2},{name:`EDITION_99997_TEST_ONLY`,number:99997},{name:`EDITION_99998_TEST_ONLY`,number:99998},{name:`EDITION_99999_TEST_ONLY`,number:99999},{name:`EDITION_MAX`,number:2147483647}]},{name:`SymbolVisibility`,value:[{name:`VISIBILITY_UNSET`,number:0},{name:`VISIBILITY_LOCAL`,number:1},{name:`VISIBILITY_EXPORT`,number:2}]}]}),xn=F(I,1),Sn;(function(e){e[e.DECLARATION=0]=`DECLARATION`,e[e.UNVERIFIED=1]=`UNVERIFIED`})(Sn||(Sn={}));var Cn;(function(e){e[e.DOUBLE=1]=`DOUBLE`,e[e.FLOAT=2]=`FLOAT`,e[e.INT64=3]=`INT64`,e[e.UINT64=4]=`UINT64`,e[e.INT32=5]=`INT32`,e[e.FIXED64=6]=`FIXED64`,e[e.FIXED32=7]=`FIXED32`,e[e.BOOL=8]=`BOOL`,e[e.STRING=9]=`STRING`,e[e.GROUP=10]=`GROUP`,e[e.MESSAGE=11]=`MESSAGE`,e[e.BYTES=12]=`BYTES`,e[e.UINT32=13]=`UINT32`,e[e.ENUM=14]=`ENUM`,e[e.SFIXED32=15]=`SFIXED32`,e[e.SFIXED64=16]=`SFIXED64`,e[e.SINT32=17]=`SINT32`,e[e.SINT64=18]=`SINT64`})(Cn||(Cn={}));var wn;(function(e){e[e.OPTIONAL=1]=`OPTIONAL`,e[e.REPEATED=3]=`REPEATED`,e[e.REQUIRED=2]=`REQUIRED`})(wn||(wn={}));var Tn;(function(e){e[e.SPEED=1]=`SPEED`,e[e.CODE_SIZE=2]=`CODE_SIZE`,e[e.LITE_RUNTIME=3]=`LITE_RUNTIME`})(Tn||(Tn={}));var En;(function(e){e[e.STRING=0]=`STRING`,e[e.CORD=1]=`CORD`,e[e.STRING_PIECE=2]=`STRING_PIECE`})(En||(En={}));var Dn;(function(e){e[e.JS_NORMAL=0]=`JS_NORMAL`,e[e.JS_STRING=1]=`JS_STRING`,e[e.JS_NUMBER=2]=`JS_NUMBER`})(Dn||(Dn={}));var On;(function(e){e[e.RETENTION_UNKNOWN=0]=`RETENTION_UNKNOWN`,e[e.RETENTION_RUNTIME=1]=`RETENTION_RUNTIME`,e[e.RETENTION_SOURCE=2]=`RETENTION_SOURCE`})(On||(On={}));var kn;(function(e){e[e.TARGET_TYPE_UNKNOWN=0]=`TARGET_TYPE_UNKNOWN`,e[e.TARGET_TYPE_FILE=1]=`TARGET_TYPE_FILE`,e[e.TARGET_TYPE_EXTENSION_RANGE=2]=`TARGET_TYPE_EXTENSION_RANGE`,e[e.TARGET_TYPE_MESSAGE=3]=`TARGET_TYPE_MESSAGE`,e[e.TARGET_TYPE_FIELD=4]=`TARGET_TYPE_FIELD`,e[e.TARGET_TYPE_ONEOF=5]=`TARGET_TYPE_ONEOF`,e[e.TARGET_TYPE_ENUM=6]=`TARGET_TYPE_ENUM`,e[e.TARGET_TYPE_ENUM_ENTRY=7]=`TARGET_TYPE_ENUM_ENTRY`,e[e.TARGET_TYPE_SERVICE=8]=`TARGET_TYPE_SERVICE`,e[e.TARGET_TYPE_METHOD=9]=`TARGET_TYPE_METHOD`})(kn||(kn={}));var An;(function(e){e[e.IDEMPOTENCY_UNKNOWN=0]=`IDEMPOTENCY_UNKNOWN`,e[e.NO_SIDE_EFFECTS=1]=`NO_SIDE_EFFECTS`,e[e.IDEMPOTENT=2]=`IDEMPOTENT`})(An||(An={}));var jn;(function(e){e[e.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0]=`DEFAULT_SYMBOL_VISIBILITY_UNKNOWN`,e[e.EXPORT_ALL=1]=`EXPORT_ALL`,e[e.EXPORT_TOP_LEVEL=2]=`EXPORT_TOP_LEVEL`,e[e.LOCAL_ALL=3]=`LOCAL_ALL`,e[e.STRICT=4]=`STRICT`})(jn||(jn={}));var Mn;(function(e){e[e.FIELD_PRESENCE_UNKNOWN=0]=`FIELD_PRESENCE_UNKNOWN`,e[e.EXPLICIT=1]=`EXPLICIT`,e[e.IMPLICIT=2]=`IMPLICIT`,e[e.LEGACY_REQUIRED=3]=`LEGACY_REQUIRED`})(Mn||(Mn={}));var Nn;(function(e){e[e.ENUM_TYPE_UNKNOWN=0]=`ENUM_TYPE_UNKNOWN`,e[e.OPEN=1]=`OPEN`,e[e.CLOSED=2]=`CLOSED`})(Nn||(Nn={}));var Pn;(function(e){e[e.REPEATED_FIELD_ENCODING_UNKNOWN=0]=`REPEATED_FIELD_ENCODING_UNKNOWN`,e[e.PACKED=1]=`PACKED`,e[e.EXPANDED=2]=`EXPANDED`})(Pn||(Pn={}));var Fn;(function(e){e[e.UTF8_VALIDATION_UNKNOWN=0]=`UTF8_VALIDATION_UNKNOWN`,e[e.VERIFY=2]=`VERIFY`,e[e.NONE=3]=`NONE`})(Fn||(Fn={}));var In;(function(e){e[e.MESSAGE_ENCODING_UNKNOWN=0]=`MESSAGE_ENCODING_UNKNOWN`,e[e.LENGTH_PREFIXED=1]=`LENGTH_PREFIXED`,e[e.DELIMITED=2]=`DELIMITED`})(In||(In={}));var Ln;(function(e){e[e.JSON_FORMAT_UNKNOWN=0]=`JSON_FORMAT_UNKNOWN`,e[e.ALLOW=1]=`ALLOW`,e[e.LEGACY_BEST_EFFORT=2]=`LEGACY_BEST_EFFORT`})(Ln||(Ln={}));var Rn;(function(e){e[e.ENFORCE_NAMING_STYLE_UNKNOWN=0]=`ENFORCE_NAMING_STYLE_UNKNOWN`,e[e.STYLE2024=1]=`STYLE2024`,e[e.STYLE_LEGACY=2]=`STYLE_LEGACY`})(Rn||(Rn={}));var zn;(function(e){e[e.NONE=0]=`NONE`,e[e.SET=1]=`SET`,e[e.ALIAS=2]=`ALIAS`})(zn||(zn={}));var Bn;(function(e){e[e.EDITION_UNKNOWN=0]=`EDITION_UNKNOWN`,e[e.EDITION_LEGACY=900]=`EDITION_LEGACY`,e[e.EDITION_PROTO2=998]=`EDITION_PROTO2`,e[e.EDITION_PROTO3=999]=`EDITION_PROTO3`,e[e.EDITION_2023=1e3]=`EDITION_2023`,e[e.EDITION_2024=1001]=`EDITION_2024`,e[e.EDITION_UNSTABLE=9999]=`EDITION_UNSTABLE`,e[e.EDITION_1_TEST_ONLY=1]=`EDITION_1_TEST_ONLY`,e[e.EDITION_2_TEST_ONLY=2]=`EDITION_2_TEST_ONLY`,e[e.EDITION_99997_TEST_ONLY=99997]=`EDITION_99997_TEST_ONLY`,e[e.EDITION_99998_TEST_ONLY=99998]=`EDITION_99998_TEST_ONLY`,e[e.EDITION_99999_TEST_ONLY=99999]=`EDITION_99999_TEST_ONLY`,e[e.EDITION_MAX=2147483647]=`EDITION_MAX`})(Bn||(Bn={}));var Vn;(function(e){e[e.VISIBILITY_UNSET=0]=`VISIBILITY_UNSET`,e[e.VISIBILITY_LOCAL=1]=`VISIBILITY_LOCAL`,e[e.VISIBILITY_EXPORT=2]=`VISIBILITY_EXPORT`})(Vn||(Vn={}));var Hn={readUnknownFields:!0};function Un(e){return e?Object.assign(Object.assign({},Hn),e):Hn}function Wn(e,t,n){let r=S(e,void 0,!1);return Gn(r,new ze(t),Un(n),!1,t.byteLength),r.message}function Gn(e,t,n,r,i){let a=r?t.len:t.pos+i,o,s,c=e.getUnknown()??[];for(;t.pos0&&e.setUnknown(c)}function Kn(e,n,r,i,a){switch(r.fieldKind){case`scalar`:e.set(r,L(n,r.scalar,r.utf8Validation));break;case`enum`:let o=L(n,t.INT32);if(r.enum.open)e.set(r,o);else if(r.enum.values.some(e=>e.number===o))e.set(r,o);else if(a.readUnknownFields){let t=[];te(o,t);let n=e.getUnknown()??[];n.push({no:r.number,wireType:i,data:new Uint8Array(t)}),e.setUnknown(n)}break;case`message`:e.set(r,Yn(n,a,r,e.get(r)));break;case`list`:Jn(n,i,e.get(r),a);break;case`map`:qn(n,e.get(r),a);break}}function qn(e,t,n){let r=t.field(),i,a,o=e.uint32(),s=e.pos+o;for(;e.pose.proto.name)??[],Dt(n,e=>t?.find(t=>t.proto.name===e)).getFile(n.name)}var z=R(`Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM`),B=R(`Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zG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UWVBFX1VOU1BFQ0lGSUVEEAASDQoJVFlQRV9KU09OEAESDQoJVFlQRV9IVE1MEAISEAoMVFlQRV9PS0NfUFBUEAMSEwoPVFlQRV9CQU5BTkFfUFBUEAQSFQoRVFlQRV9BR0VOVElDX0hUTUwQBRIXChNUWVBFX0FHRU5USUNfQkFOQU5BEAYSDQoJVFlQRV9QUFREEAcSEAoMVFlQRV9QUFREX1g0EAgSDwoLVFlQRV9ERVNJR04QCSqwAQoJUGFnZUxpbWl0EhoKFlBBR0VfTElNSVRfVU5TUEVDSUZJRUQQABIWChJQQUdFX0xJTUlUX1hYU01BTEwQARIVChFQQUdFX0xJTUlUX1hTTUFMTBACEhQKEFBBR0VfTElNSVRfU01BTEwQAxIVChFQQUdFX0xJTUlUX01FRElVTRAEEhQKEFBBR0VfTElNSVRfTEFSR0UQBRIVChFQQUdFX0xJTUlUX1hMQVJHRRAGYgZwcm90bzM`,[U,z]),kr=function(e){return e[e.UNSPECIFIED=0]=`UNSPECIFIED`,e[e.INIT=1]=`INIT`,e[e.GENERATING=2]=`GENERATING`,e[e.GENERATED=3]=`GENERATED`,e[e.GENERATE_FAILED=4]=`GENERATE_FAILED`,e[e.COMPLETED=5]=`COMPLETED`,e[e.FAILED=6]=`FAILED`,e[e.DELETED=99]=`DELETED`,e}({}),Ar=function(e){return e[e.UNSPECIFIED=0]=`UNSPECIFIED`,e[e.JSON=1]=`JSON`,e[e.HTML=2]=`HTML`,e[e.OKC_PPT=3]=`OKC_PPT`,e[e.BANANA_PPT=4]=`BANANA_PPT`,e[e.AGENTIC_HTML=5]=`AGENTIC_HTML`,e[e.AGENTIC_BANANA=6]=`AGENTIC_BANANA`,e[e.PPTD=7]=`PPTD`,e[e.PPTD_X4=8]=`PPTD_X4`,e[e.DESIGN=9]=`DESIGN`,e}({}),jr=R(`CiBraW1pL2NoYXQvdjEvbWVzc2FnZV9ibG9jay5wcm90bxIMa2ltaS5jaGF0LnYxIrYNCgVCbG9jaxIPCgJpZBgBIA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GaWxlQ29udGVudFJlc3BvbnNlLlRleHRDb250ZW50Eg8KB2NsaXBfaWQYAiADKAkSFQoNdmlkZW9fY2xpcF9pZBgDIAEoCRqZAQoLVGV4dENvbnRlbnQSFAoMY29udGVudF90eXBlGAEgASgJEhAKCHRleHRfdXJsGAIgASgJEgwKBG5hbWUYAyABKAkSFwoKc291cmNlX3VybBgEIAEoCUgAiAEBEhoKDXN0cnVjdHVyZV91cmwYBSABKAlIAYgBAUINCgtfc291cmNlX3VybEIQCg5fc3RydWN0dXJlX3VybCIyCg5VcGxvYWRSZXNwb25zZRIgCgRmaWxlGAEgASgLMhIua2ltaS5maWxlLnYxLkZpbGUiIAoRQ0ROVXBsb2FkUmVzcG9uc2USCwoDdXJsGAEgASgJIjoKFlVwZGF0ZUZpbGVNZXRhUmVzcG9uc2USIAoEZmlsZRgBIAEoCzISLmtpbWkuZmlsZS52MS5GaWxlYgZwcm90bzM`,[J,q]),4);export{_e as A,x as C,v as D,y as E,f as M,d as N,Fe as O,t as P,Ue as S,Re as T,D as _,zr as a,gt as b,Er as c,$n as d,er as f,An as g,Kn as h,Rr as i,g as j,xe as k,tr as l,Wn as m,Hr as n,kr as o,Zn as p,Vr as r,Ar as s,Ur as t,nr as u,bt as v,ze as w,S as x,ht as y}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/kimi-legacy-KFfRFtSB.js b/editor/neo-ppt/assets/kimi-legacy-KFfRFtSB.js new file mode 100644 index 0000000..f25151f --- /dev/null +++ b/editor/neo-ppt/assets/kimi-legacy-KFfRFtSB.js @@ -0,0 +1 @@ +System.register([],function(l,V){var A,g,d,R,c,G,Z,b,I,E,n,S,X,B,F,o,U,a,m,C,e,h,W,J,u,Y,t,Q,N,y,i,s,p,k,K,T,L,x,r,M,H,z,f,D,v,w,j,O,P,_,q,$,ll,Vl,Al,gl,dl,Rl,cl,Gl,Zl,bl,Il,El,nl,Sl,Xl,Bl,Fl,ol,Ul,al,ml,Cl,el,hl,Wl,Jl,ul,Yl,tl,Ql,Nl,yl,il,sl,pl,kl,Kl,Tl,Ll,xl,rl,Ml,Hl,zl,fl,Dl,vl,wl,jl,Ol,Pl,_l,ql,$l,lV,VV,AV,gV,dV,RV,cV,GV,ZV,bV,IV;function EV(l,V){return null!==l&&"object"==typeof l&&"$typeName"in l&&"string"==typeof l.$typeName&&(void 0===V||V.typeName===l.$typeName)}function nV(){let l=0,V=0;for(let g=0;g<28;g+=7){let A=this.buf[this.pos++];if(l|=(127&A)<>4,!(128&A))return this.assertBounds(),[l,V];for(let g=3;g<=31;g+=7){let A=this.buf[this.pos++];if(V|=(127&A)<>>R,d=!(g>>>7==0&&0==V),c=255&(d?128|g:g);if(A.push(c),!d)return}const g=l>>>28&15|(7&V)<<4,d=!!(V>>3);if(A.push(255&(d?128|g:g)),d){for(let l=3;l<31;l+=7){const g=V>>>l,d=!(g>>>7==0),R=255&(d?128|g:g);if(A.push(R),!d)return}A.push(V>>>31&1)}}function XV(l){const V="-"===l[0];V&&(l=l.slice(1));const A=1e6;let d=0,R=0;function c(V,c){const G=Number(l.slice(V,c));R*=A,d=d*A+G,d>=g&&(R+=d/g|0,d%=g)}return c(-24,-18),c(-18,-12),c(-12,-6),c(-6),V?oV(d,R):FV(d,R)}function BV(l,V){if(({lo:l,hi:V}=function(l,V){return{lo:l>>>0,hi:V>>>0}}(l,V)),V<=2097151)return String(g*V+l);const A=16777215&(l>>>24|V<<8),R=V>>16&65535;let c=(16777215&l)+6777216*A+6710656*R,G=A+8147497*R,Z=2*R;const b=1e7;return c>=b&&(G+=Math.floor(c/b),c%=b),G>=b&&(Z+=Math.floor(G/b),G%=b),Z.toString()+d(G)+d(c)}function FV(l,V){return{lo:0|l,hi:0|V}}function oV(l,V){return V=~V,l?l=1+~l:V+=1,FV(l,V)}function UV(l,V){if(l>=0){for(;l>127;)V.push(127&l|128),l>>>=7;V.push(l)}else{for(let A=0;A<9;A++)V.push(127&l|128),l>>=7;V.push(1)}}function aV(){let l=this.buf[this.pos++],V=127&l;if(!(128&l))return this.assertBounds(),V;if(l=this.buf[this.pos++],V|=(127&l)<<7,!(128&l))return this.assertBounds(),V;if(l=this.buf[this.pos++],V|=(127&l)<<14,!(128&l))return this.assertBounds(),V;if(l=this.buf[this.pos++],V|=(127&l)<<21,!(128&l))return this.assertBounds(),V;l=this.buf[this.pos++],V|=(15&l)<<28;for(let A=5;128&l&&A<10;A++)l=this.buf[this.pos++];if(128&l)throw new Error("invalid varint");return this.assertBounds(),V>>>0}function mV(){const l=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof l.getBigInt64&&"function"==typeof l.getBigUint64&&"function"==typeof l.setBigInt64&&"function"==typeof l.setBigUint64&&(globalThis.Deno||"object"!=typeof process||"1"!=={}.BUF_BIGINT_DISABLE)){const V=BigInt("-9223372036854775808"),A=BigInt("9223372036854775807"),g=BigInt("0"),d=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(l){const g="bigint"==typeof l?l:BigInt(l);if(g>A||gd||V(l.setInt32(0,V,!0),l.setInt32(4,A,!0),l.getBigInt64(0,!0)),uDec:(V,A)=>(l.setInt32(0,V,!0),l.setInt32(4,A,!0),l.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:l=>("string"!=typeof l&&(l=l.toString()),CV(l),l),uParse:l=>("string"!=typeof l&&(l=l.toString()),eV(l),l),enc:l=>("string"!=typeof l&&(l=l.toString()),CV(l),XV(l)),uEnc:l=>("string"!=typeof l&&(l=l.toString()),eV(l),XV(l)),dec:(l,V)=>function(l,V){let A=FV(l,V);const g=2147483648&A.hi;g&&(A=oV(A.lo,A.hi));const d=BV(A.lo,A.hi);return g?"-"+d:d}(l,V),uDec:(l,V)=>BV(l,V)}}function CV(l){if(!/^-?[0-9]+$/.test(l))throw new Error("invalid int64: "+l)}function eV(l){if(!/^[0-9]+$/.test(l))throw new Error("invalid uint64: "+l)}function hV(l,V){switch(l){case A.STRING:return"";case A.BOOL:return!1;case A.DOUBLE:case A.FLOAT:return 0;case A.INT64:case A.UINT64:case A.SFIXED64:case A.FIXED64:case A.SINT64:return V?"0":R.zero;case A.BYTES:return new Uint8Array(0);default:return 0}}function WV(l,V){const A=l[V.localName].case;return void 0===A?A:V.fields.find(l=>l.localName===A)}function JV(l,V){const g=V.localName;if(V.oneof)return l[V.oneof.localName].case===g;if(V.presence!=c)return void 0!==l[g]&&Object.prototype.hasOwnProperty.call(l,g);switch(V.fieldKind){case"list":return l[g].length>0;case"map":return Object.keys(l[g]).length>0;case"scalar":return!function(l,V){switch(l){case A.BOOL:return!1===V;case A.STRING:return""===V;case A.BYTES:return V instanceof Uint8Array&&!V.byteLength;default:return 0==V}}(V.scalar,l[g]);case"enum":return l[g]!==V.enum.values[0].number}throw new Error("message field with implicit presence")}function uV(l,V){return Object.prototype.hasOwnProperty.call(l,V)&&void 0!==l[V]}function YV(l,V){if(V.oneof){const A=l[V.oneof.localName];return A.case===V.localName?A.value:void 0}return l[V.localName]}function tV(l,V,A){V.oneof?l[V.oneof.localName]={case:V.localName,value:A}:l[V.localName]=A}function QV(l){return null!==l&&"object"==typeof l&&!Array.isArray(l)}function NV(l,V){var A,g,d,R;if(QV(l)&&G in l&&"add"in l&&"field"in l&&"function"==typeof l.field){if(void 0!==V){const c=V,G=l.field();return c.listKind==G.listKind&&c.scalar===G.scalar&&(null===(A=c.message)||void 0===A?void 0:A.typeName)===(null===(g=G.message)||void 0===g?void 0:g.typeName)&&(null===(d=c.enum)||void 0===d?void 0:d.typeName)===(null===(R=G.enum)||void 0===R?void 0:R.typeName)}return!0}return!1}function yV(l,V){var A,g,d,R;if(QV(l)&&G in l&&"has"in l&&"field"in l&&"function"==typeof l.field){if(void 0!==V){const c=V,G=l.field();return c.mapKey===G.mapKey&&c.mapKind==G.mapKind&&c.scalar===G.scalar&&(null===(A=c.message)||void 0===A?void 0:A.typeName)===(null===(g=G.message)||void 0===g?void 0:g.typeName)&&(null===(d=c.enum)||void 0===d?void 0:d.typeName)===(null===(R=G.enum)||void 0===R?void 0:R.typeName)}return!0}return!1}function iV(l,V){return QV(l)&&G in l&&"desc"in l&&QV(l.desc)&&"message"===l.desc.kind&&(void 0===V||l.desc.typeName==V.typeName)}function sV(l){const V=l.fields[0];return pV(l.typeName)&&void 0!==V&&"scalar"==V.fieldKind&&"value"==V.name&&1==V.number}function pV(l){return l.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(l.substring(16))}function kV(l,V){if(EV(V,l))return V;const A=function(l){let V;if(function(l){switch(l.file.edition){case Z:return!1;case b:return!0;default:return l.fields.some(l=>l.presence!=I&&"message"!=l.fieldKind&&!l.oneof)}}(l)){const A=n.get(l);let g,d;if(A)({prototype:g,members:d}=A);else{g={},d=new Set;for(const V of l.members)"oneof"!=V.kind&&("scalar"!=V.fieldKind&&"enum"!=V.fieldKind||V.presence!=I&&(d.add(V),g[V.localName]=HV(V)));n.set(l,{prototype:g,members:d})}V=Object.create(g),V.$typeName=l.typeName;for(const R of l.members)if(!d.has(R)){if("field"==R.kind){if("message"==R.fieldKind)continue;if(("scalar"==R.fieldKind||"enum"==R.fieldKind)&&R.presence!=I)continue}V[R.localName]=HV(R)}}else{V={$typeName:l.typeName};for(const A of l.members)"oneof"!=A.kind&&A.presence!=I||(V[A.localName]=HV(A))}return V}(l);return void 0!==V&&function(l,V,A){for(const g of l.members){let l,d=A[g.localName];if(null!=d){if("oneof"==g.kind){const V=WV(A,g);if(!V)continue;l=V,d=YV(A,V)}else l=g;switch(l.fieldKind){case"message":d=xV(l,d);break;case"scalar":d=KV(l,d);break;case"list":d=LV(l,d);break;case"map":d=TV(l,d)}tV(V,l,d)}}}(l,A,V),A}function KV(l,V){return l.scalar==A.BYTES?rV(V):V}function TV(l,V){if(QV(V)){if(l.scalar==A.BYTES)return MV(V,rV);if("message"==l.mapKind)return MV(V,V=>xV(l,V))}return V}function LV(l,V){if(Array.isArray(V)){if(l.scalar==A.BYTES)return V.map(rV);if("message"==l.listKind)return V.map(V=>xV(l,V))}return V}function xV(l,V){if("message"==l.fieldKind&&!l.oneof&&sV(l.message))return KV(l.message.fields[0],V);if(QV(V)){if("google.protobuf.Struct"==l.message.typeName&&"google.protobuf.Value"!==l.parent.typeName)return V;if(!EV(V,l.message))return kV(l.message,V)}return V}function rV(l){return Array.isArray(l)?new Uint8Array(l):l}function MV(l,V){const A={};for(const g of Object.entries(l))A[g[0]]=V(g[1]);return A}function HV(l){if("oneof"==l.kind)return{case:void 0};if("list"==l.fieldKind)return[];if("map"==l.fieldKind)return{};if("message"==l.fieldKind)return E;const V=l.getDefaultValue();return void 0!==V?"scalar"==l.fieldKind&&l.longAsString?V.toString():V:"scalar"==l.fieldKind?hV(l.scalar,l.longAsString):l.enum.values[0].number}function zV(){if(null==globalThis[B]){const l=new globalThis.TextEncoder,V=new globalThis.TextDecoder;let A;globalThis[B]={encodeUtf8:V=>l.encode(V),decodeUtf8:(l,g)=>g?(void 0===A&&(A=new globalThis.TextDecoder("utf-8",{fatal:!0})),A.decode(l)):V.decode(l),checkUtf8(l){try{return!0}catch(V){return!1}}}}return globalThis[B]}function fV(l){if("string"==typeof l)l=Number(l);else if("number"!=typeof l)throw new Error("invalid int32: "+typeof l);if(!Number.isInteger(l)||l>2147483647||l<-2147483648)throw new Error("invalid int32: "+l)}function DV(l){if("string"==typeof l)l=Number(l);else if("number"!=typeof l)throw new Error("invalid uint32: "+typeof l);if(!Number.isInteger(l)||l>4294967295||l<0)throw new Error("invalid uint32: "+l)}function vV(l,V){const A="list"==l.fieldKind?NV(V,l):"map"==l.fieldKind?yV(V,l):jV(l,V);if(!0===A)return;let g;switch(l.fieldKind){case"list":g=`expected ${$V(l)}, got ${_V(V)}`;break;case"map":g=`expected ${lA(l)}, got ${_V(V)}`;break;default:g=PV(l,V,A)}return new X(l,g)}function wV(l,V,A){const g=jV(l,A);if(!0!==g)return new X(l,`list item #${V+1}: ${PV(l,A,g)}`)}function jV(l,V){return void 0!==l.scalar?OV(V,l.scalar):void 0!==l.enum?l.enum.open?Number.isInteger(V):l.enum.values.some(l=>l.number===V):iV(V,l.message)}function OV(l,V){switch(V){case A.DOUBLE:return"number"==typeof l;case A.FLOAT:return"number"==typeof l&&(!(!Number.isNaN(l)&&Number.isFinite(l))||!(l>34028234663852886e22||l<-34028234663852886e22)||`${l.toFixed()} out of range`);case A.INT32:case A.SFIXED32:case A.SINT32:return!("number"!=typeof l||!Number.isInteger(l))&&(!(l>2147483647||l<-2147483648)||`${l.toFixed()} out of range`);case A.FIXED32:case A.UINT32:return!("number"!=typeof l||!Number.isInteger(l))&&(!(l>4294967295||l<0)||`${l.toFixed()} out of range`);case A.BOOL:return"boolean"==typeof l;case A.STRING:return"string"==typeof l&&(zV().checkUtf8(l)||"invalid UTF8");case A.BYTES:return l instanceof Uint8Array;case A.INT64:case A.SFIXED64:case A.SINT64:if("bigint"==typeof l||"number"==typeof l||"string"==typeof l&&l.length>0)try{return R.parse(l),!0}catch(g){return`${l} out of range`}return!1;case A.FIXED64:case A.UINT64:if("bigint"==typeof l||"number"==typeof l||"string"==typeof l&&l.length>0)try{return R.uParse(l),!0}catch(g){return`${l} out of range`}return!1}}function PV(l,V,g){return g="string"==typeof g?`: ${g}`:`, got ${_V(V)}`,void 0!==l.scalar?`expected ${function(l){switch(l){case A.STRING:return"string";case A.BOOL:return"boolean";case A.INT64:case A.SINT64:case A.SFIXED64:return"bigint (int64)";case A.UINT64:case A.FIXED64:return"bigint (uint64)";case A.BYTES:return"Uint8Array";case A.DOUBLE:return"number (float64)";case A.FLOAT:return"number (float32)";case A.FIXED32:case A.UINT32:return"number (uint32)";case A.INT32:case A.SFIXED32:case A.SINT32:return"number (int32)"}}(l.scalar)}`+g:void 0!==l.enum?`expected ${l.enum.toString()}`+g:`expected ${qV(l.message)}`+g}function _V(l){switch(typeof l){case"object":return null===l?"null":l instanceof Uint8Array?`Uint8Array(${l.length})`:Array.isArray(l)?`Array(${l.length})`:NV(l)?$V(l.field()):yV(l)?lA(l.field()):iV(l)?qV(l.desc):EV(l)?`message ${l.$typeName}`:"object";case"string":return l.length>30?"string":`"${l.split('"').join('\\"')}"`;case"boolean":case"number":return String(l);case"bigint":return String(l)+"n";default:return typeof l}}function qV(l){return`ReflectMessage (${l.typeName})`}function $V(l){switch(l.listKind){case"message":return`ReflectList (${l.message.toString()})`;case"enum":return`ReflectList (${l.enum.toString()})`;case"scalar":return`ReflectList (${A[l.scalar]})`}}function lA(l){switch(l.mapKind){case"message":return`ReflectMap (${A[l.mapKey]}, ${l.message.toString()})`;case"enum":return`ReflectMap (${A[l.mapKey]}, ${l.enum.toString()})`;case"scalar":return`ReflectMap (${A[l.mapKey]}, ${A[l.scalar]})`}}function VA(l,V,A=!0){return new a(l,V,A)}function AA(l,V){if(V.parent.typeName!==l.$typeName)throw new X(V,`cannot use ${V.toString()} with message ${l.$typeName}`,"ForeignFieldError")}function gA(l,V){return iV(V)?pV(V.message.$typeName)&&!l.oneof&&"message"==l.fieldKind?V.message.value:"google.protobuf.Struct"==V.desc.typeName&&"google.protobuf.Value"!=l.parent.typeName?SA(V.message):V.message:V}function dA(l,V,A){return void 0!==V&&(sV(l.message)&&!l.oneof&&"message"==l.fieldKind?V={$typeName:l.message.typeName,value:IA(l.message.fields[0],V)}:"google.protobuf.Struct"==l.message.typeName&&"google.protobuf.Value"!=l.parent.typeName&&QV(V)&&(V=nA(V))),new a(l.message,V,A)}function RA(l,V){return"message"==l.listKind?gA(l,V):EA(l,V)}function cA(l,V,A){return"message"==l.listKind?dA(l,V,A):IA(l,V)}function GA(l,V,A){return"message"==l.mapKind?dA(l,V,A):V}function ZA(l){return"string"==typeof l||"number"==typeof l?l:String(l)}function bA(l,V){switch(V){case A.STRING:return l;case A.INT32:case A.FIXED32:case A.UINT32:case A.SFIXED32:case A.SINT32:{const V=Number.parseInt(l);if(Number.isFinite(V))return V;break}case A.BOOL:switch(l){case"true":return!0;case"false":return!1}break;case A.UINT64:case A.FIXED64:try{return R.uParse(l)}catch(g){}break;default:try{return R.parse(l)}catch(d){}}return l}function IA(l,V){switch(l.scalar){case A.INT64:case A.SFIXED64:case A.SINT64:"longAsString"in l&&l.longAsString&&"string"==typeof V&&(V=R.parse(V));break;case A.FIXED64:case A.UINT64:"longAsString"in l&&l.longAsString&&"string"==typeof V&&(V=R.uParse(V))}return V}function EA(l,V){switch(l.scalar){case A.INT64:case A.SFIXED64:case A.SINT64:"longAsString"in l&&l.longAsString?V=String(V):"string"!=typeof V&&"number"!=typeof V||(V=R.parse(V));break;case A.FIXED64:case A.UINT64:"longAsString"in l&&l.longAsString?V=String(V):"string"!=typeof V&&"number"!=typeof V||(V=R.uParse(V))}return V}function nA(l){const V={$typeName:"google.protobuf.Struct",fields:{}};if(QV(l))for(const[A,g]of Object.entries(l))V.fields[A]=BA(g);return V}function SA(l){const V={};for(const[A,g]of Object.entries(l.fields))V[A]=XA(g);return V}function XA(l){switch(l.kind.case){case"structValue":return SA(l.kind.value);case"listValue":return l.kind.value.values.map(XA);case"nullValue":case void 0:return null;default:return l.kind.value}}function BA(l){const V={$typeName:"google.protobuf.Value",kind:{case:void 0}};switch(typeof l){case"number":V.kind={case:"numberValue",value:l};break;case"string":V.kind={case:"stringValue",value:l};break;case"boolean":V.kind={case:"boolValue",value:l};break;case"object":if(null===l)V.kind={case:"nullValue",value:0};else if(Array.isArray(l)){const A={$typeName:"google.protobuf.ListValue",values:[]};if(Array.isArray(l))for(const V of l)A.values.push(BA(V));V.kind={case:"listValue",value:A}}else V.kind={case:"structValue",value:nA(l)}}return V}function FA(l){const V=function(){if(!W){W=[];const l=oA("std");for(let V=0;V>4,G=g,c=2;break;case 2:d[R++]=(15&G)<<4|(60&g)>>2,G=g,c=3;break;case 3:d[R++]=(3&G)<<6|g,c=0}}if(1==c)throw Error("invalid base64 string");return d.subarray(0,R)}function oA(l){return e||(e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),h=e.slice(0,-2).concat("-","_")),"url"==l?h:e}function UA(l){let V=!1;const A=[];for(let g=0;g=l){const V=this.tail.substring(0,l);return this.tail=this.tail.substring(l),V}return!1}};for(;A.next();)if("\\"===A.c){if(A.next())switch(A.c){case"\\":V.push(A.c.charCodeAt(0));break;case"b":V.push(8);break;case"f":V.push(12);break;case"n":V.push(10);break;case"r":V.push(13);break;case"t":V.push(9);break;case"v":V.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{const l=A.c,g=A.take(2);if(!1===g)return!1;const d=parseInt(l+g,8);if(Number.isNaN(d))return!1;V.push(d);break}case"x":{const l=A.c,g=A.take(2);if(!1===g)return!1;const d=parseInt(l+g,16);if(Number.isNaN(d))return!1;V.push(d);break}case"u":{const l=A.c,g=A.take(4);if(!1===g)return!1;const d=parseInt(l+g,16);if(Number.isNaN(d))return!1;const R=new Uint8Array(4);new DataView(R.buffer).setInt32(0,d,!0),V.push(R[0],R[1],R[2],R[3]);break}case"U":{const l=A.c,g=A.take(8);if(!1===g)return!1;const d=R.uEnc(l+g),c=new Uint8Array(8),G=new DataView(c.buffer);G.setInt32(0,d.lo,!0),G.setInt32(4,d.hi,!0),V.push(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7]);break}}}else V.push(A.c.charCodeAt(0));return new Uint8Array(V)}(V);if(!1===g)throw new Error(`cannot parse ${A[l]} default value: ${V}`);return g}case A.INT64:case A.SFIXED64:case A.SINT64:return R.parse(V);case A.UINT64:case A.FIXED64:return R.uParse(V);case A.DOUBLE:case A.FLOAT:switch(V){case"inf":return Number.POSITIVE_INFINITY;case"-inf":return Number.NEGATIVE_INFINITY;case"nan":return NaN;default:return parseFloat(V)}case A.BOOL:return"true"===V;case A.INT32:case A.UINT32:case A.SINT32:case A.FIXED32:case A.SFIXED32:return parseInt(V,10)}}function*eA(l){switch(l.kind){case"file":for(const V of l.messages)yield V,yield*eA(V);yield*l.enums,yield*l.services,yield*l.extensions;break;case"message":for(const V of l.nestedMessages)yield V,yield*eA(V);yield*l.nestedEnums,yield*l.nestedExtensions}}function hA(...l){const V=function(){const l=new Map,V=new Map,A=new Map;return{kind:"registry",types:l,extendees:V,[Symbol.iterator]:()=>l.values(),get files(){return A.values()},addFile(l,V,g){if(A.set(l.proto.name,l),!V)for(const A of eA(l))this.add(A);if(g)for(const A of l.dependencies)this.addFile(A,V,g)},add(A){if("extension"==A.kind){let l=V.get(A.extendee.typeName);l||V.set(A.extendee.typeName,l=new Map),l.set(A.number,A)}l.set(A.typeName,A)},get:V=>l.get(V),getFile:l=>A.get(l),getMessage(V){const A=l.get(V);return"message"==(null==A?void 0:A.kind)?A:void 0},getEnum(V){const A=l.get(V);return"enum"==(null==A?void 0:A.kind)?A:void 0},getExtension(V){const A=l.get(V);return"extension"==(null==A?void 0:A.kind)?A:void 0},getExtensionFor(l,A){var g;return null===(g=V.get(l.typeName))||void 0===g?void 0:g.get(A)},getService(V){const A=l.get(V);return"service"==(null==A?void 0:A.kind)?A:void 0}}}();if(!l.length)return V;if("$typeName"in l[0]&&"google.protobuf.FileDescriptorSet"==l[0].$typeName){for(const A of l[0].file)WA(A,V);return V}if("$typeName"in l[0]){const g=l[0],d=l[1],R=new Set;function c(l){const A=[];for(const g of l.dependency){if(null!=V.getFile(g))continue;if(R.has(g))continue;const c=d(g);if(!c)throw new Error(`Unable to resolve ${g}, imported by ${l.name}`);"kind"in c?V.addFile(c,!1,!0):(R.add(c.name),A.push(c))}return A.concat(...A.map(c))}for(const G of[g,...c(g)].reverse())WA(G,V)}else for(const Z of l)for(const b of Z.files)V.addFile(b);return V}function WA(l,V){var A,g;const d={kind:"file",proto:l,deprecated:null!==(g=null===(A=l.options)||void 0===A?void 0:A.deprecated)&&void 0!==g&&g,edition:iA(l),name:l.name.replace(/\.proto$/,""),dependencies:sA(l,V),enums:[],messages:[],extensions:[],services:[],toString:()=>`file ${l.name}`},R=new Map,c={get:l=>R.get(l),add(l){var V;MA(!0===(null===(V=l.proto.options)||void 0===V?void 0:V.mapEntry)),R.set(l.typeName,l)}};for(const G of l.enumType)YA(G,d,void 0,V);for(const G of l.messageType)tA(G,d,void 0,V,c);for(const G of l.service)QA(G,d,V);JA(d,V);for(const G of R.values())uA(G,V,c);for(const G of d.messages)uA(G,V,c),JA(G,V);V.addFile(d,!0)}function JA(l,V){switch(l.kind){case"file":for(const A of l.proto.extension){const g=yA(A,l,V);l.extensions.push(g),V.add(g)}break;case"message":for(const A of l.proto.extension){const g=yA(A,l,V);l.nestedExtensions.push(g),V.add(g)}for(const A of l.nestedMessages)JA(A,V)}}function uA(l,V,A){const g=l.proto.oneofDecl.map(V=>function(l,V){return{kind:"oneof",proto:l,deprecated:!1,parent:V,fields:[],name:l.name,localName:aA(UA(l.name)),toString(){return`oneof ${V.typeName}.${this.name}`}}}(V,l)),d=new Set;for(const R of l.proto.field){const c=KA(R,g),G=yA(R,l,V,c,A);l.fields.push(G),l.field[G.localName]=G,void 0===c?l.members.push(G):(c.fields.push(G),d.has(c)||(d.add(c),l.members.push(c)))}for(const R of g.filter(l=>d.has(l)))l.oneofs.push(R);for(const R of l.nestedMessages)uA(R,V,A)}function YA(l,V,A,g){var d,R,c,G,Z;const b=function(l,V){const A=((g=l).substring(0,1)+g.substring(1).replace(/[A-Z]/g,l=>"_"+l)).toLowerCase()+"_";var g;for(const d of V){if(!d.name.toLowerCase().startsWith(A))return;const l=d.name.substring(A.length);if(0==l.length)return;if(/^\d/.test(l))return}return A}(l.name,l.value),I={kind:"enum",proto:l,deprecated:null!==(R=null===(d=l.options)||void 0===d?void 0:d.deprecated)&&void 0!==R&&R,file:V,parent:A,open:!0,name:l.name,typeName:pA(l,A,V),value:{},values:[],sharedPrefix:b,toString(){return`enum ${this.typeName}`}};I.open=function(l){var V;return z==rA("enumType",{proto:l.proto,parent:null!==(V=l.parent)&&void 0!==V?V:l.file})}(I),g.add(I);for(const E of l.value){const l=E.name;I.values.push(I.value[E.number]={kind:"enum_value",proto:E,deprecated:null!==(G=null===(c=E.options)||void 0===c?void 0:c.deprecated)&&void 0!==G&&G,parent:I,name:l,localName:aA(null==b?l:l.substring(b.length)),number:E.number,toString:()=>`enum value ${I.typeName}.${l}`})}(null!==(Z=null==A?void 0:A.nestedEnums)&&void 0!==Z?Z:V.enums).push(I)}function tA(l,V,A,g,d){var R,c,G,Z;const b={kind:"message",proto:l,deprecated:null!==(c=null===(R=l.options)||void 0===R?void 0:R.deprecated)&&void 0!==c&&c,file:V,parent:A,name:l.name,typeName:pA(l,A,V),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};!0===(null===(G=l.options)||void 0===G?void 0:G.mapEntry)?d.add(b):((null!==(Z=null==A?void 0:A.nestedMessages)&&void 0!==Z?Z:V.messages).push(b),g.add(b));for(const I of l.enumType)YA(I,V,b,g);for(const I of l.nestedType)tA(I,V,b,g,d)}function QA(l,V,A){var g,d;const R={kind:"service",proto:l,deprecated:null!==(d=null===(g=l.options)||void 0===g?void 0:g.deprecated)&&void 0!==d&&d,file:V,name:l.name,typeName:pA(l,void 0,V),methods:[],method:{},toString(){return`service ${this.typeName}`}};V.services.push(R),A.add(R);for(const c of l.method){const l=NA(c,R,A);R.methods.push(l),R.method[l.localName]=l}}function NA(l,V,A){var g,d,R,c;let G;G=l.clientStreaming&&l.serverStreaming?"bidi_streaming":l.clientStreaming?"client_streaming":l.serverStreaming?"server_streaming":"unary";const Z=A.getMessage(kA(l.inputType)),b=A.getMessage(kA(l.outputType));MA(Z,`invalid MethodDescriptorProto: input_type ${l.inputType} not found`),MA(b,`invalid MethodDescriptorProto: output_type ${l.inputType} not found`);const I=l.name;return{kind:"rpc",proto:l,deprecated:null!==(d=null===(g=l.options)||void 0===g?void 0:g.deprecated)&&void 0!==d&&d,parent:V,name:I,localName:aA(I.length?aA(I[0].toLowerCase()+I.substring(1)):I),methodKind:G,input:Z,output:b,idempotency:null!==(c=null===(R=l.options)||void 0===R?void 0:R.idempotencyLevel)&&void 0!==c?c:T,toString:()=>`rpc ${V.typeName}.${I}`}}function yA(l,V,g,d,R){var c,G,Z;const b=void 0===R,I={kind:"field",proto:l,deprecated:null!==(G=null===(c=l.options)||void 0===c?void 0:c.deprecated)&&void 0!==G&&G,name:l.name,number:l.number,scalar:void 0,message:void 0,enum:void 0,presence:TA(l,d,b,V),utf8Validation:xA(l,V),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(b){const A="file"==V.kind?V:V.file,d="file"==V.kind?void 0:V,R=pA(l,d,A);I.kind="extension",I.file=A,I.parent=d,I.oneof=void 0,I.typeName=R,I.jsonName=`[${R}]`,I.toString=()=>`extension ${R}`;const c=g.getMessage(kA(l.extendee));MA(c,`invalid FieldDescriptorProto: extendee ${l.extendee} not found`),I.extendee=c}else{const A=V;MA("message"==A.kind),I.parent=A,I.oneof=d,I.localName=d?UA(l.name):aA(UA(l.name)),I.jsonName=l.jsonName,I.toString=()=>`field ${A.typeName}.${l.name}`}const E=l.label,n=l.type,S=null===(Z=l.options)||void 0===Z?void 0:Z.jstype;if(E===p){const d=n==y?null==R?void 0:R.get(kA(l.typeName)):void 0;if(d){I.fieldKind="map";const{key:l,value:V}=function(l){const V=l.fields.find(l=>1===l.number),g=l.fields.find(l=>2===l.number);return MA(V&&"scalar"==V.fieldKind&&V.scalar!=A.BYTES&&V.scalar!=A.FLOAT&&V.scalar!=A.DOUBLE&&g&&"list"!=g.fieldKind&&"map"!=g.fieldKind),{key:V,value:g}}(d);return I.mapKey=l.scalar,I.mapKind=V.fieldKind,I.message=V.message,I.delimitedEncoding=!1,I.enum=V.enum,I.scalar=V.scalar,I}switch(I.fieldKind="list",n){case y:case N:I.listKind="message",I.message=g.getMessage(kA(l.typeName)),MA(I.message),I.delimitedEncoding=LA(l,V);break;case s:I.listKind="enum",I.enum=g.getEnum(kA(l.typeName)),MA(I.enum);break;default:I.listKind="scalar",I.scalar=n,I.longAsString=S==K}return I.packed=function(l,V){if(l.label!=p)return!1;switch(l.type){case Q:case i:case N:case y:return!1}const A=l.options;return A&&uV(A,"packed")?A.packed:M==rA("repeatedFieldEncoding",{proto:l,parent:V})}(l,V),I}switch(n){case y:case N:I.fieldKind="message",I.message=g.getMessage(kA(l.typeName)),MA(I.message,`invalid FieldDescriptorProto: type_name ${l.typeName} not found`),I.delimitedEncoding=LA(l,V),I.getDefaultValue=()=>{};break;case s:{const V=g.getEnum(kA(l.typeName));MA(void 0!==V,`invalid FieldDescriptorProto: type_name ${l.typeName} not found`),I.fieldKind="enum",I.enum=g.getEnum(kA(l.typeName)),I.getDefaultValue=()=>uV(l,"defaultValue")?function(l,V){const A=l.values.find(l=>l.name===V);if(!A)throw new Error(`cannot parse ${l} default value: ${V}`);return A.number}(V,l.defaultValue):void 0;break}default:I.fieldKind="scalar",I.scalar=n,I.longAsString=S==K,I.getDefaultValue=()=>uV(l,"defaultValue")?CA(n,l.defaultValue):void 0}return I}function iA(l){switch(l.syntax){case"":case"proto2":return u;case"proto3":return Y;case"editions":if(l.edition===t)return D;if(l.edition in v)return l.edition;throw new Error(`${l.name}: unsupported edition`);default:throw new Error(`${l.name}: unsupported syntax "${l.syntax}"`)}}function sA(l,V){return l.dependency.map(A=>{const g=V.getFile(A);if(!g)throw new Error(`Cannot find ${A}, imported by ${l.name}`);return g})}function pA(l,V,A){let g;return g=V?`${V.typeName}.${l.name}`:A.proto.package.length>0?`${A.proto.package}.${l.name}`:`${l.name}`,g}function kA(l){return l.startsWith(".")?l.substring(1):l}function KA(l,V){if(!uV(l,"oneofIndex"))return;if(l.proto3Optional)return;const A=V[l.oneofIndex];return MA(A,`invalid FieldDescriptorProto: oneof #${l.oneofIndex} for field #${l.number} not found`),A}function TA(l,V,A,g){if(l.label==k)return r;if(l.label==p)return x;if(V||l.proto3Optional)return L;if(A)return L;const d=rA("fieldPresence",{proto:l,parent:g});return d!=x||l.type!=y&&l.type!=N?d:L}function LA(l,V){return l.type==N||H==rA("messageEncoding",{proto:l,parent:V})}function xA(l,V){return f==rA("utf8Validation",{proto:l,parent:V})}function rA(l,V){var A,g;const d=null===(A=V.proto.options)||void 0===A?void 0:A.features;if(d){const V=d[l];if(0!=V)return V}if("kind"in V){if("message"==V.kind)return rA(l,null!==(g=V.parent)&&void 0!==g?g:V.file);const A=v[V.edition];if(!A)throw new Error(`feature default for edition ${V.edition} not found`);return A[l]}return rA(l,V.parent)}function MA(l,V){if(!l)throw new Error(V)}function HA(l){const V=(A=l,Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],optionDependency:[],service:[],extension:[]},A),{messageType:A.messageType.map(zA),enumType:A.enumType.map(vA)})));var A;return V.messageType.forEach(mA),hA(V,()=>{}).getFile(V.name)}function zA(l){var V,A,g,d,R,c,G,Z;return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.DescriptorProto",name:l.name,field:null!==(A=null===(V=l.field)||void 0===V?void 0:V.map(fA))&&void 0!==A?A:[],extension:[],nestedType:null!==(d=null===(g=l.nestedType)||void 0===g?void 0:g.map(zA))&&void 0!==d?d:[],enumType:null!==(c=null===(R=l.enumType)||void 0===R?void 0:R.map(vA))&&void 0!==c?c:[],extensionRange:null!==(Z=null===(G=l.extensionRange)||void 0===G?void 0:G.map(l=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},l)))&&void 0!==Z?Z:[],oneofDecl:[],reservedRange:[],reservedName:[]})}function fA(l){return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},l),{options:l.options?DA(l.options):void 0}))}function DA(l){var V,A,g;return Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},l),{targets:null!==(V=l.targets)&&void 0!==V?V:[],editionDefaults:null!==(g=null===(A=l.editionDefaults)||void 0===A?void 0:A.map(l=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},l)))&&void 0!==g?g:[],uninterpretedOption:[]}))}function vA(l){return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.EnumDescriptorProto",name:l.name,reservedName:[],reservedRange:[],value:l.value.map(l=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},l))})}function wA(l,V,...A){return A.reduce((l,V)=>l.nestedMessages[V],l.messages[V])}function jA(l,V,A){const g=VA(l,void 0,!1);return OA(g,new o(V),function(l){return l?Object.assign(Object.assign({},Bl),l):Bl}(A),!1,V.byteLength),g.message}function OA(l,V,A,g,d){var R;const c=g?V.len:V.pos+d;let G,Z;const b=null!==(R=l.getUnknown())&&void 0!==R?R:[];for(;V.pos0&&l.setUnknown(b)}function PA(l,V,g,d,R){var c;switch(g.fieldKind){case"scalar":l.set(g,qA(V,g.scalar,g.utf8Validation));break;case"enum":const G=qA(V,A.INT32);if(g.enum.open)l.set(g,G);else if(g.enum.values.some(l=>l.number===G))l.set(g,G);else if(R.readUnknownFields){const V=[];UV(G,V);const A=null!==(c=l.getUnknown())&&void 0!==c?c:[];A.push({no:g.number,wireType:d,data:new Uint8Array(V)}),l.setUnknown(A)}break;case"message":l.set(g,_A(V,R,g,l.get(g)));break;case"list":!function(l,V,g,d){var R;const c=g.field();if("message"===c.listKind)return void g.add(_A(l,d,c));const G=null!==(R=c.scalar)&&void 0!==R?R:A.INT32;if(V!=F.LengthDelimited||G==A.STRING||G==A.BYTES)return void g.add(qA(l,G,c.utf8Validation));const Z=l.uint32()+l.pos;for(;l.posl.proto.name))&&void 0!==A?A:[],hA(g,l=>null==V?void 0:V.find(V=>V.proto.name===l)).getFile(g.name)}function lg(l,V,...A){if(A.length>0)throw new Error;return l.services[V]}return l({A:function(l){switch(l.typeName){case"google.protobuf.Any":case"google.protobuf.Timestamp":case"google.protobuf.Duration":case"google.protobuf.FieldMask":case"google.protobuf.Struct":case"google.protobuf.Value":case"google.protobuf.ListValue":return!0;default:return sV(l)}},C:_V,M:hV,O:function(l){return l instanceof Error&&S.includes(l.name)&&"field"in l&&"function"==typeof l.field},S:vV,_:UA,b:function(l,V="std"){const A=oA(V),g="std"==V;let d,R="",c=0,G=0;for(let Z=0;Z>2],G=(3&d)<<4,c=1;break;case 1:R+=A[G|d>>4],G=(15&d)<<2,c=2;break;case 2:R+=A[G|d>>6],R+=A[63&d],c=0}return c&&(R+=A[G],g&&(R+="=",1==c&&(R+="="))),R},h:PA,j:sV,k:kV,m:jA,v:function(l){return l.replace(/[A-Z]/g,l=>"_"+l.toLowerCase())},x:VA,y:FA,P:void 0,E:void 0,g:void 0,u:void 0}),{setters:[],execute:function(){!function(l){l[l.DOUBLE=1]="DOUBLE",l[l.FLOAT=2]="FLOAT",l[l.INT64=3]="INT64",l[l.UINT64=4]="UINT64",l[l.INT32=5]="INT32",l[l.FIXED64=6]="FIXED64",l[l.FIXED32=7]="FIXED32",l[l.BOOL=8]="BOOL",l[l.STRING=9]="STRING",l[l.BYTES=12]="BYTES",l[l.UINT32=13]="UINT32",l[l.SFIXED32=15]="SFIXED32",l[l.SFIXED64=16]="SFIXED64",l[l.SINT32=17]="SINT32",l[l.SINT64=18]="SINT64"}(A||l("P",A={})),g=4294967296,d=l=>{const V=String(l);return"0000000".slice(V.length)+V},l("N",R=mV()),c=2,G=Symbol.for("reflect unsafe local"),Z=999,b=998,I=2,E=Symbol(),n=new WeakMap,S=["FieldValueInvalidError","FieldListRangeError","ForeignFieldError"],l("D",X=class extends Error{constructor(l,V,A="FieldValueInvalidError"){super(V),this.name=A,this.field=()=>l}}),B=Symbol.for("@bufbuild/protobuf/text-encoding"),function(l){l[l.Varint=0]="Varint",l[l.Bit64=1]="Bit64",l[l.LengthDelimited=2]="LengthDelimited",l[l.StartGroup=3]="StartGroup",l[l.EndGroup=4]="EndGroup",l[l.Bit32=5]="Bit32"}(F||l("E",F={})),l("T",class{constructor(l=zV().encodeUtf8){this.encodeUtf8=l,this.stack=[],this.chunks=[],this.buf=[]}finish(){this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let l=0;for(let g=0;g>>0)}raw(l){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(l),this}uint32(l){for(DV(l);l>127;)this.buf.push(127&l|128),l>>>=7;return this.buf.push(l),this}int32(l){return fV(l),UV(l,this.buf),this}bool(l){return this.buf.push(l?1:0),this}bytes(l){return this.uint32(l.byteLength),this.raw(l)}string(l){let V=this.encodeUtf8(l);return this.uint32(V.byteLength),this.raw(V)}float(l){!function(l){if("string"==typeof l){const V=l;if(l=Number(l),Number.isNaN(l)&&"NaN"!==V)throw new Error("invalid float32: "+V)}else if("number"!=typeof l)throw new Error("invalid float32: "+typeof l);if(Number.isFinite(l)&&(l>34028234663852886e22||l<-34028234663852886e22))throw new Error("invalid float32: "+l)}(l);let V=new Uint8Array(4);return new DataView(V.buffer).setFloat32(0,l,!0),this.raw(V)}double(l){let V=new Uint8Array(8);return new DataView(V.buffer).setFloat64(0,l,!0),this.raw(V)}fixed32(l){DV(l);let V=new Uint8Array(4);return new DataView(V.buffer).setUint32(0,l,!0),this.raw(V)}sfixed32(l){fV(l);let V=new Uint8Array(4);return new DataView(V.buffer).setInt32(0,l,!0),this.raw(V)}sint32(l){return fV(l),UV(l=(l<<1^l>>31)>>>0,this.buf),this}sfixed64(l){let V=new Uint8Array(8),A=new DataView(V.buffer),g=R.enc(l);return A.setInt32(0,g.lo,!0),A.setInt32(4,g.hi,!0),this.raw(V)}fixed64(l){let V=new Uint8Array(8),A=new DataView(V.buffer),g=R.uEnc(l);return A.setInt32(0,g.lo,!0),A.setInt32(4,g.hi,!0),this.raw(V)}int64(l){let V=R.enc(l);return SV(V.lo,V.hi,this.buf),this}sint64(l){const V=R.enc(l),A=V.hi>>31;return SV(V.lo<<1^A,(V.hi<<1|V.lo>>>31)^A,this.buf),this}uint64(l){const V=R.uEnc(l);return SV(V.lo,V.hi,this.buf),this}}),l("w",o=class{constructor(l,V=zV().decodeUtf8){this.decodeUtf8=V,this.varint64=nV,this.uint32=aV,this.buf=l,this.len=l.length,this.pos=0,this.view=new DataView(l.buffer,l.byteOffset,l.byteLength)}tag(){const l=this.pos,V=this.uint32(),A=this.pos-l;if(A>5||5==A&&this.buf[this.pos-1]>15)throw new Error("illegal tag: varint overflows uint32");const g=V>>>3,d=7&V;if(g<=0||d>5)throw new Error("illegal tag: field no "+g+" wire type "+d);return[g,d]}skip(l,V){let A=this.pos;switch(l){case F.Varint:for(;128&this.buf[this.pos++];);break;case F.Bit64:this.pos+=4;case F.Bit32:this.pos+=4;break;case F.LengthDelimited:let A=this.uint32();this.pos+=A;break;case F.StartGroup:for(;;){const[l,A]=this.tag();if(A===F.EndGroup){if(void 0!==V&&l!==V)throw new Error("invalid end group tag");break}this.skip(A,l)}break;default:throw new Error("cant skip wire type "+l)}return this.assertBounds(),this.buf.subarray(A,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let l=this.uint32();return l>>>1^-(1&l)}int64(){return R.dec(...this.varint64())}uint64(){return R.uDec(...this.varint64())}sint64(){let[l,V]=this.varint64(),A=-(1&l);return l=(l>>>1|(1&V)<<31)^A,V=V>>>1^A,R.dec(l,V)}bool(){let[l,V]=this.varint64();return 0!==l||0!==V}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return R.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return R.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let l=this.uint32(),V=this.pos;return this.pos+=l,this.assertBounds(),this.buf.subarray(V,V+l)}string(l){return this.decodeUtf8(this.bytes(),l)}}),U=new WeakMap,a=class{get sortedFields(){const l=U.get(this.desc);if(l)return l;const V=this.desc.fields.concat().sort((l,V)=>l.number-V.number);return U.set(this.desc,V),V}constructor(l,V,A=!0){this.lists=new Map,this.maps=new Map,this.check=A,this.desc=l,this.message=this[G]=null!=V?V:kV(l),this.fields=l.fields,this.oneofs=l.oneofs,this.members=l.members}findNumber(l){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(l=>[l.number,l]))),this._fieldsByNumber.get(l)}oneofCase(l){return AA(this.message,l),WV(this.message,l)}isSet(l){return AA(this.message,l),JV(this.message,l)}clear(l){AA(this.message,l),function(l,V){const A=V.localName;if(V.oneof){const g=V.oneof.localName;l[g].case===A&&(l[g]={case:void 0})}else if(V.presence!=c)delete l[A];else switch(V.fieldKind){case"map":l[A]={};break;case"list":l[A]=[];break;case"enum":l[A]=V.enum.values[0].number;break;case"scalar":l[A]=hV(V.scalar,V.longAsString)}}(this.message,l)}get(l){AA(this.message,l);const V=YV(this.message,l);switch(l.fieldKind){case"list":let A=this.lists.get(l);return A&&A[G]===V||this.lists.set(l,A=new m(l,V,this.check)),A;case"map":let g=this.maps.get(l);return g&&g[G]===V||this.maps.set(l,g=new C(l,V,this.check)),g;case"message":return dA(l,V,this.check);case"scalar":return void 0===V?hV(l.scalar,!1):IA(l,V);case"enum":return null!=V?V:l.enum.values[0].number}}set(l,V){if(AA(this.message,l),this.check){const A=vV(l,V);if(A)throw A}let A;A="message"==l.fieldKind?gA(l,V):yV(V)||NV(V)?V[G]:EA(l,V),tV(this.message,l,A)}getUnknown(){return this.message.$unknown}setUnknown(l){this.message.$unknown=l}},m=class{field(){return this._field}get size(){return this._arr.length}constructor(l,V,A){this._field=l,this._arr=this[G]=V,this.check=A}get(l){const V=this._arr[l];return void 0===V?void 0:cA(this._field,V,this.check)}set(l,V){if(l<0||l>=this._arr.length)throw new X(this._field,`list item #${l+1}: out of range`);if(this.check){const A=wV(this._field,l,V);if(A)throw A}this._arr[l]=RA(this._field,V)}add(l){if(this.check){const V=wV(this._field,this._arr.length,l);if(V)throw V}this._arr.push(RA(this._field,l))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(const l of this._arr)yield cA(this._field,l,this.check)}*entries(){for(let l=0;l_.loading,e=>{e?S=setTimeout(()=>{x.value=!0},_.loadingDelay):(S&&(clearTimeout(S),S=null),x.value=!1)},{immediate:!0}),u(()=>{S&&clearTimeout(S)});let C=r(()=>_.type===`icon`),N=r(()=>C.value?`icon-only`:_.type),P=r(()=>_.size===`small`?16:C.value||_.size===`large`?20:18),F=r(()=>_.icon?_.iconPosition:`start`),I=r(()=>!!_.icon||x.value),L=r(()=>_.icon),R=e=>{_.disabled||_.loading||b(`click`,e)};return(r,a)=>(f(),s(h(y),{content:l.tooltip,placement:l.tooltipPlacement,disabled:!l.tooltip||l.disabled||l.loading},{trigger:d(()=>[o(`button`,{type:`button`,class:e([`button auto-rtl`,[`button-${N.value}`,`button-${l.size}`,{"button-danger":l.danger,"button-block":l.block,"button-has-icon":I.value,"button-disabled":l.disabled||l.loading}]]),"data-icon-position":I.value?F.value:void 0,disabled:l.disabled||l.loading,onClick:R},[C.value&&x.value?(f(),i(`span`,E,[c(w)])):C.value?(f(),i(t,{key:1},[l.icon?(f(),i(`span`,D,[c(h(v),{name:L.value,height:P.value},null,8,[`name`,`height`])])):n(``,!0)],64)):(f(),i(t,{key:2},[F.value===`start`&&I.value?(f(),i(t,{key:0},[x.value?(f(),i(`span`,O,[c(w)])):(f(),i(`span`,k,[c(h(v),{name:L.value,height:P.value},null,8,[`name`,`height`])]))],64)):n(``,!0),o(`span`,A,[p(r.$slots,`default`,{},void 0,!0)]),F.value===`end`&&I.value?(f(),i(t,{key:1},[x.value?(f(),i(`span`,j,[c(w)])):(f(),i(`span`,M,[c(h(v),{name:L.value,height:P.value},null,8,[`name`,`height`])]))],64)):n(``,!0)],64))],10,T)]),_:3},8,[`content`,`placement`,`disabled`]))}}),[[`__scopeId`,`data-v-dd1a14a1`]]);export{b as n,N as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/kimi.button-legacy-Dfu-bBlw.js b/editor/neo-ppt/assets/kimi.button-legacy-Dfu-bBlw.js new file mode 100644 index 0000000..9db1cbe --- /dev/null +++ b/editor/neo-ppt/assets/kimi.button-legacy-Dfu-bBlw.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./dom-legacy-D-syBzLK.js"],function(t,a){var o,n,d,e,i,r,l,u,s,b,c,p,v,g,h,y,m,x,f,k,w,F,C,L,P,_,j,z,B,Q,S,$;function R(t,a){return v(),i("span",F,[...a[0]||(a[0]=[l("svg",{class:"button-loading-svg",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{class:"button-loading-track",d:"M14 8A6 6 0 1 1 8 2",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)])])}return t("n",function(){const t=h("messageApi",null);if(null===t)throw new Error("没有找到 message provider");return t}),{setters:[function(t){o=t.At,n=t.B,d=t.G,e=t.H,i=t.K,r=t.Tt,l=t.U,u=t.W,s=t.Y,b=t.Z,c=t.at,p=t.bt,v=t.ct,g=t.dt,h=t.et,y=t.kt,m=t.vt},function(t){x=t.t},function(t){f=t.v},function(t){k=t.r}],execute:function(){(w=document.createElement("style")).textContent='.button-loading[data-v-0fe4dfb4]{color:currentColor;width:100%;height:100%;display:inline-flex}.button-loading-svg[data-v-0fe4dfb4]{width:100%;height:100%;animation:.8s linear infinite button-loading-rotate-0fe4dfb4}@keyframes button-loading-rotate-0fe4dfb4{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button[data-v-dd1a14a1]{box-sizing:border-box;cursor:pointer;user-select:none;vertical-align:middle;-webkit-appearance:none;appearance:none;text-align:center;color:var(--Labels-Primary);background-color:transparent;border:.5px solid transparent;outline:none;justify-content:center;align-items:center;font-family:inherit;font-style:normal;font-weight:500;transition:background-color .3s ease-in-out,color .3s ease-in-out,border-color .3s ease-in-out;display:inline-flex;position:relative;overflow:hidden}.button[data-v-dd1a14a1]:before{content:"";opacity:0;pointer-events:none;background-color:rgba(255,255,255,.05);transition:opacity .3s ease-in-out;position:absolute;top:0;bottom:0;left:0;right:0}.button-content[data-v-dd1a14a1]{white-space:nowrap;word-break:break-word;justify-content:center;align-items:center;display:inline-flex;position:relative}.button-icon[data-v-dd1a14a1]{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.button-spinner[data-v-dd1a14a1]{color:currentColor;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.button-large[data-v-dd1a14a1]{border-radius:12px;gap:6px;min-width:72px;height:44px;padding:10px 14px;font-size:16px;line-height:24px}.button-large .button-icon[data-v-dd1a14a1],.button-large .button-spinner[data-v-dd1a14a1]{width:20px;height:20px}.button-large.button-has-icon[data-icon-position=start][data-v-dd1a14a1]{padding-left:10px;padding-right:12px}.button-large.button-has-icon[data-icon-position=end][data-v-dd1a14a1]{padding-left:12px;padding-right:10px}.button-medium[data-v-dd1a14a1]{border-radius:10px;gap:4px;min-width:62px;height:32px;padding:6px 10px;font-size:14px;line-height:20px}.button-medium .button-icon[data-v-dd1a14a1],.button-medium .button-spinner[data-v-dd1a14a1]{width:18px;height:18px}.button-medium.button-has-icon[data-icon-position=start][data-v-dd1a14a1]{padding-left:8px;padding-right:10px}.button-medium.button-has-icon[data-icon-position=end][data-v-dd1a14a1]{padding-left:10px;padding-right:8px}.button-small[data-v-dd1a14a1]{border-radius:8px;gap:2px;min-width:52px;height:26px;padding:4px 8px;font-size:12px;line-height:18px}.button-small .button-icon[data-v-dd1a14a1],.button-small .button-spinner[data-v-dd1a14a1]{width:16px;height:16px}.button-small.button-has-icon[data-icon-position=start][data-v-dd1a14a1]{padding-left:6px;padding-right:8px}.button-small.button-has-icon[data-icon-position=end][data-v-dd1a14a1]{padding-left:8px;padding-right:6px}.button-icon-only[data-v-dd1a14a1]{color:var(--Labels-Primary);background-color:transparent;border-color:transparent;padding:0;padding-left:8px!important;padding-right:8px!important}.button-icon-only .button-icon[data-v-dd1a14a1],.button-icon-only .button-spinner[data-v-dd1a14a1]{width:20px;height:20px}.button-icon-only.button-large[data-v-dd1a14a1]{border-radius:12px;width:44px;min-width:44px;height:44px}.button-icon-only.button-medium[data-v-dd1a14a1]{border-radius:8px;width:32px;min-width:32px;height:32px}.button-icon-only.button-small[data-v-dd1a14a1]{border-radius:8px;width:26px;min-width:26px;height:26px}.button-icon-only.button-small .button-icon[data-v-dd1a14a1],.button-icon-only.button-small .button-spinner[data-v-dd1a14a1]{width:16px;height:16px}.button-icon-only[data-v-dd1a14a1]:hover:not([disabled]):not(.button-disabled){background-color:var(--Fills-F1)}.button-icon-only[data-v-dd1a14a1]:active:not([disabled]):not(.button-disabled){background-color:var(--Fills-F1-hover)}.button-icon-only.button-disabled[data-v-dd1a14a1]{color:var(--Labels-Quaternary)}.button-icon-only.button-danger[data-v-dd1a14a1]{color:#fff;background-color:var(--Colors-Red)}.button-icon-only.button-danger[data-v-dd1a14a1]:hover:not([disabled]):not(.button-disabled){background-color:var(--Colors-Red)}.button-icon-only.button-danger[data-v-dd1a14a1]:active:not([disabled]):not(.button-disabled){background-color:#d63f44}.button-icon-only.button-danger.button-disabled[data-v-dd1a14a1]{color:var(--Labels-Quaternary);background-color:var(--Fills-F3)}.button-icon-only.button-block[data-v-dd1a14a1]{width:100%}.button-primary[data-v-dd1a14a1]{background-color:var(--Labels-Primary);color:var(--Bg-Primary);border-color:transparent}.button-primary[data-v-dd1a14a1]:hover:not([disabled]):not(.button-disabled):before{opacity:1}.button-primary.button-danger[data-v-dd1a14a1]{background-color:var(--Colors-Red);color:#fff}.button-primary[disabled][data-v-dd1a14a1]{background-color:var(--Fills-F3);color:var(--Labels-Quaternary)}.button-secondary[data-v-dd1a14a1]{background-color:var(--Fills-F1);color:var(--Labels-Primary);border-color:transparent}.button-secondary[data-v-dd1a14a1]:before{background-color:var(--Fills-F1)}.button-secondary[data-v-dd1a14a1]:hover:not([disabled]):not(.button-disabled):before{opacity:1}.button-secondary.button-danger[data-v-dd1a14a1]{color:var(--Colors-Red)}.button-secondary[disabled][data-v-dd1a14a1]{background-color:var(--Fills-F1);color:var(--Labels-Quaternary)}.button-outline[data-v-dd1a14a1]{color:var(--Labels-Primary);border-color:var(--Separators-S1);background-color:transparent}.button-outline[data-v-dd1a14a1]:hover:not([disabled]):not(.button-disabled){background-color:var(--Fills-F1)}.button-outline[disabled][data-v-dd1a14a1]{color:var(--Labels-Quaternary);border-color:var(--Separators-S1);background-color:transparent}.button-block[data-v-dd1a14a1]{width:100%}.button[disabled][data-v-dd1a14a1],.button.button-disabled[data-v-dd1a14a1]{cursor:not-allowed}.button[disabled][data-v-dd1a14a1]:before,.button.button-disabled[data-v-dd1a14a1]:before{display:none}\n/*$vite$:1*/',document.head.appendChild(w),F={class:"button-loading"},C=x({},[["render",R],["__scopeId","data-v-0fe4dfb4"]]),L=["data-icon-position","disabled"],P={key:0,class:"button-spinner"},_={key:0,class:"button-icon"},j={key:0,class:"button-spinner"},z={key:1,class:"button-icon"},B={class:"button-content"},Q={key:0,class:"button-spinner"},S={key:1,class:"button-icon"},$=b({__name:"Button",props:{type:{default:"primary"},size:{default:"medium"},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingDelay:{default:0},block:{type:Boolean,default:!1},icon:{default:void 0},iconPosition:{default:"start"},tooltip:{default:void 0},tooltipPlacement:{default:"top"}},emits:["click"],setup(t,{emit:a}){const b=t,h=a,x=r(!1);let w=null;m(()=>b.loading,t=>{t?w=setTimeout(()=>{x.value=!0},b.loadingDelay):(w&&(clearTimeout(w),w=null),x.value=!1)},{immediate:!0}),c(()=>{w&&clearTimeout(w)});const F=e(()=>"icon"===b.type),$=e(()=>F.value?"icon-only":b.type),R=e(()=>"small"===b.size?16:F.value||"large"===b.size?20:18),T=e(()=>b.icon?b.iconPosition:"start"),A=e(()=>!!b.icon||x.value),E=e(()=>b.icon),D=t=>{b.disabled||b.loading||h("click",t)};return(a,e)=>(v(),u(y(k),{content:t.tooltip,placement:t.tooltipPlacement,disabled:!t.tooltip||t.disabled||t.loading},{trigger:p(()=>[l("button",{type:"button",class:o(["button auto-rtl",[`button-${$.value}`,`button-${t.size}`,{"button-danger":t.danger,"button-block":t.block,"button-has-icon":A.value,"button-disabled":t.disabled||t.loading}]]),"data-icon-position":A.value?T.value:void 0,disabled:t.disabled||t.loading,onClick:D},[F.value&&x.value?(v(),i("span",P,[s(C)])):F.value?(v(),i(n,{key:1},[t.icon?(v(),i("span",_,[s(y(f),{name:E.value,height:R.value},null,8,["name","height"])])):d("",!0)],64)):(v(),i(n,{key:2},["start"===T.value&&A.value?(v(),i(n,{key:0},[x.value?(v(),i("span",j,[s(C)])):(v(),i("span",z,[s(y(f),{name:E.value,height:R.value},null,8,["name","height"])]))],64)):d("",!0),l("span",B,[g(a.$slots,"default",{},void 0,!0)]),"end"===T.value&&A.value?(v(),i(n,{key:1},[x.value?(v(),i("span",Q,[s(C)])):(v(),i("span",S,[s(y(f),{name:E.value,height:R.value},null,8,["name","height"])]))],64)):d("",!0)],64))],10,L)]),_:3},8,["content","placement","disabled"]))}}),t("t",x($,[["__scopeId","data-v-dd1a14a1"]]))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/kimiDesign-kDxO8uUJ.js b/editor/neo-ppt/assets/kimiDesign-kDxO8uUJ.js new file mode 100644 index 0000000..b53e540 --- /dev/null +++ b/editor/neo-ppt/assets/kimiDesign-kDxO8uUJ.js @@ -0,0 +1 @@ +function e(e,t,r){try{let l=C.__wbindgen_add_to_stack_pointer(-16);var i=m(r)?0:h(r,C.__wbindgen_export,C.__wbindgen_export2),a=S;C.exportPPTDToPPTXBytes(l,n(e),n(t),i,a);var s=o().getInt32(l+0,!0),c=o().getInt32(l+4,!0);if(o().getInt32(l+8,!0))throw g(c);return g(s)}finally{C.__wbindgen_add_to_stack_pointer(16)}}function t(){return{__proto__:null,"./pptd_wasm_bg.js":{__proto__:null,__wbg___wbindgen_boolean_get_fa956cfa2d1bd751:function(e){let t=u(e),n=typeof t==`boolean`?t:void 0;return m(n)?16777215:+!!n},__wbg___wbindgen_is_function_1ff95bcc5517c252:function(e){return typeof u(e)==`function`},__wbg___wbindgen_is_null_ea9085d691f535d3:function(e){return u(e)===null},__wbg___wbindgen_is_object_a27215656b807791:function(e){let t=u(e);return typeof t==`object`&&!!t},__wbg___wbindgen_is_undefined_c05833b95a3cf397:function(e){return u(e)===void 0},__wbg___wbindgen_number_get_394265ed1e1b84ee:function(e,t){let n=u(t),r=typeof n==`number`?n:void 0;o().setFloat64(e+8,m(r)?0:r,!0),o().setInt32(e+0,!m(r),!0)},__wbg___wbindgen_string_get_b0ca35b86a603356:function(e,t){let n=u(t),r=typeof n==`string`?n:void 0;var i=m(r)?0:h(r,C.__wbindgen_export,C.__wbindgen_export2),a=S;o().setInt32(e+4,a,!0),o().setInt32(e+0,i,!0)},__wbg___wbindgen_throw_344f42d3211c4765:function(e,t){throw Error(s(e,t))},__wbg_call_a6e5c5dce5018821:function(){return d(function(e,t,r){return n(u(e).call(u(t),u(r)))},arguments)},__wbg_call_e3b662382210db98:function(){return d(function(e,t,r,i){return n(u(e).call(u(t),u(r),u(i)))},arguments)},__wbg_from_13e323c65fc8f464:function(e){return n(Array.from(u(e)))},__wbg_get_78f252d074a84d0b:function(){return d(function(e,t){return n(Reflect.get(u(e),u(t)))},arguments)},__wbg_get_unchecked_6e0ad6d2a41b06f6:function(e,t){let r=u(e)[t>>>0];return n(r)},__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb:function(e){let t;try{t=u(e)instanceof ArrayBuffer}catch{t=!1}return t},__wbg_instanceof_Uint8Array_309b927aaf7a3fc7:function(e){let t;try{t=u(e)instanceof Uint8Array}catch{t=!1}return t},__wbg_length_1f0964f4a5e2c6d8:function(e){return u(e).length},__wbg_length_370319915dc99107:function(e){return u(e).length},__wbg_new_cd45aabdf6073e84:function(e){return n(new Uint8Array(u(e)))},__wbg_new_da52cf8fe3429cb2:function(){return n({})},__wbg_new_from_slice_77cdfb7977362f3c:function(e,t){return n(new Uint8Array(i(e,t)))},__wbg_prototypesetcall_4770620bbe4688a0:function(e,t,n){Uint8Array.prototype.set.call(i(e,t),u(n))},__wbg_set_8535240470bf2500:function(){return d(function(e,t,n){return Reflect.set(u(e),u(t),u(n))},arguments)},__wbg_stringify_b54333f60f1e4dad:function(){return d(function(e){return n(JSON.stringify(u(e)))},arguments)},__wbindgen_cast_0000000000000001:function(e){return n(e)},__wbindgen_cast_0000000000000002:function(e,t){return n(s(e,t))},__wbindgen_object_drop_ref:function(e){g(e)}}}}function n(e){p===f.length&&f.push(f.length+1);let t=p;return p=f[t],f[t]=e,t}function r(e){e<1028||(f[e]=p,p=e)}function i(e,t){return e>>>=0,l().subarray(e/1,e/1+t)}var a=null;function o(){return(a===null||a.buffer.detached===!0||a.buffer.detached===void 0&&a.buffer!==C.memory.buffer)&&(a=new DataView(C.memory.buffer)),a}function s(e,t){return b(e>>>0,t)}var c=null;function l(){return(c===null||c.byteLength===0)&&(c=new Uint8Array(C.memory.buffer)),c}function u(e){return f[e]}function d(e,t){try{return e.apply(this,t)}catch(e){C.__wbindgen_export3(n(e))}}var f=Array(1024).fill(void 0);f.push(void 0,null,!0,!1);var p=f.length;function m(e){return e==null}function h(e,t,n){if(n===void 0){let n=x.encode(e),r=t(n.length,1)>>>0;return l().subarray(r,r+n.length).set(n),S=n.length,r}let r=e.length,i=t(r,1)>>>0,a=l(),o=0;for(;o127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=l().subarray(i+o,i+r),a=x.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return S=o,i}function g(e){let t=u(e);return r(e),t}var _=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});_.decode();var v=2146435072,y=0;function b(e,t){return y+=t,y>=v&&(_=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),_.decode(),y=t),_.decode(l().subarray(e,e+t))}var x=new TextEncoder;`encodeInto`in x||(x.encodeInto=function(e,t){let n=x.encode(e);return t.set(n),{read:e.length,written:n.length}});var S=0,C;function w(e,t){return C=e.exports,a=null,c=null,C}async function T(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&n(e.type)&&e.headers.get(`Content-Type`)!==`application/wasm`)console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}function n(e){switch(e){case`basic`:case`cors`:case`default`:return!0}return!1}}async function E(e){if(C!==void 0)return C;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn(`using deprecated parameters for the initialization function; pass a single object instead`)),e===void 0&&(e=new URL(`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`,``+import.meta.url));let n=t();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:r,module:i}=await T(await e,n);return w(r,i)}var D=`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`;export{E as n,e as r,D as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/kimiDesign-legacy-ydvgDWxM.js b/editor/neo-ppt/assets/kimiDesign-legacy-ydvgDWxM.js new file mode 100644 index 0000000..693707d --- /dev/null +++ b/editor/neo-ppt/assets/kimiDesign-legacy-ydvgDWxM.js @@ -0,0 +1 @@ +System.register([],function(n,t){var e,r,o,_,i,c,a,u,f,s;function b(n){_===o.length&&o.push(o.length+1);const t=_;return _=o[t],o[t]=n,t}function d(n,t){return n>>>=0,w().subarray(n/1,n/1+t)}function l(){return(null===e||!0===e.buffer.detached||void 0===e.buffer.detached&&e.buffer!==s.memory.buffer)&&(e=new DataView(s.memory.buffer)),e}function g(n,t){return function(n,t){return(a+=t)>=c&&((i=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),a=t),i.decode(w().subarray(n,n+t))}(n>>>0,t)}function w(){return null!==r&&0!==r.byteLength||(r=new Uint8Array(s.memory.buffer)),r}function y(n){return o[n]}function p(n,t){try{return n.apply(this,t)}catch(e){s.__wbindgen_export3(b(e))}}function h(n){return null==n}function m(n,t,e){if(void 0===e){const e=u.encode(n),r=t(e.length,1)>>>0;return w().subarray(r,r+e.length).set(e),f=e.length,r}let r=n.length,o=t(r,1)>>>0;const _=w();let i=0;for(;i127)break;_[o+i]=t}if(i!==r){0!==i&&(n=n.slice(i)),o=e(o,r,r=i+3*n.length,1)>>>0;const t=w().subarray(o+i,o+r);i+=u.encodeInto(n,t).written,o=e(o,r,i,1)>>>0}return f=i,o}function A(n){const t=y(n);return function(n){n<1028||(o[n]=_,_=n)}(n),t}return n({n:async function(n){if(void 0!==s)return s;void 0!==n&&(Object.getPrototypeOf(n)===Object.prototype?({module_or_path:n}=n):console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===n&&(n=new URL("/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm",""+t.meta.url));const o={__proto__:null,"./pptd_wasm_bg.js":{__proto__:null,__wbg___wbindgen_boolean_get_fa956cfa2d1bd751:function(n){const t=y(n),e="boolean"==typeof t?t:void 0;return h(e)?16777215:e?1:0},__wbg___wbindgen_is_function_1ff95bcc5517c252:function(n){return"function"==typeof y(n)},__wbg___wbindgen_is_null_ea9085d691f535d3:function(n){return null===y(n)},__wbg___wbindgen_is_object_a27215656b807791:function(n){const t=y(n);return"object"==typeof t&&null!==t},__wbg___wbindgen_is_undefined_c05833b95a3cf397:function(n){return void 0===y(n)},__wbg___wbindgen_number_get_394265ed1e1b84ee:function(n,t){const e=y(t),r="number"==typeof e?e:void 0;l().setFloat64(n+8,h(r)?0:r,!0),l().setInt32(n+0,!h(r),!0)},__wbg___wbindgen_string_get_b0ca35b86a603356:function(n,t){const e=y(t),r="string"==typeof e?e:void 0;var o=h(r)?0:m(r,s.__wbindgen_export,s.__wbindgen_export2),_=f;l().setInt32(n+4,_,!0),l().setInt32(n+0,o,!0)},__wbg___wbindgen_throw_344f42d3211c4765:function(n,t){throw new Error(g(n,t))},__wbg_call_a6e5c5dce5018821:function(){return p(function(n,t,e){return b(y(n).call(y(t),y(e)))},arguments)},__wbg_call_e3b662382210db98:function(){return p(function(n,t,e,r){return b(y(n).call(y(t),y(e),y(r)))},arguments)},__wbg_from_13e323c65fc8f464:function(n){return b(Array.from(y(n)))},__wbg_get_78f252d074a84d0b:function(){return p(function(n,t){return b(Reflect.get(y(n),y(t)))},arguments)},__wbg_get_unchecked_6e0ad6d2a41b06f6:function(n,t){return b(y(n)[t>>>0])},__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb:function(n){let t;try{t=y(n)instanceof ArrayBuffer}catch(e){t=!1}return t},__wbg_instanceof_Uint8Array_309b927aaf7a3fc7:function(n){let t;try{t=y(n)instanceof Uint8Array}catch(e){t=!1}return t},__wbg_length_1f0964f4a5e2c6d8:function(n){return y(n).length},__wbg_length_370319915dc99107:function(n){return y(n).length},__wbg_new_cd45aabdf6073e84:function(n){return b(new Uint8Array(y(n)))},__wbg_new_da52cf8fe3429cb2:function(){return b(new Object)},__wbg_new_from_slice_77cdfb7977362f3c:function(n,t){return b(new Uint8Array(d(n,t)))},__wbg_prototypesetcall_4770620bbe4688a0:function(n,t,e){Uint8Array.prototype.set.call(d(n,t),y(e))},__wbg_set_8535240470bf2500:function(){return p(function(n,t,e){return Reflect.set(y(n),y(t),y(e))},arguments)},__wbg_stringify_b54333f60f1e4dad:function(){return p(function(n){return b(JSON.stringify(y(n)))},arguments)},__wbindgen_cast_0000000000000001:function(n){return b(n)},__wbindgen_cast_0000000000000002:function(n,t){return b(g(n,t))},__wbindgen_object_drop_ref:function(n){A(n)}}};("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n));const{instance:_,module:i}=await async function(n,t){if("function"==typeof Response&&n instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(n,t)}catch(e){if(!n.ok||!function(n){switch(n){case"basic":case"cors":case"default":return!0}return!1}(n.type)||"application/wasm"===n.headers.get("Content-Type"))throw e;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e)}const r=await n.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const e=await WebAssembly.instantiate(n,t);return e instanceof WebAssembly.Instance?{instance:e,module:n}:e}}(await n,o);return function(n){return s=n.exports,e=null,r=null,s}(_)},r:function(n,t,e){try{const c=s.__wbindgen_add_to_stack_pointer(-16);var r=h(e)?0:m(e,s.__wbindgen_export,s.__wbindgen_export2),o=f;s.exportPPTDToPPTXBytes(c,b(n),b(t),r,o);var _=l().getInt32(c+0,!0),i=l().getInt32(c+4,!0);if(l().getInt32(c+8,!0))throw A(i);return A(_)}finally{s.__wbindgen_add_to_stack_pointer(16)}}}),{setters:[],execute:function(){e=null,r=null,(o=new Array(1024).fill(void 0)).push(void 0,null,!0,!1),_=o.length,(i=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),c=2146435072,a=0,"encodeInto"in(u=new TextEncoder)||(u.encodeInto=function(n,t){const e=u.encode(n);return t.set(e),{read:n.length,written:e.length}}),f=0,n("t","/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm")}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/ko-legacy-DmgAD8k2.js b/editor/neo-ppt/assets/ko-legacy-DmgAD8k2.js new file mode 100644 index 0000000..2963a5d --- /dev/null +++ b/editor/neo-ppt/assets/ko-legacy-DmgAD8k2.js @@ -0,0 +1 @@ +System.register([],function(e,t){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"전체 화면",collapse:"접기",autosaving:"자동 저장 중…",justSaved:"방금 저장됨",savedMinutesAgo:"{minutes}분 전에 저장됨",versionName:"V{version}",versionLatest:"최신",versionEditedBy:"{editor} 님이 {time}에 수정",versionMinutesAgo:"{minutes}분 전",versionYesterday:"어제 {time}",restoreVersion:"복원",returnLatestVersion:"최신 버전으로 돌아가기",close:"닫기"},basic:{undo:"실행 취소",redo:"다시 실행",save:"저장",screen:"슬라이드 쇼",share:"공유",export:"내보내기",unnamedPresentation:"제목 없는 프레젠테이션",lastPage:"마지막 슬라이드입니다"},presenter:{start:"이 화면에서 슬라이드 쇼",mode:"발표 모드",exit:"종료",openFailed:"브라우저에서 발표자 팝업을 차단했습니다. 이 사이트의 팝업 및 리디렉션을 허용한 후 다시 시도하세요.",connectFailed:"발표자 창에 연결할 수 없습니다. 다시 시도하세요."},screen:{fullscreenFailed:"전체 화면으로 전환할 수 없습니다. 브라우저 설정에서 이 사이트의 전체 화면 사용을 허용한 후 다시 시도하세요.",transitionEffects:{none:"없음",fade:"페이드","wipe-right":"오른쪽으로 닦아내기","wipe-left":"왼쪽으로 닦아내기","wipe-down":"아래로 닦아내기","wipe-up":"위로 닦아내기","split-vertical":"세로 분할","split-horizontal":"가로 분할",box:"상자",checkerboard:"바둑판","random-bars-horizontal":"무작위 가로 막대","random-bars-vertical":"무작위 세로 막대","horizontal-blinds":"가로 블라인드","vertical-blinds":"세로 블라인드","column-grid":"열 격자","random-grid":"무작위 격자",random:"무작위 효과"}},save:{saveFailed:"저장할 수 없습니다. 다시 시도하세요.",invalidData:"데이터가 올바르지 않아 저장할 수 없습니다. 새로고침한 후 다시 시도하세요.",conflictTitle:"새 버전이 감지됨",conflictContent:"이 프레젠테이션은 {time}에 업데이트되었습니다. 최신 버전을 보려면 새로고침하거나 현재 변경 사항을 적용해 저장하세요.",conflictRefresh:"새로고침",conflictApplyChanges:"변경 사항 적용"},bottomBar:{rectangle:"직사각형",otherShapes:"기본 도형",decoration:"장식",straightLine:"직선",curve:"곡선",createTable:"표 만들기",searchIcon:"아이콘 검색",noIconFound:"아이콘을 찾을 수 없음"},sideBar:{addSlide:"새 슬라이드",previewMode:"미리보기 모드",expand:"펼치기",collapse:"접기"},contextMenu:{cut:"잘라내기",copy:"복사",paste:"붙여넣기",selectAll:"모두 선택",changeBackground:"배경 변경",newPage:"새 슬라이드",copyPage:"슬라이드 복제",deletePage:"슬라이드 삭제",delete:"삭제",moveUpOneLayer:"앞으로 가져오기",moveDownOneLayer:"뒤로 보내기",bringToTop:"맨 앞으로 가져오기",sendToBottom:"맨 뒤로 보내기",align:"맞춤",alignCenter:"슬라이드 가운데에 배치",alignHorizontal:"가로 가운데에 배치",startFromCurrent:"이 슬라이드부터 슬라이드 쇼",insertColumn:"열 삽입",insertColumnLeft:"왼쪽",insertColumnRight:"오른쪽",insertRow:"행 삽입",insertRowAbove:"위",insertRowBelow:"아래",deleteColumn:"열 삭제",deleteRow:"행 삭제",mergeCells:"셀 병합",unmergeCells:"셀 병합 해제",selectCurrentColumn:"열 선택",selectCurrentRow:"행 선택",selectAllCells:"모든 셀 선택",deleteTable:"표 삭제"},common:{name:"슬라이드",nameEN:"Slides",confirm:"확인",cancel:"취소",dontRemind:"다시 표시하지 않기",feedback:"피드백",user:"사용자",loadFailedRetry:"불러올 수 없습니다. 나중에 다시 시도하세요."},annotation:{edit:"편집",entry:"댓글",placeholder:"Kimi에게 변경할 내용을 알려주세요",add:"추가",addedCount:"추가된 댓글: {count}개",emptyTip:"슬라이드에 댓글 추가",clear:"댓글 모두 지우기",delete:"댓글 삭제",marker:"댓글",pageLabel:"슬라이드 {page}",clearConfirm:{title:"모든 댓글을 지울까요?",content:"추가한 모든 댓글이 삭제됩니다",cancelText:"취소",confirmText:"지우기"},exitConfirm:{title:"댓글 모드를 종료할까요?",content:"전송하지 않은 댓글은 저장되지 않습니다",cancelText:"취소",confirmText:"종료"}},wap:{loading:"불러오는 중",play:"재생",export:"내보내기",exporting:"내보내는 중",playPrevLine1:"탭하거나 왼쪽으로 스와이프하여",playPrevLine2:"이전 슬라이드로 이동",playMenuLine1:"가운데를 탭하여",playMenuLine2:"슬라이드 메뉴 열기",playNextLine1:"탭하거나 오른쪽으로 스와이프하여",playNextLine2:"다음 슬라이드로 이동"},rate:{title:"결과가 어땠나요?",thanksTitle:"피드백을 보내주셔서 감사합니다",bad:"별로예요",normal:"괜찮아요",good:"좋아요",resultTip:"피드백은 Kimi를 개선하는 데 도움이 됩니다",feedback:"추가 피드백"},feedback:{snackbar:{title:"결과가 어땠나요?",good:"좋아요",normal:"괜찮아요",bad:"별로예요",successMessage:"감사합니다. 피드백은 Kimi를 개선하는 데 도움이 됩니다",writeFeedback:"피드백 작성"}},logoModal:{title:"로고 추가",tooltip:"모든 슬라이드의 왼쪽 위에 로고가 표시됩니다",selected:"선택됨",upload:"로고 업로드",preview:"미리보기",maxLimit:"로고 최대 5개",alertMaxLimit:"로고는 최대 5개까지 업로드할 수 있습니다",applyToAll:"모든 슬라이드에 적용"},latex:{title:"수식 삽입",placeholder:"LaTeX 수식을 입력하세요. 예: E = mc^2"},themeEditor:{title:"슬라이드 테마",apply:"적용",cancel:"취소",themeColors:"테마 색상",emptyThemeColors:"테마 색상 없음",currentPageBackground:"현재 슬라이드 배경",backgroundColor:"색상",backgroundImage:"이미지",uploadImage:"이미지 업로드",uploadImageFailed:"이미지를 업로드할 수 없습니다. 나중에 다시 시도하세요.",backgroundFitFill:"채우기",backgroundFitContain:"맞춤",backgroundFitStretch:"늘이기",applyToAll:"모두 적용",textStyles:"텍스트 스타일",emptyTextStyles:"텍스트 스타일 없음",fontStyle:"굵기",lineHeight:"줄 높이",letterSpacing:"자간",previewText:"Kimi123 만나기",normal:"보통",textStyleTitle:"제목",textStyleSubtitle:"부제목",textStyleBody:"본문",textStyleCaption:"캡션 / 메모",miSans:"Microsoft YaHei"},diffChecker:{title:"차이 검사기",newFile:"추가됨",deletedFile:"삭제됨",emptyContent:"빈 파일입니다"},insert:{text:"텍스트 삽입",graphics:"그래픽",graphicsShapeTab:"도형",graphicsLineTab:"선",graphicsIconTab:"아이콘",image:"이미지 삽입",table:"표 삽입",theme:"테마",latex:"수식 삽입",watermark:"워터마크 추가",more:"더보기",animation:"애니메이션"},scaleMenu:{zoomIn:"확대",zoomOut:"축소",fitScreen:"화면에 맞춤"},exportDialog:{image:"이미지",downloadTitle:"내보내기",tabDownload:"다운로드",tabGoogleSlides:"Google 프레젠테이션",outputFormat:"출력 형식",fontEmbed:"글꼴 포함",fontEmbedTooltip:"기기마다 동일하게 표시되도록 PPTX에 글꼴 포함",slideTransition:"슬라이드 전환",slideTransitionTooltip:"슬라이드 사이에 전환 효과 추가",defaultDownloadPath:"기본 다운로드 경로",storageTo:"저장 위치",download:"다운로드",downloadStarted:"내보내기를 시작했습니다",downloadStartTip:"내보내기를 시작했습니다. 다운로드가 시작되지 않으면 다른 브라우저를 사용하거나 다시 내보내세요.",loading:"내보내는 중",pendingTip:"내보내기가 예상보다 오래 걸립니다. 다른 브라우저를 사용해 보세요.",wechatTip:"WeChat 앱 내 브라우저에서는 다운로드할 수 없습니다. Chrome이나 Edge 같은 데스크톱 브라우저를 사용하세요.",safariTip:"브라우저가 오래된 버전입니다. 업데이트하거나 Chrome 또는 Edge 같은 다른 브라우저를 사용하세요.",mobileTip:"컴퓨터에서 다운로드",exportPptxFailed:"PPTX를 내보낼 수 없습니다. 다시 시도하세요.",exportPptxSignFailed:"PPTX를 내보낼 수 없습니다. 새로고침 후 다시 시도하세요.",exportImageFailed:"이미지를 내보낼 수 없습니다. 다시 시도하세요.",exportingToGoogle:"Google 프레젠테이션으로 내보내는 중…",exportToGoogle:"Google 프레젠테이션으로 내보내기",exportToGoogleTips:"이 프레젠테이션을 Google 프레젠테이션으로 내보내기",exportToGoogleNetworkError:"Google 프레젠테이션으로 내보낼 수 없습니다. 연결을 확인한 후 다시 시도하세요."},share:{create:"슬라이드 만들기",createDesign:"디자인하기",public:"공개",private:"비공개",createLink:"공유 링크 만들기",createLinkDesc:"링크가 있는 모든 사용자가 이 프레젠테이션을 볼 수 있습니다",createLinkBtn:"링크 만들기",createLinkFailed:"공유 링크를 만들 수 없음",bannedTips:"공유가 비활성화되었습니다",goFeedback:"피드백 보내기",updateLinkTitle:"공유 링크 업데이트",updateLinkDesc:"업데이트하면 이전 링크를 사용할 수 없습니다",updateLinkConfirm:"업데이트",updateLinkSuccess:"링크가 업데이트됨",updateTime:"업데이트: ",viewLink:"링크 보기",notPublic:"비공개",copySuccess:"링크가 복사됨",copyFailed:"링크를 복사할 수 없습니다. 다시 시도하세요.",copyLinkBtn:"링크 복사",updateLinkBtn:"링크 업데이트",setPrivateTitle:"프레젠테이션을 비공개로 설정할까요?",setPrivateDesc:"링크가 있는 모든 사용자가 액세스할 수 없게 됩니다",setPrivateConfirm:"비공개로 설정",setPrivateSuccess:"프레젠테이션이 비공개로 설정됨",updateShareFailed:"공유 설정을 업데이트할 수 없음",linkError:"잘못된 링크입니다. 확인한 후 다시 시도하세요.",report:"신고",linkInvalid:"사용할 수 없는 링크입니다"},floatBar:{leftAlign:"왼쪽 맞춤",centerAlign:"가운데 맞춤",rightAlign:"오른쪽 맞춤",justify:"양쪽 맞춤",topAlign:"위쪽 맞춤",verticallyCenter:"세로 가운데 맞춤",bottomAlign:"아래쪽 맞춤",horizontalAlignment:"가로 맞춤",verticalAlignment:"세로 맞춤",lineSpacing:"줄 간격",textStyle:"텍스트 스타일",tableStyle:"표 스타일",unappliedTextStyle:"적용 안 됨",manageTextStyles:"텍스트 스타일 관리",fontColor:"텍스트 색상",textBackground:"텍스트 배경",font:"글꼴",unsupportedFont:"⚠️ 지원하지 않는 글꼴 스타일",fontSize:"글꼴 크기",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strikethrough:"취소선",insertLatex:"수식 삽입",editLatex:"수식 편집",editData:"데이터 편집",showChartTitle:"제목 표시",editChartTitle:"제목 편집",chartTitlePlaceholder:"차트 제목",showChartValues:"값 표시",chartLegend:"범례",none:"없음",top:"위",bottom:"아래",left:"왼쪽",right:"오른쪽",candlestickUpColor:"상승 색상",candlestickDownColor:"하락 색상",candlestickWickColor:"심지 색상",waterfallIncreaseColor:"증가 색상",waterfallDecreaseColor:"감소 색상",waterfallTotalColor:"합계 색상",heatmapLowColor:"낮은 값 색상",heatmapMiddleColor:"중간 값 색상",heatmapHighColor:"높은 값 색상",editLine:"선 편집",curveLine:"곡선",lineCurveSharp:"꺾은선",lineCurveRound:"둥근 모서리",lineCurveSmooth:"곡선",lineStartArrow:"시작 화살표",lineEndArrow:"끝 화살표",usedThemeColor:"“{name}” 테마 사용 중",colorFill:"채우기 색상",themeColor:"테마 색상",replaceImage:"이미지 바꾸기",replaceIcon:"아이콘 바꾸기",replaceShape:"도형 바꾸기",imageFit:"이미지 맞춤",fitFill:"늘이기",fitContain:"맞춤",fitCover:"채우기에 맞게 자르기",cancelCrop:"자르기 취소",cropImage:"이미지 자르기",opacity:"불투명도",horizontalFlip:"가로로 뒤집기",verticalFlip:"세로로 뒤집기",layer:"레이어",bringToTop:"맨 앞으로 가져오기",sendToBottom:"맨 뒤로 보내기",bringForward:"앞으로 가져오기",sendBackward:"뒤로 보내기",rowAction:"행 작업",columnAction:"열 작업",insertRowBefore:"위에 행 삽입",insertRowAfter:"아래에 행 삽입",insertColumnBefore:"왼쪽에 열 삽입",insertColumnAfter:"오른쪽에 열 삽입",defaultBorder:"기본값",allBorders:"모든 테두리",topAndBottomBorders:"위쪽 및 아래쪽 테두리",leftAndRightBorders:"왼쪽 및 오른쪽 테두리",topBorder:"위쪽 테두리",rightBorder:"오른쪽 테두리",bottomBorder:"아래쪽 테두리",leftBorder:"왼쪽 테두리",equalizeColumnWidths:"열 너비 균등 배분",deselectAll:"모두 선택 해제",selectAll:"모두 선택",deleteTable:"표 삭제",cellBackground:"셀 배경",times:"배",border:"테두리",line:"선",solidLine:"실선",dashedLine:"파선",dottedLine:"점선",noBorder:"테두리 없음",style:"스타일",thickness:"두께",color:"색상",recentColors:"최근 색상",notSupportEyeDropper:"이 브라우저는 스포이트를 지원하지 않습니다. 다른 브라우저를 사용해 보세요.",escCloseEyeDropper:"Esc 키를 눌러 스포이트 닫기"},notes:{placeholder:"메모",show:"발표자 노트 표시"},animationPanel:{title:"애니메이션",preview:"미리 보기",empty:"이 페이지에 애니메이션이 없습니다",add:"애니메이션 추가",addHint:"요소를 선택하여 애니메이션 추가",target:"대상 요소",effect:"효과",trigger:"트리거",triggerOnClick:"클릭 시",triggerWithPrevious:"이전과 동시",triggerAfterPrevious:"이전 후",direction:"방향",directionUp:"위",directionDown:"아래",directionLeft:"왼쪽",directionRight:"오른쪽",duration:"지속 시간 (ms)",delay:"지연 (ms)",easing:"이징",easingLinear:"선형",easingEaseIn:"이즈 인",easingEaseOut:"이즈 아웃",easingEaseInOut:"이즈 인 아웃",repeat:"반복 횟수",path:"경로",delete:"삭제",categoryEntrance:"시작",categoryEmphasis:"강조",categoryExit:"종료",categoryMotionPath:"경로",effects:{appear:"나타나기","fade-in":"페이드 인","fly-in":"플라이 인","zoom-in":"줌 인","wipe-in":"와이프 인","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"펄스","grow-shrink":"확대/축소",spin:"회전",teeter:"흔들기","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"사라지기","fade-out":"페이드 아웃","fly-out":"플라이 아웃","zoom-out":"줌 아웃","wipe-out":"와이프 아웃","float-out":"Float Out","motion-path":"모션 패스"},pickElement:"요소 선택",elementTypes:{text:"텍스트 상자",shape:"도형",image:"이미지",icon:"아이콘",table:"표",chart:"차트",line:"선"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/menuExclusive-A6pV-6q5.css b/editor/neo-ppt/assets/menuExclusive-A6pV-6q5.css new file mode 100644 index 0000000..0409054 --- /dev/null +++ b/editor/neo-ppt/assets/menuExclusive-A6pV-6q5.css @@ -0,0 +1 @@ +.menu[data-v-366403b6]{background:var(--Bg-Tertiary);user-select:none;border-radius:12px;padding:6px;display:inline-block;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.menu-item[data-v-366403b6]{cursor:pointer;height:40px;color:var(--Labels-Primary);background:0 0;border-radius:6px;align-items:center;gap:8px;padding:0 8px;transition:background-color .3s ease-in-out;display:flex}.menu-item[data-v-366403b6]:hover{background:var(--Fills-F1)}.menu-item.disabled[data-v-366403b6]{opacity:.35;cursor:not-allowed}.menu-item.disabled[data-v-366403b6]:hover{background:0 0}.menu-item-text[data-v-366403b6]{font-size:14px;font-style:normal;font-weight:400}.menu-item-content[data-v-366403b6]{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.menu-item-check[data-v-366403b6]{color:var(--Colors-KMBlue);visibility:hidden;flex-shrink:0}.menu-item-check.active[data-v-366403b6]{visibility:visible}.menu-divider[data-v-366403b6]{padding:4px 0}.menu-divider-line[data-v-366403b6]{background:var(--Separators-S1);width:100%;height:.5px}:root.dark .menu .font-menu-item-image{filter:invert()} diff --git a/editor/neo-ppt/assets/menuExclusive-DWJqMbvd.js b/editor/neo-ppt/assets/menuExclusive-DWJqMbvd.js new file mode 100644 index 0000000..370faef --- /dev/null +++ b/editor/neo-ppt/assets/menuExclusive-DWJqMbvd.js @@ -0,0 +1 @@ +import{At as e,B as t,G as n,H as r,K as i,Mt as a,Nt as o,Tt as s,U as c,V as l,W as u,Y as d,Z as f,at as p,bt as m,ct as h,dt as g,g as _,it as v,j as y,kt as b,ot as x,p as S,ut as C,vt as w}from"./vue-B11_pI9F.js";import{t as T}from"./_plugin-vue_export-helper-B67ILkmu.js";import{v as E}from"./index-jtNAhQeK.js";import{t as D}from"./dom-CWEl93tC.js";var O=e=>typeof e==`object`&&!!e&&`name`in e&&`label`in e,k={key:0,class:`menu-divider`},A=[`onClick`],j={class:`menu-item-content`},M={class:`menu-item-text`},N=T(f({__name:`Menu`,props:{menuList:{},activeMenu:{},scrollIntoView:{type:Boolean},disabled:{type:Boolean}},emits:[`click`],setup(r,{emit:a}){let l=r,d=a,f=s(),p=(e,t)=>{l.disabled||e.disabled||d(`click`,e.value,t)},m=()=>{let e=f.value?.querySelector(`.menu-item.active`);e&&D(e,{pos:`center`,behavior:`instant`})};return x(()=>{l.scrollIntoView&&m()}),(a,s)=>(h(),i(`div`,{ref_key:`$menuWrapper`,ref:f,class:`menu`},[(h(!0),i(t,null,C(r.menuList,(l,d)=>(h(),i(t,{key:d},[l===`divider`?(h(),i(`div`,k,[g(a.$slots,`default`,{item:l,index:d},()=>[s[0]||(s[0]=c(`div`,{class:`menu-divider-line`},null,-1))],!0)])):(h(),i(`div`,{key:1,class:e([`menu-item`,{active:l.value===r.activeMenu,disabled:l.disabled}]),onClick:e=>p(l,e)},[c(`div`,j,[g(a.$slots,`default`,{item:l,index:d},()=>[b(O)(l)?(h(),u(b(E),{key:0,class:`menu-item-icon`,name:l.name,width:`16`,height:`16`},null,8,[`name`])):n(``,!0),c(`span`,M,o(l.label),1)],!0)]),r.activeMenu===void 0?n(``,!0):(h(),u(b(E),{key:0,class:e([`menu-item-check`,{active:l.value===r.activeMenu}]),name:`Check`,width:`16`,height:`16`},null,8,[`class`]))],10,A))],64))),128)),g(a.$slots,`extra`,{},void 0,!0)],512))}}),[[`__scopeId`,`data-v-366403b6`]]),P=1e3/30,F=f({__name:`FloatingContent`,props:{open:{type:Boolean},triggerEl:{},options:{default:()=>({})}},emits:[`update:open`],setup(e,{emit:t}){let o=e,c=t,f=s(),b=s({}),x=null,C=``,T=r(()=>({teleport:o.options.teleport??!1,placement:o.options.placement??`bottom`,offset:o.options.offset??20,align:o.options.align??`center`,withinWindow:o.options.withinWindow??!1,zIndex:o.options.zIndex??1e3,matchTriggerWidth:o.options.matchTriggerWidth??!1})),E=r(()=>({position:`fixed`,width:T.value.matchTriggerWidth?void 0:`max-content`,maxWidth:`100vw`,top:`0`,left:`0`,zIndex:`${T.value.zIndex}`,...b.value}));function D(e,t,n){return Math.max(t,Math.min(e,n))}function O(e,t){if(T.value.matchTriggerWidth)return e.left;let{align:n}=T.value;return n===`start`?e.left:n===`end`?e.right-t:e.left+e.width/2-t/2}function k(e,t){let{placement:n,offset:r}=T.value;return n===`top`?e.top-r-t:e.bottom+r}let A=()=>{if(!o.open||!T.value.teleport)return;let e=o.triggerEl?.getBoundingClientRect();if(!e)return;let t=f.value?.getBoundingClientRect(),n=t?.width??0,r=t?.height??0,i=O(e,n),a=k(e,r);T.value.withinWindow&&(i=D(i,0,Math.max(0,window.innerWidth-n)),a=D(a,0,Math.max(0,window.innerHeight-r))),b.value={position:`fixed`,width:T.value.matchTriggerWidth?`${e.width}px`:`max-content`,maxWidth:`100vw`,top:`${a}px`,left:`${i}px`,zIndex:`${T.value.zIndex}`}},j=()=>{let e=o.triggerEl?.getBoundingClientRect();return e?`${e.left},${e.top},${e.width},${e.height}`:``},M=()=>{x&&(window.clearInterval(x),x=null,C=``)},N=()=>{M(),!(!o.open||!T.value.teleport)&&(C=j(),x=window.setInterval(()=>{let e=j();!e||e===C||(C=e,A())},P))},F=async()=>{await v(),A(),await new Promise(e=>requestAnimationFrame(e)),A()};return w(()=>o.open,async e=>{if(!e){M();return}await F(),N()},{immediate:!0}),w(()=>o.options,async()=>{o.open&&(await F(),N())},{deep:!0}),p(M),_(f,A),S(window,`resize`,A),S(window,`scroll`,A,!0),S(document,`click`,e=>{if(!o.open||!T.value.teleport)return;let t=e.target;o.triggerEl?.contains(t)||f.value?.contains(t)||c(`update:open`,!1)}),(t,r)=>T.value.teleport?(h(),u(l,{key:0,to:`body`},[d(y,{name:`fade`},{default:m(()=>[e.open?(h(),i(`div`,{key:0,ref_key:`contentRef`,ref:f,style:a(E.value)},[g(t.$slots,`default`)],4)):n(``,!0)]),_:3})])):(h(),u(y,{key:1,name:`fade`},{default:m(()=>[e.open?g(t.$slots,`default`,{key:0}):n(``,!0)]),_:3}))}}),I=`ppt-menu:open`,L=0;function R(e){let t=++L;return S(window,I,n=>{n.detail!==t&&e()}),{notifyOpen:()=>{window.dispatchEvent(new CustomEvent(I,{detail:t}))}}}export{O as i,F as n,N as r,R as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/menuExclusive-legacy-CBHfJWDM.js b/editor/neo-ppt/assets/menuExclusive-legacy-CBHfJWDM.js new file mode 100644 index 0000000..1ec6b64 --- /dev/null +++ b/editor/neo-ppt/assets/menuExclusive-legacy-CBHfJWDM.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js","./index-legacy-Ce-qKpT_.js","./dom-legacy-D-syBzLK.js"],function(e,t){var n,i,a,o,l,d,r,s,u,c,m,p,v,g,h,f,w,x,b,y,k,$,W,_,C,I,M,B,z,E,T,j,F,R,S,L,V,q,A;return e("t",function(e){const t=++A;return W(window,q,n=>{n.detail!==t&&e()}),{notifyOpen:()=>{window.dispatchEvent(new CustomEvent(q,{detail:t}))}}}),{setters:[function(e){n=e.At,i=e.B,a=e.G,o=e.H,l=e.K,d=e.Mt,r=e.Nt,s=e.Tt,u=e.U,c=e.V,m=e.W,p=e.Y,v=e.Z,g=e.at,h=e.bt,f=e.ct,w=e.dt,x=e.g,b=e.it,y=e.j,k=e.kt,$=e.ot,W=e.p,_=e.ut,C=e.vt},function(e){I=e.t},function(e){M=e.v},function(e){B=e.t}],execute:function(){(z=document.createElement("style")).textContent=".menu[data-v-366403b6]{background:var(--Bg-Tertiary);user-select:none;border-radius:12px;padding:6px;display:inline-block;box-shadow:0 4px 16.4px rgba(0,0,0,.1)}.menu-item[data-v-366403b6]{cursor:pointer;height:40px;color:var(--Labels-Primary);background:0 0;border-radius:6px;align-items:center;gap:8px;padding:0 8px;transition:background-color .3s ease-in-out;display:flex}.menu-item[data-v-366403b6]:hover{background:var(--Fills-F1)}.menu-item.disabled[data-v-366403b6]{opacity:.35;cursor:not-allowed}.menu-item.disabled[data-v-366403b6]:hover{background:0 0}.menu-item-text[data-v-366403b6]{font-size:14px;font-style:normal;font-weight:400}.menu-item-content[data-v-366403b6]{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.menu-item-check[data-v-366403b6]{color:var(--Colors-KMBlue);visibility:hidden;flex-shrink:0}.menu-item-check.active[data-v-366403b6]{visibility:visible}.menu-divider[data-v-366403b6]{padding:4px 0}.menu-divider-line[data-v-366403b6]{background:var(--Separators-S1);width:100%;height:.5px}:root.dark .menu .font-menu-item-image{filter:invert()}\n/*$vite$:1*/",document.head.appendChild(z),e("i",E=e=>"object"==typeof e&&null!==e&&"name"in e&&"label"in e),T={key:0,class:"menu-divider"},j=["onClick"],F={class:"menu-item-content"},R={class:"menu-item-text"},S=v({__name:"Menu",props:{menuList:{},activeMenu:{},scrollIntoView:{type:Boolean},disabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const o=e,d=t,c=s();return $(()=>{o.scrollIntoView&&(()=>{const e=c.value?.querySelector(".menu-item.active");e&&B(e,{pos:"center",behavior:"instant"})})()}),(t,s)=>(f(),l("div",{ref_key:"$menuWrapper",ref:c,class:"menu"},[(f(!0),l(i,null,_(e.menuList,(c,p)=>(f(),l(i,{key:p},["divider"===c?(f(),l("div",T,[w(t.$slots,"default",{item:c,index:p},()=>[s[0]||(s[0]=u("div",{class:"menu-divider-line"},null,-1))],!0)])):(f(),l("div",{key:1,class:n(["menu-item",{active:c.value===e.activeMenu,disabled:c.disabled}]),onClick:e=>((e,t)=>{o.disabled||e.disabled||d("click",e.value,t)})(c,e)},[u("div",F,[w(t.$slots,"default",{item:c,index:p},()=>[k(E)(c)?(f(),m(k(M),{key:0,class:"menu-item-icon",name:c.name,width:"16",height:"16"},null,8,["name"])):a("",!0),u("span",R,r(c.label),1)],!0)]),void 0!==e.activeMenu?(f(),m(k(M),{key:0,class:n(["menu-item-check",{active:c.value===e.activeMenu}]),name:"Check",width:"16",height:"16"},null,8,["class"])):a("",!0)],10,j))],64))),128)),w(t.$slots,"extra",{},void 0,!0)],512))}}),e("r",I(S,[["__scopeId","data-v-366403b6"]])),L=1e3/30,V=v({__name:"FloatingContent",props:{open:{type:Boolean},triggerEl:{},options:{default:()=>({})}},emits:["update:open"],setup(e,{emit:t}){const n=e,i=t,r=s(),u=s({});let v=null,k="";const $=o(()=>({teleport:n.options.teleport??!1,placement:n.options.placement??"bottom",offset:n.options.offset??20,align:n.options.align??"center",withinWindow:n.options.withinWindow??!1,zIndex:n.options.zIndex??1e3,matchTriggerWidth:n.options.matchTriggerWidth??!1})),_=o(()=>({position:"fixed",width:$.value.matchTriggerWidth?void 0:"max-content",maxWidth:"100vw",top:"0",left:"0",zIndex:`${$.value.zIndex}`,...u.value}));function I(e,t,n){return Math.max(t,Math.min(e,n))}const M=()=>{if(!n.open||!$.value.teleport)return;const e=n.triggerEl?.getBoundingClientRect();if(!e)return;const t=r.value?.getBoundingClientRect(),i=t?.width??0,a=t?.height??0;let o=function(e,t){if($.value.matchTriggerWidth)return e.left;const{align:n}=$.value;return"start"===n?e.left:"end"===n?e.right-t:e.left+e.width/2-t/2}(e,i),l=function(e,t){const{placement:n,offset:i}=$.value;return"top"===n?e.top-i-t:e.bottom+i}(e,a);$.value.withinWindow&&(o=I(o,0,Math.max(0,window.innerWidth-i)),l=I(l,0,Math.max(0,window.innerHeight-a))),u.value={position:"fixed",width:$.value.matchTriggerWidth?`${e.width}px`:"max-content",maxWidth:"100vw",top:`${l}px`,left:`${o}px`,zIndex:`${$.value.zIndex}`}},B=()=>{const e=n.triggerEl?.getBoundingClientRect();return e?`${e.left},${e.top},${e.width},${e.height}`:""},z=()=>{v&&(window.clearInterval(v),v=null,k="")},E=()=>{z(),n.open&&$.value.teleport&&(k=B(),v=window.setInterval(()=>{const e=B();e&&e!==k&&(k=e,M())},L))},T=async()=>{await b(),M(),await new Promise(e=>requestAnimationFrame(e)),M()};return C(()=>n.open,async e=>{e?(await T(),E()):z()},{immediate:!0}),C(()=>n.options,async()=>{n.open&&(await T(),E())},{deep:!0}),g(z),x(r,M),W(window,"resize",M),W(window,"scroll",M,!0),W(document,"click",e=>{if(!n.open||!$.value.teleport)return;const t=e.target;n.triggerEl?.contains(t)||r.value?.contains(t)||i("update:open",!1)}),(t,n)=>$.value.teleport?(f(),m(c,{key:0,to:"body"},[p(y,{name:"fade"},{default:h(()=>[e.open?(f(),l("div",{key:0,ref_key:"contentRef",ref:r,style:d(_.value)},[w(t.$slots,"default")],4)):a("",!0)]),_:3})])):(f(),m(y,{key:1,name:"fade"},{default:h(()=>[e.open?w(t.$slots,"default",{key:0}):a("",!0)]),_:3}))}}),e("n",V),q="ppt-menu:open",A=0}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/penpal-DGj0EF1v.js b/editor/neo-ppt/assets/penpal-DGj0EF1v.js new file mode 100644 index 0000000..c18c607 --- /dev/null +++ b/editor/neo-ppt/assets/penpal-DGj0EF1v.js @@ -0,0 +1 @@ +import{c as e,l as t,u as n}from"./vue-B11_pI9F.js";import{o as r}from"./common-utils-G6HD4Ji1.js";var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=class extends Error{constructor(e,t){super(t),r(this,`code`,void 0),this.name=`PenpalError`,this.code=e}},b=e=>({name:e.name,message:e.message,stack:e.stack,penpalCode:e instanceof y?e.code:void 0}),x=({name:e,message:t,stack:n,penpalCode:r})=>{let i=r?new y(r,t):Error(t);return i.name=e,i.stack=n,i},S=Symbol(`Reply`),C=(i=new WeakMap,class{constructor(e,t){r(this,`value`,void 0),r(this,`transferables`,void 0),n(this,i,S),this.value=e,this.transferables=t?.transferables}}),w=`penpal`,T=e=>typeof e==`object`&&!!e,E=e=>typeof e==`function`,D=e=>T(e)&&e.namespace===w,O=e=>e.type===`SYN`,k=e=>e.type===`ACK1`,A=e=>e.type===`ACK2`,j=e=>e.type===`CALL`,M=e=>e.type===`REPLY`,N=e=>e.type===`DESTROY`,P=(e,t=[])=>{let n=[];for(let r of Object.keys(e)){let i=e[r];E(i)?n.push([...t,r]):T(i)&&n.push(...P(i,[...t,r]))}return n},F=(e,t)=>{let n=e.reduce((e,t)=>T(e)?e[t]:void 0,t);return E(n)?n:void 0},I=e=>e.join(`.`),L=(e,t,n)=>({namespace:w,channel:e,type:`REPLY`,callId:t,isError:!0,...n instanceof Error?{value:b(n),isSerializedErrorInstance:!0}:{value:n}}),R=(e,t,n,r)=>{let i=!1,a=async a=>{if(i||!j(a))return;r?.(`Received ${I(a.methodPath)}() call`,a);let{methodPath:o,args:s,id:c}=a,l,u;try{let e=F(o,t);if(!e)throw new y(`METHOD_NOT_FOUND`,`Method \`${I(o)}\` is not found.`);let r=await e(...s);r instanceof C&&(u=r.transferables,r=await r.value),l={namespace:w,channel:n,type:`REPLY`,callId:c,value:r}}catch(e){l=L(n,c,e)}if(!i)try{r?.(`Sending ${I(o)}() reply`,l),e.sendMessage(l,u)}catch(t){throw t.name===`DataCloneError`&&(l=L(n,c,t),r?.(`Sending ${I(o)}() reply`,l),e.sendMessage(l)),t}};return e.addMessageHandler(a),()=>{i=!0,e.removeMessageHandler(a)}},z=crypto.randomUUID?.bind(crypto)??(()=>[,,,,].fill(0).map(()=>Math.floor(Math.random()*(2**53-1)).toString(16)).join(`-`)),B=Symbol(`CallOptions`),ee=(a=new WeakMap,class{constructor(e){r(this,`transferables`,void 0),r(this,`timeout`,void 0),n(this,a,B),this.transferables=e?.transferables,this.timeout=e?.timeout}}),V=new Set([`apply`,`call`,`bind`]),H=(e,t,n=[])=>new Proxy(n.length?()=>{}:Object.create(null),{get(r,i){if(i!==`then`)return n.length&&V.has(i)?Reflect.get(r,i):H(e,t,[...n,i])},apply(t,r,i){return e(n,i)}}),U=e=>new y(`CONNECTION_DESTROYED`,`Method call ${I(e)}() failed due to destroyed connection`),W=(e,t,n)=>{let r=!1,i=new Map,a=e=>{if(!M(e))return;let{callId:t,value:r,isError:a,isSerializedErrorInstance:o}=e,s=i.get(t);s&&(i.delete(t),n?.(`Received ${I(s.methodPath)}() call`,e),a?s.reject(o?x(r):r):s.resolve(r))};return e.addMessageHandler(a),{remoteProxy:H((a,o)=>{if(r)throw U(a);let s=z(),c=o[o.length-1],l=c instanceof ee,{timeout:u,transferables:d}=l?c:{},f=l?o.slice(0,-1):o;return new Promise((r,o)=>{let c=u===void 0?void 0:window.setTimeout(()=>{i.delete(s),o(new y(`METHOD_CALL_TIMEOUT`,`Method call ${I(a)}() timed out after ${u}ms`))},u);i.set(s,{methodPath:a,resolve:r,reject:o,timeoutId:c});try{let r={namespace:w,channel:t,type:`CALL`,id:s,methodPath:a,args:f};n?.(`Sending ${I(a)}() call`,r),e.sendMessage(r,d)}catch(e){o(new y(`TRANSMISSION_FAILED`,e.message))}})},n),destroy:()=>{r=!0,e.removeMessageHandler(a);for(let{methodPath:e,reject:t,timeoutId:n}of i.values())clearTimeout(n),t(U(e));i.clear()}}},G=()=>{let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}},K=`deprecated-penpal`,q=e=>T(e)&&`penpal`in e,J=e=>e.split(`.`),Y=e=>e.join(`.`),X=e=>{try{return JSON.stringify(e)}catch{return String(e)}},Z=e=>new y(`TRANSMISSION_FAILED`,`Unexpected message to translate: ${X(e)}`),Q=e=>{if(e.penpal===`syn`)return{namespace:w,channel:void 0,type:`SYN`,participantId:K};if(e.penpal===`ack`)return{namespace:w,channel:void 0,type:`ACK2`};if(e.penpal===`call`)return{namespace:w,channel:void 0,type:`CALL`,id:e.id,methodPath:J(e.methodName),args:e.args};if(e.penpal===`reply`)return e.resolution===`fulfilled`?{namespace:w,channel:void 0,type:`REPLY`,callId:e.id,value:e.returnValue}:{namespace:w,channel:void 0,type:`REPLY`,callId:e.id,isError:!0,...e.returnValueIsError?{value:e.returnValue,isSerializedErrorInstance:!0}:{value:e.returnValue}};throw Z(e)},te=e=>{if(k(e))return{penpal:`synAck`,methodNames:e.methodPaths.map(Y)};if(j(e))return{penpal:`call`,id:e.id,methodName:Y(e.methodPath),args:e.args};if(M(e))return e.isError?{penpal:`reply`,id:e.callId,resolution:`rejected`,...e.isSerializedErrorInstance?{returnValue:e.value,returnValueIsError:!0}:{returnValue:e.value}}:{penpal:`reply`,id:e.callId,resolution:`fulfilled`,returnValue:e.value};throw Z(e)},ne=({messenger:e,methods:t,timeout:n,channel:r,log:i})=>{let a=z(),o,s=[],c=!1,l=P(t),{promise:u,resolve:d,reject:f}=G(),p=n===void 0?void 0:setTimeout(()=>{f(new y(`CONNECTION_TIMEOUT`,`Connection timed out after ${n}ms`))},n),m=()=>{for(let e of s)e()},h=()=>{if(c)return;s.push(R(e,t,r,i));let{remoteProxy:n,destroy:a}=W(e,r,i);s.push(a),clearTimeout(p),c=!0,d({remoteProxy:n,destroy:m})},g=()=>{let t={namespace:w,type:`SYN`,channel:r,participantId:a};i?.(`Sending handshake SYN`,t);try{e.sendMessage(t)}catch(e){f(new y(`TRANSMISSION_FAILED`,e.message))}},_=t=>{if(i?.(`Received handshake SYN`,t),t.participantId===o&&o!==K||(o=t.participantId,g(),!(a>o||o===K)))return;let n={namespace:w,channel:r,type:`ACK1`,methodPaths:l};i?.(`Sending handshake ACK1`,n);try{e.sendMessage(n)}catch(e){f(new y(`TRANSMISSION_FAILED`,e.message));return}},v=t=>{i?.(`Received handshake ACK1`,t);let n={namespace:w,channel:r,type:`ACK2`};i?.(`Sending handshake ACK2`,n);try{e.sendMessage(n)}catch(e){f(new y(`TRANSMISSION_FAILED`,e.message));return}h()},b=e=>{i?.(`Received handshake ACK2`,e),h()},x=e=>{O(e)&&_(e),k(e)&&v(e),A(e)&&b(e)};return e.addMessageHandler(x),s.push(()=>e.removeMessageHandler(x)),g(),u},re=e=>{let t=!1,n;return(...r)=>(t||(t=!0,n=e(...r)),n)},$=new WeakSet,ie=({messenger:e,methods:t={},timeout:n,channel:r,log:i})=>{if(!e)throw new y(`INVALID_ARGUMENT`,`messenger must be defined`);if($.has(e))throw new y(`INVALID_ARGUMENT`,`A messenger can only be used for a single connection`);$.add(e);let a=[e.destroy],o=re(t=>{if(t){let t={namespace:w,channel:r,type:`DESTROY`};try{e.sendMessage(t)}catch{}}for(let e of a)e();i?.(`Connection destroyed`)}),s=e=>D(e)&&e.channel===r;return{promise:(async()=>{try{e.initialize({log:i,validateReceivedMessage:s}),e.addMessageHandler(e=>{N(e)&&o(!1)});let{remoteProxy:c,destroy:l}=await ne({messenger:e,methods:t,timeout:n,channel:r,log:i});return a.push(l),c}catch(e){throw o(!0),e}})(),destroy:()=>{o(!0)}}},ae=(o=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,m=new WeakMap,h=new WeakMap,g=new WeakMap,_=new WeakMap,v=new WeakMap,class{constructor({remoteWindow:i,allowedOrigins:a}){if(n(this,o,void 0),n(this,s,void 0),n(this,c,void 0),n(this,l,void 0),n(this,u,void 0),n(this,d,new Set),n(this,f,void 0),n(this,p,!1),r(this,`initialize`,({log:n,validateReceivedMessage:r})=>{e(c,this,n),e(l,this,r),window.addEventListener(`message`,t(_,this))}),r(this,`sendMessage`,(n,r)=>{if(O(n)){let e=t(h,this).call(this,n);t(o,this).postMessage(n,{targetOrigin:e,transfer:r});return}if(k(n)||t(p,this)){let e=t(p,this)?te(n):n,i=t(h,this).call(this,n);t(o,this).postMessage(e,{targetOrigin:i,transfer:r});return}if(A(n)){let{port1:i,port2:a}=new MessageChannel;e(f,this,i),i.addEventListener(`message`,t(v,this)),i.start();let s=[a,...r||[]],c=t(h,this).call(this,n);t(o,this).postMessage(n,{targetOrigin:c,transfer:s});return}if(t(f,this)){t(f,this).postMessage(n,{transfer:r});return}throw new y(`TRANSMISSION_FAILED`,`Cannot send message because the MessagePort is not connected`)}),r(this,`addMessageHandler`,e=>{t(d,this).add(e)}),r(this,`removeMessageHandler`,e=>{t(d,this).delete(e)}),r(this,`destroy`,()=>{window.removeEventListener(`message`,t(_,this)),t(g,this).call(this),t(d,this).clear()}),n(this,m,e=>t(s,this).some(t=>t instanceof RegExp?t.test(e):t===e||t===`*`)),n(this,h,e=>{if(O(e))return`*`;if(!t(u,this))throw new y(`TRANSMISSION_FAILED`,`Cannot send message because the remote origin is not established`);return t(u,this)===`null`&&t(s,this).includes(`*`)?`*`:t(u,this)}),n(this,g,()=>{t(f,this)?.removeEventListener(`message`,t(v,this)),t(f,this)?.close(),e(f,this,void 0)}),n(this,_,({source:n,origin:r,ports:i,data:a})=>{if(n===t(o,this)){if(q(a)){t(c,this)?.call(this,`Please upgrade the child window to the latest version of Penpal.`),e(p,this,!0);try{a=Q(a)}catch(e){t(c,this)?.call(this,`Failed to translate deprecated message: ${e.message}`);return}}if(t(l,this)?.call(this,a)){if(!t(m,this).call(this,r)){t(c,this)?.call(this,`Received a message from origin \`${r}\` which did not match allowed origins \`[${t(s,this).join(`, `)}]\``);return}if(O(a)&&(t(g,this).call(this),e(u,this,r)),A(a)&&!t(p,this)){if(e(f,this,i[0]),!t(f,this)){t(c,this)?.call(this,`Ignoring ACK2 because it did not include a MessagePort`);return}t(f,this).addEventListener(`message`,t(v,this)),t(f,this).start()}for(let e of t(d,this))e(a)}}}),n(this,v,({data:e})=>{if(t(l,this)?.call(this,e))for(let n of t(d,this))n(e)}),!i)throw new y(`INVALID_ARGUMENT`,`remoteWindow must be defined`);e(o,this,i),e(s,this,a?.length?a:[window.origin])}}),oe={ConnectionDestroyed:`CONNECTION_DESTROYED`,ConnectionTimeout:`CONNECTION_TIMEOUT`,InvalidArgument:`INVALID_ARGUMENT`,MethodCallTimeout:`METHOD_CALL_TIMEOUT`,MethodNotFound:`METHOD_NOT_FOUND`,TransmissionFailed:`TRANSMISSION_FAILED`};export{ie as i,y as n,ae as r,oe as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/penpal-legacy-Dgg3M9hr.js b/editor/neo-ppt/assets/penpal-legacy-Dgg3M9hr.js new file mode 100644 index 0000000..396e4af --- /dev/null +++ b/editor/neo-ppt/assets/penpal-legacy-Dgg3M9hr.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./common-utils-legacy-BUVwbO7W.js"],function(e,t){var s,n,a,r,i,o,l,d,c,h,u,p,m,g,f,v,M,w,y,I,E,S,N,A,T,O,C,R,L,k,D,P,_,b,W,j,F,Y,$,H,U,V,K,x,z,G,J,X,q,B,Q,Z,ee,te,se,ne,ae,re,ie;return{setters:[function(e){s=e.c,n=e.l,a=e.u},function(e){r=e.o}],execute:function(){I=class extends Error{constructor(e,t){super(t),r(this,"code",void 0),this.name="PenpalError",this.code=e}},e("n",E=I),S=e=>({name:e.name,message:e.message,stack:e.stack,penpalCode:e instanceof E?e.code:void 0}),N=({name:e,message:t,stack:s,penpalCode:n})=>{const a=n?new E(n,t):new Error(t);return a.name=e,a.stack=s,a},A=Symbol("Reply"),i=new WeakMap,T=class{constructor(e,t){r(this,"value",void 0),r(this,"transferables",void 0),a(this,i,A),this.value=e,this.transferables=t?.transferables}},O="penpal",C=e=>"object"==typeof e&&null!==e,R=e=>"function"==typeof e,L=e=>C(e)&&e.namespace===O,k=e=>"SYN"===e.type,D=e=>"ACK1"===e.type,P=e=>"ACK2"===e.type,_=e=>"CALL"===e.type,b=e=>"REPLY"===e.type,W=e=>"DESTROY"===e.type,j=(e,t=[])=>{const s=[];for(const n of Object.keys(e)){const a=e[n];R(a)?s.push([...t,n]):C(a)&&s.push(...j(a,[...t,n]))}return s},F=(e,t)=>{const s=e.reduce((e,t)=>C(e)?e[t]:void 0,t);return R(s)?s:void 0},Y=e=>e.join("."),$=(e,t,s)=>({namespace:O,channel:e,type:"REPLY",callId:t,isError:!0,...s instanceof Error?{value:S(s),isSerializedErrorInstance:!0}:{value:s}}),H=(e,t,s,n)=>{let a=!1;const r=async r=>{if(a)return;if(!_(r))return;n?.(`Received ${Y(r.methodPath)}() call`,r);const{methodPath:i,args:o,id:l}=r;let d,c;try{const e=F(i,t);if(!e)throw new E("METHOD_NOT_FOUND",`Method \`${Y(i)}\` is not found.`);let n=await e(...o);n instanceof T&&(c=n.transferables,n=await n.value),d={namespace:O,channel:s,type:"REPLY",callId:l,value:n}}catch(h){d=$(s,l,h)}if(!a)try{n?.(`Sending ${Y(i)}() reply`,d),e.sendMessage(d,c)}catch(h){throw"DataCloneError"===h.name&&(d=$(s,l,h),n?.(`Sending ${Y(i)}() reply`,d),e.sendMessage(d)),h}};return e.addMessageHandler(r),()=>{a=!0,e.removeMessageHandler(r)}},U=crypto.randomUUID?.bind(crypto)??(()=>new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")),V=Symbol("CallOptions"),o=new WeakMap,K=class{constructor(e){r(this,"transferables",void 0),r(this,"timeout",void 0),a(this,o,V),this.transferables=e?.transferables,this.timeout=e?.timeout}},x=new Set(["apply","call","bind"]),z=(e,t,s=[])=>new Proxy(s.length?()=>{}:Object.create(null),{get(n,a){if("then"!==a)return s.length&&x.has(a)?Reflect.get(n,a):z(e,t,[...s,a])},apply:(t,n,a)=>e(s,a)}),G=e=>new E("CONNECTION_DESTROYED",`Method call ${Y(e)}() failed due to destroyed connection`),J=(e,t,s)=>{let n=!1;const a=new Map,r=e=>{if(!b(e))return;const{callId:t,value:n,isError:r,isSerializedErrorInstance:i}=e,o=a.get(t);o&&(a.delete(t),s?.(`Received ${Y(o.methodPath)}() call`,e),r?o.reject(i?N(n):n):o.resolve(n))};return e.addMessageHandler(r),{remoteProxy:z((r,i)=>{if(n)throw G(r);const o=U(),l=i[i.length-1],d=l instanceof K,{timeout:c,transferables:h}=d?l:{},u=d?i.slice(0,-1):i;return new Promise((n,i)=>{const l=void 0!==c?window.setTimeout(()=>{a.delete(o),i(new E("METHOD_CALL_TIMEOUT",`Method call ${Y(r)}() timed out after ${c}ms`))},c):void 0;a.set(o,{methodPath:r,resolve:n,reject:i,timeoutId:l});try{const n={namespace:O,channel:t,type:"CALL",id:o,methodPath:r,args:u};s?.(`Sending ${Y(r)}() call`,n),e.sendMessage(n,h)}catch(d){i(new E("TRANSMISSION_FAILED",d.message))}})},s),destroy:()=>{n=!0,e.removeMessageHandler(r);for(const{methodPath:e,reject:t,timeoutId:s}of a.values())clearTimeout(s),t(G(e));a.clear()}}},X=()=>{let e,t;return{promise:new Promise((s,n)=>{e=s,t=n}),resolve:e,reject:t}},q="deprecated-penpal",B=e=>C(e)&&"penpal"in e,Q=e=>e.split("."),Z=e=>e.join("."),ee=e=>{try{return JSON.stringify(e)}catch(t){return String(e)}},te=e=>new E("TRANSMISSION_FAILED",`Unexpected message to translate: ${ee(e)}`),se=e=>{if("syn"===e.penpal)return{namespace:O,channel:void 0,type:"SYN",participantId:q};if("ack"===e.penpal)return{namespace:O,channel:void 0,type:"ACK2"};if("call"===e.penpal)return{namespace:O,channel:void 0,type:"CALL",id:e.id,methodPath:Q(e.methodName),args:e.args};if("reply"===e.penpal)return"fulfilled"===e.resolution?{namespace:O,channel:void 0,type:"REPLY",callId:e.id,value:e.returnValue}:{namespace:O,channel:void 0,type:"REPLY",callId:e.id,isError:!0,...e.returnValueIsError?{value:e.returnValue,isSerializedErrorInstance:!0}:{value:e.returnValue}};throw te(e)},ne=e=>{if(D(e))return{penpal:"synAck",methodNames:e.methodPaths.map(Z)};if(_(e))return{penpal:"call",id:e.id,methodName:Z(e.methodPath),args:e.args};if(b(e))return e.isError?{penpal:"reply",id:e.callId,resolution:"rejected",...e.isSerializedErrorInstance?{returnValue:e.value,returnValueIsError:!0}:{returnValue:e.value}}:{penpal:"reply",id:e.callId,resolution:"fulfilled",returnValue:e.value};throw te(e)},ae=({messenger:e,methods:t,timeout:s,channel:n,log:a})=>{const r=U();let i;const o=[];let l=!1;const d=j(t),{promise:c,resolve:h,reject:u}=X(),p=void 0!==s?setTimeout(()=>{u(new E("CONNECTION_TIMEOUT",`Connection timed out after ${s}ms`))},s):void 0,m=()=>{for(const e of o)e()},g=()=>{if(l)return;o.push(H(e,t,n,a));const{remoteProxy:s,destroy:r}=J(e,n,a);o.push(r),clearTimeout(p),l=!0,h({remoteProxy:s,destroy:m})},f=()=>{const t={namespace:O,type:"SYN",channel:n,participantId:r};a?.("Sending handshake SYN",t);try{e.sendMessage(t)}catch(s){u(new E("TRANSMISSION_FAILED",s.message))}},v=t=>{k(t)&&(t=>{if(a?.("Received handshake SYN",t),t.participantId===i&&i!==q)return;if(i=t.participantId,f(),!(r>i||i===q))return;const s={namespace:O,channel:n,type:"ACK1",methodPaths:d};a?.("Sending handshake ACK1",s);try{e.sendMessage(s)}catch(o){return void u(new E("TRANSMISSION_FAILED",o.message))}})(t),D(t)&&(t=>{a?.("Received handshake ACK1",t);const s={namespace:O,channel:n,type:"ACK2"};a?.("Sending handshake ACK2",s);try{e.sendMessage(s)}catch(r){return void u(new E("TRANSMISSION_FAILED",r.message))}g()})(t),P(t)&&(e=>{a?.("Received handshake ACK2",e),g()})(t)};return e.addMessageHandler(v),o.push(()=>e.removeMessageHandler(v)),f(),c},re=e=>{let t,s=!1;return(...n)=>(s||(s=!0,t=e(...n)),t)},ie=new WeakSet,e("i",({messenger:e,methods:t={},timeout:s,channel:n,log:a})=>{if(!e)throw new E("INVALID_ARGUMENT","messenger must be defined");if(ie.has(e))throw new E("INVALID_ARGUMENT","A messenger can only be used for a single connection");ie.add(e);const r=[e.destroy],i=re(t=>{if(t){const t={namespace:O,channel:n,type:"DESTROY"};try{e.sendMessage(t)}catch(s){}}for(const e of r)e();a?.("Connection destroyed")}),o=e=>L(e)&&e.channel===n;return{promise:(async()=>{try{e.initialize({log:a,validateReceivedMessage:o}),e.addMessageHandler(e=>{W(e)&&i(!1)});const{remoteProxy:l,destroy:d}=await ae({messenger:e,methods:t,timeout:s,channel:n,log:a});return r.push(d),l}catch(l){throw i(!0),l}})(),destroy:()=>{i(!0)}}}),e("r",(l=new WeakMap,d=new WeakMap,c=new WeakMap,h=new WeakMap,u=new WeakMap,p=new WeakMap,m=new WeakMap,g=new WeakMap,f=new WeakMap,v=new WeakMap,M=new WeakMap,w=new WeakMap,y=new WeakMap,class{constructor({remoteWindow:e,allowedOrigins:t}){if(a(this,l,void 0),a(this,d,void 0),a(this,c,void 0),a(this,h,void 0),a(this,u,void 0),a(this,p,new Set),a(this,m,void 0),a(this,g,!1),r(this,"initialize",({log:e,validateReceivedMessage:t})=>{s(c,this,e),s(h,this,t),window.addEventListener("message",n(w,this))}),r(this,"sendMessage",(e,t)=>{if(k(e)){const s=n(v,this).call(this,e);return void n(l,this).postMessage(e,{targetOrigin:s,transfer:t})}if(D(e)||n(g,this)){const s=n(g,this)?ne(e):e,a=n(v,this).call(this,e);return void n(l,this).postMessage(s,{targetOrigin:a,transfer:t})}if(P(e)){const{port1:a,port2:r}=new MessageChannel;s(m,this,a),a.addEventListener("message",n(y,this)),a.start();const i=[r,...t||[]],o=n(v,this).call(this,e);return void n(l,this).postMessage(e,{targetOrigin:o,transfer:i})}if(!n(m,this))throw new E("TRANSMISSION_FAILED","Cannot send message because the MessagePort is not connected");n(m,this).postMessage(e,{transfer:t})}),r(this,"addMessageHandler",e=>{n(p,this).add(e)}),r(this,"removeMessageHandler",e=>{n(p,this).delete(e)}),r(this,"destroy",()=>{window.removeEventListener("message",n(w,this)),n(M,this).call(this),n(p,this).clear()}),a(this,f,e=>n(d,this).some(t=>t instanceof RegExp?t.test(e):t===e||"*"===t)),a(this,v,e=>{if(k(e))return"*";if(!n(u,this))throw new E("TRANSMISSION_FAILED","Cannot send message because the remote origin is not established");return"null"===n(u,this)&&n(d,this).includes("*")?"*":n(u,this)}),a(this,M,()=>{n(m,this)?.removeEventListener("message",n(y,this)),n(m,this)?.close(),s(m,this,void 0)}),a(this,w,({source:e,origin:t,ports:a,data:r})=>{if(e===n(l,this)){if(B(r)){n(c,this)?.call(this,"Please upgrade the child window to the latest version of Penpal."),s(g,this,!0);try{r=se(r)}catch(i){return void n(c,this)?.call(this,`Failed to translate deprecated message: ${i.message}`)}}if(n(h,this)?.call(this,r))if(n(f,this).call(this,t)){if(k(r)&&(n(M,this).call(this),s(u,this,t)),P(r)&&!n(g,this)){if(s(m,this,a[0]),!n(m,this))return void n(c,this)?.call(this,"Ignoring ACK2 because it did not include a MessagePort");n(m,this).addEventListener("message",n(y,this)),n(m,this).start()}for(const e of n(p,this))e(r)}else n(c,this)?.call(this,`Received a message from origin \`${t}\` which did not match allowed origins \`[${n(d,this).join(", ")}]\``)}}),a(this,y,({data:e})=>{if(n(h,this)?.call(this,e))for(const t of n(p,this))t(e)}),!e)throw new E("INVALID_ARGUMENT","remoteWindow must be defined");s(l,this,e),s(d,this,t?.length?t:[window.origin])}})),e("t",{ConnectionDestroyed:"CONNECTION_DESTROYED",ConnectionTimeout:"CONNECTION_TIMEOUT",InvalidArgument:"INVALID_ARGUMENT",MethodCallTimeout:"METHOD_CALL_TIMEOUT",MethodNotFound:"METHOD_NOT_FOUND",TransmissionFailed:"TRANSMISSION_FAILED"})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/polyfills-CXLN5T9E.js b/editor/neo-ppt/assets/polyfills-CXLN5T9E.js new file mode 100644 index 0000000..5758710 --- /dev/null +++ b/editor/neo-ppt/assets/polyfills-CXLN5T9E.js @@ -0,0 +1 @@ +import'data:text/javascript,"assets/polyfills-CXLN5T9E.js";if(!import.meta.resolve)throw Error("import.meta.resolve not supported")';export function __vite_legacy_guard(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}var r=(r,t)=>()=>(t||(r((t={exports:{}}).exports,t),r=null),t.exports),t=r((r,t)=>{var e=function(r){return r&&r.Math===Math&&r};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}),e=r((r,t)=>{t.exports=function(r){try{return!!r()}catch(t){return!0}}}),n=r((r,t)=>{var n=e();t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),o=r((r,t)=>{var n=e();t.exports=!n(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}),a=r((r,t)=>{var e=o(),n=Function.prototype.call;t.exports=e?n.bind(n):function(){return n.apply(n,arguments)}}),i=r(r=>{var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);r.f=n?function(r){var t=e(this,r);return!!t&&t.enumerable}:t}),c=r((r,t)=>{t.exports=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}}}),u=r((r,t)=>{var e=o(),n=Function.prototype,a=n.call,i=e&&n.bind.bind(a,a);t.exports=e?i:function(r){return function(){return a.apply(r,arguments)}}}),s=r((r,t)=>{var e=u(),n=e({}.toString),o=e("".slice);t.exports=function(r){return o(n(r),8,-1)}}),f=r((r,t)=>{var n=u(),o=e(),a=s(),i=Object,c=n("".split);t.exports=o(function(){return!i("z").propertyIsEnumerable(0)})?function(r){return"String"===a(r)?c(r,""):i(r)}:i}),p=r((r,t)=>{t.exports=function(r){return null==r}}),h=r((r,t)=>{var e=p(),n=TypeError;t.exports=function(r){if(e(r))throw new n("Can't call method on "+r);return r}}),l=r((r,t)=>{var e=f(),n=h();t.exports=function(r){return e(n(r))}}),v=r((r,t)=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(r){return"function"==typeof r||r===e}:function(r){return"function"==typeof r}}),y=r((r,t)=>{var e=v();t.exports=function(r){return"object"==typeof r?null!==r:e(r)}}),d=r((r,e)=>{var n=t(),o=v();e.exports=function(r,t){return arguments.length<2?(e=n[r],o(e)?e:void 0):n[r]&&n[r][t];var e}}),g=r((r,t)=>{var e=u();t.exports=e({}.isPrototypeOf)}),w=r((r,e)=>{var n=t().navigator,o=n&&n.userAgent;e.exports=o?String(o):""}),b=r((r,e)=>{var n,o,a=t(),i=w(),c=a.process,u=a.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o}),m=r((r,n)=>{var o=b(),a=e(),i=t().String;n.exports=!!Object.getOwnPropertySymbols&&!a(function(){var r=Symbol("symbol detection");return!i(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&o&&o<41})}),x=r((r,t)=>{var e=m();t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),E=r((r,t)=>{var e=d(),n=v(),o=g(),a=x(),i=Object;t.exports=a?function(r){return"symbol"==typeof r}:function(r){var t=e("Symbol");return n(t)&&o(t.prototype,i(r))}}),A=r((r,t)=>{var e=String;t.exports=function(r){try{return e(r)}catch(t){return"Object"}}}),S=r((r,t)=>{var e=v(),n=A(),o=TypeError;t.exports=function(r){if(e(r))return r;throw new o(n(r)+" is not a function")}}),O=r((r,t)=>{var e=S(),n=p();t.exports=function(r,t){var o=r[t];return n(o)?void 0:e(o)}}),R=r((r,t)=>{var e=a(),n=v(),o=y(),i=TypeError;t.exports=function(r,t){var a,c;if("string"===t&&n(a=r.toString)&&!o(c=e(a,r)))return c;if(n(a=r.valueOf)&&!o(c=e(a,r)))return c;if("string"!==t&&n(a=r.toString)&&!o(c=e(a,r)))return c;throw new i("Can't convert object to primitive value")}}),I=r((r,t)=>{t.exports=!1}),T=r((r,e)=>{var n=t(),o=Object.defineProperty;e.exports=function(r,t){try{o(n,r,{value:t,configurable:!0,writable:!0})}catch(e){n[r]=t}return t}}),k=r((r,e)=>{var n=I(),o=t(),a=T(),i="__core-js_shared__",c=e.exports=o[i]||a(i,{});(c.versions||(c.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),D=r((r,t)=>{var e=k();t.exports=function(r,t){return e[r]||(e[r]=t||{})}}),M=r((r,t)=>{var e=h(),n=Object;t.exports=function(r){return n(e(r))}}),_=r((r,t)=>{var e=u(),n=M(),o=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(r,t){return o(n(r),t)}}),C=r((r,t)=>{var e=u(),n=0,o=Math.random(),a=e(1.1.toString);t.exports=function(r){return"Symbol("+(void 0===r?"":r)+")_"+a(++n+o,36)}}),j=r((r,e)=>{var n=t(),o=D(),a=_(),i=C(),c=m(),u=x(),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||i;e.exports=function(r){return a(f,r)||(f[r]=c&&a(s,r)?s[r]:p("Symbol."+r)),f[r]}}),U=r((r,t)=>{var e=a(),n=y(),o=E(),i=O(),c=R(),u=j(),s=TypeError,f=u("toPrimitive");t.exports=function(r,t){if(!n(r)||o(r))return r;var a,u=i(r,f);if(u){if(void 0===t&&(t="default"),a=e(u,r,t),!n(a)||o(a))return a;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(r,t)}}),F=r((r,t)=>{var e=U(),n=E();t.exports=function(r){var t=e(r,"string");return n(t)?t:t+""}}),N=r((r,e)=>{var n=t(),o=y(),a=n.document,i=o(a)&&o(a.createElement);e.exports=function(r){return i?a.createElement(r):{}}}),P=r((r,t)=>{var o=n(),a=e(),i=N();t.exports=!o&&!a(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})}),B=r(r=>{var t=n(),e=a(),o=i(),u=c(),s=l(),f=F(),p=_(),h=P(),v=Object.getOwnPropertyDescriptor;r.f=t?v:function(r,t){if(r=s(r),t=f(t),h)try{return v(r,t)}catch(n){}if(p(r,t))return u(!e(o.f,r,t),r[t])}}),L=r((r,t)=>{var o=n(),a=e();t.exports=o&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),z=r((r,t)=>{var e=y(),n=String,o=TypeError;t.exports=function(r){if(e(r))return r;throw new o(n(r)+" is not an object")}}),W=r(r=>{var t=n(),e=P(),o=L(),a=z(),i=F(),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";r.f=t?o?function(r,t,e){if(a(r),t=i(t),a(e),"function"==typeof r&&"prototype"===t&&"value"in e&&h in e&&!e[h]){var n=s(r,t);n&&n[h]&&(r[t]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:f in e?e[f]:n[f],writable:!1})}return u(r,t,e)}:u:function(r,t,n){if(a(r),t=i(t),a(n),e)try{return u(r,t,n)}catch(o){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(r[t]=n.value),r}}),H=r((r,t)=>{var e=n(),o=W(),a=c();t.exports=e?function(r,t,e){return o.f(r,t,a(1,e))}:function(r,t,e){return r[t]=e,r}}),V=r((r,t)=>{var e=n(),o=_(),a=Function.prototype,i=e&&Object.getOwnPropertyDescriptor,c=o(a,"name"),u=c&&"something"===function(){}.name,s=c&&(!e||e&&i(a,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}}),Y=r((r,t)=>{var e=u(),n=v(),o=k(),a=e(Function.toString);n(o.inspectSource)||(o.inspectSource=function(r){return a(r)}),t.exports=o.inspectSource}),G=r((r,e)=>{var n=t(),o=v(),a=n.WeakMap;e.exports=o(a)&&/native code/.test(String(a))}),J=r((r,t)=>{var e=D(),n=C(),o=e("keys");t.exports=function(r){return o[r]||(o[r]=n(r))}}),$=r((r,t)=>{t.exports={}}),q=r((r,e)=>{var n,o,a,i=G(),c=t(),u=y(),s=H(),f=_(),p=k(),h=J(),l=$(),v="Object already initialized",d=c.TypeError,g=c.WeakMap;if(i||p.state){var w=p.state||(p.state=new g);w.get=w.get,w.has=w.has,w.set=w.set,n=function(r,t){if(w.has(r))throw new d(v);return t.facade=r,w.set(r,t),t},o=function(r){return w.get(r)||{}},a=function(r){return w.has(r)}}else{var b=h("state");l[b]=!0,n=function(r,t){if(f(r,b))throw new d(v);return t.facade=r,s(r,b,t),t},o=function(r){return f(r,b)?r[b]:{}},a=function(r){return f(r,b)}}e.exports={set:n,get:o,has:a,enforce:function(r){return a(r)?o(r):n(r,{})},getterFor:function(r){return function(t){var e;if(!u(t)||(e=o(t)).type!==r)throw new d("Incompatible receiver, "+r+" required");return e}}}}),Q=r((r,t)=>{var o=u(),a=e(),i=v(),c=_(),s=n(),f=V().CONFIGURABLE,p=Y(),h=q(),l=h.enforce,y=h.get,d=String,g=Object.defineProperty,w=o("".slice),b=o("".replace),m=o([].join),x=s&&!a(function(){return 8!==g(function(){},"length",{value:8}).length}),E=String(String).split("String"),A=t.exports=function(r,t,e){"Symbol("===w(d(t),0,7)&&(t="["+b(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!c(r,"name")||f&&r.name!==t)&&(s?g(r,"name",{value:t,configurable:!0}):r.name=t),x&&e&&c(e,"arity")&&r.length!==e.arity&&g(r,"length",{value:e.arity});try{e&&c(e,"constructor")&&e.constructor?s&&g(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=l(r);return c(n,"source")||(n.source=m(E,"string"==typeof t?t:"")),r};Function.prototype.toString=A(function(){return i(this)&&y(this).source||p(this)},"toString")}),X=r((r,t)=>{var e=v(),n=W(),o=Q(),a=T();t.exports=function(r,t,i,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:t;if(e(i)&&o(i,s,c),c.global)u?r[t]=i:a(t,i);else{try{c.unsafe?r[t]&&(u=!0):delete r[t]}catch(f){}u?r[t]=i:n.f(r,t,{value:i,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return r}}),K=r((r,t)=>{var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(r){var t=+r;return(t>0?n:e)(t)}}),Z=r((r,t)=>{var e=K();t.exports=function(r){var t=+r;return t!=t||0===t?0:e(t)}}),rr=r((r,t)=>{var e=Z(),n=Math.max,o=Math.min;t.exports=function(r,t){var a=e(r);return a<0?n(a+t,0):o(a,t)}}),tr=r((r,t)=>{var e=Z(),n=Math.min;t.exports=function(r){var t=e(r);return t>0?n(t,9007199254740991):0}}),er=r((r,t)=>{var e=tr();t.exports=function(r){return e(r.length)}}),nr=r((r,t)=>{var e=l(),n=rr(),o=er(),a=function(r){return function(t,a,i){var c=e(t),u=o(c);if(0===u)return!r&&-1;var s,f=n(i,u);if(r&&a!=a){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((r||f in c)&&c[f]===a)return r||f||0;return!r&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}}),or=r((r,t)=>{var e=u(),n=_(),o=l(),a=nr().indexOf,i=$(),c=e([].push);t.exports=function(r,t){var e,u=o(r),s=0,f=[];for(e in u)!n(i,e)&&n(u,e)&&c(f,e);for(;t.length>s;)n(u,e=t[s++])&&(~a(f,e)||c(f,e));return f}}),ar=r((r,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ir=r(r=>{var t=or(),e=ar().concat("length","prototype");r.f=Object.getOwnPropertyNames||function(r){return t(r,e)}}),cr=r(r=>{r.f=Object.getOwnPropertySymbols}),ur=r((r,t)=>{var e=d(),n=u(),o=ir(),a=cr(),i=z(),c=n([].concat);t.exports=e("Reflect","ownKeys")||function(r){var t=o.f(i(r)),e=a.f;return e?c(t,e(r)):t}}),sr=r((r,t)=>{var e=_(),n=ur(),o=B(),a=W();t.exports=function(r,t,i){for(var c=n(t),u=a.f,s=o.f,f=0;f{var n=e(),o=v(),a=/#|\.prototype\./,i=function(r,t){var e=u[c(r)];return e===f||e!==s&&(o(t)?n(t):!!t)},c=i.normalize=function(r){return String(r).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i}),pr=r((r,e)=>{var n=t(),o=B().f,a=H(),i=X(),c=T(),u=sr(),s=fr();e.exports=function(r,t){var e,f,p,h,l,v=r.target,y=r.global,d=r.stat;if(e=y?n:d?n[v]||c(v,{}):n[v]&&n[v].prototype)for(f in t){if(h=t[f],p=r.dontCallGetSet?(l=o(e,f))&&l.value:e[f],!s(y?f:v+(d?".":"#")+f,r.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(r.sham||p&&p.sham)&&a(h,"sham",!0),i(e,f,h,r)}}}),hr=r((r,t)=>{var e=or(),n=ar();t.exports=Object.keys||function(r){return e(r,n)}}),lr=r(r=>{var t=n(),e=L(),o=W(),a=z(),i=l(),c=hr();r.f=t&&!e?Object.defineProperties:function(r,t){a(r);for(var e,n=i(t),u=c(t),s=u.length,f=0;s>f;)o.f(r,e=u[f++],n[e]);return r}}),vr=r((r,t)=>{var e=d();t.exports=e("document","documentElement")}),yr=r((r,t)=>{var e,n=z(),o=lr(),a=ar(),i=$(),c=vr(),u=N(),s=J(),f="prototype",p="script",h=s("IE_PROTO"),l=function(){},v=function(r){return"<"+p+">"+r+""},y=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{e=new ActiveXObject("htmlfile")}catch(i){}var r,t,n;d="undefined"!=typeof document?document.domain&&e?y(e):(t=u("iframe"),n="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(n),(r=t.contentWindow.document).open(),r.write(v("document.F=Object")),r.close(),r.F):y(e);for(var o=a.length;o--;)delete d[f][a[o]];return d()};i[h]=!0,t.exports=Object.create||function(r,t){var e;return null!==r?(l[f]=n(r),e=new l,l[f]=null,e[h]=r):e=d(),void 0===t?e:o.f(e,t)}}),dr=r((r,t)=>{var e=j(),n=yr(),o=W().f,a=e("unscopables"),i=Array.prototype;void 0===i[a]&&o(i,a,{configurable:!0,value:n(null)}),t.exports=function(r){i[a][r]=!0}}),gr=r(()=>{var r=pr(),t=nr().includes,n=e(),o=dr(),a=n(function(){return!Array(1).includes()}),i=n(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:a||i},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),o("includes")}),wr=r((r,t)=>{var e=s();t.exports=Array.isArray||function(r){return"Array"===e(r)}}),br=r((r,t)=>{var e=n(),o=wr(),a=TypeError,i=Object.getOwnPropertyDescriptor,c=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();t.exports=c?function(r,t){if(o(r)&&!i(r,"length").writable)throw new a("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t}}),mr=r((r,t)=>{var e=TypeError;t.exports=function(r){if(r>9007199254740991)throw new e("Maximum allowed index exceeded");return r}}),xr=r(()=>{var r=pr(),t=M(),n=er(),o=br(),a=mr();r({target:"Array",proto:!0,arity:1,forced:e()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),i=n(e),c=arguments.length;a(i+c);for(var u=0;u{var e=Q(),n=W();t.exports=function(r,t,o){return o.get&&e(o.get,t,{getter:!0}),o.set&&e(o.set,t,{setter:!0}),n.f(r,t,o)}}),Ar=r((r,t)=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView}),Sr=r((r,t)=>{var e=u(),n=S();t.exports=function(r,t,o){try{return e(n(Object.getOwnPropertyDescriptor(r,t)[o]))}catch(a){}}}),Or=r((r,e)=>{var n=t(),o=Sr(),a=s(),i=n.ArrayBuffer,c=n.TypeError;e.exports=i&&o(i.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==a(r))throw new c("ArrayBuffer expected");return r.byteLength}}),Rr=r((r,e)=>{var n=t(),o=Ar(),a=Or(),i=n.DataView;e.exports=function(r){if(!o||0!==a(r))return!1;try{return new i(r),!1}catch(t){return!0}}}),Ir=r(()=>{var r=n(),t=Er(),e=Rr(),o=ArrayBuffer.prototype;r&&!("detached"in o)&&t(o,"detached",{configurable:!0,get:function(){return e(this)}})}),Tr=r((r,t)=>{var e=Z(),n=tr(),o=RangeError;t.exports=function(r){if(void 0===r)return 0;var t=e(r),a=n(t);if(t!==a)throw new o("Wrong length or index");return a}}),kr=r((r,t)=>{var e=Rr(),n=TypeError;t.exports=function(r){if(e(r))throw new n("ArrayBuffer is detached");return r}}),Dr=r((r,e)=>{var n=t(),o=w(),a=s(),i=function(r){return o.slice(0,r.length)===r};e.exports=i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"}),Mr=r((r,t)=>{var e=Dr();t.exports="NODE"===e}),_r=r((r,e)=>{var n=t(),o=Mr();e.exports=function(r){if(o){try{return n.process.getBuiltinModule(r)}catch(t){}try{return Function('return require("'+r+'")')()}catch(t){}}}}),Cr=r((r,n)=>{var o=t(),a=e(),i=b(),c=Dr(),u=o.structuredClone;n.exports=!!u&&!a(function(){if("DENO"===c&&i>92||"NODE"===c&&i>94||"BROWSER"===c&&i>97)return!1;var r=new ArrayBuffer(8),t=u(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}),jr=r((r,e)=>{var n,o,a,i,c=t(),u=_r(),s=Cr(),f=c.structuredClone,p=c.ArrayBuffer,h=c.MessageChannel,l=!1;if(s)l=function(r){f(r,{transfer:[r]})};else if(p)try{h||(n=u("worker_threads"))&&(h=n.MessageChannel),h&&(o=new h,a=new p(2),i=function(r){o.port1.postMessage(null,[r])},2===a.byteLength&&(i(a),0===a.byteLength&&(l=i)))}catch(v){}e.exports=l}),Ur=r((r,e)=>{var n=t(),o=u(),a=Sr(),i=Tr(),c=kr(),s=Or(),f=jr(),p=Cr(),h=n.structuredClone,l=n.ArrayBuffer,v=n.DataView,y=Math.max,d=Math.min,g=l.prototype,w=v.prototype,b=o(g.slice),m=a(g,"resizable","get"),x=a(g,"maxByteLength","get"),E=o(w.getInt8),A=o(w.setInt8);e.exports=(p||f)&&function(r,t,e){var n,o=s(r),a=void 0===t?o:i(t),u=!m||!m(r);if(c(r),p&&(r=h(r,{transfer:[r]}),o===a&&(e||u)))return r;if(o>=a&&(!e||u))n=b(r,0,a);else{n=new l(a,e&&!u&&x?{maxByteLength:y(a,x(r))}:void 0);for(var g=new v(r),w=new v(n),S=d(a,o),O=0;O{var r=pr(),t=Ur();t&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})}),Nr=r(()=>{var r=pr(),t=Ur();t&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})}),Pr=r((r,t)=>{var e=g(),n=TypeError;t.exports=function(r,t){if(e(t,r))return r;throw new n("Incorrect invocation")}}),Br=r((r,t)=>{var n=e();t.exports=!n(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}),Lr=r((r,t)=>{var e=_(),n=v(),o=M(),a=J(),i=Br(),c=a("IE_PROTO"),u=Object,s=u.prototype;t.exports=i?u.getPrototypeOf:function(r){var t=o(r);if(e(t,c))return t[c];var a=t.constructor;return n(a)&&t instanceof a?a.prototype:t instanceof u?s:null}}),zr=r((r,t)=>{var e=n(),o=W(),a=c();t.exports=function(r,t,n){e?o.f(r,t,a(0,n)):r[t]=n}}),Wr=r((r,t)=>{var n,o,a,i=e(),c=v(),u=y(),s=yr(),f=Lr(),p=X(),h=j(),l=I(),d=h("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(o=f(f(a)))!==Object.prototype&&(n=o):g=!0),!u(n)||i(function(){var r={};return n[d].call(r)!==r})?n={}:l&&(n=s(n)),c(n[d])||p(n,d,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}}),Hr=r(()=>{var r=pr(),o=t(),a=Pr(),i=z(),c=v(),u=Lr(),s=Er(),f=zr(),p=e(),h=_(),l=j(),y=Wr().IteratorPrototype,d=n(),g=I(),w="constructor",b="Iterator",m=l("toStringTag"),x=TypeError,E=o[b],A=g||!c(E)||E.prototype!==y||!p(function(){E({})}),S=function(){if(a(this,y),u(this)===y)throw new x("Abstract class Iterator not directly constructable")},O=function(r,t){d?s(y,r,{configurable:!0,get:function(){return t},set:function(t){if(i(this),this===y)throw new x("You can't redefine this property");h(this,r)?this[r]=t:f(this,r,t)}}):y[r]=t};h(y,m)||O(m,b),!A&&h(y,w)&&y[w]!==Object||O(w,S),S.prototype=y,r({global:!0,constructor:!0,forced:A},{Iterator:S})}),Vr=r((r,t)=>{var e=s(),n=u();t.exports=function(r){if("Function"===e(r))return n(r)}}),Yr=r((r,t)=>{var e=Vr(),n=S(),a=o(),i=e(e.bind);t.exports=function(r,t){return n(r),void 0===t?r:a?i(r,t):function(){return r.apply(t,arguments)}}}),Gr=r((r,t)=>{t.exports={}}),Jr=r((r,t)=>{var e=j(),n=Gr(),o=e("iterator"),a=Array.prototype;t.exports=function(r){return void 0!==r&&(n.Array===r||a[o]===r)}}),$r=r((r,t)=>{var e={};e[j()("toStringTag")]="z",t.exports="[object z]"===String(e)}),qr=r((r,t)=>{var e=$r(),n=v(),o=s(),a=j()("toStringTag"),i=Object,c="Arguments"===o(function(){return arguments}());t.exports=e?o:function(r){var t,e,u;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=i(r),a))?e:c?o(t):"Object"===(u=o(t))&&n(t.callee)?"Arguments":u}}),Qr=r((r,t)=>{var e=qr(),n=O(),o=p(),a=Gr(),i=j()("iterator");t.exports=function(r){if(!o(r))return n(r,i)||n(r,"@@iterator")||a[e(r)]}}),Xr=r((r,t)=>{var e=a(),n=S(),o=z(),i=A(),c=Qr(),u=TypeError;t.exports=function(r,t){var a=arguments.length<2?c(r):t;if(n(a))return o(e(a,r));throw new u(i(r)+" is not iterable")}}),Kr=r((r,t)=>{var e=a(),n=z(),o=O();t.exports=function(r,t,a){var i,c;n(r);try{if(!(i=o(r,"return"))){if("throw"===t)throw a;return a}i=e(i,r)}catch(u){c=!0,i=u}if("throw"===t)throw a;if(c)throw i;return n(i),a}}),Zr=r((r,t)=>{var e=Yr(),n=a(),o=z(),i=A(),c=Jr(),u=er(),s=g(),f=Xr(),p=Qr(),h=Kr(),l=TypeError,v=function(r,t){this.stopped=r,this.result=t},y=v.prototype;t.exports=function(r,t,a){var d,g,w,b,m,x,E,A=a&&a.that,S=!(!a||!a.AS_ENTRIES),O=!(!a||!a.IS_RECORD),R=!(!a||!a.IS_ITERATOR),I=!(!a||!a.INTERRUPTED),T=e(t,A),k=function(r){var t=d;return d=void 0,t&&h(t,"normal"),new v(!0,r)},D=function(r){return S?(o(r),I?T(r[0],r[1],k):T(r[0],r[1])):I?T(r,k):T(r)};if(O)d=r.iterator;else if(R)d=r;else{if(!(g=p(r)))throw new l(i(r)+" is not iterable");if(c(g)){for(w=0,b=u(r);b>w;w++)if((m=D(r[w]))&&s(y,m))return m;return new v(!1)}d=f(r,g)}for(x=O?r.next:d.next;!(E=n(x,d)).done;){var M=E.value;try{m=D(M)}catch(_){if(!d)throw _;h(d,"throw",_)}if("object"==typeof m&&m&&s(y,m))return m}return new v(!1)}}),rt=r((r,t)=>{t.exports=function(r){return{iterator:r,next:r.next,done:!1}}}),tt=r((r,e)=>{var n=t();e.exports=function(r,t){var e=n.Iterator,o=e&&e.prototype,a=o&&o[r],i=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){i=!0}},-1)}catch(c){c instanceof t||(i=!1)}if(!i)return a}}),et=r(()=>{var r=pr(),t=a(),e=Zr(),n=S(),o=z(),i=rt(),c=Kr(),u=tt()("every",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{every:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var a=i(this),s=0;return!e(a,function(t,e){if(!r(t,s++))return e()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),nt=r((r,t)=>{var e=X();t.exports=function(r,t,n){for(var o in t)e(r,o,t[o],n);return r}}),ot=r((r,t)=>{t.exports=function(r,t){return{value:r,done:t}}}),at=r((r,t)=>{var e=Kr();t.exports=function(r,t,n){for(var o=r.length-1;o>=0;o--)if(void 0!==r[o])try{n=e(r[o].iterator,t,n)}catch(a){t="throw",n=a}if("throw"===t)throw n;return n}}),it=r((r,t)=>{var e=a(),n=yr(),o=H(),i=nt(),c=j(),u=q(),s=O(),f=Wr().IteratorPrototype,p=ot(),h=Kr(),l=at(),v=c("toStringTag"),y="IteratorHelper",d="WrapForValidIterator",g="normal",w="throw",b=u.set,m=function(r){var t=u.getterFor(r?d:y);return i(n(f),{next:function(){var e=t(this);if(r)return e.nextHandler();if(e.done)return p(void 0,!0);try{var n=e.nextHandler();return e.returnHandlerResult?n:p(n,e.done)}catch(o){throw e.done=!0,o}},return:function(){var n=t(this),o=n.iterator,a=n.done;if(n.done=!0,r){var i=s(o,"return");return i?e(i,o):p(void 0,!0)}if(a)return p(void 0,!0);if(n.inner)try{h(n.inner.iterator,g)}catch(c){return h(o,w,c)}if(n.openIters)try{l(n.openIters,g)}catch(c){if(o)return h(o,w,c);throw c}return o&&h(o,g),p(void 0,!0)}})},x=m(!0),E=m(!1);o(E,v,"Iterator Helper"),t.exports=function(r,t,e){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?d:y,o.returnHandlerResult=!!e,o.nextHandler=r,o.counter=0,o.done=!1,b(this,o)};return n.prototype=t?x:E,n}}),ct=r((r,t)=>{var e=z(),n=Kr();t.exports=function(r,t,o,a){try{return a?t(e(o)[0],o[1]):t(o)}catch(i){n(r,"throw",i)}}}),ut=r((r,t)=>{t.exports=function(r,t){var e="function"==typeof Iterator&&Iterator.prototype[r];if(e)try{e.call({next:null},t).next()}catch(n){return!0}}}),st=r(()=>{var r=pr(),t=a(),e=S(),n=z(),o=rt(),i=it(),c=ct(),u=I(),s=Kr(),f=ut(),p=tt(),h=!u&&!f("filter",function(){}),l=!u&&!h&&p("filter",TypeError),v=u||h||l,y=i(function(){for(var r,e,o=this.iterator,a=this.predicate,i=this.next;;){if(r=n(t(i,o)),this.done=!!r.done)return;if(e=r.value,c(o,a,[e,this.counter++],!0))return e}});r({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(r){n(this);try{e(r)}catch(a){s(this,"throw",a)}return l?t(l,this,r):new y(o(this),{predicate:r})}})}),ft=r(()=>{var r=pr(),t=a(),e=Zr(),n=S(),o=z(),i=rt(),c=Kr(),u=tt()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{find:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var a=i(this),s=0;return e(a,function(t,e){if(r(t,s++))return e(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}),pt=r(()=>{var r=pr(),t=a(),e=Zr(),n=S(),o=z(),i=rt(),c=Kr(),u=tt()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var a=i(this),s=0;e(a,function(t){r(t,s++)},{IS_RECORD:!0})}})}),ht=r(()=>{var r=pr(),t=a(),e=S(),n=z(),o=rt(),i=it(),c=ct(),u=Kr(),s=ut(),f=tt(),p=I(),h=!p&&!s("map",function(){}),l=!p&&!h&&f("map",TypeError),v=p||h||l,y=i(function(){var r=this.iterator,e=n(t(this.next,r));if(!(this.done=!!e.done))return c(r,this.mapper,[e.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(r){n(this);try{e(r)}catch(a){u(this,"throw",a)}return l?t(l,this,r):new y(o(this),{mapper:r})}})}),lt=r((r,t)=>{var e=o(),n=Function.prototype,a=n.apply,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(e?i.bind(a):function(){return i.apply(a,arguments)})}),vt=r(()=>{var r=pr(),t=Zr(),n=S(),o=z(),a=rt(),i=Kr(),c=tt(),u=lt(),s=e(),f=TypeError,p=s(function(){[].keys().reduce(function(){},void 0)}),h=!p&&c("reduce",f);r({target:"Iterator",proto:!0,real:!0,forced:p||h},{reduce:function(r){o(this);try{n(r)}catch(l){i(this,"throw",l)}var e=arguments.length<2,c=e?void 0:arguments[1];if(h)return u(h,this,e?[r]:[r,c]);var s=a(this),p=0;if(t(s,function(t){e?(e=!1,c=t):c=r(c,t,p),p++},{IS_RECORD:!0}),e)throw new f("Reduce of empty iterator with no initial value");return c}})}),yt=r(()=>{var r=pr(),t=a(),e=Zr(),n=S(),o=z(),i=rt(),c=Kr(),u=tt()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{some:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var a=i(this),s=0;return e(a,function(t,e){if(r(t,s++))return e()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),dt=r((r,t)=>{var e=qr(),n=String;t.exports=function(r){if("Symbol"===e(r))throw new TypeError("Cannot convert a Symbol value to a string");return n(r)}}),gt=r((r,t)=>{var e=u(),n=_(),o=SyntaxError,a=parseInt,i=String.fromCharCode,c=e("".charAt),s=e("".slice),f=e(/./.exec),p={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},h=/^[\da-f]{4}$/i,l=/^[\u0000-\u001F]$/;t.exports=function(r,t){for(var e=!0,u="";t{var r=pr(),o=n(),i=t(),c=d(),s=u(),f=a(),p=v(),h=y(),l=wr(),g=_(),w=dt(),b=er(),x=zr(),E=e(),A=gt(),S=m(),O=i.JSON,R=i.Number,I=i.SyntaxError,T=O&&O.parse,k=c("Object","keys"),D=Object.getOwnPropertyDescriptor,M=s("".charAt),C=s("".slice),j=s(/./.exec),U=s([].push),F=/^\d$/,N=/^[1-9]$/,P=/^[\d-]$/,B=/^[\t\n\r ]$/,L=function(r,t,e,n){var o,a,i,c,u,s=r[t],p=n&&s===n.value,v=p&&"string"==typeof n.source?{source:n.source}:{};if(h(s)){var y=l(s),d=p?n.nodes:y?[]:{};if(y)for(o=d.length,i=b(s),c=0;c{var e=y(),n=q().get;t.exports=function(r){if(!e(r))return!1;var t=n(r);return!!t&&"RawJSON"===t.type}}),mt=r((r,t)=>{var e=u();t.exports=e([].slice)}),xt=r((r,t)=>{var n=e();t.exports=!n(function(){var r="9007199254740993",t=JSON.rawJSON(r);return!JSON.isRawJSON(t)||JSON.stringify(t)!==r})}),Et=r(()=>{var r=pr(),t=d(),n=lt(),o=a(),i=u(),c=e(),f=wr(),p=v(),h=bt(),l=E(),y=s(),g=dt(),w=mt(),b=gt(),x=C(),A=m(),S=xt(),O=String,R=t("JSON","stringify"),I=i(/./.exec),T=i("".charAt),k=i("".charCodeAt),D=i("".replace),M=i("".slice),_=i([].push),j=i(1.1.toString),U=/[\uD800-\uDFFF]/g,F=/^[\uD800-\uDBFF]$/,N=/^[\uDC00-\uDFFF]$/,P=x(),B=P.length,L=!A||c(function(){var r=t("Symbol")("stringify detection");return"[null]"!==R([r])||"{}"!==R({a:r})||"{}"!==R(Object(r))}),z=c(function(){return'"\\udf06\\ud834"'!==R("\udf06\ud834")||'"\\udead"'!==R("\udead")}),W=L?function(r,t){var e=w(arguments),a=V(t);if(p(a)||void 0!==r&&!l(r))return e[1]=function(r,t){if(p(a)&&(t=o(a,this,O(r),t)),!l(t))return t},n(R,null,e)}:R,H=function(r,t,e){var n=T(e,t-1),o=T(e,t+1);return I(F,r)&&!I(N,o)||I(N,r)&&!I(F,n)?"\\u"+j(k(r,0),16):r},V=function(r){if(p(r))return r;if(f(r)){for(var t=r.length,e=[],n=0;n{var e=u(),n=Map.prototype;t.exports={Map:Map,set:e(n.set),get:e(n.get),has:e(n.has),remove:e(n.delete),proto:n}}),St=r(()=>{var r=pr(),t=At(),e=I(),n=t.get,o=t.has,a=t.set;r({target:"Map",proto:!0,real:!0,forced:e},{getOrInsert:function(r,t){return o(this,r)?n(this,r):(a(this,r,t),t)}})}),Ot=r(()=>{var r=pr(),t=S(),e=At(),n=I(),o=e.get,a=e.has,i=e.set;r({target:"Map",proto:!0,real:!0,forced:n},{getOrInsertComputed:function(r,e){var n=a(this,r);if(t(e),n)return o(this,r);0===r&&1/r==-1/0&&(r=0);var c=e(r);return i(this,r,c),c}})}),Rt=r((r,n)=>{var o=t(),a=e(),i=o.RegExp,c=!a(function(){var r=!0;try{i(".","d")}catch(u){r=!1}var t={},e="",n=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in r&&(a.hasIndices="d"),a)o(c,a[c]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(t)!==n||e!==n});n.exports={correct:c}}),It=r((r,t)=>{var e=z();t.exports=function(){var r=e(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t}}),Tt=r(()=>{var r=n(),t=Er(),e=Rt(),o=It();r&&!e.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:o}),e.correct=!0)}),kt=r((r,t)=>{var e=u(),n=Set.prototype;t.exports={Set:Set,add:e(n.add),has:e(n.has),remove:e(n.delete),proto:n}}),Dt=r((r,t)=>{var e=kt().has;t.exports=function(r){return e(r),r}}),Mt=r((r,t)=>{var e=a();t.exports=function(r,t,n){for(var o,a,i=n?r:r.iterator,c=r.next;!(o=e(c,i)).done;)if(void 0!==(a=t(o.value)))return a}}),_t=r((r,t)=>{var e=u(),n=Mt(),o=kt(),a=o.Set,i=o.proto,c=e(i.forEach),s=e(i.keys),f=s(new a).next;t.exports=function(r,t,e){return e?n({iterator:s(r),next:f},t):c(r,t)}}),Ct=r((r,t)=>{var e=kt(),n=_t(),o=e.Set,a=e.add;t.exports=function(r){var t=new o;return n(r,function(r){a(t,r)}),t}}),jt=r((r,t)=>{var e=Sr(),n=kt();t.exports=e(n.proto,"size","get")||function(r){return r.size}}),Ut=r((r,t)=>{var e=S(),n=z(),o=a(),i=Z(),c=rt(),u="Invalid size",s=RangeError,f=TypeError,p=Math.max,h=function(r,t){this.set=r,this.size=p(t,0),this.has=e(r.has),this.keys=e(r.keys)};h.prototype={getIterator:function(){return c(n(o(this.keys,this.set)))},includes:function(r){return o(this.has,this.set,r)}},t.exports=function(r){n(r);var t=+r.size;if(t!=t)throw new f(u);var e=i(t);if(e<0)throw new s(u);return new h(r,e)}}),Ft=r((r,t)=>{var e=Dt(),n=kt(),o=Ct(),a=jt(),i=Ut(),c=_t(),u=Mt(),s=n.has,f=n.remove;t.exports=function(r){var t=e(this),n=i(r),p=o(t);return a(p)<=n.size?c(p,function(r){n.includes(r)&&f(p,r)}):u(n.getIterator(),function(r){s(p,r)&&f(p,r)}),p}}),Nt=r((r,t)=>{var e=d(),n=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(r,t){var a=e("Set");try{(new a)[r](n(0));try{return(new a)[r](n(-1)),!1}catch(i){if(!t)return!0;try{return(new a)[r](o(-1/0)),!1}catch(c){return t(new a([1,2])[r](o(1/0)))}}}catch(c){return!1}}}),Pt=r(()=>{var r=pr(),t=Ft(),n=e();r({target:"Set",proto:!0,real:!0,forced:!Nt()("difference",function(r){return 0===r.size})||n(function(){var r={size:1,has:function(){return!0},keys:function(){var r=0;return{next:function(){var e=r++>1;return t.has(1)&&t.clear(),{done:e,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}),Bt=r((r,t)=>{var e=Dt(),n=kt(),o=jt(),a=Ut(),i=_t(),c=Mt(),u=n.Set,s=n.add,f=n.has;t.exports=function(r){var t=e(this),n=a(r),p=new u;return o(t)>n.size?c(n.getIterator(),function(r){f(t,r)&&s(p,r)}):i(t,function(r){n.includes(r)&&s(p,r)}),p}}),Lt=r(()=>{var r=pr(),t=e(),n=Bt();r({target:"Set",proto:!0,real:!0,forced:!Nt()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}),zt=r((r,t)=>{var e=Dt(),n=kt().has,o=jt(),a=Ut(),i=_t(),c=Mt(),u=Kr();t.exports=function(r){var t=e(this),s=a(r);if(o(t)<=s.size)return!1!==i(t,function(r){if(s.includes(r))return!1},!0);var f=s.getIterator();return!1!==c(f,function(r){if(n(t,r))return u(f.iterator,"normal",!1)})}}),Wt=r(()=>{var r=pr(),t=zt();r({target:"Set",proto:!0,real:!0,forced:!Nt()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}),Ht=r((r,t)=>{var e=Dt(),n=jt(),o=_t(),a=Ut();t.exports=function(r){var t=e(this),i=a(r);return!(n(t)>i.size)&&!1!==o(t,function(r){if(!i.includes(r))return!1},!0)}}),Vt=r(()=>{var r=pr(),t=Ht();r({target:"Set",proto:!0,real:!0,forced:!Nt()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}),Yt=r((r,t)=>{var e=Dt(),n=kt().has,o=jt(),a=Ut(),i=Mt(),c=Kr();t.exports=function(r){var t=e(this),u=a(r);if(o(t){var r=pr(),t=Yt();r({target:"Set",proto:!0,real:!0,forced:!Nt()("isSupersetOf",function(r){return!r})},{isSupersetOf:t})}),Jt=r((r,t)=>{var e=Dt(),n=kt(),o=Ct(),a=Ut(),i=Mt(),c=n.add,u=n.has,s=n.remove;t.exports=function(r){var t=e(this),n=a(r).getIterator(),f=o(t);return i(n,function(r){u(t,r)?s(f,r):c(f,r)}),f}}),$t=r((r,t)=>{t.exports=function(r){try{var t=new Set,e=t[r]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===e.size&&4===e.values().next().value}catch(n){return!1}}}),qt=r(()=>{var r=pr(),t=Jt(),e=$t();r({target:"Set",proto:!0,real:!0,forced:!Nt()("symmetricDifference")||!e("symmetricDifference")},{symmetricDifference:t})}),Qt=r((r,t)=>{var e=Dt(),n=kt().add,o=Ct(),a=Ut(),i=Mt();t.exports=function(r){var t=e(this),c=a(r).getIterator(),u=o(t);return i(c,function(r){n(u,r)}),u}}),Xt=r(()=>{var r=pr(),t=Qt(),e=$t();r({target:"Set",proto:!0,real:!0,forced:!Nt()("union")||!e("union")},{union:t})}),Kt=r((r,t)=>{var e=y();t.exports=function(r){return e(r)||null===r}}),Zt=r((r,t)=>{var e=Kt(),n=String,o=TypeError;t.exports=function(r){if(e(r))return r;throw new o("Can't set "+n(r)+" as a prototype")}}),re=r((r,t)=>{var e=Sr(),n=y(),o=h(),a=Zt();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,i={};try{(r=e(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(c){}return function(e,i){return o(e),a(i),n(e)?(t?r(e,i):e.__proto__=i,e):e}}():void 0)}),te=r((r,e)=>{var o,a,i,c=Ar(),u=n(),s=t(),f=v(),p=y(),h=_(),l=qr(),d=A(),w=H(),b=X(),m=Er(),x=g(),E=Lr(),S=re(),O=j(),R=C(),I=q(),T=I.enforce,k=I.get,D=s.Int8Array,M=D&&D.prototype,U=s.Uint8ClampedArray,F=U&&U.prototype,N=D&&E(D),P=M&&E(M),B=Object.prototype,L=s.TypeError,z=O("toStringTag"),W=R("TYPED_ARRAY_TAG"),V="TypedArrayConstructor",Y=c&&!!S&&"Opera"!==l(s.opera),G=!1,J={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},Q=function(r){var t=E(r);if(p(t)){var e=k(t);return e&&h(e,V)?e[V]:Q(t)}},K=function(r){if(!p(r))return!1;var t=l(r);return h(J,t)||h($,t)};for(o in J)(i=(a=s[o])&&a.prototype)?T(i)[V]=a:Y=!1;for(o in $)(i=(a=s[o])&&a.prototype)&&(T(i)[V]=a);if((!Y||!f(N)||N===Function.prototype)&&(N=function(){throw new L("Incorrect invocation")},Y))for(o in J)s[o]&&S(s[o],N);if((!Y||!P||P===B)&&(P=N.prototype,Y))for(o in J)s[o]&&S(s[o].prototype,P);if(Y&&E(F)!==P&&S(F,P),u&&!h(P,z))for(o in G=!0,m(P,z,{configurable:!0,get:function(){return p(this)?this[W]:void 0}}),J)s[o]&&w(s[o].prototype,W,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:Y,TYPED_ARRAY_TAG:G&&W,aTypedArray:function(r){if(K(r))return r;throw new L("Target is not a typed array")},aTypedArrayConstructor:function(r){if(f(r)&&(!S||x(N,r)))return r;throw new L(d(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(u){if(e)for(var o in J){var a=s[o];if(a&&h(a.prototype,r))try{delete a.prototype[r]}catch(i){try{a.prototype[r]=t}catch(c){}}}P[r]&&!e||b(P,r,e?t:Y&&M[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(u){if(S){if(e)for(n in J)if((o=s[n])&&h(o,r))try{delete o[r]}catch(a){}if(N[r]&&!e)return;try{return b(N,r,e?t:Y&&N[r]||t)}catch(a){}}for(n in J)!(o=s[n])||o[r]&&!e||b(o,r,t)}},getTypedArrayConstructor:Q,isView:function(r){if(!p(r))return!1;var t=l(r);return"DataView"===t||h(J,t)||h($,t)},isTypedArray:K,TypedArray:N,TypedArrayPrototype:P}}),ee=r(()=>{var r=er(),t=te(),e=t.aTypedArray,n=t.exportTypedArrayMethod,o=t.getTypedArrayConstructor;n("toReversed",function(){for(var t=e(this),n=r(t),a=new(o(t))(n),i=0;i{var e=er();t.exports=function(r,t,n){for(var o=0,a=arguments.length>2?n:e(t),i=new r(a);a>o;)i[o]=t[o++];return i}}),oe=r(()=>{var r=te(),t=u(),e=S(),n=ne(),o=r.aTypedArray,a=r.getTypedArrayConstructor,i=r.exportTypedArrayMethod,c=t(r.TypedArrayPrototype.sort);i("toSorted",function(r){void 0!==r&&e(r);var t=o(this);return c(n(a(t),t),r)})}),ae=r((r,t)=>{var e=qr();t.exports=function(r){var t=e(r);return"BigInt64Array"===t||"BigUint64Array"===t}}),ie=r((r,t)=>{var e=U(),n=TypeError;t.exports=function(r){var t=e(r,"number");if("number"==typeof t)throw new n("Can't convert number to bigint");return BigInt(t)}}),ce=r(()=>{var r=te(),t=ae(),e=er(),n=Z(),o=ie(),a=r.aTypedArray,i=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=RangeError,s=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}(),f=s&&function(){try{new Int8Array(1).with(-.5,1)}catch(r){return!0}}();c("with",{with:function(r,c){var s=a(this),f=e(s),p=n(r),h=p<0?f+p:p,l=t(s)?o(c):+c;if(h>=f||h<0)throw new u("Incorrect index");for(var v=new(i(s))(f),y=0;y{var e=y(),n=String,o=TypeError;t.exports=function(r){if(void 0===r||e(r))return r;throw new o(n(r)+" is not an object or undefined")}}),se=r((r,t)=>{var e=TypeError;t.exports=function(r){if("string"==typeof r)return r;throw new e("Argument is not a string")}}),fe=r((r,t)=>{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=e+"+/",o=e+"-_",a=function(r){for(var t={},e=0;e<64;e++)t[r.charAt(e)]=e;return t};t.exports={i2c:n,c2i:a(n),i2cUrl:o,c2iUrl:a(o)}}),pe=r((r,t)=>{var e=TypeError;t.exports=function(r){var t=r&&r.alphabet;if(void 0===t||"base64"===t||"base64url"===t)return t||"base64";throw new e("Incorrect `alphabet` option")}}),he=r((r,e)=>{var n=t(),o=u(),a=ue(),i=se(),c=_(),s=fe(),f=pe(),p=kr(),h=s.c2i,l=s.c2iUrl,v=n.SyntaxError,y=n.TypeError,d=o("".charAt),g=function(r,t){for(var e=r.length;t>16&255,o>>8&255,255&o];if(2===n){if(e&&0!==a[1])throw new v("Extra bits");return[a[0]]}if(3===n){if(e&&0!==a[2])throw new v("Extra bits");return[a[0],a[1]]}return a},b=function(r,t,e){for(var n=t.length,o=0;o0){if("stop-before-partial"===u)break;if("loose"!==u)throw new v("Missing padding");if(1===A.length)throw new v("Malformed padding: exactly one additional character");x=b(m,w(A,o,!1),x)}E=s;break}var O=d(r,S);if(++S,"="===O){if(A.length<2)throw new v("Padding is too early");if(S=g(r,S),2===A.length){if(S===s){if("stop-before-partial"===u)break;throw new v("Malformed padding: only one =")}"="===d(r,S)&&(++S,S=g(r,S))}if(S{var e=qr(),n=TypeError;t.exports=function(r){if("Uint8Array"===e(r))return r;throw new n("Argument is not an Uint8Array")}}),ve=r(()=>{var r=pr(),e=t(),n=he(),o=le(),a=e.Uint8Array,i=!a||!a.prototype.setFromBase64||!function(){var r=new a([255,255,255,255,255]);try{return void r.setFromBase64("",null)}catch(t){}try{return void r.setFromBase64("a")}catch(t){}try{r.setFromBase64("MjYyZg===")}catch(t){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();a&&r({target:"Uint8Array",proto:!0,forced:i},{setFromBase64:function(r){o(this);var t=n(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})}),ye=r((r,e)=>{var n=t(),o=u(),a=n.Uint8Array,i=n.SyntaxError,c=Math.min,s=o("".match);e.exports=function(r,t){var e=r.length;if(e%2!=0)throw new i("String should be an even number of characters");for(var n=t?c(t.length,e/2):e/2,o=t||new a(n),u=s(r,/.{2}/g),f=0;f>4}return{bytes:o,read:f<<1}}}),de=r(()=>{var r=pr(),e=t(),n=se(),o=le(),a=kr(),i=ye();e.Uint8Array&&r({target:"Uint8Array",proto:!0,forced:function(){try{new Uint8Array(new ArrayBuffer(16,{maxByteLength:1024})).setFromHex("cafed00d")}catch(r){return!0}}()},{setFromHex:function(r){o(this),n(r),a(this.buffer);var t=i(r,this).read;return{read:t,written:t/2}}})}),ge=r(()=>{var r=pr(),e=t(),n=u(),o=ue(),a=le(),i=kr(),c=fe(),s=pe(),f=c.i2c,p=c.i2cUrl,h=n("".charAt),l=e.Uint8Array,v=!l||!l.prototype.toBase64||!function(){try{(new l).toBase64(null)}catch(r){return!0}}();l&&r({target:"Uint8Array",proto:!0,forced:v},{toBase64:function(){var r=a(this),t=arguments.length?o(arguments[0]):void 0,e="base64"===s(t)?f:p,n=!!t&&!!t.omitPadding;i(this.buffer);for(var c,u="",l=0,v=r.length,y=function(r){return h(e,c>>6*r&63)};l+2{var r=pr(),e=t(),n=u(),o=le(),a=kr(),i=n(1.1.toString),c=n([].join),s=Array,f=e.Uint8Array,p=!f||!f.prototype.toHex||!function(){try{return"ffffffffffffffff"===new f([255,255,255,255,255,255,255,255]).toHex()}catch(r){return!1}}();f&&r({target:"Uint8Array",proto:!0,forced:p},{toHex:function(){o(this),a(this.buffer);for(var r=s(this.length),t=0,e=this.length;t{var e=u(),n=WeakMap.prototype;t.exports={WeakMap:WeakMap,set:e(n.set),get:e(n.get),has:e(n.has),remove:e(n.delete)}}),me=r(()=>{var r=pr(),t=be(),e=I(),n=t.get,o=t.has,a=t.set;r({target:"WeakMap",proto:!0,real:!0,forced:e},{getOrInsert:function(r,t){return o(this,r)?n(this,r):(a(this,r,t),t)}})}),xe=r((r,t)=>{var e=be().has;t.exports=function(r){return e(r),r}}),Ee=r((r,t)=>{var e=be(),n=new e.WeakMap,o=e.set,a=e.remove;t.exports=function(r){return o(n,r,1),a(n,r),r}}),Ae=r(()=>{var r=pr(),t=S(),e=xe(),n=Ee(),o=be(),a=I(),i=o.get,c=o.has,u=o.set;r({target:"WeakMap",proto:!0,real:!0,forced:a||!function(){try{WeakMap.prototype.getOrInsertComputed&&(new WeakMap).getOrInsertComputed(1,function(){throw 1})}catch(r){return r instanceof TypeError}}()},{getOrInsertComputed:function(r,o){if(a||e(this),n(r),t(o),c(this,r))return i(this,r);var s=o(r);return u(this,r,s),s}})}),Se=r((r,t)=>{var e=v(),n=y(),o=re();t.exports=function(r,t,a){var i,c;return o&&e(i=t.constructor)&&i!==a&&n(c=i.prototype)&&c!==a.prototype&&o(r,c),r}}),Oe=r((r,t)=>{var e=dt();t.exports=function(r,t){return void 0===r?arguments.length<2?"":t:e(r)}}),Re=r((r,t)=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}}),Ie=r((r,t)=>{var e=u(),n=Error,o=e("".replace),a=String(new n("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,c=i.test(a);t.exports=function(r,t){if(c&&"string"==typeof r&&!n.prepareStackTrace)for(;t--;)r=o(r,i,"");return r}}),Te=r(()=>{var r=pr(),e=t(),o=d(),a=c(),i=W().f,u=_(),s=Pr(),f=Se(),p=Oe(),h=Re(),l=Ie(),v=n(),y=I(),g="DOMException",w=o("Error"),b=o(g),m=function(){s(this,x);var r=arguments.length,t=p(r<1?void 0:arguments[0]),e=new b(t,p(r<2?void 0:arguments[1],"Error")),n=new w(t);return n.name=g,i(e,"stack",a(1,l(n.stack,1))),f(e,this,m),e},x=m.prototype=b.prototype,E="stack"in new w(g),A="stack"in new b(1,2),S=b&&v&&Object.getOwnPropertyDescriptor(e,g),O=!(!S||S.writable&&S.configurable),R=E&&!O&&!A;r({global:!0,constructor:!0,forced:y||R},{DOMException:R?m:b});var T=o(g),k=T.prototype;if(k.constructor!==T)for(var D in y||i(k,"constructor",a(1,T)),h)if(u(h,D)){var M=h[D],C=M.s;u(T,C)||i(T,C,a(6,M.c))}}),ke=r((r,t)=>{var e=TypeError;t.exports=function(r,t){if(r{var r=X(),t=u(),e=dt(),n=ke(),o=URLSearchParams,a=o.prototype,i=t(a.append),c=t(a.delete),s=t(a.forEach),f=t([].push),p=new o("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(a,"delete",function(r){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return c(this,r);var a=[];s(this,function(r,t){f(a,{key:t,value:r})}),n(t,1);for(var u,p=e(r),h=e(o),l=0,v=a.length;l{var r=X(),t=u(),e=dt(),n=ke(),o=URLSearchParams,a=o.prototype,i=t(a.getAll),c=t(a.has),s=new o("a=1");!s.has("a",2)&&s.has("a",void 0)||r(a,"has",function(r){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return c(this,r);var a=i(this,r);n(t,1);for(var u=e(o),s=0;s{var r=n(),t=u(),e=Er(),o=URLSearchParams.prototype,a=t(o.forEach);r&&!("size"in o)&&e(o,"size",{get:function(){var r=0;return a(this,function(){r++}),r},configurable:!0,enumerable:!0})}),Ce=r((r,e)=>{var n=t();e.exports=function(r,t){var e=n[r],o=e&&e.prototype;return o&&o[t]}}),je=r(()=>{var r=pr(),t=u(),e=S(),n=l(),o=ne(),a=Ce(),i=dr(),c=Array,s=t(a("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(r){return void 0!==r&&e(r),s(o(c,n(this)),r)}}),i("toSorted")}),Ue=r((r,t)=>{var e=a(),n=z(),o=rt(),i=Qr();t.exports=function(r,t){t&&"string"==typeof r||n(r);var a=i(r);return o(n(void 0!==a?e(a,r):r))}}),Fe=r(()=>{var r=pr(),t=a(),e=S(),n=z(),o=rt(),i=Ue(),c=it(),u=Kr(),s=I(),f=ut(),p=tt();var h=!s&&!f("flatMap",function(){}),l=!s&&!h&&p("flatMap",TypeError),v=s||h||l||function(){try{var r=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),function(r){return r});r.next(),r.return()}catch(t){return!0}}(),y=c(function(){for(var r,e,o=this.iterator,a=this.mapper;;){if(e=this.inner)try{if(!(r=n(t(e.next,e.iterator))).done)return r.value;this.inner=null}catch(c){u(o,"throw",c)}if(r=n(t(this.next,o)),this.done=!!r.done)return;try{this.inner=i(a(r.value,this.counter++),!1)}catch(c){u(o,"throw",c)}}});r({target:"Iterator",proto:!0,real:!0,forced:v},{flatMap:function(r){n(this);try{e(r)}catch(a){u(this,"throw",a)}return l?t(l,this,r):new y(o(this),{mapper:r,inner:null})}})}),Ne=r((r,t)=>{var e=Yr(),n=u(),o=f(),a=M(),i=F(),c=er(),s=yr(),p=ne(),h=Array,l=n([].push);t.exports=function(r,t,n,u){for(var f,v,y,d=a(r),g=o(d),w=e(t,n),b=s(null),m=c(g),x=0;m>x;x++)y=g[x],(v=i(w(y,x,d)))in b?l(b[v],y):b[v]=[y];if(u&&(f=u(d))!==h)for(v in b)b[v]=p(f,b[v]);return b}}),Pe=r(()=>{var r=pr(),t=Ne(),e=dr();r({target:"Array",proto:!0},{group:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("group")}),Be=r(()=>{var r=pr(),e=t(),n=se(),o=ye();e.Uint8Array&&r({target:"Uint8Array",stat:!0},{fromHex:function(r){return o(n(r)).bytes}})}),Le=r(()=>{var r=pr(),t=z(),e=zr(),n=Zr(),o=rt();r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var r=[],a=0;return n(o(t(this)),function(t){e(r,a++,t)},{IS_RECORD:!0}),r}})}),ze=r((r,t)=>{var e=w();t.exports=/ipad|iphone|ipod/i.test(e)&&/applewebkit/i.test(e)}),We=r((r,n)=>{var o,a,i,c,u=t(),s=lt(),f=Yr(),p=v(),h=_(),l=e(),y=vr(),d=mt(),g=N(),w=ke(),b=ze(),m=Mr(),x=u.setImmediate,E=u.clearImmediate,A=u.process,S=u.Dispatch,O=u.Function,R=u.MessageChannel,I=u.String,T=0,k={},D="onreadystatechange";l(function(){o=u.location});var M=function(r){if(h(k,r)){var t=k[r];delete k[r],t()}},C=function(r){return function(){M(r)}},j=function(r){M(r.data)},U=function(r){u.postMessage(I(r),o.protocol+"//"+o.host)};x&&E||(x=function(r){w(arguments.length,1);var t=p(r)?r:O(r),e=d(arguments,1);return k[++T]=function(){s(t,void 0,e)},a(T),T},E=function(r){delete k[r]},m?a=function(r){A.nextTick(C(r))}:S&&S.now?a=function(r){S.now(C(r))}:R&&!b?(c=(i=new R).port2,i.port1.onmessage=j,a=f(c.postMessage,c)):u.addEventListener&&p(u.postMessage)&&!u.importScripts&&o&&"file:"!==o.protocol&&!l(U)?(a=U,u.addEventListener("message",j,!1)):a=D in g("script")?function(r){y.appendChild(g("script"))[D]=function(){y.removeChild(this),M(r)}}:function(r){setTimeout(C(r),0)}),n.exports={set:x,clear:E}}),He=r(()=>{var r=pr(),e=t(),n=We().clear;r({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==n},{clearImmediate:n})}),Ve=r((r,e)=>{var n,o=t(),a=lt(),i=v(),c=Dr(),u=w(),s=mt(),f=ke(),p=o.Function,h=/MSIE .\./.test(u)||"BUN"===c&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(r,t){var e=t?2:1;return h?function(n,o){var c=f(arguments.length,1)>e,u=i(n)?n:p(n),h=c?s(arguments,e):[],l=c?function(){a(u,this,h)}:u;return t?r(l,o):r(l)}:r}}),Ye=r(()=>{var r=pr(),e=t(),n=We().set,o=Ve(),a=e.setImmediate?o(n,!1):n;r({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==a},{setImmediate:a})}),Ge=r(()=>{He(),Ye()}),Je=r(()=>{var r=pr(),t=er(),e=l(),n=zr(),o=dr(),a=Array;r({target:"Array",proto:!0},{toReversed:function(){for(var r=e(this),o=t(r),i=new a(o),c=0;c{var r=pr(),t=dr(),e=mr(),n=er(),o=rr(),a=l(),i=Z(),c=zr(),u=Array,s=Math.max,f=Math.min;r({target:"Array",proto:!0},{toSpliced:function(r,t){var p,h,l,v,y=a(this),d=n(y),g=o(r,d),w=arguments.length,b=0;for(0===w?p=h=0:1===w?(p=0,h=d-g):(p=w-2,h=f(s(i(t),0),d-g)),l=e(d+p-h),v=u(l);b{var n=u(),o=e(),a=v(),i=qr(),c=d(),s=Y(),f=function(){},p=c("Reflect","construct"),h=/^\s*(?:class|function)\b/,l=n(h.exec),y=!h.test(f),g=function(r){if(!a(r))return!1;try{return p(f,[],r),!0}catch(t){return!1}},w=function(r){if(!a(r))return!1;switch(i(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!l(h,s(r))}catch(t){return!0}};w.sham=!0,t.exports=!p||o(function(){var r;return g(g.call)||!g(Object)||!g(function(){r=!0})||r})?w:g}),Qe=r((r,t)=>{var e=a(),n=_(),o=g(),i=Rt(),c=It(),u=RegExp.prototype;t.exports=i.correct?function(r){return r.flags}:function(r){return i.correct||!o(u,r)||n(r,"flags")?r.flags:e(c,r)}}),Xe=r((r,t)=>{var n=e(),o=c();t.exports=!n(function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",o(1,7)),7!==r.stack)})}),Ke=r(()=>{var r,n=I(),o=pr(),a=t(),i=d(),c=u(),s=e(),f=C(),h=v(),l=qe(),g=p(),w=y(),b=E(),m=Zr(),x=z(),A=qr(),S=_(),O=zr(),R=H(),T=er(),k=ke(),D=Qe(),M=At(),j=kt(),U=_t(),F=jr(),N=Xe(),P=Cr(),B=a.Object,L=a.Array,W=a.Date,V=a.Error,Y=a.TypeError,G=a.PerformanceMark,J=i("DOMException"),$=M.Map,q=M.has,Q=M.get,X=M.set,K=j.Set,Z=j.add,rr=j.has,tr=i("Object","keys"),nr=c([].push),or=c((!0).valueOf),ar=c(1.1.valueOf),ir=c("".valueOf),cr=c(W.prototype.getTime),ur=f("structuredClone"),sr="DataCloneError",fr="Transferring",hr=function(r){return!s(function(){var t=new a.Set([7]),e=r(t),n=r(B(7));return e===t||!e.has(7)||!w(n)||7!==+n})&&r},lr=function(r,t){return!s(function(){var e=new t,n=r({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof t&&n.a.stack===e.stack)})},vr=a.structuredClone,yr=n||!lr(vr,V)||!lr(vr,J)||(r=vr,!!s(function(){var t=r(new a.AggregateError([1],ur,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==ur||3!==t.cause})),dr=!vr&&hr(function(r){return new G(ur,{detail:r}).detail}),gr=hr(vr)||dr,wr=function(r){throw new J("Uncloneable type: "+r,sr)},br=function(r,t){throw new J((t||"Cloning")+" of "+r+" cannot be properly polyfilled in this engine",sr)},mr=function(r,t){return gr||br(t),gr(r)},xr=function(r,t,e){if(q(t,r))return Q(t,r);var n,o,i,c,u,s;if("SharedArrayBuffer"===(e||A(r)))n=gr?gr(r):r;else{var f=a.DataView;f||h(r.slice)||br("ArrayBuffer");try{if(h(r.slice)&&!r.resizable)n=r.slice(0);else{o=r.byteLength,i="maxByteLength"in r?{maxByteLength:r.maxByteLength}:void 0,n=new ArrayBuffer(o,i),c=new f(r),u=new f(n);for(s=0;s1&&!g(arguments[1])?x(arguments[1]):void 0,o=n?n.transfer:void 0;void 0!==o&&(e=function(r,t){if(!w(r))throw new Y("Transfer option cannot be converted to a sequence");var e=[];m(r,function(r){nr(e,x(r))});for(var n,o,i,c,u,s=0,f=T(e),p=new K;s()=>(t||(r((t={exports:{}}).exports,t),r=null),t.exports),t=r((r,t)=>{var e=function(r){return r&&r.Math===Math&&r};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}),e=r((r,t)=>{t.exports=function(r){try{return!!r()}catch(t){return!0}}}),n=r((r,t)=>{var n=e();t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),o=r((r,t)=>{var n=e();t.exports=!n(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}),i=r((r,t)=>{var e=o(),n=Function.prototype.call;t.exports=e?n.bind(n):function(){return n.apply(n,arguments)}}),a=r(r=>{var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);r.f=n?function(r){var t=e(this,r);return!!t&&t.enumerable}:t}),c=r((r,t)=>{t.exports=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}}}),u=r((r,t)=>{var e=o(),n=Function.prototype,i=n.call,a=e&&n.bind.bind(i,i);t.exports=e?a:function(r){return function(){return i.apply(r,arguments)}}}),s=r((r,t)=>{var e=u(),n=e({}.toString),o=e("".slice);t.exports=function(r){return o(n(r),8,-1)}}),f=r((r,t)=>{var n=u(),o=e(),i=s(),a=Object,c=n("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(r){return"String"===i(r)?c(r,""):a(r)}:a}),p=r((r,t)=>{t.exports=function(r){return null==r}}),l=r((r,t)=>{var e=p(),n=TypeError;t.exports=function(r){if(e(r))throw new n("Can't call method on "+r);return r}}),h=r((r,t)=>{var e=f(),n=l();t.exports=function(r){return e(n(r))}}),v=r((r,t)=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(r){return"function"==typeof r||r===e}:function(r){return"function"==typeof r}}),d=r((r,t)=>{var e=v();t.exports=function(r){return"object"==typeof r?null!==r:e(r)}}),y=r((r,e)=>{var n=t(),o=v();e.exports=function(r,t){return arguments.length<2?(e=n[r],o(e)?e:void 0):n[r]&&n[r][t];var e}}),g=r((r,t)=>{var e=u();t.exports=e({}.isPrototypeOf)}),m=r((r,e)=>{var n=t().navigator,o=n&&n.userAgent;e.exports=o?String(o):""}),w=r((r,e)=>{var n,o,i=t(),a=m(),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o}),b=r((r,n)=>{var o=w(),i=e(),a=t().String;n.exports=!!Object.getOwnPropertySymbols&&!i(function(){var r=Symbol("symbol detection");return!a(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&o&&o<41})}),x=r((r,t)=>{var e=b();t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),E=r((r,t)=>{var e=y(),n=v(),o=g(),i=x(),a=Object;t.exports=i?function(r){return"symbol"==typeof r}:function(r){var t=e("Symbol");return n(t)&&o(t.prototype,a(r))}}),O=r((r,t)=>{var e=String;t.exports=function(r){try{return e(r)}catch(t){return"Object"}}}),S=r((r,t)=>{var e=v(),n=O(),o=TypeError;t.exports=function(r){if(e(r))return r;throw new o(n(r)+" is not a function")}}),A=r((r,t)=>{var e=S(),n=p();t.exports=function(r,t){var o=r[t];return n(o)?void 0:e(o)}}),I=r((r,t)=>{var e=i(),n=v(),o=d(),a=TypeError;t.exports=function(r,t){var i,c;if("string"===t&&n(i=r.toString)&&!o(c=e(i,r)))return c;if(n(i=r.valueOf)&&!o(c=e(i,r)))return c;if("string"!==t&&n(i=r.toString)&&!o(c=e(i,r)))return c;throw new a("Can't convert object to primitive value")}}),R=r((r,t)=>{t.exports=!1}),T=r((r,e)=>{var n=t(),o=Object.defineProperty;e.exports=function(r,t){try{o(n,r,{value:t,configurable:!0,writable:!0})}catch(e){n[r]=t}return t}}),k=r((r,e)=>{var n=R(),o=t(),i=T(),a="__core-js_shared__",c=e.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),D=r((r,t)=>{var e=k();t.exports=function(r,t){return e[r]||(e[r]=t||{})}}),M=r((r,t)=>{var e=l(),n=Object;t.exports=function(r){return n(e(r))}}),j=r((r,t)=>{var e=u(),n=M(),o=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(r,t){return o(n(r),t)}}),C=r((r,t)=>{var e=u(),n=0,o=Math.random(),i=e(1.1.toString);t.exports=function(r){return"Symbol("+(void 0===r?"":r)+")_"+i(++n+o,36)}}),_=r((r,e)=>{var n=t(),o=D(),i=j(),a=C(),c=b(),u=x(),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||a;e.exports=function(r){return i(f,r)||(f[r]=c&&i(s,r)?s[r]:p("Symbol."+r)),f[r]}}),P=r((r,t)=>{var e=i(),n=d(),o=E(),a=A(),c=I(),u=_(),s=TypeError,f=u("toPrimitive");t.exports=function(r,t){if(!n(r)||o(r))return r;var i,u=a(r,f);if(u){if(void 0===t&&(t="default"),i=e(u,r,t),!n(i)||o(i))return i;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(r,t)}}),U=r((r,t)=>{var e=P(),n=E();t.exports=function(r){var t=e(r,"string");return n(t)?t:t+""}}),N=r((r,e)=>{var n=t(),o=d(),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(r){return a?i.createElement(r):{}}}),F=r((r,t)=>{var o=n(),i=e(),a=N();t.exports=!o&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),B=r(r=>{var t=n(),e=i(),o=a(),u=c(),s=h(),f=U(),p=j(),l=F(),v=Object.getOwnPropertyDescriptor;r.f=t?v:function(r,t){if(r=s(r),t=f(t),l)try{return v(r,t)}catch(n){}if(p(r,t))return u(!e(o.f,r,t),r[t])}}),L=r((r,t)=>{var o=n(),i=e();t.exports=o&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),z=r((r,t)=>{var e=d(),n=String,o=TypeError;t.exports=function(r){if(e(r))return r;throw new o(n(r)+" is not an object")}}),W=r(r=>{var t=n(),e=F(),o=L(),i=z(),a=U(),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",l="writable";r.f=t?o?function(r,t,e){if(i(r),t=a(t),i(e),"function"==typeof r&&"prototype"===t&&"value"in e&&l in e&&!e[l]){var n=s(r,t);n&&n[l]&&(r[t]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:f in e?e[f]:n[f],writable:!1})}return u(r,t,e)}:u:function(r,t,n){if(i(r),t=a(t),i(n),e)try{return u(r,t,n)}catch(o){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(r[t]=n.value),r}}),H=r((r,t)=>{var e=n(),o=W(),i=c();t.exports=e?function(r,t,e){return o.f(r,t,i(1,e))}:function(r,t,e){return r[t]=e,r}}),V=r((r,t)=>{var e=n(),o=j(),i=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!e||e&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}}),J=r((r,t)=>{var e=u(),n=v(),o=k(),i=e(Function.toString);n(o.inspectSource)||(o.inspectSource=function(r){return i(r)}),t.exports=o.inspectSource}),Y=r((r,e)=>{var n=t(),o=v(),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))}),G=r((r,t)=>{var e=D(),n=C(),o=e("keys");t.exports=function(r){return o[r]||(o[r]=n(r))}}),$=r((r,t)=>{t.exports={}}),q=r((r,e)=>{var n,o,i,a=Y(),c=t(),u=d(),s=H(),f=j(),p=k(),l=G(),h=$(),v="Object already initialized",y=c.TypeError,g=c.WeakMap;if(a||p.state){var m=p.state||(p.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,n=function(r,t){if(m.has(r))throw new y(v);return t.facade=r,m.set(r,t),t},o=function(r){return m.get(r)||{}},i=function(r){return m.has(r)}}else{var w=l("state");h[w]=!0,n=function(r,t){if(f(r,w))throw new y(v);return t.facade=r,s(r,w,t),t},o=function(r){return f(r,w)?r[w]:{}},i=function(r){return f(r,w)}}e.exports={set:n,get:o,has:i,enforce:function(r){return i(r)?o(r):n(r,{})},getterFor:function(r){return function(t){var e;if(!u(t)||(e=o(t)).type!==r)throw new y("Incompatible receiver, "+r+" required");return e}}}}),Q=r((r,t)=>{var o=u(),i=e(),a=v(),c=j(),s=n(),f=V().CONFIGURABLE,p=J(),l=q(),h=l.enforce,d=l.get,y=String,g=Object.defineProperty,m=o("".slice),w=o("".replace),b=o([].join),x=s&&!i(function(){return 8!==g(function(){},"length",{value:8}).length}),E=String(String).split("String"),O=t.exports=function(r,t,e){"Symbol("===m(y(t),0,7)&&(t="["+w(y(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!c(r,"name")||f&&r.name!==t)&&(s?g(r,"name",{value:t,configurable:!0}):r.name=t),x&&e&&c(e,"arity")&&r.length!==e.arity&&g(r,"length",{value:e.arity});try{e&&c(e,"constructor")&&e.constructor?s&&g(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=h(r);return c(n,"source")||(n.source=b(E,"string"==typeof t?t:"")),r};Function.prototype.toString=O(function(){return a(this)&&d(this).source||p(this)},"toString")}),X=r((r,t)=>{var e=v(),n=W(),o=Q(),i=T();t.exports=function(r,t,a,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:t;if(e(a)&&o(a,s,c),c.global)u?r[t]=a:i(t,a);else{try{c.unsafe?r[t]&&(u=!0):delete r[t]}catch(f){}u?r[t]=a:n.f(r,t,{value:a,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return r}}),K=r((r,t)=>{var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(r){var t=+r;return(t>0?n:e)(t)}}),Z=r((r,t)=>{var e=K();t.exports=function(r){var t=+r;return t!=t||0===t?0:e(t)}}),rr=r((r,t)=>{var e=Z(),n=Math.max,o=Math.min;t.exports=function(r,t){var i=e(r);return i<0?n(i+t,0):o(i,t)}}),tr=r((r,t)=>{var e=Z(),n=Math.min;t.exports=function(r){var t=e(r);return t>0?n(t,9007199254740991):0}}),er=r((r,t)=>{var e=tr();t.exports=function(r){return e(r.length)}}),nr=r((r,t)=>{var e=h(),n=rr(),o=er(),i=function(r){return function(t,i,a){var c=e(t),u=o(c);if(0===u)return!r&&-1;var s,f=n(a,u);if(r&&i!=i){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((r||f in c)&&c[f]===i)return r||f||0;return!r&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}),or=r((r,t)=>{var e=u(),n=j(),o=h(),i=nr().indexOf,a=$(),c=e([].push);t.exports=function(r,t){var e,u=o(r),s=0,f=[];for(e in u)!n(a,e)&&n(u,e)&&c(f,e);for(;t.length>s;)n(u,e=t[s++])&&(~i(f,e)||c(f,e));return f}}),ir=r((r,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ar=r(r=>{var t=or(),e=ir().concat("length","prototype");r.f=Object.getOwnPropertyNames||function(r){return t(r,e)}}),cr=r(r=>{r.f=Object.getOwnPropertySymbols}),ur=r((r,t)=>{var e=y(),n=u(),o=ar(),i=cr(),a=z(),c=n([].concat);t.exports=e("Reflect","ownKeys")||function(r){var t=o.f(a(r)),e=i.f;return e?c(t,e(r)):t}}),sr=r((r,t)=>{var e=j(),n=ur(),o=B(),i=W();t.exports=function(r,t,a){for(var c=n(t),u=i.f,s=o.f,f=0;f{var n=e(),o=v(),i=/#|\.prototype\./,a=function(r,t){var e=u[c(r)];return e===f||e!==s&&(o(t)?n(t):!!t)},c=a.normalize=function(r){return String(r).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a}),pr=r((r,e)=>{var n=t(),o=B().f,i=H(),a=X(),c=T(),u=sr(),s=fr();e.exports=function(r,t){var e,f,p,l,h,v=r.target,d=r.global,y=r.stat;if(e=d?n:y?n[v]||c(v,{}):n[v]&&n[v].prototype)for(f in t){if(l=t[f],p=r.dontCallGetSet?(h=o(e,f))&&h.value:e[f],!s(d?f:v+(y?".":"#")+f,r.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(r.sham||p&&p.sham)&&i(l,"sham",!0),a(e,f,l,r)}}}),lr=r((r,t)=>{var e=or(),n=ir();t.exports=Object.keys||function(r){return e(r,n)}}),hr=r(r=>{var t=n(),e=L(),o=W(),i=z(),a=h(),c=lr();r.f=t&&!e?Object.defineProperties:function(r,t){i(r);for(var e,n=a(t),u=c(t),s=u.length,f=0;s>f;)o.f(r,e=u[f++],n[e]);return r}}),vr=r((r,t)=>{var e=y();t.exports=e("document","documentElement")}),dr=r((r,t)=>{var e,n=z(),o=hr(),i=ir(),a=$(),c=vr(),u=N(),s=G(),f="prototype",p="script",l=s("IE_PROTO"),h=function(){},v=function(r){return"<"+p+">"+r+""},d=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},y=function(){try{e=new ActiveXObject("htmlfile")}catch(a){}var r,t,n;y="undefined"!=typeof document?document.domain&&e?d(e):(t=u("iframe"),n="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(n),(r=t.contentWindow.document).open(),r.write(v("document.F=Object")),r.close(),r.F):d(e);for(var o=i.length;o--;)delete y[f][i[o]];return y()};a[l]=!0,t.exports=Object.create||function(r,t){var e;return null!==r?(h[f]=n(r),e=new h,h[f]=null,e[l]=r):e=y(),void 0===t?e:o.f(e,t)}}),yr=r((r,t)=>{var e=_(),n=dr(),o=W().f,i=e("unscopables"),a=Array.prototype;void 0===a[i]&&o(a,i,{configurable:!0,value:n(null)}),t.exports=function(r){a[i][r]=!0}}),gr=r(()=>{var r=pr(),t=nr().includes,n=e(),o=yr(),i=n(function(){return!Array(1).includes()}),a=n(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:i||a},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),o("includes")}),mr=r((r,t)=>{var e=s();t.exports=Array.isArray||function(r){return"Array"===e(r)}}),wr=r((r,t)=>{var e=n(),o=mr(),i=TypeError,a=Object.getOwnPropertyDescriptor,c=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();t.exports=c?function(r,t){if(o(r)&&!a(r,"length").writable)throw new i("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t}}),br=r((r,t)=>{var e=TypeError;t.exports=function(r){if(r>9007199254740991)throw new e("Maximum allowed index exceeded");return r}}),xr=r(()=>{var r=pr(),t=M(),n=er(),o=wr(),i=br();r({target:"Array",proto:!0,arity:1,forced:e()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),a=n(e),c=arguments.length;i(a+c);for(var u=0;u{var e=Q(),n=W();t.exports=function(r,t,o){return o.get&&e(o.get,t,{getter:!0}),o.set&&e(o.set,t,{setter:!0}),n.f(r,t,o)}}),Or=r((r,t)=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView}),Sr=r((r,t)=>{var e=u(),n=S();t.exports=function(r,t,o){try{return e(n(Object.getOwnPropertyDescriptor(r,t)[o]))}catch(i){}}}),Ar=r((r,e)=>{var n=t(),o=Sr(),i=s(),a=n.ArrayBuffer,c=n.TypeError;e.exports=a&&o(a.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==i(r))throw new c("ArrayBuffer expected");return r.byteLength}}),Ir=r((r,e)=>{var n=t(),o=Or(),i=Ar(),a=n.DataView;e.exports=function(r){if(!o||0!==i(r))return!1;try{return new a(r),!1}catch(t){return!0}}}),Rr=r(()=>{var r=n(),t=Er(),e=Ir(),o=ArrayBuffer.prototype;r&&!("detached"in o)&&t(o,"detached",{configurable:!0,get:function(){return e(this)}})}),Tr=r((r,t)=>{var e=Z(),n=tr(),o=RangeError;t.exports=function(r){if(void 0===r)return 0;var t=e(r),i=n(t);if(t!==i)throw new o("Wrong length or index");return i}}),kr=r((r,t)=>{var e=Ir(),n=TypeError;t.exports=function(r){if(e(r))throw new n("ArrayBuffer is detached");return r}}),Dr=r((r,e)=>{var n=t(),o=m(),i=s(),a=function(r){return o.slice(0,r.length)===r};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"}),Mr=r((r,t)=>{var e=Dr();t.exports="NODE"===e}),jr=r((r,e)=>{var n=t(),o=Mr();e.exports=function(r){if(o){try{return n.process.getBuiltinModule(r)}catch(t){}try{return Function('return require("'+r+'")')()}catch(t){}}}}),Cr=r((r,n)=>{var o=t(),i=e(),a=w(),c=Dr(),u=o.structuredClone;n.exports=!!u&&!i(function(){if("DENO"===c&&a>92||"NODE"===c&&a>94||"BROWSER"===c&&a>97)return!1;var r=new ArrayBuffer(8),t=u(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}),_r=r((r,e)=>{var n,o,i,a,c=t(),u=jr(),s=Cr(),f=c.structuredClone,p=c.ArrayBuffer,l=c.MessageChannel,h=!1;if(s)h=function(r){f(r,{transfer:[r]})};else if(p)try{l||(n=u("worker_threads"))&&(l=n.MessageChannel),l&&(o=new l,i=new p(2),a=function(r){o.port1.postMessage(null,[r])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(v){}e.exports=h}),Pr=r((r,e)=>{var n=t(),o=u(),i=Sr(),a=Tr(),c=kr(),s=Ar(),f=_r(),p=Cr(),l=n.structuredClone,h=n.ArrayBuffer,v=n.DataView,d=Math.max,y=Math.min,g=h.prototype,m=v.prototype,w=o(g.slice),b=i(g,"resizable","get"),x=i(g,"maxByteLength","get"),E=o(m.getInt8),O=o(m.setInt8);e.exports=(p||f)&&function(r,t,e){var n,o=s(r),i=void 0===t?o:a(t),u=!b||!b(r);if(c(r),p&&(r=l(r,{transfer:[r]}),o===i&&(e||u)))return r;if(o>=i&&(!e||u))n=w(r,0,i);else{n=new h(i,e&&!u&&x?{maxByteLength:d(i,x(r))}:void 0);for(var g=new v(r),m=new v(n),S=y(i,o),A=0;A{var r=pr(),t=Pr();t&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})}),Nr=r(()=>{var r=pr(),t=Pr();t&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})}),Fr=r((r,t)=>{var e=g(),n=TypeError;t.exports=function(r,t){if(e(t,r))return r;throw new n("Incorrect invocation")}}),Br=r((r,t)=>{var n=e();t.exports=!n(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}),Lr=r((r,t)=>{var e=j(),n=v(),o=M(),i=G(),a=Br(),c=i("IE_PROTO"),u=Object,s=u.prototype;t.exports=a?u.getPrototypeOf:function(r){var t=o(r);if(e(t,c))return t[c];var i=t.constructor;return n(i)&&t instanceof i?i.prototype:t instanceof u?s:null}}),zr=r((r,t)=>{var e=n(),o=W(),i=c();t.exports=function(r,t,n){e?o.f(r,t,i(0,n)):r[t]=n}}),Wr=r((r,t)=>{var n,o,i,a=e(),c=v(),u=d(),s=dr(),f=Lr(),p=X(),l=_(),h=R(),y=l("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):g=!0),!u(n)||a(function(){var r={};return n[y].call(r)!==r})?n={}:h&&(n=s(n)),c(n[y])||p(n,y,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}}),Hr=r(()=>{var r=pr(),o=t(),i=Fr(),a=z(),c=v(),u=Lr(),s=Er(),f=zr(),p=e(),l=j(),h=_(),d=Wr().IteratorPrototype,y=n(),g=R(),m="constructor",w="Iterator",b=h("toStringTag"),x=TypeError,E=o[w],O=g||!c(E)||E.prototype!==d||!p(function(){E({})}),S=function(){if(i(this,d),u(this)===d)throw new x("Abstract class Iterator not directly constructable")},A=function(r,t){y?s(d,r,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===d)throw new x("You can't redefine this property");l(this,r)?this[r]=t:f(this,r,t)}}):d[r]=t};l(d,b)||A(b,w),!O&&l(d,m)&&d[m]!==Object||A(m,S),S.prototype=d,r({global:!0,constructor:!0,forced:O},{Iterator:S})}),Vr=r((r,t)=>{var e=s(),n=u();t.exports=function(r){if("Function"===e(r))return n(r)}}),Jr=r((r,t)=>{var e=Vr(),n=S(),i=o(),a=e(e.bind);t.exports=function(r,t){return n(r),void 0===t?r:i?a(r,t):function(){return r.apply(t,arguments)}}}),Yr=r((r,t)=>{t.exports={}}),Gr=r((r,t)=>{var e=_(),n=Yr(),o=e("iterator"),i=Array.prototype;t.exports=function(r){return void 0!==r&&(n.Array===r||i[o]===r)}}),$r=r((r,t)=>{var e={};e[_()("toStringTag")]="z",t.exports="[object z]"===String(e)}),qr=r((r,t)=>{var e=$r(),n=v(),o=s(),i=_()("toStringTag"),a=Object,c="Arguments"===o(function(){return arguments}());t.exports=e?o:function(r){var t,e,u;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=a(r),i))?e:c?o(t):"Object"===(u=o(t))&&n(t.callee)?"Arguments":u}}),Qr=r((r,t)=>{var e=qr(),n=A(),o=p(),i=Yr(),a=_()("iterator");t.exports=function(r){if(!o(r))return n(r,a)||n(r,"@@iterator")||i[e(r)]}}),Xr=r((r,t)=>{var e=i(),n=S(),o=z(),a=O(),c=Qr(),u=TypeError;t.exports=function(r,t){var i=arguments.length<2?c(r):t;if(n(i))return o(e(i,r));throw new u(a(r)+" is not iterable")}}),Kr=r((r,t)=>{var e=i(),n=z(),o=A();t.exports=function(r,t,i){var a,c;n(r);try{if(!(a=o(r,"return"))){if("throw"===t)throw i;return i}a=e(a,r)}catch(u){c=!0,a=u}if("throw"===t)throw i;if(c)throw a;return n(a),i}}),Zr=r((r,t)=>{var e=Jr(),n=i(),o=z(),a=O(),c=Gr(),u=er(),s=g(),f=Xr(),p=Qr(),l=Kr(),h=TypeError,v=function(r,t){this.stopped=r,this.result=t},d=v.prototype;t.exports=function(r,t,i){var y,g,m,w,b,x,E,O=i&&i.that,S=!(!i||!i.AS_ENTRIES),A=!(!i||!i.IS_RECORD),I=!(!i||!i.IS_ITERATOR),R=!(!i||!i.INTERRUPTED),T=e(t,O),k=function(r){var t=y;return y=void 0,t&&l(t,"normal"),new v(!0,r)},D=function(r){return S?(o(r),R?T(r[0],r[1],k):T(r[0],r[1])):R?T(r,k):T(r)};if(A)y=r.iterator;else if(I)y=r;else{if(!(g=p(r)))throw new h(a(r)+" is not iterable");if(c(g)){for(m=0,w=u(r);w>m;m++)if((b=D(r[m]))&&s(d,b))return b;return new v(!1)}y=f(r,g)}for(x=A?r.next:y.next;!(E=n(x,y)).done;){var M=E.value;try{b=D(M)}catch(j){if(!y)throw j;l(y,"throw",j)}if("object"==typeof b&&b&&s(d,b))return b}return new v(!1)}}),rt=r((r,t)=>{t.exports=function(r){return{iterator:r,next:r.next,done:!1}}}),tt=r((r,e)=>{var n=t();e.exports=function(r,t){var e=n.Iterator,o=e&&e.prototype,i=o&&o[r],a=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(c){c instanceof t||(a=!1)}if(!a)return i}}),et=r(()=>{var r=pr(),t=i(),e=Zr(),n=S(),o=z(),a=rt(),c=Kr(),u=tt()("every",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{every:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var i=a(this),s=0;return!e(i,function(t,e){if(!r(t,s++))return e()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),nt=r((r,t)=>{var e=X();t.exports=function(r,t,n){for(var o in t)e(r,o,t[o],n);return r}}),ot=r((r,t)=>{t.exports=function(r,t){return{value:r,done:t}}}),it=r((r,t)=>{var e=Kr();t.exports=function(r,t,n){for(var o=r.length-1;o>=0;o--)if(void 0!==r[o])try{n=e(r[o].iterator,t,n)}catch(i){t="throw",n=i}if("throw"===t)throw n;return n}}),at=r((r,t)=>{var e=i(),n=dr(),o=H(),a=nt(),c=_(),u=q(),s=A(),f=Wr().IteratorPrototype,p=ot(),l=Kr(),h=it(),v=c("toStringTag"),d="IteratorHelper",y="WrapForValidIterator",g="normal",m="throw",w=u.set,b=function(r){var t=u.getterFor(r?y:d);return a(n(f),{next:function(){var e=t(this);if(r)return e.nextHandler();if(e.done)return p(void 0,!0);try{var n=e.nextHandler();return e.returnHandlerResult?n:p(n,e.done)}catch(o){throw e.done=!0,o}},return:function(){var n=t(this),o=n.iterator,i=n.done;if(n.done=!0,r){var a=s(o,"return");return a?e(a,o):p(void 0,!0)}if(i)return p(void 0,!0);if(n.inner)try{l(n.inner.iterator,g)}catch(c){return l(o,m,c)}if(n.openIters)try{h(n.openIters,g)}catch(c){if(o)return l(o,m,c);throw c}return o&&l(o,g),p(void 0,!0)}})},x=b(!0),E=b(!1);o(E,v,"Iterator Helper"),t.exports=function(r,t,e){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?y:d,o.returnHandlerResult=!!e,o.nextHandler=r,o.counter=0,o.done=!1,w(this,o)};return n.prototype=t?x:E,n}}),ct=r((r,t)=>{var e=z(),n=Kr();t.exports=function(r,t,o,i){try{return i?t(e(o)[0],o[1]):t(o)}catch(a){n(r,"throw",a)}}}),ut=r((r,t)=>{t.exports=function(r,t){var e="function"==typeof Iterator&&Iterator.prototype[r];if(e)try{e.call({next:null},t).next()}catch(n){return!0}}}),st=r(()=>{var r=pr(),t=i(),e=S(),n=z(),o=rt(),a=at(),c=ct(),u=R(),s=Kr(),f=ut(),p=tt(),l=!u&&!f("filter",function(){}),h=!u&&!l&&p("filter",TypeError),v=u||l||h,d=a(function(){for(var r,e,o=this.iterator,i=this.predicate,a=this.next;;){if(r=n(t(a,o)),this.done=!!r.done)return;if(e=r.value,c(o,i,[e,this.counter++],!0))return e}});r({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(r){n(this);try{e(r)}catch(i){s(this,"throw",i)}return h?t(h,this,r):new d(o(this),{predicate:r})}})}),ft=r(()=>{var r=pr(),t=i(),e=Zr(),n=S(),o=z(),a=rt(),c=Kr(),u=tt()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{find:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var i=a(this),s=0;return e(i,function(t,e){if(r(t,s++))return e(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}),pt=r(()=>{var r=pr(),t=i(),e=Zr(),n=S(),o=z(),a=rt(),c=Kr(),u=tt()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var i=a(this),s=0;e(i,function(t){r(t,s++)},{IS_RECORD:!0})}})}),lt=r(()=>{var r=pr(),t=i(),e=S(),n=z(),o=rt(),a=at(),c=ct(),u=Kr(),s=ut(),f=tt(),p=R(),l=!p&&!s("map",function(){}),h=!p&&!l&&f("map",TypeError),v=p||l||h,d=a(function(){var r=this.iterator,e=n(t(this.next,r));if(!(this.done=!!e.done))return c(r,this.mapper,[e.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(r){n(this);try{e(r)}catch(i){u(this,"throw",i)}return h?t(h,this,r):new d(o(this),{mapper:r})}})}),ht=r((r,t)=>{var e=o(),n=Function.prototype,i=n.apply,a=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(e?a.bind(i):function(){return a.apply(i,arguments)})}),vt=r(()=>{var r=pr(),t=Zr(),n=S(),o=z(),i=rt(),a=Kr(),c=tt(),u=ht(),s=e(),f=TypeError,p=s(function(){[].keys().reduce(function(){},void 0)}),l=!p&&c("reduce",f);r({target:"Iterator",proto:!0,real:!0,forced:p||l},{reduce:function(r){o(this);try{n(r)}catch(h){a(this,"throw",h)}var e=arguments.length<2,c=e?void 0:arguments[1];if(l)return u(l,this,e?[r]:[r,c]);var s=i(this),p=0;if(t(s,function(t){e?(e=!1,c=t):c=r(c,t,p),p++},{IS_RECORD:!0}),e)throw new f("Reduce of empty iterator with no initial value");return c}})}),dt=r(()=>{var r=pr(),t=i(),e=Zr(),n=S(),o=z(),a=rt(),c=Kr(),u=tt()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{some:function(r){o(this);try{n(r)}catch(f){c(this,"throw",f)}if(u)return t(u,this,r);var i=a(this),s=0;return e(i,function(t,e){if(r(t,s++))return e()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),yt=r((r,t)=>{var e=qr(),n=String;t.exports=function(r){if("Symbol"===e(r))throw new TypeError("Cannot convert a Symbol value to a string");return n(r)}}),gt=r((r,t)=>{var e=u(),n=j(),o=SyntaxError,i=parseInt,a=String.fromCharCode,c=e("".charAt),s=e("".slice),f=e(/./.exec),p={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},l=/^[\da-f]{4}$/i,h=/^[\u0000-\u001F]$/;t.exports=function(r,t){for(var e=!0,u="";t{var r=pr(),o=n(),a=t(),c=y(),s=u(),f=i(),p=v(),l=d(),h=mr(),g=j(),m=yt(),w=er(),x=zr(),E=e(),O=gt(),S=b(),A=a.JSON,I=a.Number,R=a.SyntaxError,T=A&&A.parse,k=c("Object","keys"),D=Object.getOwnPropertyDescriptor,M=s("".charAt),C=s("".slice),_=s(/./.exec),P=s([].push),U=/^\d$/,N=/^[1-9]$/,F=/^[\d-]$/,B=/^[\t\n\r ]$/,L=function(r,t,e,n){var o,i,a,c,u,s=r[t],p=n&&s===n.value,v=p&&"string"==typeof n.source?{source:n.source}:{};if(l(s)){var d=h(s),y=p?n.nodes:d?[]:{};if(d)for(o=y.length,a=w(s),c=0;c{var e=d(),n=q().get;t.exports=function(r){if(!e(r))return!1;var t=n(r);return!!t&&"RawJSON"===t.type}}),bt=r((r,t)=>{var e=u();t.exports=e([].slice)}),xt=r((r,t)=>{var n=e();t.exports=!n(function(){var r="9007199254740993",t=JSON.rawJSON(r);return!JSON.isRawJSON(t)||JSON.stringify(t)!==r})}),Et=r(()=>{var r=pr(),t=y(),n=ht(),o=i(),a=u(),c=e(),f=mr(),p=v(),l=wt(),h=E(),d=s(),g=yt(),m=bt(),w=gt(),x=C(),O=b(),S=xt(),A=String,I=t("JSON","stringify"),R=a(/./.exec),T=a("".charAt),k=a("".charCodeAt),D=a("".replace),M=a("".slice),j=a([].push),_=a(1.1.toString),P=/[\uD800-\uDFFF]/g,U=/^[\uD800-\uDBFF]$/,N=/^[\uDC00-\uDFFF]$/,F=x(),B=F.length,L=!O||c(function(){var r=t("Symbol")("stringify detection");return"[null]"!==I([r])||"{}"!==I({a:r})||"{}"!==I(Object(r))}),z=c(function(){return'"\\udf06\\ud834"'!==I("\udf06\ud834")||'"\\udead"'!==I("\udead")}),W=L?function(r,t){var e=m(arguments),i=V(t);if(p(i)||void 0!==r&&!h(r))return e[1]=function(r,t){if(p(i)&&(t=o(i,this,A(r),t)),!h(t))return t},n(I,null,e)}:I,H=function(r,t,e){var n=T(e,t-1),o=T(e,t+1);return R(U,r)&&!R(N,o)||R(N,r)&&!R(U,n)?"\\u"+_(k(r,0),16):r},V=function(r){if(p(r))return r;if(f(r)){for(var t=r.length,e=[],n=0;n{var e=u(),n=Map.prototype;t.exports={Map:Map,set:e(n.set),get:e(n.get),has:e(n.has),remove:e(n.delete),proto:n}}),St=r(()=>{var r=pr(),t=Ot(),e=R(),n=t.get,o=t.has,i=t.set;r({target:"Map",proto:!0,real:!0,forced:e},{getOrInsert:function(r,t){return o(this,r)?n(this,r):(i(this,r,t),t)}})}),At=r(()=>{var r=pr(),t=S(),e=Ot(),n=R(),o=e.get,i=e.has,a=e.set;r({target:"Map",proto:!0,real:!0,forced:n},{getOrInsertComputed:function(r,e){var n=i(this,r);if(t(e),n)return o(this,r);0===r&&1/r==-1/0&&(r=0);var c=e(r);return a(this,r,c),c}})}),It=r((r,n)=>{var o=t(),i=e(),a=o.RegExp,c=!i(function(){var r=!0;try{a(".","d")}catch(u){r=!1}var t={},e="",n=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in r&&(i.hasIndices="d"),i)o(c,i[c]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(t)!==n||e!==n});n.exports={correct:c}}),Rt=r((r,t)=>{var e=z();t.exports=function(){var r=e(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t}}),Tt=r(()=>{var r=n(),t=Er(),e=It(),o=Rt();r&&!e.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:o}),e.correct=!0)}),kt=r((r,t)=>{var e=u(),n=Set.prototype;t.exports={Set:Set,add:e(n.add),has:e(n.has),remove:e(n.delete),proto:n}}),Dt=r((r,t)=>{var e=kt().has;t.exports=function(r){return e(r),r}}),Mt=r((r,t)=>{var e=i();t.exports=function(r,t,n){for(var o,i,a=n?r:r.iterator,c=r.next;!(o=e(c,a)).done;)if(void 0!==(i=t(o.value)))return i}}),jt=r((r,t)=>{var e=u(),n=Mt(),o=kt(),i=o.Set,a=o.proto,c=e(a.forEach),s=e(a.keys),f=s(new i).next;t.exports=function(r,t,e){return e?n({iterator:s(r),next:f},t):c(r,t)}}),Ct=r((r,t)=>{var e=kt(),n=jt(),o=e.Set,i=e.add;t.exports=function(r){var t=new o;return n(r,function(r){i(t,r)}),t}}),_t=r((r,t)=>{var e=Sr(),n=kt();t.exports=e(n.proto,"size","get")||function(r){return r.size}}),Pt=r((r,t)=>{var e=S(),n=z(),o=i(),a=Z(),c=rt(),u="Invalid size",s=RangeError,f=TypeError,p=Math.max,l=function(r,t){this.set=r,this.size=p(t,0),this.has=e(r.has),this.keys=e(r.keys)};l.prototype={getIterator:function(){return c(n(o(this.keys,this.set)))},includes:function(r){return o(this.has,this.set,r)}},t.exports=function(r){n(r);var t=+r.size;if(t!=t)throw new f(u);var e=a(t);if(e<0)throw new s(u);return new l(r,e)}}),Ut=r((r,t)=>{var e=Dt(),n=kt(),o=Ct(),i=_t(),a=Pt(),c=jt(),u=Mt(),s=n.has,f=n.remove;t.exports=function(r){var t=e(this),n=a(r),p=o(t);return i(p)<=n.size?c(p,function(r){n.includes(r)&&f(p,r)}):u(n.getIterator(),function(r){s(p,r)&&f(p,r)}),p}}),Nt=r((r,t)=>{var e=y(),n=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(r,t){var i=e("Set");try{(new i)[r](n(0));try{return(new i)[r](n(-1)),!1}catch(a){if(!t)return!0;try{return(new i)[r](o(-1/0)),!1}catch(c){return t(new i([1,2])[r](o(1/0)))}}}catch(c){return!1}}}),Ft=r(()=>{var r=pr(),t=Ut(),n=e();r({target:"Set",proto:!0,real:!0,forced:!Nt()("difference",function(r){return 0===r.size})||n(function(){var r={size:1,has:function(){return!0},keys:function(){var r=0;return{next:function(){var e=r++>1;return t.has(1)&&t.clear(),{done:e,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}),Bt=r((r,t)=>{var e=Dt(),n=kt(),o=_t(),i=Pt(),a=jt(),c=Mt(),u=n.Set,s=n.add,f=n.has;t.exports=function(r){var t=e(this),n=i(r),p=new u;return o(t)>n.size?c(n.getIterator(),function(r){f(t,r)&&s(p,r)}):a(t,function(r){n.includes(r)&&s(p,r)}),p}}),Lt=r(()=>{var r=pr(),t=e(),n=Bt();r({target:"Set",proto:!0,real:!0,forced:!Nt()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}),zt=r((r,t)=>{var e=Dt(),n=kt().has,o=_t(),i=Pt(),a=jt(),c=Mt(),u=Kr();t.exports=function(r){var t=e(this),s=i(r);if(o(t)<=s.size)return!1!==a(t,function(r){if(s.includes(r))return!1},!0);var f=s.getIterator();return!1!==c(f,function(r){if(n(t,r))return u(f.iterator,"normal",!1)})}}),Wt=r(()=>{var r=pr(),t=zt();r({target:"Set",proto:!0,real:!0,forced:!Nt()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}),Ht=r((r,t)=>{var e=Dt(),n=_t(),o=jt(),i=Pt();t.exports=function(r){var t=e(this),a=i(r);return!(n(t)>a.size)&&!1!==o(t,function(r){if(!a.includes(r))return!1},!0)}}),Vt=r(()=>{var r=pr(),t=Ht();r({target:"Set",proto:!0,real:!0,forced:!Nt()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}),Jt=r((r,t)=>{var e=Dt(),n=kt().has,o=_t(),i=Pt(),a=Mt(),c=Kr();t.exports=function(r){var t=e(this),u=i(r);if(o(t){var r=pr(),t=Jt();r({target:"Set",proto:!0,real:!0,forced:!Nt()("isSupersetOf",function(r){return!r})},{isSupersetOf:t})}),Gt=r((r,t)=>{var e=Dt(),n=kt(),o=Ct(),i=Pt(),a=Mt(),c=n.add,u=n.has,s=n.remove;t.exports=function(r){var t=e(this),n=i(r).getIterator(),f=o(t);return a(n,function(r){u(t,r)?s(f,r):c(f,r)}),f}}),$t=r((r,t)=>{t.exports=function(r){try{var t=new Set,e=t[r]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===e.size&&4===e.values().next().value}catch(n){return!1}}}),qt=r(()=>{var r=pr(),t=Gt(),e=$t();r({target:"Set",proto:!0,real:!0,forced:!Nt()("symmetricDifference")||!e("symmetricDifference")},{symmetricDifference:t})}),Qt=r((r,t)=>{var e=Dt(),n=kt().add,o=Ct(),i=Pt(),a=Mt();t.exports=function(r){var t=e(this),c=i(r).getIterator(),u=o(t);return a(c,function(r){n(u,r)}),u}}),Xt=r(()=>{var r=pr(),t=Qt(),e=$t();r({target:"Set",proto:!0,real:!0,forced:!Nt()("union")||!e("union")},{union:t})}),Kt=r((r,t)=>{var e=d();t.exports=function(r){return e(r)||null===r}}),Zt=r((r,t)=>{var e=Kt(),n=String,o=TypeError;t.exports=function(r){if(e(r))return r;throw new o("Can't set "+n(r)+" as a prototype")}}),re=r((r,t)=>{var e=Sr(),n=d(),o=l(),i=Zt();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,a={};try{(r=e(Object.prototype,"__proto__","set"))(a,[]),t=a instanceof Array}catch(c){}return function(e,a){return o(e),i(a),n(e)?(t?r(e,a):e.__proto__=a,e):e}}():void 0)}),te=r((r,e)=>{var o,i,a,c=Or(),u=n(),s=t(),f=v(),p=d(),l=j(),h=qr(),y=O(),m=H(),w=X(),b=Er(),x=g(),E=Lr(),S=re(),A=_(),I=C(),R=q(),T=R.enforce,k=R.get,D=s.Int8Array,M=D&&D.prototype,P=s.Uint8ClampedArray,U=P&&P.prototype,N=D&&E(D),F=M&&E(M),B=Object.prototype,L=s.TypeError,z=A("toStringTag"),W=I("TYPED_ARRAY_TAG"),V="TypedArrayConstructor",J=c&&!!S&&"Opera"!==h(s.opera),Y=!1,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},Q=function(r){var t=E(r);if(p(t)){var e=k(t);return e&&l(e,V)?e[V]:Q(t)}},K=function(r){if(!p(r))return!1;var t=h(r);return l(G,t)||l($,t)};for(o in G)(a=(i=s[o])&&i.prototype)?T(a)[V]=i:J=!1;for(o in $)(a=(i=s[o])&&i.prototype)&&(T(a)[V]=i);if((!J||!f(N)||N===Function.prototype)&&(N=function(){throw new L("Incorrect invocation")},J))for(o in G)s[o]&&S(s[o],N);if((!J||!F||F===B)&&(F=N.prototype,J))for(o in G)s[o]&&S(s[o].prototype,F);if(J&&E(U)!==F&&S(U,F),u&&!l(F,z))for(o in Y=!0,b(F,z,{configurable:!0,get:function(){return p(this)?this[W]:void 0}}),G)s[o]&&m(s[o].prototype,W,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:J,TYPED_ARRAY_TAG:Y&&W,aTypedArray:function(r){if(K(r))return r;throw new L("Target is not a typed array")},aTypedArrayConstructor:function(r){if(f(r)&&(!S||x(N,r)))return r;throw new L(y(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(u){if(e)for(var o in G){var i=s[o];if(i&&l(i.prototype,r))try{delete i.prototype[r]}catch(a){try{i.prototype[r]=t}catch(c){}}}F[r]&&!e||w(F,r,e?t:J&&M[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(u){if(S){if(e)for(n in G)if((o=s[n])&&l(o,r))try{delete o[r]}catch(i){}if(N[r]&&!e)return;try{return w(N,r,e?t:J&&N[r]||t)}catch(i){}}for(n in G)!(o=s[n])||o[r]&&!e||w(o,r,t)}},getTypedArrayConstructor:Q,isView:function(r){if(!p(r))return!1;var t=h(r);return"DataView"===t||l(G,t)||l($,t)},isTypedArray:K,TypedArray:N,TypedArrayPrototype:F}}),ee=r(()=>{var r=er(),t=te(),e=t.aTypedArray,n=t.exportTypedArrayMethod,o=t.getTypedArrayConstructor;n("toReversed",function(){for(var t=e(this),n=r(t),i=new(o(t))(n),a=0;a{var e=er();t.exports=function(r,t,n){for(var o=0,i=arguments.length>2?n:e(t),a=new r(i);i>o;)a[o]=t[o++];return a}}),oe=r(()=>{var r=te(),t=u(),e=S(),n=ne(),o=r.aTypedArray,i=r.getTypedArrayConstructor,a=r.exportTypedArrayMethod,c=t(r.TypedArrayPrototype.sort);a("toSorted",function(r){void 0!==r&&e(r);var t=o(this);return c(n(i(t),t),r)})}),ie=r((r,t)=>{var e=qr();t.exports=function(r){var t=e(r);return"BigInt64Array"===t||"BigUint64Array"===t}}),ae=r((r,t)=>{var e=P(),n=TypeError;t.exports=function(r){var t=e(r,"number");if("number"==typeof t)throw new n("Can't convert number to bigint");return BigInt(t)}}),ce=r(()=>{var r=te(),t=ie(),e=er(),n=Z(),o=ae(),i=r.aTypedArray,a=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=RangeError,s=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}(),f=s&&function(){try{new Int8Array(1).with(-.5,1)}catch(r){return!0}}();c("with",{with:function(r,c){var s=i(this),f=e(s),p=n(r),l=p<0?f+p:p,h=t(s)?o(c):+c;if(l>=f||l<0)throw new u("Incorrect index");for(var v=new(a(s))(f),d=0;d{var e=d(),n=String,o=TypeError;t.exports=function(r){if(void 0===r||e(r))return r;throw new o(n(r)+" is not an object or undefined")}}),se=r((r,t)=>{var e=TypeError;t.exports=function(r){if("string"==typeof r)return r;throw new e("Argument is not a string")}}),fe=r((r,t)=>{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=e+"+/",o=e+"-_",i=function(r){for(var t={},e=0;e<64;e++)t[r.charAt(e)]=e;return t};t.exports={i2c:n,c2i:i(n),i2cUrl:o,c2iUrl:i(o)}}),pe=r((r,t)=>{var e=TypeError;t.exports=function(r){var t=r&&r.alphabet;if(void 0===t||"base64"===t||"base64url"===t)return t||"base64";throw new e("Incorrect `alphabet` option")}}),le=r((r,e)=>{var n=t(),o=u(),i=ue(),a=se(),c=j(),s=fe(),f=pe(),p=kr(),l=s.c2i,h=s.c2iUrl,v=n.SyntaxError,d=n.TypeError,y=o("".charAt),g=function(r,t){for(var e=r.length;t>16&255,o>>8&255,255&o];if(2===n){if(e&&0!==i[1])throw new v("Extra bits");return[i[0]]}if(3===n){if(e&&0!==i[2])throw new v("Extra bits");return[i[0],i[1]]}return i},w=function(r,t,e){for(var n=t.length,o=0;o0){if("stop-before-partial"===u)break;if("loose"!==u)throw new v("Missing padding");if(1===O.length)throw new v("Malformed padding: exactly one additional character");x=w(b,m(O,o,!1),x)}E=s;break}var A=y(r,S);if(++S,"="===A){if(O.length<2)throw new v("Padding is too early");if(S=g(r,S),2===O.length){if(S===s){if("stop-before-partial"===u)break;throw new v("Malformed padding: only one =")}"="===y(r,S)&&(++S,S=g(r,S))}if(S{var e=qr(),n=TypeError;t.exports=function(r){if("Uint8Array"===e(r))return r;throw new n("Argument is not an Uint8Array")}}),ve=r(()=>{var r=pr(),e=t(),n=le(),o=he(),i=e.Uint8Array,a=!i||!i.prototype.setFromBase64||!function(){var r=new i([255,255,255,255,255]);try{return void r.setFromBase64("",null)}catch(t){}try{return void r.setFromBase64("a")}catch(t){}try{r.setFromBase64("MjYyZg===")}catch(t){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();i&&r({target:"Uint8Array",proto:!0,forced:a},{setFromBase64:function(r){o(this);var t=n(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})}),de=r((r,e)=>{var n=t(),o=u(),i=n.Uint8Array,a=n.SyntaxError,c=Math.min,s=o("".match);e.exports=function(r,t){var e=r.length;if(e%2!=0)throw new a("String should be an even number of characters");for(var n=t?c(t.length,e/2):e/2,o=t||new i(n),u=s(r,/.{2}/g),f=0;f>4}return{bytes:o,read:f<<1}}}),ye=r(()=>{var r=pr(),e=t(),n=se(),o=he(),i=kr(),a=de();e.Uint8Array&&r({target:"Uint8Array",proto:!0,forced:function(){try{new Uint8Array(new ArrayBuffer(16,{maxByteLength:1024})).setFromHex("cafed00d")}catch(r){return!0}}()},{setFromHex:function(r){o(this),n(r),i(this.buffer);var t=a(r,this).read;return{read:t,written:t/2}}})}),ge=r(()=>{var r=pr(),e=t(),n=u(),o=ue(),i=he(),a=kr(),c=fe(),s=pe(),f=c.i2c,p=c.i2cUrl,l=n("".charAt),h=e.Uint8Array,v=!h||!h.prototype.toBase64||!function(){try{(new h).toBase64(null)}catch(r){return!0}}();h&&r({target:"Uint8Array",proto:!0,forced:v},{toBase64:function(){var r=i(this),t=arguments.length?o(arguments[0]):void 0,e="base64"===s(t)?f:p,n=!!t&&!!t.omitPadding;a(this.buffer);for(var c,u="",h=0,v=r.length,d=function(r){return l(e,c>>6*r&63)};h+2{var r=pr(),e=t(),n=u(),o=he(),i=kr(),a=n(1.1.toString),c=n([].join),s=Array,f=e.Uint8Array,p=!f||!f.prototype.toHex||!function(){try{return"ffffffffffffffff"===new f([255,255,255,255,255,255,255,255]).toHex()}catch(r){return!1}}();f&&r({target:"Uint8Array",proto:!0,forced:p},{toHex:function(){o(this),i(this.buffer);for(var r=s(this.length),t=0,e=this.length;t{var e=u(),n=WeakMap.prototype;t.exports={WeakMap:WeakMap,set:e(n.set),get:e(n.get),has:e(n.has),remove:e(n.delete)}}),be=r(()=>{var r=pr(),t=we(),e=R(),n=t.get,o=t.has,i=t.set;r({target:"WeakMap",proto:!0,real:!0,forced:e},{getOrInsert:function(r,t){return o(this,r)?n(this,r):(i(this,r,t),t)}})}),xe=r((r,t)=>{var e=we().has;t.exports=function(r){return e(r),r}}),Ee=r((r,t)=>{var e=we(),n=new e.WeakMap,o=e.set,i=e.remove;t.exports=function(r){return o(n,r,1),i(n,r),r}}),Oe=r(()=>{var r=pr(),t=S(),e=xe(),n=Ee(),o=we(),i=R(),a=o.get,c=o.has,u=o.set;r({target:"WeakMap",proto:!0,real:!0,forced:i||!function(){try{WeakMap.prototype.getOrInsertComputed&&(new WeakMap).getOrInsertComputed(1,function(){throw 1})}catch(r){return r instanceof TypeError}}()},{getOrInsertComputed:function(r,o){if(i||e(this),n(r),t(o),c(this,r))return a(this,r);var s=o(r);return u(this,r,s),s}})}),Se=r((r,t)=>{var e=v(),n=d(),o=re();t.exports=function(r,t,i){var a,c;return o&&e(a=t.constructor)&&a!==i&&n(c=a.prototype)&&c!==i.prototype&&o(r,c),r}}),Ae=r((r,t)=>{var e=yt();t.exports=function(r,t){return void 0===r?arguments.length<2?"":t:e(r)}}),Ie=r((r,t)=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}}),Re=r((r,t)=>{var e=u(),n=Error,o=e("".replace),i=String(new n("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(i);t.exports=function(r,t){if(c&&"string"==typeof r&&!n.prepareStackTrace)for(;t--;)r=o(r,a,"");return r}}),Te=r(()=>{var r=pr(),e=t(),o=y(),i=c(),a=W().f,u=j(),s=Fr(),f=Se(),p=Ae(),l=Ie(),h=Re(),v=n(),d=R(),g="DOMException",m=o("Error"),w=o(g),b=function(){s(this,x);var r=arguments.length,t=p(r<1?void 0:arguments[0]),e=new w(t,p(r<2?void 0:arguments[1],"Error")),n=new m(t);return n.name=g,a(e,"stack",i(1,h(n.stack,1))),f(e,this,b),e},x=b.prototype=w.prototype,E="stack"in new m(g),O="stack"in new w(1,2),S=w&&v&&Object.getOwnPropertyDescriptor(e,g),A=!(!S||S.writable&&S.configurable),I=E&&!A&&!O;r({global:!0,constructor:!0,forced:d||I},{DOMException:I?b:w});var T=o(g),k=T.prototype;if(k.constructor!==T)for(var D in d||a(k,"constructor",i(1,T)),l)if(u(l,D)){var M=l[D],C=M.s;u(T,C)||a(T,C,i(6,M.c))}}),ke=r((r,t)=>{var e=TypeError;t.exports=function(r,t){if(r{var r=X(),t=u(),e=yt(),n=ke(),o=URLSearchParams,i=o.prototype,a=t(i.append),c=t(i.delete),s=t(i.forEach),f=t([].push),p=new o("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(i,"delete",function(r){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return c(this,r);var i=[];s(this,function(r,t){f(i,{key:t,value:r})}),n(t,1);for(var u,p=e(r),l=e(o),h=0,v=i.length;h{var r=X(),t=u(),e=yt(),n=ke(),o=URLSearchParams,i=o.prototype,a=t(i.getAll),c=t(i.has),s=new o("a=1");!s.has("a",2)&&s.has("a",void 0)||r(i,"has",function(r){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return c(this,r);var i=a(this,r);n(t,1);for(var u=e(o),s=0;s{var r=n(),t=u(),e=Er(),o=URLSearchParams.prototype,i=t(o.forEach);r&&!("size"in o)&&e(o,"size",{get:function(){var r=0;return i(this,function(){r++}),r},configurable:!0,enumerable:!0})}),Ce=r((r,e)=>{var n=t();e.exports=function(r,t){var e=n[r],o=e&&e.prototype;return o&&o[t]}}),_e=r(()=>{var r=pr(),t=u(),e=S(),n=h(),o=ne(),i=Ce(),a=yr(),c=Array,s=t(i("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(r){return void 0!==r&&e(r),s(o(c,n(this)),r)}}),a("toSorted")}),Pe=r((r,t)=>{var e=i(),n=z(),o=rt(),a=Qr();t.exports=function(r,t){t&&"string"==typeof r||n(r);var i=a(r);return o(n(void 0!==i?e(i,r):r))}}),Ue=r(()=>{var r=pr(),t=i(),e=S(),n=z(),o=rt(),a=Pe(),c=at(),u=Kr(),s=R(),f=ut(),p=tt();var l=!s&&!f("flatMap",function(){}),h=!s&&!l&&p("flatMap",TypeError),v=s||l||h||function(){try{var r=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),function(r){return r});r.next(),r.return()}catch(t){return!0}}(),d=c(function(){for(var r,e,o=this.iterator,i=this.mapper;;){if(e=this.inner)try{if(!(r=n(t(e.next,e.iterator))).done)return r.value;this.inner=null}catch(c){u(o,"throw",c)}if(r=n(t(this.next,o)),this.done=!!r.done)return;try{this.inner=a(i(r.value,this.counter++),!1)}catch(c){u(o,"throw",c)}}});r({target:"Iterator",proto:!0,real:!0,forced:v},{flatMap:function(r){n(this);try{e(r)}catch(i){u(this,"throw",i)}return h?t(h,this,r):new d(o(this),{mapper:r,inner:null})}})}),Ne=r((r,t)=>{var e=Jr(),n=u(),o=f(),i=M(),a=U(),c=er(),s=dr(),p=ne(),l=Array,h=n([].push);t.exports=function(r,t,n,u){for(var f,v,d,y=i(r),g=o(y),m=e(t,n),w=s(null),b=c(g),x=0;b>x;x++)d=g[x],(v=a(m(d,x,y)))in w?h(w[v],d):w[v]=[d];if(u&&(f=u(y))!==l)for(v in w)w[v]=p(f,w[v]);return w}}),Fe=r(()=>{var r=pr(),t=Ne(),e=yr();r({target:"Array",proto:!0},{group:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("group")}),Be=r(()=>{var r=pr(),e=t(),n=se(),o=de();e.Uint8Array&&r({target:"Uint8Array",stat:!0},{fromHex:function(r){return o(n(r)).bytes}})}),Le=r(()=>{var r=pr(),t=z(),e=zr(),n=Zr(),o=rt();r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var r=[],i=0;return n(o(t(this)),function(t){e(r,i++,t)},{IS_RECORD:!0}),r}})}),ze=r((r,t)=>{var e=m();t.exports=/ipad|iphone|ipod/i.test(e)&&/applewebkit/i.test(e)}),We=r((r,n)=>{var o,i,a,c,u=t(),s=ht(),f=Jr(),p=v(),l=j(),h=e(),d=vr(),y=bt(),g=N(),m=ke(),w=ze(),b=Mr(),x=u.setImmediate,E=u.clearImmediate,O=u.process,S=u.Dispatch,A=u.Function,I=u.MessageChannel,R=u.String,T=0,k={},D="onreadystatechange";h(function(){o=u.location});var M=function(r){if(l(k,r)){var t=k[r];delete k[r],t()}},C=function(r){return function(){M(r)}},_=function(r){M(r.data)},P=function(r){u.postMessage(R(r),o.protocol+"//"+o.host)};x&&E||(x=function(r){m(arguments.length,1);var t=p(r)?r:A(r),e=y(arguments,1);return k[++T]=function(){s(t,void 0,e)},i(T),T},E=function(r){delete k[r]},b?i=function(r){O.nextTick(C(r))}:S&&S.now?i=function(r){S.now(C(r))}:I&&!w?(c=(a=new I).port2,a.port1.onmessage=_,i=f(c.postMessage,c)):u.addEventListener&&p(u.postMessage)&&!u.importScripts&&o&&"file:"!==o.protocol&&!h(P)?(i=P,u.addEventListener("message",_,!1)):i=D in g("script")?function(r){d.appendChild(g("script"))[D]=function(){d.removeChild(this),M(r)}}:function(r){setTimeout(C(r),0)}),n.exports={set:x,clear:E}}),He=r(()=>{var r=pr(),e=t(),n=We().clear;r({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==n},{clearImmediate:n})}),Ve=r((r,e)=>{var n,o=t(),i=ht(),a=v(),c=Dr(),u=m(),s=bt(),f=ke(),p=o.Function,l=/MSIE .\./.test(u)||"BUN"===c&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(r,t){var e=t?2:1;return l?function(n,o){var c=f(arguments.length,1)>e,u=a(n)?n:p(n),l=c?s(arguments,e):[],h=c?function(){i(u,this,l)}:u;return t?r(h,o):r(h)}:r}}),Je=r(()=>{var r=pr(),e=t(),n=We().set,o=Ve(),i=e.setImmediate?o(n,!1):n;r({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==i},{setImmediate:i})}),Ye=r(()=>{He(),Je()}),Ge=r((r,t)=>{var e=RangeError;t.exports=function(r){if(r==r)return r;throw new e("NaN is not allowed")}}),$e=r((r,t)=>{var e=Z(),n=RangeError;t.exports=function(r){var t=e(r);if(t<0)throw new n("The argument can't be less than 0");return t}}),qe=r(()=>{var r=pr(),t=i(),e=z(),n=rt(),o=Ge(),a=$e(),c=Kr(),u=at(),s=ut(),f=tt(),p=R(),l=!p&&!s("drop",0),h=!p&&!l&&f("drop",RangeError),v=p||l||h,d=u(function(){for(var r,n=this.iterator,o=this.next;this.remaining;)if(this.remaining--,r=e(t(o,n)),this.done=!!r.done)return;if(r=e(t(o,n)),!(this.done=!!r.done))return r.value});r({target:"Iterator",proto:!0,real:!0,forced:v},{drop:function(r){var i;e(this);try{i=a(o(+r))}catch(u){c(this,"throw",u)}return h?t(h,this,i):new d(n(this),{remaining:i})}})}),Qe=r(()=>{var r=pr(),t=er(),e=h(),n=zr(),o=yr(),i=Array;r({target:"Array",proto:!0},{toReversed:function(){for(var r=e(this),o=t(r),a=new i(o),c=0;c{var r=pr(),t=yr(),e=br(),n=er(),o=rr(),i=h(),a=Z(),c=zr(),u=Array,s=Math.max,f=Math.min;r({target:"Array",proto:!0},{toSpliced:function(r,t){var p,l,h,v,d=i(this),y=n(d),g=o(r,y),m=arguments.length,w=0;for(0===m?p=l=0:1===m?(p=0,l=y-g):(p=m-2,l=f(s(a(t),0),y-g)),h=e(y+p-l),v=u(h);w{var n=u(),o=e(),i=v(),a=qr(),c=y(),s=J(),f=function(){},p=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,h=n(l.exec),d=!l.test(f),g=function(r){if(!i(r))return!1;try{return p(f,[],r),!0}catch(t){return!1}},m=function(r){if(!i(r))return!1;switch(a(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(l,s(r))}catch(t){return!0}};m.sham=!0,t.exports=!p||o(function(){var r;return g(g.call)||!g(Object)||!g(function(){r=!0})||r})?m:g}),Ze=r((r,t)=>{var e=i(),n=j(),o=g(),a=It(),c=Rt(),u=RegExp.prototype;t.exports=a.correct?function(r){return r.flags}:function(r){return a.correct||!o(u,r)||n(r,"flags")?r.flags:e(c,r)}}),rn=r((r,t)=>{var n=e(),o=c();t.exports=!n(function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",o(1,7)),7!==r.stack)})}),tn=r(()=>{var r,n=R(),o=pr(),i=t(),a=y(),c=u(),s=e(),f=C(),l=v(),h=Ke(),g=p(),m=d(),w=E(),b=Zr(),x=z(),O=qr(),S=j(),A=zr(),I=H(),T=er(),k=ke(),D=Ze(),M=Ot(),_=kt(),P=jt(),U=_r(),N=rn(),F=Cr(),B=i.Object,L=i.Array,W=i.Date,V=i.Error,J=i.TypeError,Y=i.PerformanceMark,G=a("DOMException"),$=M.Map,q=M.has,Q=M.get,X=M.set,K=_.Set,Z=_.add,rr=_.has,tr=a("Object","keys"),nr=c([].push),or=c((!0).valueOf),ir=c(1.1.valueOf),ar=c("".valueOf),cr=c(W.prototype.getTime),ur=f("structuredClone"),sr="DataCloneError",fr="Transferring",lr=function(r){return!s(function(){var t=new i.Set([7]),e=r(t),n=r(B(7));return e===t||!e.has(7)||!m(n)||7!==+n})&&r},hr=function(r,t){return!s(function(){var e=new t,n=r({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof t&&n.a.stack===e.stack)})},vr=i.structuredClone,dr=n||!hr(vr,V)||!hr(vr,G)||(r=vr,!!s(function(){var t=r(new i.AggregateError([1],ur,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==ur||3!==t.cause})),yr=!vr&&lr(function(r){return new Y(ur,{detail:r}).detail}),gr=lr(vr)||yr,mr=function(r){throw new G("Uncloneable type: "+r,sr)},wr=function(r,t){throw new G((t||"Cloning")+" of "+r+" cannot be properly polyfilled in this engine",sr)},br=function(r,t){return gr||wr(t),gr(r)},xr=function(r,t,e){if(q(t,r))return Q(t,r);var n,o,a,c,u,s;if("SharedArrayBuffer"===(e||O(r)))n=gr?gr(r):r;else{var f=i.DataView;f||l(r.slice)||wr("ArrayBuffer");try{if(l(r.slice)&&!r.resizable)n=r.slice(0);else{o=r.byteLength,a="maxByteLength"in r?{maxByteLength:r.maxByteLength}:void 0,n=new ArrayBuffer(o,a),c=new f(r),u=new f(n);for(s=0;s1&&!g(arguments[1])?x(arguments[1]):void 0,o=n?n.transfer:void 0;void 0!==o&&(e=function(r,t){if(!m(r))throw new J("Transfer option cannot be converted to a sequence");var e=[];b(r,function(r){nr(e,x(r))});for(var n,o,a,c,u,s=0,f=T(e),p=new K;se.length&&"/"!==n[n.length-1]))return n+r.slice(e.length);c("W2",e,n)}}function c(t,e,n){console.warn(r(t,[n,e].join(", ")))}function u(r,t,e){for(var n=r.scopes,o=e&&i(e,n);o;){var c=a(t,n[o]);if(c)return c;o=i(o.slice(0,o.lastIndexOf("/")),n)}return a(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[A]={}}function f(t,e,n,o){var i=t[A][e];if(i)return i;var a=[],c=Object.create(null);S&&Object.defineProperty(c,S,{value:"Module"});var u=Promise.resolve().then(function(){return t.instantiate(e,n,o)}).then(function(n){if(!n)throw Error(r(2,e));var o=n[1](function(r,t){i.h=!0;var e=!1;if("string"==typeof r)r in c&&c[r]===t||(c[r]=t,e=!0);else{for(var n in r)t=r[n],n in c&&c[n]===t||(c[n]=t,e=!0);r&&r.__esModule&&(c.__esModule=r.__esModule)}if(e)for(var o=0;o-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),t.dispatchEvent(e)}return Promise.reject(r)})}else if("systemjs-importmap"===t.type){t.sp=!0;var n=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,priority:t.fetchPriority,passThrough:!0}).then(function(r){if(!r.ok)throw Error(r.status);return r.text()}).catch(function(e){return e.message=r("W4",t.src)+"\n"+e.message,console.warn(e),"function"==typeof t.onerror&&t.onerror(),"{}"}):t.innerHTML;D=D.then(function(){return n}).then(function(e){!function(t,e,n){var i={};try{i=JSON.parse(e)}catch(a){console.warn(Error(r("W5")))}o(i,n,t)}(M,e,t.src||d)})}})}var d,y="undefined"!=typeof Symbol,g="undefined"!=typeof self,m="undefined"!=typeof document,w=g?self:global;if(m){var b=document.querySelector("base[href]");b&&(d=b.href)}if(!d&&"undefined"!=typeof location){var x=(d=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==x&&(d=d.slice(0,x+1))}var E,O=/\\/g,S=y&&Symbol.toStringTag,A=y?Symbol():"@",I=s.prototype;I.import=function(r,t,e){var n=this;return t&&"object"==typeof t&&(e=t,t=void 0),Promise.resolve(n.prepareImport()).then(function(){return n.resolve(r,t,e)}).then(function(r){var t=f(n,r,void 0,e);return t.C||l(n,t)})},I.createContext=function(r){var t=this;return{url:r,resolve:function(e,n){return Promise.resolve(t.resolve(e,n||r))}}},I.register=function(r,t,e){E=[r,t,e]},I.getRegister=function(){var r=E;return E=void 0,r};var R=Object.freeze(Object.create(null));w.System=new s;var T,k,D=Promise.resolve(),M={imports:{},scopes:{},depcache:{},integrity:{}},j=m;if(I.prepareImport=function(r){return(j||r)&&(v(),j=!1),D},I.getImportMap=function(){return JSON.parse(JSON.stringify(M))},m&&(v(),window.addEventListener("DOMContentLoaded",v)),I.addImportMap=function(r,t){o(r,t||d,M)},m){window.addEventListener("error",function(r){_=r.filename,P=r.error});var C=location.origin}I.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(C+"/")&&(t.crossOrigin="anonymous");var e=M.integrity[r];return e&&(t.integrity=e),t.src=r,t};var _,P,U={},N=I.register;I.register=function(r,t){if(m&&"loading"===document.readyState&&"string"!=typeof r){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){T=r;var o=this;k=setTimeout(function(){U[n.src]=[r,t],o.import(n.src)})}}else T=void 0;return N.call(this,r,t)},I.instantiate=function(t,e){var n=U[t];if(n)return delete U[t],n;var o=this;return Promise.resolve(I.createScript(t)).then(function(n){return new Promise(function(i,a){n.addEventListener("error",function(){a(Error(r(3,[t,e].join(", "))))}),n.addEventListener("load",function(){if(document.head.removeChild(n),_===t)a(P);else{var r=o.getRegister(t);r&&r[0]===T&&clearTimeout(k),i(r)}}),document.head.appendChild(n)})})},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var F=I.instantiate,B=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(t,e,n){var o=this;return this.shouldFetch(t,e,n)?this.fetch(t,{credentials:"same-origin",integrity:M.integrity[t],meta:n}).then(function(n){if(!n.ok)throw Error(r(7,[n.status,n.statusText,t,e].join(", ")));var i=n.headers.get("content-type");if(!i||!B.test(i))throw Error(r(4,i));return n.text().then(function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),o.getRegister(t)})}):F.apply(this,arguments)},I.resolve=function(e,n){return u(M,t(e,n=n||d)||e,n)||function(t,e){throw Error(r(8,[t,e].join(", ")))}(e,n)};var L=I.instantiate;I.instantiate=function(r,t,e){var n=M.depcache[r];if(n)for(var o=0;o>r&n)}:{h:Number(e>>r&n)|0,l:Number(e&n)|0}}function a(e,t=!1){let n=e.length,r=new Uint32Array(n),a=new Uint32Array(n);for(let o=0;oe/2**32|0,s=e=>e>>>0;function c(e,t,n,r){let i=o(n),a=s(n);e.setUint32(t,r?a:i,r),e.setUint32(t+4,r?i:a,r)}function l(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`&&`BYTES_PER_ELEMENT`in e&&e.BYTES_PER_ELEMENT===1}var u=e=>e?`"${e}" `:``;function d(e,t=``){if(typeof e!=`number`)throw TypeError(u(t)+`expected number, got `+typeof e);if(!Number.isSafeInteger(e)||e<0)throw RangeError(u(t)+`expected integer >= 0, got `+e);return e}function f(e,t,n=``){if(l(e)&&(t===void 0||e.length===t))return e;t!==void 0&&d(t,`length`);let r=l(e),i=t===void 0?``:` of length ${t}`,a=r?`length=${e.length}`:`type=${typeof e}`,o=u(n)+`expected Uint8Array`+i+`, got `+a;throw r?RangeError(o):TypeError(o)}var p=(e,t)=>{if(typeof e!=`object`||!e||Array.isArray(e))throw TypeError((t===`object`?``:`"${t}" `)+`expected object, got type=`+typeof e)};function m(e,t=!0){if(e.destroyed)throw Error(`hash was destroyed`);if(t&&e.finished)throw Error(`digest() was already called`)}function h(e,t){f(e,void 0,`output`);let n=t.outputLen;if(!(e.length>=n))throw RangeError(`"output" expected length >= `+n)}function g(...e){for(let t=0;t>>t}new Uint8Array(new Uint32Array([287454020]).buffer)[0];var y=typeof Uint8Array.from([]).toHex==`function`&&typeof Uint8Array.fromHex==`function`,b=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function x(e){if(f(e),y)return e.toHex();let t=``;for(let n=0;ne(n).update(t).digest(),r=e(void 0);return n.outputLen=r.outputLen,n.blockLen=r.blockLen,n.canXOF=r.canXOF,n.create=t=>e(t),Object.assign(n,t),Object.freeze(n)}var w=e=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,e])});function T(e,t,n){return e&t^~e&n}function E(e,t,n){return e&t^e&n^t&n}var D=class{constructor(t,n,r,i){e(this,`blockLen`,void 0),e(this,`outputLen`,void 0),e(this,`canXOF`,!1),e(this,`padOffset`,void 0),e(this,`isLE`,void 0),e(this,`buffer`,void 0),e(this,`view`,void 0),e(this,`finished`,!1),e(this,`length`,0),e(this,`pos`,0),e(this,`destroyed`,!1),this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(t),this.view=_(this.buffer)}update(e){m(this),f(e);let{view:t,buffer:n,blockLen:r}=this,i=e.length,a=!1;for(let o=0;or-a&&(this.process(n,0),t.fill(0)),c(n,r-8,this.length*8,i),this.process(n,0),this.roundClean();let o=e===t?n:_(e),s=this.outputLen,l=s/4,u=this.get();if(s%4||l>u.length)throw Error(`invalid outputLen`);for(let e=0;e>>3;A[e]=(v(n,17)^v(n,19)^n>>>10)+A[e-7]+r+A[e-16]|0}let{A:n,B:r,C:i,D:a,E:o,F:s,G:c,H:l}=this;for(let e=0;e<64;e++){let t=v(o,6)^v(o,11)^v(o,25),u=l+t+T(o,s,c)+k[e]+A[e]|0,d=(v(n,2)^v(n,13)^v(n,22))+E(n,r,i)|0;l=c,c=s,s=o,o=a+u|0,a=i,i=r,r=n,n=u+d|0}n=n+this.A|0,r=r+this.B|0,i=i+this.C|0,a=a+this.D|0,o=o+this.E|0,s=s+this.F|0,c=c+this.G|0,l=l+this.H|0,this.set(n,r,i,a,o,s,c,l)}roundClean(){g(A)}destroy(){this.destroyed=!0,this.set(0,0,0,0,0,0,0,0),g(this.buffer)}},M=class extends j{constructor(){super(32,O)}},N=a(`0x428a2f98d728ae22.0x7137449123ef65cd.0xb5c0fbcfec4d3b2f.0xe9b5dba58189dbbc.0x3956c25bf348b538.0x59f111f1b605d019.0x923f82a4af194f9b.0xab1c5ed5da6d8118.0xd807aa98a3030242.0x12835b0145706fbe.0x243185be4ee4b28c.0x550c7dc3d5ffb4e2.0x72be5d74f27b896f.0x80deb1fe3b1696b1.0x9bdc06a725c71235.0xc19bf174cf692694.0xe49b69c19ef14ad2.0xefbe4786384f25e3.0x0fc19dc68b8cd5b5.0x240ca1cc77ac9c65.0x2de92c6f592b0275.0x4a7484aa6ea6e483.0x5cb0a9dcbd41fbd4.0x76f988da831153b5.0x983e5152ee66dfab.0xa831c66d2db43210.0xb00327c898fb213f.0xbf597fc7beef0ee4.0xc6e00bf33da88fc2.0xd5a79147930aa725.0x06ca6351e003826f.0x142929670a0e6e70.0x27b70a8546d22ffc.0x2e1b21385c26c926.0x4d2c6dfc5ac42aed.0x53380d139d95b3df.0x650a73548baf63de.0x766a0abb3c77b2a8.0x81c2c92e47edaee6.0x92722c851482353b.0xa2bfe8a14cf10364.0xa81a664bbc423001.0xc24b8b70d0f89791.0xc76c51a30654be30.0xd192e819d6ef5218.0xd69906245565a910.0xf40e35855771202a.0x106aa07032bbd1b8.0x19a4c116b8d2d0c8.0x1e376c085141ab53.0x2748774cdf8eeb99.0x34b0bcb5e19b48a8.0x391c0cb3c5c95a63.0x4ed8aa4ae3418acb.0x5b9cca4f7763e373.0x682e6ff3d6b2b8a3.0x748f82ee5defb2fc.0x78a5636f43172f60.0x84c87814a1f0ab72.0x8cc702081a6439ec.0x90befffa23631e28.0xa4506cebde82bde9.0xbef9a3f7b2c67915.0xc67178f2e372532b.0xca273eceea26619c.0xd186b8c721c0c207.0xeada7dd6cde0eb1e.0xf57d4f7fee6ed178.0x06f067aa72176fba.0x0a637dc5a2c898a6.0x113f9804bef90dae.0x1b710b35131c471b.0x28db77f523047d84.0x32caab7b40c72493.0x3c9ebe0a15c9bebc.0x431d67c49c100d4c.0x4cc5d4becb3e42b6.0x597f299cfc657e2a.0x5fcb6fab3ad6faec.0x6c44198c4a475817`.split(`.`).map(e=>BigInt(e)));N[0],N[1];var P=C(()=>new M,w(1)),F=class extends Error{};async function I(e){let n=x(P(new TextEncoder().encode(e))),r;try{r=await (async () => ({ ok: true, json: async () => ({ signature: "offline-bypass-" + (typeof n !== "undefined" ? n : "x"), algorithm: "Ed25519" }) }))() || fetch(`/apiv2/utils/v1/signatures`,{method:`POST`,headers:{...await t(),"Content-Type":`application/json`},body:JSON.stringify({data:n})})}catch(e){throw new F(`pptx 导出签名失败: 网络错误`,{cause:e})}if(!r.ok)throw new F(`pptx 导出签名失败: HTTP ${r.status}`);let i=await r.json();if(!i.signature)throw new F(`pptx 导出签名失败: 响应缺少 signature`);return i.signature}export{I as n,F as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/pptdExportSignature-legacy-Dm26KY_f.js b/editor/neo-ppt/assets/pptdExportSignature-legacy-Dm26KY_f.js new file mode 100644 index 0000000..76c85d8 --- /dev/null +++ b/editor/neo-ppt/assets/pptdExportSignature-legacy-Dm26KY_f.js @@ -0,0 +1 @@ +System.register(["./const-legacy-Bw9iWaro.js","./preload-helper-legacy-CKCAnWGV.js","./common-utils-legacy-BUVwbO7W.js","./index-legacy-Ce-qKpT_.js"],function(t,e){var n,i,s,r,c,o,f,a,h,d,b,u,x,l,p,y,g,w,E,A;function m(t,e=!1){return e?{h:Number(t&s),l:Number(t>>r&s)}:{h:0|Number(t>>r&s),l:0|Number(t&s)}}function v(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&"Uint8Array"===t.constructor.name&&"BYTES_PER_ELEMENT"in t&&1===t.BYTES_PER_ELEMENT}function L(t,e,n=""){if(v(t)&&(void 0===e||t.length===e))return t;void 0!==e&&function(t,e=""){if("number"!=typeof t)throw new TypeError(f(e)+"expected number, got "+typeof t);if(!Number.isSafeInteger(t)||t<0)throw new RangeError(f(e)+"expected integer >= 0, got "+t)}(e,"length");const i=v(t),s=void 0!==e?` of length ${e}`:"",r=i?`length=${t.length}`:"type="+typeof t,c=f(n)+"expected Uint8Array"+s+", got "+r;if(!i)throw new TypeError(c);throw new RangeError(c)}function U(t,e=!0){if(t.destroyed)throw new Error("hash was destroyed");if(e&&t.finished)throw new Error("digest() was already called")}function T(...t){for(let e=0;e>>e}function O(t,e={}){if("function"!=typeof t)throw new TypeError('"hashCons" expected function, got type='+typeof t);e=function(t,e,n="opts"){return a(t,"defaults"),void 0!==e&&a(e,n),Object.assign(t,e)}({},e,"info");const n=(e,n)=>t(n).update(e).digest(),i=t(void 0);return n.outputLen=i.outputLen,n.blockLen=i.blockLen,n.canXOF=i.canXOF,n.create=e=>t(e),Object.assign(n,e),Object.freeze(n)}function C(t,e,n){return t&e^~t&n}function H(t,e,n){return t&e^t&n^e&n}return t("n",async function(t){const e=function(t){if(L(t),h)return t.toHex();let e="";for(let n=0;n({signature:"offline-bypass",algorithm:"Ed25519"})})),"Content-Type":"application/json"},body:JSON.stringify({data:e})})}catch(r){throw new A("pptx 导出签名失败: 网络错误",{cause:r})}if(!n.ok)throw new A(`pptx 导出签名失败: HTTP ${n.status}`);const s=await n.json();if(!s.signature)throw new A("pptx 导出签名失败: 响应缺少 signature");return s.signature}),{setters:[function(t){},function(t){t.t},function(t){n=t.o},function(t){i=t.s}],execute:function(){s=BigInt(2**32-1),r=BigInt(32),c=t=>t/2**32|0,o=t=>t>>>0,f=t=>t?`"${t}" `:"",a=(t,e)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw new TypeError(("object"===e?"":`"${e}" `)+"expected object, got type="+typeof t)},new Uint8Array(new Uint32Array([287454020]).buffer)[0],h="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,d=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0")),b=t=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,t])}),u=class{constructor(t,e,i,s){n(this,"blockLen",void 0),n(this,"outputLen",void 0),n(this,"canXOF",!1),n(this,"padOffset",void 0),n(this,"isLE",void 0),n(this,"buffer",void 0),n(this,"view",void 0),n(this,"finished",!1),n(this,"length",0),n(this,"pos",0),n(this,"destroyed",!1),this.blockLen=t,this.outputLen=e,this.padOffset=i,this.isLE=s,this.buffer=new Uint8Array(t),this.view=j(this.buffer)}update(t){U(this),L(t);const{view:e,buffer:n,blockLen:i}=this,s=t.length;let r=!1;for(let c=0;c=n))throw new RangeError('"output" expected length >= '+n)}(t,this),this.finished=!0;const{buffer:e,view:n,blockLen:i,isLE:s}=this;let{pos:r}=this;e[r++]=128,e.fill(0,r),this.padOffset>i-r&&(this.process(n,0),e.fill(0)),function(t,e,n,i){const s=c(n),r=o(n);t.setUint32(e,i?r:s,i),t.setUint32(e+4,i?s:r,i)}(n,i-8,8*this.length,s),this.process(n,0),this.roundClean();const f=t===e?n:j(t),a=this.outputLen,h=a/4,d=this.get();if(a%4||h>d.length)throw new Error("invalid outputLen");for(let c=0;c>>3;p[h]=(B(e,17)^B(e,19)^e>>>10)+p[h-7]+n+p[h-16]|0}let{A:n,B:i,C:s,D:r,E:c,F:o,G:f,H:a}=this;for(let h=0;h<64;h++){const t=a+(B(c,6)^B(c,11)^B(c,25))+C(c,o,f)+l[h]+p[h]|0,e=(B(n,2)^B(n,13)^B(n,22))+H(n,i,s)|0;a=f,f=o,o=c,c=r+t|0,r=s,s=i,i=n,n=t+e|0}n=n+this.A|0,i=i+this.B|0,s=s+this.C|0,r=r+this.D|0,c=c+this.E|0,o=o+this.F|0,f=f+this.G|0,a=a+this.H|0,this.set(n,i,s,r,c,o,f,a)}roundClean(){T(p)}destroy(){this.destroyed=!0,this.set(0,0,0,0,0,0,0,0),T(this.buffer)}},g=class extends y{constructor(){super(32,x)}},(w=function(t,e=!1){const n=t.length;let i=new Uint32Array(n),s=new Uint32Array(n);for(let r=0;rBigInt(t))))[0],w[1],E=O(()=>new g,b(1)),t("t",A=class extends Error{})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm b/editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm new file mode 100644 index 0000000..9b6f722 Binary files /dev/null and b/editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm differ diff --git a/editor/neo-ppt/assets/preload-helper-NECkhNH4.js b/editor/neo-ppt/assets/preload-helper-NECkhNH4.js new file mode 100644 index 0000000..7bb99d1 --- /dev/null +++ b/editor/neo-ppt/assets/preload-helper-NECkhNH4.js @@ -0,0 +1 @@ +var e=`modulepreload`,t=function(e){return e.startsWith(`http`)||e.startsWith(`/`)||e.startsWith(`./neo-ppt/`)?e:`./neo-ppt/`+e.replace(/^\.\//,``)},n={},r=function(r,i,a){let o=Promise.resolve();if(i&&i.length>0){let r=document.getElementsByTagName(`link`),s=document.querySelector(`meta[property=csp-nonce]`),c=s?.nonce||s?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}o=l(i.map(i=>{if(i=t(i,a),i in n)return;n[i]=!0;let o=i.endsWith(`.css`),s=o?`[rel="stylesheet"]`:``;if(a)for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.href===i&&(!o||t.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;let l=document.createElement(`link`);if(l.rel=o?`stylesheet`:e,o||(l.as=`script`),l.crossOrigin=``,l.href=i,c&&l.setAttribute(`nonce`,c),document.head.appendChild(l),o)return new Promise((e,t)=>{l.addEventListener(`load`,e),l.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${i}`)))})}))}function s(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(e=>{for(let t of e||[])t.status===`rejected`&&s(t.reason);return r().catch(s)})};export{r as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/preload-helper-legacy-CKCAnWGV.js b/editor/neo-ppt/assets/preload-helper-legacy-CKCAnWGV.js new file mode 100644 index 0000000..d0826f9 --- /dev/null +++ b/editor/neo-ppt/assets/preload-helper-legacy-CKCAnWGV.js @@ -0,0 +1 @@ +System.register([],function(e,t){return{setters:[],execute:function(){e("t",function(e,t,n){let r=Promise.resolve();function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/prosemirror-KiX6ZXa-.js b/editor/neo-ppt/assets/prosemirror-KiX6ZXa-.js new file mode 100644 index 0000000..e44816a --- /dev/null +++ b/editor/neo-ppt/assets/prosemirror-KiX6ZXa-.js @@ -0,0 +1,10 @@ +function e(e){this.content=e}e.prototype={constructor:e,find:function(e){for(var t=0;t>1}},e.from=function(t){if(t instanceof e)return t;var n=[];if(t)for(var r in t)n.push(r,t[r]);return new e(n)};function t(e,n,r){for(let i=0;;i++){if(i==e.childCount||i==n.childCount)return e.childCount==n.childCount?null:r;let a=e.child(i),o=n.child(i);if(a==o){r+=a.nodeSize;continue}if(!a.sameMarkup(o))return r;if(a.isText&&a.text!=o.text){for(let e=0;a.text[e]==o.text[e];e++)r++;return r}if(a.content.size||o.content.size){let e=t(a.content,o.content,r+1);if(e!=null)return e}r+=a.nodeSize}}function n(e,t,r,i){for(let a=e.childCount,o=t.childCount;;){if(a==0||o==0)return a==o?null:{a:r,b:i};let s=e.child(--a),c=t.child(--o),l=s.nodeSize;if(s==c){r-=l,i-=l;continue}if(!s.sameMarkup(c))return{a:r,b:i};if(s.isText&&s.text!=c.text){let e=0,t=Math.min(s.text.length,c.text.length);for(;ee&&n(s,r+o,i||null,a)!==!1&&s.content.size){let i=o+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}o=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i=``,a=!0;return this.nodesBetween(e,t,(o,s)=>{let c=o.isText?o.text.slice(Math.max(e,s)-s,t-s):o.isLeaf?r?typeof r==`function`?r(o):r:o.type.spec.leafText?o.type.spec.leafText(o):``:``;o.isBlock&&(o.isLeaf&&c||o.isTextblock)&&n&&(a?a=!1:i+=n),i+=c},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),a=1);at)for(let e=0,a=0;at&&((an)&&(o=o.isText?o.cut(Math.max(0,t-a),Math.min(o.text.length,n-a)):o.cut(Math.max(0,t-a-1),Math.min(o.content.size,n-a-1))),r.push(o),i+=o.nodeSize),a=s}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:t==0&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,a)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;tthis.size||e<0)throw RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=this.child(t),i=n+r.nodeSize;if(i>=e)return i==e?a(t+1,i):a(t,n);n=i}}toString(){return`<`+this.toStringInner()+`>`}toStringInner(){return this.content.join(`, `)}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw RangeError(`Invalid input for Fragment.fromJSON`);return new e(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let e=0;ethis.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;te.type.rank-t.type.rank),n}};s.none=[];var c=class extends Error{},l=class e{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=d(this.content,t+this.openStart,n);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(u(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+`(`+this.openStart+`,`+this.openEnd+`)`}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(t,n){if(!n)return e.empty;let i=n.openStart||0,a=n.openEnd||0;if(typeof i!=`number`||typeof a!=`number`)throw RangeError(`Invalid input for Slice.fromJSON`);return new e(r.fromJSON(t,n.content),i,a)}static maxOpen(t,n=!0){let r=0,i=0;for(let e=t.firstChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.firstChild)r++;for(let e=t.lastChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.lastChild)i++;return new e(t,r,i)}};l.empty=new l(r.empty,0,0);function u(e,t,n){let{index:r,offset:i}=e.findIndex(t),a=e.maybeChild(r),{index:o,offset:s}=e.findIndex(n);if(i==t||a.isText){if(s!=n&&!e.child(o).isText)throw RangeError(`Removing non-flat range`);return e.cut(0,t).append(e.cut(n))}if(r!=o)throw RangeError(`Removing non-flat range`);return e.replaceChild(r,a.copy(u(a.content,t-i-1,n-i-1)))}function d(e,t,n,r){let{index:i,offset:a}=e.findIndex(t),o=e.maybeChild(i);if(a==t||o.isText)return r&&!r.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=d(o.content,t-a-1,n,o);return s&&e.replaceChild(i,o.copy(s))}function f(e,t,n){if(n.openStart>e.depth)throw new c(`Inserted content deeper than insertion position`);if(e.depth-n.openStart!=t.depth-n.openEnd)throw new c(`Inconsistent open depths`);return p(e,t,n,0)}function p(e,t,n,r){let i=e.index(r),a=e.node(r);if(i==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function _(e,t,n,r){let i=(t||e).node(n),a=0,o=t?t.index(n):i.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&(g(e.nodeAfter,r),a++));for(let e=a;ea&&h(e,t,a+1),s=i.depth>a&&h(n,i,a+1),c=[];return _(null,e,a,c),o&&s&&t.index(a)==n.index(a)?(m(o,s),g(v(o,y(e,t,n,i,a+1)),c)):(o&&g(v(o,b(e,t,a+1)),c),_(t,n,a,c),s&&g(v(s,b(n,i,a+1)),c)),_(i,null,a,c),new r(c)}function b(e,t,n){let i=[];return _(null,e,n,i),e.depth>n&&g(v(h(e,t,n+1),b(e,t,n+1)),i),_(t,null,n,i),new r(i)}function ee(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)i=t.node(e).copy(r.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}var te=class e{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position before the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position after the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[t*3],r=t==0?0:this.path[t*3-1]+1;for(let t=0;t0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new ae(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=t.content.size))throw RangeError(`Position `+n+` out of range`);let r=[],i=0,a=n;for(let e=t;;){let{index:t,offset:n}=e.content.findIndex(a),o=a-n;if(r.push(e,t,i+n),!o||(e=e.child(t),e.isText))break;a=o-1,i+=n+1}return new e(n,r,a)}static resolveCached(t,n){let r=ie.get(t);if(r)for(let e=0;ee&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+=`(`+this.content.toStringInner()+`)`),le(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error(`Called contentMatchAt on a node with invalid content`);return t}canReplace(e,t,n=r.empty,i=0,a=n.childCount){let o=this.contentMatchAt(e).matchFragment(n,i,a),s=o&&o.matchFragment(this.content,t);if(!s||!s.validEnd)return!1;for(let e=i;ee.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Node.fromJSON`);let n;if(t.marks){if(!Array.isArray(t.marks))throw RangeError(`Invalid mark data for Node.fromJSON`);n=t.marks.map(e.markFromJSON)}if(t.type==`text`){if(typeof t.text!=`string`)throw RangeError(`Invalid text node in JSON`);return e.text(t.text,n)}let i=r.fromJSON(e,t.content),a=e.nodeType(t.type).create(t.attrs,i,n);return a.type.checkAttrs(a.attrs),a}};se.prototype.text=void 0;var ce=class e extends se{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw RangeError(`Empty text nodes are not allowed`);this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):le(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function le(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+`(`+t+`)`;return t}var ue=class e{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new de(t,n);if(r.next==null)return e.empty;let i=fe(r);r.next&&r.err(`Unexpected trailing text`);let a=Se(ye(i));return Ce(a,r),a}matchType(e){for(let t=0;te.createAndFill()));for(let e=0;e=this.next.length)throw RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(n){e.push(n);for(let r=0;r{let r=n+(t.validEnd?`*`:` `)+` `;for(let n=0;n`+e.indexOf(t.next[n].next);return r}).join(` +`)}};ue.empty=new ue(!0);var de=class{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==``&&this.tokens.pop(),this.tokens[0]==``&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw SyntaxError(e+` (in content expression '`+this.string+`')`)}};function fe(e){let t=[];do t.push(pe(e));while(e.eat(`|`));return t.length==1?t[0]:{type:`choice`,exprs:t}}function pe(e){let t=[];do t.push(me(e));while(e.next&&e.next!=`)`&&e.next!=`|`);return t.length==1?t[0]:{type:`seq`,exprs:t}}function me(e){let t=ve(e);for(;;)if(e.eat(`+`))t={type:`plus`,expr:t};else if(e.eat(`*`))t={type:`star`,expr:t};else if(e.eat(`?`))t={type:`opt`,expr:t};else if(e.eat(`{`))t=ge(e,t);else break;return t}function he(e){/\D/.test(e.next)&&e.err(`Expected number, got '`+e.next+`'`);let t=Number(e.next);return e.pos++,t}function ge(e,t){let n=he(e),r=n;return e.eat(`,`)&&(r=e.next==`}`?-1:he(e)),e.eat(`}`)||e.err(`Unclosed braced range`),{type:`range`,min:n,max:r,expr:t}}function _e(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let e in n){let r=n[e];r.isInGroup(t)&&i.push(r)}return i.length==0&&e.err(`No node type or group '`+t+`' found`),i}function ve(e){if(e.eat(`(`)){let t=fe(e);return e.eat(`)`)||e.err(`Missing closing paren`),t}else if(/\W/.test(e.next))e.err(`Unexpected token '`+e.next+`'`);else{let t=_e(e,e.next).map(t=>(e.inline==null?e.inline=t.isInline:e.inline!=t.isInline&&e.err(`Mixing inline and block content`),{type:`name`,value:t}));return e.pos++,t.length==1?t[0]:{type:`choice`,exprs:t}}}function ye(e){let t=[[]];return i(a(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}function a(e,t){if(e.type==`choice`)return e.exprs.reduce((e,n)=>e.concat(a(n,t)),[]);if(e.type==`seq`)for(let r=0;;r++){let o=a(e.exprs[r],t);if(r==e.exprs.length-1)return o;i(o,t=n())}else if(e.type==`star`){let o=n();return r(t,o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`plus`){let o=n();return i(a(e.expr,t),o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`opt`)return[r(t)].concat(a(e.expr,t));else if(e.type==`range`){let o=t;for(let t=0;t{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e{r||i.push([t,r=[]]),r.indexOf(e)==-1&&r.push(e)})})});let a=t[r.join(`,`)]=new ue(r.indexOf(e.length-1)>-1);for(let e=0;e-1}get whitespace(){return this.spec.whitespace||(this.spec.code?`pre`:`normal`)}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Te(this.attrs,e)}create(e=null,t,n){if(this.isText)throw Error(`NodeType.create can't construct text nodes`);return new se(this,this.computeAttrs(e),r.from(t),s.setFrom(n))}createChecked(e=null,t,n){return t=r.from(t),this.checkContent(t),new se(this,this.computeAttrs(e),t,s.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),t=r.from(t),t.size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let i=this.contentMatch.matchFragment(t),a=i&&i.fillBefore(r.empty,!0);return a?new se(this,e,t.append(a),s.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;tr[t]=new e(t,n,i));let i=n.spec.topNode||`doc`;if(!r[i])throw RangeError(`Schema is missing its top node type ('`+i+`')`);if(!r.text)throw RangeError(`Every schema needs a 'text' type`);for(let e in r.text.attrs)throw RangeError(`The text node type should not have attributes`);return r}};function ke(e,t,n){let r=n.split(`|`);return n=>{let i=n===null?`null`:typeof n;if(r.indexOf(i)<0)throw RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}var Ae=class{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,`default`),this.default=n.default,this.validate=typeof n.validate==`string`?ke(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}},je=class e{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=De(e,r.attrs),this.excluded=null;let i=we(this.attrs);this.instance=i?new s(this,i):null}create(e=null){return!e&&this.instance?this.instance:new s(this,Te(this.attrs,e))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((t,a)=>r[t]=new e(t,i++,n,a)),r}removeFromSet(e){for(var t=0;t-1}},Me=class{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let e in t)n[e]=t[e];n.nodes=e.from(t.nodes),n.marks=e.from(t.marks||{}),this.nodes=Oe.compile(this.spec.nodes,this),this.marks=je.compile(this.spec.marks,this);let r=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw RangeError(e+` can not be both a node and a mark`);let t=this.nodes[e],n=t.spec.content||``,i=t.spec.marks;if(t.contentMatch=r[n]||(r[n]=ue.parse(n,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError(`Multiple linebreak nodes defined`);if(!t.isInline||!t.isLeaf)throw RangeError(`Linebreak replacement nodes must be inline leaf nodes`);this.linebreakReplacement=t}t.markSet=i==`_`?null:i?Ne(this,i.split(` `)):i==``||!t.inlineContent?[]:null}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=n==null?[t]:n==``?[]:Ne(this,n.split(` `))}this.nodeFromJSON=e=>se.fromJSON(this,e),this.markFromJSON=e=>s.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||`doc`],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if(typeof e==`string`)e=this.nodeType(e);else if(!(e instanceof Oe))throw RangeError(`Invalid node type: `+e);else if(e.schema!=this)throw RangeError(`Node type from different schema used (`+e.name+`)`);return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new ce(n,n.defaultAttrs,e,s.setFrom(t))}mark(e,t){return typeof e==`string`&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw RangeError(`Unknown node type: `+e);return t}};function Ne(e,t){let n=[];for(let r=0;r-1)&&n.push(o=r)}if(!o)throw SyntaxError(`Unknown mark type: '`+t[r]+`'`)}return n}function Pe(e){return e.tag!=null}function Fe(e){return e.style!=null}var Ie=class e{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(Pe(e))this.tags.push(e);else if(Fe(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new Ge(this,t,!1);return n.addAll(e,s.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Ge(this,t,!0);return n.addAll(e,s.none,t.from,t.to),l.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;re.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(e===!1)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=e.priority==null?50:e.priority,r=0;for(;r{n(e=Je(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})}for(let t in e.nodes){let r=e.nodes[t].spec.parseDOM;r&&r.forEach(e=>{n(e=Je(e)),e.node||e.ignore||e.mark||(e.node=t)})}return t}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}},Le={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Re={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ze={ol:!0,ul:!0},Be=1,Ve=2,He=4;function Ue(e,t,n){return t==null?e&&e.whitespace==`pre`?Be|Ve:n&~He:(t?Be:0)|(t===`full`?Ve:0)}var We=class{constructor(e,t,n,r,i,a){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=a,this.content=[],this.activeMarks=s.none,this.match=i||(a&He?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(r.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let t=this.type.contentMatch,n;return(n=t.findWrapping(e.type))?(this.match=t,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Be)){let e=this.content[this.content.length-1],t;if(e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))){let n=e;e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-t[0].length))}}let t=r.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(r.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Le.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}},Ge=class{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r=t.topNode,i,a=Ue(null,t.preserveWhitespace,0)|(n?He:0);i=r?new We(r.type,r.attrs,s.none,!0,t.topMatch||r.type.contentMatch,a):n?new We(null,null,s.none,!0,null,a):new We(e.schema.topNodeType,null,s.none,!0,null,a),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=r.options&Ve?`full`:this.localPreserveWS||(r.options&Be)>0,{schema:a}=this.parser;if(i===`full`||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(!i){if(n=n.replace(/[ \t\r\n\u000c]+/g,` `),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],i=e.previousSibling;(!t||i&&i.nodeName==`BR`||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}}else if(i===`full`)n=n.replace(/\r\n?/g,` +`);else if(a.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(a.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n!n.clearMark(e)):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),n.consuming===!1)e=n;else break}}return t}addElementByRule(e,t,n,r){let i,a;if(t.node)if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),n,e.nodeName==`BR`)||this.leafFallback(e,n);else{let e=this.enter(a,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;typeof t.contentElement==`string`?r=e.querySelector(t.contentElement):typeof t.contentElement==`function`?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let a=n?e.childNodes[n]:e.firstChild,o=r==null?null:e.childNodes[r];a!=o;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let t=this.open,a=0;t>=0;t--){let o=this.nodes[t],s=o.findWrapping(e);if(s&&(!r||r.length>s.length+a)&&(r=s,i=o,!s.length))break;if(o.solid){if(n)break;a+=2}}if(!r)return null;this.sync(i);for(let e=0;e(a.type?a.type.allowsMarkType(t.type):Ye(t.type,e))?(c=t.addToSet(c),!1):!0),this.nodes.push(new We(e,t,c,r,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;else this.localPreserveWS&&(this.nodes[t].options|=Be);return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split(`/`),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),i=-(n?n.depth+1:0)+ +!r,a=(e,o)=>{for(;e>=0;e--){let s=t[e];if(s==``){if(e==t.length-1||e==0)continue;for(;o>=i;o--)if(a(e-1,o))return!0;return!1}else{let e=o>0||o==0&&r?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;o--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}};function Ke(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=t.nodeType==1?t.nodeName.toLowerCase():null;e&&ze.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):e==`li`?n=t:e&&(n=null)}}function qe(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Je(e){let t={};for(let n in e)t[n]=e[n];return t}function Ye(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let a=[],o=e=>{a.push(e);for(let n=0;n{if(i.length||e.marks.length){let n=0,a=0;for(;n=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&nt(Qe(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return nt(e,t,n,r)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(e){let t=Ze(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return Ze(e.marks)}};function Ze(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Qe(e){return e.document||window.document}var $e=new WeakMap;function et(e){let t=$e.get(e);return t===void 0&&$e.set(e,t=tt(e)),t}function tt(e){let t=null;function n(e){if(e&&typeof e==`object`)if(Array.isArray(e))if(typeof e[0]==`string`)t||(t=[]),t.push(e);else for(let t=0;t-1)throw RangeError(`Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.`);let o=i.indexOf(` `);o>0&&(n=i.slice(0,o),i=i.slice(o+1));let s,c=n?e.createElementNS(n,i):e.createElement(i),l=t[1],u=1;if(l&&typeof l==`object`&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let e in l)if(l[e]!=null){let t=e.indexOf(` `);t>0?c.setAttributeNS(e.slice(0,t),e.slice(t+1),l[e]):e==`style`&&c.style?c.style.cssText=l[e]:c.setAttribute(e,l[e])}}for(let i=u;iu)throw RangeError(`Content hole must be the only child of its parent node`);return{dom:c,contentDOM:c}}else{let{dom:t,contentDOM:i}=nt(e,a,n,r);if(c.appendChild(t),i){if(s)throw RangeError(`Multiple content holes`);s=i}}}return{dom:c,contentDOM:s}}var rt=65535,it=2**16;function at(e,t){return e+t*it}function ot(e){return e&rt}function st(e){return(e-(e&rt))/it}var ct=1,lt=2,ut=4,dt=8,ft=class{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(this.delInfo&dt)>0}get deletedBefore(){return(this.delInfo&(ct|ut))>0}get deletedAfter(){return(this.delInfo&(lt|ut))>0}get deletedAcross(){return(this.delInfo&ut)>0}},pt=class e{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}recover(e){let t=0,n=ot(e);if(!this.inverted)for(let e=0;ee)break;let c=this.ranges[o+i],l=this.ranges[o+a],u=s+c;if(e<=u){let i=c?e==s?-1:e==u?1:t:t,a=s+r+(i<0?0:l);if(n)return a;let d=e==(t<0?s:u)?null:at(o/3,e-s),f=e==s?lt:e==u?ct:ut;return(t<0?e!=s:e!=u)&&(f|=dt),new ft(a,f,d)}r+=l-c}return n?e+r:new ft(e+r,0,null)}touches(e,t){let n=0,r=ot(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let t=0;te)break;let s=this.ranges[t+i];if(e<=o+s&&t==r*3)return!0;n+=this.ranges[t+a]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),r!=null&&r>t?n-r-1:void 0)}}invert(){let t=new e;return t.appendMappingInverted(this),t}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;nn&&t!e.isAtom||!t.type.allowsMarkType(this.mark.type)?e:e.mark(this.mark.addToSet(e.marks)),r),t.openStart,t.openEnd);return S.fromReplace(e,this.from,this.to,i)}invert(){return new vt(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`addMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for AddMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};x.jsonID(`addMark`,_t);var vt=class e extends x{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new l(gt(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return S.fromReplace(e,this.from,this.to,n)}invert(){return new _t(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`removeMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for RemoveMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};x.jsonID(`removeMark`,vt);var yt=class e extends x{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return S.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return S.fromReplace(e,this.pos,this.pos+1,new l(r.from(n),0,+!t.isLeaf))}invert(t){let n=t.nodeAt(this.pos);if(n){let t=this.mark.addToSet(n.marks);if(t.length==n.marks.length){for(let r=0;rr.pos?null:new e(n.pos,r.pos,i,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:`replaceAround`,from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`||typeof n.gapFrom!=`number`||typeof n.gapTo!=`number`||typeof n.insert!=`number`)throw RangeError(`Invalid input for ReplaceAroundStep.fromJSON`);return new e(n.from,n.to,n.gapFrom,n.gapTo,l.fromJSON(t,n.slice),n.insert,!!n.structure)}};x.jsonID(`replaceAround`,w);function xt(e,t,n){let r=e.resolve(t),i=n-t,a=r.depth;for(;i>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,i--;if(i>0){let e=r.node(a).maybeChild(r.indexAfter(a));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function St(e,t,n,r){let i=[],a=[],o,s;e.doc.nodesBetween(t,n,(e,c,l)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&l.type.allowsMarkType(r.type)){let l=Math.max(c,t),d=Math.min(c+e.nodeSize,n),f=r.addToSet(u);for(let e=0;ee.step(t)),a.forEach(t=>e.step(t))}function Ct(e,t,n,r){let i=[],a=0;e.doc.nodesBetween(t,n,(e,o)=>{if(!e.isInline)return;a++;let s=null;if(r instanceof je){let t=e.marks,n;for(;n=r.isInSet(t);)(s||(s=[])).push(n),t=n.removeFromSet(t)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(o+e.nodeSize,n);for(let e=0;ee.step(new vt(t.from,t.to,t.style)))}function wt(e,t,n,i=n.contentMatch,a=!0){let o=e.doc.nodeAt(t),s=[],c=t+1;for(let t=0;t=0;t--)e.step(s[t])}function Tt(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function Et(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let a=e.$from.node(n),o=e.$from.index(n)+r,s=e.$to.indexAfter(n)-i;if(nn;e--)t||i.index(e)>0?(t=!0,f=r.from(i.node(e).copy(f)),p++):u--;let m=r.empty,h=0;for(let e=o,t=!1;e>n;e--)t||a.after(e+1)=0;e--){if(i.size){let t=n[e].type.contentMatch.matchFragment(i);if(!t||!t.validEnd)throw RangeError(`Wrapper type given to Transform.wrap does not form valid content of its parent wrapper`)}i=r.from(n[e].type.create(n[e].attrs,i))}let a=t.start,o=t.end;e.step(new w(a,o,a,o,new l(i,0,0),n.length,!0))}function Nt(e,t,n,i,a){if(!i.isTextblock)throw RangeError(`Type given to setBlockType should be a textblock`);let o=e.steps.length;e.doc.nodesBetween(t,n,(t,n)=>{let s=typeof a==`function`?a(t):a;if(t.isTextblock&&!t.hasMarkup(i,s)&&It(e.doc,e.mapping.slice(o).map(n),i)){let a=null;if(i.schema.linebreakReplacement){let e=i.whitespace==`pre`,t=!!i.contentMatch.matchType(i.schema.linebreakReplacement);e&&!t?a=!1:!e&&t&&(a=!0)}a===!1&&Ft(e,t,n,o),wt(e,e.mapping.slice(o).map(n,1),i,void 0,a===null);let c=e.mapping.slice(o),u=c.map(n,1),d=c.map(n+t.nodeSize,1);return e.step(new w(u,d,u+1,d-1,new l(r.from(i.create(s,null,t.marks)),0,0),1,!0)),a===!0&&Pt(e,t,n,o),!1}})}function Pt(e,t,n,r){t.forEach((i,a)=>{if(i.isText){let o,s=/\r?\n|\r/g;for(;o=s.exec(i.text);){let i=e.mapping.slice(r).map(n+1+a+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function Ft(e,t,n,r){t.forEach((i,a)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+a);e.replaceWith(i,i+1,t.type.schema.text(` +`))}})}function It(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function Lt(e,t,n,i,a){let o=e.doc.nodeAt(t);if(!o)throw RangeError(`No node at given position`);n||(n=o.type);let s=n.create(i,null,a||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,s);if(!n.validContent(o.content))throw RangeError(`Invalid content for node type `+n.name);e.step(new w(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new l(r.from(s),0,0),1,!0))}function Rt(e,t,n=1,r){let i=e.resolve(t),a=i.depth-n,o=r&&r[r.length-1]||i.parent;if(a<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>a;e--,t--){let n=i.node(e),a=i.index(e);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(a,n.childCount),s=r&&r[t+1];s&&(o=o.replaceChild(0,s.type.create(s.attrs)));let c=r&&r[t]||n;if(!n.canReplace(a+1,n.childCount)||!c.type.validContent(o))return!1}let s=i.indexAfter(a),c=r&&r[0];return i.node(a).canReplaceWith(s,s,c?c.type:i.node(a+1).type)}function zt(e,t,n=1,i){let a=e.doc.resolve(t),o=r.empty,s=r.empty;for(let e=a.depth,t=a.depth-n,c=n-1;e>t;e--,c--){o=r.from(a.node(e).copy(o));let t=i&&i[c];s=r.from(t?t.type.create(t.attrs,s):a.node(e).copy(s))}e.step(new C(t,t,new l(o.append(s),n,n),!0))}function Bt(e,t){let n=e.resolve(t),r=n.index();return Ht(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function Vt(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i=0;e--){let t=r.index(e);if(r.node(e).canReplaceWith(t,t,n))return r.before(e+1);if(t>0)return null}if(r.parentOffset==r.parent.content.size)for(let e=r.depth-1;e>=0;e--){let t=r.indexAfter(e);if(r.node(e).canReplaceWith(t,t,n))return r.after(e+1);if(t=0;t--){let n=t==r.depth?0:r.pos<=(r.start(t+1)+r.end(t+1))/2?-1:1,a=r.index(t)+ +(n>0),o=r.node(t),s=!1;if(e==1)s=o.canReplace(a,a,i);else{let e=o.contentMatchAt(a).findWrapping(i.firstChild.type);s=e&&o.canReplaceWith(a,a,e[0])}if(s)return n==0?r.pos:n<0?r.before(t+1):r.after(t+1)}return null}function Kt(e,t,n=t,r=l.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),a=e.resolve(n);return qt(i,a,r)?new C(t,n,r):new Jt(i,a,r).fit()}function qt(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}var Jt=class{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=r.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=r.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,a=n.depth,o=r.depth;for(;a&&o&&i.childCount==1;)i=i.firstChild.content,a--,o--;let s=new l(i,a,o);return e>-1?new w(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new C(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=t==1?e:this.unplaced.openStart;n>=0;n--){let e,i=null;n?(i=Zt(this.unplaced.content,n-1).firstChild,e=i.content):e=this.unplaced.content;let a=e.firstChild;for(let e=this.depth;e>=0;e--){let{type:o,match:s}=this.frontier[e],c,l=null;if(t==1&&(a?s.matchType(a.type)||(l=s.fillBefore(r.from(a),!1)):i&&o.compatibleContent(i.type)))return{sliceDepth:n,frontierDepth:e,parent:i,inject:l};if(t==2&&a&&(c=s.findWrapping(a.type)))return{sliceDepth:n,frontierDepth:e,parent:i,wrap:c};if(i&&s.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=Zt(e,t);return!r.childCount||r.firstChild.isLeaf?!1:(this.unplaced=new l(e,t+1,Math.max(n,r.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=Zt(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new l(Yt(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new l(Yt(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:i,wrap:a}){for(;this.depth>t;)this.closeFrontierNode();if(a)for(let e=0;e1||c==0||e.content.size)&&(f=t,d.push(Qt(e.mark(p.allowedMarks(e.marks)),u==1?c:0,u==s.childCount?m:-1)))}let h=u==s.childCount;h||(m=-1),this.placed=Xt(this.placed,t,r.from(d)),this.frontier[t].match=f,h&&m<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=s;e1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){scan:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t=0;n--){let{match:t,type:r}=this.frontier[n],i=$t(e,n,r,t,!0);if(!i||i.childCount)continue scan}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Xt(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Xt(this.placed,this.depth,r.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(r.empty,!0);e.childCount&&(this.placed=Xt(this.placed,this.frontier.length,e))}};function Yt(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(Yt(e.firstChild.content,t-1,n)))}function Xt(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(Xt(e.lastChild.content,t-1,n)))}function Zt(e,t){for(let n=0;n1&&(i=i.replaceChild(0,Qt(i.firstChild,t-1,i.childCount==1?n-1:0))),t>0&&(i=e.type.contentMatch.fillBefore(i).append(i),n<=0&&(i=i.append(e.type.contentMatch.matchFragment(i).fillBefore(r.empty,!0)))),e.copy(i)}function $t(e,t,n,r,i){let a=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let s=r.fillBefore(a.content,!0,o);return s&&!en(n,a.content,o)?s:null}function en(e,t,n){for(let r=n;r0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;o.indexOf(e)>-1?s=e:i.before(e)==t&&o.splice(1,0,-e)}let c=o.indexOf(s),u=[],d=r.openStart;for(let e=r.content,t=0;;t++){let n=e.firstChild;if(u.push(n),t==r.openStart)break;e=n.content}for(let e=d-1;e>=0;e--){let t=u[e],n=tn(t.type);if(n&&!t.sameMarkup(i.node(Math.abs(s)-1)))d=e;else if(n||!t.type.isTextblock)break}for(let t=r.openStart;t>=0;t--){let s=(t+d+1)%(r.openStart+1),f=u[s];if(f)for(let t=0;t=0&&(e.replace(t,n,r),!(e.steps.length>f));s--){let e=o[s];e<0||(t=i.before(e),n=a.after(e))}}function rn(e,t,n,i,a){if(ti){let t=a.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(r.empty,!0))}return e}function an(e,t,n,i){if(!i.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let r=Wt(e.doc,t,i.type);r!=null&&(t=n=r)}e.replaceRange(t,n,new l(r.from(i),0,0))}function on(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n);if(r.parent.isTextblock&&i.parent.isTextblock&&r.start()!=i.start()&&r.parentOffset==0&&i.parentOffset==0){let a=r.sharedDepth(n),o=!1;for(let e=r.depth;e>a;e--)r.node(e).type.spec.isolating&&(o=!0);for(let e=i.depth;e>a;e--)i.node(e).type.spec.isolating&&(o=!0);if(!o){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let a=sn(r,i);for(let t=0;t0&&(o||r.node(n-1).canReplace(r.index(n-1),i.indexAfter(n-1))))return e.delete(r.before(n),i.after(n))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return e.delete(r.before(a),n);e.delete(t,n)}function sn(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let r=e.start(i);if(rt.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(r==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==r-1)&&n.push(i)}return n}var cn=class e extends x{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return S.fail(`No node at attribute step's position`);let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let i=t.type.create(n,null,t.marks);return S.fromReplace(e,this.pos,this.pos+1,new l(r.from(i),0,+!t.isLeaf))}getMap(){return pt.empty}invert(t){return new e(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.attr,this.value)}toJSON(){return{stepType:`attr`,pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!=`number`||typeof n.attr!=`string`)throw RangeError(`Invalid input for AttrStep.fromJSON`);return new e(n.pos,n.attr,n.value)}};x.jsonID(`attr`,cn);var ln=class e extends x{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return S.ok(n)}getMap(){return pt.empty}invert(t){return new e(this.attr,t.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:`docAttr`,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!=`string`)throw RangeError(`Invalid input for DocAttrStep.fromJSON`);return new e(n.attr,n.value)}};x.jsonID(`docAttr`,ln);var un=class extends Error{};un=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},un.prototype=Object.create(Error.prototype),un.prototype.constructor=un,un.prototype.name=`TransformError`;var dn=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new mt}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new un(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n{e=Math.min(e,i),t=Math.max(t,a)})}return e==1e9?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=l.empty){let r=Kt(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new l(r.from(n),0,0))}delete(e,t){return this.replace(e,t,l.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return nn(this,e,t,n),this}replaceRangeWith(e,t,n){return an(this,e,t,n),this}deleteRange(e,t){return on(this,e,t),this}lift(e,t){return Dt(this,e,t),this}join(e,t=1){return Ut(this,e,t),this}wrap(e,t){return Mt(this,e,t),this}setBlockType(e,t=e,n,r=null){return Nt(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return Lt(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new cn(e,t,n)),this}setDocAttribute(e,t){return this.step(new ln(e,t)),this}addNodeMark(e,t){return this.step(new yt(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw RangeError(`No node at position `+e);if(t instanceof s)t.isInSet(n.marks)&&this.step(new bt(e,t));else{let r=n.marks,i,a=[];for(;i=t.isInSet(r);)a.push(new bt(e,i)),r=i.removeFromSet(r);for(let e=a.length-1;e>=0;e--)this.step(a[e])}return this}split(e,t=1,n){return zt(this,e,t,n),this}addMark(e,t,n){return St(this,e,t,n),this}removeMark(e,t,n){return Ct(this,e,t,n),this}clearIncompatible(e,t,n){return wt(this,e,t,n),this}},fn=Object.create(null),T=class{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new pn(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t=0;r--){let i=t<0?yn(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):yn(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new O(e.node(0))}static atStart(e){return yn(e,e,0,0,1)||new O(e)}static atEnd(e){return yn(e,e,e.content.size,e.childCount,-1)||new O(e)}static fromJSON(e,t){if(!t||!t.type)throw RangeError(`Invalid input for Selection.fromJSON`);let n=fn[t.type];if(!n)throw RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in fn)throw RangeError(`Duplicate use of selection JSON ID `+e);return fn[e]=t,t.prototype.jsonID=e,t}getBookmark(){return E.between(this.$anchor,this.$head).getBookmark()}};T.prototype.visible=!0;var pn=class{constructor(e,t){this.$from=e,this.$to=t}},mn=!1;function hn(e){!mn&&!e.parent.inlineContent&&(mn=!0,console.warn(`TextSelection endpoint not pointing into a node with inline content (`+e.parent.type.name+`)`))}var E=class e extends T{constructor(e,t=e){hn(e),hn(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return T.near(r);let i=t.resolve(n.map(this.anchor));return new e(i.parent.inlineContent?i:r,r)}replace(e,t=l.empty){if(super.replace(e,t),t==l.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(t){return t instanceof e&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new gn(this.anchor,this.head)}toJSON(){return{type:`text`,anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!=`number`||typeof n.head!=`number`)throw RangeError(`Invalid input for TextSelection.fromJSON`);return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let e=T.findFrom(n,r,!0)||T.findFrom(n,-r,!0);if(e)n=e.$head;else return T.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(T.findFrom(t,-r,!0)||T.findFrom(t,r,!0)).$anchor,t.pos0?0:1);i>0?o=0;o+=i){let r=t.child(o);if(!r.isAtom){let t=yn(e,r,n+i,i<0?r.childCount:0,i,a);if(t)return t}else if(!a&&D.isSelectable(r))return D.create(e,n-(i<0?r.nodeSize:0));n+=r.nodeSize*i}return null}function bn(e,t,n){let r=e.steps.length-1;if(r{o??(o=r)}),e.setSelection(T.near(e.doc.resolve(o),n))}var xn=1,Sn=2,Cn=4,wn=class extends dn{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Sn,this}ensureMarks(e){return s.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Sn)>0}addStep(e,t){super.addStep(e,t),this.updated&=~Sn,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||s.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(n??(n=t),!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),!this.selection.empty&&this.selection.to==t+e.length&&this.setSelection(T.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e==`string`?e:e.key]=t,this}getMeta(e){return this.meta[typeof e==`string`?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=Cn,this}get scrolledIntoView(){return(this.updated&Cn)>0}};function Tn(e,t){return!t||!e?e:e.bind(t)}var En=class{constructor(e,t,n){this.name=e,this.init=Tn(t.init,n),this.apply=Tn(t.apply,n)}},Dn=[new En(`doc`,{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new En(`selection`,{init(e,t){return e.selection||T.atStart(t.doc)},apply(e){return e.selection}}),new En(`storedMarks`,{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new En(`scrollToSelection`,{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})],On=class{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Dn.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw RangeError(`Adding different instances of a keyed plugin (`+e.key+`)`);this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new En(e.key,e.spec.state,e))})}},kn=class e{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;ne.toJSON())),e&&typeof e==`object`)for(let n in e){if(n==`doc`||n==`selection`)throw RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(t,n,r){if(!n)throw RangeError(`Invalid input for EditorState.fromJSON`);if(!t.schema)throw RangeError(`Required config field 'schema' missing`);let i=new On(t.schema,t.plugins),a=new e(i);return i.fields.forEach(e=>{if(e.name==`doc`)a.doc=se.fromJSON(t.schema,n.doc);else if(e.name==`selection`)a.selection=T.fromJSON(a.doc,n.selection);else if(e.name==`storedMarks`)n.storedMarks&&(a.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let i in r){let o=r[i],s=o.spec.state;if(o.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,i)){a[e.name]=s.fromJSON.call(o,t,n[i],a);return}}a[e.name]=e.init(t,a)}}),a}};function An(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r==`handleDOMEvents`&&(i=An(i,t,{})),n[r]=i}return n}var jn=class{constructor(e){this.spec=e,this.props={},e.props&&An(e.props,this,this.props),this.key=e.key?e.key.key:Nn(`plugin`)}getState(e){return e[this.key]}},Mn=Object.create(null);function Nn(e){return e in Mn?e+`$`+ ++Mn[e]:(Mn[e]=0,e+`$`)}var Pn=class{constructor(e=`key`){this.key=Nn(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}},k=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},Fn=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t},In=null,A=function(e,t,n){let r=In||(In=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},Ln=function(){In=null},Rn=function(e,t,n,r){return n&&(Bn(e,t,n,r,-1)||Bn(e,t,n,r,1))},zn=/^(img|br|input|textarea|hr)$/i;function Bn(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:j(e))){let n=e.parentNode;if(!n||n.nodeType!=1||Wn(e)||zn.test(e.nodeName)||e.contentEditable==`false`)return!1;t=k(e)+(i<0?0:1),e=n}else if(e.nodeType==1){let n=e.childNodes[t+(i<0?-1:0)];if(n.nodeType==1&&n.contentEditable==`false`)if(n.pmViewDesc?.ignoreForSelection)t+=i;else return!1;else e=n,t=i<0?j(e):0}else return!1}}function j(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Vn(e,t){for(;;){if(e.nodeType==3&&t)return e;if(e.nodeType==1&&t>0){if(e.contentEditable==`false`)return null;e=e.childNodes[t-1],t=j(e)}else if(e.parentNode&&!Wn(e))t=k(e),e=e.parentNode;else return null}}function Hn(e,t){for(;;){if(e.nodeType==3&&t2),R=nr||(M?/Mac/.test(M.platform):!1),rr=M?/Win/.test(M.platform):!1,z=/Android \d/.test(Xn),ir=!!Yn&&`webkitFontSmoothing`in Yn.documentElement.style,ar=ir?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function or(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function B(e,t){return typeof e==`number`?e:e[t]}function sr(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function cr(e,t,n){let r=e.someProp(`scrollThreshold`)||0,i=e.someProp(`scrollMargin`)||5,a=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(o.nodeType!=1){o=Fn(o);continue}let e=o,n=e==a.body,s=n?or(a):sr(e),c=0,l=0;if(t.tops.bottom-B(r,`bottom`)&&(l=t.bottom-t.top>s.bottom-s.top?t.top+B(i,`top`)-s.top:t.bottom-s.bottom+B(i,`bottom`)),t.lefts.right-B(r,`right`)&&(c=t.right-s.right+B(i,`right`)),c||l)if(n)a.defaultView.scrollBy(c,l);else{let n=e.scrollLeft,r=e.scrollTop;l&&(e.scrollTop+=l),c&&(e.scrollLeft+=c);let i=e.scrollLeft-n,a=e.scrollTop-r;t={left:t.left-i,top:t.top-a,right:t.right-i,bottom:t.bottom-a}}let u=n?`fixed`:getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(u))break;o=u==`absolute`?o.offsetParent:Fn(o)}}function lr(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let a=(t.left+t.right)/2,o=n+1;o=n-20){r=t,i=s.top;break}}return{refDOM:r,refTop:i,stack:ur(e.dom)}}function ur(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=Fn(r));return t}function dr({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;fr(n,r==0?0:r-t)}function fr(e,t){for(let n=0;n=s){o=Math.max(p.bottom,o),s=Math.min(p.top,s);let e=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(a=d+1)}}return!n&&c&&(n=c,i=l,r=0),n&&n.nodeType==3?gr(n,i):!n||r&&n.nodeType==1?{node:e,offset:a}:hr(n,i)}function gr(e,t){let n=e.nodeValue.length,r=document.createRange(),i;for(let a=0;a=(n.left+n.right)/2)};break}}return r.detach(),i||{node:e,offset:0}}function _r(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function vr(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,a)}function br(e,t,n,r){let i=-1;for(let n=t,a=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0),o;if(!t)return null;if(t.dom.nodeType==1&&(t.node.isBlock&&t.parent||!t.contentDOM)&&((o=t.dom.getBoundingClientRect()).width||o.height)&&(t.node.isBlock&&t.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(t.dom.nodeName)&&(!a&&o.left>r.left||o.top>r.top?i=t.posBefore:(!a&&o.right-1?i:e.docView.posFromDOM(t,n,-1)}function xr(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&i++}let n;ir&&i&&r.nodeType==1&&(n=r.childNodes[i-1]).nodeType==1&&n.contentEditable==`false`&&n.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!=`BR`)&&(s=br(e,r,i,t))}s??(s=yr(e,o,t));let c=e.docView.nearestDesc(o,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function Cr(e){return e.top=0&&i==r.nodeValue.length?(e--,a=1):n<0?e--:t++,Er(V(A(r,e,t),a),a<0)}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(a==null&&i&&(n<0||i==j(r))){let e=r.childNodes[i-1];if(e.nodeType==1)return Dr(e.getBoundingClientRect(),!1)}if(a==null&&i=0)}if(a==null&&i&&(n<0||i==j(r))){let e=r.childNodes[i-1],t=e.nodeType==3?A(e,j(e)-+!o):e.nodeType==1&&(e.nodeName!=`BR`||!e.nextSibling)?e:null;if(t)return Er(V(t,1),!1)}if(a==null&&i=0)}function Er(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function Dr(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Or(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function kr(e,t,n){let r=t.selection,i=n==`up`?r.$from:r.$to;return Or(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,n==`up`?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=Tr(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(e.nodeType==1)t=e.getClientRects();else if(e.nodeType==3)t=A(e,0,e.nodeValue.length).getClientRects();else continue;for(let e=0;ei.top+1&&(n==`up`?r.top-i.top>(i.bottom-r.top)*2:i.bottom-r.bottom>(r.bottom-i.top)*2))return!1}}return!0})}var Ar=/[\u0590-\u08ac]/;function jr(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,a=!i,o=i==r.parent.content.size,s=e.domSelection();return s?!Ar.test(r.parent.textContent)||!s.modify?n==`left`||n==`backward`?a:o:Or(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:a,anchorOffset:o}=e.domSelectionRange(),c=s.caretBidiLevel;s.modify(`move`,n,`character`);let l=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),f=u&&!l.contains(u.nodeType==1?u:u.parentNode)||t==u&&i==d;try{s.collapse(a,o),t&&(t!=a||i!=o)&&s.extend&&s.extend(t,i)}catch{}return c!=null&&(s.caretBidiLevel=c),f}):r.pos==r.start()||r.pos==r.end()}var Mr=null,Nr=null,Pr=!1;function Fr(e,t,n){return Mr==t&&Nr==n?Pr:(Mr=t,Nr=n,Pr=n==`up`||n==`down`?kr(e,t,n):jr(e,t,n))}var H=0,Ir=1,Lr=2,U=3,Rr=class{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=H,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;tk(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(r==null&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return r??n>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i=this.getDesc(r),a;if(i&&(!t||i.node))if(n&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))n=!1;else return i}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;te||i instanceof Gr){r=e-t;break}t=a}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let e;n&&!(e=this.children[n-1]).size&&e instanceof zr&&e.side>=0;n--);if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,!(!e||e.dom.parentNode==this.contentDOM);n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?k(e.dom)+1:0}}else{let e,r=!0;for(;e=n=i&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=a;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=k(n.dom)+1;break}e-=n.size}r==-1&&(r=0)}if(r>-1&&(s>t||o==this.children.length-1)){t=s;for(let e=o+1;es&&at){let e=o;o=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&e.type!=`selection`}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r=n:en){let r=n+i.border,o=a-i.border;if(e>=r&&t<=o){this.dirty=e==n||t==a?Lr:Ir,e==r&&t==o&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=U:i.markDirty(e-r,t-r);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?Lr:U}n=a}this.dirty=Lr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=e==1?Lr:Ir;t.dirty{if(!i)return r;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){if(a.nodeType!=1){let e=document.createElement(`span`);e.appendChild(a),a=e}a.contentEditable=`false`,a.classList.add(`ProseMirror-widget`)}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==H&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!=`selection`||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}},Br=class extends Rr{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e==this.textDOM?this.posAtStart+t:this.posAtStart+(t?this.size:0)}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type===`characterData`&&e.target.nodeValue==e.oldValue}},Vr=class e extends Rr{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}static create(t,n,r,i){let a=i.nodeViews[n.type.name],o=a&&a(n,i,r);return(!o||!o.dom)&&(o=Xe.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e(t,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&U||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=U&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=H){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty0&&(a=ci(a,0,t,r));for(let e=0;e{if(!c)return o;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,d=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw RangeError(`Text must be rendered as a DOM text node`)}else if(!u){let e=Xe.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs);({dom:u,contentDOM:d}=e)}!d&&!n.isText&&u.nodeName!=`BR`&&(u.hasAttribute(`contenteditable`)||(u.contentEditable=`false`),n.type.spec.draggable&&(u.draggable=!0));let f=u;return u=$r(u,r,n),l?c=new Kr(t,n,r,i,u,d||null,f,l,a,o+1):n.isText?new Wr(t,n,r,i,u,f,a):new e(t,n,r,i,u,d||null,f,a,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace==`pre`&&(e.preserveWhitespace=`full`),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>r.empty)}return e}matchesNode(e,t,n){return this.dirty==H&&e.eq(this.node)&&ei(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return+!this.node.isLeaf}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,o=i&&i.pos<0,c=new ni(this,a&&a.node,e);ai(this.node,this.innerDeco,(t,i,a)=>{t.spec.marks?c.syncToMarks(t.spec.marks,n,e,i):t.type.side>=0&&!a&&c.syncToMarks(i==this.node.childCount?s.none:this.node.child(i).marks,n,e,i),c.placeWidget(t,e,r)},(t,a,s,l)=>{c.syncToMarks(t.marks,n,e,l);let u;c.findNodeMatch(t,a,s,l)||o&&e.state.selection.from>r&&e.state.selection.to-1&&c.updateNodeAt(t,a,s,u,e)||c.updateNextNode(t,a,s,e,l,r)||c.addNode(t,a,s,e,r),r+=t.nodeSize}),c.syncToMarks([],n,e,0),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==Lr)&&(a&&this.protectLocalComposition(e,a),qr(this.contentDOM,this.children,e),nr&&oi(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof E)||nt+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,a=si(this.node.content,e,n-t,r-t);return a<0?null:{node:i,pos:a,text:e}}else return{node:i,pos:-1,text:``}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new Br(this,i,t,r);e.input.compositionNodes.push(a),this.children=ci(this.children,n,n+r.length,e,a)}update(e,t,n,r){return this.dirty==U||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=H}updateOuterDeco(e){if(ei(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,n=this.dom;this.dom=Zr(this.dom,this.nodeDOM,Xr(this.outerDeco,this.node,t),Xr(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute(`draggable`))}get domAtom(){return this.node.isAtom}};function Ur(e,t,n,r,i){$r(r,t,e);let a=new Hr(void 0,e,t,n,r,r,r,i,0);return a.contentDOM&&a.updateChildren(i,0),a}var Wr=class e extends Hr{constructor(e,t,n,r,i,a,o){super(e,t,n,r,i,null,a,o,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return this.dirty==U||this.dirty!=H&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=H||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=H,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return e.type!=`characterData`&&e.type!=`selection`}slice(t,n,r){let i=this.node.cut(t,n),a=document.createTextNode(i.text);return new e(this.parent,i,this.outerDeco,this.innerDeco,a,a,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=U)}get domAtom(){return!1}isText(e){return this.node.text==e}},Gr=class extends Rr{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==H&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName==`IMG`}},Kr=class extends Hr{constructor(e,t,n,r,i,a,o,s,c,l){super(e,t,n,r,i,a,o,c,l),this.spec=s}update(e,t,n,r){if(this.dirty==U)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}else if(!this.contentDOM&&!e.isLeaf)return!1;else return super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};function qr(e,t,n){let r=e.firstChild,i=!1;for(let a=0;a>1,o=Math.min(a,e.length);for(;i-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=Vr.create(this.top,e[a],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,a++}}findNodeMatch(e,t,n,r){let i=-1,a;if(r>=this.preMatch.index&&(a=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&a.matchesNode(e,t,n))i=this.top.children.indexOf(a,this.index);else for(let r=this.index,a=Math.min(this.top.children.length,r+5);r0;){let s;for(;;)if(r){let e=n.children[r-1];if(e instanceof Vr)n=e,r=e.children.length;else{s=e,r--;break}}else if(n==t)break outer;else r=n.parent.children.indexOf(n),n=n.parent;let c=s.node;if(c){if(c!=e.child(i-1))break;--i,a.set(s,i),o.push(s)}}return{index:i,matched:a,matches:o.reverse()}}function ii(e,t){return e.type.side-t.type.side}function ai(e,t,n,r){let i=t.locals(e),a=0;if(i.length==0){for(let n=0;na;)s.push(i[o++]);let m=a+f.nodeSize;if(f.isText){let e=m;o!e.inline):s.slice();r(f,h,t.forChild(a,f),p),a=m}}function oi(e){if(e.nodeName==`UL`||e.nodeName==`OL`){let t=e.style.cssText;e.style.cssText=t+`; list-style: square !important`,window.getComputedStyle(e).listStyle,e.style.cssText=t}}function si(e,t,n,r){for(let i=0,a=0;i=n){if(a>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s=0&&e+t.length+s>=n)return s+e;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function ci(e,t,n,r,i){let a=[];for(let o=0,s=0;o=n||u<=t?a.push(c):(ln&&a.push(c.slice(n-l,c.size,r)))}return a}function li(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),a=i&&i.size==0,o=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let s=r.resolve(o),c,l;if(Gn(n)){for(c=o;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&D.isSelectable(e)&&i.parent&&!(e.isInline&&Un(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;l=new D(o==e?s:r.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=o,i=o;for(let r=0;r{(n.anchorNode!=r||n.anchorOffset!=i)&&(t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard),setTimeout(()=>{(!ui(e)||e.state.selection.visible)&&e.dom.classList.remove(`ProseMirror-hideselection`)},20))})}function gi(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,r=n.nodeName==`IMG`;r?t.collapse(n.parentNode,k(n)+1):t.collapse(n,0),!r&&!e.state.selection.visible&&N&&P<=11&&(n.disabled=!0,n.disabled=!1)}function _i(e,t){if(t instanceof D){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(vi(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else vi(e)}function vi(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function yi(e,t,n,r){return e.someProp(`createSelectionBetween`,r=>r(e,t,n))||E.between(t,n,r)}function bi(e){return e.editable&&!e.hasFocus()?!1:xi(e)}function xi(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(t.anchorNode.nodeType==3?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(t.focusNode.nodeType==3?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function Si(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Rn(t.node,t.offset,n.anchorNode,n.anchorOffset)}function Ci(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&T.findFrom(a,t)}function G(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function wi(e,t,n){let r=e.state.selection;if(r instanceof E){if(n.indexOf(`s`)>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return G(e,new E(r.$anchor,a))}else if(!r.empty)return!1;else if(e.endOfTextblock(t>0?`forward`:`backward`)){let n=Ci(e.state,t);return n&&n instanceof D?G(e,n):!1}else if(!(R&&n.indexOf(`m`)>-1)){let n=r.$head,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter,a;if(!i||i.isText)return!1;let o=t<0?n.pos-i.nodeSize:n.pos;return i.isAtom||(a=e.docView.descAt(o))&&!a.contentDOM?D.isSelectable(i)?G(e,new D(t<0?e.state.doc.resolve(n.pos-i.nodeSize):n)):ir?G(e,new E(e.state.doc.resolve(t<0?o:o+i.nodeSize))):!1:!1}}else if(r instanceof D&&r.node.isInline)return G(e,new E(t>0?r.$to:r.$from));else{let n=Ci(e.state,t);return n?G(e,n):!1}}function Ti(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Ei(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!=`BR`)}function Di(e,t){return t<0?Oi(e):ki(e)}function Oi(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,a,o=!1;for(F&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let e=n.childNodes[r-1];if(Ei(e,-1))i=n,a=--r;else if(e.nodeType==3)n=e,r=n.nodeValue.length;else break}}else if(Ai(n))break;else{let t=n.previousSibling;for(;t&&Ei(t,-1);)i=n.parentNode,a=k(t),t=t.previousSibling;if(t)n=t,r=Ti(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}o?Ni(e,n,r):i&&Ni(e,i,a)}function ki(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i=Ti(n),a,o;for(;;)if(r{e.state==i&&W(e)},50)}function Pi(e,t){let n=e.state.doc.resolve(t);if(!(I||rr)&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i1)return n.leftr.top&&i1)return n.left>r.left?`ltr`:`rtl`}}return getComputedStyle(e.dom).direction==`rtl`?`rtl`:`ltr`}function Fi(e,t,n){let r=e.state.selection;if(r instanceof E&&!r.empty||n.indexOf(`s`)>-1||R&&n.indexOf(`m`)>-1)return!1;let{$from:i,$to:a}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?`up`:`down`)){let n=Ci(e.state,t);if(n&&n instanceof D)return G(e,n)}if(!i.parent.inlineContent){let n=t<0?i:a,o=r instanceof O?T.near(n,t):T.findFrom(n,t);return o?G(e,o):!1}return!1}function Ii(e,t){if(!(e.state.selection instanceof E))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function Li(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Ri(e){if(!L||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&t.nodeType==1&&n==0&&t.firstChild&&t.firstChild.contentEditable==`false`){let n=t.firstChild;Li(e,n,`true`),setTimeout(()=>Li(e,n,`false`),20)}return!1}function zi(e){let t=``;return e.ctrlKey&&(t+=`c`),e.metaKey&&(t+=`m`),e.altKey&&(t+=`a`),e.shiftKey&&(t+=`s`),t}function Bi(e,t){let n=t.keyCode,r=zi(t);if(n==8||R&&n==72&&r==`c`)return Ii(e,-1)||Di(e,-1);if(n==46&&!t.shiftKey||R&&n==68&&r==`c`)return Ii(e,1)||Di(e,1);if(n==13||n==27)return!0;if(n==37||R&&n==66&&r==`c`){let t=n==37?Pi(e,e.state.selection.from)==`ltr`?-1:1:-1;return wi(e,t,r)||Di(e,t)}else if(n==39||R&&n==70&&r==`c`){let t=n==39?Pi(e,e.state.selection.from)==`ltr`?1:-1:1;return wi(e,t,r)||Di(e,t)}else if(n==38||R&&n==80&&r==`c`)return Fi(e,-1,r)||Di(e,-1);else if(n==40||R&&n==78&&r==`c`)return Ri(e)||Fi(e,1,r)||Di(e,1);else if(r==(R?`m`:`c`)&&(n==66||n==73||n==89||n==90))return!0;return!1}function Vi(e,t){e.someProp(`transformCopied`,n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:a}=t;for(;i>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,a--;let e=r.firstChild;n.push(e.type.name,e.attrs==e.type.defaultAttrs?null:e.attrs),r=e.content}let o=e.someProp(`clipboardSerializer`)||Xe.fromSchema(e.state.schema),s=Qi(),c=s.createElement(`div`);c.appendChild(o.serializeFragment(r,{document:s}));let l=c.firstChild,u,d=0;for(;l&&l.nodeType==1&&(u=Xi[l.nodeName.toLowerCase()]);){for(let e=u.length-1;e>=0;e--){let t=s.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),d++}l=c.firstChild}return l&&l.nodeType==1&&l.setAttribute(`data-pm-slice`,`${i} ${a}${d?` -${d}`:``} ${JSON.stringify(n)}`),{dom:c,text:e.someProp(`clipboardTextSerializer`,n=>n(t,e))||t.content.textBetween(0,t.content.size,` + +`),slice:t}}function Hi(e,t,n,i,a){let o=a.parent.type.spec.code,s,c;if(!n&&!t)return null;let u=!!t&&(i||o||!n);if(u){if(e.someProp(`transformPastedText`,n=>{t=n(t,o||i,e)}),o)return c=new l(r.from(e.state.schema.text(t.replace(/\r\n?/g,` +`))),0,0),e.someProp(`transformPasted`,t=>{c=t(c,e,!0)}),c;let n=e.someProp(`clipboardTextParser`,n=>n(t,a,i,e));if(n)c=n;else{let n=a.marks(),{schema:r}=e.state,i=Xe.fromSchema(r);s=document.createElement(`div`),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=s.appendChild(document.createElement(`p`));e&&t.appendChild(i.serializeNode(r.text(e,n)))})}}else e.someProp(`transformPastedHTML`,t=>{n=t(n,e)}),s=ta(n),ir&&na(s);let d=s&&s.querySelector(`[data-pm-slice]`),f=d&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(d.getAttribute(`data-pm-slice`)||``);if(f&&f[3])for(let e=+f[3];e>0;e--){let e=s.firstChild;for(;e&&e.nodeType!=1;)e=e.nextSibling;if(!e)break;s=e}if(c||(c=(e.someProp(`clipboardParser`)||e.someProp(`domParser`)||Ie.fromSchema(e.state.schema)).parseSlice(s,{preserveWhitespace:!!(u||f),context:a,ruleFromNode(e){return e.nodeName==`BR`&&!e.nextSibling&&e.parentNode&&!Ui.test(e.parentNode.nodeName)?{ignore:!0}:null}})),f)c=ra(Yi(c,+f[1],+f[2]),f[4]);else if(c=l.maxOpen(Wi(c.content,a),!0),c.openStart||c.openEnd){let e=0,t=0;for(let t=c.content.firstChild;e{c=t(c,e,u)}),c}var Ui=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Wi(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i=t.node(n).contentMatchAt(t.index(n)),a,o=[];if(e.forEach(e=>{if(!o)return;let t=i.findWrapping(e.type),n;if(!t)return o=null;if(n=o.length&&a.length&&Ki(t,a,e,o[o.length-1],0))o[o.length-1]=n;else{o.length&&(o[o.length-1]=qi(o[o.length-1],a.length));let n=Gi(e,t);o.push(n),i=i.matchType(n.type),a=t}}),o)return r.from(o)}return e}function Gi(e,t,n=0){for(let i=t.length-1;i>=n;i--)e=t[i].create(null,r.from(e));return e}function Ki(e,t,n,i,a){if(a1&&(o=0),a=n&&(c=t<0?s.contentMatchAt(0).fillBefore(c,o<=a).append(c):c.append(s.contentMatchAt(s.childCount).fillBefore(r.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(c))}function Yi(e,t,n){return te})),$i.createHTML(e)):e}function ta(e){let t=/^(\s*]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=Qi().createElement(`div`),r=/<([a-z][^>\s]+)/i.exec(e),i;if((i=r&&Xi[r[1].toLowerCase()])&&(e=i.map(e=>`<`+e+`>`).join(``)+e+i.map(e=>``).reverse().join(``)),n.innerHTML=ea(e),i)for(let e=0;e=0;e-=2){let t=n.nodes[i[e]];if(!t||t.hasRequiredAttrs())break;a=r.from(t.create(i[e+1],a)),o++,s++}return new l(a,o,s)}var K={},q={},ia={touchstart:!0,touchmove:!0},aa=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:``,button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function oa(e){for(let t in K){let n=K[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{da(e,t)&&!ua(e,t)&&(e.editable||!(t.type in q))&&n(e,t)},ia[t]?{passive:!0}:void 0)}L&&e.dom.addEventListener(`input`,()=>null),la(e)}function sa(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function ca(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function la(e){e.someProp(`handleDOMEvents`,t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>ua(e,t))})}function ua(e,t){return e.someProp(`handleDOMEvents`,n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function da(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function fa(e,t){!ua(e,t)&&K[t.type]&&(e.editable||!(t.type in q))&&K[t.type](e,t)}q.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!Ea(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(z&&I&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),nr&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp(`handleKeyDown`,t=>t(e,Kn(13,`Enter`))),e.input.lastIOSEnter=0)},200)}else e.someProp(`handleKeyDown`,t=>t(e,n))||Bi(e,n)?n.preventDefault():sa(e,`key`)},q.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)},q.keypress=(e,t)=>{let n=t;if(Ea(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||R&&n.metaKey)return;if(e.someProp(`handleKeyPress`,t=>t(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof E)||!r.$from.sameParent(r.$to)){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();!/[\r\n]/.test(t)&&!e.someProp(`handleTextInput`,n=>n(e,r.$from.pos,r.$to.pos,t,i))&&e.dispatch(i()),n.preventDefault()}};function pa(e){return{left:e.clientX,top:e.clientY}}function ma(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function ha(e,t,n,r,i){if(r==-1)return!1;let a=e.state.doc.resolve(r);for(let r=a.depth+1;r>0;r--)if(e.someProp(t,t=>r>a.depth?t(e,n,a.nodeAfter,a.before(r),i,!0):t(e,n,a.node(r),a.before(r),i,!1)))return!0;return!1}function ga(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);n==`pointer`&&r.setMeta(`pointer`,!0),e.dispatch(r)}function _a(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&D.isSelectable(r)?(ga(e,new D(n),`pointer`),!0):!1}function va(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof D&&(r=n.node);let a=e.state.doc.resolve(t);for(let e=a.depth+1;e>0;e--){let t=e>a.depth?a.nodeAfter:a.node(e);if(D.isSelectable(t)){i=r&&n.$from.depth>0&&e>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?a.before(n.$from.depth):a.before(e);break}}return i==null?!1:(ga(e,D.create(e.state.doc,i),`pointer`),!0)}function ya(e,t,n,r,i){return ha(e,`handleClickOn`,t,n,r)||e.someProp(`handleClick`,n=>n(e,t,r))||(i?va(e,n):_a(e,n))}function ba(e,t,n,r){return ha(e,`handleDoubleClickOn`,t,n,r)||e.someProp(`handleDoubleClick`,n=>n(e,t,r))}function xa(e,t,n,r){return ha(e,`handleTripleClickOn`,t,n,r)||e.someProp(`handleTripleClick`,n=>n(e,t,r))||Sa(e,n,r)}function Sa(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(ga(e,E.create(r,0,r.content.size),`pointer`),!0):!1;let i=r.resolve(t);for(let t=i.depth+1;t>0;t--){let n=t>i.depth?i.nodeAfter:i.node(t),a=i.before(t);if(n.inlineContent)ga(e,E.create(r,a+1,a+1+n.content.size),`pointer`);else if(D.isSelectable(n))ga(e,D.create(r,a),`pointer`);else continue;return!0}}function Ca(e){return Na(e)}var wa=R?`metaKey`:`ctrlKey`;K.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Ca(e),i=Date.now(),a=`singleClick`;i-e.input.lastClick.time<500&&ma(n,e.input.lastClick)&&!n[wa]&&e.input.lastClick.button==n.button&&(e.input.lastClick.type==`singleClick`?a=`doubleClick`:e.input.lastClick.type==`doubleClick`&&(a=`tripleClick`)),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:a,button:n.button};let o=e.posAtCoords(pa(n));o&&(a==`singleClick`?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Ta(e,o,n,!!r)):(a==`doubleClick`?ba:xa)(e,o.pos,o.inside,n)?n.preventDefault():sa(e,`pointer`))};var Ta=class{constructor(e,t,n,r){this.view=e,this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[wa],this.allowDefault=n.shiftKey;let i,a;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,a=n.depth?n.before():0}let o=r?null:n.target,s=o?e.docView.nearestDesc(o,!0):null;this.target=s&&s.nodeDOM.nodeType==1?s.nodeDOM:null;let{selection:c}=e.state;n.button==0&&(i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof D&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&F&&!this.target.hasAttribute(`contentEditable`))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute(`contentEditable`,`false`)},20),this.view.domObserver.start()),e.root.addEventListener(`mouseup`,this.up=this.up.bind(this)),e.root.addEventListener(`mousemove`,this.move=this.move.bind(this)),sa(e,`pointer`)}done(){this.view.root.removeEventListener(`mouseup`,this.up),this.view.root.removeEventListener(`mousemove`,this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute(`draggable`),this.mightDrag.setUneditable&&this.target.removeAttribute(`contentEditable`),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>W(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(pa(e))),this.updateAllowDefault(e),this.allowDefault||!t?sa(this.view,`pointer`):ya(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||L&&this.mightDrag&&!this.mightDrag.node.isAtom||I&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(ga(this.view,T.near(this.view.state.doc.resolve(t.pos)),`pointer`),e.preventDefault()):sa(this.view,`pointer`)}move(e){this.updateAllowDefault(e),sa(this.view,`pointer`),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}};K.touchstart=e=>{e.input.lastTouch=Date.now(),Ca(e),sa(e,`pointer`)},K.touchmove=e=>{e.input.lastTouch=Date.now(),sa(e,`pointer`)},K.contextmenu=e=>Ca(e);function Ea(e,t){return e.composing?!0:L&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}var Da=z?5e3:-1;q.compositionstart=q.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof E&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>e.type.spec.inclusive===!1)||I&&rr&&Oa(e)))e.markCursor=e.state.storedMarks||n.marks(),Na(e,!0),e.markCursor=null;else if(Na(e,!t.selection.empty),F&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&n.nodeType==1&&r!=0;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(t.nodeType==3){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}else n=t,r=-1}}e.input.composing=!0}ka(e,Da)};function Oa(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||t.nodeType!=1||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return r.nodeType==1&&r.contentEditable==`false`}q.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,ka(e,20))};function ka(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>Na(e),t))}function Aa(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Ma());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function ja(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=Vn(t.focusNode,t.focusOffset),r=Hn(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(!(!e||!e.isText(n.nodeValue)))return r}}return n||r}function Ma(){let e=document.createEvent(`Event`);return e.initEvent(`event`,!0,!0),e.timeStamp}function Na(e,t=!1){if(!(z&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Aa(e),t||e.docView&&e.docView.dirty){let n=li(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):(e.markCursor||t)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.dispatch(e.state.tr.deleteSelection()):e.updateState(e.state),!0}return!1}}function Pa(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement(`div`));n.appendChild(t),n.style.cssText=`position: fixed; left: -10000px; top: 10px`;let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}var Fa=N&&P<15||nr&&ar<604;K.copy=q.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type==`cut`;if(r.empty)return;let a=Fa?null:n.clipboardData,{dom:o,text:s}=Vi(e,r.content());a?(n.preventDefault(),a.clearData(),a.setData(`text/html`,o.innerHTML),a.setData(`text/plain`,s)):Pa(e,o),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta(`uiEvent`,`cut`))};function Ia(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function La(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?`textarea`:`div`));n||(r.contentEditable=`true`),r.style.cssText=`position: fixed; left: -10000px; top: 10px`,r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Ra(e,r.value,null,i,t):Ra(e,r.textContent,r.innerHTML,i,t)},50)}function Ra(e,t,n,r,i){let a=Hi(e,t,n,r,e.state.selection.$from);if(e.someProp(`handlePaste`,t=>t(e,i,a||l.empty)))return!0;if(!a)return!1;let o=Ia(a),s=o?e.state.tr.replaceSelectionWith(o,r):e.state.tr.replaceSelection(a);return e.dispatch(s.scrollIntoView().setMeta(`paste`,!0).setMeta(`uiEvent`,`paste`)),!0}function za(e){let t=e.getData(`text/plain`)||e.getData(`Text`);if(t)return t;let n=e.getData(`text/uri-list`);return n?n.replace(/\r?\n/g,` `):``}q.paste=(e,t)=>{let n=t;if(e.composing&&!z)return;let r=Fa?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&Ra(e,za(r),r.getData(`text/html`),i,n)?n.preventDefault():La(e,n)};var Ba=class{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}},Va=R?`altKey`:`ctrlKey`;function Ha(e,t){let n;return e.someProp(`dragCopies`,e=>{n=n||e(t)}),n==null?!t[Va]:!n}K.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,a=i.empty?null:e.posAtCoords(pa(n)),o;if(!(a&&a.pos>=i.from&&a.pos<=(i instanceof D?i.to-1:i.to))){if(r&&r.mightDrag)o=D.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(o=D.create(e.state.doc,t.posBefore))}}let{dom:s,text:c,slice:l}=Vi(e,(o||e.state.selection).content());(!n.dataTransfer.files.length||!I||tr>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Fa?`Text`:`text/html`,s.innerHTML),n.dataTransfer.effectAllowed=`copyMove`,Fa||n.dataTransfer.setData(`text/plain`,c),e.dragging=new Ba(l,Ha(e,n),o)},K.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},q.dragover=q.dragenter=(e,t)=>t.preventDefault(),q.drop=(e,t)=>{try{Ua(e,t,e.dragging)}finally{e.dragging=null}};function Ua(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(pa(t));if(!r)return;let i=e.state.doc.resolve(r.pos),a=n&&n.slice;a?e.someProp(`transformPasted`,t=>{a=t(a,e,!1)}):a=Hi(e,za(t.dataTransfer),Fa?null:t.dataTransfer.getData(`text/html`),!1,i);let o=!!(n&&Ha(e,t));if(e.someProp(`handleDrop`,n=>n(e,t,a||l.empty,o))){t.preventDefault();return}if(!a)return;t.preventDefault();let s=a?Gt(e.state.doc,i.pos,a):i.pos;s??(s=i.pos);let c=e.state.tr;if(o){let{node:e}=n;e?e.replace(c):c.deleteSelection()}let u=c.mapping.map(s),d=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,f=c.doc;if(d?c.replaceRangeWith(u,u,a.content.firstChild):c.replaceRange(u,u,a),c.doc.eq(f))return;let p=c.doc.resolve(u);if(d&&D.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new D(p));else{let t=c.mapping.map(s);c.mapping.maps[c.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),c.setSelection(yi(e,p,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta(`uiEvent`,`drop`))}K.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add(`ProseMirror-focused`),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&W(e)},20))},K.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove(`ProseMirror-focused`),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},K.beforeinput=(e,t)=>{if(I&&z&&t.inputType==`deleteContentBackward`){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp(`handleKeyDown`,t=>t(e,Kn(8,`Backspace`)))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let e in q)K[e]=q[e];function Wa(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}var Ga=class e{constructor(e,t){this.toDOM=e,this.spec=t||Xa,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:a}=e.mapResult(t.from+r,this.side<0?-1:1);return a?null:new Ja(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&Wa(this.spec,t.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},Ka=class e{constructor(e,t){this.attrs=e,this.spec=t||Xa}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,a=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=a?null:new Ja(i,a,this)}valid(e,t){return t.from=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+r,o.to+r))}for(let a=0;ae){let o=this.children[a]+1;this.children[a+2].findInner(e-o,t-o,n,r+o,i)}}map(e,t,n){return this==Y||e.maps.length==0?this:this.mapInner(e,t,0,0,n||Xa)}mapInner(t,n,r,i,a){let o;for(let e=0;e{let o=t+r,s;if(s=to(n,e,o)){for(i||(i=this.children.slice());aa&&n.to=t){this.children[e]==t&&(r=this.children[e+2]);break}let a=t+1,o=a+n.content.size;for(let e=0;ea&&t.type instanceof Ka){let e=Math.max(a,t.from)-a,n=Math.min(o,t.to)-a;ee.map(t,n,Xa));return e.from(r)}forChild(t,n){if(n.isLeaf)return J.empty;let r=[];for(let i=0;ie instanceof J)?t:t.reduce((e,t)=>e.concat(t instanceof J?t:t.members),[]))}}forEachSet(e){for(let t=0;t{let o=a-i-(n-e);for(let i=0;ia+t-r)continue;let c=s[i]+t-r;n>=c?s[i+1]=e<=c?-2:-1:e>=t&&o&&(s[i]+=o,s[i+1]+=o)}r+=o}),t=n.maps[e].map(t,-1)}let c=!1;for(let t=0;t=r.content.size){c=!0;continue}let d=n.map(e[t+1]+a,-1)-i,{index:f,offset:p}=r.content.findIndex(u),m=r.maybeChild(f);if(m&&p==u&&p+m.nodeSize==d){let r=s[t+2].mapInner(n,m,l+1,e[t]+a+1,o);r==Y?(s[t+1]=-2,c=!0):(s[t]=u,s[t+1]=d,s[t+2]=r)}else c=!0}if(c){let c=ro(eo(s,e,t,n,i,a,o),r,0,o);t=c.local;for(let e=0;en&&a.to{let s=to(e,t,o+n);if(s){a=!0;let e=ro(s,t,n+o+1,r);e!=Y&&i.push(o,o+t.nodeSize,e)}});let o=$a(a?no(e):e,-n).sort(io);for(let e=0;e0;)t++;e.splice(t,0,n)}function so(e){let t=[];return e.someProp(`decorations`,n=>{let r=n(e.state);r&&r!=Y&&t.push(r)}),e.cursorWrapper&&t.push(J.create(e.state.doc,[e.cursorWrapper.deco])),Za.from(t)}var co={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},lo=N&&P<=11,uo=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},fo=class{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new uo,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;ee.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():L&&e.composing&&t.some(e=>e.type==`childList`&&e.target.nodeName==`TR`)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),lo&&(this.onCharData=e=>{this.queue.push({target:e.target,type:`characterData`,oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,co)),this.onCharData&&this.view.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;tthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener(`selectionchange`,this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener(`selectionchange`,this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(bi(this.view)){if(this.suppressingSelectionUpdates)return W(this.view);if(N&&P<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Rn(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,n;for(let n=e.focusNode;n;n=Fn(n))t.add(n);for(let r=e.anchorNode;r;r=Fn(r))if(t.has(r)){n=r;break}let r=n&&this.view.docView.nearestDesc(n);if(r&&r.ignoreMutation({type:`selection`,target:n.nodeType==3?n.parentNode:n}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&bi(e)&&!this.ignoreSelectionChange(n),i=-1,a=-1,o=!1,s=[];if(e.editable)for(let e=0;ee.nodeName==`BR`)&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let e of s)if(e.nodeName==`BR`&&e.parentNode){let t=e.nextSibling;for(;t&&t.nodeType==1;){if(t.contentEditable==`false`){e.parentNode.removeChild(e);break}t=t.firstChild}}}else if(F&&s.length){let t=s.filter(e=>e.nodeName==`BR`);if(t.length==2){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;t&&t.nodeName==`LI`&&(!n||vo(e,n)!=t)&&r.remove()}}}let c=null;i<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||r)&&(i>-1&&(e.docView.markDirty(i,a),ho(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,yo(e,s)),this.handleDOMChange(i,a,o,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||W(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if(e.type==`attributes`&&(n==this.view.docView||e.attributeName==`contenteditable`||e.attributeName==`style`&&!e.oldValue&&!e.target.getAttribute(`style`))||!n||n.ignoreMutation(e))return null;if(e.type==`childList`){for(let n=0;ni;e--){let t=r.childNodes[e-1],n=t.pmViewDesc;if(t.nodeName==`BR`&&!n){a=e;break}if(!n||n.size)break}let d=e.state.doc,f=e.someProp(`domParser`)||Ie.fromSchema(e.state.schema),p=d.resolve(o),m=null,h=f.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:a,preserveWhitespace:p.parent.type.whitespace==`pre`?`full`:!0,findPositions:l,ruleFromNode:xo,context:p});if(l&&l[0].pos!=null){let e=l[0].pos,t=l[1]&&l[1].pos;t??(t=e),m={anchor:e+o,head:t+o}}return{doc:h,sel:m,from:o,to:s}}function xo(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName==`BR`&&e.parentNode){if(L&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement(`div`);return e.appendChild(document.createElement(`li`)),{skip:e}}else if(e.parentNode.lastChild==e||L&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName==`IMG`&&e.getAttribute(`mark-placeholder`))return{ignore:!0};return null}var So=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Co(e,t,n,r,i){let a=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=li(e,t);if(n&&!e.state.selection.eq(n)){if(I&&z&&e.input.lastKeyCode===13&&Date.now()-100t(e,Kn(13,`Enter`))))return;let r=e.state.tr.setSelection(n);t==`pointer`?r.setMeta(`pointer`,!0):t==`key`&&r.scrollIntoView(),a&&r.setMeta(`composition`,a),e.dispatch(r)}return}let o=e.state.doc.resolve(t),s=o.sharedDepth(n);t=o.before(s+1),n=e.state.doc.resolve(n).after(s+1);let c=e.state.selection,l=bo(e,t,n),u=e.state.doc,d=u.slice(l.from,l.to),f,p;e.input.lastKeyCode===8&&Date.now()-100Date.now()-225||z)&&i.some(e=>e.nodeType==1&&!So.test(e.nodeName))&&(!m||m.endA>=m.endB)&&e.someProp(`handleKeyDown`,t=>t(e,Kn(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(!m)if(r&&c instanceof E&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))m={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let t=wo(e,e.state.doc,l.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);a&&n.setMeta(`composition`,a),e.dispatch(n)}}return}e.state.selection.frome.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?m.start=e.state.selection.from:m.endA=e.state.selection.to-2&&e.state.selection.to<=l.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),N&&P<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>l.from&&l.doc.textBetween(m.start-l.from-1,m.start-l.from+1)==` \xA0`&&(m.start--,m.endA--,m.endB--);let h=l.doc.resolveNoCache(m.start-l.from),g=l.doc.resolveNoCache(m.endB-l.from),_=u.resolve(m.start),v=h.sameParent(g)&&h.parent.inlineContent&&_.end()>=m.endA;if((nr&&e.input.lastIOSEnter>Date.now()-225&&(!v||i.some(e=>e.nodeName==`DIV`||e.nodeName==`P`))||!v&&h.post(e,Kn(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>m.start&&Eo(u,m.start,m.endA,h,g)&&e.someProp(`handleKeyDown`,t=>t(e,Kn(8,`Backspace`)))){z&&I&&e.domObserver.suppressSelectionUpdates();return}I&&m.endB==m.start&&(e.input.lastChromeDelete=Date.now()),z&&!v&&h.start()!=g.start()&&g.parentOffset==0&&h.depth==g.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==m.endA&&(m.endB-=2,g=l.doc.resolveNoCache(m.endB-l.from),setTimeout(()=>{e.someProp(`handleKeyDown`,function(t){return t(e,Kn(13,`Enter`))})},20));let y=m.start,b=m.endA,ee=t=>{let n=t||e.state.tr.replace(y,b,l.doc.slice(m.start-l.from,m.endB-l.from));if(l.sel){let t=wo(e,n.doc,l.sel);t&&!(I&&e.composing&&t.empty&&(m.start!=m.endB||e.input.lastChromeDeleteW(e),20));let t=ee(e.state.tr.delete(y,b)),n=u.resolve(m.start).marksAcross(u.resolve(m.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(m.endA==m.endB&&(te=To(h.parent.content.cut(h.parentOffset,g.parentOffset),_.parent.content.cut(_.parentOffset,m.endA-_.start())))){let t=ee(e.state.tr);te.type==`add`?t.addMark(y,b,te.mark):t.removeMark(y,b,te.mark),e.dispatch(t)}else if(h.parent.child(h.index()).isText&&h.index()==g.index()-+!g.textOffset){let t=h.parent.textBetween(h.parentOffset,g.parentOffset),n=()=>ee(e.state.tr.insertText(t,y,b));e.someProp(`handleTextInput`,r=>r(e,y,b,t,n))||e.dispatch(n())}else e.dispatch(ee());else e.dispatch(ee())}function wo(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:yi(e,t.resolve(n.anchor),t.resolve(n.head))}function To(e,t){let n=e.firstChild.marks,i=t.firstChild.marks,a=n,o=i,s,c,l;for(let e=0;ee.mark(c.addToSet(e.marks));else if(a.length==0&&o.length==1)c=o[0],s=`remove`,l=e=>e.mark(c.removeFromSet(e.marks));else return null;let u=[];for(let e=0;en||Do(o,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function Oo(e,t,n,r,i){let a=e.findDiffStart(t,n);if(a==null)return null;let{a:o,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(i==`end`){let e=Math.max(0,a-Math.min(o,s));r-=o+e-a}if(o=o?a-r:0;a-=e,a&&a=s?a-r:0;a-=t,a&&a=56320&&t<=57343&&n>=55296&&n<=56319}var Ao=class{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new aa,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Lo),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement(`div`),e&&(e.appendChild?e.appendChild(this.dom):typeof e==`function`?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=No(this),Mo(this),this.nodeViews=Fo(this),this.docView=Ur(this.state.doc,jo(this),so(this),this.dom,this),this.domObserver=new fo(this,(e,t,n,r)=>Co(this,e,t,n,r)),this.domObserver.start(),oa(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&la(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Lo),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){let n=this.state,r=!1,i=!1;e.storedMarks&&this.composing&&(Aa(this),i=!0),this.state=e;let a=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=Fo(this);Io(e,this.nodeViews)&&(this.nodeViews=e,r=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&la(this),this.editable=No(this),Mo(this);let o=so(this),s=jo(this),c=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?`reset`:e.scrollToSelection>n.scrollToSelection?`to selection`:`preserve`,l=r||!this.docView.matchesNode(e.doc,s,o);(l||!e.selection.eq(n.selection))&&(i=!0);let u=c==`preserve`&&i&&this.dom.style.overflowAnchor==null&&lr(this);if(i){this.domObserver.stop();let t=l&&(N||I)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&Po(n.selection,e.selection);if(l){let n=I?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=ja(this)),(r||!this.docView.update(e.doc,s,o,this))&&(this.docView.updateOuterDeco(s),this.docView.destroy(),this.docView=Ur(e.doc,s,o,this.dom,this)),n&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Si(this))?W(this,t):(_i(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),this.dragging?.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),c==`reset`?this.dom.scrollTop=0:c==`to selection`?this.scrollToSelection():u&&dr(u)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))&&!this.someProp(`handleScrollToSelection`,e=>e(this)))if(this.state.selection instanceof D){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&cr(this,t.getBoundingClientRect(),e)}else cr(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e0&&ee.ownerDocument.getSelection()),this._root=e}return e||document}updateRoot(){this._root=null}posAtCoords(e){return Sr(this,e)}coordsAtPos(e,t=1){return Tr(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(r==null)throw RangeError(`DOM position not inside the editor`);return r}endOfTextblock(e,t){return Fr(this,t||this.state,e)}pasteHTML(e,t){return Ra(this,``,e,!1,t||new ClipboardEvent(`paste`))}pasteText(e,t){return Ra(this,e,null,!0,t||new ClipboardEvent(`paste`))}serializeForClipboard(e){return Vi(this,e)}destroy(){this.docView&&(ca(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],so(this),this),this.dom.textContent=``):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Ln())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return fa(this,e)}domSelectionRange(){let e=this.domSelection();return e?L&&this.root.nodeType===11&&qn(this.dom.ownerDocument)==this.dom&&_o(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};Ao.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};function jo(e){let t=Object.create(null);return t.class=`ProseMirror`,t.contenteditable=String(e.editable),e.someProp(`attributes`,n=>{if(typeof n==`function`&&(n=n(e.state)),n)for(let e in n)e==`class`?t.class+=` `+n[e]:e==`style`?t.style=(t.style?t.style+`;`:``)+n[e]:!t[e]&&e!=`contenteditable`&&e!=`nodeName`&&(t[e]=String(n[e]))}),t.translate||(t.translate=`no`),[Ja.node(0,e.state.doc.content.size,t)]}function Mo(e){if(e.markCursor){let t=document.createElement(`img`);t.className=`ProseMirror-separator`,t.setAttribute(`mark-placeholder`,`true`),t.setAttribute(`alt`,``),e.cursorWrapper={dom:t,deco:Ja.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function No(e){return!e.someProp(`editable`,t=>t(e.state)===!1)}function Po(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function Fo(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp(`nodeViews`,n),e.someProp(`markViews`,n),t}function Io(e,t){let n=0,r=0;for(let r in e){if(e[r]!=t[r])return!0;n++}for(let e in t)r++;return n!=r}function Lo(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw RangeError(`Plugins passed directly to the view must not have a state component`)}for(var Ro={8:`Backspace`,9:`Tab`,10:`Enter`,12:`NumLock`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,44:`PrintScreen`,45:`Insert`,46:`Delete`,59:`;`,61:`=`,91:`Meta`,92:`Meta`,106:`*`,107:`+`,108:`,`,109:`-`,110:`.`,111:`/`,144:`NumLock`,145:`ScrollLock`,160:`Shift`,161:`Shift`,162:`Control`,163:`Control`,164:`Alt`,165:`Alt`,173:`-`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},zo={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},Bo=typeof navigator<`u`&&/Mac/.test(navigator.platform),Vo=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),X=0;X<10;X++)Ro[48+X]=Ro[96+X]=String(X);for(var X=1;X<=24;X++)Ro[X+111]=`F`+X;for(var X=65;X<=90;X++)Ro[X]=String.fromCharCode(X+32),zo[X]=String.fromCharCode(X);for(var Ho in Ro)zo.hasOwnProperty(Ho)||(zo[Ho]=Ro[Ho]);function Uo(e){var t=!(Bo&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Vo&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?zo:Ro)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}var Wo=typeof navigator<`u`&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),Go=typeof navigator<`u`&&/Win/.test(navigator.platform);function Ko(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n==`Space`&&(n=` `);let r,i,a,o;for(let e=0;ee.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function Qo(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`backward`,e):n.parentOffset>0)?null:n}var $o=(e,t,n)=>{let r=Qo(e,n);if(!r)return!1;let i=ns(r);if(!i){let n=r.blockRange(),i=n&&Et(n);return i==null?!1:(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let a=i.nodeBefore;if(_s(e,i,t,-1))return!0;if(r.parent.content.size==0&&(es(a,`end`)||D.isSelectable(a)))for(let n=r.depth;;n--){let o=Kt(e.doc,r.before(n),r.after(n),l.empty);if(o&&o.slice.size1)break}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-a.nodeSize,i.pos).scrollIntoView()),!0):!1};function es(e,t,n=!1){for(let r=e;r;r=t==`start`?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}var ts=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`backward`,e):r.parentOffset>0)return!1;a=ns(r)}let o=a&&a.nodeBefore;return!o||!D.isSelectable(o)?!1:(t&&t(e.tr.setSelection(D.create(e.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function ns(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function rs(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`forward`,e):n.parentOffset{let r=rs(e,n);if(!r)return!1;let i=ss(r);if(!i)return!1;let a=i.nodeAfter;if(_s(e,i,t,1))return!0;if(r.parent.content.size==0&&(es(a,`start`)||D.isSelectable(a))){let n=Kt(e.doc,r.before(),r.after(),l.empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`forward`,e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(` +`).scrollIntoView()),!0)};function ls(e){for(let t=0;t{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),o=ls(i.contentMatchAt(a));if(!o||!i.canReplaceWith(a,a,o))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,o.createAndFill());i.setSelection(T.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},ds=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof O||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=ls(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(Rt(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Et(r);return i==null?!1:(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function ps(e){return(t,n)=>{let{$from:r,$to:i}=t.selection;if(t.selection instanceof D&&t.selection.node.isBlock)return!r.parentOffset||!Rt(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let a=[],o,s,c=!1,l=!1;for(let t=r.depth;;t--)if(r.node(t).isBlock){c=r.end(t)==r.pos+(r.depth-t),l=r.start(t)==r.pos-(r.depth-t),s=ls(r.node(t-1).contentMatchAt(r.indexAfter(t-1)));let n=e&&e(i.parent,c,r);a.unshift(n||(c&&s?{type:s}:null)),o=t;break}else{if(t==1)return!1;a.unshift(null)}let u=t.tr;(t.selection instanceof E||t.selection instanceof O)&&u.deleteSelection();let d=u.mapping.map(r.pos),f=Rt(u.doc,d,a.length,a);if(f||(a[0]=s?{type:s}:null,f=Rt(u.doc,d,a.length,a)),!f)return!1;if(u.split(d,a.length,a),!c&&l&&r.node(o).type!=s){let e=u.mapping.map(r.before(o)),t=u.doc.resolve(e);s&&r.node(o-1).canReplaceWith(t.index(),t.index()+1,s)&&u.setNodeMarkup(u.mapping.map(r.before(o)),s)}return n&&n(u.scrollIntoView()),!0}}var ms=ps(),hs=(e,t)=>(t&&t(e.tr.setSelection(new O(e.doc))),!0);function gs(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,a=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(a,a+1)||!(i.isTextblock||Bt(e.doc,t.pos))?!1:(n&&n(e.tr.join(t.pos).scrollIntoView()),!0)}function _s(e,t,n,i){let a=t.nodeBefore,o=t.nodeAfter,s,c,u=a.type.spec.isolating||o.type.spec.isolating;if(!u&&gs(e,t,n))return!0;let d=!u&&t.parent.canReplace(t.index(),t.index()+1);if(d&&(s=(c=a.contentMatchAt(a.childCount)).findWrapping(o.type))&&c.matchType(s[0]||o.type).validEnd){if(n){let i=t.pos+o.nodeSize,c=r.empty;for(let e=s.length-1;e>=0;e--)c=r.from(s[e].create(null,c));c=r.from(a.copy(c));let u=e.tr.step(new w(t.pos-1,i,t.pos,i,new l(c,1,0),s.length,!0)),d=u.doc.resolve(i+2*s.length);d.nodeAfter&&d.nodeAfter.type==a.type&&Bt(u.doc,d.pos)&&u.join(d.pos),n(u.scrollIntoView())}return!0}let f=o.type.spec.isolating||i>0&&u?null:T.findFrom(t,1),p=f&&f.$from.blockRange(f.$to),m=p&&Et(p);if(m!=null&&m>=t.depth)return n&&n(e.tr.lift(p,m).scrollIntoView()),!0;if(d&&es(o,`start`,!0)&&es(a,`end`)){let i=a,s=[];for(;s.push(i),!i.isTextblock;)i=i.lastChild;let c=o,u=1;for(;!c.isTextblock;c=c.firstChild)u++;if(i.canReplace(i.childCount,i.childCount,c.content)){if(n){let i=r.empty;for(let e=s.length-1;e>=0;e--)i=r.from(s[e].copy(i));n(e.tr.step(new w(t.pos-s.length,t.pos+o.nodeSize,t.pos+u,t.pos+o.nodeSize-u,new l(i,s.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function vs(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;for(;i.node(a).isInline;){if(!a)return!1;a--}return i.node(a).isTextblock?(n&&n(t.tr.setSelection(E.create(t.doc,e<0?i.start(a):i.end(a)))),!0):!1}}var ys=vs(-1),bs=vs(1);function xs(e,t,n,r){for(let i=0;i{if(s||!r&&e.isAtom&&e.isInline&&t>=a.pos&&t+e.nodeSize<=o.pos)return!1;s=e.inlineContent&&e.type.allowsMarkType(n)}),s)return!0}return!1}function Ss(e){let t=[];for(let n=0;n{if(e.isAtom&&e.content.size&&e.isInline&&n>=r.pos&&n+e.nodeSize<=i.pos)return n+1>r.pos&&t.push(new pn(r,r.doc.resolve(n+1))),r=r.doc.resolve(n+1+e.content.size),!1}),r.posn.doc.rangeHasMark(t.$from.pos,t.$to.pos,e)):!l.every(t=>{let n=!1;return c.doc.nodesBetween(t.$from.pos,t.$to.pos,(r,i,a)=>{if(n)return!1;n=!e.isInSet(r.marks)&&!!a&&a.type.allowsMarkType(e)&&!(r.isText&&/^\s*$/.test(r.textBetween(Math.max(0,t.$from.pos-i),Math.min(r.nodeSize,t.$to.pos-i))))}),!n});for(let n=0;n=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&t.startIndex==0){if(t.$from.index(t.depth-1)==0)return!1;let e=o.resolve(t.start-2);a=new ae(e,e,t.depth),t.endIndex=0;e--)o=r.from(n[e].type.create(n[e].attrs,o));e.step(new w(t.start-(i?2:0),t.end,t.start,t.end,new l(o,0,0),n.length,!0));let s=0;for(let e=0;e=a.depth-3;e--)t=r.from(a.node(e).copy(t));let s=a.indexAfter(-1){if(d>-1)return!1;e.isTextblock&&e.content.size==0&&(d=t+1)}),d>-1&&u.setSelection(T.near(u.doc.resolve(d))),i(u.scrollIntoView())}return!0}let u=o.pos==a.end()?c.contentMatchAt(0).defaultType:null,d=n.tr.delete(a.pos,o.pos),f=u?[t?{type:e,attrs:t}:null,{type:u}]:void 0;return Rt(d.doc,a.pos,2,f)?(i&&i(d.split(a.pos,2,f).scrollIntoView()),!0):!1}}function Ns(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);return a?n?r.node(a.depth-1).type==e?Ps(t,n,e,a):Fs(t,n,a):!0:!1}}function Ps(e,t,n,i){let a=e.tr,o=i.end,s=i.$to.end(i.depth);or;t--)e-=a.child(t).nodeSize,i.delete(e-1,e+1);let o=i.doc.resolve(n.start),s=o.nodeAfter;if(i.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let c=n.startIndex==0,u=n.endIndex==a.childCount,d=o.node(-1),f=o.index(-1);if(!d.canReplace(f+ +!c,f+1,s.content.append(u?r.empty:r.from(a))))return!1;let p=o.pos,m=p+s.nodeSize;return i.step(new w(p-+!!c,m+ +!!u,p+1,m-1,new l((c?r.empty:r.from(a.copy(r.empty))).append(u?r.empty:r.from(a.copy(r.empty))),+!c,+!u),+!c)),t(i.scrollIntoView()),!0}function Is(e){return function(t,n){let{$from:i,$to:a}=t.selection,o=i.blockRange(a,t=>t.childCount>0&&t.firstChild.type==e);if(!o)return!1;let s=o.startIndex;if(s==0)return!1;let c=o.parent,u=c.child(s-1);if(u.type!=e)return!1;if(n){let i=u.lastChild&&u.lastChild.type==c.type,a=r.from(i?e.create():null),s=new l(r.from(e.create(null,r.from(c.type.create(null,a)))),i?3:1,0),d=o.start,f=o.end;n(t.tr.step(new w(d-(i?3:1),f,d,f,s,1,!0)).scrollIntoView())}return!0}}var Ls=200,Q=function(){};Q.prototype.append=function(e){return e.length?(e=Q.from(e),!this.length&&e||e.length=t?Q.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},Q.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},Q.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},Q.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},Q.from=function(e){return e instanceof Q?e:e&&e.length?new Rs(e):Q.empty};var Rs=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return e==0&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i=n;i--)if(e(this.values[i],r+i)===!1)return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=Ls)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=Ls)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(Q);Q.empty=new Rs([]);var zs=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return ei&&this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;if(t>i&&this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i)===!1||n=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(Q),Bs=500,Vs=class e{constructor(e,t){this.items=e,this.eventCount=t}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,a;n&&(i=this.remapping(r,this.items.length),a=i.maps.length);let o=t.tr,s,c,l=[],u=[];return this.items.forEach((t,n)=>{if(!t.step){i||(i=this.remapping(r,n+1),a=i.maps.length),a--,u.push(t);return}if(i){u.push(new $(t.map));let e=t.step.map(i.slice(a)),n;e&&o.maybeStep(e).doc&&(n=o.mapping.maps[o.mapping.maps.length-1],l.push(new $(n,void 0,void 0,l.length+u.length))),a--,n&&i.appendMap(n,a)}else o.maybeStep(t.step);if(t.selection)return s=i?t.selection.map(i.slice(a)):t.selection,c=new e(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:o,selection:s}}addTransform(t,n,r,i){let a=[],o=this.eventCount,s=this.items,c=!i&&s.length?s.get(s.length-1):null;for(let e=0;eWs&&(s=Hs(s,l),o-=l),new e(s.append(a),o)}remapping(e,t){let n=new mt;return this.items.forEach((t,r)=>{let i=t.mirrorOffset!=null&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(t){return this.eventCount==0?this:new e(this.items.append(t.map(e=>new $(e))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(e=>{e.selection&&s--},i);let c=n;this.items.forEach(e=>{let n=a.getMirror(--c);if(n==null)return;o=Math.min(o,n);let i=a.maps[n];if(e.step){let o=t.steps[n].invert(t.docs[n]),l=e.selection&&e.selection.map(a.slice(c+1,n));l&&s++,r.push(new $(i,o,l))}else r.push(new $(i))},i);let l=[];for(let e=n;eBs&&(u=u.compress(this.items.length-r.length)),u}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],a=0;return this.items.forEach((e,o)=>{if(o>=t)i.push(e),e.selection&&a++;else if(e.step){let t=e.step.map(n.slice(r)),o=t&&t.getMap();if(r--,o&&n.appendMap(o,r),t){let s=e.selection&&e.selection.map(n.slice(r));s&&a++;let c=new $(o.invert(),t,s),l,u=i.length-1;(l=i.length&&i[u].merge(c))?i[u]=l:i.push(c)}}else e.map&&r--},this.items.length,0),new e(Q.from(i.reverse()),a)}};Vs.empty=new Vs(Q.empty,0);function Hs(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&t--==0)return n=r,!1}),e.slice(n)}var $=class e{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new e(n.getMap().invert(),n,this.selection)}}},Us=class{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}},Ws=20;function Gs(e,t,n,r){let i=n.getMeta($s),a;if(i)return i.historyState;n.getMeta(ec)&&(e=new Us(e.done,e.undone,null,0,-1));let o=n.getMeta(`appendedTransaction`);if(n.steps.length==0)return e;if(o&&o.getMeta($s))return o.getMeta($s).redo?new Us(e.done.addTransform(n,void 0,r,Qs(t)),e.undone,qs(n.mapping.maps),e.prevTime,e.prevComposition):new Us(e.done,e.undone.addTransform(n,void 0,r,Qs(t)),null,e.prevTime,e.prevComposition);if(n.getMeta(`addToHistory`)!==!1&&!(o&&o.getMeta(`addToHistory`)===!1)){let i=n.getMeta(`composition`),a=e.prevTime==0||!o&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!Ks(n,e.prevRanges)),s=o?Js(e.prevRanges,n.mapping):qs(n.mapping.maps);return new Us(e.done.addTransform(n,a?t.selection.getBookmark():void 0,r,Qs(t)),Vs.empty,s,n.time,i??e.prevComposition)}else if(a=n.getMeta(`rebased`))return new Us(e.done.rebased(n,a),e.undone.rebased(n,a),Js(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);else return new Us(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Js(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function Ks(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i=t[i]&&(n=!0)}),n}function qs(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function Js(e,t){if(!e)return null;let n=[];for(let r=0;r{let i=$s.getState(n);if(!i||(e?i.undone:i.done).eventCount==0)return!1;if(r){let a=Ys(i,n,e);a&&r(t?a.scrollIntoView():a)}return!0}}var rc=nc(!1,!0),ic=nc(!0,!0),ac=class{constructor(e,t,n={}){this.match=e,this.match=e,this.handler=typeof t==`string`?oc(t):t,this.undoable=n.undoable!==!1,this.inCode=n.inCode||!1,this.inCodeMark=n.inCodeMark!==!1}};function oc(e){return function(t,n,r,i){let a=e;if(n[1]){let e=n[0].lastIndexOf(n[1]);a+=n[0].slice(e+n[1].length),r+=e;let t=r-i;t>0&&(a=n[0].slice(e-t,e)+a,r=i)}return t.tr.insertText(a,r,i)}}var sc=500;function cc({rules:e}){let t=new jn({state:{init(){return null},apply(e,t){return e.getMeta(this)||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput(n,r,i,a){return lc(n,r,i,a,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&lc(n,r.pos,r.pos,``,e,t)})}}},isInputRules:!0});return t}function lc(e,t,n,r,i,a){if(e.composing)return!1;let o=e.state,s=o.doc.resolve(t),c=s.parent.textBetween(Math.max(0,s.parentOffset-sc),s.parentOffset,null,``)+r;for(let l=0;le.type.spec.code))continue;if(s.parent.type.spec.code){if(!u.inCode)continue}else if(u.inCode===`only`)continue;let d=u.match.exec(c);if(!d||d[0].length{t.isInline&&t.marks.some(e=>e.type.spec.code)&&(e=!0)}),e)continue}let p=u.handler(o,d,f,n);if(p)return u.undoable&&p.setMeta(a,{transform:p,from:t,to:n,text:r}),e.dispatch(p),!0}return!1}var uc=new ac(/--$/,`—`,{inCodeMark:!1}),dc=new ac(/\.\.\.$/,`…`,{inCodeMark:!1}),fc=[new ac(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,`“`,{inCodeMark:!1}),new ac(/"$/,`”`,{inCodeMark:!1}),new ac(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,`‘`,{inCodeMark:!1}),new ac(/'$/,`’`,{inCodeMark:!1})];function pc(e,t,n=null,r){return new ac(e,(e,i,a,o)=>{let s=n instanceof Function?n(i):n,c=e.tr.delete(a,o),l=c.doc.resolve(a).blockRange(),u=l&&Ot(l,t,s);if(!u)return null;c.wrap(l,u);let d=c.doc.resolve(a-1).nodeBefore;return d&&d.type==t&&Bt(c.doc,a-1)&&(!r||r(i,d))&&c.join(a-1),c})}export{E as C,Me as E,jn as S,Xe as T,Yo as _,fc as a,Ao as b,ic as c,Is as d,Ms as f,Cs as g,ws as h,cc as i,rc as l,Os as m,dc as n,pc as o,ks as p,uc as r,tc as s,ac as t,Ns as u,Ja as v,Ie as w,kn as x,J as y}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/prosemirror-legacy-CigNWj7m.js b/editor/neo-ppt/assets/prosemirror-legacy-CigNWj7m.js new file mode 100644 index 0000000..b8545f2 --- /dev/null +++ b/editor/neo-ppt/assets/prosemirror-legacy-CigNWj7m.js @@ -0,0 +1 @@ +System.register([],function(e,t){var n,r,i,o,s,l,a,h,c,d,p,f,u,m,g,y,w,v,x,k,b,S,C,M,O,N,T,D,E,A,R,I,z,P,$,B,V,F,L,J,W,q,K,j,_,H,U,G,Y,X,Q,Z,ee,te,ne,re,ie,oe,se,le,ae,he,ce,de,pe,fe,ue,me,ge,ye,we,ve,xe,ke,be,Se,Ce,Me,Oe,Ne,Te,De,Ee,Ae,Re,Ie,ze,Pe,$e,Be,Ve,Fe,Le,Je,We,qe,Ke,je,_e,He,Ue,Ge,Ye,Xe,Qe,Ze,et,tt,nt,rt,it,ot,st,lt,at,ht,ct,dt,pt,ft,ut,mt,gt,yt,wt,vt,xt,kt,bt,St,Ct,Mt,Ot,Nt,Tt,Dt,Et,At,Rt,It,zt,Pt,$t,Bt,Vt,Ft,Lt,Jt,Wt,qt,Kt,jt,_t,Ht,Ut,Gt,Yt,Xt,Qt,Zt,en,tn,nn,rn,on,sn,ln,an,hn,cn,dn,pn,fn,un,mn,gn,yn,wn,vn,xn,kn,bn,Sn,Cn,Mn;function On(e){this.content=e}function Nn(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i!=o){if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let e=0;i.text[e]==o.text[e];e++)n++;return n}if(i.content.size||o.content.size){let e=Nn(i.content,o.content,n+1);if(null!=e)return e}n+=i.nodeSize}else n+=i.nodeSize}}function Tn(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(0==i||0==o)return i==o?null:{a:n,b:r};let s=e.child(--i),l=t.child(--o),a=s.nodeSize;if(s!=l){if(!s.sameMarkup(l))return{a:n,b:r};if(s.isText&&s.text!=l.text){let e=0,t=Math.min(s.text.length,l.text.length);for(;ee.depth)throw new o("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new o("Inconsistent open depths");return zn(e,t,n,0)}function zn(e,t,r,i){let o=e.index(i),s=e.node(i);if(o==t.index(i)&&i=0;o--)i=t.node(o).copy(n.from(i));return{start:i.resolveNoCache(e.openStart+r),end:i.resolveNoCache(i.content.size-e.openEnd-r)}}(r,e);return Fn(s,Ln(e,o,l,t,i))}{let n=e.parent,i=n.content;return Fn(n,i.cut(0,e.parentOffset).append(r.content).append(i.cut(t.parentOffset)))}}return Fn(s,Jn(e,t,i))}function Pn(e,t){if(!t.type.compatibleContent(e.type))throw new o("Cannot join "+t.type.name+" onto "+e.type.name)}function $n(e,t,n){let r=e.node(n);return Pn(r,t.node(n)),r}function Bn(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Vn(e,t,n,r){let i=(t||e).node(n),o=0,s=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(Bn(e.nodeAfter,r),o++));for(let l=o;lo&&$n(e,t,o+1),l=i.depth>o&&$n(r,i,o+1),a=[];return Vn(null,e,o,a),s&&l&&t.index(o)==r.index(o)?(Pn(s,l),Bn(Fn(s,Ln(e,t,r,i,o+1)),a)):(s&&Bn(Fn(s,Jn(e,t,o+1)),a),Vn(t,r,o,a),l&&Bn(Fn(l,Jn(r,i,o+1)),a)),Vn(i,null,o,a),new n(a)}function Jn(e,t,r){let i=[];return Vn(null,e,r,i),e.depth>r&&Bn(Fn($n(e,t,r+1),Jn(e,t,r+1)),i),Vn(t,null,r,i),new n(i)}function Wn(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}function qn(e){let t=[];do{t.push(Kn(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function Kn(e){let t=[];do{t.push(jn(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function jn(e){let t=function(e){if(e.eat("(")){let t=qn(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let e=n[o];e.isInGroup(t)&&i.push(e)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i}(e,e.next).map(t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=Hn(e,t)}return t}function _n(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Hn(e,t){let n=_n(e),r=n;return e.eat(",")&&(r="}"!=e.next?_n(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function Un(e,t){return t-e}function Gn(e,t){let n=[];return function t(r){let i=e[r];if(1==i.length&&!i[0].term)return t(i[0].to);n.push(r);for(let e=0;e{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e{r||i.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)})})});let o=t[r.join(",")]=new m(r.indexOf(e.length-1)>-1);for(let e=0;e-1)&&n.push(s=r)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}function nr(e,t,n){return null!=t?(t?C:0)|("full"===t?M:0):e&&"pre"==e.whitespace?C|M:n&~O}function rr(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function ir(e){let t={};for(let n in e)t[n]=e[n];return t}function or(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],s=e=>{o.push(e);for(let n=0;n-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s,l=o.indexOf(" ");l>0&&(n=o.slice(0,l),o=o.slice(l+1));let a=n?e.createElementNS(n,o):e.createElement(o),h=t[1],c=1;if(h&&"object"==typeof h&&null==h.nodeType&&!Array.isArray(h)){c=2;for(let e in h)if(null!=h[e]){let t=e.indexOf(" ");t>0?a.setAttributeNS(e.slice(0,t),e.slice(t+1),h[e]):"style"==e&&a.style?a.style.cssText=h[e]:a.setAttribute(e,h[e])}}for(let d=c;dc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}{let{dom:t,contentDOM:o}=hr(e,i,n,r);if(a.appendChild(t),o){if(s)throw new RangeError("Multiple content holes");s=o}}}return{dom:a,contentDOM:s}}function cr(e,t){return e+t*R}function dr(e){return e&A}function pr(e,t,r){let i=[];for(let n=0;n0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let e=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function ur(e,t,r,i=r.contentMatch,o=!0){let l=e.doc.nodeAt(t),a=[],h=t+1;for(let c=0;c=0;n--)e.step(a[n])}function mr(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function gr(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let o=e.$from.node(n),s=e.$from.index(n)+r,l=e.$to.indexAfter(n)-i;if(n{if(i.isText){let s,l=/\r?\n|\r/g;for(;s=l.exec(i.text);){let i=e.mapping.slice(r).map(n+1+o+s.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function xr(e,t,n,r){t.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+o);e.replaceWith(i,i+1,t.type.schema.text("\n"))}})}function kr(e,t,n=1,r){let i=e.resolve(t),o=i.depth-n,s=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!s.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let h=i.depth-1,c=n-2;h>o;h--,c--){let e=i.node(h),t=i.index(h);if(e.type.spec.isolating)return!1;let n=e.content.cutByIndex(t,e.childCount),o=r&&r[c+1];o&&(n=n.replaceChild(0,o.type.create(o.attrs)));let s=r&&r[c]||e;if(!e.canReplace(t+1,e.childCount)||!s.type.validContent(n))return!1}let l=i.indexAfter(o),a=r&&r[0];return i.node(o).canReplaceWith(l,l,a?a.type:i.node(o+1).type)}function br(e,t){let n=e.resolve(t),r=n.index();return i=n.nodeBefore,o=n.nodeAfter,!(!i||!o||i.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i1&&(i=i.replaceChild(0,Tr(i.firstChild,t-1,1==i.childCount?r-1:0))),t>0&&(i=e.type.contentMatch.fillBefore(i).append(i),r<=0&&(i=i.append(e.type.contentMatch.matchFragment(i).fillBefore(n.empty,!0)))),e.copy(i)}function Dr(e,t,n,r,i){let o=e.node(t),s=i?e.indexAfter(t):e.index(t);if(s==o.childCount&&!n.compatibleContent(o.type))return null;let l=r.fillBefore(o.content,!0,s);return l&&!function(e,t,n){for(let r=n;ri){let t=o.contentMatchAt(0),r=t.fillBefore(e).append(e);e=r.append(t.matchFragment(r).fillBefore(n.empty,!0))}return e}function Rr(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r>=0;r--){let i=e.start(r);if(it.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(i==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==i-1)&&n.push(r)}return n}function Ir(e){Z||e.parent.inlineContent||(Z=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}function zr(e,t,n,r,i,o=!1){if(t.inlineContent)return ee.create(e,n);for(let s=r-(i>0?0:1);i>0?s=0;s+=i){let r=t.child(s);if(r.isAtom){if(!o&&ne.isSelectable(r))return ne.create(e,n-(i<0?r.nodeSize:0))}else{let t=zr(e,r,n+i,i<0?r.childCount:0,i,o);if(t)return t}n+=r.nodeSize*i}return null}function Pr(e,t,n){let r=e.steps.length-1;if(r{null==i&&(i=r)}),e.setSelection(X.near(e.doc.resolve(i),n)))}function $r(e,t){return t&&e?e.bind(t):e}function Br(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):"handleDOMEvents"==r&&(i=Br(i,t,{})),n[r]=i}return n}function Vr(e){return e in de?e+"$"+ ++de[e]:(de[e]=0,e+"$")}function Fr(e,t,n,r,i){for(var o;;){if(e==n&&t==r)return!0;if(t==(i<0?0:Lr(e))){let n=e.parentNode;if(!n||1!=n.nodeType||Jr(e)||ve.test(e.nodeName)||"false"==e.contentEditable)return!1;t=fe(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;{let n=e.childNodes[t+(i<0?-1:0)];if(1==n.nodeType&&"false"==n.contentEditable){if(!(null===(o=n.pmViewDesc)||void 0===o?void 0:o.ignoreForSelection))return!1;t+=i}else e=n,t=i<0?Lr(e):0}}}}function Lr(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Jr(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}function Wr(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function qr(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Kr(e,t){return"number"==typeof e?e:e[t]}function jr(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function _r(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let s=n||e.dom;s;){if(1!=s.nodeType){s=ue(s);continue}let e=s,n=e==o.body,l=n?qr(o):jr(e),a=0,h=0;if(t.topl.bottom-Kr(r,"bottom")&&(h=t.bottom-t.top>l.bottom-l.top?t.top+Kr(i,"top")-l.top:t.bottom-l.bottom+Kr(i,"bottom")),t.leftl.right-Kr(r,"right")&&(a=t.right-l.right+Kr(i,"right")),a||h)if(n)o.defaultView.scrollBy(a,h);else{let n=e.scrollLeft,r=e.scrollTop;h&&(e.scrollTop+=h),a&&(e.scrollLeft+=a);let i=e.scrollLeft-n,o=e.scrollTop-r;t={left:t.left-i,top:t.top-o,right:t.right-i,bottom:t.bottom-o}}let c=n?"fixed":getComputedStyle(s).position;if(/^(fixed|sticky)$/.test(c))break;s="absolute"==c?s.offsetParent:ue(s)}}function Hr(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=ue(r));return t}function Ur(e,t){for(let n=0;n=h){a=Math.max(f.bottom,a),h=Math.min(f.top,h);let e=f.left>t.left?f.left-t.left:f.right=(f.left+f.right)/2?1:0));continue}}else f.top>t.top&&!i&&f.left<=t.left&&f.right>=t.left&&(i=c,o={left:Math.max(f.left,Math.min(f.right,t.left)),top:f.top});!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(l=d+1)}}return!n&&i&&(n=i,r=o,s=0),n&&3==n.nodeType?function(e,t){let n,r=e.nodeValue.length,i=document.createRange();for(let o=0;o=(r.left+r.right)/2?1:0)};break}}return i.detach(),n||{node:e,offset:0}}(n,r):!n||s&&1==n.nodeType?{node:e,offset:l}:Gr(n,r)}function Yr(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Xr(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&i++}let r;Ve&&i&&1==n.nodeType&&1==(r=n.childNodes[i-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=t.top&&i--,n==e.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:0!=i&&1==n.nodeType&&"BR"==n.childNodes[i-1].nodeName||(s=function(e,t,n,r){let i=-1;for(let o=t,s=!1;o!=e.dom;){let t,n=e.docView.nearestDesc(o,!0);if(!n)return null;if(1==n.dom.nodeType&&(n.node.isBlock&&n.parent||!n.contentDOM)&&((t=n.dom.getBoundingClientRect()).width||t.height)&&(n.node.isBlock&&n.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(n.dom.nodeName)&&(!s&&t.left>r.left||t.top>r.top?i=n.posBefore:(!s&&t.right-1?i:e.docView.posFromDOM(t,n,-1)}(e,n,i,t))}null==s&&(s=function(e,t,n){let{node:r,offset:i}=Gr(t,n),o=-1;if(1==r.nodeType&&!r.firstChild){let e=r.getBoundingClientRect();o=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}(e,l,t));let a=e.docView.nearestDesc(l,!0);return{pos:s,inside:a?a.posAtStart-a.border:-1}}function Zr(e){return e.top=0&&i==r.nodeValue.length?(e--,o=1):n<0?e--:t++,ni(ei(ge(r,e,t),o),o<0)}{let e=ei(ge(r,i,i),n);if(De&&i&&/\s/.test(r.nodeValue[i-1])&&i=0)}if(null==o&&i&&(n<0||i==Lr(r))){let e=r.childNodes[i-1],t=3==e.nodeType?ge(e,Lr(e)-(s?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return ni(ei(t,1),!1)}if(null==o&&i=0)}function ni(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function ri(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function ii(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function oi(e,t,n){return qe==t&&Ke==n?je:(qe=t,Ke=n,je="up"==n||"down"==n?function(e,t,n){let r=t.selection,i="up"==n?r.$from:r.$to;return ii(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=ti(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=ge(e,0,e.nodeValue.length).getClientRects()}for(let e=0;ei.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0})}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,s=i==r.parent.content.size,l=e.domSelection();return l?We.test(r.parent.textContent)&&l.modify?ii(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:o,anchorOffset:s}=e.domSelectionRange(),a=l.caretBidiLevel;l.modify("move",n,"character");let h=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:c,focusOffset:d}=e.domSelectionRange(),p=c&&!h.contains(1==c.nodeType?c:c.parentNode)||t==c&&i==d;try{l.collapse(o,s),t&&(t!=o||i!=s)&&l.extend&&l.extend(t,i)}catch(f){}return null!=a&&(l.caretBidiLevel=a),p}):"left"==n||"backward"==n?o:s:r.pos==r.start()||r.pos==r.end()}(e,t,n))}function si(e,t,n,r,i){di(r,t,e);let o=new Ye(void 0,e,t,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}function li(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o=n||c<=t?o.push(a):(hn&&o.push(a.slice(n-h,a.size,r)))}return o}function gi(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),o=i&&0==i.size,s=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(s<0)return null;let l,a,h=r.resolve(s);if(xe(n)){for(l=s;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&ne.isSelectable(e)&&i.parent&&(!e.isInline||!function(e,t,n){for(let r=0==t,i=t==Lr(e);r||i;){if(e==n)return!0;let t=fe(e);if(!(e=e.parentNode))return!1;r=r&&0==t,i=i&&t==Lr(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;a=new ne(s==e?h:r.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=s,i=s;for(let r=0;r{n.anchorNode==r&&n.anchorOffset==i||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{yi(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")},20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}function vi(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=rr(e,t,n))||ee.between(t,n,r)}function Mi(e){return!(e.editable&&!e.hasFocus())&&Oi(e)}function Oi(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function Ni(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return o&&X.findFrom(o,t)}function Ti(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Di(e,t,n){let r=e.state.selection;if(!(r instanceof ee)){if(r instanceof ne&&r.node.isInline)return Ti(e,new ee(t>0?r.$to:r.$from));{let n=Ni(e.state,t);return!!n&&Ti(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let o=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return Ti(e,new ee(r.$anchor,o))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=Ni(e.state,t);return!!(n&&n instanceof ne)&&Ti(e,n)}if(!(Pe&&n.indexOf("m")>-1)){let n,i=r.$head,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText)return!1;let s=t<0?i.pos-o.nodeSize:i.pos;return!!(o.isAtom||(n=e.docView.descAt(s))&&!n.contentDOM)&&(ne.isSelectable(o)?Ti(e,new ne(t<0?e.state.doc.resolve(i.pos-o.nodeSize):i)):!!Ve&&Ti(e,new ee(e.state.doc.resolve(t<0?s:s+o.nodeSize))))}}function Ei(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Ai(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function Ri(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,s=!1;for(De&&1==n.nodeType&&r0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(Ai(e,-1))i=n,o=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(Ii(n))break;{let t=n.previousSibling;for(;t&&Ai(t,-1);)i=n.parentNode,o=fe(t),t=t.previousSibling;if(t)n=t,r=Ei(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}s?zi(e,n,r):i&&zi(e,i,o)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,s=Ei(n);for(;;)if(r{e.state==i&&wi(e)},50)}function Pi(e,t){let n=e.state.doc.resolve(t);if(!Ae&&!$e&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i1)return n.leftr.top&&i1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function $i(e,t,n){let r=e.state.selection;if(r instanceof ee&&!r.empty||n.indexOf("s")>-1)return!1;if(Pe&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Ni(e.state,t);if(n&&n instanceof ne)return Ti(e,n)}if(!i.parent.inlineContent){let n=t<0?i:o,s=r instanceof ie?X.near(n,t):X.findFrom(n,t);return!!s&&Ti(e,s)}return!1}function Bi(e,t){if(!(e.state.selection instanceof ee))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let r=e.state.tr;return t<0?r.delete(n.pos-o.nodeSize,n.pos):r.delete(n.pos,n.pos+o.nodeSize),e.dispatch(r),!0}return!1}function Vi(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Fi(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||Pe&&72==n&&"c"==r)return Bi(e,-1)||Ri(e,-1);if(46==n&&!t.shiftKey||Pe&&68==n&&"c"==r)return Bi(e,1)||Ri(e,1);if(13==n||27==n)return!0;if(37==n||Pe&&66==n&&"c"==r){let t=37==n?"ltr"==Pi(e,e.state.selection.from)?-1:1:-1;return Di(e,t,r)||Ri(e,t)}if(39==n||Pe&&70==n&&"c"==r){let t=39==n?"ltr"==Pi(e,e.state.selection.from)?1:-1:1;return Di(e,t,r)||Ri(e,t)}return 38==n||Pe&&80==n&&"c"==r?$i(e,-1,r)||Ri(e,-1):40==n||Pe&&78==n&&"c"==r?function(e){if(!Ie||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;Vi(e,n,"true"),setTimeout(()=>Vi(e,n,"false"),20)}return!1}(e)||$i(e,1,r)||Ri(e,1):r==(Pe?"m":"c")&&(66==n||73==n||89==n||90==n)}function Li(e,t){e.someProp("transformCopied",n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:o}=t;for(;i>1&&o>1&&1==r.childCount&&1==r.firstChild.childCount;){i--,o--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let s=e.someProp("clipboardSerializer")||D.fromSchema(e.state.schema),l=Hi(),a=l.createElement("div");a.appendChild(s.serializeFragment(r,{document:l}));let h,c=a.firstChild,d=0;for(;c&&1==c.nodeType&&(h=ot[c.nodeName.toLowerCase()]);){for(let e=h.length-1;e>=0;e--){let t=l.createElement(h[e]);for(;a.firstChild;)t.appendChild(a.firstChild);a.appendChild(t),d++}c=a.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${i} ${o}${d?` -${d}`:""} ${JSON.stringify(n)}`),{dom:a,text:e.someProp("clipboardTextSerializer",n=>n(t,e))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function Ji(e,t,r,i,o){let l,a,h=o.parent.type.spec.code;if(!r&&!t)return null;let c=!!t&&(i||h||!r);if(c){if(e.someProp("transformPastedText",n=>{t=n(t,h||i,e)}),h)return a=new s(n.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0),e.someProp("transformPasted",t=>{a=t(a,e,!0)}),a;let r=e.someProp("clipboardTextParser",n=>n(t,o,i,e));if(r)a=r;else{let n=o.marks(),{schema:r}=e.state,i=D.fromSchema(r);l=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=l.appendChild(document.createElement("p"));e&&t.appendChild(i.serializeNode(r.text(e,n)))})}}else e.someProp("transformPastedHTML",t=>{r=t(r,e)}),l=function(e){let t=/^(\s*]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=Hi().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);if((n=i&&ot[i[1].toLowerCase()])&&(e=n.map(e=>"<"+e+">").join("")+e+n.map(e=>"").reverse().join("")),r.innerHTML=function(e){let t=window.trustedTypes;return t?(lt||(lt=t.defaultPolicy||t.createPolicy("ProseMirrorClipboard",{createHTML:e=>e})),lt.createHTML(e)):e}(e),n)for(let o=0;o0;n--){let e=l.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;l=e}if(a||(a=(e.someProp("clipboardParser")||e.someProp("domParser")||x.fromSchema(e.state.schema)).parseSlice(l,{preserveWhitespace:!(!c&&!p),context:o,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||it.test(e.parentNode.nodeName)?null:{ignore:!0}})),p)a=function(e,t){if(!e.size)return e;let r,i=e.content.firstChild.type.schema;try{r=JSON.parse(t)}catch(h){return e}let{content:o,openStart:l,openEnd:a}=e;for(let s=r.length-2;s>=0;s-=2){let e=i.nodes[r[s]];if(!e||e.hasRequiredAttrs())break;o=n.from(e.create(r[s+1],o)),l++,a++}return new s(o,l,a)}(_i(a,+p[1],+p[2]),p[4]);else if(a=s.maxOpen(function(e,t){if(e.childCount<2)return e;for(let r=t.depth;r>=0;r--){let i,o=t.node(r).contentMatchAt(t.index(r)),s=[];if(e.forEach(e=>{if(!s)return;let t,n=o.findWrapping(e.type);if(!n)return s=null;if(t=s.length&&i.length&&qi(n,i,e,s[s.length-1],0))s[s.length-1]=t;else{s.length&&(s[s.length-1]=Ki(s[s.length-1],i.length));let t=Wi(e,n);s.push(t),o=o.matchType(t.type),i=n}}),s)return n.from(s)}return e}(a.content,o),!0),a.openStart||a.openEnd){let e=0,t=0;for(let n=a.content.firstChild;e{a=t(a,e,c)}),a}function Wi(e,t,r=0){for(let i=t.length-1;i>=r;i--)e=t[i].create(null,n.from(e));return e}function qi(e,t,r,i,o){if(o1&&(s=0),o=r&&(a=t<0?l.contentMatchAt(0).fillBefore(a,s<=o).append(a):a.append(l.contentMatchAt(l.childCount).fillBefore(n.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,l.copy(a))}function _i(e,t,n){return t{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>Yi(e,t))})}function Yi(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)})}function Xi(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function Qi(e){return{left:e.clientX,top:e.clientY}}function Zi(e,t,n,r,i){if(-1==r)return!1;let o=e.state.doc.resolve(r);for(let s=o.depth+1;s>0;s--)if(e.someProp(t,t=>s>o.depth?t(e,n,o.nodeAfter,o.before(s),i,!0):t(e,n,o.node(s),o.before(s),i,!1)))return!0;return!1}function eo(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function to(e,t,n,r,i){return Zi(e,"handleClickOn",t,n,r)||e.someProp("handleClick",n=>n(e,t,r))||(i?function(e,t){if(-1==t)return!1;let n,r,i=e.state.selection;i instanceof ne&&(n=i.node);let o=e.state.doc.resolve(t);for(let s=o.depth+1;s>0;s--){let e=s>o.depth?o.nodeAfter:o.node(s);if(ne.isSelectable(e)){r=n&&i.$from.depth>0&&s>=i.$from.depth&&o.before(i.$from.depth+1)==i.$from.pos?o.before(i.$from.depth):o.before(s);break}}return null!=r&&(eo(e,ne.create(e.state.doc,r),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&ne.isSelectable(r))&&(eo(e,new ne(n),"pointer"),!0)}(e,n))}function no(e,t,n,r){return Zi(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",n=>n(e,t,r))}function ro(e,t,n,r){return Zi(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",n=>n(e,t,r))||function(e,t,n){if(0!=n.button)return!1;let r=e.state.doc;if(-1==t)return!!r.inlineContent&&(eo(e,ee.create(r,0,r.content.size),"pointer"),!0);let i=r.resolve(t);for(let o=i.depth+1;o>0;o--){let t=o>i.depth?i.nodeAfter:i.node(o),n=i.before(o);if(t.inlineContent)eo(e,ee.create(r,n+1,n+1+t.content.size),"pointer");else{if(!ne.isSelectable(t))continue;eo(e,ne.create(r,n),"pointer")}return!0}}(e,n,r)}function io(e){return ho(e)}function oo(e,t){return!!e.composing||!!(Ie&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}function so(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>ho(e),t))}function lo(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function ao(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=Lr(e=e.childNodes[t-1])}else{if(!e.parentNode||Jr(e))return null;t=fe(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),r=function(e,t){for(;;){if(3==e.nodeType&&t=0)){if(e.domObserver.forceFlush(),lo(e),t||e.docView&&e.docView.dirty){let n=gi(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}function co(e,t,n,r,i){let o=Ji(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",t=>t(e,i,o||s.empty)))return!0;if(!o)return!1;let l=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(o),a=l?e.state.tr.replaceSelectionWith(l,r):e.state.tr.replaceSelection(o);return e.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function po(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}function fo(e,t){let n;return e.someProp("dragCopies",e=>{n=n||e(t)}),null!=n?!n:!t[yt]}function uo(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}function mo(e,t,n,r,i,o,s){let l=e.slice();for(let h=0,c=o;h{let o=i-r-(n-t);for(let s=0;sr+c-e)continue;let i=l[s]+c-e;n>=i?l[s+1]=t<=i?-2:-1:t>=c&&o&&(l[s]+=o,l[s+1]+=o)}e+=o}),c=n.maps[h].map(c,-1)}let a=!1;for(let h=0;h=r.content.size){a=!0;continue}let d=n.map(e[h+1]+o,-1)-i,{index:p,offset:f}=r.content.findIndex(c),u=r.maybeChild(p);if(u&&f==c&&f+u.nodeSize==d){let r=l[h+2].mapInner(n,u,t+1,e[h]+o+1,s);r!=Mt?(l[h]=c,l[h+1]=d,l[h+2]=r):(l[h+1]=-2,a=!0)}else a=!0}if(a){let a=vo(function(e,t,n,r,i,o,s){function l(e,t){for(let o=0;on&&o.to{let l=yo(e,t,s+n);if(l){o=!0;let e=vo(l,t,n+s+1,r);e!=Mt&&i.push(s,s+t.nodeSize,e)}});let s=go(o?wo(e):e,-n).sort(xo);for(let l=0;l0;)t++;e.splice(t,0,n)}function So(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=Mt&&t.push(r)}),e.cursorWrapper&&t.push(Ct.create(e.state.doc,[e.cursorWrapper.deco])),Ot.from(t)}function Co(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,s=e.domAtPos(e.state.selection.anchor);return we(s.node,s.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function Mo(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function Oo(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(Ie&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||Ie&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}function No(e,t,r,i,o){let s=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=gi(e,t);if(n&&!e.state.selection.eq(n)){if(Ae&&Be&&13===e.input.lastKeyCode&&Date.now()-100t(e,Wr(13,"Enter"))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),s&&r.setMeta("composition",s),e.dispatch(r)}return}let l=e.state.doc.resolve(t),a=l.sharedDepth(r);t=l.before(a+1),r=e.state.doc.resolve(r).after(a+1);let h,c,d=e.state.selection,p=function(e,t,n){let r,{node:i,fromOffset:o,toOffset:s,from:l,to:a}=e.docView.parseRange(t,n),h=e.domSelectionRange(),c=h.anchorNode;if(c&&e.dom.contains(1==c.nodeType?c:c.parentNode)&&(r=[{node:c,offset:h.anchorOffset}],xe(h)||r.push({node:h.focusNode,offset:h.focusOffset})),Ae&&8===e.input.lastKeyCode)for(let g=s;g>o;g--){let e=i.childNodes[g-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){s=g;break}if(!t||t.size)break}let d=e.state.doc,p=e.someProp("domParser")||x.fromSchema(e.state.schema),f=d.resolve(l),u=null,m=p.parse(i,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:o,to:s,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:r,ruleFromNode:Oo,context:f});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),u={anchor:e+l,head:t+l}}return{doc:m,sel:u,from:l,to:a}}(e,t,r),f=e.state.doc,u=f.slice(p.from,p.to);8===e.input.lastKeyCode&&Date.now()-100=s?o-r:0;o-=e,o&&o=l?o-r:0;o-=t,o&&oDate.now()-225||Be)&&o.some(e=>1==e.nodeType&&!It.test(e.nodeName))&&(!m||m.endA>=m.endB)&&e.someProp("handleKeyDown",t=>t(e,Wr(13,"Enter"))))return void(e.input.lastIOSEnter=0);if(!m){if(!(i&&d instanceof ee&&!d.empty&&d.$head.sameParent(d.$anchor))||e.composing||p.sel&&p.sel.anchor!=p.sel.head){if(p.sel){let t=To(e,e.state.doc,p.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);s&&n.setMeta("composition",s),e.dispatch(n)}}return}m={start:d.from,endA:d.to,endB:d.to}}e.state.selection.frome.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=p.from?m.start=e.state.selection.from:m.endA=e.state.selection.to-2&&e.state.selection.to<=p.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),Ne&&Te<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>p.from&&"  "==p.doc.textBetween(m.start-p.from-1,m.start-p.from+1)&&(m.start--,m.endA--,m.endB--);let g=p.doc.resolveNoCache(m.start-p.from),y=p.doc.resolveNoCache(m.endB-p.from),w=f.resolve(m.start),v=g.sameParent(y)&&g.parent.inlineContent&&w.end()>=m.endA;if((ze&&e.input.lastIOSEnter>Date.now()-225&&(!v||o.some(e=>"DIV"==e.nodeName||"P"==e.nodeName))||!v&&g.post(e,Wr(13,"Enter"))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>m.start&&function(e,t,n,r,i){if(n-t<=i.pos-r.pos||Do(r,!0,!1)n||Do(s,!0,!1)t(e,Wr(8,"Backspace"))))return void(Be&&Ae&&e.domObserver.suppressSelectionUpdates());Ae&&m.endB==m.start&&(e.input.lastChromeDelete=Date.now()),Be&&!v&&g.start()!=y.start()&&0==y.parentOffset&&g.depth==y.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==m.endA&&(m.endB-=2,y=p.doc.resolveNoCache(m.endB-p.from),setTimeout(()=>{e.someProp("handleKeyDown",function(t){return t(e,Wr(13,"Enter"))})},20));let k,b=m.start,S=m.endA,C=t=>{let n=t||e.state.tr.replace(b,S,p.doc.slice(m.start-p.from,m.endB-p.from));if(p.sel){let t=To(e,n.doc,p.sel);t&&!(Ae&&e.composing&&t.empty&&(m.start!=m.endB||e.input.lastChromeDeletewi(e),20));let t=C(e.state.tr.delete(b,S)),n=f.resolve(m.start).marksAcross(f.resolve(m.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(m.endA==m.endB&&(k=function(e,t){let r,i,o,s=e.firstChild.marks,l=t.firstChild.marks,a=s,h=l;for(let n=0;ne.mark(i.addToSet(e.marks));else{if(0!=a.length||1!=h.length)return null;i=h[0],r="remove",o=e=>e.mark(i.removeFromSet(e.marks))}let c=[];for(let n=0;nC(e.state.tr.insertText(t,b,S));e.someProp("handleTextInput",r=>r(e,b,S,t,n))||e.dispatch(n())}else e.dispatch(C());else e.dispatch(C())}function To(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Ci(e,t.resolve(n.anchor),t.resolve(n.head))}function Do(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function Eo(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}function Ao(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))}),t.translate||(t.translate="no"),[kt.node(0,e.state.doc.content.size,t)]}function Ro(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:kt.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Io(e){return!e.someProp("editable",t=>!1===t(e.state))}function zo(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Po(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}function $o(e){let t,n,r,i,o=e.split(/-(?!$)/),s=o[o.length-1];"Space"==s&&(s=" ");for(let l=0;l=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function Jo(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1=0;e--)l=n.from(o[e].create(null,l));l=n.from(a.copy(l));let c=e.tr.step(new K(t.pos-1,i,t.pos,i,new s(l,1,0),o.length,!0)),d=c.doc.resolve(i+2*o.length);d.nodeAfter&&d.nodeAfter.type==a.type&&br(c.doc,d.pos)&&c.join(d.pos),r(c.scrollIntoView())}return!0}let p=h.type.spec.isolating||i>0&&c?null:X.findFrom(t,1),f=p&&p.$from.blockRange(p.$to),u=f&&gr(f);if(null!=u&&u>=t.depth)return r&&r(e.tr.lift(f,u).scrollIntoView()),!0;if(d&&Fo(h,"start",!0)&&Fo(a,"end")){let i=a,o=[];for(;o.push(i),!i.isTextblock;)i=i.lastChild;let l=h,c=1;for(;!l.isTextblock;l=l.firstChild)c++;if(i.canReplace(i.childCount,i.childCount,l.content)){if(r){let i=n.empty;for(let e=o.length-1;e>=0;e--)i=n.from(o[e].copy(i));r(e.tr.step(new K(t.pos-o.length,t.pos+h.nodeSize,t.pos+c,t.pos+h.nodeSize-c,new s(i,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Ko(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return!!i.node(o).isTextblock&&(n&&n(t.tr.setSelection(ee.create(t.doc,e<0?i.start(o):i.end(o)))),!0)}}function jo(...e){return function(t,n,r){for(let i=0;i=0&&0==t.length;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function Ho(e,t){if(!e)return null;let n=[];for(let r=0;r{let i=gn.getState(n);if(!i||0==(e?i.undone:i.done).eventCount)return!1;if(r){let o=function(e,t,n){let r=Uo(t),i=gn.get(t).spec.config,o=(n?e.undone:e.done).popEvent(t,r);if(!o)return null;let s=o.selection.resolve(o.transform.doc),l=(n?e.done:e.undone).addTransform(o.transform,t.selection.getBookmark(),i,r),a=new pn(n?l:o.remaining,n?o.remaining:l,null,0,-1);return o.transform.setSelection(s).setMeta(gn,{redo:n,historyState:a})}(i,n,e);o&&r(t?o.scrollIntoView():o)}return!0}}function Yo(e,t,n,r,i,o){if(e.composing)return!1;let s=e.state,l=s.doc.resolve(t),a=l.parent.textBetween(Math.max(0,l.parentOffset-kn),l.parentOffset,null,"")+r;for(let h=0;he.type.spec.code))continue;if(l.parent.type.spec.code){if(!c.inCode)continue}else if("only"===c.inCode)continue;let d=c.match.exec(a);if(!d||d[0].length{t.isInline&&t.marks.some(e=>e.type.spec.code)&&(e=!0)}),e)continue}let f=c.handler(s,d,p,n);if(f)return c.undoable&&f.setMeta(o,{transform:f,from:t,to:n,text:r}),e.dispatch(f),!0}return!1}return e({_:function(e){return new ce({props:{handleKeyDown:Vo(e)}})},d:function(e){return function(t,r){let{$from:i,$to:o}=t.selection,l=i.blockRange(o,t=>t.childCount>0&&t.firstChild.type==e);if(!l)return!1;let a=l.startIndex;if(0==a)return!1;let h=l.parent,c=h.child(a-1);if(c.type!=e)return!1;if(r){let i=c.lastChild&&c.lastChild.type==h.type,o=n.from(i?e.create():null),a=new s(n.from(e.create(null,n.from(h.type.create(null,o)))),i?3:1,0),d=l.start,p=l.end;r(t.tr.step(new K(d-(i?3:1),p,d,p,a,1,!0)).scrollIntoView())}return!0}},f:function(e,t){return function(r,i){let{$from:o,$to:l,node:a}=r.selection;if(a&&a.isBlock||o.depth<2||!o.sameParent(l))return!1;let h=o.node(-1);if(h.type!=e)return!1;if(0==o.parent.content.size&&o.node(-1).childCount==o.indexAfter(-1)){if(3==o.depth||o.node(-3).type!=e||o.index(-2)!=o.node(-2).childCount-1)return!1;if(i){let t=n.empty,l=o.index(-1)?1:o.index(-2)?2:3;for(let e=o.depth-l;e>=o.depth-3;e--)t=n.from(o.node(e).copy(t));let a=o.indexAfter(-1){if(d>-1)return!1;e.isTextblock&&0==e.content.size&&(d=t+1)}),d>-1&&c.setSelection(X.near(c.doc.resolve(d))),i(c.scrollIntoView())}return!0}let c=l.pos==o.end()?h.contentMatchAt(0).defaultType:null,d=r.tr.delete(o.pos,l.pos),p=c?[t?{type:e,attrs:t}:null,{type:c}]:void 0;return!!kr(d.doc,o.pos,2,p)&&(i&&i(d.split(o.pos,2,p).scrollIntoView()),!0)}},g:function(e,t=null,n){let r=!1!==(n&&n.removeWhenPresent),i=!1!==(n&&n.enterInlineAtoms),o=!(n&&n.includeWhitespace);return function(n,s){let{empty:l,$cursor:a,ranges:h}=n.selection;if(l&&!a||!function(e,t,n,r){for(let i=0;i{if(l||!r&&e.isAtom&&e.isInline&&t>=o.pos&&t+e.nodeSize<=s.pos)return!1;l=e.inlineContent&&e.type.allowsMarkType(n)}),l)return!0}return!1}(n.doc,h,e,i))return!1;if(s)if(a)e.isInSet(n.storedMarks||a.marks())?s(n.tr.removeStoredMark(e)):s(n.tr.addStoredMark(e.create(t)));else{let l,a=n.tr;i||(h=function(e){let t=[];for(let n=0;n{if(e.isAtom&&e.content.size&&e.isInline&&n>=r.pos&&n+e.nodeSize<=i.pos)return n+1>r.pos&&t.push(new Q(r,r.doc.resolve(n+1))),r=r.doc.resolve(n+1+e.content.size),!1}),r.posn.doc.rangeHasMark(t.$from.pos,t.$to.pos,e)):!h.every(t=>{let n=!1;return a.doc.nodesBetween(t.$from.pos,t.$to.pos,(r,i,o)=>{if(n)return!1;n=!e.isInSet(r.marks)&&!!o&&o.type.allowsMarkType(e)&&!(r.isText&&/^\s*$/.test(r.textBetween(Math.max(0,t.$from.pos-i),Math.min(r.nodeSize,t.$to.pos-i))))}),!n});for(let n=0;nnull,apply(e,t){let n=e.getMeta(this);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(n,r,i,o)=>Yo(n,r,i,o,e,t),handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&Yo(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t},o:function(e,t,n=null,r){return new xn(e,(e,i,o,s)=>{let l=n instanceof Function?n(i):n,a=e.tr.delete(o,s),h=a.doc.resolve(o).blockRange(),c=h&&yr(h,t,l);if(!c)return null;a.wrap(h,c);let d=a.doc.resolve(o-1).nodeBefore;return d&&d.type==t&&br(a.doc,o-1)&&(!r||r(i,d))&&a.join(o-1),a})},p:function(e,t=null){return function(r,i){let{$from:o,$to:l}=r.selection,a=o.blockRange(l);if(!a)return!1;let h=i?r.tr:null;return!!function(e,t,r,i=null){let o=!1,l=t,a=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(r)&&0==t.startIndex){if(0==t.$from.index(t.depth-1))return!1;let e=a.resolve(t.start-2);l=new d(e,e,t.depth),t.endIndex=0;s--)l=n.from(r[s].type.create(r[s].attrs,l));e.step(new K(t.start-(i?2:0),t.end,t.start,t.end,new s(l,0,0),r.length,!0));let a=0;for(let n=0;nnew pn(cn.empty,cn.empty,null,0,-1),apply:(t,n,r)=>function(e,t,n,r){let i,o=n.getMeta(gn);if(o)return o.historyState;n.getMeta(yn)&&(e=new pn(e.done,e.undone,null,0,-1));let s=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(s&&s.getMeta(gn))return s.getMeta(gn).redo?new pn(e.done.addTransform(n,void 0,r,Uo(t)),e.undone,_o(n.mapping.maps),e.prevTime,e.prevComposition):new pn(e.done,e.undone.addTransform(n,void 0,r,Uo(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||s&&!1===s.getMeta("addToHistory"))return(i=n.getMeta("rebased"))?new pn(e.done.rebased(n,i),e.undone.rebased(n,i),Ho(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new pn(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Ho(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let i=n.getMeta("composition"),o=0==e.prevTime||!s&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i=t[i]&&(n=!0)}),n}(n,e.prevRanges)),l=s?Ho(e.prevRanges,n.mapping):_o(n.mapping.maps);return new pn(e.done.addTransform(n,o?t.selection.getBookmark():void 0,r,Uo(t)),cn.empty,l,n.time,null==i?e.prevComposition:i)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?wn:"historyRedo"==n?vn:null;return!(!r||!e.editable)&&(t.preventDefault(),r(e.state,e.dispatch))}}}})},u:function(e){return function(t,r){let{$from:i,$to:o}=t.selection,l=i.blockRange(o,t=>t.childCount>0&&t.firstChild.type==e);return!!l&&(!r||(i.node(l.depth-1).type==e?function(e,t,r,i){let o=e.tr,l=i.end,a=i.$to.end(i.depth);lm;s--)n-=o.child(s).nodeSize,i.delete(n-1,n+1);let l=i.doc.resolve(r.start),a=l.nodeAfter;if(i.mapping.map(r.end)!=r.start+l.nodeAfter.nodeSize)return!1;let h=0==r.startIndex,c=r.endIndex==o.childCount,d=l.node(-1),p=l.index(-1);if(!d.canReplace(p+(h?0:1),p+1,a.content.append(c?n.empty:n.from(o))))return!1;let f=l.pos,u=f+a.nodeSize;return i.step(new K(f-(h?1:0),u+(c?1:0),f+1,u-1,new s((h?n.empty:n.from(o.copy(n.empty))).append(c?n.empty:n.from(o.copy(n.empty))),h?0:1,c?0:1),h?0:1)),t(i.scrollIntoView()),!0}(t,r,l)))}}}),{setters:[],execute:function(){On.prototype={constructor:On,find:function(e){for(var t=0;t>1}},On.from=function(e){if(e instanceof On)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new On(t)},n=class e{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let n=0;ne&&!1!==n(l,r+s,i||null,o)&&l.content.size){let i=s+1;l.nodesBetween(Math.max(0,e-i),Math.min(l.content.size,t-i),n,r+i)}s=a}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i="",o=!0;return this.nodesBetween(e,t,(s,l)=>{let a=s.isText?s.text.slice(Math.max(e,l)-l,t-l):s.isLeaf?r?"function"==typeof r?r(s):r:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&a||s.isTextblock)&&n&&(o?o=!1:i+=n),i+=a},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);ot)for(let e=0,o=0;ot&&((on)&&(s=s.isText?s.cut(Math.max(0,t-o),Math.min(s.text.length,n-o)):s.cut(Math.max(0,t-o-1),Math.min(s.content.size,n-o-1))),r.push(s),i+=s.nodeSize),o=l}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:0==t&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,o)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;tthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=n+this.child(t).nodeSize;if(r>=e)return r==e?Dn(t+1,r):Dn(t,n);n=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new e(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let e=0;ethis.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;te.type.rank-t.type.rank),n}},i.none=[],o=class extends Error{},(s=class e{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=Rn(this.content,t+this.openStart,n);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(An(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(t,r){if(!r)return e.empty;let i=r.openStart||0,o=r.openEnd||0;if("number"!=typeof i||"number"!=typeof o)throw new RangeError("Invalid input for Slice.fromJSON");return new e(n.fromJSON(t,r.content),i,o)}static maxOpen(t,n=!0){let r=0,i=0;for(let e=t.firstChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.firstChild)r++;for(let e=t.lastChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.lastChild)i++;return new e(t,r,i)}}).empty=new s(n.empty,0,0),l=class e{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let i=0;i0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new d(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let e=t;;){let{index:t,offset:n}=e.content.findIndex(o),s=o-n;if(r.push(e,t,i+n),!s)break;if(e=e.child(t),e.isText)break;o=s-1,i+=n+1}return new e(n,r,o)}static resolveCached(t,n){let r=c.get(t);if(r)for(let e=0;ee&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Wn(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=n.empty,i=0,o=r.childCount){let s=this.contentMatchAt(e).matchFragment(r,i,o),l=s&&s.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let n=i;ne.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=n.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,i,r);return o.type.checkAttrs(o.attrs),o}},f.prototype.text=void 0,u=class e extends f{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Wn(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}},m=class e{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new g(t,n);if(null==r.next)return e.empty;let i=qn(r);r.next&&r.err("Unexpected trailing text");let o=Yn(function(e){let t=[[]];return i(function e(t,o){if("choice"==t.type)return t.exprs.reduce((t,n)=>t.concat(e(n,o)),[]);if("seq"!=t.type){if("star"==t.type){let s=n();return r(o,s),i(e(t.expr,s),s),[r(s)]}if("plus"==t.type){let s=n();return i(e(t.expr,o),s),i(e(t.expr,s),s),[r(s)]}if("opt"==t.type)return[r(o)].concat(e(t.expr,o));if("range"==t.type){let s=o;for(let r=0;re.to=t)}}(i));return function(e,t){for(let n=0,r=[e];ne.createAndFill()));for(let e=0;e=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r{let r=n+(t.validEnd?"*":" ")+" ";for(let i=0;i"+e.indexOf(t.next[i].next);return r}).join("\n")}},m.empty=new m(!0),g=class{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}},y=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=er(e,n.attrs),this.defaultAttrs=Xn(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==m.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Qn(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new f(this,this.computeAttrs(e),n.from(t),i.setFrom(r))}createChecked(e=null,t,r){return t=n.from(t),this.checkContent(t),new f(this,this.computeAttrs(e),t,i.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),(t=n.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let o=this.contentMatch.matchFragment(t),s=o&&o.fillBefore(n.empty,!0);return s?new f(this,e,t.append(s),i.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let n=0;n-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;tr[t]=new e(t,n,i));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let e in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}},w=class{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let r=n.split("|");return n=>{let i=null===n?"null":typeof n;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}},v=class e{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=er(e,r.attrs),this.excluded=null;let o=Xn(this.attrs);this.instance=o?new i(this,o):null}create(e=null){return!e&&this.instance?this.instance:new i(this,Qn(this.attrs,e))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((t,o)=>r[t]=new e(t,i++,n,o)),r}removeFromSet(e){for(var t=0;t-1}},e("E",class{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let r in e)t[r]=e[r];t.nodes=On.from(e.nodes),t.marks=On.from(e.marks||{}),this.nodes=y.compile(this.spec.nodes,this),this.marks=v.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let e=this.nodes[r],t=e.spec.content||"",i=e.spec.marks;if(e.contentMatch=n[t]||(n[t]=m.parse(t,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==i?null:i?tr(this,i.split(" ")):""!=i&&e.inlineContent?null:[]}for(let r in this.marks){let e=this.marks[r],t=e.spec.excludes;e.excluded=null==t?[e]:""==t?[]:tr(this,t.split(" "))}this.nodeFromJSON=e=>f.fromJSON(this,e),this.markFromJSON=e=>i.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof y))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new u(n,n.defaultAttrs,e,i.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}),e("w",x=class e{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(function(e){return null!=e.tag}(e))this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new T(this,t,!1);return n.addAll(e,i.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new T(this,t,!0);return n.addAll(e,i.none,t.from,t.to),s.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;re.length&&(61!=o.charCodeAt(e.length)||o.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r{n(e=ir(e)),e.mark||e.ignore||e.clearMark||(e.mark=r)})}for(let r in e.nodes){let t=e.nodes[r].spec.parseDOM;t&&t.forEach(e=>{n(e=ir(e)),e.node||e.ignore||e.mark||(e.node=r)})}return t}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}}),k={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},b={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},S={ol:!0,ul:!0},C=1,M=2,O=4,N=class{constructor(e,t,n,r,o,s){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=s,this.content=[],this.activeMarks=i.none,this.match=o||(s&O?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(n.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&C)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=n.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(n.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!k.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}},T=class{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r,o=t.topNode,s=nr(null,t.preserveWhitespace,0)|(n?O:0);r=o?new N(o.type,o.attrs,i.none,!0,t.topMatch||o.type.contentMatch,s):new N(n?null:e.schema.topNodeType,null,i.none,!0,null,s),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=r.options&M?"full":this.localPreserveWS||(r.options&C)>0,{schema:o}=this.parser;if("full"===i||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(i)if("full"===i)n=n.replace(/\r\n?/g,"\n");else if(o.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(o.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n!r.clearMark(e)):t.concat(this.parser.schema.marks[r.mark].create(r.attrs)),!1!==r.consuming)break;n=r}}return t}addElementByRule(e,t,n,r){let i,o;if(t.node)if(o=this.parser.schema.nodes[t.node],o.isLeaf)this.insertNode(o.create(t.attrs),n,"BR"==e.nodeName)||this.leafFallback(e,n);else{let e=this.enter(o,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;"string"==typeof t.contentElement?r=e.querySelector(t.contentElement):"function"==typeof t.contentElement?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(s)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let o=n?e.childNodes[n]:e.firstChild,s=null==r?null:e.childNodes[r];o!=s;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let o=this.open,s=0;o>=0;o--){let t=this.nodes[o],l=t.findWrapping(e);if(l&&(!r||r.length>l.length+s)&&(r=l,i=t,!l.length))break;if(t.solid){if(n)break;s+=2}}if(!r)return null;this.sync(i);for(let o=0;o!(s.type?s.type.allowsMarkType(t.type):or(t.type,e))||(a=t.addToSet(a),!1)),this.nodes.push(new N(e,t,a,r,null,l)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!(!this.isOpen&&!this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=C)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),i=-(n?n.depth+1:0)+(r?0:1),o=(e,s)=>{for(;e>=0;e--){let l=t[e];if(""==l){if(e==t.length-1||0==e)continue;for(;s>=i;s--)if(o(e-1,s))return!0;return!1}{let e=s>0||0==s&&r?this.nodes[s].type:n&&s>=i?n.node(s-i).type:null;if(!e||e.name!=l&&!e.isInGroup(l))return!1;s--}}return!0};return o(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}},e("T",D=class e{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=lr(t).createDocumentFragment());let r=n,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let n=0,o=0;for(;n=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&hr(lr(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return hr(e,t,n,r)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(e){let t=sr(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return sr(e.marks)}}),E=new WeakMap,A=65535,R=Math.pow(2,16),I=class{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}},z=class e{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}recover(e){let t=0,n=dr(e);if(!this.inverted)for(let r=0;re)break;let a=this.ranges[s+i],h=this.ranges[s+o],c=l+a;if(e<=c){let i=l+r+((a?e==l?-1:e==c?1:t:t)<0?0:h);if(n)return i;let o=e==(t<0?l:c)?null:cr(s/3,e-l),d=e==l?2:e==c?1:4;return(t<0?e!=l:e!=c)&&(d|=8),new I(i,d,o)}r+=h-a}return n?e+r:new I(e+r,0,null)}touches(e,t){let n=0,r=dr(t),i=this.inverted?2:1,o=this.inverted?1:2;for(let s=0;se)break;let l=this.ranges[s+i];if(e<=t+l&&s==3*r)return!0;n+=this.ranges[s+o]-l}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}invert(){let t=new e;return t.appendMappingInverted(this),t}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;ni&&te.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e,r),t.openStart,t.openEnd);return V.fromReplace(e,this.from,this.to,i)}invert(){return new L(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new e(n.from,n.to,t.markFromJSON(n.mark))}},B.jsonID("addMark",F),L=class e extends B{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new s(pr(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return V.fromReplace(e,this.from,this.to,n)}invert(){return new F(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new e(n.from,n.to,t.markFromJSON(n.mark))}},B.jsonID("removeMark",L),J=class e extends B{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return V.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return V.fromReplace(e,this.pos,this.pos+1,new s(n.from(r),0,t.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let t=this.mark.addToSet(n.marks);if(t.length==n.marks.length){for(let r=0;rr.pos?null:new e(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if("number"!=typeof n.from||"number"!=typeof n.to||"number"!=typeof n.gapFrom||"number"!=typeof n.gapTo||"number"!=typeof n.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new e(n.from,n.to,n.gapFrom,n.gapTo,s.fromJSON(t,n.slice),n.insert,!!n.structure)}},B.jsonID("replaceAround",K),j=class{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=n.empty;for(let n=0;n<=e.depth;n++){let t=e.node(n);this.frontier.push({type:t.type,match:t.contentMatchAt(e.indexAfter(n))})}for(let i=e.depth;i>0;i--)this.placed=n.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,o=n.depth,l=r.depth;for(;o&&l&&1==i.childCount;)i=i.firstChild.content,o--,l--;let a=new s(i,o,l);return e>-1?new K(n.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||n.pos!=this.$to.pos?new q(n.pos,r.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let r=1==t?e:this.unplaced.openStart;r>=0;r--){let e,i=null;r?(i=Nr(this.unplaced.content,r-1).firstChild,e=i.content):e=this.unplaced.content;let o=e.firstChild;for(let s=this.depth;s>=0;s--){let e,{type:l,match:a}=this.frontier[s],h=null;if(1==t&&(o?a.matchType(o.type)||(h=a.fillBefore(n.from(o),!1)):i&&l.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:s,parent:i,inject:h};if(2==t&&o&&(e=a.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:s,parent:i,wrap:e};if(i&&a.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=Nr(e,t);return!(!r.childCount||r.firstChild.isLeaf||(this.unplaced=new s(e,t+1,Math.max(n,r.size+t>=e.size-n?t+1:0)),0))}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=Nr(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new s(Mr(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new s(Mr(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:i,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let n=0;n1||0==h||e.content.size)&&(p=t,d.push(Tr(e.mark(f.allowedMarks(e.marks)),1==c?h:0,c==a.childCount?u:-1)))}let m=c==a.childCount;m||(u=-1),this.placed=Or(this.placed,t,n.from(d)),this.frontier[t].match=p,m&&u<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let n=0,s=a;n1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t=0;n--){let{match:t,type:r}=this.frontier[n],i=Dr(e,n,r,t,!0);if(!i||i.childCount)continue e}return{depth:t,fit:o,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Or(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Or(this.placed,this.depth,n.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(n.empty,!0);e.childCount&&(this.placed=Or(this.placed,this.frontier.length,e))}},_=class e extends B{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return V.fail("No node at attribute step's position");let r=Object.create(null);for(let n in t.attrs)r[n]=t.attrs[n];r[this.attr]=this.value;let i=t.type.create(r,null,t.marks);return V.fromReplace(e,this.pos,this.pos+1,new s(n.from(i),0,t.isLeaf?0:1))}getMap(){return z.empty}invert(t){return new e(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if("number"!=typeof n.pos||"string"!=typeof n.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new e(n.pos,n.attr,n.value)}},B.jsonID("attr",_),H=class e extends B{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return V.ok(n)}getMap(){return z.empty}invert(t){return new e(this.attr,t.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,n){if("string"!=typeof n.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new e(n.attr,n.value)}},B.jsonID("docAttr",H),Error,((U=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n}).prototype=Object.create(Error.prototype)).constructor=U,U.prototype.name="TransformError",G=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new P}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new U(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n{e=Math.min(e,i),t=Math.max(t,o)})}return 1e9==e?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=s.empty){let r=Sr(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,r){return this.replace(e,t,new s(n.from(r),0,0))}delete(e,t){return this.replace(e,t,s.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),o=e.doc.resolve(n);if(Cr(i,o,r))return e.step(new q(t,n,r));let l=Rr(i,o);0==l[l.length-1]&&l.pop();let a=-(i.depth+1);l.unshift(a);for(let s=i.depth,f=i.pos-1;s>0;s--,f--){let e=i.node(s).type.spec;if(e.defining||e.definingAsContext||e.isolating)break;l.indexOf(s)>-1?a=s:i.before(s)==f&&l.splice(1,0,-s)}let h=l.indexOf(a),c=[],d=r.openStart;for(let s=r.content,f=0;;f++){let e=s.firstChild;if(c.push(e),f==r.openStart)break;s=e.content}for(let s=d-1;s>=0;s--){let e=c[s],t=Er(e.type);if(t&&!e.sameMarkup(i.node(Math.abs(a)-1)))d=s;else if(t||!e.type.isTextblock)break}for(let f=r.openStart;f>=0;f--){let t=(f+d+1)%(r.openStart+1),a=c[t];if(a)for(let c=0;c=0&&(e.replace(t,n,r),!(e.steps.length>p));s--){let e=l[s];e<0||(t=i.before(e),n=o.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,r){return function(e,t,r,i){if(!i.isInline&&t==r&&e.doc.resolve(t).parent.content.size){let n=function(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let i=r.depth-1;i>=0;i--){let e=r.index(i);if(r.node(i).canReplaceWith(e,e,n))return r.before(i+1);if(e>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let e=r.indexAfter(i);if(r.node(i).canReplaceWith(e,e,n))return r.after(i+1);if(eo;e--)r.node(e).type.spec.isolating&&(s=!0);for(let e=i.depth;e>o;e--)i.node(e).type.spec.isolating&&(s=!0);if(!s){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let o=Rr(r,i);for(let s=0;s0&&(n||r.node(t-1).canReplace(r.index(t-1),i.indexAfter(t-1))))return e.delete(r.before(t),i.after(t))}for(let s=1;s<=r.depth&&s<=i.depth;s++)if(t-r.start(s)==r.depth-s&&n>r.end(s)&&i.end(s)-n!=i.depth-s&&r.start(s-1)==i.start(s-1)&&r.node(s-1).canReplace(r.index(s-1),i.index(s-1)))return e.delete(r.before(s),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,r){let{$from:i,$to:o,depth:l}=t,a=i.before(l+1),h=o.after(l+1),c=a,d=h,p=n.empty,f=0;for(let s=l,g=!1;s>r;s--)g||i.index(s)>0?(g=!0,p=n.from(i.node(s).copy(p)),f++):c--;let u=n.empty,m=0;for(let s=l,g=!1;s>r;s--)g||o.after(s+1)=0;s--){if(i.size){let e=r[s].type.contentMatch.matchFragment(i);if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=n.from(r[s].type.create(r[s].attrs,i))}let o=t.start,l=t.end;e.step(new K(o,l,o,l,new s(i,0,0),r.length,!0))}(this,e,t),this}setBlockType(e,t=e,r,i=null){return function(e,t,r,i,o){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let l=e.steps.length;e.doc.nodesBetween(t,r,(t,r)=>{let a="function"==typeof o?o(t):o;if(t.isTextblock&&!t.hasMarkup(i,a)&&function(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}(e.doc,e.mapping.slice(l).map(r),i)){let o=null;if(i.schema.linebreakReplacement){let e="pre"==i.whitespace,t=!!i.contentMatch.matchType(i.schema.linebreakReplacement);e&&!t?o=!1:!e&&t&&(o=!0)}!1===o&&xr(e,t,r,l),ur(e,e.mapping.slice(l).map(r,1),i,void 0,null===o);let h=e.mapping.slice(l),c=h.map(r,1),d=h.map(r+t.nodeSize,1);return e.step(new K(c,d,c+1,d-1,new s(n.from(i.create(a,null,t.marks)),0,0),1,!0)),!0===o&&vr(e,t,r,l),!1}})}(this,e,t,r,i),this}setNodeMarkup(e,t,r=null,i){return function(e,t,r,i,o){let l=e.doc.nodeAt(t);if(!l)throw new RangeError("No node at given position");r||(r=l.type);let a=r.create(i,null,o||l.marks);if(l.isLeaf)return e.replaceWith(t,t+l.nodeSize,a);if(!r.validContent(l.content))throw new RangeError("Invalid content for node type "+r.name);e.step(new K(t,t+l.nodeSize,t+1,t+l.nodeSize-1,new s(n.from(a),0,0),1,!0))}(this,e,t,r,i),this}setNodeAttribute(e,t,n){return this.step(new _(e,t,n)),this}setDocAttribute(e,t){return this.step(new H(e,t)),this}addNodeMark(e,t){return this.step(new J(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t instanceof i)t.isInSet(n.marks)&&this.step(new W(e,t));else{let r,i=n.marks,o=[];for(;r=t.isInSet(i);)o.push(new W(e,r)),i=r.removeFromSet(i);for(let e=o.length-1;e>=0;e--)this.step(o[e])}return this}split(e,t=1,r){return function(e,t,r=1,i){let o=e.doc.resolve(t),l=n.empty,a=n.empty;for(let s=o.depth,h=o.depth-r,c=r-1;s>h;s--,c--){l=n.from(o.node(s).copy(l));let e=i&&i[c];a=n.from(e?e.type.create(e.attrs,a):o.node(s).copy(a))}e.step(new q(t,t,new s(l.append(a),r,r),!0))}(this,e,t,r),this}addMark(e,t,n){return function(e,t,n,r){let i,o,s=[],l=[];e.doc.nodesBetween(t,n,(e,a,h)=>{if(!e.isInline)return;let c=e.marks;if(!r.isInSet(c)&&h.type.allowsMarkType(r.type)){let h=Math.max(a,t),d=Math.min(a+e.nodeSize,n),p=r.addToSet(c);for(let e=0;ee.step(t)),l.forEach(t=>e.step(t))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,(e,s)=>{if(!e.isInline)return;o++;let l=null;if(r instanceof v){let t,n=e.marks;for(;t=r.isInSet(n);)(l||(l=[])).push(t),n=t.removeFromSet(n)}else r?r.isInSet(e.marks)&&(l=[r]):l=e.marks;if(l&&l.length){let r=Math.min(s+e.nodeSize,n);for(let e=0;ee.step(new L(t.from,t.to,t.style)))}(this,e,t,n),this}clearIncompatible(e,t,n){return ur(this,e,t,n),this}},Y=Object.create(null),X=class{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new Q(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t=0;i--){let r=t<0?zr(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):zr(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(r)return r}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new ie(e.node(0))}static atStart(e){return zr(e,e,0,0,1)||new ie(e)}static atEnd(e){return zr(e,e,e.content.size,e.childCount,-1)||new ie(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=Y[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Y)throw new RangeError("Duplicate use of selection JSON ID "+e);return Y[e]=t,t.prototype.jsonID=e,t}getBookmark(){return ee.between(this.$anchor,this.$head).getBookmark()}},X.prototype.visible=!0,Q=class{constructor(e,t){this.$from=e,this.$to=t}},Z=!1,e("C",ee=class e extends X{constructor(e,t=e){Ir(e),Ir(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return X.near(r);let i=t.resolve(n.map(this.anchor));return new e(i.parent.inlineContent?i:r,r)}replace(e,t=s.empty){if(super.replace(e,t),t==s.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(t){return t instanceof e&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new te(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,n){if("number"!=typeof n.anchor||"number"!=typeof n.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(t,n,r){let i=t.pos-n.pos;if(r&&!i||(r=i>=0?1:-1),!n.parent.inlineContent){let e=X.findFrom(n,r,!0)||X.findFrom(n,-r,!0);if(!e)return X.near(n,r);n=e.$head}return t.parent.inlineContent||(0==i||(t=(X.findFrom(t,-r,!0)||X.findFrom(t,r,!0)).$anchor).posnew ie(e)},se=class extends G{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return i.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||i.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),this.selection.empty||this.selection.to!=t+e.length||this.setSelection(X.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}},ae=[new(le=class{constructor(e,t,n){this.name=e,this.init=$r(t.init,n),this.apply=$r(t.apply,n)}})("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new le("selection",{init:(e,t)=>e.selection||X.atStart(t.doc),apply:e=>e.selection}),new le("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new le("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})],he=class{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=ae.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new le(e.key,e.spec.state,e))})}},e("x",class e{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;ne.toJSON())),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let i=new he(t.schema,t.plugins),o=new e(i);return i.fields.forEach(e=>{if("doc"==e.name)o.doc=f.fromJSON(t.schema,n.doc);else if("selection"==e.name)o.selection=X.fromJSON(o.doc,n.selection);else if("storedMarks"==e.name)n.storedMarks&&(o.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let i in r){let s=r[i],l=s.spec.state;if(s.key==e.name&&l&&l.fromJSON&&Object.prototype.hasOwnProperty.call(n,i))return void(o[e.name]=l.fromJSON.call(s,t,n[i],o))}o[e.name]=e.init(t,o)}}),o}}),e("S",ce=class{constructor(e){this.spec=e,this.props={},e.props&&Br(e.props,this,this.props),this.key=e.key?e.key.key:Vr("plugin")}getState(e){return e[this.key]}}),de=Object.create(null),pe=class{constructor(e="key"){this.key=Vr(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}},fe=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},ue=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t},me=null,ge=function(e,t,n){let r=me||(me=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},ye=function(){me=null},we=function(e,t,n,r){return n&&(Fr(e,t,n,r,-1)||Fr(e,t,n,r,1))},ve=/^(img|br|input|textarea|hr)$/i,xe=function(e){return e.focusNode&&we(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)},ke="undefined"!=typeof navigator?navigator:null,be="undefined"!=typeof document?document:null,Se=ke&&ke.userAgent||"",Ce=/Edge\/(\d+)/.exec(Se),Me=/MSIE \d/.exec(Se),Oe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Se),Ne=!!(Me||Oe||Ce),Te=Me?document.documentMode:Oe?+Oe[1]:Ce?+Ce[1]:0,(De=!Ne&&/gecko\/(\d+)/i.test(Se))&&(/Firefox\/(\d+)/.exec(Se)||[0,0])[1],Ee=!Ne&&/Chrome\/(\d+)/.exec(Se),Ae=!!Ee,Re=Ee?+Ee[1]:0,Ie=!Ne&&!!ke&&/Apple Computer/.test(ke.vendor),ze=Ie&&(/Mobile\/\w+/.test(Se)||!!ke&&ke.maxTouchPoints>2),Pe=ze||!!ke&&/Mac/.test(ke.platform),$e=!!ke&&/Win/.test(ke.platform),Be=/Android \d/.test(Se),Ve=!!be&&"webkitFontSmoothing"in be.documentElement.style,Fe=Ve?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,Le=null,Je=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,We=/[\u0590-\u08ac]/,qe=null,Ke=null,je=!1,_e=class{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;tfe(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i,o=this.getDesc(r);if(o&&(!t||o.node)){if(!n||!(i=o.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return o;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;te||t instanceof Qe){r=e-i;break}i=o}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let i;n&&!(i=this.children[n-1]).size&&i instanceof He&&i.side>=0;n--);if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?fe(e.dom)+1:0}}{let e,r=!0;for(;e=n=i&&t<=l-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=o;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=fe(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(l>t||s==this.children.length-1)){t=l;for(let e=s+1;eu&&ot){let e=s;s=l,l=e}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(s.node,s.offset),a.removeAllRanges(),a.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r=n:en){let r=n+i.border,s=o-i.border;if(e>=r&&t<=s)return this.dirty=e==n||t==o?2:1,void(e!=r||t!=s||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-r,t-r):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=o}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirtyi?i.parent?i.parent.posBeforeChild(i):void 0:r)),!t.type.spec.raw){if(1!=o.nodeType){let e=document.createElement("span");e.appendChild(o),o=e}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}},Ue=class extends _e{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}},Ge=class e extends _e{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}static create(t,n,r,i){let o=i.nodeViews[n.type.name],s=o&&o(n,i,r);return s&&s.dom||(s=D.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e(t,n,s.dom,s.contentDOM||s.dom,s)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty0&&(o=mi(o,0,t,r));for(let e=0;el?l.parent?l.parent.posBeforeChild(l):void 0:s,r,i),c=h&&h.dom,d=h&&h.contentDOM;if(n.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(n.text);else if(!c){let e=D.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs);({dom:c,contentDOM:d}=e)}d||n.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),n.type.spec.draggable&&(c.draggable=!0));let p=c;return c=di(c,r,n),h?l=new Ze(t,n,r,i,c,d||null,p,h,o,s+1):n.isText?new Xe(t,n,r,i,c,p,o):new e(t,n,r,i,c,d||null,p,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>n.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&pi(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,o=e.composing?this.localCompositionInfo(e,t):null,s=o&&o.pos>-1?o:null,l=o&&o.pos<0,a=new nt(this,s&&s.node,e);!function(e,t,n,r){let i=t.locals(e),o=0;if(0==i.length){for(let n=0;no;)l.push(i[s++]);let u=o+p.nodeSize;if(p.isText){let e=u;s!e.inline):l.slice(),t.forChild(o,p),f),o=u}}(this.node,this.innerDeco,(t,o,s)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e,o):t.type.side>=0&&!s&&a.syncToMarks(o==this.node.childCount?i.none:this.node.child(o).marks,n,e,o),a.placeWidget(t,e,r)},(t,i,s,h)=>{let c;a.syncToMarks(t.marks,n,e,h),a.findNodeMatch(t,i,s,h)||l&&e.state.selection.from>r&&e.state.selection.to-1&&a.updateNodeAt(t,i,s,c,e)||a.updateNextNode(t,i,s,e,h,r)||a.addNode(t,i,s,e,r),r+=t.nodeSize}),a.syncToMarks([],n,e,0),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(s&&this.protectLocalComposition(e,s),li(this.contentDOM,this.children,e),ze&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof ee)||nt+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,o=function(e,t,n,r){for(let i=0,o=0;i=n){if(o>=r&&a.slice(r-t.length-l,r-l)==t)return r-t.length;let e=l=0&&e+t.length+l>=n)return l+e;if(n==r&&a.length>=r+t.length-l&&a.slice(r-l,r-l+t.length)==t)return r}}return-1}(this.node.content,e,n-t,r-t);return o<0?null:{node:i,pos:o,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let o=new Ue(this,i,t,r);e.input.compositionNodes.push(o),this.children=mi(this.children,n,n+r.length,e,o)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node)||(this.updateInner(e,t,n,r),0))}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(pi(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=hi(this.dom,this.nodeDOM,ai(this.outerDeco,this.node,t),ai(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.nodeDOM.draggable=!0))}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}},Xe=class e extends Ye{constructor(e,t,n,r,i,o,s){super(e,t,n,r,i,null,o,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node)||(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,0))}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(t,n,r){let i=this.node.cut(t,n),o=document.createTextNode(i.text);return new e(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}},Qe=class extends _e{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}},Ze=class extends Ye{constructor(e,t,n,r,i,o,s,l,a,h){super(e,t,n,r,i,o,s,a,h),this.spec=l}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}},(et=function(e){e&&(this.nodeName=e)}).prototype=Object.create(null),tt=[new et],nt=class{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,i=e.childCount,o=new Map,s=[];e:for(;i>0;){let l;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof Ge)){l=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let a=l.node;if(a){if(a!=e.child(i-1))break;--i,o.set(l,i),s.push(l)}}return{index:i,matched:o,matches:s.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n>1,s=Math.min(o,e.length);for(;i-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=Ge.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,r){let i,o=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))o=this.top.children.indexOf(i,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!oo(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!Be||!Ae||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!ze||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",t=>t(e,n))||Fi(e,n)?n.preventDefault():Ui(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",t=>t(e,Wr(13,"Enter"))),e.input.lastIOSEnter=0)},200)}},ht.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},ht.keypress=(e,t)=>{let n=t;if(oo(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||Pe&&n.metaKey)return;if(e.someProp("handleKeyPress",t=>t(e,n)))return void n.preventDefault();let r=e.state.selection;if(!(r instanceof ee&&r.$from.sameParent(r.$to))){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();/[\r\n]/.test(t)||e.someProp("handleTextInput",n=>n(e,r.$from.pos,r.$to.pos,t,i))||e.dispatch(i()),n.preventDefault()}},pt=Pe?"metaKey":"ctrlKey",at.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=io(e),i=Date.now(),o="singleClick";i-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[pt]&&e.input.lastClick.button==n.button&&("singleClick"==e.input.lastClick.type?o="doubleClick":"doubleClick"==e.input.lastClick.type&&(o="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o,button:n.button};let s=e.posAtCoords(Qi(n));s&&("singleClick"==o?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new ft(e,s,n,!!r)):("doubleClick"==o?no:ro)(e,s.pos,s.inside,n)?n.preventDefault():Ui(e,"pointer"))},ft=class{constructor(e,t,n,r){let i,o;if(this.view=e,this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[pt],this.allowDefault=n.shiftKey,t.inside>-1)i=e.state.doc.nodeAt(t.inside),o=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,o=n.depth?n.before():0}const s=r?null:n.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l&&1==l.nodeDOM.nodeType?l.nodeDOM:null;let{selection:a}=e.state;0==n.button&&(i.type.spec.draggable&&!1!==i.type.spec.selectable||a instanceof ne&&a.from<=o&&a.to>o)&&(this.mightDrag={node:i,pos:o,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!De||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Ui(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>wi(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Qi(e))),this.updateAllowDefault(e),this.allowDefault||!t?Ui(this.view,"pointer"):to(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||Ie&&this.mightDrag&&!this.mightDrag.node.isAtom||Ae&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(eo(this.view,X.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):Ui(this.view,"pointer")}move(e){this.updateAllowDefault(e),Ui(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}},at.touchstart=e=>{e.input.lastTouch=Date.now(),io(e),Ui(e,"pointer")},at.touchmove=e=>{e.input.lastTouch=Date.now(),Ui(e,"pointer")},at.contextmenu=e=>io(e),ut=Be?5e3:-1,ht.compositionstart=ht.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof ee&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>!1===e.type.spec.inclusive)||Ae&&$e&&function(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||1!=t.nodeType||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return 1==r.nodeType&&"false"==r.contentEditable}(e)))e.markCursor=e.state.storedMarks||n.marks(),ho(e,!0),e.markCursor=null;else if(ho(e,!t.selection.empty),De&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&1==n.nodeType&&0!=r;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}so(e,ut)},ht.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,so(e,20))},mt=Ne&&Te<15||ze&&Fe<604,at.copy=ht.cut=(e,t)=>{let n=t,r=e.state.selection,i="cut"==n.type;if(r.empty)return;let o=mt?null:n.clipboardData,{dom:s,text:l}=Li(e,r.content());o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},ht.paste=(e,t)=>{let n=t;if(e.composing&&!Be)return;let r=mt?null:n.clipboardData,i=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&co(e,po(r),r.getData("text/html"),i,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?co(e,r.value,null,i,t):co(e,r.textContent,r.innerHTML,i,t)},50)}(e,n)},gt=class{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}},yt=Pe?"altKey":"ctrlKey",at.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i,o=e.state.selection,s=o.empty?null:e.posAtCoords(Qi(n));if(s&&s.pos>=o.from&&s.pos<=(o instanceof ne?o.to-1:o.to));else if(r&&r.mightDrag)i=ne.create(e.state.doc,r.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(i=ne.create(e.state.doc,t.posBefore))}let{dom:l,text:a,slice:h}=Li(e,(i||e.state.selection).content());(!n.dataTransfer.files.length||!Ae||Re>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(mt?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",mt||n.dataTransfer.setData("text/plain",a),e.dragging=new gt(h,fo(e,n),i)},at.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},ht.dragover=ht.dragenter=(e,t)=>t.preventDefault(),ht.drop=(e,t)=>{try{!function(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(Qi(t));if(!r)return;let i=e.state.doc.resolve(r.pos),o=n&&n.slice;o?e.someProp("transformPasted",t=>{o=t(o,e,!1)}):o=Ji(e,po(t.dataTransfer),mt?null:t.dataTransfer.getData("text/html"),!1,i);let l=!(!n||!fo(e,t));if(e.someProp("handleDrop",n=>n(e,t,o||s.empty,l)))return void t.preventDefault();if(!o)return;t.preventDefault();let a=o?function(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let o=0;o=0;e--){let t=e==r.depth?0:r.pos<=(r.start(e+1)+r.end(e+1))/2?-1:1,n=r.index(e)+(t>0?1:0),s=r.node(e),l=!1;if(1==o)l=s.canReplace(n,n,i);else{let e=s.contentMatchAt(n).findWrapping(i.firstChild.type);l=e&&s.canReplaceWith(n,n,e[0])}if(l)return 0==t?r.pos:t<0?r.before(e+1):r.after(e+1)}return null}(e.state.doc,i.pos,o):i.pos;null==a&&(a=i.pos);let h=e.state.tr;if(l){let{node:e}=n;e?e.replace(h):h.deleteSelection()}let c=h.mapping.map(a),d=0==o.openStart&&0==o.openEnd&&1==o.content.childCount,p=h.doc;if(d?h.replaceRangeWith(c,c,o.content.firstChild):h.replaceRange(c,c,o),h.doc.eq(p))return;let f=h.doc.resolve(c);if(d&&ne.isSelectable(o.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(o.content.firstChild))h.setSelection(new ne(f));else{let t=h.mapping.map(a);h.mapping.maps[h.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),h.setSelection(Ci(e,f,h.doc.resolve(t)))}e.focus(),e.dispatch(h.setMeta("uiEvent","drop"))}(e,t,e.dragging)}finally{e.dragging=null}},at.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&wi(e)},20))},at.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},at.beforeinput=(e,t)=>{if(Ae&&Be&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",t=>t(e,Wr(8,"Backspace"))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let e in ht)at[e]=ht[e];for(wt=class e{constructor(e,t){this.toDOM=e,this.spec=t||St,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:o}=e.mapResult(t.from+r,this.side<0?-1:1);return o?null:new kt(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&uo(this.spec,t.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},vt=class e{constructor(e,t){this.attrs=e,this.spec=t||St}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,o=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=o?null:new kt(i,o,this)}valid(e,t){return t.from=e&&(!i||i(s.spec))&&n.push(s.copy(s.from+r,s.to+r))}for(let o=0;oe){let s=this.children[o]+1;this.children[o+2].findInner(e-s,t-s,n,r+s,i)}}map(e,t,n){return this==Mt||0==e.maps.length?this:this.mapInner(e,t,0,0,n||St)}mapInner(t,n,r,i,o){let s;for(let e=0;e{let s,l=t+r;if(s=yo(n,e,l)){for(i||(i=this.children.slice());oo&&e.to=t){this.children[e]==t&&(r=this.children[e+2]);break}let o=t+1,s=o+n.content.size;for(let e=0;eo&&t.type instanceof vt){let e=Math.max(o,t.from)-o,n=Math.min(s,t.to)-o;ee.map(t,n,St));return e.from(r)}forChild(t,n){if(n.isLeaf)return Ct.empty;let r=[];for(let i=0;ie instanceof Ct)?t:t.reduce((e,t)=>e.concat(t instanceof Ct?t:t.members),[]))}}forEachSet(e){for(let t=0;t{for(let e=0;e"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():Ie&&e.composing&&t.some(e=>"childList"==e.type&&"TR"==e.target.nodeName)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),Tt&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,Nt)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;tthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Mi(this.view)){if(this.suppressingSelectionUpdates)return wi(this.view);if(Ne&&Te<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&we(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let i=e.focusNode;i;i=ue(i))n.add(i);for(let i=e.anchorNode;i;i=ue(i))if(n.has(i)){t=i;break}let r=t&&this.view.docView.nearestDesc(t);return r&&r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Mi(e)&&!this.ignoreSelectionChange(n),i=-1,o=-1,s=!1,l=[];if(e.editable)for(let h=0;h"BR"==e.nodeName)||8!=e.input.lastKeyCode&&46!=e.input.lastKeyCode){if(De&&l.length){let t=l.filter(e=>"BR"==e.nodeName);if(2==t.length){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;!t||"LI"!=t.nodeName||n&&Mo(e,n)==t||r.remove()}}}}else for(let h of l)if("BR"==h.nodeName&&h.parentNode){let e=h.nextSibling;for(;e&&1==e.nodeType;){if("false"==e.contentEditable){h.parentNode.removeChild(h);break}e=e.firstChild}}let a=null;i<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||r)&&(i>-1&&(e.docView.markDirty(i,o),function(e){if(!At.has(e)&&(At.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace))){if(e.requiresGeckoHackNode=De,Rt)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Rt=!0}}(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,function(e,t){var n;let{focusNode:r,focusOffset:i}=e.domSelectionRange();for(let o of t)if("TR"==(null===(n=o.parentNode)||void 0===n?void 0:n.nodeName)){let t=o.nextSibling;for(;t&&"TD"!=t.nodeName&&"TH"!=t.nodeName;)t=t.nextSibling;if(t){let n=t;for(;;){let e=n.firstChild;if(!e||1!=e.nodeType||"false"==e.contentEditable||/^(BR|IMG)$/.test(e.nodeName))break;n=e}n.insertBefore(o,n.firstChild),r==o&&e.domSelection().collapse(o,i)}else o.parentNode.removeChild(o)}}(e,l)),this.handleDOMChange(i,o,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||wi(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;nNo(this,e,t,n,r)),this.domObserver.start(),function(e){for(let t in at){let n=at[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!Xi(e,t)||Yi(e,t)||!e.editable&&t.type in ht||n(e,t)},ct[t]?{passive:!0}:void 0)}Ie&&e.dom.addEventListener("input",()=>null),Gi(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Gi(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Po),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let r=this.state,i=!1,o=!1;e.storedMarks&&this.composing&&(lo(this),o=!0),this.state=e;let s=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(s||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=zo(this);(function(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(s||t.handleDOMEvents!=this._props.handleDOMEvents)&&Gi(this),this.editable=Io(this),Ro(this);let l=So(this),a=Ao(this),h=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",c=i||!this.docView.matchesNode(e.doc,a,l);!c&&e.selection.eq(r.selection)||(o=!0);let d="preserve"==h&&o&&null==this.dom.style.overflowAnchor&&function(e){let t,n,r=e.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let o=(r.left+r.right)/2,s=i+1;s=i-20){t=r,n=l.top;break}}return{refDOM:t,refTop:n,stack:Hr(e.dom)}}(this);if(o){this.domObserver.stop();let t=c&&(Ne||Ae)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(r.selection,e.selection);if(c){let n=Ae?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=ao(this)),!i&&this.docView.update(e.doc,a,l,this)||(this.docView.updateOuterDeco(a),this.docView.destroy(),this.docView=si(e.doc,a,l,this.dom,this)),!n||this.trackWrites&&this.dom.contains(this.trackWrites)||(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return we(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?wi(this,t):(bi(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==h?this.dom.scrollTop=0:"to selection"==h?this.scrollToSelection():d&&function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;Ur(n,0==r?0:r-t)}(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&this.dom.contains(1==e.nodeType?e:e.parentNode))if(this.someProp("handleScrollToSelection",e=>e(this)));else if(this.state.selection instanceof ne){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&_r(this,t.getBoundingClientRect(),e)}else _r(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t0&&et.ownerDocument.getSelection()),this._root=t;return e||document}updateRoot(){this._root=null}posAtCoords(e){return Qr(this,e)}coordsAtPos(e,t=1){return ti(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return oi(this,t||this.state,e)}pasteHTML(e,t){return co(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return co(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return Li(this,e)}destroy(){this.docView&&(function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],So(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,ye())}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){Yi(e,t)||!at[t.type]||!e.editable&&t.type in ht||at[t.type](e,t)}(this,e)}domSelectionRange(){let e=this.domSelection();return e?Ie&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return Co(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?Co(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}),zt.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))},Pt={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},$t={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Bt="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Vt="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),t=0;t<10;t++)Pt[48+t]=Pt[96+t]=String(t);for(var t=1;t<=24;t++)Pt[t+111]="F"+t;for(t=65;t<=90;t++)Pt[t]=String.fromCharCode(t+32),$t[t]=String.fromCharCode(t);for(Ft in Pt)$t.hasOwnProperty(Ft)||($t[Ft]=Pt[Ft]);var zn;Lt="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),Jt="undefined"!=typeof navigator&&/Win/.test(navigator.platform),Wt=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0),qt=(e,t,n)=>{let r=function(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}(e,n);if(!r)return!1;let i=Lo(r);if(!i){let n=r.blockRange(),i=n&&gr(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let o=i.nodeBefore;if(qo(e,i,t,-1))return!0;if(0==r.parent.content.size&&(Fo(o,"end")||ne.isSelectable(o)))for(let l=r.depth;;l--){let n=Sr(e.doc,r.before(l),r.after(l),s.empty);if(n&&n.slice.size1)break}return!(!o.isAtom||i.depth!=r.depth-1||(t&&t(e.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),0))},Kt=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=Lo(r)}let s=o&&o.nodeBefore;return!(!s||!ne.isSelectable(s)||(t&&t(e.tr.setSelection(ne.create(e.doc,o.pos-s.nodeSize)).scrollIntoView()),0))},jt=(e,t,n)=>{let r=function(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))},Ut=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),s=Wo(i.contentMatchAt(o));if(!s||!i.canReplaceWith(o,o,s))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,s.createAndFill());i.setSelection(X.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},Gt=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof ie||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=Wo(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(kr(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&gr(r);return null!=i&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)},Xt=(e,t)=>{let{$from:n,$to:r}=e.selection;if(e.selection instanceof ne&&e.selection.node.isBlock)return!(!n.parentOffset||!kr(e.doc,n.pos)||(t&&t(e.tr.split(n.pos).scrollIntoView()),0));if(!n.depth)return!1;let i,o,s=[],l=!1,a=!1;for(let p=n.depth;;p--){if(n.node(p).isBlock){l=n.end(p)==n.pos+(n.depth-p),a=n.start(p)==n.pos-(n.depth-p),o=Wo(n.node(p-1).contentMatchAt(n.indexAfter(p-1)));let e=zn&&zn(r.parent,l,n);s.unshift(e||(l&&o?{type:o}:null)),i=p;break}if(1==p)return!1;s.unshift(null)}let h=e.tr;(e.selection instanceof ee||e.selection instanceof ie)&&h.deleteSelection();let c=h.mapping.map(n.pos),d=kr(h.doc,c,s.length,s);if(d||(s[0]=o?{type:o}:null,d=kr(h.doc,c,s.length,s)),!d)return!1;if(h.split(c,s.length,s),!l&&a&&n.node(i).type!=o){let e=h.mapping.map(n.before(i)),t=h.doc.resolve(e);o&&n.node(i-1).canReplaceWith(t.index(),t.index()+1,o)&&h.setNodeMarkup(h.mapping.map(n.before(i)),o)}return t&&t(h.scrollIntoView()),!0},Qt=(e,t)=>(t&&t(e.tr.setSelection(new ie(e.doc))),!0),Zt=Ko(-1),en=Ko(1),tn=jo(Wt,qt,Kt),nn=jo(Wt,jt,_t),rn={Enter:jo(Ht,Gt,Yt,Xt),"Mod-Enter":Ut,Backspace:tn,"Mod-Backspace":tn,"Shift-Backspace":tn,Delete:nn,"Mod-Delete":nn,"Mod-a":Qt},on={"Ctrl-h":rn.Backspace,"Alt-Backspace":rn["Mod-Backspace"],"Ctrl-d":rn.Delete,"Ctrl-Alt-Backspace":rn["Mod-Delete"],"Alt-Delete":rn["Mod-Delete"],"Alt-d":rn["Mod-Delete"],"Ctrl-a":Zt,"Ctrl-e":en};for(let e in rn)on[e]=rn[e];e("m",("undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&"darwin"==os.platform())?on:rn),sn=200,(ln=function(){}).prototype.append=function(e){return e.length?(e=ln.from(e),!this.length&&e||e.length=t?ln.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},ln.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},ln.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},ln.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},ln.from=function(e){return e instanceof ln?e:e&&e.length?new an(e):ln.empty},an=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i=n;i--)if(!1===e(this.values[i],r+i))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=sn)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=sn)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(ln),ln.empty=new an([]),hn=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return ei&&!1===this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i))&&void 0},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;return!(t>i&&!1===this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i))&&!(n=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(ln),cn=class e{constructor(e,t){this.items=e,this.eventCount=t}popEvent(t,n){if(0==this.eventCount)return null;let r,i,o=this.items.length;for(;;o--)if(this.items.get(o-1).selection){--o;break}n&&(r=this.remapping(o,this.items.length),i=r.maps.length);let s,l,a=t.tr,h=[],c=[];return this.items.forEach((t,n)=>{if(!t.step)return r||(r=this.remapping(o,n+1),i=r.maps.length),i--,void c.push(t);if(r){c.push(new dn(t.map));let e,n=t.step.map(r.slice(i));n&&a.maybeStep(n).doc&&(e=a.mapping.maps[a.mapping.maps.length-1],h.push(new dn(e,void 0,void 0,h.length+c.length))),i--,e&&r.appendMap(e,i)}else a.maybeStep(t.step);return t.selection?(s=r?t.selection.map(r.slice(i)):t.selection,l=new e(this.items.slice(0,o).append(c.reverse().concat(h)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,i){let o=[],s=this.eventCount,l=this.items,a=!i&&l.length?l.get(l.length-1):null;for(let e=0;efn&&(l=function(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&0==t--)return n=r,!1}),e.slice(n)}(l,h),s-=h),new e(l.append(o),s)}remapping(e,t){let n=new P;return this.items.forEach((t,r)=>{let i=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(t){return 0==this.eventCount?this:new e(this.items.append(t.map(e=>new dn(e))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=t.mapping,s=t.steps.length,l=this.eventCount;this.items.forEach(e=>{e.selection&&l--},i);let a=n;this.items.forEach(e=>{let n=o.getMirror(--a);if(null==n)return;s=Math.min(s,n);let i=o.maps[n];if(e.step){let s=t.steps[n].invert(t.docs[n]),h=e.selection&&e.selection.map(o.slice(a+1,n));h&&l++,r.push(new dn(i,s,h))}else r.push(new dn(i))},i);let h=[];for(let e=n;e500&&(c=c.compress(this.items.length-r.length)),c}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],o=0;return this.items.forEach((e,s)=>{if(s>=t)i.push(e),e.selection&&o++;else if(e.step){let t=e.step.map(n.slice(r)),s=t&&t.getMap();if(r--,s&&n.appendMap(s,r),t){let l=e.selection&&e.selection.map(n.slice(r));l&&o++;let a,h=new dn(s.invert(),t,l),c=i.length-1;(a=i.length&&i[c].merge(h))?i[c]=a:i.push(h)}}else e.map&&r--},this.items.length,0),new e(ln.from(i.reverse()),o)}},cn.empty=new cn(ln.empty,0),dn=class e{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new e(n.getMap().invert(),n,this.selection)}}},pn=class{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}},fn=20,un=!1,mn=null,gn=new pe("history"),yn=new pe("closeHistory"),e("l",wn=Go(!1,!0)),e("c",vn=Go(!0,!0)),Go(!1,!1),Go(!0,!1),e("t",xn=class{constructor(e,t,n={}){var r;this.match=e,this.match=e,this.handler="string"==typeof t?(r=t,function(e,t,n,i){let o=r;if(t[1]){let e=t[0].lastIndexOf(t[1]);o+=t[0].slice(e+t[1].length);let r=(n+=e)-i;r>0&&(o=t[0].slice(e-r,e)+o,n=i)}return e.tr.insertText(o,n,i)}):t,this.undoable=!1!==n.undoable,this.inCode=n.inCode||!1,this.inCodeMark=!1!==n.inCodeMark}}),kn=500,e("r",new xn(/--$/,"—",{inCodeMark:!1})),e("n",new xn(/\.\.\.$/,"…",{inCodeMark:!1})),bn=new xn(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“",{inCodeMark:!1}),Sn=new xn(/"$/,"”",{inCodeMark:!1}),Cn=new xn(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘",{inCodeMark:!1}),Mn=new xn(/'$/,"’",{inCodeMark:!1}),e("a",[bn,Sn,Cn,Mn])}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/pt-BR-legacy--9_CA0bo.js b/editor/neo-ppt/assets/pt-BR-legacy--9_CA0bo.js new file mode 100644 index 0000000..f4bb1a0 --- /dev/null +++ b/editor/neo-ppt/assets/pt-BR-legacy--9_CA0bo.js @@ -0,0 +1 @@ +System.register([],function(e,a){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"Tela cheia",collapse:"Recolher",autosaving:"Salvando automaticamente…",justSaved:"Salvo agora",savedMinutesAgo:"Salvo há {minutes} min",versionName:"V{version}",versionLatest:"Mais recente",versionEditedBy:"Editado por {editor} às {time}",versionMinutesAgo:"há {minutes} min",versionYesterday:"Ontem às {time}",restoreVersion:"Restaurar",returnLatestVersion:"Voltar para a mais recente",close:"Fechar"},basic:{undo:"Desfazer",redo:"Refazer",save:"Salvar",screen:"Apresentar",share:"Compartilhar",export:"Exportar",unnamedPresentation:"Apresentação sem título",lastPage:"Este é o último slide"},presenter:{start:"Apresentar nesta tela",mode:"Modo de apresentação",exit:"Sair",openFailed:"Seu navegador bloqueou o pop-up do modo de exibição do apresentador. Permita pop-ups e redirecionamentos para este site e tente novamente.",connectFailed:"Não foi possível conectar à janela do apresentador. Tente novamente."},screen:{fullscreenFailed:"Não foi possível entrar em tela cheia. Permita o acesso à tela cheia para este site nas configurações do navegador e tente novamente.",transitionEffects:{none:"Nenhuma",fade:"Esmaecer","wipe-right":"Varredura para a direita","wipe-left":"Varredura para a esquerda","wipe-down":"Varredura para baixo","wipe-up":"Varredura para cima","split-vertical":"Divisão vertical","split-horizontal":"Divisão horizontal",box:"Caixa",checkerboard:"Tabuleiro","random-bars-horizontal":"Barras horizontais aleatórias","random-bars-vertical":"Barras verticais aleatórias","horizontal-blinds":"Persianas horizontais","vertical-blinds":"Persianas verticais","column-grid":"Grade de colunas","random-grid":"Grade aleatória",random:"Efeito aleatório"}},save:{saveFailed:"Não foi possível salvar. Tente novamente.",invalidData:"Não foi possível salvar porque os dados são inválidos. Atualize a página e tente novamente.",conflictTitle:"Versão mais recente detectada",conflictContent:"Esta apresentação foi atualizada às {time}. Atualize a página para ver a versão mais recente ou aplique e salve suas alterações atuais.",conflictRefresh:"Atualizar",conflictApplyChanges:"Aplicar alterações"},bottomBar:{rectangle:"Retângulo",otherShapes:"Formas básicas",decoration:"Decoração",straightLine:"Linha reta",curve:"Curva",createTable:"Criar tabela",searchIcon:"Pesquisar ícones",noIconFound:"Nenhum ícone encontrado"},sideBar:{addSlide:"Novo slide",previewMode:"Modo de visualização",expand:"Expandir",collapse:"Recolher"},contextMenu:{cut:"Recortar",copy:"Copiar",paste:"Colar",selectAll:"Selecionar tudo",changeBackground:"Alterar plano de fundo",newPage:"Novo slide",copyPage:"Duplicar slide",deletePage:"Excluir slide",delete:"Excluir",moveUpOneLayer:"Avançar",moveDownOneLayer:"Recuar",bringToTop:"Trazer para a frente",sendToBottom:"Enviar para trás",align:"Alinhar",alignCenter:"Centralizar no slide",alignHorizontal:"Centralizar horizontalmente",startFromCurrent:"Apresentar a partir deste slide",insertColumn:"Inserir coluna",insertColumnLeft:"À esquerda",insertColumnRight:"À direita",insertRow:"Inserir linha",insertRowAbove:"Acima",insertRowBelow:"Abaixo",deleteColumn:"Excluir coluna",deleteRow:"Excluir linha",mergeCells:"Mesclar células",unmergeCells:"Desfazer mesclagem",selectCurrentColumn:"Selecionar coluna",selectCurrentRow:"Selecionar linha",selectAllCells:"Selecionar todas as células",deleteTable:"Excluir tabela"},common:{name:"Apresentações",nameEN:"Slides",confirm:"Confirmar",cancel:"Cancelar",dontRemind:"Não mostrar novamente",feedback:"Feedback",user:"Usuário",loadFailedRetry:"Não foi possível carregar. Tente novamente mais tarde."},annotation:{edit:"Editar",entry:"Comentário",placeholder:"Diga ao Kimi o que alterar",add:"Adicionar",addedCount:"Total de comentários adicionados: {count}",emptyTip:"Adicionar comentários aos slides",clear:"Limpar comentários",delete:"Excluir comentário",marker:"Comentário",pageLabel:"Slide {page}",clearConfirm:{title:"Limpar todos os comentários?",content:"Isso removerá todos os comentários que você adicionou",cancelText:"Cancelar",confirmText:"Limpar"},exitConfirm:{title:"Sair do modo de comentários?",content:"Comentários não enviados não serão salvos",cancelText:"Cancelar",confirmText:"Sair"}},wap:{loading:"Carregando",play:"Reproduzir",export:"Exportar",exporting:"Exportando",playPrevLine1:"Toque ou deslize para a esquerda",playPrevLine2:"para ir ao slide anterior",playMenuLine1:"Toque no centro",playMenuLine2:"para abrir o menu de slides",playNextLine1:"Toque ou deslize para a direita",playNextLine2:"para ir ao próximo slide"},rate:{title:"O que achou deste resultado?",thanksTitle:"Agradecemos seu feedback",bad:"Ruim",normal:"Razoável",good:"Ótimo",resultTip:"Seu feedback ajuda o Kimi a melhorar",feedback:"Mais feedback"},feedback:{snackbar:{title:"O que achou deste resultado?",good:"Bom",normal:"Razoável",bad:"Ruim",successMessage:"Agradecemos seu feedback — ele ajuda o Kimi a melhorar",writeFeedback:"Escrever feedback"}},logoModal:{title:"Adicionar logotipo",tooltip:"Seu logotipo aparecerá no canto superior esquerdo de todos os slides",selected:"Selecionado",upload:"Enviar logotipo",preview:"Visualizar",maxLimit:"Até 5 logotipos",alertMaxLimit:"Você pode enviar até 5 logotipos",applyToAll:"Aplicar a todos os slides"},latex:{title:"Inserir equação",placeholder:"Digite uma fórmula LaTeX, por exemplo, E = mc^2"},themeEditor:{title:"Tema do slide",apply:"Aplicar",cancel:"Cancelar",themeColors:"Cores do tema",emptyThemeColors:"Nenhuma cor do tema",currentPageBackground:"Plano de fundo do slide atual",backgroundColor:"Cor",backgroundImage:"Imagem",uploadImage:"Enviar imagem",uploadImageFailed:"Não foi possível enviar a imagem. Tente novamente mais tarde.",backgroundFitFill:"Preencher",backgroundFitContain:"Ajustar",backgroundFitStretch:"Esticar",applyToAll:"Aplicar a todos",textStyles:"Estilos de texto",emptyTextStyles:"Nenhum estilo de texto",fontStyle:"Peso",lineHeight:"Altura da linha",letterSpacing:"Espaçamento entre letras",previewText:"Conheça o Kimi123",normal:"Regular",textStyleTitle:"Título",textStyleSubtitle:"Subtítulo",textStyleBody:"Corpo",textStyleCaption:"Legenda / nota",miSans:"Microsoft YaHei"},diffChecker:{title:"Verificador de diferenças",newFile:"Adicionado",deletedFile:"Excluído",emptyContent:"Este arquivo está vazio"},insert:{text:"Inserir texto",graphics:"Elementos gráficos",graphicsShapeTab:"Formas",graphicsLineTab:"Linhas",graphicsIconTab:"Ícones",image:"Inserir imagem",table:"Inserir tabela",theme:"Tema",latex:"Inserir equação",watermark:"Adicionar marca-d’água",more:"Mais",animation:"Animação"},scaleMenu:{zoomIn:"Ampliar",zoomOut:"Reduzir",fitScreen:"Ajustar à tela"},exportDialog:{image:"Imagem",downloadTitle:"Exportar",tabDownload:"Baixar",tabGoogleSlides:"Apresentações Google",outputFormat:"Formato de saída",fontEmbed:"Incorporar fontes",fontEmbedTooltip:"Incorpore as fontes ao PPTX para manter a consistência em todos os dispositivos",slideTransition:"Transição de slide",slideTransitionTooltip:"Adicionar transições entre os slides",defaultDownloadPath:"Caminho de download padrão",storageTo:"Salvar em",download:"Baixar",downloadStarted:"Exportação iniciada",downloadStartTip:"Exportação iniciada. Se o download não começar, tente usar outro navegador ou exporte novamente.",loading:"Exportando",pendingTip:"A exportação está demorando mais do que o esperado. Tente usar outro navegador.",wechatTip:"O navegador interno do WeChat não permite downloads. Use um navegador no computador, como Chrome ou Edge.",safariTip:"Seu navegador está desatualizado. Atualize-o ou use outro, como Chrome ou Edge.",mobileTip:"Baixar em um computador",exportPptxFailed:"Não foi possível exportar o PPTX. Tente novamente.",exportPptxSignFailed:"Não foi possível exportar o PPTX. Atualize a página e tente novamente.",exportImageFailed:"Não foi possível exportar as imagens. Tente novamente.",exportingToGoogle:"Exportando para o Apresentações Google…",exportToGoogle:"Exportar para o Apresentações Google",exportToGoogleTips:"Exportar esta apresentação para o Apresentações Google",exportToGoogleNetworkError:"Não foi possível exportar para o Apresentações Google. Verifique sua conexão e tente novamente."},share:{create:"Criar apresentação",createDesign:"Criar design",public:"Público",private:"Privado",createLink:"Criar link de compartilhamento",createLinkDesc:"Qualquer pessoa com o link pode ver esta apresentação",createLinkBtn:"Criar link",createLinkFailed:"Não foi possível criar o link de compartilhamento",bannedTips:"O compartilhamento foi desativado",goFeedback:"Enviar feedback",updateLinkTitle:"Atualizar link de compartilhamento",updateLinkDesc:"O link antigo deixará de funcionar após a atualização",updateLinkConfirm:"Atualizar",updateLinkSuccess:"Link atualizado",updateTime:"Atualizado: ",viewLink:"Ver link",notPublic:"Não público",copySuccess:"Link copiado",copyFailed:"Não foi possível copiar o link. Tente novamente.",copyLinkBtn:"Copiar link",updateLinkBtn:"Atualizar link",setPrivateTitle:"Tornar a apresentação privada?",setPrivateDesc:"Qualquer pessoa com o link perderá o acesso",setPrivateConfirm:"Tornar privada",setPrivateSuccess:"A apresentação agora é privada",updateShareFailed:"Não foi possível atualizar as configurações de compartilhamento",linkError:"Este link é inválido. Verifique-o e tente novamente.",report:"Denunciar",linkInvalid:"Este link não está disponível"},floatBar:{leftAlign:"Alinhar à esquerda",centerAlign:"Centralizar",rightAlign:"Alinhar à direita",justify:"Justificar",topAlign:"Alinhar ao topo",verticallyCenter:"Centralizar verticalmente",bottomAlign:"Alinhar na parte inferior",horizontalAlignment:"Alinhamento horizontal",verticalAlignment:"Alinhamento vertical",lineSpacing:"Espaçamento entre linhas",textStyle:"Estilo de texto",tableStyle:"Estilo de tabela",unappliedTextStyle:"Não aplicado",manageTextStyles:"Gerenciar estilos de texto",fontColor:"Cor do texto",textBackground:"Plano de fundo do texto",font:"Fonte",unsupportedFont:"⚠️ Estilo de fonte não suportado",fontSize:"Tamanho da fonte",bold:"Negrito",italic:"Itálico",underline:"Sublinhado",strikethrough:"Tachado",insertLatex:"Inserir equação",editLatex:"Editar equação",editData:"Editar dados",showChartTitle:"Mostrar título",editChartTitle:"Editar título",chartTitlePlaceholder:"Título do gráfico",showChartValues:"Mostrar valores",chartLegend:"Legenda",none:"Nenhuma",top:"Superior",bottom:"Inferior",left:"Esquerda",right:"Direita",candlestickUpColor:"Cor de alta",candlestickDownColor:"Cor de baixa",candlestickWickColor:"Cor do pavio",waterfallIncreaseColor:"Cor de aumento",waterfallDecreaseColor:"Cor de redução",waterfallTotalColor:"Cor do total",heatmapLowColor:"Cor de valores baixos",heatmapMiddleColor:"Cor do ponto médio",heatmapHighColor:"Cor de valores altos",editLine:"Editar linha",curveLine:"Curva",lineCurveSharp:"Polilinha",lineCurveRound:"Arredondada",lineCurveSmooth:"Curva",lineStartArrow:"Seta inicial",lineEndArrow:"Seta final",usedThemeColor:"Usando o tema “{name}”",colorFill:"Cor de preenchimento",themeColor:"Cor do tema",replaceImage:"Substituir imagem",replaceIcon:"Substituir ícone",replaceShape:"Substituir forma",imageFit:"Ajuste da imagem",fitFill:"Esticar",fitContain:"Ajustar",fitCover:"Cortar para preencher",cancelCrop:"Cancelar corte",cropImage:"Cortar imagem",opacity:"Opacidade",horizontalFlip:"Virar horizontalmente",verticalFlip:"Virar verticalmente",layer:"Camada",bringToTop:"Trazer para a frente",sendToBottom:"Enviar para trás",bringForward:"Avançar",sendBackward:"Recuar",rowAction:"Ações de linha",columnAction:"Ações de coluna",insertRowBefore:"Inserir linha acima",insertRowAfter:"Inserir linha abaixo",insertColumnBefore:"Inserir coluna à esquerda",insertColumnAfter:"Inserir coluna à direita",defaultBorder:"Padrão",allBorders:"Todas as bordas",topAndBottomBorders:"Bordas superior e inferior",leftAndRightBorders:"Bordas esquerda e direita",topBorder:"Borda superior",rightBorder:"Borda direita",bottomBorder:"Borda inferior",leftBorder:"Borda esquerda",equalizeColumnWidths:"Distribuir colunas uniformemente",deselectAll:"Desmarcar tudo",selectAll:"Selecionar tudo",deleteTable:"Excluir tabela",cellBackground:"Plano de fundo da célula",times:"x",border:"Borda",line:"Linha",solidLine:"Sólida",dashedLine:"Tracejada",dottedLine:"Pontilhada",noBorder:"Sem borda",style:"Estilo",thickness:"Espessura",color:"Cor",recentColors:"Cores recentes",notSupportEyeDropper:"Este navegador não é compatível com o conta-gotas. Tente usar outro navegador.",escCloseEyeDropper:"Pressione Esc para fechar o conta-gotas"},notes:{placeholder:"Notas",show:"Mostrar anotações do apresentador"},animationPanel:{title:"Animação",preview:"Visualizar",empty:"Nenhuma animação neste slide",add:"Adicionar animação",addHint:"Selecione um elemento para adicionar uma animação",target:"Elemento de destino",effect:"Efeito",trigger:"Gatilho",triggerOnClick:"Ao clicar",triggerWithPrevious:"Com a anterior",triggerAfterPrevious:"Após a anterior",direction:"Direção",directionUp:"Cima",directionDown:"Baixo",directionLeft:"Esquerda",directionRight:"Direita",duration:"Duração (ms)",delay:"Atraso (ms)",easing:"Suavização",easingLinear:"Linear",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"Repetições",path:"Caminho",delete:"Excluir",categoryEntrance:"Entrada",categoryEmphasis:"Ênfase",categoryExit:"Saída",categoryMotionPath:"Caminho",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"Escolher elemento",elementTypes:{text:"Caixa de texto",shape:"Forma",image:"Imagem",icon:"Ícone",table:"Tabela",chart:"Gráfico",line:"Linha"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/resvg-wasm-BO0DH4Au.js b/editor/neo-ppt/assets/resvg-wasm-BO0DH4Au.js new file mode 100644 index 0000000..b77155b --- /dev/null +++ b/editor/neo-ppt/assets/resvg-wasm-BO0DH4Au.js @@ -0,0 +1 @@ +var e,t=Array(128).fill(void 0);t.push(void 0,null,!0,!1);var n=t.length;function r(e){n===t.length&&t.push(t.length+1);let r=n;return n=t[r],t[r]=e,r}function i(e){return t[e]}function a(e){e<132||(t[e]=n,n=e)}function o(e){let t=i(e);return a(e),t}var s=0,c=null;function l(){return(c===null||c.byteLength===0)&&(c=new Uint8Array(e.memory.buffer)),c}var u=typeof TextEncoder<`u`?new TextEncoder(`utf-8`):{encode:()=>{throw Error(`TextEncoder not available`)}},d=typeof u.encodeInto==`function`?function(e,t){return u.encodeInto(e,t)}:function(e,t){let n=u.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){let n=u.encode(e),r=t(n.length,1)>>>0;return l().subarray(r,r+n.length).set(n),s=n.length,r}let r=e.length,i=t(r,1)>>>0,a=l(),o=0;for(;o127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=l().subarray(i+o,i+r),a=d(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return s=o,i}function p(e){return e==null}var m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Int32Array(e.memory.buffer)),m}var g=typeof TextDecoder<`u`?new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error(`TextDecoder not available`)}};typeof TextDecoder<`u`&&g.decode();function _(e,t){return e>>>=0,g.decode(l().subarray(e,e+t))}function v(e,t){if(!(e instanceof t))throw Error(`expected instance of ${t.name}`);return e.ptr}function y(t,n){try{return t.apply(this,n)}catch(t){e.__wbindgen_exn_store(r(t))}}var b=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_bbox_free(t>>>0)),x=class t{static __wrap(e){e>>>=0;let n=Object.create(t.prototype);return n.__wbg_ptr=e,b.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,b.unregister(this),e}free(){let t=this.__destroy_into_raw();e.__wbg_bbox_free(t)}get x(){return e.__wbg_get_bbox_x(this.__wbg_ptr)}set x(t){e.__wbg_set_bbox_x(this.__wbg_ptr,t)}get y(){return e.__wbg_get_bbox_y(this.__wbg_ptr)}set y(t){e.__wbg_set_bbox_y(this.__wbg_ptr,t)}get width(){return e.__wbg_get_bbox_width(this.__wbg_ptr)}set width(t){e.__wbg_set_bbox_width(this.__wbg_ptr,t)}get height(){return e.__wbg_get_bbox_height(this.__wbg_ptr)}set height(t){e.__wbg_set_bbox_height(this.__wbg_ptr,t)}},S=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_renderedimage_free(t>>>0)),C=class t{static __wrap(e){e>>>=0;let n=Object.create(t.prototype);return n.__wbg_ptr=e,S.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),e}free(){let t=this.__destroy_into_raw();e.__wbg_renderedimage_free(t)}get width(){return e.renderedimage_width(this.__wbg_ptr)>>>0}get height(){return e.renderedimage_height(this.__wbg_ptr)>>>0}asPng(){try{let r=e.__wbindgen_add_to_stack_pointer(-16);e.renderedimage_asPng(r,this.__wbg_ptr);var t=h()[r/4+0],n=h()[r/4+1];if(h()[r/4+2])throw o(n);return o(t)}finally{e.__wbindgen_add_to_stack_pointer(16)}}get pixels(){return o(e.renderedimage_pixels(this.__wbg_ptr))}},w=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_resvg_free(t>>>0)),T=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,w.unregister(this),e}free(){let t=this.__destroy_into_raw();e.__wbg_resvg_free(t)}constructor(t,n,i){try{let d=e.__wbindgen_add_to_stack_pointer(-16);var a=p(n)?0:f(n,e.__wbindgen_malloc,e.__wbindgen_realloc),c=s;e.resvg_new(d,r(t),a,c,p(i)?0:r(i));var l=h()[d/4+0],u=h()[d/4+1];if(h()[d/4+2])throw o(u);return this.__wbg_ptr=l>>>0,this}finally{e.__wbindgen_add_to_stack_pointer(16)}}get width(){return e.resvg_width(this.__wbg_ptr)}get height(){return e.resvg_height(this.__wbg_ptr)}render(){try{let r=e.__wbindgen_add_to_stack_pointer(-16);e.resvg_render(r,this.__wbg_ptr);var t=h()[r/4+0],n=h()[r/4+1];if(h()[r/4+2])throw o(n);return C.__wrap(t)}finally{e.__wbindgen_add_to_stack_pointer(16)}}toString(){let t,n;try{let a=e.__wbindgen_add_to_stack_pointer(-16);e.resvg_toString(a,this.__wbg_ptr);var r=h()[a/4+0],i=h()[a/4+1];return t=r,n=i,_(r,i)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_free(t,n,1)}}innerBBox(){let t=e.resvg_innerBBox(this.__wbg_ptr);return t===0?void 0:x.__wrap(t)}getBBox(){let t=e.resvg_getBBox(this.__wbg_ptr);return t===0?void 0:x.__wrap(t)}cropByBBox(t){v(t,x),e.resvg_cropByBBox(this.__wbg_ptr,t.__wbg_ptr)}imagesToResolve(){try{let r=e.__wbindgen_add_to_stack_pointer(-16);e.resvg_imagesToResolve(r,this.__wbg_ptr);var t=h()[r/4+0],n=h()[r/4+1];if(h()[r/4+2])throw o(n);return o(t)}finally{e.__wbindgen_add_to_stack_pointer(16)}}resolveImage(t,n){try{let a=e.__wbindgen_add_to_stack_pointer(-16),c=f(t,e.__wbindgen_malloc,e.__wbindgen_realloc),l=s;e.resvg_resolveImage(a,this.__wbg_ptr,c,l,r(n));var i=h()[a/4+0];if(h()[a/4+1])throw o(i)}finally{e.__wbindgen_add_to_stack_pointer(16)}}};async function E(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.headers.get(`Content-Type`)!=`application/wasm`)console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}else{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}function D(){let t={};return t.wbg={},t.wbg.__wbg_new_28c511d9baebfa89=function(e,t){return r(Error(_(e,t)))},t.wbg.__wbindgen_memory=function(){let t=e.memory;return r(t)},t.wbg.__wbg_buffer_12d079cc21e14bdb=function(e){let t=i(e).buffer;return r(t)},t.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb=function(e,t,n){return r(new Uint8Array(i(e),t>>>0,n>>>0))},t.wbg.__wbindgen_object_drop_ref=function(e){o(e)},t.wbg.__wbg_new_63b92bc8671ed464=function(e){return r(new Uint8Array(i(e)))},t.wbg.__wbg_values_839f3396d5aac002=function(e){return r(i(e).values())},t.wbg.__wbg_next_196c84450b364254=function(){return y(function(e){return r(i(e).next())},arguments)},t.wbg.__wbg_done_298b57d23c0fc80c=function(e){return i(e).done},t.wbg.__wbg_value_d93c65011f51a456=function(e){let t=i(e).value;return r(t)},t.wbg.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6=function(e){let t;try{t=i(e)instanceof Uint8Array}catch{t=!1}return t},t.wbg.__wbindgen_string_get=function(t,n){let r=i(n),a=typeof r==`string`?r:void 0;var o=p(a)?0:f(a,e.__wbindgen_malloc,e.__wbindgen_realloc),c=s;h()[t/4+1]=c,h()[t/4+0]=o},t.wbg.__wbg_new_16b304a2cfa7ff4a=function(){return r([])},t.wbg.__wbindgen_string_new=function(e,t){return r(_(e,t))},t.wbg.__wbg_push_a5b05aedc7234f9f=function(e,t){return i(e).push(i(t))},t.wbg.__wbg_length_c20a40f15020d68a=function(e){return i(e).length},t.wbg.__wbg_set_a47bac70306a19a7=function(e,t,n){i(e).set(i(t),n>>>0)},t.wbg.__wbindgen_throw=function(e,t){throw Error(_(e,t))},t}function O(t,n){return e=t.exports,k.__wbindgen_wasm_module=n,m=null,c=null,e}async function k(t){if(e!==void 0)return e;t===void 0&&(t=new URL(`index_bg.wasm`,void 0));let n=D();(typeof t==`string`||typeof Request==`function`&&t instanceof Request||typeof URL==`function`&&t instanceof URL)&&(t=fetch(t));let{instance:r,module:i}=await E(await t,n);return O(r,i)}var A=k,j=!1,M=async e=>{if(j)throw Error("Already initialized. The `initWasm()` function can be used only once.");await A(await e),j=!0},N=class extends T{constructor(e,t){if(!j)throw Error("Wasm has not been initialized. Call `initWasm()` function.");let n=t?.font;if(n&&P(n)){let r={...t,font:{...n,fontBuffers:void 0}};super(e,JSON.stringify(r),n.fontBuffers)}else super(e,JSON.stringify(t))}};function P(e){return Object.prototype.hasOwnProperty.call(e,`fontBuffers`)}export{N as Resvg,M as initWasm}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/resvg-wasm-legacy-D8pfsh6P.js b/editor/neo-ppt/assets/resvg-wasm-legacy-D8pfsh6P.js new file mode 100644 index 0000000..4e4dd36 --- /dev/null +++ b/editor/neo-ppt/assets/resvg-wasm-legacy-D8pfsh6P.js @@ -0,0 +1 @@ +System.register([],function(t,e){var n,r,_,i,o,s,a,g,w,c,b,u,d,f,l,h,p;function y(t){_===r.length&&r.push(r.length+1);const e=_;return _=r[e],r[e]=t,e}function m(t){return r[t]}function v(t){const e=m(t);return function(t){t<132||(r[t]=_,_=t)}(t),e}function x(){return null!==o&&0!==o.byteLength||(o=new Uint8Array(n.memory.buffer)),o}function B(t,e,n){if(void 0===n){const n=s.encode(t),r=e(n.length,1)>>>0;return x().subarray(r,r+n.length).set(n),i=n.length,r}let r=t.length,_=e(r,1)>>>0;const o=x();let g=0;for(;g127)break;o[_+g]=e}if(g!==r){0!==g&&(t=t.slice(g)),_=n(_,r,r=g+3*t.length,1)>>>0;const e=x().subarray(_+g,_+r);g+=a(t,e).written,_=n(_,r,g,1)>>>0}return i=g,_}function A(t){return null==t}function R(){return null!==g&&0!==g.byteLength||(g=new Int32Array(n.memory.buffer)),g}function k(t,e){return t>>>=0,w.decode(x().subarray(t,t+e))}function E(){const t={wbg:{}};return t.wbg.__wbg_new_28c511d9baebfa89=function(t,e){return y(new Error(k(t,e)))},t.wbg.__wbindgen_memory=function(){return y(n.memory)},t.wbg.__wbg_buffer_12d079cc21e14bdb=function(t){return y(m(t).buffer)},t.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb=function(t,e,n){return y(new Uint8Array(m(t),e>>>0,n>>>0))},t.wbg.__wbindgen_object_drop_ref=function(t){v(t)},t.wbg.__wbg_new_63b92bc8671ed464=function(t){return y(new Uint8Array(m(t)))},t.wbg.__wbg_values_839f3396d5aac002=function(t){return y(m(t).values())},t.wbg.__wbg_next_196c84450b364254=function(){return function(t,e){try{return t.apply(this,e)}catch(r){n.__wbindgen_exn_store(y(r))}}(function(t){return y(m(t).next())},arguments)},t.wbg.__wbg_done_298b57d23c0fc80c=function(t){return m(t).done},t.wbg.__wbg_value_d93c65011f51a456=function(t){return y(m(t).value)},t.wbg.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6=function(t){let e;try{e=m(t)instanceof Uint8Array}catch(n){e=!1}return e},t.wbg.__wbindgen_string_get=function(t,e){const r=m(e),_="string"==typeof r?r:void 0;var o=A(_)?0:B(_,n.__wbindgen_malloc,n.__wbindgen_realloc),s=i;R()[t/4+1]=s,R()[t/4+0]=o},t.wbg.__wbg_new_16b304a2cfa7ff4a=function(){return y(new Array)},t.wbg.__wbindgen_string_new=function(t,e){return y(k(t,e))},t.wbg.__wbg_push_a5b05aedc7234f9f=function(t,e){return m(t).push(m(e))},t.wbg.__wbg_length_c20a40f15020d68a=function(t){return m(t).length},t.wbg.__wbg_set_a47bac70306a19a7=function(t,e,n){m(t).set(m(e),n>>>0)},t.wbg.__wbindgen_throw=function(t,e){throw new Error(k(t,e))},t}async function T(t){if(void 0!==n)return n;void 0===t&&(t=new URL("index_bg.wasm",void 0));const e=E();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:r,module:_}=await async function(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(t,e)}catch(n){if("application/wasm"==t.headers.get("Content-Type"))throw n;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n)}const r=await t.arrayBuffer();return await WebAssembly.instantiate(r,e)}{const n=await WebAssembly.instantiate(t,e);return n instanceof WebAssembly.Instance?{instance:n,module:t}:n}}(await t,e);return function(t,e){return n=t.exports,T.__wbindgen_wasm_module=e,g=null,o=null,n}(r,_)}return{setters:[],execute:function(){(r=new Array(128).fill(void 0)).push(void 0,null,!0,!1),_=r.length,i=0,o=null,s="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},a="function"==typeof s.encodeInto?function(t,e){return s.encodeInto(t,e)}:function(t,e){const n=s.encode(t);return e.set(n),{read:t.length,written:n.length}},g=null,w="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}},"undefined"!=typeof TextDecoder&&w.decode(),c="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_bbox_free(t>>>0)),b=class t{static __wrap(e){e>>>=0;const n=Object.create(t.prototype);return n.__wbg_ptr=e,c.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,c.unregister(this),t}free(){const t=this.__destroy_into_raw();n.__wbg_bbox_free(t)}get x(){return n.__wbg_get_bbox_x(this.__wbg_ptr)}set x(t){n.__wbg_set_bbox_x(this.__wbg_ptr,t)}get y(){return n.__wbg_get_bbox_y(this.__wbg_ptr)}set y(t){n.__wbg_set_bbox_y(this.__wbg_ptr,t)}get width(){return n.__wbg_get_bbox_width(this.__wbg_ptr)}set width(t){n.__wbg_set_bbox_width(this.__wbg_ptr,t)}get height(){return n.__wbg_get_bbox_height(this.__wbg_ptr)}set height(t){n.__wbg_set_bbox_height(this.__wbg_ptr,t)}},u="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_renderedimage_free(t>>>0)),d=class t{static __wrap(e){e>>>=0;const n=Object.create(t.prototype);return n.__wbg_ptr=e,u.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,u.unregister(this),t}free(){const t=this.__destroy_into_raw();n.__wbg_renderedimage_free(t)}get width(){return n.renderedimage_width(this.__wbg_ptr)>>>0}get height(){return n.renderedimage_height(this.__wbg_ptr)>>>0}asPng(){try{const r=n.__wbindgen_add_to_stack_pointer(-16);n.renderedimage_asPng(r,this.__wbg_ptr);var t=R()[r/4+0],e=R()[r/4+1];if(R()[r/4+2])throw v(e);return v(t)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get pixels(){return v(n.renderedimage_pixels(this.__wbg_ptr))}},f="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_resvg_free(t>>>0)),l=class{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,f.unregister(this),t}free(){const t=this.__destroy_into_raw();n.__wbg_resvg_free(t)}constructor(t,e,r){try{const g=n.__wbindgen_add_to_stack_pointer(-16);var _=A(e)?0:B(e,n.__wbindgen_malloc,n.__wbindgen_realloc),o=i;n.resvg_new(g,y(t),_,o,A(r)?0:y(r));var s=R()[g/4+0],a=R()[g/4+1];if(R()[g/4+2])throw v(a);return this.__wbg_ptr=s>>>0,this}finally{n.__wbindgen_add_to_stack_pointer(16)}}get width(){return n.resvg_width(this.__wbg_ptr)}get height(){return n.resvg_height(this.__wbg_ptr)}render(){try{const r=n.__wbindgen_add_to_stack_pointer(-16);n.resvg_render(r,this.__wbg_ptr);var t=R()[r/4+0],e=R()[r/4+1];if(R()[r/4+2])throw v(e);return d.__wrap(t)}finally{n.__wbindgen_add_to_stack_pointer(16)}}toString(){let t,e;try{const i=n.__wbindgen_add_to_stack_pointer(-16);n.resvg_toString(i,this.__wbg_ptr);var r=R()[i/4+0],_=R()[i/4+1];return t=r,e=_,k(r,_)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_free(t,e,1)}}innerBBox(){const t=n.resvg_innerBBox(this.__wbg_ptr);return 0===t?void 0:b.__wrap(t)}getBBox(){const t=n.resvg_getBBox(this.__wbg_ptr);return 0===t?void 0:b.__wrap(t)}cropByBBox(t){!function(t,e){if(!(t instanceof e))throw new Error(`expected instance of ${e.name}`);t.ptr}(t,b),n.resvg_cropByBBox(this.__wbg_ptr,t.__wbg_ptr)}imagesToResolve(){try{const r=n.__wbindgen_add_to_stack_pointer(-16);n.resvg_imagesToResolve(r,this.__wbg_ptr);var t=R()[r/4+0],e=R()[r/4+1];if(R()[r/4+2])throw v(e);return v(t)}finally{n.__wbindgen_add_to_stack_pointer(16)}}resolveImage(t,e){try{const _=n.__wbindgen_add_to_stack_pointer(-16),o=B(t,n.__wbindgen_malloc,n.__wbindgen_realloc),s=i;n.resvg_resolveImage(_,this.__wbg_ptr,o,s,y(e));var r=R()[_/4+0];if(R()[_/4+1])throw v(r)}finally{n.__wbindgen_add_to_stack_pointer(16)}}},h=T,p=!1,t("initWasm",async t=>{if(p)throw new Error("Already initialized. The `initWasm()` function can be used only once.");await h(await t),p=!0}),t("Resvg",class extends l{constructor(t,e){if(!p)throw new Error("Wasm has not been initialized. Call `initWasm()` function.");const n=e?.font;if(n&&(r=n,Object.prototype.hasOwnProperty.call(r,"fontBuffers"))){const r={...e,font:{...n,fontBuffers:void 0}};super(t,JSON.stringify(r),n.fontBuffers)}else super(t,JSON.stringify(e));var r}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/rolldown-runtime-DWdDZTNf.js b/editor/neo-ppt/assets/rolldown-runtime-DWdDZTNf.js new file mode 100644 index 0000000..8e7d307 --- /dev/null +++ b/editor/neo-ppt/assets/rolldown-runtime-DWdDZTNf.js @@ -0,0 +1 @@ +var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});export{l as i,s as n,u as r,o as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/rolldown-runtime-legacy-C7CQ20b7.js b/editor/neo-ppt/assets/rolldown-runtime-legacy-C7CQ20b7.js new file mode 100644 index 0000000..0795664 --- /dev/null +++ b/editor/neo-ppt/assets/rolldown-runtime-legacy-C7CQ20b7.js @@ -0,0 +1 @@ +System.register([],function(e,r){var t,n,o,u,i,l,f;return{setters:[],execute:function(){t=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,i=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,e("t",(e,r)=>()=>(r||(e((r={exports:{}}).exports,r),e=null),r.exports)),e("n",(e,r)=>{let t={};for(var o in e)n(t,o,{get:e[o],enumerable:!0});return r||n(t,Symbol.toStringTag,{value:"Module"}),t}),f=(e,r,t,i)=>{if(r&&"object"==typeof r||"function"==typeof r)for(var f,p=u(r),a=0,d=p.length;ar[e]).bind(null,f),enumerable:!(i=o(r,f))||i.enumerable});return e},e("i",(e,r,o)=>(o=null!=e?t(i(e)):{},f(!r&&e&&e.__esModule?o:n(o,"default",{value:e,enumerable:!0}),e))),e("r",(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,r)=>("undefined"!=typeof require?require:e)[r]}):e)(function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}))}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/ru-legacy-BAhG_43S.js b/editor/neo-ppt/assets/ru-legacy-BAhG_43S.js new file mode 100644 index 0000000..1e45f0a --- /dev/null +++ b/editor/neo-ppt/assets/ru-legacy-BAhG_43S.js @@ -0,0 +1 @@ +System.register([],function(e,t){return{setters:[],execute:function(){e("default",{topBar:{fullscreen:"На весь экран",collapse:"Свернуть",autosaving:"Автосохранение…",justSaved:"Только что сохранено",savedMinutesAgo:"Сохранено {minutes} мин назад",versionName:"Версия {version}",versionLatest:"Последняя",versionEditedBy:"Изменено: {editor}, {time}",versionMinutesAgo:"{minutes} мин назад",versionYesterday:"Вчера в {time}",restoreVersion:"Восстановить",returnLatestVersion:"К последней версии",close:"Закрыть"},basic:{undo:"Отменить",redo:"Повторить",save:"Сохранить",screen:"Показ слайдов",share:"Поделиться",export:"Экспорт",unnamedPresentation:"Презентация без названия",lastPage:"Это последний слайд"},presenter:{start:"Показ на этом экране",mode:"Режим презентации",exit:"Выйти",openFailed:"Браузер заблокировал всплывающее окно докладчика. Разрешите всплывающие окна и переадресацию для этого сайта и повторите попытку.",connectFailed:"Не удалось подключиться к окну докладчика. Повторите попытку."},screen:{fullscreenFailed:"Не удалось перейти в полноэкранный режим. Разрешите полноэкранный доступ для этого сайта в настройках браузера и повторите попытку.",transitionEffects:{none:"Нет",fade:"Затухание","wipe-right":"Стирание вправо","wipe-left":"Стирание влево","wipe-down":"Стирание вниз","wipe-up":"Стирание вверх","split-vertical":"Вертикальное разделение","split-horizontal":"Горизонтальное разделение",box:"Рамка",checkerboard:"Шахматная доска","random-bars-horizontal":"Случайные горизонтальные полосы","random-bars-vertical":"Случайные вертикальные полосы","horizontal-blinds":"Горизонтальные жалюзи","vertical-blinds":"Вертикальные жалюзи","column-grid":"Сетка столбцов","random-grid":"Случайная сетка",random:"Случайный эффект"}},save:{saveFailed:"Не удалось сохранить. Повторите попытку.",invalidData:"Не удалось сохранить: данные некорректны. Обновите страницу и повторите попытку.",conflictTitle:"Обнаружена более новая версия",conflictContent:"Эта презентация обновлена в {time}. Обновите страницу, чтобы увидеть последнюю версию, или примените и сохраните текущие изменения.",conflictRefresh:"Обновить",conflictApplyChanges:"Применить изменения"},bottomBar:{rectangle:"Прямоугольник",otherShapes:"Основные фигуры",decoration:"Декор",straightLine:"Прямая",curve:"Кривая",createTable:"Создать таблицу",searchIcon:"Найти значки",noIconFound:"Значки не найдены"},sideBar:{addSlide:"Новый слайд",previewMode:"Режим предпросмотра",expand:"Развернуть",collapse:"Свернуть"},contextMenu:{cut:"Вырезать",copy:"Копировать",paste:"Вставить",selectAll:"Выбрать всё",changeBackground:"Изменить фон",newPage:"Новый слайд",copyPage:"Дублировать слайд",deletePage:"Удалить слайд",delete:"Удалить",moveUpOneLayer:"Переместить вперёд",moveDownOneLayer:"Переместить назад",bringToTop:"На передний план",sendToBottom:"На задний план",align:"Выравнивание",alignCenter:"По центру слайда",alignHorizontal:"По центру по горизонтали",startFromCurrent:"Показ с этого слайда",insertColumn:"Вставить столбец",insertColumnLeft:"Слева",insertColumnRight:"Справа",insertRow:"Вставить строку",insertRowAbove:"Сверху",insertRowBelow:"Снизу",deleteColumn:"Удалить столбец",deleteRow:"Удалить строку",mergeCells:"Объединить ячейки",unmergeCells:"Разъединить ячейки",selectCurrentColumn:"Выбрать столбец",selectCurrentRow:"Выбрать строку",selectAllCells:"Выбрать все ячейки",deleteTable:"Удалить таблицу"},common:{name:"Слайды",nameEN:"Slides",confirm:"Подтвердить",cancel:"Отмена",dontRemind:"Больше не показывать",feedback:"Обратная связь",user:"Пользователь",loadFailedRetry:"Не удалось загрузить. Повторите попытку позже."},annotation:{edit:"Изменить",entry:"Комментарий",placeholder:"Расскажите Kimi, что изменить",add:"Добавить",addedCount:"Добавленные комментарии: {count}",emptyTip:"Добавьте комментарии к слайдам",clear:"Очистить комментарии",delete:"Удалить комментарий",marker:"Комментарий",pageLabel:"Слайд {page}",clearConfirm:{title:"Удалить все комментарии?",content:"Все добавленные комментарии будут удалены",cancelText:"Отмена",confirmText:"Очистить"},exitConfirm:{title:"Выйти из режима комментариев?",content:"Неотправленные комментарии не сохранятся",cancelText:"Отмена",confirmText:"Выйти"}},wap:{loading:"Загрузка",play:"Показ",export:"Экспорт",exporting:"Экспорт…",playPrevLine1:"Коснитесь или проведите влево,",playPrevLine2:"чтобы перейти к предыдущему слайду",playMenuLine1:"Коснитесь центра,",playMenuLine2:"чтобы открыть меню слайдов",playNextLine1:"Коснитесь или проведите вправо,",playNextLine2:"чтобы перейти к следующему слайду"},rate:{title:"Как вам результат?",thanksTitle:"Спасибо за отзыв",bad:"Не очень",normal:"Нормально",good:"Отлично",resultTip:"Ваш отзыв помогает Kimi стать лучше",feedback:"Дополнить отзыв"},feedback:{snackbar:{title:"Как вам результат?",good:"Хорошо",normal:"Нормально",bad:"Не очень",successMessage:"Спасибо — ваш отзыв помогает Kimi стать лучше",writeFeedback:"Оставить отзыв"}},logoModal:{title:"Добавить логотип",tooltip:"Логотип появится в левом верхнем углу каждого слайда",selected:"Выбрано",upload:"Загрузить логотип",preview:"Предпросмотр",maxLimit:"До 5 логотипов",alertMaxLimit:"Можно загрузить не более 5 логотипов",applyToAll:"Применить ко всем слайдам"},latex:{title:"Вставить формулу",placeholder:"Введите формулу LaTeX, например E = mc^2"},themeEditor:{title:"Тема слайдов",apply:"Применить",cancel:"Отмена",themeColors:"Цвета темы",emptyThemeColors:"Нет цветов темы",currentPageBackground:"Фон текущего слайда",backgroundColor:"Цвет",backgroundImage:"Изображение",uploadImage:"Загрузить изображение",uploadImageFailed:"Не удалось загрузить изображение. Повторите попытку позже.",backgroundFitFill:"Заполнить",backgroundFitContain:"Вписать",backgroundFitStretch:"Растянуть",applyToAll:"Применить ко всем",textStyles:"Стили текста",emptyTextStyles:"Нет стилей текста",fontStyle:"Начертание",lineHeight:"Межстрочный интервал",letterSpacing:"Межбуквенный интервал",previewText:"Знакомьтесь, Kimi123",normal:"Обычный",textStyleTitle:"Заголовок",textStyleSubtitle:"Подзаголовок",textStyleBody:"Основной текст",textStyleCaption:"Подпись / примечание",miSans:"Microsoft YaHei"},diffChecker:{title:"Проверка различий",newFile:"Добавлено",deletedFile:"Удалено",emptyContent:"Файл пуст"},insert:{text:"Вставить текст",graphics:"Графика",graphicsShapeTab:"Фигуры",graphicsLineTab:"Линии",graphicsIconTab:"Значки",image:"Вставить изображение",table:"Вставить таблицу",theme:"Тема",latex:"Вставить формулу",watermark:"Добавить водяной знак",more:"Ещё",animation:"Анимация"},scaleMenu:{zoomIn:"Увеличить",zoomOut:"Уменьшить",fitScreen:"По размеру экрана"},exportDialog:{image:"Изображение",downloadTitle:"Экспорт",tabDownload:"Скачать",tabGoogleSlides:"Google Презентации",outputFormat:"Формат вывода",fontEmbed:"Встроить шрифты",fontEmbedTooltip:"Встройте шрифты в PPTX, чтобы они одинаково отображались на разных устройствах",slideTransition:"Переход между слайдами",slideTransitionTooltip:"Добавить переходы между слайдами",defaultDownloadPath:"Путь загрузки по умолчанию",storageTo:"Сохранить в",download:"Скачать",downloadStarted:"Экспорт начался",downloadStartTip:"Экспорт начался. Если скачивание не начнётся, попробуйте другой браузер или повторите экспорт.",loading:"Экспорт…",pendingTip:"Экспорт занимает больше времени, чем ожидалось. Попробуйте другой браузер.",wechatTip:"Встроенный браузер WeChat не поддерживает скачивание. Используйте браузер на компьютере, например Chrome или Edge.",safariTip:"Ваш браузер устарел. Обновите его или попробуйте другой, например Chrome или Edge.",mobileTip:"Скачайте на компьютере",exportPptxFailed:"Не удалось экспортировать PPTX. Повторите попытку.",exportPptxSignFailed:"Не удалось экспортировать PPTX. Обновите страницу и повторите попытку.",exportImageFailed:"Не удалось экспортировать изображения. Повторите попытку.",exportingToGoogle:"Экспорт в Google Презентации…",exportToGoogle:"Экспортировать в Google Презентации",exportToGoogleTips:"Экспортировать презентацию в Google Презентации",exportToGoogleNetworkError:"Не удалось экспортировать в Google Презентации. Проверьте подключение и повторите попытку."},share:{create:"Создать слайды",createDesign:"Создать дизайн",public:"Доступно всем",private:"Личное",createLink:"Создать ссылку",createLinkDesc:"Все, у кого есть ссылка, смогут просматривать эту презентацию",createLinkBtn:"Создать ссылку",createLinkFailed:"Не удалось создать ссылку",bannedTips:"Доступ по ссылке отключен",goFeedback:"Отправить отзыв",updateLinkTitle:"Обновить ссылку",updateLinkDesc:"После обновления старая ссылка перестанет работать",updateLinkConfirm:"Обновить",updateLinkSuccess:"Ссылка обновлена",updateTime:"Обновлено: ",viewLink:"Открыть ссылку",notPublic:"Не опубликовано",copySuccess:"Ссылка скопирована",copyFailed:"Не удалось скопировать ссылку. Повторите попытку.",copyLinkBtn:"Копировать ссылку",updateLinkBtn:"Обновить ссылку",setPrivateTitle:"Сделать презентацию закрытой?",setPrivateDesc:"Все, у кого есть ссылка, потеряют доступ",setPrivateConfirm:"Сделать закрытой",setPrivateSuccess:"Теперь презентация закрыта",updateShareFailed:"Не удалось обновить настройки доступа",linkError:"Ссылка недействительна. Проверьте её и повторите попытку.",report:"Пожаловаться",linkInvalid:"Ссылка недоступна"},floatBar:{leftAlign:"По левому краю",centerAlign:"По центру",rightAlign:"По правому краю",justify:"По ширине",topAlign:"По верхнему краю",verticallyCenter:"По центру вертикально",bottomAlign:"По нижнему краю",horizontalAlignment:"Горизонтальное выравнивание",verticalAlignment:"Вертикальное выравнивание",lineSpacing:"Межстрочный интервал",textStyle:"Стиль текста",tableStyle:"Стиль таблицы",unappliedTextStyle:"Не применено",manageTextStyles:"Управление стилями текста",fontColor:"Цвет текста",textBackground:"Фон текста",font:"Шрифт",unsupportedFont:"⚠️ Неподдерживаемый стиль шрифта",fontSize:"Размер шрифта",bold:"Полужирный",italic:"Курсив",underline:"Подчёркнутый",strikethrough:"Зачёркнутый",insertLatex:"Вставить формулу",editLatex:"Изменить формулу",editData:"Изменить данные",showChartTitle:"Показать заголовок",editChartTitle:"Изменить заголовок",chartTitlePlaceholder:"Заголовок диаграммы",showChartValues:"Показать значения",chartLegend:"Легенда",none:"Нет",top:"Сверху",bottom:"Снизу",left:"Слева",right:"Справа",candlestickUpColor:"Цвет роста",candlestickDownColor:"Цвет падения",candlestickWickColor:"Цвет тени",waterfallIncreaseColor:"Цвет увеличения",waterfallDecreaseColor:"Цвет уменьшения",waterfallTotalColor:"Цвет итога",heatmapLowColor:"Цвет низких значений",heatmapMiddleColor:"Цвет средней точки",heatmapHighColor:"Цвет высоких значений",editLine:"Изменить линию",curveLine:"Кривая",lineCurveSharp:"Ломаная",lineCurveRound:"Скругленная",lineCurveSmooth:"Кривая",lineStartArrow:"Стрелка в начале",lineEndArrow:"Стрелка в конце",usedThemeColor:"Используется тема «{name}»",colorFill:"Цвет заливки",themeColor:"Цвет темы",replaceImage:"Заменить изображение",replaceIcon:"Заменить значок",replaceShape:"Заменить фигуру",imageFit:"Подгонка изображения",fitFill:"Растянуть",fitContain:"Вписать",fitCover:"Обрезать с заполнением",cancelCrop:"Отменить обрезку",cropImage:"Обрезать изображение",opacity:"Непрозрачность",horizontalFlip:"Отразить по горизонтали",verticalFlip:"Отразить по вертикали",layer:"Слой",bringToTop:"На передний план",sendToBottom:"На задний план",bringForward:"Переместить вперёд",sendBackward:"Переместить назад",rowAction:"Действия со строками",columnAction:"Действия со столбцами",insertRowBefore:"Вставить строку выше",insertRowAfter:"Вставить строку ниже",insertColumnBefore:"Вставить столбец слева",insertColumnAfter:"Вставить столбец справа",defaultBorder:"По умолчанию",allBorders:"Все границы",topAndBottomBorders:"Верхняя и нижняя границы",leftAndRightBorders:"Левая и правая границы",topBorder:"Верхняя граница",rightBorder:"Правая граница",bottomBorder:"Нижняя граница",leftBorder:"Левая граница",equalizeColumnWidths:"Равномерно распределить столбцы",deselectAll:"Снять выделение",selectAll:"Выбрать всё",deleteTable:"Удалить таблицу",cellBackground:"Фон ячейки",times:"×",border:"Граница",line:"Линия",solidLine:"Сплошная",dashedLine:"Штриховая",dottedLine:"Пунктирная",noBorder:"Без границы",style:"Стиль",thickness:"Толщина",color:"Цвет",recentColors:"Недавние цвета",notSupportEyeDropper:"Этот браузер не поддерживает пипетку. Попробуйте другой браузер.",escCloseEyeDropper:"Нажмите Esc, чтобы закрыть пипетку"},notes:{placeholder:"Заметки",show:"Показать заметки докладчика"},animationPanel:{title:"Анимация",preview:"Предпросмотр",empty:"На этом слайде нет анимаций",add:"Добавить анимацию",addHint:"Выберите элемент, чтобы добавить анимацию",target:"Целевой элемент",effect:"Эффект",trigger:"Триггер",triggerOnClick:"По щелчку",triggerWithPrevious:"С предыдущей",triggerAfterPrevious:"После предыдущей",direction:"Направление",directionUp:"Вверх",directionDown:"Вниз",directionLeft:"Влево",directionRight:"Вправо",duration:"Длительность (мс)",delay:"Задержка (мс)",easing:"Смягчение",easingLinear:"Линейная",easingEaseIn:"Ease in",easingEaseOut:"Ease out",easingEaseInOut:"Ease in-out",repeat:"Повторы",path:"Путь",delete:"Удалить",categoryEntrance:"Вход",categoryEmphasis:"Акцент",categoryExit:"Выход",categoryMotionPath:"Путь",effects:{appear:"Appear","fade-in":"Fade in","fly-in":"Fly in","zoom-in":"Zoom in","wipe-in":"Wipe in","float-in":"Float In","peek-in":"Peek In","rise-in":"Rise In",pulse:"Pulse","grow-shrink":"Grow/Shrink",spin:"Spin",teeter:"Teeter","fill-color":"Fill Color",transparency:"Transparency","color-pulse":"Color Pulse",disappear:"Disappear","fade-out":"Fade out","fly-out":"Fly out","zoom-out":"Zoom out","wipe-out":"Wipe out","float-out":"Float Out","motion-path":"Motion path"},pickElement:"Выбрать элемент",elementTypes:{text:"Текстовое поле",shape:"Фигура",image:"Изображение",icon:"Значок",table:"Таблица",chart:"Диаграмма",line:"Линия"}}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/shapePreset-CxGn1Ud3.js b/editor/neo-ppt/assets/shapePreset-CxGn1Ud3.js new file mode 100644 index 0000000..9d02f5b --- /dev/null +++ b/editor/neo-ppt/assets/shapePreset-CxGn1Ud3.js @@ -0,0 +1 @@ +var e={accentBorderCallout1:{type:`accentBorderCallout1`,defaultValue:[18750,-8333,112500,-38333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`close`},{type:`lnTo`,x:`x1`,y:`b`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -76.67 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`]},accentBorderCallout2:{type:`accentBorderCallout2`,defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`close`},{type:`lnTo`,x:`x1`,y:`b`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -93.33 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`]},accentBorderCallout3:{type:`accentBorderCallout3`,defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`,`adj7`,`adj8`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`},{name:`y4`,fmla:`*/ h adj7 100000`},{name:`x4`,fmla:`*/ w adj8 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}},{x:{name:`adj8`},y:{name:`adj7`},pos:{x:`x4`,y:`y4`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`close`},{type:`lnTo`,x:`x1`,y:`b`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`,`y`,`x`]},accentCallout1:{type:`accentCallout1`,defaultValue:[18750,-8333,112500,-38333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`close`},{type:`lnTo`,x:`x1`,y:`b`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -76.67 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`]},accentCallout2:{type:`accentCallout2`,defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`close`},{type:`lnTo`,x:`x1`,y:`b`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -93.33 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`]},accentCallout3:{type:`accentCallout3`,defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`,`adj7`,`adj8`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`},{name:`y4`,fmla:`*/ h adj7 100000`},{name:`x4`,fmla:`*/ w adj8 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}},{x:{name:`adj8`},y:{name:`adj7`},pos:{x:`x4`,y:`y4`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`close`},{type:`lnTo`,x:`x1`,y:`b`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`,`y`,`x`]},actionButtonBackPrevious:{type:`actionButtonBackPrevious`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g11`,y:`vc`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g11`,y:`vc`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g11`,y:`vc`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 100.00L 175.00 25.00L 175.00 175.00ZM 25.00 100.00L 175.00 25.00L 175.00 175.00ZM 25.00 100.00L 175.00 25.00L 175.00 175.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonBeginning:{type:`actionButtonBeginning`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 1 8`},{name:`g15`,fmla:`*/ g13 1 4`},{name:`g16`,fmla:`+- g11 g14 0`},{name:`g17`,fmla:`+- g11 g15 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g17`,y:`vc`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`close`},{type:`moveTo`,x:`g16`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`lnTo`,x:`g16`,y:`g10`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g17`,y:`vc`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`close`},{type:`moveTo`,x:`g16`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`lnTo`,x:`g16`,y:`g10`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g17`,y:`vc`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`close`},{type:`moveTo`,x:`g16`,y:`g9`},{type:`lnTo`,x:`g16`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 62.50 100.00L 175.00 25.00L 175.00 175.00ZM 43.75 25.00L 25.00 25.00L 25.00 175.00L 43.75 175.00ZM 62.50 100.00L 175.00 25.00L 175.00 175.00ZM 43.75 25.00L 25.00 25.00L 25.00 175.00L 43.75 175.00ZM 62.50 100.00L 175.00 25.00L 175.00 175.00ZM 43.75 25.00L 43.75 175.00L 25.00 175.00L 25.00 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonBlank:{type:`actionButtonBlank`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonDocument:{type:`actionButtonDocument`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`dx1`,fmla:`*/ ss 9 32`},{name:`g11`,fmla:`+- hc 0 dx1`},{name:`g12`,fmla:`+- hc dx1 0`},{name:`g13`,fmla:`*/ ss 3 16`},{name:`g14`,fmla:`+- g12 0 g13`},{name:`g15`,fmla:`+- g9 g13 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g14`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g15`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g14`,y:`g9`},{type:`lnTo`,x:`g14`,y:`g15`},{type:`lnTo`,x:`g12`,y:`g15`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`g14`,y:`g9`},{type:`lnTo`,x:`g14`,y:`g15`},{type:`lnTo`,x:`g12`,y:`g15`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g14`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g15`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`},{type:`moveTo`,x:`g12`,y:`g15`},{type:`lnTo`,x:`g14`,y:`g15`},{type:`lnTo`,x:`g14`,y:`g9`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 43.75 25.00L 118.75 25.00L 156.25 62.50L 156.25 175.00L 43.75 175.00ZM 43.75 25.00L 118.75 25.00L 118.75 62.50L 156.25 62.50L 156.25 175.00L 43.75 175.00ZM 118.75 25.00L 118.75 62.50L 156.25 62.50ZM 43.75 25.00L 118.75 25.00L 156.25 62.50L 156.25 175.00L 43.75 175.00ZM 156.25 62.50L 118.75 62.50L 118.75 25.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonEnd:{type:`actionButtonEnd`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 3 4`},{name:`g15`,fmla:`*/ g13 7 8`},{name:`g16`,fmla:`+- g11 g14 0`},{name:`g17`,fmla:`+- g11 g15 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g16`,y:`vc`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`},{type:`moveTo`,x:`g17`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`lnTo`,x:`g17`,y:`g10`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g16`,y:`vc`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`},{type:`moveTo`,x:`g17`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`lnTo`,x:`g17`,y:`g10`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g16`,y:`vc`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`close`},{type:`moveTo`,x:`g17`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g9`},{type:`lnTo`,x:`g12`,y:`g10`},{type:`lnTo`,x:`g17`,y:`g10`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 137.50 100.00L 25.00 25.00L 25.00 175.00ZM 156.25 25.00L 175.00 25.00L 175.00 175.00L 156.25 175.00ZM 137.50 100.00L 25.00 25.00L 25.00 175.00ZM 156.25 25.00L 175.00 25.00L 175.00 175.00L 156.25 175.00ZM 137.50 100.00L 25.00 175.00L 25.00 25.00ZM 156.25 25.00L 175.00 25.00L 175.00 175.00L 156.25 175.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonForwardNext:{type:`actionButtonForwardNext`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g12`,y:`vc`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g12`,y:`vc`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g12`,y:`vc`},{type:`lnTo`,x:`g11`,y:`g10`},{type:`lnTo`,x:`g11`,y:`g9`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 175.00 100.00L 25.00 25.00L 25.00 175.00ZM 175.00 100.00L 25.00 25.00L 25.00 175.00ZM 175.00 100.00L 25.00 175.00L 25.00 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonHelp:{type:`actionButtonHelp`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 1 7`},{name:`g15`,fmla:`*/ g13 3 14`},{name:`g16`,fmla:`*/ g13 2 7`},{name:`g19`,fmla:`*/ g13 3 7`},{name:`g20`,fmla:`*/ g13 4 7`},{name:`g21`,fmla:`*/ g13 17 28`},{name:`g23`,fmla:`*/ g13 21 28`},{name:`g24`,fmla:`*/ g13 11 14`},{name:`g27`,fmla:`+- g9 g16 0`},{name:`g29`,fmla:`+- g9 g21 0`},{name:`g30`,fmla:`+- g9 g23 0`},{name:`g31`,fmla:`+- g9 g24 0`},{name:`g33`,fmla:`+- g11 g15 0`},{name:`g36`,fmla:`+- g11 g19 0`},{name:`g37`,fmla:`+- g11 g20 0`},{name:`g41`,fmla:`*/ g13 1 14`},{name:`g42`,fmla:`*/ g13 3 28`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g33`,y:`g27`},{type:`arcTo`,wR:`g16`,hR:`g16`,stAng:`cd2`,swAng:`cd2`},{type:`arcTo`,wR:`g14`,hR:`g15`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`g41`,hR:`g42`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`g37`,y:`g30`},{type:`lnTo`,x:`g36`,y:`g30`},{type:`lnTo`,x:`g36`,y:`g29`},{type:`arcTo`,wR:`g14`,hR:`g15`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`g41`,hR:`g42`,stAng:`cd4`,swAng:-54e5},{type:`arcTo`,wR:`g14`,hR:`g14`,stAng:0,swAng:-108e5},{type:`close`},{type:`moveTo`,x:`hc`,y:`g31`},{type:`arcTo`,wR:`g42`,hR:`g42`,stAng:`3cd4`,swAng:216e5},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g33`,y:`g27`},{type:`arcTo`,wR:`g16`,hR:`g16`,stAng:`cd2`,swAng:`cd2`},{type:`arcTo`,wR:`g14`,hR:`g15`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`g41`,hR:`g42`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`g37`,y:`g30`},{type:`lnTo`,x:`g36`,y:`g30`},{type:`lnTo`,x:`g36`,y:`g29`},{type:`arcTo`,wR:`g14`,hR:`g15`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`g41`,hR:`g42`,stAng:`cd4`,swAng:-54e5},{type:`arcTo`,wR:`g14`,hR:`g14`,stAng:0,swAng:-108e5},{type:`close`},{type:`moveTo`,x:`hc`,y:`g31`},{type:`arcTo`,wR:`g42`,hR:`g42`,stAng:`3cd4`,swAng:216e5},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g33`,y:`g27`},{type:`arcTo`,wR:`g16`,hR:`g16`,stAng:`cd2`,swAng:`cd2`},{type:`arcTo`,wR:`g14`,hR:`g15`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`g41`,hR:`g42`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`g37`,y:`g30`},{type:`lnTo`,x:`g36`,y:`g30`},{type:`lnTo`,x:`g36`,y:`g29`},{type:`arcTo`,wR:`g14`,hR:`g15`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`g41`,hR:`g42`,stAng:`cd4`,swAng:-54e5},{type:`arcTo`,wR:`g14`,hR:`g14`,stAng:0,swAng:-108e5},{type:`close`},{type:`moveTo`,x:`hc`,y:`g31`},{type:`arcTo`,wR:`g42`,hR:`g42`,stAng:`3cd4`,swAng:216e5},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 57.14 67.86A 42.86 42.86 0 0 1 142.86 67.86A 21.43 32.14 0 0 1 121.43 100.00A 10.71 16.07 0 0 0 110.71 116.07L 110.71 137.50L 89.29 137.50L 89.29 116.07A 21.43 32.14 0 0 1 110.71 83.93A 10.71 16.07 0 0 0 121.43 67.86A 21.43 21.43 0 0 0 78.57 67.86ZM 100.00 142.86A 16.07 16.07 0 1 1 99.93 142.86ZM 57.14 67.86A 42.86 42.86 0 0 1 142.86 67.86A 21.43 32.14 0 0 1 121.43 100.00A 10.71 16.07 0 0 0 110.71 116.07L 110.71 137.50L 89.29 137.50L 89.29 116.07A 21.43 32.14 0 0 1 110.71 83.93A 10.71 16.07 0 0 0 121.43 67.86A 21.43 21.43 0 0 0 78.57 67.86ZM 100.00 142.86A 16.07 16.07 0 1 1 99.93 142.86ZM 57.14 67.86A 42.86 42.86 0 0 1 142.86 67.86A 21.43 32.14 0 0 1 121.43 100.00A 10.71 16.07 0 0 0 110.71 116.07L 110.71 137.50L 89.29 137.50L 89.29 116.07A 21.43 32.14 0 0 1 110.71 83.93A 10.71 16.07 0 0 0 121.43 67.86A 21.43 21.43 0 0 0 78.57 67.86ZM 100.00 142.86A 16.07 16.07 0 1 1 99.93 142.86ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonHome:{type:`actionButtonHome`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 1 16`},{name:`g15`,fmla:`*/ g13 1 8`},{name:`g16`,fmla:`*/ g13 3 16`},{name:`g17`,fmla:`*/ g13 5 16`},{name:`g18`,fmla:`*/ g13 7 16`},{name:`g19`,fmla:`*/ g13 9 16`},{name:`g20`,fmla:`*/ g13 11 16`},{name:`g21`,fmla:`*/ g13 3 4`},{name:`g22`,fmla:`*/ g13 13 16`},{name:`g23`,fmla:`*/ g13 7 8`},{name:`g24`,fmla:`+- g9 g14 0`},{name:`g25`,fmla:`+- g9 g16 0`},{name:`g26`,fmla:`+- g9 g17 0`},{name:`g27`,fmla:`+- g9 g21 0`},{name:`g28`,fmla:`+- g11 g15 0`},{name:`g29`,fmla:`+- g11 g18 0`},{name:`g30`,fmla:`+- g11 g19 0`},{name:`g31`,fmla:`+- g11 g20 0`},{name:`g32`,fmla:`+- g11 g22 0`},{name:`g33`,fmla:`+- g11 g23 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`hc`,y:`g9`},{type:`lnTo`,x:`g11`,y:`vc`},{type:`lnTo`,x:`g28`,y:`vc`},{type:`lnTo`,x:`g28`,y:`g10`},{type:`lnTo`,x:`g33`,y:`g10`},{type:`lnTo`,x:`g33`,y:`vc`},{type:`lnTo`,x:`g12`,y:`vc`},{type:`lnTo`,x:`g32`,y:`g26`},{type:`lnTo`,x:`g32`,y:`g24`},{type:`lnTo`,x:`g31`,y:`g24`},{type:`lnTo`,x:`g31`,y:`g25`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g32`,y:`g26`},{type:`lnTo`,x:`g32`,y:`g24`},{type:`lnTo`,x:`g31`,y:`g24`},{type:`lnTo`,x:`g31`,y:`g25`},{type:`close`},{type:`moveTo`,x:`g28`,y:`vc`},{type:`lnTo`,x:`g28`,y:`g10`},{type:`lnTo`,x:`g29`,y:`g10`},{type:`lnTo`,x:`g29`,y:`g27`},{type:`lnTo`,x:`g30`,y:`g27`},{type:`lnTo`,x:`g30`,y:`g10`},{type:`lnTo`,x:`g33`,y:`g10`},{type:`lnTo`,x:`g33`,y:`vc`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`hc`,y:`g9`},{type:`lnTo`,x:`g11`,y:`vc`},{type:`lnTo`,x:`g12`,y:`vc`},{type:`close`},{type:`moveTo`,x:`g29`,y:`g27`},{type:`lnTo`,x:`g30`,y:`g27`},{type:`lnTo`,x:`g30`,y:`g10`},{type:`lnTo`,x:`g29`,y:`g10`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`hc`,y:`g9`},{type:`lnTo`,x:`g31`,y:`g25`},{type:`lnTo`,x:`g31`,y:`g24`},{type:`lnTo`,x:`g32`,y:`g24`},{type:`lnTo`,x:`g32`,y:`g26`},{type:`lnTo`,x:`g12`,y:`vc`},{type:`lnTo`,x:`g33`,y:`vc`},{type:`lnTo`,x:`g33`,y:`g10`},{type:`lnTo`,x:`g28`,y:`g10`},{type:`lnTo`,x:`g28`,y:`vc`},{type:`lnTo`,x:`g11`,y:`vc`},{type:`close`},{type:`moveTo`,x:`g31`,y:`g25`},{type:`lnTo`,x:`g32`,y:`g26`},{type:`moveTo`,x:`g33`,y:`vc`},{type:`lnTo`,x:`g28`,y:`vc`},{type:`moveTo`,x:`g29`,y:`g10`},{type:`lnTo`,x:`g29`,y:`g27`},{type:`lnTo`,x:`g30`,y:`g27`},{type:`lnTo`,x:`g30`,y:`g10`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 100.00 25.00L 25.00 100.00L 43.75 100.00L 43.75 175.00L 156.25 175.00L 156.25 100.00L 175.00 100.00L 146.88 71.88L 146.88 34.38L 128.13 34.38L 128.13 53.13ZM 146.88 71.88L 146.88 34.38L 128.13 34.38L 128.13 53.13ZM 43.75 100.00L 43.75 175.00L 90.63 175.00L 90.63 137.50L 109.38 137.50L 109.38 175.00L 156.25 175.00L 156.25 100.00ZM 100.00 25.00L 25.00 100.00L 175.00 100.00ZM 90.63 137.50L 109.38 137.50L 109.38 175.00L 90.63 175.00ZM 100.00 25.00L 128.13 53.13L 128.13 34.38L 146.88 34.38L 146.88 71.88L 175.00 100.00L 156.25 100.00L 156.25 175.00L 43.75 175.00L 43.75 100.00L 25.00 100.00ZM 128.13 53.13L 146.88 71.88M 156.25 100.00L 43.75 100.00M 90.63 175.00L 90.63 137.50L 109.38 137.50L 109.38 175.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonInformation:{type:`actionButtonInformation`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 1 32`},{name:`g17`,fmla:`*/ g13 5 16`},{name:`g18`,fmla:`*/ g13 3 8`},{name:`g19`,fmla:`*/ g13 13 32`},{name:`g20`,fmla:`*/ g13 19 32`},{name:`g22`,fmla:`*/ g13 11 16`},{name:`g23`,fmla:`*/ g13 13 16`},{name:`g24`,fmla:`*/ g13 7 8`},{name:`g25`,fmla:`+- g9 g14 0`},{name:`g28`,fmla:`+- g9 g17 0`},{name:`g29`,fmla:`+- g9 g18 0`},{name:`g30`,fmla:`+- g9 g23 0`},{name:`g31`,fmla:`+- g9 g24 0`},{name:`g32`,fmla:`+- g11 g17 0`},{name:`g34`,fmla:`+- g11 g19 0`},{name:`g35`,fmla:`+- g11 g20 0`},{name:`g37`,fmla:`+- g11 g22 0`},{name:`g38`,fmla:`*/ g13 3 32`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`hc`,y:`g9`},{type:`arcTo`,wR:`dx2`,hR:`dx2`,stAng:`3cd4`,swAng:216e5},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`hc`,y:`g9`},{type:`arcTo`,wR:`dx2`,hR:`dx2`,stAng:`3cd4`,swAng:216e5},{type:`close`},{type:`moveTo`,x:`hc`,y:`g25`},{type:`arcTo`,wR:`g38`,hR:`g38`,stAng:`3cd4`,swAng:216e5},{type:`moveTo`,x:`g32`,y:`g28`},{type:`lnTo`,x:`g32`,y:`g29`},{type:`lnTo`,x:`g34`,y:`g29`},{type:`lnTo`,x:`g34`,y:`g30`},{type:`lnTo`,x:`g32`,y:`g30`},{type:`lnTo`,x:`g32`,y:`g31`},{type:`lnTo`,x:`g37`,y:`g31`},{type:`lnTo`,x:`g37`,y:`g30`},{type:`lnTo`,x:`g35`,y:`g30`},{type:`lnTo`,x:`g35`,y:`g28`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`hc`,y:`g25`},{type:`arcTo`,wR:`g38`,hR:`g38`,stAng:`3cd4`,swAng:216e5},{type:`moveTo`,x:`g32`,y:`g28`},{type:`lnTo`,x:`g35`,y:`g28`},{type:`lnTo`,x:`g35`,y:`g30`},{type:`lnTo`,x:`g37`,y:`g30`},{type:`lnTo`,x:`g37`,y:`g31`},{type:`lnTo`,x:`g32`,y:`g31`},{type:`lnTo`,x:`g32`,y:`g30`},{type:`lnTo`,x:`g34`,y:`g30`},{type:`lnTo`,x:`g34`,y:`g29`},{type:`lnTo`,x:`g32`,y:`g29`},{type:`close`}],stroke:!1,fill:`lighten`},{path:[{type:`moveTo`,x:`hc`,y:`g9`},{type:`arcTo`,wR:`dx2`,hR:`dx2`,stAng:`3cd4`,swAng:216e5},{type:`close`},{type:`moveTo`,x:`hc`,y:`g25`},{type:`arcTo`,wR:`g38`,hR:`g38`,stAng:`3cd4`,swAng:216e5},{type:`moveTo`,x:`g32`,y:`g28`},{type:`lnTo`,x:`g35`,y:`g28`},{type:`lnTo`,x:`g35`,y:`g30`},{type:`lnTo`,x:`g37`,y:`g30`},{type:`lnTo`,x:`g37`,y:`g31`},{type:`lnTo`,x:`g32`,y:`g31`},{type:`lnTo`,x:`g32`,y:`g30`},{type:`lnTo`,x:`g34`,y:`g30`},{type:`lnTo`,x:`g34`,y:`g29`},{type:`lnTo`,x:`g32`,y:`g29`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 100.00 25.00A 75.00 75.00 0 1 1 99.67 25.00ZM 100.00 25.00A 75.00 75.00 0 1 1 99.67 25.00ZM 100.00 29.69A 14.06 14.06 0 1 1 99.94 29.69M 71.88 71.88L 71.88 81.25L 85.94 81.25L 85.94 146.88L 71.88 146.88L 71.88 156.25L 128.13 156.25L 128.13 146.88L 114.06 146.88L 114.06 71.88ZM 100.00 29.69A 14.06 14.06 0 1 1 99.94 29.69M 71.88 71.88L 114.06 71.88L 114.06 146.88L 128.13 146.88L 128.13 156.25L 71.88 156.25L 71.88 146.88L 85.94 146.88L 85.94 81.25L 71.88 81.25ZM 100.00 25.00A 75.00 75.00 0 1 1 99.67 25.00ZM 100.00 29.69A 14.06 14.06 0 1 1 99.94 29.69M 71.88 71.88L 114.06 71.88L 114.06 146.88L 128.13 146.88L 128.13 156.25L 71.88 156.25L 71.88 146.88L 85.94 146.88L 85.94 81.25L 71.88 81.25ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonMovie:{type:`actionButtonMovie`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 1455 21600`},{name:`g15`,fmla:`*/ g13 1905 21600`},{name:`g16`,fmla:`*/ g13 2325 21600`},{name:`g17`,fmla:`*/ g13 16155 21600`},{name:`g18`,fmla:`*/ g13 17010 21600`},{name:`g19`,fmla:`*/ g13 19335 21600`},{name:`g20`,fmla:`*/ g13 19725 21600`},{name:`g21`,fmla:`*/ g13 20595 21600`},{name:`g22`,fmla:`*/ g13 5280 21600`},{name:`g23`,fmla:`*/ g13 5730 21600`},{name:`g24`,fmla:`*/ g13 6630 21600`},{name:`g25`,fmla:`*/ g13 7492 21600`},{name:`g26`,fmla:`*/ g13 9067 21600`},{name:`g27`,fmla:`*/ g13 9555 21600`},{name:`g28`,fmla:`*/ g13 13342 21600`},{name:`g29`,fmla:`*/ g13 14580 21600`},{name:`g30`,fmla:`*/ g13 15592 21600`},{name:`g31`,fmla:`+- g11 g14 0`},{name:`g32`,fmla:`+- g11 g15 0`},{name:`g33`,fmla:`+- g11 g16 0`},{name:`g34`,fmla:`+- g11 g17 0`},{name:`g35`,fmla:`+- g11 g18 0`},{name:`g36`,fmla:`+- g11 g19 0`},{name:`g37`,fmla:`+- g11 g20 0`},{name:`g38`,fmla:`+- g11 g21 0`},{name:`g39`,fmla:`+- g9 g22 0`},{name:`g40`,fmla:`+- g9 g23 0`},{name:`g41`,fmla:`+- g9 g24 0`},{name:`g42`,fmla:`+- g9 g25 0`},{name:`g43`,fmla:`+- g9 g26 0`},{name:`g44`,fmla:`+- g9 g27 0`},{name:`g45`,fmla:`+- g9 g28 0`},{name:`g46`,fmla:`+- g9 g29 0`},{name:`g47`,fmla:`+- g9 g30 0`},{name:`g48`,fmla:`+- g9 g31 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g11`,y:`g39`},{type:`lnTo`,x:`g11`,y:`g44`},{type:`lnTo`,x:`g31`,y:`g44`},{type:`lnTo`,x:`g32`,y:`g43`},{type:`lnTo`,x:`g33`,y:`g43`},{type:`lnTo`,x:`g33`,y:`g47`},{type:`lnTo`,x:`g35`,y:`g47`},{type:`lnTo`,x:`g35`,y:`g45`},{type:`lnTo`,x:`g36`,y:`g45`},{type:`lnTo`,x:`g38`,y:`g46`},{type:`lnTo`,x:`g12`,y:`g46`},{type:`lnTo`,x:`g12`,y:`g41`},{type:`lnTo`,x:`g38`,y:`g41`},{type:`lnTo`,x:`g37`,y:`g42`},{type:`lnTo`,x:`g35`,y:`g42`},{type:`lnTo`,x:`g35`,y:`g41`},{type:`lnTo`,x:`g34`,y:`g40`},{type:`lnTo`,x:`g32`,y:`g40`},{type:`lnTo`,x:`g31`,y:`g39`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g11`,y:`g39`},{type:`lnTo`,x:`g11`,y:`g44`},{type:`lnTo`,x:`g31`,y:`g44`},{type:`lnTo`,x:`g32`,y:`g43`},{type:`lnTo`,x:`g33`,y:`g43`},{type:`lnTo`,x:`g33`,y:`g47`},{type:`lnTo`,x:`g35`,y:`g47`},{type:`lnTo`,x:`g35`,y:`g45`},{type:`lnTo`,x:`g36`,y:`g45`},{type:`lnTo`,x:`g38`,y:`g46`},{type:`lnTo`,x:`g12`,y:`g46`},{type:`lnTo`,x:`g12`,y:`g41`},{type:`lnTo`,x:`g38`,y:`g41`},{type:`lnTo`,x:`g37`,y:`g42`},{type:`lnTo`,x:`g35`,y:`g42`},{type:`lnTo`,x:`g35`,y:`g41`},{type:`lnTo`,x:`g34`,y:`g40`},{type:`lnTo`,x:`g32`,y:`g40`},{type:`lnTo`,x:`g31`,y:`g39`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g11`,y:`g39`},{type:`lnTo`,x:`g31`,y:`g39`},{type:`lnTo`,x:`g32`,y:`g40`},{type:`lnTo`,x:`g34`,y:`g40`},{type:`lnTo`,x:`g35`,y:`g41`},{type:`lnTo`,x:`g35`,y:`g42`},{type:`lnTo`,x:`g37`,y:`g42`},{type:`lnTo`,x:`g38`,y:`g41`},{type:`lnTo`,x:`g12`,y:`g41`},{type:`lnTo`,x:`g12`,y:`g46`},{type:`lnTo`,x:`g38`,y:`g46`},{type:`lnTo`,x:`g36`,y:`g45`},{type:`lnTo`,x:`g35`,y:`g45`},{type:`lnTo`,x:`g35`,y:`g47`},{type:`lnTo`,x:`g33`,y:`g47`},{type:`lnTo`,x:`g33`,y:`g43`},{type:`lnTo`,x:`g32`,y:`g43`},{type:`lnTo`,x:`g31`,y:`g44`},{type:`lnTo`,x:`g11`,y:`g44`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 61.67L 25.00 91.35L 35.10 91.35L 38.23 87.97L 41.15 87.97L 41.15 133.28L 143.13 133.28L 143.13 117.65L 159.27 117.65L 168.02 126.25L 175.00 126.25L 175.00 71.04L 168.02 71.04L 161.98 77.03L 143.13 77.03L 143.13 71.04L 137.19 64.79L 38.23 64.79L 35.10 61.67ZM 25.00 61.67L 25.00 91.35L 35.10 91.35L 38.23 87.97L 41.15 87.97L 41.15 133.28L 143.13 133.28L 143.13 117.65L 159.27 117.65L 168.02 126.25L 175.00 126.25L 175.00 71.04L 168.02 71.04L 161.98 77.03L 143.13 77.03L 143.13 71.04L 137.19 64.79L 38.23 64.79L 35.10 61.67ZM 25.00 61.67L 35.10 61.67L 38.23 64.79L 137.19 64.79L 143.13 71.04L 143.13 77.03L 161.98 77.03L 168.02 71.04L 175.00 71.04L 175.00 126.25L 168.02 126.25L 159.27 117.65L 143.13 117.65L 143.13 133.28L 41.15 133.28L 41.15 87.97L 38.23 87.97L 35.10 91.35L 25.00 91.35ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonReturn:{type:`actionButtonReturn`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 7 8`},{name:`g15`,fmla:`*/ g13 3 4`},{name:`g16`,fmla:`*/ g13 5 8`},{name:`g17`,fmla:`*/ g13 3 8`},{name:`g18`,fmla:`*/ g13 1 4`},{name:`g19`,fmla:`+- g9 g15 0`},{name:`g20`,fmla:`+- g9 g16 0`},{name:`g21`,fmla:`+- g9 g18 0`},{name:`g22`,fmla:`+- g11 g14 0`},{name:`g23`,fmla:`+- g11 g15 0`},{name:`g24`,fmla:`+- g11 g16 0`},{name:`g25`,fmla:`+- g11 g17 0`},{name:`g26`,fmla:`+- g11 g18 0`},{name:`g27`,fmla:`*/ g13 1 8`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g12`,y:`g21`},{type:`lnTo`,x:`g23`,y:`g9`},{type:`lnTo`,x:`hc`,y:`g21`},{type:`lnTo`,x:`g24`,y:`g21`},{type:`lnTo`,x:`g24`,y:`g20`},{type:`arcTo`,wR:`g27`,hR:`g27`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`g25`,y:`g19`},{type:`arcTo`,wR:`g27`,hR:`g27`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`g26`,y:`g21`},{type:`lnTo`,x:`g11`,y:`g21`},{type:`lnTo`,x:`g11`,y:`g20`},{type:`arcTo`,wR:`g17`,hR:`g17`,stAng:`cd2`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`g10`},{type:`arcTo`,wR:`g17`,hR:`g17`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`g22`,y:`g21`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g12`,y:`g21`},{type:`lnTo`,x:`g23`,y:`g9`},{type:`lnTo`,x:`hc`,y:`g21`},{type:`lnTo`,x:`g24`,y:`g21`},{type:`lnTo`,x:`g24`,y:`g20`},{type:`arcTo`,wR:`g27`,hR:`g27`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`g25`,y:`g19`},{type:`arcTo`,wR:`g27`,hR:`g27`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`g26`,y:`g21`},{type:`lnTo`,x:`g11`,y:`g21`},{type:`lnTo`,x:`g11`,y:`g20`},{type:`arcTo`,wR:`g17`,hR:`g17`,stAng:`cd2`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`g10`},{type:`arcTo`,wR:`g17`,hR:`g17`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`g22`,y:`g21`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g12`,y:`g21`},{type:`lnTo`,x:`g22`,y:`g21`},{type:`lnTo`,x:`g22`,y:`g20`},{type:`arcTo`,wR:`g17`,hR:`g17`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`g25`,y:`g10`},{type:`arcTo`,wR:`g17`,hR:`g17`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`g11`,y:`g21`},{type:`lnTo`,x:`g26`,y:`g21`},{type:`lnTo`,x:`g26`,y:`g20`},{type:`arcTo`,wR:`g27`,hR:`g27`,stAng:`cd2`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`g19`},{type:`arcTo`,wR:`g27`,hR:`g27`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`g24`,y:`g21`},{type:`lnTo`,x:`hc`,y:`g21`},{type:`lnTo`,x:`g23`,y:`g9`},{type:`close`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 175.00 62.50L 137.50 25.00L 100.00 62.50L 118.75 62.50L 118.75 118.75A 18.75 18.75 0 0 1 100.00 137.50L 81.25 137.50A 18.75 18.75 0 0 1 62.50 118.75L 62.50 62.50L 25.00 62.50L 25.00 118.75A 56.25 56.25 0 0 0 81.25 175.00L 100.00 175.00A 56.25 56.25 0 0 0 156.25 118.75L 156.25 62.50ZM 175.00 62.50L 137.50 25.00L 100.00 62.50L 118.75 62.50L 118.75 118.75A 18.75 18.75 0 0 1 100.00 137.50L 81.25 137.50A 18.75 18.75 0 0 1 62.50 118.75L 62.50 62.50L 25.00 62.50L 25.00 118.75A 56.25 56.25 0 0 0 81.25 175.00L 100.00 175.00A 56.25 56.25 0 0 0 156.25 118.75L 156.25 62.50ZM 175.00 62.50L 156.25 62.50L 156.25 118.75A 56.25 56.25 0 0 1 100.00 175.00L 81.25 175.00A 56.25 56.25 0 0 1 25.00 118.75L 25.00 62.50L 62.50 62.50L 62.50 118.75A 18.75 18.75 0 0 0 81.25 137.50L 100.00 137.50A 18.75 18.75 0 0 0 118.75 118.75L 118.75 62.50L 100.00 62.50L 137.50 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},actionButtonSound:{type:`actionButtonSound`,defaultValue:[],adjustmentNames:[],params:[{name:`dx2`,fmla:`*/ ss 3 8`},{name:`g9`,fmla:`+- vc 0 dx2`},{name:`g10`,fmla:`+- vc dx2 0`},{name:`g11`,fmla:`+- hc 0 dx2`},{name:`g12`,fmla:`+- hc dx2 0`},{name:`g13`,fmla:`*/ ss 3 4`},{name:`g14`,fmla:`*/ g13 1 8`},{name:`g15`,fmla:`*/ g13 5 16`},{name:`g16`,fmla:`*/ g13 5 8`},{name:`g17`,fmla:`*/ g13 11 16`},{name:`g18`,fmla:`*/ g13 3 4`},{name:`g19`,fmla:`*/ g13 7 8`},{name:`g20`,fmla:`+- g9 g14 0`},{name:`g21`,fmla:`+- g9 g15 0`},{name:`g22`,fmla:`+- g9 g17 0`},{name:`g23`,fmla:`+- g9 g19 0`},{name:`g24`,fmla:`+- g11 g15 0`},{name:`g25`,fmla:`+- g11 g16 0`},{name:`g26`,fmla:`+- g11 g18 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`g11`,y:`g21`},{type:`lnTo`,x:`g11`,y:`g22`},{type:`lnTo`,x:`g24`,y:`g22`},{type:`lnTo`,x:`g25`,y:`g10`},{type:`lnTo`,x:`g25`,y:`g9`},{type:`lnTo`,x:`g24`,y:`g21`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`g11`,y:`g21`},{type:`lnTo`,x:`g11`,y:`g22`},{type:`lnTo`,x:`g24`,y:`g22`},{type:`lnTo`,x:`g25`,y:`g10`},{type:`lnTo`,x:`g25`,y:`g9`},{type:`lnTo`,x:`g24`,y:`g21`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`g11`,y:`g21`},{type:`lnTo`,x:`g24`,y:`g21`},{type:`lnTo`,x:`g25`,y:`g9`},{type:`lnTo`,x:`g25`,y:`g10`},{type:`lnTo`,x:`g24`,y:`g22`},{type:`lnTo`,x:`g11`,y:`g22`},{type:`close`},{type:`moveTo`,x:`g26`,y:`g21`},{type:`lnTo`,x:`g12`,y:`g20`},{type:`moveTo`,x:`g26`,y:`vc`},{type:`lnTo`,x:`g12`,y:`vc`},{type:`moveTo`,x:`g26`,y:`g22`},{type:`lnTo`,x:`g12`,y:`g23`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 71.88L 25.00 128.13L 71.88 128.13L 118.75 175.00L 118.75 25.00L 71.88 71.88ZM 25.00 71.88L 25.00 128.13L 71.88 128.13L 118.75 175.00L 118.75 25.00L 71.88 71.88ZM 25.00 71.88L 71.88 71.88L 118.75 25.00L 118.75 175.00L 71.88 128.13L 25.00 128.13ZM 137.50 71.88L 175.00 43.75M 137.50 100.00L 175.00 100.00M 137.50 128.13L 175.00 156.25M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},arc:{type:`arc`,defaultValue:[162e5,0],adjustmentNames:[`adj1`,`adj2`],params:[{name:`stAng`,fmla:`pin 0 adj1 21599999`},{name:`enAng`,fmla:`pin 0 adj2 21599999`},{name:`sw11`,fmla:`+- enAng 0 stAng`},{name:`sw12`,fmla:`+- sw11 21600000 0`},{name:`swAng`,fmla:`?: sw11 sw11 sw12`},{name:`etAng`,fmla:`+- stAng swAng 0`},{name:`ewAng`,fmla:`+- 0 0 swAng`},{name:`wt1`,fmla:`sin wd2 stAng`},{name:`ht1`,fmla:`cos hd2 stAng`},{name:`dx1`,fmla:`cat2 wd2 ht1 wt1`},{name:`dy1`,fmla:`sat2 hd2 ht1 wt1`},{name:`wt2`,fmla:`sin wd2 enAng`},{name:`ht2`,fmla:`cos hd2 enAng`},{name:`dx2`,fmla:`cat2 wd2 ht2 wt2`},{name:`dy2`,fmla:`sat2 hd2 ht2 wt2`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc dy1 0`},{name:`x2`,fmla:`+- hc dx2 0`},{name:`y2`,fmla:`+- vc dy2 0`},{name:`sw0`,fmla:`+- 21600000 0 stAng`},{name:`da1`,fmla:`+- swAng 0 sw0`},{name:`g1`,fmla:`max x1 x2`},{name:`ir`,fmla:`?: da1 r g1`},{name:`sw1`,fmla:`+- cd4 0 stAng`},{name:`sw2`,fmla:`+- 27000000 0 stAng`},{name:`sw3`,fmla:`?: sw1 sw1 sw2`},{name:`da2`,fmla:`+- swAng 0 sw3`},{name:`g5`,fmla:`max y1 y2`},{name:`ib`,fmla:`?: da2 b g5`},{name:`sw4`,fmla:`+- cd2 0 stAng`},{name:`sw5`,fmla:`+- 32400000 0 stAng`},{name:`sw6`,fmla:`?: sw4 sw4 sw5`},{name:`da3`,fmla:`+- swAng 0 sw6`},{name:`g9`,fmla:`min x1 x2`},{name:`il`,fmla:`?: da3 l g9`},{name:`sw7`,fmla:`+- 3cd4 0 stAng`},{name:`sw8`,fmla:`+- 37800000 0 stAng`},{name:`sw9`,fmla:`?: sw7 sw7 sw8`},{name:`da4`,fmla:`+- swAng 0 sw9`},{name:`g13`,fmla:`min y1 y2`},{name:`it`,fmla:`?: da4 t g13`},{name:`cang1`,fmla:`+- stAng 0 cd4`},{name:`cang2`,fmla:`+- enAng cd4 0`},{name:`cang3`,fmla:`+/ cang1 cang2 2`}],ranges:[{ang:{name:`adj1`,min:0,max:21599999},pos:{x:`x1`,y:`y1`}},{ang:{name:`adj2`,min:0,max:21599999},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`stAng`,swAng:`swAng`},{type:`lnTo`,x:`hc`,y:`vc`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`stAng`,swAng:`swAng`}],stroke:!0,fill:`none`}],path:`M 100.00 0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 0 100.00 0.00Z`,range:[[0,21599999],[0,21599999]],relative:[`ang`,`ang`]},bentArrow:{type:`bentArrow`,defaultValue:[25e3,25e3,25e3,43750],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`a3`,fmla:`pin 0 adj3 50000`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`aw2`,fmla:`*/ ss a2 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`dh2`,fmla:`+- aw2 0 th2`},{name:`ah`,fmla:`*/ ss a3 100000`},{name:`bw`,fmla:`+- r 0 ah`},{name:`bh`,fmla:`+- b 0 dh2`},{name:`bs`,fmla:`min bw bh`},{name:`maxAdj4`,fmla:`*/ 100000 bs ss`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`bd`,fmla:`*/ ss a4 100000`},{name:`bd3`,fmla:`+- bd 0 th`},{name:`bd2`,fmla:`max bd3 0`},{name:`x3`,fmla:`+- th bd2 0`},{name:`x4`,fmla:`+- r 0 ah`},{name:`y3`,fmla:`+- dh2 th 0`},{name:`y4`,fmla:`+- y3 dh2 0`},{name:`y5`,fmla:`+- dh2 bd 0`},{name:`y6`,fmla:`+- y3 bd2 0`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`th`,y:`b`}},{y:{name:`adj2`,min:0,max:5e4},pos:{x:`r`,y:`y4`}},{x:{name:`adj3`,min:0,max:5e4},pos:{x:`x4`,y:`t`}},{x:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`bd`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`l`,y:`y5`},{type:`arcTo`,wR:`bd`,hR:`bd`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x4`,y:`dh2`},{type:`lnTo`,x:`x4`,y:`t`},{type:`lnTo`,x:`r`,y:`aw2`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`arcTo`,wR:`bd2`,hR:`bd2`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`th`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 0.00 112.50A 87.50 87.50 0 0 1 87.50 25.00L 150.00 25.00L 150.00 0.00L 200.00 50.00L 150.00 100.00L 150.00 75.00L 87.50 75.00A 37.50 37.50 0 0 0 50.00 112.50L 50.00 200.00Z`,range:[[0,5e4],[0,5e4],[0,5e4],[0,75e3]],relative:[`x`,`y`,`x`,`x`]},bentConnector2:{type:`bentConnector2`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00`,range:[],relative:[]},bentConnector3:{type:`bentConnector3`,defaultValue:[5e4],adjustmentNames:[`adj1`],params:[{name:`x1`,fmla:`*/ w adj1 100000`}],ranges:[{x:{name:`adj1`},pos:{x:`x1`,y:`vc`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`r`,y:`b`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 100.00 0.00L 100.00 200.00L 200.00 200.00`,range:[[-2147483647,2147483647]],relative:[`x`]},bentConnector4:{type:`bentConnector4`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`x1`,fmla:`*/ w adj1 100000`},{name:`x2`,fmla:`+/ x1 r 2`},{name:`y2`,fmla:`*/ h adj2 100000`},{name:`y1`,fmla:`+/ t y2 2`}],ranges:[{x:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{y:{name:`adj2`},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`r`,y:`b`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 100.00 0.00L 100.00 100.00L 200.00 100.00L 200.00 200.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`]},bentConnector5:{type:`bentConnector5`,defaultValue:[5e4,5e4,5e4],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`x1`,fmla:`*/ w adj1 100000`},{name:`x3`,fmla:`*/ w adj3 100000`},{name:`x2`,fmla:`+/ x1 x3 2`},{name:`y2`,fmla:`*/ h adj2 100000`},{name:`y1`,fmla:`+/ t y2 2`},{name:`y3`,fmla:`+/ b y2 2`}],ranges:[{x:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{y:{name:`adj2`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj3`},pos:{x:`x3`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x3`,y:`b`},{type:`lnTo`,x:`r`,y:`b`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 100.00 0.00L 100.00 100.00L 100.00 100.00L 100.00 200.00L 200.00 200.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`,`x`]},bentUpArrow:{type:`bentUpArrow`,defaultValue:[25e3,25e3,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`a3`,fmla:`pin 0 adj3 50000`},{name:`y1`,fmla:`*/ ss a3 100000`},{name:`dx1`,fmla:`*/ ss a2 50000`},{name:`x1`,fmla:`+- r 0 dx1`},{name:`dx3`,fmla:`*/ ss a2 100000`},{name:`x3`,fmla:`+- r 0 dx3`},{name:`dx2`,fmla:`*/ ss a1 200000`},{name:`x2`,fmla:`+- x3 0 dx2`},{name:`x4`,fmla:`+- x3 dx2 0`},{name:`dy2`,fmla:`*/ ss a1 100000`},{name:`y2`,fmla:`+- b 0 dy2`},{name:`x0`,fmla:`*/ x4 1 2`},{name:`y3`,fmla:`+/ y2 b 2`},{name:`y15`,fmla:`+/ y1 b 2`}],ranges:[{y:{name:`adj1`,min:0,max:5e4},pos:{x:`l`,y:`y2`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x1`,y:`t`}},{y:{name:`adj3`,min:0,max:5e4},pos:{x:`x2`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x3`,y:`t`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x4`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 150.00L 125.00 150.00L 125.00 50.00L 100.00 50.00L 150.00 0.00L 200.00 50.00L 175.00 50.00L 175.00 200.00L 0.00 200.00Z`,range:[[0,5e4],[0,5e4],[0,5e4]],relative:[`y`,`x`,`y`]},bevel:{type:`bevel`,defaultValue:[12500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- b 0 x1`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`x1`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`x1`,y:`x1`},{type:`close`}],stroke:!1,fill:`lightenLess`},{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`x1`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`lighten`},{path:[{type:`moveTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`close`}],stroke:!1,fill:`darken`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`x1`,y:`x1`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`},{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`x1`},{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`moveTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`moveTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x2`,y:`y2`}],stroke:!0,fill:`none`}],path:`M 25.00 25.00L 175.00 25.00L 175.00 175.00L 25.00 175.00ZM 0.00 0.00L 200.00 0.00L 175.00 25.00L 25.00 25.00ZM 0.00 200.00L 25.00 175.00L 175.00 175.00L 200.00 200.00ZM 0.00 0.00L 25.00 25.00L 25.00 175.00L 0.00 200.00ZM 200.00 0.00L 200.00 200.00L 175.00 175.00L 175.00 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 25.00L 175.00 25.00L 175.00 175.00L 25.00 175.00ZM 0.00 0.00L 25.00 25.00M 0.00 200.00L 25.00 175.00M 200.00 0.00L 175.00 25.00M 200.00 200.00L 175.00 175.00`,range:[[0,5e4]],relative:[`x`]},blockArc:{type:`blockArc`,defaultValue:[108e5,0,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`stAng`,fmla:`pin 0 adj1 21599999`},{name:`istAng`,fmla:`pin 0 adj2 21599999`},{name:`a3`,fmla:`pin 0 adj3 50000`},{name:`sw11`,fmla:`+- istAng 0 stAng`},{name:`sw12`,fmla:`+- sw11 21600000 0`},{name:`swAng`,fmla:`?: sw11 sw11 sw12`},{name:`iswAng`,fmla:`+- 0 0 swAng`},{name:`wt1`,fmla:`sin wd2 stAng`},{name:`ht1`,fmla:`cos hd2 stAng`},{name:`wt3`,fmla:`sin wd2 istAng`},{name:`ht3`,fmla:`cos hd2 istAng`},{name:`dx1`,fmla:`cat2 wd2 ht1 wt1`},{name:`dy1`,fmla:`sat2 hd2 ht1 wt1`},{name:`dx3`,fmla:`cat2 wd2 ht3 wt3`},{name:`dy3`,fmla:`sat2 hd2 ht3 wt3`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc dy1 0`},{name:`x3`,fmla:`+- hc dx3 0`},{name:`y3`,fmla:`+- vc dy3 0`},{name:`dr`,fmla:`*/ ss a3 100000`},{name:`iwd2`,fmla:`+- wd2 0 dr`},{name:`ihd2`,fmla:`+- hd2 0 dr`},{name:`wt2`,fmla:`sin iwd2 istAng`},{name:`ht2`,fmla:`cos ihd2 istAng`},{name:`wt4`,fmla:`sin iwd2 stAng`},{name:`ht4`,fmla:`cos ihd2 stAng`},{name:`dx2`,fmla:`cat2 iwd2 ht2 wt2`},{name:`dy2`,fmla:`sat2 ihd2 ht2 wt2`},{name:`dx4`,fmla:`cat2 iwd2 ht4 wt4`},{name:`dy4`,fmla:`sat2 ihd2 ht4 wt4`},{name:`x2`,fmla:`+- hc dx2 0`},{name:`y2`,fmla:`+- vc dy2 0`},{name:`x4`,fmla:`+- hc dx4 0`},{name:`y4`,fmla:`+- vc dy4 0`},{name:`sw0`,fmla:`+- 21600000 0 stAng`},{name:`da1`,fmla:`+- swAng 0 sw0`},{name:`g1`,fmla:`max x1 x2`},{name:`g2`,fmla:`max x3 x4`},{name:`g3`,fmla:`max g1 g2`},{name:`ir`,fmla:`?: da1 r g3`},{name:`sw1`,fmla:`+- cd4 0 stAng`},{name:`sw2`,fmla:`+- 27000000 0 stAng`},{name:`sw3`,fmla:`?: sw1 sw1 sw2`},{name:`da2`,fmla:`+- swAng 0 sw3`},{name:`g5`,fmla:`max y1 y2`},{name:`g6`,fmla:`max y3 y4`},{name:`g7`,fmla:`max g5 g6`},{name:`ib`,fmla:`?: da2 b g7`},{name:`sw4`,fmla:`+- cd2 0 stAng`},{name:`sw5`,fmla:`+- 32400000 0 stAng`},{name:`sw6`,fmla:`?: sw4 sw4 sw5`},{name:`da3`,fmla:`+- swAng 0 sw6`},{name:`g9`,fmla:`min x1 x2`},{name:`g10`,fmla:`min x3 x4`},{name:`g11`,fmla:`min g9 g10`},{name:`il`,fmla:`?: da3 l g11`},{name:`sw7`,fmla:`+- 3cd4 0 stAng`},{name:`sw8`,fmla:`+- 37800000 0 stAng`},{name:`sw9`,fmla:`?: sw7 sw7 sw8`},{name:`da4`,fmla:`+- swAng 0 sw9`},{name:`g13`,fmla:`min y1 y2`},{name:`g14`,fmla:`min y3 y4`},{name:`g15`,fmla:`min g13 g14`},{name:`it`,fmla:`?: da4 t g15`},{name:`x5`,fmla:`+/ x1 x4 2`},{name:`y5`,fmla:`+/ y1 y4 2`},{name:`x6`,fmla:`+/ x3 x2 2`},{name:`y6`,fmla:`+/ y3 y2 2`},{name:`cang1`,fmla:`+- stAng 0 cd4`},{name:`cang2`,fmla:`+- istAng cd4 0`},{name:`cang3`,fmla:`+/ cang1 cang2 2`}],ranges:[{ang:{name:`adj1`,min:0,max:21599999},pos:{x:`x1`,y:`y1`}},{r:{name:`adj3`,min:0,max:5e4},ang:{name:`adj2`,min:0,max:21599999},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`stAng`,swAng:`swAng`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:`istAng`,swAng:`iswAng`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 200.00 100.00L 150.00 100.00A 50.00 50.00 0 0 0 50.00 100.00Z`,range:[[0,21599999],[0,21599999],[0,5e4]],relative:[`ang`,`ang`,`r`]},borderCallout1:{type:`borderCallout1`,defaultValue:[18750,-8333,112500,-38333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -76.67 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`]},borderCallout2:{type:`borderCallout2`,defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -93.33 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`]},borderCallout3:{type:`borderCallout3`,defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`,`adj7`,`adj8`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`},{name:`y4`,fmla:`*/ h adj7 100000`},{name:`x4`,fmla:`*/ w adj8 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}},{x:{name:`adj8`},y:{name:`adj7`},pos:{x:`x4`,y:`y4`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`,`y`,`x`]},bracePair:{type:`bracePair`,defaultValue:[8333],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 25000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`*/ ss a 50000`},{name:`x3`,fmla:`+- r 0 x2`},{name:`x4`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- vc 0 x1`},{name:`y3`,fmla:`+- vc x1 0`},{name:`y4`,fmla:`+- b 0 x1`},{name:`it`,fmla:`*/ x1 29289 100000`},{name:`il`,fmla:`+- x1 it 0`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 it`}],ranges:[{y:{name:`adj`,min:0,max:25e3},pos:{x:`l`,y:`x1`}}],paths:[{path:[{type:`moveTo`,x:`x2`,y:`b`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:-54e5},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`x1`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x3`,y:`t`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:-54e5},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`x4`,y:`y4`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x2`,y:`b`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:-54e5},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`x1`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`moveTo`,x:`x3`,y:`t`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:-54e5},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`x4`,y:`y4`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:`cd4`}],stroke:!0,fill:`none`}],path:`M 33.33 200.00A 16.67 16.67 0 0 1 16.67 183.33L 16.67 116.67A 16.67 16.67 0 0 0 0.00 100.00A 16.67 16.67 0 0 0 16.67 83.33L 16.67 16.67A 16.67 16.67 0 0 1 33.33 -0.00L 166.67 0.00A 16.67 16.67 0 0 1 183.33 16.67L 183.33 83.33A 16.67 16.67 0 0 0 200.00 100.00A 16.67 16.67 0 0 0 183.33 116.67L 183.33 183.33A 16.67 16.67 0 0 1 166.67 200.00ZM 33.33 200.00A 16.67 16.67 0 0 1 16.67 183.33L 16.67 116.67A 16.67 16.67 0 0 0 0.00 100.00A 16.67 16.67 0 0 0 16.67 83.33L 16.67 16.67A 16.67 16.67 0 0 1 33.33 -0.00M 166.67 0.00A 16.67 16.67 0 0 1 183.33 16.67L 183.33 83.33A 16.67 16.67 0 0 0 200.00 100.00A 16.67 16.67 0 0 0 183.33 116.67L 183.33 183.33A 16.67 16.67 0 0 1 166.67 200.00`,range:[[0,25e3]],relative:[`y`]},bracketPair:{type:`bracketPair`,defaultValue:[16667],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- b 0 x1`},{name:`il`,fmla:`*/ x1 29289 100000`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`l`,y:`x1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`t`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x1`,y:`b`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`b`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`moveTo`,x:`x2`,y:`t`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:`cd4`}],stroke:!0,fill:`none`}],path:`M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67ZM 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00M 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00`,range:[[0,5e4]],relative:[`y`]},callout1:{type:`callout1`,defaultValue:[18750,-8333,112500,-38333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -76.67 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`]},callout2:{type:`callout2`,defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -93.33 225.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`]},callout3:{type:`callout3`,defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`,`adj6`,`adj7`,`adj8`],params:[{name:`y1`,fmla:`*/ h adj1 100000`},{name:`x1`,fmla:`*/ w adj2 100000`},{name:`y2`,fmla:`*/ h adj3 100000`},{name:`x2`,fmla:`*/ w adj4 100000`},{name:`y3`,fmla:`*/ h adj5 100000`},{name:`x3`,fmla:`*/ w adj6 100000`},{name:`y4`,fmla:`*/ h adj7 100000`},{name:`x4`,fmla:`*/ w adj8 100000`}],ranges:[{x:{name:`adj2`},y:{name:`adj1`},pos:{x:`x1`,y:`y1`}},{x:{name:`adj4`},y:{name:`adj3`},pos:{x:`x2`,y:`y2`}},{x:{name:`adj6`},y:{name:`adj5`},pos:{x:`x3`,y:`y3`}},{x:{name:`adj8`},y:{name:`adj7`},pos:{x:`x4`,y:`y4`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,`x`,`y`,`x`,`y`,`x`,`y`,`x`]},can:{type:`can`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 50000 h ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`y1`,fmla:`*/ ss a 200000`},{name:`y2`,fmla:`+- y1 y1 0`},{name:`y3`,fmla:`+- b 0 y1`}],ranges:[{y:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`hc`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:-108e5},{type:`lnTo`,x:`r`,y:`y3`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:`cd2`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:`cd2`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:`cd2`},{type:`close`}],stroke:!1,fill:`lighten`},{path:[{type:`moveTo`,x:`r`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:`cd2`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:`cd2`},{type:`lnTo`,x:`r`,y:`y3`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:`cd2`},{type:`lnTo`,x:`l`,y:`y1`}],stroke:!0,fill:`none`}],path:`M 0.00 25.00A 100.00 25.00 0 0 0 200.00 25.00L 200.00 175.00A 100.00 25.00 0 0 1 0.00 175.00ZM 0.00 25.00A 100.00 25.00 0 0 1 200.00 25.00A 100.00 25.00 0 0 1 0.00 25.00ZM 200.00 25.00A 100.00 25.00 0 0 1 0.00 25.00A 100.00 25.00 0 0 1 200.00 25.00L 200.00 175.00A 100.00 25.00 0 0 1 0.00 175.00L 0.00 25.00`,range:[[0,5e4]],relative:[`y`]},chartPlus:{type:`chartPlus`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:5,y:0},{type:`lnTo`,x:5,y:10},{type:`moveTo`,x:0,y:5},{type:`lnTo`,x:10,y:5}],stroke:!0,fill:`none`,w:10,h:10},{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:0,y:10},{type:`lnTo`,x:10,y:10},{type:`lnTo`,x:10,y:0},{type:`close`}],stroke:!1,fill:`norm`,w:10,h:10}],path:`M 100.00 0.00L 100.00 200.00M 0.00 100.00L 200.00 100.00M 0.00 0.00L 0.00 200.00L 200.00 200.00L 200.00 0.00Z`,range:[],relative:[]},chartStar:{type:`chartStar`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:10,y:10},{type:`moveTo`,x:0,y:10},{type:`lnTo`,x:10,y:0},{type:`moveTo`,x:5,y:0},{type:`lnTo`,x:5,y:10}],stroke:!0,fill:`none`,w:10,h:10},{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:0,y:10},{type:`lnTo`,x:10,y:10},{type:`lnTo`,x:10,y:0},{type:`close`}],stroke:!1,fill:`norm`,w:10,h:10}],path:`M 0.00 0.00L 200.00 200.00M 0.00 200.00L 200.00 0.00M 100.00 0.00L 100.00 200.00M 0.00 0.00L 0.00 200.00L 200.00 200.00L 200.00 0.00Z`,range:[],relative:[]},chartX:{type:`chartX`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:10,y:10},{type:`moveTo`,x:0,y:10},{type:`lnTo`,x:10,y:0}],stroke:!0,fill:`none`,w:10,h:10},{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:0,y:10},{type:`lnTo`,x:10,y:10},{type:`lnTo`,x:10,y:0},{type:`close`}],stroke:!1,fill:`norm`,w:10,h:10}],path:`M 0.00 0.00L 200.00 200.00M 0.00 200.00L 200.00 0.00M 0.00 0.00L 0.00 200.00L 200.00 200.00L 200.00 0.00Z`,range:[],relative:[]},chevron:{type:`chevron`,defaultValue:[5e4],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 100000 w ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`x3`,fmla:`*/ x2 1 2`},{name:`dx`,fmla:`+- x2 0 x1`},{name:`il`,fmla:`?: dx x1 l`},{name:`ir`,fmla:`?: dx x2 r`}],ranges:[{x:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x1`,y:`vc`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 0.00 200.00L 100.00 100.00Z`,range:[[0,1e5]],relative:[`x`]},chord:{type:`chord`,defaultValue:[27e5,162e5],adjustmentNames:[`adj1`,`adj2`],params:[{name:`stAng`,fmla:`pin 0 adj1 21599999`},{name:`enAng`,fmla:`pin 0 adj2 21599999`},{name:`sw1`,fmla:`+- enAng 0 stAng`},{name:`sw2`,fmla:`+- sw1 21600000 0`},{name:`swAng`,fmla:`?: sw1 sw1 sw2`},{name:`wt1`,fmla:`sin wd2 stAng`},{name:`ht1`,fmla:`cos hd2 stAng`},{name:`dx1`,fmla:`cat2 wd2 ht1 wt1`},{name:`dy1`,fmla:`sat2 hd2 ht1 wt1`},{name:`wt2`,fmla:`sin wd2 enAng`},{name:`ht2`,fmla:`cos hd2 enAng`},{name:`dx2`,fmla:`cat2 wd2 ht2 wt2`},{name:`dy2`,fmla:`sat2 hd2 ht2 wt2`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc dy1 0`},{name:`x2`,fmla:`+- hc dx2 0`},{name:`y2`,fmla:`+- vc dy2 0`},{name:`x3`,fmla:`+/ x1 x2 2`},{name:`y3`,fmla:`+/ y1 y2 2`},{name:`midAng0`,fmla:`*/ swAng 1 2`},{name:`midAng`,fmla:`+- stAng midAng0 cd2`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{ang:{name:`adj1`,min:0,max:21599999},pos:{x:`x1`,y:`y1`}},{ang:{name:`adj2`,min:0,max:21599999},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`stAng`,swAng:`swAng`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 170.71 170.71A 100.00 100.00 0 1 1 100.00 0.00Z`,range:[[0,21599999],[0,21599999]],relative:[`ang`,`ang`]},circularArrow:{type:`circularArrow`,defaultValue:[12500,1142319,20457681,108e5,12500],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`],params:[{name:`a5`,fmla:`pin 0 adj5 25000`},{name:`maxAdj1`,fmla:`*/ a5 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`enAng`,fmla:`pin 1 adj3 21599999`},{name:`stAng`,fmla:`pin 0 adj4 21599999`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`thh`,fmla:`*/ ss a5 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`rw1`,fmla:`+- wd2 th2 thh`},{name:`rh1`,fmla:`+- hd2 th2 thh`},{name:`rw2`,fmla:`+- rw1 0 th`},{name:`rh2`,fmla:`+- rh1 0 th`},{name:`rw3`,fmla:`+- rw2 th2 0`},{name:`rh3`,fmla:`+- rh2 th2 0`},{name:`wtH`,fmla:`sin rw3 enAng`},{name:`htH`,fmla:`cos rh3 enAng`},{name:`dxH`,fmla:`cat2 rw3 htH wtH`},{name:`dyH`,fmla:`sat2 rh3 htH wtH`},{name:`xH`,fmla:`+- hc dxH 0`},{name:`yH`,fmla:`+- vc dyH 0`},{name:`rI`,fmla:`min rw2 rh2`},{name:`u1`,fmla:`*/ dxH dxH 1`},{name:`u2`,fmla:`*/ dyH dyH 1`},{name:`u3`,fmla:`*/ rI rI 1`},{name:`u4`,fmla:`+- u1 0 u3`},{name:`u5`,fmla:`+- u2 0 u3`},{name:`u6`,fmla:`*/ u4 u5 u1`},{name:`u7`,fmla:`*/ u6 1 u2`},{name:`u8`,fmla:`+- 1 0 u7`},{name:`u9`,fmla:`sqrt u8`},{name:`u10`,fmla:`*/ u4 1 dxH`},{name:`u11`,fmla:`*/ u10 1 dyH`},{name:`u12`,fmla:`+/ 1 u9 u11`},{name:`u13`,fmla:`at2 1 u12`},{name:`u14`,fmla:`+- u13 21600000 0`},{name:`u15`,fmla:`?: u13 u13 u14`},{name:`u16`,fmla:`+- u15 0 enAng`},{name:`u17`,fmla:`+- u16 21600000 0`},{name:`u18`,fmla:`?: u16 u16 u17`},{name:`u19`,fmla:`+- u18 0 cd2`},{name:`u20`,fmla:`+- u18 0 21600000`},{name:`u21`,fmla:`?: u19 u20 u18`},{name:`maxAng`,fmla:`abs u21`},{name:`aAng`,fmla:`pin 0 adj2 maxAng`},{name:`ptAng`,fmla:`+- enAng aAng 0`},{name:`wtA`,fmla:`sin rw3 ptAng`},{name:`htA`,fmla:`cos rh3 ptAng`},{name:`dxA`,fmla:`cat2 rw3 htA wtA`},{name:`dyA`,fmla:`sat2 rh3 htA wtA`},{name:`xA`,fmla:`+- hc dxA 0`},{name:`yA`,fmla:`+- vc dyA 0`},{name:`wtE`,fmla:`sin rw1 stAng`},{name:`htE`,fmla:`cos rh1 stAng`},{name:`dxE`,fmla:`cat2 rw1 htE wtE`},{name:`dyE`,fmla:`sat2 rh1 htE wtE`},{name:`xE`,fmla:`+- hc dxE 0`},{name:`yE`,fmla:`+- vc dyE 0`},{name:`dxG`,fmla:`cos thh ptAng`},{name:`dyG`,fmla:`sin thh ptAng`},{name:`xG`,fmla:`+- xH dxG 0`},{name:`yG`,fmla:`+- yH dyG 0`},{name:`dxB`,fmla:`cos thh ptAng`},{name:`dyB`,fmla:`sin thh ptAng`},{name:`xB`,fmla:`+- xH 0 dxB 0`},{name:`yB`,fmla:`+- yH 0 dyB 0`},{name:`sx1`,fmla:`+- xB 0 hc`},{name:`sy1`,fmla:`+- yB 0 vc`},{name:`sx2`,fmla:`+- xG 0 hc`},{name:`sy2`,fmla:`+- yG 0 vc`},{name:`rO`,fmla:`min rw1 rh1`},{name:`x1O`,fmla:`*/ sx1 rO rw1`},{name:`y1O`,fmla:`*/ sy1 rO rh1`},{name:`x2O`,fmla:`*/ sx2 rO rw1`},{name:`y2O`,fmla:`*/ sy2 rO rh1`},{name:`dxO`,fmla:`+- x2O 0 x1O`},{name:`dyO`,fmla:`+- y2O 0 y1O`},{name:`dO`,fmla:`mod dxO dyO 0`},{name:`q1`,fmla:`*/ x1O y2O 1`},{name:`q2`,fmla:`*/ x2O y1O 1`},{name:`DO`,fmla:`+- q1 0 q2`},{name:`q3`,fmla:`*/ rO rO 1`},{name:`q4`,fmla:`*/ dO dO 1`},{name:`q5`,fmla:`*/ q3 q4 1`},{name:`q6`,fmla:`*/ DO DO 1`},{name:`q7`,fmla:`+- q5 0 q6`},{name:`q8`,fmla:`max q7 0`},{name:`sdelO`,fmla:`sqrt q8`},{name:`ndyO`,fmla:`*/ dyO -1 1`},{name:`sdyO`,fmla:`?: ndyO -1 1`},{name:`q9`,fmla:`*/ sdyO dxO 1`},{name:`q10`,fmla:`*/ q9 sdelO 1`},{name:`q11`,fmla:`*/ DO dyO 1`},{name:`dxF1`,fmla:`+/ q11 q10 q4`},{name:`q12`,fmla:`+- q11 0 q10`},{name:`dxF2`,fmla:`*/ q12 1 q4`},{name:`adyO`,fmla:`abs dyO`},{name:`q13`,fmla:`*/ adyO sdelO 1`},{name:`q14`,fmla:`*/ DO dxO -1`},{name:`dyF1`,fmla:`+/ q14 q13 q4`},{name:`q15`,fmla:`+- q14 0 q13`},{name:`dyF2`,fmla:`*/ q15 1 q4`},{name:`q16`,fmla:`+- x2O 0 dxF1`},{name:`q17`,fmla:`+- x2O 0 dxF2`},{name:`q18`,fmla:`+- y2O 0 dyF1`},{name:`q19`,fmla:`+- y2O 0 dyF2`},{name:`q20`,fmla:`mod q16 q18 0`},{name:`q21`,fmla:`mod q17 q19 0`},{name:`q22`,fmla:`+- q21 0 q20`},{name:`dxF`,fmla:`?: q22 dxF1 dxF2`},{name:`dyF`,fmla:`?: q22 dyF1 dyF2`},{name:`sdxF`,fmla:`*/ dxF rw1 rO`},{name:`sdyF`,fmla:`*/ dyF rh1 rO`},{name:`xF`,fmla:`+- hc sdxF 0`},{name:`yF`,fmla:`+- vc sdyF 0`},{name:`x1I`,fmla:`*/ sx1 rI rw2`},{name:`y1I`,fmla:`*/ sy1 rI rh2`},{name:`x2I`,fmla:`*/ sx2 rI rw2`},{name:`y2I`,fmla:`*/ sy2 rI rh2`},{name:`dxI`,fmla:`+- x2I 0 x1I`},{name:`dyI`,fmla:`+- y2I 0 y1I`},{name:`dI`,fmla:`mod dxI dyI 0`},{name:`v1`,fmla:`*/ x1I y2I 1`},{name:`v2`,fmla:`*/ x2I y1I 1`},{name:`DI`,fmla:`+- v1 0 v2`},{name:`v3`,fmla:`*/ rI rI 1`},{name:`v4`,fmla:`*/ dI dI 1`},{name:`v5`,fmla:`*/ v3 v4 1`},{name:`v6`,fmla:`*/ DI DI 1`},{name:`v7`,fmla:`+- v5 0 v6`},{name:`v8`,fmla:`max v7 0`},{name:`sdelI`,fmla:`sqrt v8`},{name:`v9`,fmla:`*/ sdyO dxI 1`},{name:`v10`,fmla:`*/ v9 sdelI 1`},{name:`v11`,fmla:`*/ DI dyI 1`},{name:`dxC1`,fmla:`+/ v11 v10 v4`},{name:`v12`,fmla:`+- v11 0 v10`},{name:`dxC2`,fmla:`*/ v12 1 v4`},{name:`adyI`,fmla:`abs dyI`},{name:`v13`,fmla:`*/ adyI sdelI 1`},{name:`v14`,fmla:`*/ DI dxI -1`},{name:`dyC1`,fmla:`+/ v14 v13 v4`},{name:`v15`,fmla:`+- v14 0 v13`},{name:`dyC2`,fmla:`*/ v15 1 v4`},{name:`v16`,fmla:`+- x1I 0 dxC1`},{name:`v17`,fmla:`+- x1I 0 dxC2`},{name:`v18`,fmla:`+- y1I 0 dyC1`},{name:`v19`,fmla:`+- y1I 0 dyC2`},{name:`v20`,fmla:`mod v16 v18 0`},{name:`v21`,fmla:`mod v17 v19 0`},{name:`v22`,fmla:`+- v21 0 v20`},{name:`dxC`,fmla:`?: v22 dxC1 dxC2`},{name:`dyC`,fmla:`?: v22 dyC1 dyC2`},{name:`sdxC`,fmla:`*/ dxC rw2 rI`},{name:`sdyC`,fmla:`*/ dyC rh2 rI`},{name:`xC`,fmla:`+- hc sdxC 0`},{name:`yC`,fmla:`+- vc sdyC 0`},{name:`ist0`,fmla:`at2 sdxC sdyC`},{name:`ist1`,fmla:`+- ist0 21600000 0`},{name:`istAng`,fmla:`?: ist0 ist0 ist1`},{name:`isw1`,fmla:`+- stAng 0 istAng`},{name:`isw2`,fmla:`+- isw1 0 21600000`},{name:`iswAng`,fmla:`?: isw1 isw2 isw1`},{name:`p1`,fmla:`+- xF 0 xC`},{name:`p2`,fmla:`+- yF 0 yC`},{name:`p3`,fmla:`mod p1 p2 0`},{name:`p4`,fmla:`*/ p3 1 2`},{name:`p5`,fmla:`+- p4 0 thh`},{name:`xGp`,fmla:`?: p5 xF xG`},{name:`yGp`,fmla:`?: p5 yF yG`},{name:`xBp`,fmla:`?: p5 xC xB`},{name:`yBp`,fmla:`?: p5 yC yB`},{name:`en0`,fmla:`at2 sdxF sdyF`},{name:`en1`,fmla:`+- en0 21600000 0`},{name:`en2`,fmla:`?: en0 en0 en1`},{name:`sw0`,fmla:`+- en2 0 stAng`},{name:`sw1`,fmla:`+- sw0 21600000 0`},{name:`swAng`,fmla:`?: sw0 sw0 sw1`},{name:`wtI`,fmla:`sin rw3 stAng`},{name:`htI`,fmla:`cos rh3 stAng`},{name:`dxI`,fmla:`cat2 rw3 htI wtI`},{name:`dyI`,fmla:`sat2 rh3 htI wtI`},{name:`xI`,fmla:`+- hc dxI 0`},{name:`yI`,fmla:`+- vc dyI 0`},{name:`aI`,fmla:`+- stAng 0 cd4`},{name:`aA`,fmla:`+- ptAng cd4 0`},{name:`aB`,fmla:`+- ptAng cd2 0`},{name:`idx`,fmla:`cos rw1 2700000`},{name:`idy`,fmla:`sin rh1 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{ang:{name:`adj2`,min:0,max:`maxAng`},pos:{x:`xA`,y:`yA`}},{ang:{name:`adj4`,min:0,max:21599999},pos:{x:`xE`,y:`yE`}},{r:{name:`adj1`,min:0,max:`maxAdj1`},ang:{name:`adj3`,min:0,max:21599999},pos:{x:`xF`,y:`yF`}},{r:{name:`adj5`,min:0,max:25e3},pos:{x:`xB`,y:`yB`}}],paths:[{path:[{type:`moveTo`,x:`xE`,y:`yE`},{type:`arcTo`,wR:`rw1`,hR:`rh1`,stAng:`stAng`,swAng:`swAng`},{type:`lnTo`,x:`xGp`,y:`yGp`},{type:`lnTo`,x:`xA`,y:`yA`},{type:`lnTo`,x:`xBp`,y:`yBp`},{type:`lnTo`,x:`xC`,y:`yC`},{type:`arcTo`,wR:`rw2`,hR:`rh2`,stAng:`istAng`,swAng:`iswAng`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 12.50 100.00A 87.50 87.50 0 0 1 184.01 75.53L 195.90 75.53L 175.00 100.00L 145.90 75.53L 157.51 75.53A 62.50 62.50 0 0 0 37.50 100.00Z`,range:[[0,25e3],[0,3386561.414284762],[0,21599999],[0,21599999],[0,25e3]],relative:[`r`,`ang`,`ang`,`ang`,`r`]},cloud:{type:`cloud`,defaultValue:[],adjustmentNames:[],params:[{name:`il`,fmla:`*/ w 2977 21600`},{name:`it`,fmla:`*/ h 3262 21600`},{name:`ir`,fmla:`*/ w 17087 21600`},{name:`ib`,fmla:`*/ h 17337 21600`},{name:`g27`,fmla:`*/ w 67 21600`},{name:`g28`,fmla:`*/ h 21577 21600`},{name:`g29`,fmla:`*/ w 21582 21600`},{name:`g30`,fmla:`*/ h 1235 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:3900,y:14370},{type:`arcTo`,wR:6753,hR:9190,stAng:-11429249,swAng:7426832},{type:`arcTo`,wR:5333,hR:7267,stAng:-8646143,swAng:5396714},{type:`arcTo`,wR:4365,hR:5945,stAng:-8748475,swAng:5983381},{type:`arcTo`,wR:4857,hR:6595,stAng:-7859164,swAng:7034504},{type:`arcTo`,wR:5333,hR:7273,stAng:-4722533,swAng:6541615},{type:`arcTo`,wR:6775,hR:9220,stAng:-2776035,swAng:7816140},{type:`arcTo`,wR:5785,hR:7867,stAng:37501,swAng:6842e3},{type:`arcTo`,wR:6752,hR:9215,stAng:1347096,swAng:6910353},{type:`arcTo`,wR:7720,hR:10543,stAng:3974558,swAng:4542661},{type:`arcTo`,wR:4360,hR:5918,stAng:-16496525,swAng:8804134},{type:`arcTo`,wR:4345,hR:5945,stAng:-14809710,swAng:9151131},{type:`close`}],stroke:!0,fill:`norm`,w:43200,h:43200},{path:[{type:`moveTo`,x:4693,y:26177},{type:`arcTo`,wR:4345,hR:5945,stAng:5204520,swAng:1585770},{type:`moveTo`,x:6928,y:34899},{type:`arcTo`,wR:4360,hR:5918,stAng:4416628,swAng:686848},{type:`moveTo`,x:16478,y:39090},{type:`arcTo`,wR:6752,hR:9215,stAng:8257449,swAng:844866},{type:`moveTo`,x:28827,y:34751},{type:`arcTo`,wR:6752,hR:9215,stAng:387196,swAng:959901},{type:`moveTo`,x:34129,y:22954},{type:`arcTo`,wR:5785,hR:7867,stAng:-4217541,swAng:4255042},{type:`moveTo`,x:41798,y:15354},{type:`arcTo`,wR:5333,hR:7273,stAng:1819082,swAng:1665090},{type:`moveTo`,x:38324,y:5426},{type:`arcTo`,wR:4857,hR:6595,stAng:-824660,swAng:891534},{type:`moveTo`,x:29078,y:3952},{type:`arcTo`,wR:4857,hR:6595,stAng:-8950887,swAng:1091722},{type:`moveTo`,x:22141,y:4720},{type:`arcTo`,wR:4365,hR:5945,stAng:-9809656,swAng:1061181},{type:`moveTo`,x:14e3,y:5192},{type:`arcTo`,wR:6753,hR:9190,stAng:-4002417,swAng:739161},{type:`moveTo`,x:4127,y:15789},{type:`arcTo`,wR:6753,hR:9190,stAng:9459261,swAng:711490}],stroke:!0,fill:`none`,w:43200,h:43200}],path:`M 18.06 66.53A 31.26 42.55 0 0 1 64.84 24.08A 24.69 33.64 0 0 1 103.96 15.89A 20.21 27.52 0 0 1 138.12 11.49A 22.49 30.53 0 0 1 177.40 25.81A 24.69 33.67 0 0 1 193.60 71.57A 31.37 42.69 0 0 1 173.17 139.83A 26.78 36.42 0 0 1 132.20 170.43A 31.26 42.66 0 0 1 76.30 181.78A 35.74 48.81 0 0 1 26.87 164.21A 20.19 27.40 0 0 1 9.78 118.28A 20.12 27.52 0 0 1 17.89 67.15ZM 21.73 121.19A 20.12 27.52 0 0 1 10.00 117.50M 32.07 161.57A 20.19 27.40 0 0 1 26.94 163.34M 76.29 180.97A 31.26 42.66 0 0 1 73.20 172.92M 133.46 160.88A 31.26 42.66 0 0 1 132.22 169.72M 158.00 106.27A 26.78 36.42 0 0 1 173.06 139.30M 193.51 71.08A 24.69 33.67 0 0 1 186.81 83.47M 177.43 25.12A 22.49 30.53 0 0 1 177.78 30.97M 134.62 18.30A 22.49 30.53 0 0 1 138.05 10.84M 102.50 21.85A 20.21 27.52 0 0 1 104.17 15.42M 64.81 24.04A 31.26 42.55 0 0 1 70.83 30.28M 19.11 73.10A 31.26 42.55 0 0 1 18.06 66.53`,range:[],relative:[]},cloudCallout:{type:`cloudCallout`,defaultValue:[-20833,62500],adjustmentNames:[`adj1`,`adj2`],params:[{name:`dxPos`,fmla:`*/ w adj1 100000`},{name:`dyPos`,fmla:`*/ h adj2 100000`},{name:`xPos`,fmla:`+- hc dxPos 0`},{name:`yPos`,fmla:`+- vc dyPos 0`},{name:`ht`,fmla:`cat2 hd2 dxPos dyPos`},{name:`wt`,fmla:`sat2 wd2 dxPos dyPos`},{name:`g2`,fmla:`cat2 wd2 ht wt`},{name:`g3`,fmla:`sat2 hd2 ht wt`},{name:`g4`,fmla:`+- hc g2 0`},{name:`g5`,fmla:`+- vc g3 0`},{name:`g6`,fmla:`+- g4 0 xPos`},{name:`g7`,fmla:`+- g5 0 yPos`},{name:`g8`,fmla:`mod g6 g7 0`},{name:`g9`,fmla:`*/ ss 6600 21600`},{name:`g10`,fmla:`+- g8 0 g9`},{name:`g11`,fmla:`*/ g10 1 3`},{name:`g12`,fmla:`*/ ss 1800 21600`},{name:`g13`,fmla:`+- g11 g12 0`},{name:`g14`,fmla:`*/ g13 g6 g8`},{name:`g15`,fmla:`*/ g13 g7 g8`},{name:`g16`,fmla:`+- g14 xPos 0`},{name:`g17`,fmla:`+- g15 yPos 0`},{name:`g18`,fmla:`*/ ss 4800 21600`},{name:`g19`,fmla:`*/ g11 2 1`},{name:`g20`,fmla:`+- g18 g19 0`},{name:`g21`,fmla:`*/ g20 g6 g8`},{name:`g22`,fmla:`*/ g20 g7 g8`},{name:`g23`,fmla:`+- g21 xPos 0`},{name:`g24`,fmla:`+- g22 yPos 0`},{name:`g25`,fmla:`*/ ss 1200 21600`},{name:`g26`,fmla:`*/ ss 600 21600`},{name:`x23`,fmla:`+- xPos g26 0`},{name:`x24`,fmla:`+- g16 g25 0`},{name:`x25`,fmla:`+- g23 g12 0`},{name:`il`,fmla:`*/ w 2977 21600`},{name:`it`,fmla:`*/ h 3262 21600`},{name:`ir`,fmla:`*/ w 17087 21600`},{name:`ib`,fmla:`*/ h 17337 21600`},{name:`g27`,fmla:`*/ w 67 21600`},{name:`g28`,fmla:`*/ h 21577 21600`},{name:`g29`,fmla:`*/ w 21582 21600`},{name:`g30`,fmla:`*/ h 1235 21600`},{name:`pang`,fmla:`at2 dxPos dyPos`}],ranges:[{x:{name:`adj1`},y:{name:`adj2`},pos:{x:`xPos`,y:`yPos`}}],paths:[{path:[{type:`moveTo`,x:3900,y:14370},{type:`arcTo`,wR:6753,hR:9190,stAng:-11429249,swAng:7426832},{type:`arcTo`,wR:5333,hR:7267,stAng:-8646143,swAng:5396714},{type:`arcTo`,wR:4365,hR:5945,stAng:-8748475,swAng:5983381},{type:`arcTo`,wR:4857,hR:6595,stAng:-7859164,swAng:7034504},{type:`arcTo`,wR:5333,hR:7273,stAng:-4722533,swAng:6541615},{type:`arcTo`,wR:6775,hR:9220,stAng:-2776035,swAng:7816140},{type:`arcTo`,wR:5785,hR:7867,stAng:37501,swAng:6842e3},{type:`arcTo`,wR:6752,hR:9215,stAng:1347096,swAng:6910353},{type:`arcTo`,wR:7720,hR:10543,stAng:3974558,swAng:4542661},{type:`arcTo`,wR:4360,hR:5918,stAng:-16496525,swAng:8804134},{type:`arcTo`,wR:4345,hR:5945,stAng:-14809710,swAng:9151131},{type:`close`}],stroke:!0,fill:`norm`,w:43200,h:43200},{path:[{type:`moveTo`,x:`x23`,y:`yPos`},{type:`arcTo`,wR:`g26`,hR:`g26`,stAng:0,swAng:216e5},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x24`,y:`g17`},{type:`arcTo`,wR:`g25`,hR:`g25`,stAng:0,swAng:216e5},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x25`,y:`g24`},{type:`arcTo`,wR:`g12`,hR:`g12`,stAng:0,swAng:216e5},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:4693,y:26177},{type:`arcTo`,wR:4345,hR:5945,stAng:5204520,swAng:1585770},{type:`moveTo`,x:6928,y:34899},{type:`arcTo`,wR:4360,hR:5918,stAng:4416628,swAng:686848},{type:`moveTo`,x:16478,y:39090},{type:`arcTo`,wR:6752,hR:9215,stAng:8257449,swAng:844866},{type:`moveTo`,x:28827,y:34751},{type:`arcTo`,wR:6752,hR:9215,stAng:387196,swAng:959901},{type:`moveTo`,x:34129,y:22954},{type:`arcTo`,wR:5785,hR:7867,stAng:-4217541,swAng:4255042},{type:`moveTo`,x:41798,y:15354},{type:`arcTo`,wR:5333,hR:7273,stAng:1819082,swAng:1665090},{type:`moveTo`,x:38324,y:5426},{type:`arcTo`,wR:4857,hR:6595,stAng:-824660,swAng:891534},{type:`moveTo`,x:29078,y:3952},{type:`arcTo`,wR:4857,hR:6595,stAng:-8950887,swAng:1091722},{type:`moveTo`,x:22141,y:4720},{type:`arcTo`,wR:4365,hR:5945,stAng:-9809656,swAng:1061181},{type:`moveTo`,x:14e3,y:5192},{type:`arcTo`,wR:6753,hR:9190,stAng:-4002417,swAng:739161},{type:`moveTo`,x:4127,y:15789},{type:`arcTo`,wR:6753,hR:9190,stAng:9459261,swAng:711490}],stroke:!0,fill:`none`,w:43200,h:43200}],path:`M 18.06 66.53A 31.26 42.55 0 0 1 64.84 24.08A 24.69 33.64 0 0 1 103.96 15.89A 20.21 27.52 0 0 1 138.12 11.49A 22.49 30.53 0 0 1 177.40 25.81A 24.69 33.67 0 0 1 193.60 71.57A 31.37 42.69 0 0 1 173.17 139.83A 26.78 36.42 0 0 1 132.20 170.43A 31.26 42.66 0 0 1 76.30 181.78A 35.74 48.81 0 0 1 26.87 164.21A 20.19 27.40 0 0 1 9.78 118.28A 20.12 27.52 0 0 1 17.89 67.15ZM 63.89 225.00A 5.56 5.56 0 1 1 63.89 224.98ZM 71.62 218.47A 11.11 11.11 0 1 1 71.62 218.42ZM 82.87 201.40A 16.67 16.67 0 1 1 82.87 201.33ZM 21.73 121.19A 20.12 27.52 0 0 1 10.00 117.50M 32.07 161.57A 20.19 27.40 0 0 1 26.94 163.34M 76.29 180.97A 31.26 42.66 0 0 1 73.20 172.92M 133.46 160.88A 31.26 42.66 0 0 1 132.22 169.72M 158.00 106.27A 26.78 36.42 0 0 1 173.06 139.30M 193.51 71.08A 24.69 33.67 0 0 1 186.81 83.47M 177.43 25.12A 22.49 30.53 0 0 1 177.78 30.97M 134.62 18.30A 22.49 30.53 0 0 1 138.05 10.84M 102.50 21.85A 20.21 27.52 0 0 1 104.17 15.42M 64.81 24.04A 31.26 42.55 0 0 1 70.83 30.28M 19.11 73.10A 31.26 42.55 0 0 1 18.06 66.53`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`]},corner:{type:`corner`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj1`,fmla:`*/ 100000 h ss`},{name:`maxAdj2`,fmla:`*/ 100000 w ss`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`x1`,fmla:`*/ ss a2 100000`},{name:`dy1`,fmla:`*/ ss a1 100000`},{name:`y1`,fmla:`+- b 0 dy1`},{name:`cx1`,fmla:`*/ x1 1 2`},{name:`cy1`,fmla:`+/ y1 b 2`},{name:`d`,fmla:`+- w 0 h`},{name:`it`,fmla:`?: d y1 t`},{name:`ir`,fmla:`?: d r x1`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`l`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 100.00 0.00L 100.00 100.00L 200.00 100.00L 200.00 200.00L 0.00 200.00Z`,range:[[0,1e5],[0,1e5]],relative:[`y`,`x`]},cornerTabs:{type:`cornerTabs`,defaultValue:[],adjustmentNames:[],params:[{name:`md`,fmla:`mod w h 0`},{name:`dx`,fmla:`*/ 1 md 20`},{name:`y1`,fmla:`+- 0 b dx`},{name:`x1`,fmla:`+- 0 r dx`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`dx`,y:`t`},{type:`lnTo`,x:`l`,y:`dx`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`dx`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`dx`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x1`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 14.14 0.00L 0.00 14.14ZM 0.00 185.86L 14.14 200.00L 0.00 200.00ZM 185.86 0.00L 200.00 0.00L 200.00 14.14ZM 200.00 185.86L 200.00 200.00L 185.86 200.00Z`,range:[],relative:[]},cube:{type:`cube`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 100000`},{name:`y1`,fmla:`*/ ss a 100000`},{name:`y4`,fmla:`+- b 0 y1`},{name:`y2`,fmla:`*/ y4 1 2`},{name:`y3`,fmla:`+/ y1 b 2`},{name:`x4`,fmla:`+- r 0 y1`},{name:`x2`,fmla:`*/ x4 1 2`},{name:`x3`,fmla:`+/ y1 r 2`}],ranges:[{y:{name:`adj`,min:0,max:1e5},pos:{x:`l`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x4`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x4`,y:`b`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`y1`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`close`}],stroke:!1,fill:`lightenLess`},{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`y1`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x4`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`r`,y:`t`},{type:`moveTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x4`,y:`b`}],stroke:!0,fill:`none`}],path:`M 0.00 50.00L 150.00 50.00L 150.00 200.00L 0.00 200.00ZM 150.00 50.00L 200.00 0.00L 200.00 150.00L 150.00 200.00ZM 0.00 50.00L 50.00 0.00L 200.00 0.00L 150.00 50.00ZM 0.00 50.00L 50.00 0.00L 200.00 0.00L 200.00 150.00L 150.00 200.00L 0.00 200.00ZM 0.00 50.00L 150.00 50.00L 200.00 0.00M 150.00 50.00L 150.00 200.00`,range:[[0,1e5]],relative:[`y`]},curvedConnector2:{type:`curvedConnector2`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`cubicBezTo`,pts:[{x:`wd2`,y:`t`},{x:`r`,y:`hd2`},{x:`r`,y:`b`}]}],stroke:!0,fill:`none`}],path:`M 0.00 0.00C 100.00,0.00 200.00,100.00 200.00,200.00`,range:[],relative:[]},curvedConnector3:{type:`curvedConnector3`,defaultValue:[5e4],adjustmentNames:[`adj1`],params:[{name:`x2`,fmla:`*/ w adj1 100000`},{name:`x1`,fmla:`+/ l x2 2`},{name:`x3`,fmla:`+/ r x2 2`},{name:`y3`,fmla:`*/ h 3 4`}],ranges:[{x:{name:`adj1`},pos:{x:`x2`,y:`vc`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`cubicBezTo`,pts:[{x:`x1`,y:`t`},{x:`x2`,y:`hd4`},{x:`x2`,y:`vc`}]},{type:`cubicBezTo`,pts:[{x:`x2`,y:`y3`},{x:`x3`,y:`b`},{x:`r`,y:`b`}]}],stroke:!0,fill:`none`}],path:`M 0.00 0.00C 50.00,0.00 100.00,50.00 100.00,100.00C 100.00,150.00 150.00,200.00 200.00,200.00`,range:[[-2147483647,2147483647]],relative:[`x`]},curvedConnector4:{type:`curvedConnector4`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`x2`,fmla:`*/ w adj1 100000`},{name:`x1`,fmla:`+/ l x2 2`},{name:`x3`,fmla:`+/ r x2 2`},{name:`x4`,fmla:`+/ x2 x3 2`},{name:`x5`,fmla:`+/ x3 r 2`},{name:`y4`,fmla:`*/ h adj2 100000`},{name:`y1`,fmla:`+/ t y4 2`},{name:`y2`,fmla:`+/ t y1 2`},{name:`y3`,fmla:`+/ y1 y4 2`},{name:`y5`,fmla:`+/ b y4 2`}],ranges:[{x:{name:`adj1`},pos:{x:`x2`,y:`y1`}},{y:{name:`adj2`},pos:{x:`x3`,y:`y4`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`cubicBezTo`,pts:[{x:`x1`,y:`t`},{x:`x2`,y:`y2`},{x:`x2`,y:`y1`}]},{type:`cubicBezTo`,pts:[{x:`x2`,y:`y3`},{x:`x4`,y:`y4`},{x:`x3`,y:`y4`}]},{type:`cubicBezTo`,pts:[{x:`x5`,y:`y4`},{x:`r`,y:`y5`},{x:`r`,y:`b`}]}],stroke:!0,fill:`none`}],path:`M 0.00 0.00C 50.00,0.00 100.00,25.00 100.00,50.00C 100.00,75.00 125.00,100.00 150.00,100.00C 175.00,100.00 200.00,150.00 200.00,200.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`]},curvedConnector5:{type:`curvedConnector5`,defaultValue:[5e4,5e4,5e4],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`x3`,fmla:`*/ w adj1 100000`},{name:`x6`,fmla:`*/ w adj3 100000`},{name:`x1`,fmla:`+/ x3 x6 2`},{name:`x2`,fmla:`+/ l x3 2`},{name:`x4`,fmla:`+/ x3 x1 2`},{name:`x5`,fmla:`+/ x6 x1 2`},{name:`x7`,fmla:`+/ x6 r 2`},{name:`y4`,fmla:`*/ h adj2 100000`},{name:`y1`,fmla:`+/ t y4 2`},{name:`y2`,fmla:`+/ t y1 2`},{name:`y3`,fmla:`+/ y1 y4 2`},{name:`y5`,fmla:`+/ b y4 2`},{name:`y6`,fmla:`+/ y5 y4 2`},{name:`y7`,fmla:`+/ y5 b 2`}],ranges:[{x:{name:`adj1`},pos:{x:`x3`,y:`y1`}},{y:{name:`adj2`},pos:{x:`x1`,y:`y4`}},{x:{name:`adj3`},pos:{x:`x6`,y:`y5`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`cubicBezTo`,pts:[{x:`x2`,y:`t`},{x:`x3`,y:`y2`},{x:`x3`,y:`y1`}]},{type:`cubicBezTo`,pts:[{x:`x3`,y:`y3`},{x:`x4`,y:`y4`},{x:`x1`,y:`y4`}]},{type:`cubicBezTo`,pts:[{x:`x5`,y:`y4`},{x:`x6`,y:`y6`},{x:`x6`,y:`y5`}]},{type:`cubicBezTo`,pts:[{x:`x6`,y:`y7`},{x:`x7`,y:`b`},{x:`r`,y:`b`}]}],stroke:!0,fill:`none`}],path:`M 0.00 0.00C 50.00,0.00 100.00,25.00 100.00,50.00C 100.00,75.00 100.00,100.00 100.00,100.00C 100.00,100.00 100.00,125.00 100.00,150.00C 100.00,175.00 150.00,200.00 200.00,200.00`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`,`x`]},curvedDownArrow:{type:`curvedDownArrow`,defaultValue:[25e3,5e4,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`maxAdj2`,fmla:`*/ 50000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`aw`,fmla:`*/ ss a2 100000`},{name:`q1`,fmla:`+/ th aw 4`},{name:`wR`,fmla:`+- wd2 0 q1`},{name:`q7`,fmla:`*/ wR 2 1`},{name:`q8`,fmla:`*/ q7 q7 1`},{name:`q9`,fmla:`*/ th th 1`},{name:`q10`,fmla:`+- q8 0 q9`},{name:`q11`,fmla:`sqrt q10`},{name:`idy`,fmla:`*/ q11 h q7`},{name:`maxAdj3`,fmla:`*/ 100000 idy ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`ah`,fmla:`*/ ss adj3 100000`},{name:`x3`,fmla:`+- wR th 0`},{name:`q2`,fmla:`*/ h h 1`},{name:`q3`,fmla:`*/ ah ah 1`},{name:`q4`,fmla:`+- q2 0 q3`},{name:`q5`,fmla:`sqrt q4`},{name:`dx`,fmla:`*/ q5 wR h`},{name:`x5`,fmla:`+- wR dx 0`},{name:`x7`,fmla:`+- x3 dx 0`},{name:`q6`,fmla:`+- aw 0 th`},{name:`dh`,fmla:`*/ q6 1 2`},{name:`x4`,fmla:`+- x5 0 dh`},{name:`x8`,fmla:`+- x7 dh 0`},{name:`aw2`,fmla:`*/ aw 1 2`},{name:`x6`,fmla:`+- r 0 aw2`},{name:`y1`,fmla:`+- b 0 ah`},{name:`swAng`,fmla:`at2 ah dx`},{name:`mswAng`,fmla:`+- 0 0 swAng`},{name:`iy`,fmla:`+- b 0 idy`},{name:`ix`,fmla:`+/ wR x3 2`},{name:`q12`,fmla:`*/ th 1 2`},{name:`dang2`,fmla:`at2 idy q12`},{name:`stAng`,fmla:`+- 3cd4 swAng 0`},{name:`stAng2`,fmla:`+- 3cd4 0 dang2`},{name:`swAng2`,fmla:`+- dang2 0 cd4`},{name:`swAng3`,fmla:`+- cd4 dang2 0`}],ranges:[{x:{name:`adj1`,min:0,max:`adj2`},pos:{x:`x7`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x4`,y:`b`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`x6`,y:`b`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x5`,y:`y1`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng`,swAng:`mswAng`},{type:`lnTo`,x:`x3`,y:`t`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`3cd4`,swAng:`swAng`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`ix`,y:`iy`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng2`,swAng:`swAng2`},{type:`lnTo`,x:`l`,y:`b`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`cd2`,swAng:`swAng3`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`ix`,y:`iy`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng2`,swAng:`swAng2`},{type:`lnTo`,x:`l`,y:`b`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x3`,y:`t`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`3cd4`,swAng:`swAng`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`lnTo`,x:`x6`,y:`b`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x5`,y:`y1`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng`,swAng:`mswAng`}],stroke:!0,fill:`none`}],path:`M 150.00 200.00L 98.02 150.00L 123.02 150.00A 62.50 200.00 0 0 0 62.50 0.00L 112.50 0.00A 62.50 200.00 0 0 1 173.02 150.00L 198.02 150.00ZM 87.50 16.70A 62.50 200.00 0 0 0 50.00 200.00L 0.00 200.00A 62.50 200.00 0 0 1 87.50 16.70ZM 87.50 16.70A 62.50 200.00 0 0 0 50.00 200.00L 0.00 200.00A 62.50 200.00 0 0 1 62.50 0.00L 112.50 0.00A 62.50 200.00 0 0 1 173.02 150.00L 198.02 150.00L 150.00 200.00L 98.02 150.00L 123.02 150.00A 62.50 200.00 0 0 0 62.50 0.00`,range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:[`x`,`x`,`y`]},curvedLeftArrow:{type:`curvedLeftArrow`,defaultValue:[25e3,5e4,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`a1`,fmla:`pin 0 adj1 a2`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`aw`,fmla:`*/ ss a2 100000`},{name:`q1`,fmla:`+/ th aw 4`},{name:`hR`,fmla:`+- hd2 0 q1`},{name:`q7`,fmla:`*/ hR 2 1`},{name:`q8`,fmla:`*/ q7 q7 1`},{name:`q9`,fmla:`*/ th th 1`},{name:`q10`,fmla:`+- q8 0 q9`},{name:`q11`,fmla:`sqrt q10`},{name:`idx`,fmla:`*/ q11 w q7`},{name:`maxAdj3`,fmla:`*/ 100000 idx ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`ah`,fmla:`*/ ss a3 100000`},{name:`y3`,fmla:`+- hR th 0`},{name:`q2`,fmla:`*/ w w 1`},{name:`q3`,fmla:`*/ ah ah 1`},{name:`q4`,fmla:`+- q2 0 q3`},{name:`q5`,fmla:`sqrt q4`},{name:`dy`,fmla:`*/ q5 hR w`},{name:`y5`,fmla:`+- hR dy 0`},{name:`y7`,fmla:`+- y3 dy 0`},{name:`q6`,fmla:`+- aw 0 th`},{name:`dh`,fmla:`*/ q6 1 2`},{name:`y4`,fmla:`+- y5 0 dh`},{name:`y8`,fmla:`+- y7 dh 0`},{name:`aw2`,fmla:`*/ aw 1 2`},{name:`y6`,fmla:`+- b 0 aw2`},{name:`x1`,fmla:`+- l ah 0`},{name:`swAng`,fmla:`at2 ah dy`},{name:`mswAng`,fmla:`+- 0 0 swAng`},{name:`ix`,fmla:`+- l idx 0`},{name:`iy`,fmla:`+/ hR y3 2`},{name:`q12`,fmla:`*/ th 1 2`},{name:`dang2`,fmla:`at2 idx q12`},{name:`swAng2`,fmla:`+- dang2 0 swAng`},{name:`swAng3`,fmla:`+- swAng dang2 0`},{name:`stAng3`,fmla:`+- 0 0 dang2`}],ranges:[{y:{name:`adj1`,min:0,max:`a2`},pos:{x:`x1`,y:`y5`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`r`,y:`y4`}},{x:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x1`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y6`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y5`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`swAng`,swAng:`swAng2`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`stAng3`,swAng:`swAng3`},{type:`lnTo`,x:`x1`,y:`y8`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`r`,y:`y3`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:0,swAng:-54e5},{type:`lnTo`,x:`l`,y:`t`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`3cd4`,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`r`,y:`y3`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:0,swAng:-54e5},{type:`lnTo`,x:`l`,y:`t`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y3`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:0,swAng:`swAng`},{type:`lnTo`,x:`x1`,y:`y8`},{type:`lnTo`,x:`l`,y:`y6`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y5`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`swAng`,swAng:`swAng2`}],stroke:!0,fill:`none`}],path:`M 0.00 150.00L 50.00 98.02L 50.00 123.02A 200.00 62.50 0 0 0 183.30 87.50A 200.00 62.50 0 0 1 50.00 173.02L 50.00 198.02ZM 200.00 112.50A 200.00 62.50 0 0 0 0.00 50.00L 0.00 0.00A 200.00 62.50 0 0 1 200.00 62.50ZM 200.00 112.50A 200.00 62.50 0 0 0 0.00 50.00L 0.00 0.00A 200.00 62.50 0 0 1 200.00 62.50L 200.00 112.50A 200.00 62.50 0 0 1 50.00 173.02L 50.00 198.02L 0.00 150.00L 50.00 98.02L 50.00 123.02A 200.00 62.50 0 0 0 183.30 87.50`,range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:[`y`,`y`,`x`]},curvedRightArrow:{type:`curvedRightArrow`,defaultValue:[25e3,5e4,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`a1`,fmla:`pin 0 adj1 a2`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`aw`,fmla:`*/ ss a2 100000`},{name:`q1`,fmla:`+/ th aw 4`},{name:`hR`,fmla:`+- hd2 0 q1`},{name:`q7`,fmla:`*/ hR 2 1`},{name:`q8`,fmla:`*/ q7 q7 1`},{name:`q9`,fmla:`*/ th th 1`},{name:`q10`,fmla:`+- q8 0 q9`},{name:`q11`,fmla:`sqrt q10`},{name:`idx`,fmla:`*/ q11 w q7`},{name:`maxAdj3`,fmla:`*/ 100000 idx ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`ah`,fmla:`*/ ss a3 100000`},{name:`y3`,fmla:`+- hR th 0`},{name:`q2`,fmla:`*/ w w 1`},{name:`q3`,fmla:`*/ ah ah 1`},{name:`q4`,fmla:`+- q2 0 q3`},{name:`q5`,fmla:`sqrt q4`},{name:`dy`,fmla:`*/ q5 hR w`},{name:`y5`,fmla:`+- hR dy 0`},{name:`y7`,fmla:`+- y3 dy 0`},{name:`q6`,fmla:`+- aw 0 th`},{name:`dh`,fmla:`*/ q6 1 2`},{name:`y4`,fmla:`+- y5 0 dh`},{name:`y8`,fmla:`+- y7 dh 0`},{name:`aw2`,fmla:`*/ aw 1 2`},{name:`y6`,fmla:`+- b 0 aw2`},{name:`x1`,fmla:`+- r 0 ah`},{name:`swAng`,fmla:`at2 ah dy`},{name:`stAng`,fmla:`+- cd2 0 swAng`},{name:`mswAng`,fmla:`+- 0 0 swAng`},{name:`ix`,fmla:`+- r 0 idx`},{name:`iy`,fmla:`+/ hR y3 2`},{name:`q12`,fmla:`*/ th 1 2`},{name:`dang2`,fmla:`at2 idx q12`},{name:`swAng2`,fmla:`+- dang2 0 cd4`},{name:`swAng3`,fmla:`+- cd4 dang2 0`},{name:`stAng3`,fmla:`+- cd2 0 dang2`}],ranges:[{y:{name:`adj1`,min:0,max:`a2`},pos:{x:`x1`,y:`y5`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`r`,y:`y4`}},{x:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x1`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`hR`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`cd2`,swAng:`mswAng`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`r`,y:`y6`},{type:`lnTo`,x:`x1`,y:`y8`},{type:`lnTo`,x:`x1`,y:`y7`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`stAng`,swAng:`swAng`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`r`,y:`th`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`3cd4`,swAng:`swAng2`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`stAng3`,swAng:`swAng3`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`hR`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`cd2`,swAng:`mswAng`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`r`,y:`y6`},{type:`lnTo`,x:`x1`,y:`y8`},{type:`lnTo`,x:`x1`,y:`y7`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`stAng`,swAng:`swAng`},{type:`lnTo`,x:`l`,y:`hR`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`th`},{type:`arcTo`,wR:`w`,hR:`hR`,stAng:`3cd4`,swAng:`swAng2`}],stroke:!0,fill:`none`}],path:`M 0.00 62.50A 200.00 62.50 0 0 0 150.00 123.02L 150.00 98.02L 200.00 150.00L 150.00 198.02L 150.00 173.02A 200.00 62.50 0 0 1 0.00 112.50ZM 200.00 50.00A 200.00 62.50 0 0 0 16.70 87.50A 200.00 62.50 0 0 1 200.00 -0.00ZM 0.00 62.50A 200.00 62.50 0 0 0 150.00 123.02L 150.00 98.02L 200.00 150.00L 150.00 198.02L 150.00 173.02A 200.00 62.50 0 0 1 0.00 112.50L 0.00 62.50A 200.00 62.50 0 0 1 200.00 -0.00L 200.00 50.00A 200.00 62.50 0 0 0 16.70 87.50`,range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:[`y`,`y`,`x`]},curvedUpArrow:{type:`curvedUpArrow`,defaultValue:[25e3,5e4,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`maxAdj2`,fmla:`*/ 50000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`aw`,fmla:`*/ ss a2 100000`},{name:`q1`,fmla:`+/ th aw 4`},{name:`wR`,fmla:`+- wd2 0 q1`},{name:`q7`,fmla:`*/ wR 2 1`},{name:`q8`,fmla:`*/ q7 q7 1`},{name:`q9`,fmla:`*/ th th 1`},{name:`q10`,fmla:`+- q8 0 q9`},{name:`q11`,fmla:`sqrt q10`},{name:`idy`,fmla:`*/ q11 h q7`},{name:`maxAdj3`,fmla:`*/ 100000 idy ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`ah`,fmla:`*/ ss adj3 100000`},{name:`x3`,fmla:`+- wR th 0`},{name:`q2`,fmla:`*/ h h 1`},{name:`q3`,fmla:`*/ ah ah 1`},{name:`q4`,fmla:`+- q2 0 q3`},{name:`q5`,fmla:`sqrt q4`},{name:`dx`,fmla:`*/ q5 wR h`},{name:`x5`,fmla:`+- wR dx 0`},{name:`x7`,fmla:`+- x3 dx 0`},{name:`q6`,fmla:`+- aw 0 th`},{name:`dh`,fmla:`*/ q6 1 2`},{name:`x4`,fmla:`+- x5 0 dh`},{name:`x8`,fmla:`+- x7 dh 0`},{name:`aw2`,fmla:`*/ aw 1 2`},{name:`x6`,fmla:`+- r 0 aw2`},{name:`y1`,fmla:`+- t ah 0`},{name:`swAng`,fmla:`at2 ah dx`},{name:`mswAng`,fmla:`+- 0 0 swAng`},{name:`iy`,fmla:`+- t idy 0`},{name:`ix`,fmla:`+/ wR x3 2`},{name:`q12`,fmla:`*/ th 1 2`},{name:`dang2`,fmla:`at2 idy q12`},{name:`swAng2`,fmla:`+- dang2 0 swAng`},{name:`mswAng2`,fmla:`+- 0 0 swAng2`},{name:`stAng3`,fmla:`+- cd4 0 swAng`},{name:`swAng3`,fmla:`+- swAng dang2 0`},{name:`stAng2`,fmla:`+- cd4 0 dang2`}],ranges:[{x:{name:`adj1`,min:0,max:`a2`},pos:{x:`x7`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x4`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`x6`,y:`t`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`lnTo`,x:`x7`,y:`y1`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng3`,swAng:`swAng3`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng2`,swAng:`swAng2`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`wR`,y:`b`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`th`,y:`t`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`cd2`,swAng:-54e5},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`ix`,y:`iy`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng2`,swAng:`swAng2`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x6`,y:`t`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`lnTo`,x:`x7`,y:`y1`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`stAng3`,swAng:`swAng`},{type:`lnTo`,x:`wR`,y:`b`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`th`,y:`t`},{type:`arcTo`,wR:`wR`,hR:`h`,stAng:`cd2`,swAng:-54e5}],stroke:!0,fill:`none`}],path:`M 150.00 0.00L 198.02 50.00L 173.02 50.00A 62.50 200.00 0 0 1 87.50 183.30A 62.50 200.00 0 0 0 123.02 50.00L 98.02 50.00ZM 62.50 200.00A 62.50 200.00 0 0 1 -0.00 0.00L 50.00 0.00A 62.50 200.00 0 0 0 112.50 200.00ZM 87.50 183.30A 62.50 200.00 0 0 0 123.02 50.00L 98.02 50.00L 150.00 0.00L 198.02 50.00L 173.02 50.00A 62.50 200.00 0 0 1 112.50 200.00L 62.50 200.00A 62.50 200.00 0 0 1 -0.00 0.00L 50.00 0.00A 62.50 200.00 0 0 0 112.50 200.00`,range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:[`x`,`x`,`y`]},decagon:{type:`decagon`,defaultValue:[105146],adjustmentNames:[`vf`],params:[{name:`shd2`,fmla:`*/ hd2 vf 100000`},{name:`dx1`,fmla:`cos wd2 2160000`},{name:`dx2`,fmla:`cos wd2 4320000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`dy1`,fmla:`sin shd2 4320000`},{name:`dy2`,fmla:`sin shd2 2160000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y4`,fmla:`+- vc dy1 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 19.10 38.20L 69.10 0.00L 130.90 0.00L 180.90 38.20L 200.00 100.00L 180.90 161.80L 130.90 200.00L 69.10 200.00L 19.10 161.80Z`,range:[[-2147483647,2147483647]],relative:[``]},diagStripe:{type:`diagStripe`,defaultValue:[5e4],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 100000`},{name:`x2`,fmla:`*/ w a 100000`},{name:`x1`,fmla:`*/ x2 1 2`},{name:`x3`,fmla:`+/ x2 r 2`},{name:`y2`,fmla:`*/ h a 100000`},{name:`y1`,fmla:`*/ y2 1 2`},{name:`y3`,fmla:`+/ y2 b 2`}],ranges:[{y:{name:`adj`,min:0,max:1e5},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 100.00 0.00L 200.00 0.00L 0.00 200.00Z`,range:[[0,1e5]],relative:[`y`]},diamond:{type:`diamond`,defaultValue:[],adjustmentNames:[],params:[{name:`ir`,fmla:`*/ w 3 4`},{name:`ib`,fmla:`*/ h 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`hc`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00Z`,range:[],relative:[]},dodecagon:{type:`dodecagon`,defaultValue:[],adjustmentNames:[],params:[{name:`x1`,fmla:`*/ w 2894 21600`},{name:`x2`,fmla:`*/ w 7906 21600`},{name:`x3`,fmla:`*/ w 13694 21600`},{name:`x4`,fmla:`*/ w 18706 21600`},{name:`y1`,fmla:`*/ h 2894 21600`},{name:`y2`,fmla:`*/ h 7906 21600`},{name:`y3`,fmla:`*/ h 13694 21600`},{name:`y4`,fmla:`*/ h 18706 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x3`,y:`t`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`r`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`x3`,y:`b`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`l`,y:`y3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 73.20L 26.80 26.80L 73.20 0.00L 126.80 0.00L 173.20 26.80L 200.00 73.20L 200.00 126.80L 173.20 173.20L 126.80 200.00L 73.20 200.00L 26.80 173.20L 0.00 126.80Z`,range:[],relative:[]},donut:{type:`donut`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dr`,fmla:`*/ ss a 100000`},{name:`iwd2`,fmla:`+- wd2 0 dr`},{name:`ihd2`,fmla:`+- hd2 0 dr`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{r:{name:`adj`,min:0,max:5e4},pos:{x:`dr`,y:`vc`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`},{type:`moveTo`,x:`dr`,y:`vc`},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:`cd2`,swAng:-54e5},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:`cd4`,swAng:-54e5},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:0,swAng:-54e5},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:`3cd4`,swAng:-54e5},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 50.00 100.00A 50.00 50.00 0 0 0 100.00 150.00A 50.00 50.00 0 0 0 150.00 100.00A 50.00 50.00 0 0 0 100.00 50.00A 50.00 50.00 0 0 0 50.00 100.00Z`,range:[[0,5e4]],relative:[`r`]},doubleWave:{type:`doubleWave`,defaultValue:[6250,0],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 12500`},{name:`a2`,fmla:`pin -10000 adj2 10000`},{name:`y1`,fmla:`*/ h a1 100000`},{name:`dy2`,fmla:`*/ y1 10 3`},{name:`y2`,fmla:`+- y1 0 dy2`},{name:`y3`,fmla:`+- y1 dy2 0`},{name:`y4`,fmla:`+- b 0 y1`},{name:`y5`,fmla:`+- y4 0 dy2`},{name:`y6`,fmla:`+- y4 dy2 0`},{name:`dx1`,fmla:`*/ w a2 100000`},{name:`of2`,fmla:`*/ w a2 50000`},{name:`x1`,fmla:`abs dx1`},{name:`dx2`,fmla:`?: of2 0 of2`},{name:`x2`,fmla:`+- l 0 dx2`},{name:`dx8`,fmla:`?: of2 of2 0`},{name:`x8`,fmla:`+- r 0 dx8`},{name:`dx3`,fmla:`+/ dx2 x8 6`},{name:`x3`,fmla:`+- x2 dx3 0`},{name:`dx4`,fmla:`+/ dx2 x8 3`},{name:`x4`,fmla:`+- x2 dx4 0`},{name:`x5`,fmla:`+/ x2 x8 2`},{name:`x6`,fmla:`+- x5 dx3 0`},{name:`x7`,fmla:`+/ x6 x8 2`},{name:`x9`,fmla:`+- l dx8 0`},{name:`x15`,fmla:`+- r dx2 0`},{name:`x10`,fmla:`+- x9 dx3 0`},{name:`x11`,fmla:`+- x9 dx4 0`},{name:`x12`,fmla:`+/ x9 x15 2`},{name:`x13`,fmla:`+- x12 dx3 0`},{name:`x14`,fmla:`+/ x13 x15 2`},{name:`x16`,fmla:`+- r 0 x1`},{name:`xAdj`,fmla:`+- hc dx1 0`},{name:`il`,fmla:`max x2 x9`},{name:`ir`,fmla:`min x8 x15`},{name:`it`,fmla:`*/ h a1 50000`},{name:`ib`,fmla:`+- b 0 it`}],ranges:[{y:{name:`adj1`,min:0,max:12500},pos:{x:`l`,y:`y1`}},{x:{name:`adj2`,min:-1e4,max:1e4},pos:{x:`xAdj`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`x2`,y:`y1`},{type:`cubicBezTo`,pts:[{x:`x3`,y:`y2`},{x:`x4`,y:`y3`},{x:`x5`,y:`y1`}]},{type:`cubicBezTo`,pts:[{x:`x6`,y:`y2`},{x:`x7`,y:`y3`},{x:`x8`,y:`y1`}]},{type:`lnTo`,x:`x15`,y:`y4`},{type:`cubicBezTo`,pts:[{x:`x14`,y:`y6`},{x:`x13`,y:`y5`},{x:`x12`,y:`y4`}]},{type:`cubicBezTo`,pts:[{x:`x11`,y:`y6`},{x:`x10`,y:`y5`},{x:`x9`,y:`y4`}]},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 12.50C 33.33,-29.17 66.67,54.17 100.00,12.50C 133.33,-29.17 166.67,54.17 200.00,12.50L 200.00 187.50C 166.67,229.17 133.33,145.83 100.00,187.50C 66.67,229.17 33.33,145.83 0.00,187.50Z`,range:[[0,12500],[-1e4,1e4]],relative:[`y`,`x`]},downArrow:{type:`downArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 100000 h ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`dy1`,fmla:`*/ ss a2 100000`},{name:`y1`,fmla:`+- b 0 dy1`},{name:`dx1`,fmla:`*/ w a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`},{name:`dy2`,fmla:`*/ x1 dy1 wd2`},{name:`y2`,fmla:`+- y1 dy2 0`}],ranges:[{x:{name:`adj1`,min:0,max:1e5},pos:{x:`x1`,y:`t`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`l`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`hc`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 50.00 100.00L 50.00 0.00L 150.00 0.00L 150.00 100.00L 200.00 100.00L 100.00 200.00Z`,range:[[0,1e5],[0,1e5]],relative:[`x`,`y`]},downArrowCallout:{type:`downArrowCallout`,defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`maxAdj2`,fmla:`*/ 50000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`*/ 100000 h ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 ss h`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`dx1`,fmla:`*/ ss a2 100000`},{name:`dx2`,fmla:`*/ ss a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`dy3`,fmla:`*/ ss a3 100000`},{name:`y3`,fmla:`+- b 0 dy3`},{name:`y2`,fmla:`*/ h a4 100000`},{name:`y1`,fmla:`*/ y2 1 2`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x2`,y:`y3`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`b`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`y3`}},{y:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`l`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 129.95L 125.00 129.95L 125.00 150.00L 150.00 150.00L 100.00 200.00L 50.00 150.00L 75.00 150.00L 75.00 129.95L 0.00 129.95Z`,range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:[`x`,`x`,`y`,`y`]},ellipse:{type:`ellipse`,defaultValue:[],adjustmentNames:[],params:[{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z`,range:[],relative:[]},ellipseRibbon:{type:`ellipseRibbon`,defaultValue:[25e3,5e4,12500],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 25000 adj2 75000`},{name:`q10`,fmla:`+- 100000 0 a1`},{name:`q11`,fmla:`*/ q10 1 2`},{name:`q12`,fmla:`+- a1 0 q11`},{name:`minAdj3`,fmla:`max 0 q12`},{name:`a3`,fmla:`pin minAdj3 adj3 a1`},{name:`dx2`,fmla:`*/ w a2 200000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- x2 wd8 0`},{name:`x4`,fmla:`+- r 0 x3`},{name:`x5`,fmla:`+- r 0 x2`},{name:`x6`,fmla:`+- r 0 wd8`},{name:`dy1`,fmla:`*/ h a3 100000`},{name:`f1`,fmla:`*/ 4 dy1 w`},{name:`q1`,fmla:`*/ x3 x3 w`},{name:`q2`,fmla:`+- x3 0 q1`},{name:`y1`,fmla:`*/ f1 q2 1`},{name:`cx1`,fmla:`*/ x3 1 2`},{name:`cy1`,fmla:`*/ f1 cx1 1`},{name:`cx2`,fmla:`+- r 0 cx1`},{name:`q1`,fmla:`*/ h a1 100000`},{name:`dy3`,fmla:`+- q1 0 dy1`},{name:`q3`,fmla:`*/ x2 x2 w`},{name:`q4`,fmla:`+- x2 0 q3`},{name:`q5`,fmla:`*/ f1 q4 1`},{name:`y3`,fmla:`+- q5 dy3 0`},{name:`q6`,fmla:`+- dy1 dy3 y3`},{name:`q7`,fmla:`+- q6 dy1 0`},{name:`cy3`,fmla:`+- q7 dy3 0`},{name:`rh`,fmla:`+- b 0 q1`},{name:`q8`,fmla:`*/ dy1 14 16`},{name:`y2`,fmla:`+/ q8 rh 2`},{name:`y5`,fmla:`+- q5 rh 0`},{name:`y6`,fmla:`+- y3 rh 0`},{name:`cx4`,fmla:`*/ x2 1 2`},{name:`q9`,fmla:`*/ f1 cx4 1`},{name:`cy4`,fmla:`+- q9 rh 0`},{name:`cx5`,fmla:`+- r 0 cx4`},{name:`cy6`,fmla:`+- cy3 rh 0`},{name:`y7`,fmla:`+- y1 dy3 0`},{name:`cy7`,fmla:`+- q1 q1 y7`},{name:`y8`,fmla:`+- b 0 dy1`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`hc`,y:`q1`}},{x:{name:`adj2`,min:25e3,max:75e3},pos:{x:`x2`,y:`b`}},{y:{name:`adj3`,min:`minAdj3`,max:`a1`},pos:{x:`l`,y:`y8`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`quadBezTo`,pts:[{x:`cx1`,y:`cy1`},{x:`x3`,y:`y1`}]},{type:`lnTo`,x:`x2`,y:`y3`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy3`},{x:`x5`,y:`y3`}]},{type:`lnTo`,x:`x4`,y:`y1`},{type:`quadBezTo`,pts:[{x:`cx2`,y:`cy1`},{x:`r`,y:`t`}]},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`r`,y:`rh`},{type:`quadBezTo`,pts:[{x:`cx5`,y:`cy4`},{x:`x5`,y:`y5`}]},{type:`lnTo`,x:`x5`,y:`y6`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy6`},{x:`x2`,y:`y6`}]},{type:`lnTo`,x:`x2`,y:`y5`},{type:`quadBezTo`,pts:[{x:`cx4`,y:`cy4`},{x:`l`,y:`rh`}]},{type:`lnTo`,x:`wd8`,y:`y2`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x3`,y:`y7`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy3`},{x:`x5`,y:`y3`}]},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y7`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy7`},{x:`x3`,y:`y7`}]},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`quadBezTo`,pts:[{x:`cx1`,y:`cy1`},{x:`x3`,y:`y1`}]},{type:`lnTo`,x:`x2`,y:`y3`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy3`},{x:`x5`,y:`y3`}]},{type:`lnTo`,x:`x4`,y:`y1`},{type:`quadBezTo`,pts:[{x:`cx2`,y:`cy1`},{x:`r`,y:`t`}]},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`r`,y:`rh`},{type:`quadBezTo`,pts:[{x:`cx5`,y:`cy4`},{x:`x5`,y:`y5`}]},{type:`lnTo`,x:`x5`,y:`y6`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy6`},{x:`x2`,y:`y6`}]},{type:`lnTo`,x:`x2`,y:`y5`},{type:`quadBezTo`,pts:[{x:`cx4`,y:`cy4`},{x:`l`,y:`rh`}]},{type:`lnTo`,x:`wd8`,y:`y2`},{type:`close`},{type:`moveTo`,x:`x2`,y:`y5`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`moveTo`,x:`x5`,y:`y3`},{type:`lnTo`,x:`x5`,y:`y5`},{type:`moveTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y7`},{type:`moveTo`,x:`x4`,y:`y7`},{type:`lnTo`,x:`x4`,y:`y1`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00Q 37.50,18.75 75.00,23.44L 50.00 43.75Q 100.00,56.25 150.00,43.75L 125.00 23.44Q 162.50,18.75 200.00,0.00L 175.00 85.94L 200.00 150.00Q 175.00,162.50 150.00,168.75L 150.00 193.75Q 100.00,206.25 50.00,193.75L 50.00 168.75Q 25.00,162.50 0.00,150.00L 25.00 85.94ZM 75.00 48.44L 75.00 23.44L 50.00 43.75Q 100.00,56.25 150.00,43.75L 125.00 23.44L 125.00 48.44Q 100.00,51.56 75.00,48.44ZM 0.00 0.00Q 37.50,18.75 75.00,23.44L 50.00 43.75Q 100.00,56.25 150.00,43.75L 125.00 23.44Q 162.50,18.75 200.00,0.00L 175.00 85.94L 200.00 150.00Q 175.00,162.50 150.00,168.75L 150.00 193.75Q 100.00,206.25 50.00,193.75L 50.00 168.75Q 25.00,162.50 0.00,150.00L 25.00 85.94ZM 50.00 168.75L 50.00 43.75M 150.00 43.75L 150.00 168.75M 75.00 23.44L 75.00 48.44M 125.00 48.44L 125.00 23.44`,range:[[0,1e5],[25e3,75e3],[0,25e3]],relative:[`y`,`x`,`y`]},ellipseRibbon2:{type:`ellipseRibbon2`,defaultValue:[25e3,5e4,12500],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 25000 adj2 75000`},{name:`q10`,fmla:`+- 100000 0 a1`},{name:`q11`,fmla:`*/ q10 1 2`},{name:`q12`,fmla:`+- a1 0 q11`},{name:`minAdj3`,fmla:`max 0 q12`},{name:`a3`,fmla:`pin minAdj3 adj3 a1`},{name:`dx2`,fmla:`*/ w a2 200000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- x2 wd8 0`},{name:`x4`,fmla:`+- r 0 x3`},{name:`x5`,fmla:`+- r 0 x2`},{name:`x6`,fmla:`+- r 0 wd8`},{name:`dy1`,fmla:`*/ h a3 100000`},{name:`f1`,fmla:`*/ 4 dy1 w`},{name:`q1`,fmla:`*/ x3 x3 w`},{name:`q2`,fmla:`+- x3 0 q1`},{name:`u1`,fmla:`*/ f1 q2 1`},{name:`y1`,fmla:`+- b 0 u1`},{name:`cx1`,fmla:`*/ x3 1 2`},{name:`cu1`,fmla:`*/ f1 cx1 1`},{name:`cy1`,fmla:`+- b 0 cu1`},{name:`cx2`,fmla:`+- r 0 cx1`},{name:`q1`,fmla:`*/ h a1 100000`},{name:`dy3`,fmla:`+- q1 0 dy1`},{name:`q3`,fmla:`*/ x2 x2 w`},{name:`q4`,fmla:`+- x2 0 q3`},{name:`q5`,fmla:`*/ f1 q4 1`},{name:`u3`,fmla:`+- q5 dy3 0`},{name:`y3`,fmla:`+- b 0 u3`},{name:`q6`,fmla:`+- dy1 dy3 u3`},{name:`q7`,fmla:`+- q6 dy1 0`},{name:`cu3`,fmla:`+- q7 dy3 0`},{name:`cy3`,fmla:`+- b 0 cu3`},{name:`rh`,fmla:`+- b 0 q1`},{name:`q8`,fmla:`*/ dy1 14 16`},{name:`u2`,fmla:`+/ q8 rh 2`},{name:`y2`,fmla:`+- b 0 u2`},{name:`u5`,fmla:`+- q5 rh 0`},{name:`y5`,fmla:`+- b 0 u5`},{name:`u6`,fmla:`+- u3 rh 0`},{name:`y6`,fmla:`+- b 0 u6`},{name:`cx4`,fmla:`*/ x2 1 2`},{name:`q9`,fmla:`*/ f1 cx4 1`},{name:`cu4`,fmla:`+- q9 rh 0`},{name:`cy4`,fmla:`+- b 0 cu4`},{name:`cx5`,fmla:`+- r 0 cx4`},{name:`cu6`,fmla:`+- cu3 rh 0`},{name:`cy6`,fmla:`+- b 0 cu6`},{name:`u7`,fmla:`+- u1 dy3 0`},{name:`y7`,fmla:`+- b 0 u7`},{name:`cu7`,fmla:`+- q1 q1 u7`},{name:`cy7`,fmla:`+- b 0 cu7`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`hc`,y:`rh`}},{x:{name:`adj2`,min:25e3,max:1e5},pos:{x:`x2`,y:`t`}},{y:{name:`adj3`,min:`minAdj3`,max:`a1`},pos:{x:`l`,y:`dy1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`quadBezTo`,pts:[{x:`cx1`,y:`cy1`},{x:`x3`,y:`y1`}]},{type:`lnTo`,x:`x2`,y:`y3`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy3`},{x:`x5`,y:`y3`}]},{type:`lnTo`,x:`x4`,y:`y1`},{type:`quadBezTo`,pts:[{x:`cx2`,y:`cy1`},{x:`r`,y:`b`}]},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`r`,y:`q1`},{type:`quadBezTo`,pts:[{x:`cx5`,y:`cy4`},{x:`x5`,y:`y5`}]},{type:`lnTo`,x:`x5`,y:`y6`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy6`},{x:`x2`,y:`y6`}]},{type:`lnTo`,x:`x2`,y:`y5`},{type:`quadBezTo`,pts:[{x:`cx4`,y:`cy4`},{x:`l`,y:`q1`}]},{type:`lnTo`,x:`wd8`,y:`y2`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x3`,y:`y7`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy3`},{x:`x5`,y:`y3`}]},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y7`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy7`},{x:`x3`,y:`y7`}]},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`wd8`,y:`y2`},{type:`lnTo`,x:`l`,y:`q1`},{type:`quadBezTo`,pts:[{x:`cx4`,y:`cy4`},{x:`x2`,y:`y5`}]},{type:`lnTo`,x:`x2`,y:`y6`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy6`},{x:`x5`,y:`y6`}]},{type:`lnTo`,x:`x5`,y:`y5`},{type:`quadBezTo`,pts:[{x:`cx5`,y:`cy4`},{x:`r`,y:`q1`}]},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`r`,y:`b`},{type:`quadBezTo`,pts:[{x:`cx2`,y:`cy1`},{x:`x4`,y:`y1`}]},{type:`lnTo`,x:`x5`,y:`y3`},{type:`quadBezTo`,pts:[{x:`hc`,y:`cy3`},{x:`x2`,y:`y3`}]},{type:`lnTo`,x:`x3`,y:`y1`},{type:`quadBezTo`,pts:[{x:`cx1`,y:`cy1`},{x:`l`,y:`b`}]},{type:`close`},{type:`moveTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x2`,y:`y5`},{type:`moveTo`,x:`x5`,y:`y5`},{type:`lnTo`,x:`x5`,y:`y3`},{type:`moveTo`,x:`x3`,y:`y7`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`moveTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x4`,y:`y7`}],stroke:!0,fill:`none`}],path:`M 0.00 200.00Q 37.50,181.25 75.00,176.56L 50.00 156.25Q 100.00,143.75 150.00,156.25L 125.00 176.56Q 162.50,181.25 200.00,200.00L 175.00 114.06L 200.00 50.00Q 175.00,37.50 150.00,31.25L 150.00 6.25Q 100.00,-6.25 50.00,6.25L 50.00 31.25Q 25.00,37.50 0.00,50.00L 25.00 114.06ZM 75.00 151.56L 75.00 176.56L 50.00 156.25Q 100.00,143.75 150.00,156.25L 125.00 176.56L 125.00 151.56Q 100.00,148.44 75.00,151.56ZM 0.00 200.00L 25.00 114.06L 0.00 50.00Q 25.00,37.50 50.00,31.25L 50.00 6.25Q 100.00,-6.25 150.00,6.25L 150.00 31.25Q 175.00,37.50 200.00,50.00L 175.00 114.06L 200.00 200.00Q 162.50,181.25 125.00,176.56L 150.00 156.25Q 100.00,143.75 50.00,156.25L 75.00 176.56Q 37.50,181.25 0.00,200.00ZM 50.00 156.25L 50.00 31.25M 150.00 31.25L 150.00 156.25M 75.00 151.56L 75.00 176.56M 125.00 176.56L 125.00 151.56`,range:[[0,1e5],[25e3,1e5],[0,25e3]],relative:[`y`,`x`,`y`]},flowChartAlternateProcess:{type:`flowChartAlternateProcess`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`+- r 0 ssd6`},{name:`y2`,fmla:`+- b 0 ssd6`},{name:`il`,fmla:`*/ ssd6 29289 100000`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`ssd6`},{type:`arcTo`,wR:`ssd6`,hR:`ssd6`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`t`},{type:`arcTo`,wR:`ssd6`,hR:`ssd6`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`ssd6`,hR:`ssd6`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`ssd6`,y:`b`},{type:`arcTo`,wR:`ssd6`,hR:`ssd6`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67Z`,range:[],relative:[]},flowChartCollate:{type:`flowChartCollate`,defaultValue:[],adjustmentNames:[],params:[{name:`ir`,fmla:`*/ w 3 4`},{name:`ib`,fmla:`*/ h 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:2,y:0},{type:`lnTo`,x:1,y:1},{type:`lnTo`,x:2,y:2},{type:`lnTo`,x:0,y:2},{type:`lnTo`,x:1,y:1},{type:`close`}],stroke:!0,fill:`norm`,w:2,h:2}],path:`M 0.00 0.00L 200.00 0.00L 100.00 100.00L 200.00 200.00L 0.00 200.00L 100.00 100.00Z`,range:[],relative:[]},flowChartConnector:{type:`flowChartConnector`,defaultValue:[],adjustmentNames:[],params:[{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z`,range:[],relative:[]},flowChartDecision:{type:`flowChartDecision`,defaultValue:[],adjustmentNames:[],params:[{name:`ir`,fmla:`*/ w 3 4`},{name:`ib`,fmla:`*/ h 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:2,y:1},{type:`lnTo`,x:1,y:2},{type:`close`}],stroke:!0,fill:`norm`,w:2,h:2}],path:`M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00Z`,range:[],relative:[]},flowChartDelay:{type:`flowChartDelay`,defaultValue:[],adjustmentNames:[],params:[{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`hc`,y:`t`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 100.00 0.00A 100.00 100.00 0 0 1 100.00 200.00L 0.00 200.00Z`,range:[],relative:[]},flowChartDisplay:{type:`flowChartDisplay`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 5 6`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:3},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:5,y:0},{type:`arcTo`,wR:1,hR:3,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:1,y:6},{type:`close`}],stroke:!0,fill:`norm`,w:6,h:6}],path:`M 0.00 100.00L 33.33 0.00L 166.67 0.00A 33.33 100.00 0 0 1 166.67 200.00L 33.33 200.00Z`,range:[],relative:[]},flowChartDocument:{type:`flowChartDocument`,defaultValue:[],adjustmentNames:[],params:[{name:`y1`,fmla:`*/ h 17322 21600`},{name:`y2`,fmla:`*/ h 20172 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:21600,y:0},{type:`lnTo`,x:21600,y:17322},{type:`cubicBezTo`,pts:[{x:10800,y:17322},{x:10800,y:23922},{x:0,y:20172}]},{type:`close`}],stroke:!0,fill:`norm`,w:21600,h:21600}],path:`M 0.00 0.00L 200.00 0.00L 200.00 160.39C 100.00,160.39 100.00,221.50 0.00,186.78Z`,range:[],relative:[]},flowChartExtract:{type:`flowChartExtract`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:2},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:2,y:2},{type:`close`}],stroke:!0,fill:`norm`,w:2,h:2}],path:`M 0.00 200.00L 100.00 0.00L 200.00 200.00Z`,range:[],relative:[]},flowChartInputOutput:{type:`flowChartInputOutput`,defaultValue:[],adjustmentNames:[],params:[{name:`x3`,fmla:`*/ w 2 5`},{name:`x4`,fmla:`*/ w 3 5`},{name:`x5`,fmla:`*/ w 4 5`},{name:`x6`,fmla:`*/ w 9 10`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:5},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:5,y:0},{type:`lnTo`,x:4,y:5},{type:`close`}],stroke:!0,fill:`norm`,w:5,h:5}],path:`M 0.00 200.00L 40.00 0.00L 200.00 0.00L 160.00 200.00Z`,range:[],relative:[]},flowChartInternalStorage:{type:`flowChartInternalStorage`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:1,y:1},{type:`lnTo`,x:0,y:1},{type:`close`}],stroke:!1,fill:`norm`,w:1,h:1},{path:[{type:`moveTo`,x:1,y:0},{type:`lnTo`,x:1,y:8},{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:8,y:1}],stroke:!0,fill:`none`,w:8,h:8},{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:1,y:1},{type:`lnTo`,x:0,y:1},{type:`close`}],stroke:!0,fill:`none`,w:1,h:1}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 0.00L 25.00 200.00M 0.00 25.00L 200.00 25.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},flowChartMagneticDisk:{type:`flowChartMagneticDisk`,defaultValue:[],adjustmentNames:[],params:[{name:`y3`,fmla:`*/ h 5 6`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:1},{type:`arcTo`,wR:3,hR:1,stAng:`cd2`,swAng:`cd2`},{type:`lnTo`,x:6,y:5},{type:`arcTo`,wR:3,hR:1,stAng:0,swAng:`cd2`},{type:`close`}],stroke:!1,fill:`norm`,w:6,h:6},{path:[{type:`moveTo`,x:6,y:1},{type:`arcTo`,wR:3,hR:1,stAng:0,swAng:`cd2`}],stroke:!0,fill:`none`,w:6,h:6},{path:[{type:`moveTo`,x:0,y:1},{type:`arcTo`,wR:3,hR:1,stAng:`cd2`,swAng:`cd2`},{type:`lnTo`,x:6,y:5},{type:`arcTo`,wR:3,hR:1,stAng:0,swAng:`cd2`},{type:`close`}],stroke:!0,fill:`none`,w:6,h:6}],path:`M 0.00 33.33A 100.00 33.33 0 0 1 200.00 33.33L 200.00 166.67A 100.00 33.33 0 0 1 0.00 166.67ZM 200.00 33.33A 100.00 33.33 0 0 1 0.00 33.33M 0.00 33.33A 100.00 33.33 0 0 1 200.00 33.33L 200.00 166.67A 100.00 33.33 0 0 1 0.00 166.67Z`,range:[],relative:[]},flowChartMagneticDrum:{type:`flowChartMagneticDrum`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 2 3`}],ranges:[],paths:[{path:[{type:`moveTo`,x:1,y:0},{type:`lnTo`,x:5,y:0},{type:`arcTo`,wR:1,hR:3,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:1,y:6},{type:`arcTo`,wR:1,hR:3,stAng:`cd4`,swAng:`cd2`},{type:`close`}],stroke:!1,fill:`norm`,w:6,h:6},{path:[{type:`moveTo`,x:5,y:6},{type:`arcTo`,wR:1,hR:3,stAng:`cd4`,swAng:`cd2`}],stroke:!0,fill:`none`,w:6,h:6},{path:[{type:`moveTo`,x:1,y:0},{type:`lnTo`,x:5,y:0},{type:`arcTo`,wR:1,hR:3,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:1,y:6},{type:`arcTo`,wR:1,hR:3,stAng:`cd4`,swAng:`cd2`},{type:`close`}],stroke:!0,fill:`none`,w:6,h:6}],path:`M 33.33 0.00L 166.67 0.00A 33.33 100.00 0 0 1 166.67 200.00L 33.33 200.00A 33.33 100.00 0 0 1 33.33 0.00ZM 166.67 200.00A 33.33 100.00 0 0 1 166.67 0.00M 33.33 0.00L 166.67 0.00A 33.33 100.00 0 0 1 166.67 200.00L 33.33 200.00A 33.33 100.00 0 0 1 33.33 0.00Z`,range:[],relative:[]},flowChartMagneticTape:{type:`flowChartMagneticTape`,defaultValue:[],adjustmentNames:[],params:[{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`},{name:`ang1`,fmla:`at2 w h`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`hc`,y:`b`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`ang1`},{type:`lnTo`,x:`r`,y:`ib`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00A 100.00 100.00 0 0 1 100.00 0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 170.71 170.71L 200.00 170.71L 200.00 200.00Z`,range:[],relative:[]},flowChartManualInput:{type:`flowChartManualInput`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:5,y:0},{type:`lnTo`,x:5,y:5},{type:`lnTo`,x:0,y:5},{type:`close`}],stroke:!0,fill:`norm`,w:5,h:5}],path:`M 0.00 40.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},flowChartManualOperation:{type:`flowChartManualOperation`,defaultValue:[],adjustmentNames:[],params:[{name:`x3`,fmla:`*/ w 4 5`},{name:`x4`,fmla:`*/ w 9 10`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:5,y:0},{type:`lnTo`,x:4,y:5},{type:`lnTo`,x:1,y:5},{type:`close`}],stroke:!0,fill:`norm`,w:5,h:5}],path:`M 0.00 0.00L 200.00 0.00L 160.00 200.00L 40.00 200.00Z`,range:[],relative:[]},flowChartMerge:{type:`flowChartMerge`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:2,y:0},{type:`lnTo`,x:1,y:2},{type:`close`}],stroke:!0,fill:`norm`,w:2,h:2}],path:`M 0.00 0.00L 200.00 0.00L 100.00 200.00Z`,range:[],relative:[]},flowChartMultidocument:{type:`flowChartMultidocument`,defaultValue:[],adjustmentNames:[],params:[{name:`y2`,fmla:`*/ h 3675 21600`},{name:`y8`,fmla:`*/ h 20782 21600`},{name:`x3`,fmla:`*/ w 9298 21600`},{name:`x4`,fmla:`*/ w 12286 21600`},{name:`x5`,fmla:`*/ w 18595 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:20782},{type:`cubicBezTo`,pts:[{x:9298,y:23542},{x:9298,y:18022},{x:18595,y:18022}]},{type:`lnTo`,x:18595,y:3675},{type:`lnTo`,x:0,y:3675},{type:`close`},{type:`moveTo`,x:1532,y:3675},{type:`lnTo`,x:1532,y:1815},{type:`lnTo`,x:2e4,y:1815},{type:`lnTo`,x:2e4,y:16252},{type:`cubicBezTo`,pts:[{x:19298,y:16252},{x:18595,y:16352},{x:18595,y:16352}]},{type:`lnTo`,x:18595,y:3675},{type:`close`},{type:`moveTo`,x:2972,y:1815},{type:`lnTo`,x:2972,y:0},{type:`lnTo`,x:21600,y:0},{type:`lnTo`,x:21600,y:14392},{type:`cubicBezTo`,pts:[{x:20800,y:14392},{x:2e4,y:14467},{x:2e4,y:14467}]},{type:`lnTo`,x:2e4,y:1815},{type:`close`}],stroke:!1,fill:`norm`,w:21600,h:21600},{path:[{type:`moveTo`,x:0,y:3675},{type:`lnTo`,x:18595,y:3675},{type:`lnTo`,x:18595,y:18022},{type:`cubicBezTo`,pts:[{x:9298,y:18022},{x:9298,y:23542},{x:0,y:20782}]},{type:`close`},{type:`moveTo`,x:1532,y:3675},{type:`lnTo`,x:1532,y:1815},{type:`lnTo`,x:2e4,y:1815},{type:`lnTo`,x:2e4,y:16252},{type:`cubicBezTo`,pts:[{x:19298,y:16252},{x:18595,y:16352},{x:18595,y:16352}]},{type:`moveTo`,x:2972,y:1815},{type:`lnTo`,x:2972,y:0},{type:`lnTo`,x:21600,y:0},{type:`lnTo`,x:21600,y:14392},{type:`cubicBezTo`,pts:[{x:20800,y:14392},{x:2e4,y:14467},{x:2e4,y:14467}]}],stroke:!0,fill:`none`,w:21600,h:21600},{path:[{type:`moveTo`,x:0,y:20782},{type:`cubicBezTo`,pts:[{x:9298,y:23542},{x:9298,y:18022},{x:18595,y:18022}]},{type:`lnTo`,x:18595,y:16352},{type:`cubicBezTo`,pts:[{x:18595,y:16352},{x:19298,y:16252},{x:2e4,y:16252}]},{type:`lnTo`,x:2e4,y:14467},{type:`cubicBezTo`,pts:[{x:2e4,y:14467},{x:20800,y:14392},{x:21600,y:14392}]},{type:`lnTo`,x:21600,y:0},{type:`lnTo`,x:2972,y:0},{type:`lnTo`,x:2972,y:1815},{type:`lnTo`,x:1532,y:1815},{type:`lnTo`,x:1532,y:3675},{type:`lnTo`,x:0,y:3675},{type:`close`}],stroke:!1,fill:`none`,w:21600,h:21600}],path:`M 0.00 192.43C 86.09,217.98 86.09,166.87 172.18,166.87L 172.18 34.03L 0.00 34.03ZM 14.19 34.03L 14.19 16.81L 185.19 16.81L 185.19 150.48C 178.69,150.48 172.18,151.41 172.18,151.41L 172.18 34.03ZM 27.52 16.81L 27.52 0.00L 200.00 0.00L 200.00 133.26C 192.59,133.26 185.19,133.95 185.19,133.95L 185.19 16.81ZM 0.00 34.03L 172.18 34.03L 172.18 166.87C 86.09,166.87 86.09,217.98 0.00,192.43ZM 14.19 34.03L 14.19 16.81L 185.19 16.81L 185.19 150.48C 178.69,150.48 172.18,151.41 172.18,151.41M 27.52 16.81L 27.52 0.00L 200.00 0.00L 200.00 133.26C 192.59,133.26 185.19,133.95 185.19,133.95M 0.00 192.43C 86.09,217.98 86.09,166.87 172.18,166.87L 172.18 151.41C 172.18,151.41 178.69,150.48 185.19,150.48L 185.19 133.95C 185.19,133.95 192.59,133.26 200.00,133.26L 200.00 0.00L 27.52 0.00L 27.52 16.81L 14.19 16.81L 14.19 34.03L 0.00 34.03Z`,range:[],relative:[]},flowChartOfflineStorage:{type:`flowChartOfflineStorage`,defaultValue:[],adjustmentNames:[],params:[{name:`x4`,fmla:`*/ w 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:2,y:0},{type:`lnTo`,x:1,y:2},{type:`close`}],stroke:!1,fill:`norm`,w:2,h:2},{path:[{type:`moveTo`,x:2,y:4},{type:`lnTo`,x:3,y:4}],stroke:!0,fill:`none`,w:5,h:5},{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:2,y:0},{type:`lnTo`,x:1,y:2},{type:`close`}],stroke:!0,fill:`none`,w:2,h:2}],path:`M 0.00 0.00L 200.00 0.00L 100.00 200.00ZM 80.00 160.00L 120.00 160.00M 0.00 0.00L 200.00 0.00L 100.00 200.00Z`,range:[],relative:[]},flowChartOffpageConnector:{type:`flowChartOffpageConnector`,defaultValue:[],adjustmentNames:[],params:[{name:`y1`,fmla:`*/ h 4 5`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:10,y:0},{type:`lnTo`,x:10,y:8},{type:`lnTo`,x:5,y:10},{type:`lnTo`,x:0,y:8},{type:`close`}],stroke:!0,fill:`norm`,w:10,h:10}],path:`M 0.00 0.00L 200.00 0.00L 200.00 160.00L 100.00 200.00L 0.00 160.00Z`,range:[],relative:[]},flowChartOnlineStorage:{type:`flowChartOnlineStorage`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 5 6`}],ranges:[],paths:[{path:[{type:`moveTo`,x:1,y:0},{type:`lnTo`,x:6,y:0},{type:`arcTo`,wR:1,hR:3,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:1,y:6},{type:`arcTo`,wR:1,hR:3,stAng:`cd4`,swAng:`cd2`},{type:`close`}],stroke:!0,fill:`norm`,w:6,h:6}],path:`M 33.33 0.00L 200.00 0.00A 33.33 100.00 0 0 0 200.00 200.00L 33.33 200.00A 33.33 100.00 0 0 1 33.33 0.00Z`,range:[],relative:[]},flowChartOr:{type:`flowChartOr`,defaultValue:[],adjustmentNames:[],params:[{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`hc`,y:`b`},{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`r`,y:`vc`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 100.00 0.00L 100.00 200.00M 0.00 100.00L 200.00 100.00M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z`,range:[],relative:[]},flowChartPredefinedProcess:{type:`flowChartPredefinedProcess`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 7 8`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:1,y:1},{type:`lnTo`,x:0,y:1},{type:`close`}],stroke:!1,fill:`norm`,w:1,h:1},{path:[{type:`moveTo`,x:1,y:0},{type:`lnTo`,x:1,y:8},{type:`moveTo`,x:7,y:0},{type:`lnTo`,x:7,y:8}],stroke:!0,fill:`none`,w:8,h:8},{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:1,y:1},{type:`lnTo`,x:0,y:1},{type:`close`}],stroke:!0,fill:`none`,w:1,h:1}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 0.00L 25.00 200.00M 175.00 0.00L 175.00 200.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},flowChartPreparation:{type:`flowChartPreparation`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 4 5`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:5},{type:`lnTo`,x:2,y:0},{type:`lnTo`,x:8,y:0},{type:`lnTo`,x:10,y:5},{type:`lnTo`,x:8,y:10},{type:`lnTo`,x:2,y:10},{type:`close`}],stroke:!0,fill:`norm`,w:10,h:10}],path:`M 0.00 100.00L 40.00 0.00L 160.00 0.00L 200.00 100.00L 160.00 200.00L 40.00 200.00Z`,range:[],relative:[]},flowChartProcess:{type:`flowChartProcess`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:0},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:1,y:1},{type:`lnTo`,x:0,y:1},{type:`close`}],stroke:!0,fill:`norm`,w:1,h:1}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},flowChartPunchedCard:{type:`flowChartPunchedCard`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:5,y:0},{type:`lnTo`,x:5,y:5},{type:`lnTo`,x:0,y:5},{type:`close`}],stroke:!0,fill:`norm`,w:5,h:5}],path:`M 0.00 40.00L 40.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},flowChartPunchedTape:{type:`flowChartPunchedTape`,defaultValue:[],adjustmentNames:[],params:[{name:`y2`,fmla:`*/ h 9 10`},{name:`ib`,fmla:`*/ h 4 5`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:2},{type:`arcTo`,wR:5,hR:2,stAng:`cd2`,swAng:-108e5},{type:`arcTo`,wR:5,hR:2,stAng:`cd2`,swAng:`cd2`},{type:`lnTo`,x:20,y:18},{type:`arcTo`,wR:5,hR:2,stAng:0,swAng:-108e5},{type:`arcTo`,wR:5,hR:2,stAng:0,swAng:`cd2`},{type:`close`}],stroke:!0,fill:`norm`,w:20,h:20}],path:`M 0.00 20.00A 50.00 20.00 0 0 0 100.00 20.00A 50.00 20.00 0 0 1 200.00 20.00L 200.00 180.00A 50.00 20.00 0 0 0 100.00 180.00A 50.00 20.00 0 0 1 0.00 180.00Z`,range:[],relative:[]},flowChartSort:{type:`flowChartSort`,defaultValue:[],adjustmentNames:[],params:[{name:`ir`,fmla:`*/ w 3 4`},{name:`ib`,fmla:`*/ h 3 4`}],ranges:[],paths:[{path:[{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:2,y:1},{type:`lnTo`,x:1,y:2},{type:`close`}],stroke:!1,fill:`norm`,w:2,h:2},{path:[{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:2,y:1}],stroke:!0,fill:`none`,w:2,h:2},{path:[{type:`moveTo`,x:0,y:1},{type:`lnTo`,x:1,y:0},{type:`lnTo`,x:2,y:1},{type:`lnTo`,x:1,y:2},{type:`close`}],stroke:!0,fill:`none`,w:2,h:2}],path:`M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00ZM 0.00 100.00L 200.00 100.00M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00Z`,range:[],relative:[]},flowChartSummingJunction:{type:`flowChartSummingJunction`,defaultValue:[],adjustmentNames:[],params:[{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`il`,y:`it`},{type:`lnTo`,x:`ir`,y:`ib`},{type:`moveTo`,x:`ir`,y:`it`},{type:`lnTo`,x:`il`,y:`ib`}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 29.29 29.29L 170.71 170.71M 170.71 29.29L 29.29 170.71M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z`,range:[],relative:[]},flowChartTerminator:{type:`flowChartTerminator`,defaultValue:[],adjustmentNames:[],params:[{name:`il`,fmla:`*/ w 1018 21600`},{name:`ir`,fmla:`*/ w 20582 21600`},{name:`it`,fmla:`*/ h 3163 21600`},{name:`ib`,fmla:`*/ h 18437 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:3475,y:0},{type:`lnTo`,x:18125,y:0},{type:`arcTo`,wR:3475,hR:10800,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:3475,y:21600},{type:`arcTo`,wR:3475,hR:10800,stAng:`cd4`,swAng:`cd2`},{type:`close`}],stroke:!0,fill:`norm`,w:21600,h:21600}],path:`M 32.18 0.00L 167.82 0.00A 32.18 100.00 0 0 1 167.82 200.00L 32.18 200.00A 32.18 100.00 0 0 1 32.18 0.00Z`,range:[],relative:[]},foldedCorner:{type:`foldedCorner`,defaultValue:[16667],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dy2`,fmla:`*/ ss a 100000`},{name:`dy1`,fmla:`*/ dy2 1 5`},{name:`x1`,fmla:`+- r 0 dy2`},{name:`x2`,fmla:`+- x1 dy1 0`},{name:`y2`,fmla:`+- b 0 dy2`},{name:`y1`,fmla:`+- y2 dy1 0`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`r`,y:`y2`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`lnTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`y2`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 166.67L 166.67 200.00L 0.00 200.00ZM 166.67 200.00L 173.33 173.33L 200.00 166.67ZM 166.67 200.00L 173.33 173.33L 200.00 166.67L 166.67 200.00L 0.00 200.00L 0.00 0.00L 200.00 0.00L 200.00 166.67`,range:[[0,5e4]],relative:[`x`]},frame:{type:`frame`,defaultValue:[12500],adjustmentNames:[`adj1`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`x1`,fmla:`*/ ss a1 100000`},{name:`x4`,fmla:`+- r 0 x1`},{name:`y4`,fmla:`+- b 0 x1`}],ranges:[{x:{name:`adj1`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`},{type:`moveTo`,x:`x1`,y:`x1`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`x4`,y:`x1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 25.00L 25.00 175.00L 175.00 175.00L 175.00 25.00Z`,range:[[0,5e4]],relative:[`x`]},funnel:{type:`funnel`,defaultValue:[],adjustmentNames:[],params:[{name:`d`,fmla:`*/ ss 1 20`},{name:`rw2`,fmla:`+- wd2 0 d`},{name:`rh2`,fmla:`+- hd4 0 d`},{name:`t1`,fmla:`cos wd2 480000`},{name:`t2`,fmla:`sin hd4 480000`},{name:`da`,fmla:`at2 t1 t2`},{name:`2da`,fmla:`*/ da 2 1`},{name:`stAng1`,fmla:`+- cd2 0 da`},{name:`swAng1`,fmla:`+- cd2 2da 0`},{name:`swAng3`,fmla:`+- cd2 0 2da`},{name:`rw3`,fmla:`*/ wd2 1 4`},{name:`rh3`,fmla:`*/ hd4 1 4`},{name:`ct1`,fmla:`cos hd4 stAng1`},{name:`st1`,fmla:`sin wd2 stAng1`},{name:`m1`,fmla:`mod ct1 st1 0`},{name:`n1`,fmla:`*/ wd2 hd4 m1`},{name:`dx1`,fmla:`cos n1 stAng1`},{name:`dy1`,fmla:`sin n1 stAng1`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- hd4 dy1 0`},{name:`ct3`,fmla:`cos rh3 da`},{name:`st3`,fmla:`sin rw3 da`},{name:`m3`,fmla:`mod ct3 st3 0`},{name:`n3`,fmla:`*/ rw3 rh3 m3`},{name:`dx3`,fmla:`cos n3 da`},{name:`dy3`,fmla:`sin n3 da`},{name:`x3`,fmla:`+- hc dx3 0`},{name:`vc3`,fmla:`+- b 0 rh3`},{name:`y2`,fmla:`+- vc3 dy3 0`},{name:`x2`,fmla:`+- wd2 0 rw2`},{name:`cd`,fmla:`*/ cd2 2 1`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd4`,stAng:`stAng1`,swAng:`swAng1`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`arcTo`,wR:`rw3`,hR:`rh3`,stAng:`da`,swAng:`swAng3`},{type:`close`},{type:`moveTo`,x:`x2`,y:`hd4`},{type:`arcTo`,wR:`rw2`,hR:`rh2`,stAng:`cd2`,swAng:-216e5},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.97 56.96A 100.00 50.00 0 1 1 199.03 56.96L 124.76 189.24A 25.00 12.50 0 0 1 75.24 189.24ZM 10.00 50.00A 90.00 40.00 0 1 0 10.00 49.61Z`,range:[],relative:[]},gear6:{type:`gear6`,defaultValue:[15e3,3526],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 20000`},{name:`a2`,fmla:`pin 0 adj2 5358`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`lFD`,fmla:`*/ ss a2 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`l2`,fmla:`*/ lFD 1 2`},{name:`l3`,fmla:`+- th2 l2 0`},{name:`rh`,fmla:`+- hd2 0 th`},{name:`rw`,fmla:`+- wd2 0 th`},{name:`dr`,fmla:`+- rw 0 rh`},{name:`maxr`,fmla:`?: dr rh rw`},{name:`ha`,fmla:`at2 maxr l3`},{name:`aA1`,fmla:`+- 19800000 0 ha`},{name:`aD1`,fmla:`+- 19800000 ha 0`},{name:`ta11`,fmla:`cos rw aA1`},{name:`ta12`,fmla:`sin rh aA1`},{name:`bA1`,fmla:`at2 ta11 ta12`},{name:`cta1`,fmla:`cos rh bA1`},{name:`sta1`,fmla:`sin rw bA1`},{name:`ma1`,fmla:`mod cta1 sta1 0`},{name:`na1`,fmla:`*/ rw rh ma1`},{name:`dxa1`,fmla:`cos na1 bA1`},{name:`dya1`,fmla:`sin na1 bA1`},{name:`xA1`,fmla:`+- hc dxa1 0`},{name:`yA1`,fmla:`+- vc dya1 0`},{name:`td11`,fmla:`cos rw aD1`},{name:`td12`,fmla:`sin rh aD1`},{name:`bD1`,fmla:`at2 td11 td12`},{name:`ctd1`,fmla:`cos rh bD1`},{name:`std1`,fmla:`sin rw bD1`},{name:`md1`,fmla:`mod ctd1 std1 0`},{name:`nd1`,fmla:`*/ rw rh md1`},{name:`dxd1`,fmla:`cos nd1 bD1`},{name:`dyd1`,fmla:`sin nd1 bD1`},{name:`xD1`,fmla:`+- hc dxd1 0`},{name:`yD1`,fmla:`+- vc dyd1 0`},{name:`xAD1`,fmla:`+- xA1 0 xD1`},{name:`yAD1`,fmla:`+- yA1 0 yD1`},{name:`lAD1`,fmla:`mod xAD1 yAD1 0`},{name:`a1`,fmla:`at2 yAD1 xAD1`},{name:`dxF1`,fmla:`sin lFD a1`},{name:`dyF1`,fmla:`cos lFD a1`},{name:`xF1`,fmla:`+- xD1 dxF1 0`},{name:`yF1`,fmla:`+- yD1 dyF1 0`},{name:`xE1`,fmla:`+- xA1 0 dxF1`},{name:`yE1`,fmla:`+- yA1 0 dyF1`},{name:`yC1t`,fmla:`sin th a1`},{name:`xC1t`,fmla:`cos th a1`},{name:`yC1`,fmla:`+- yF1 yC1t 0`},{name:`xC1`,fmla:`+- xF1 0 xC1t`},{name:`yB1`,fmla:`+- yE1 yC1t 0`},{name:`xB1`,fmla:`+- xE1 0 xC1t`},{name:`aD6`,fmla:`+- 3cd4 ha 0`},{name:`td61`,fmla:`cos rw aD6`},{name:`td62`,fmla:`sin rh aD6`},{name:`bD6`,fmla:`at2 td61 td62`},{name:`ctd6`,fmla:`cos rh bD6`},{name:`std6`,fmla:`sin rw bD6`},{name:`md6`,fmla:`mod ctd6 std6 0`},{name:`nd6`,fmla:`*/ rw rh md6`},{name:`dxd6`,fmla:`cos nd6 bD6`},{name:`dyd6`,fmla:`sin nd6 bD6`},{name:`xD6`,fmla:`+- hc dxd6 0`},{name:`yD6`,fmla:`+- vc dyd6 0`},{name:`xA6`,fmla:`+- hc 0 dxd6`},{name:`xF6`,fmla:`+- xD6 0 lFD`},{name:`xE6`,fmla:`+- xA6 lFD 0`},{name:`yC6`,fmla:`+- yD6 0 th`},{name:`swAng1`,fmla:`+- bA1 0 bD6`},{name:`aA2`,fmla:`+- 1800000 0 ha`},{name:`aD2`,fmla:`+- 1800000 ha 0`},{name:`ta21`,fmla:`cos rw aA2`},{name:`ta22`,fmla:`sin rh aA2`},{name:`bA2`,fmla:`at2 ta21 ta22`},{name:`yA2`,fmla:`+- h 0 yD1`},{name:`td21`,fmla:`cos rw aD2`},{name:`td22`,fmla:`sin rh aD2`},{name:`bD2`,fmla:`at2 td21 td22`},{name:`yD2`,fmla:`+- h 0 yA1`},{name:`yC2`,fmla:`+- h 0 yB1`},{name:`yB2`,fmla:`+- h 0 yC1`},{name:`xB2`,fmla:`val xC1`},{name:`swAng2`,fmla:`+- bA2 0 bD1`},{name:`aD3`,fmla:`+- cd4 ha 0`},{name:`td31`,fmla:`cos rw aD3`},{name:`td32`,fmla:`sin rh aD3`},{name:`bD3`,fmla:`at2 td31 td32`},{name:`yD3`,fmla:`+- h 0 yD6`},{name:`yB3`,fmla:`+- h 0 yC6`},{name:`aD4`,fmla:`+- 9000000 ha 0`},{name:`td41`,fmla:`cos rw aD4`},{name:`td42`,fmla:`sin rh aD4`},{name:`bD4`,fmla:`at2 td41 td42`},{name:`xD4`,fmla:`+- w 0 xD1`},{name:`xC4`,fmla:`+- w 0 xC1`},{name:`xB4`,fmla:`+- w 0 xB1`},{name:`aD5`,fmla:`+- 12600000 ha 0`},{name:`td51`,fmla:`cos rw aD5`},{name:`td52`,fmla:`sin rh aD5`},{name:`bD5`,fmla:`at2 td51 td52`},{name:`xD5`,fmla:`+- w 0 xA1`},{name:`xC5`,fmla:`+- w 0 xB1`},{name:`xB5`,fmla:`+- w 0 xC1`},{name:`xCxn1`,fmla:`+/ xB1 xC1 2`},{name:`yCxn1`,fmla:`+/ yB1 yC1 2`},{name:`yCxn2`,fmla:`+- b 0 yCxn1`},{name:`xCxn4`,fmla:`+/ r 0 xCxn1`}],ranges:[{y:{name:`adj1`,min:0,max:2e4},pos:{x:`xD6`,y:`yD6`}},{x:{name:`adj2`,min:0,max:5358},pos:{x:`xA6`,y:`yD6`}}],paths:[{path:[{type:`moveTo`,x:`xA1`,y:`yA1`},{type:`lnTo`,x:`xB1`,y:`yB1`},{type:`lnTo`,x:`xC1`,y:`yC1`},{type:`lnTo`,x:`xD1`,y:`yD1`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD1`,swAng:`swAng2`},{type:`lnTo`,x:`xC1`,y:`yB2`},{type:`lnTo`,x:`xB1`,y:`yC2`},{type:`lnTo`,x:`xA1`,y:`yD2`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD2`,swAng:`swAng1`},{type:`lnTo`,x:`xF6`,y:`yB3`},{type:`lnTo`,x:`xE6`,y:`yB3`},{type:`lnTo`,x:`xA6`,y:`yD3`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD3`,swAng:`swAng1`},{type:`lnTo`,x:`xB4`,y:`yC2`},{type:`lnTo`,x:`xC4`,y:`yB2`},{type:`lnTo`,x:`xD4`,y:`yA2`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD4`,swAng:`swAng2`},{type:`lnTo`,x:`xB5`,y:`yC1`},{type:`lnTo`,x:`xC5`,y:`yB1`},{type:`lnTo`,x:`xD5`,y:`yA1`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD5`,swAng:`swAng1`},{type:`lnTo`,x:`xE6`,y:`yC6`},{type:`lnTo`,x:`xF6`,y:`yC6`},{type:`lnTo`,x:`xD6`,y:`yD6`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD6`,swAng:`swAng1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 149.65 50.65L 179.16 41.76L 190.01 60.57L 167.56 81.67A 70.00 70.00 0 0 1 167.56 118.33L 190.01 139.43L 179.16 158.24L 149.65 149.35A 70.00 70.00 0 0 1 117.91 167.67L 110.86 197.67L 89.14 197.67L 82.09 167.67A 70.00 70.00 0 0 1 50.35 149.35L 20.84 158.24L 9.99 139.43L 32.44 118.33A 70.00 70.00 0 0 1 32.44 81.67L 9.99 60.57L 20.84 41.76L 50.35 50.65A 70.00 70.00 0 0 1 82.09 32.33L 89.14 2.33L 110.86 2.33L 117.91 32.33A 70.00 70.00 0 0 1 149.65 50.65Z`,range:[[0,2e4],[0,5358]],relative:[`y`,`x`]},gear9:{type:`gear9`,defaultValue:[1e4,1763],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 20000`},{name:`a2`,fmla:`pin 0 adj2 2679`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`lFD`,fmla:`*/ ss a2 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`l2`,fmla:`*/ lFD 1 2`},{name:`l3`,fmla:`+- th2 l2 0`},{name:`rh`,fmla:`+- hd2 0 th`},{name:`rw`,fmla:`+- wd2 0 th`},{name:`dr`,fmla:`+- rw 0 rh`},{name:`maxr`,fmla:`?: dr rh rw`},{name:`ha`,fmla:`at2 maxr l3`},{name:`aA1`,fmla:`+- 18600000 0 ha`},{name:`aD1`,fmla:`+- 18600000 ha 0`},{name:`ta11`,fmla:`cos rw aA1`},{name:`ta12`,fmla:`sin rh aA1`},{name:`bA1`,fmla:`at2 ta11 ta12`},{name:`cta1`,fmla:`cos rh bA1`},{name:`sta1`,fmla:`sin rw bA1`},{name:`ma1`,fmla:`mod cta1 sta1 0`},{name:`na1`,fmla:`*/ rw rh ma1`},{name:`dxa1`,fmla:`cos na1 bA1`},{name:`dya1`,fmla:`sin na1 bA1`},{name:`xA1`,fmla:`+- hc dxa1 0`},{name:`yA1`,fmla:`+- vc dya1 0`},{name:`td11`,fmla:`cos rw aD1`},{name:`td12`,fmla:`sin rh aD1`},{name:`bD1`,fmla:`at2 td11 td12`},{name:`ctd1`,fmla:`cos rh bD1`},{name:`std1`,fmla:`sin rw bD1`},{name:`md1`,fmla:`mod ctd1 std1 0`},{name:`nd1`,fmla:`*/ rw rh md1`},{name:`dxd1`,fmla:`cos nd1 bD1`},{name:`dyd1`,fmla:`sin nd1 bD1`},{name:`xD1`,fmla:`+- hc dxd1 0`},{name:`yD1`,fmla:`+- vc dyd1 0`},{name:`xAD1`,fmla:`+- xA1 0 xD1`},{name:`yAD1`,fmla:`+- yA1 0 yD1`},{name:`lAD1`,fmla:`mod xAD1 yAD1 0`},{name:`a1`,fmla:`at2 yAD1 xAD1`},{name:`dxF1`,fmla:`sin lFD a1`},{name:`dyF1`,fmla:`cos lFD a1`},{name:`xF1`,fmla:`+- xD1 dxF1 0`},{name:`yF1`,fmla:`+- yD1 dyF1 0`},{name:`xE1`,fmla:`+- xA1 0 dxF1`},{name:`yE1`,fmla:`+- yA1 0 dyF1`},{name:`yC1t`,fmla:`sin th a1`},{name:`xC1t`,fmla:`cos th a1`},{name:`yC1`,fmla:`+- yF1 yC1t 0`},{name:`xC1`,fmla:`+- xF1 0 xC1t`},{name:`yB1`,fmla:`+- yE1 yC1t 0`},{name:`xB1`,fmla:`+- xE1 0 xC1t`},{name:`aA2`,fmla:`+- 21000000 0 ha`},{name:`aD2`,fmla:`+- 21000000 ha 0`},{name:`ta21`,fmla:`cos rw aA2`},{name:`ta22`,fmla:`sin rh aA2`},{name:`bA2`,fmla:`at2 ta21 ta22`},{name:`cta2`,fmla:`cos rh bA2`},{name:`sta2`,fmla:`sin rw bA2`},{name:`ma2`,fmla:`mod cta2 sta2 0`},{name:`na2`,fmla:`*/ rw rh ma2`},{name:`dxa2`,fmla:`cos na2 bA2`},{name:`dya2`,fmla:`sin na2 bA2`},{name:`xA2`,fmla:`+- hc dxa2 0`},{name:`yA2`,fmla:`+- vc dya2 0`},{name:`td21`,fmla:`cos rw aD2`},{name:`td22`,fmla:`sin rh aD2`},{name:`bD2`,fmla:`at2 td21 td22`},{name:`ctd2`,fmla:`cos rh bD2`},{name:`std2`,fmla:`sin rw bD2`},{name:`md2`,fmla:`mod ctd2 std2 0`},{name:`nd2`,fmla:`*/ rw rh md2`},{name:`dxd2`,fmla:`cos nd2 bD2`},{name:`dyd2`,fmla:`sin nd2 bD2`},{name:`xD2`,fmla:`+- hc dxd2 0`},{name:`yD2`,fmla:`+- vc dyd2 0`},{name:`xAD2`,fmla:`+- xA2 0 xD2`},{name:`yAD2`,fmla:`+- yA2 0 yD2`},{name:`lAD2`,fmla:`mod xAD2 yAD2 0`},{name:`a2`,fmla:`at2 yAD2 xAD2`},{name:`dxF2`,fmla:`sin lFD a2`},{name:`dyF2`,fmla:`cos lFD a2`},{name:`xF2`,fmla:`+- xD2 dxF2 0`},{name:`yF2`,fmla:`+- yD2 dyF2 0`},{name:`xE2`,fmla:`+- xA2 0 dxF2`},{name:`yE2`,fmla:`+- yA2 0 dyF2`},{name:`yC2t`,fmla:`sin th a2`},{name:`xC2t`,fmla:`cos th a2`},{name:`yC2`,fmla:`+- yF2 yC2t 0`},{name:`xC2`,fmla:`+- xF2 0 xC2t`},{name:`yB2`,fmla:`+- yE2 yC2t 0`},{name:`xB2`,fmla:`+- xE2 0 xC2t`},{name:`swAng1`,fmla:`+- bA2 0 bD1`},{name:`aA3`,fmla:`+- 1800000 0 ha`},{name:`aD3`,fmla:`+- 1800000 ha 0`},{name:`ta31`,fmla:`cos rw aA3`},{name:`ta32`,fmla:`sin rh aA3`},{name:`bA3`,fmla:`at2 ta31 ta32`},{name:`cta3`,fmla:`cos rh bA3`},{name:`sta3`,fmla:`sin rw bA3`},{name:`ma3`,fmla:`mod cta3 sta3 0`},{name:`na3`,fmla:`*/ rw rh ma3`},{name:`dxa3`,fmla:`cos na3 bA3`},{name:`dya3`,fmla:`sin na3 bA3`},{name:`xA3`,fmla:`+- hc dxa3 0`},{name:`yA3`,fmla:`+- vc dya3 0`},{name:`td31`,fmla:`cos rw aD3`},{name:`td32`,fmla:`sin rh aD3`},{name:`bD3`,fmla:`at2 td31 td32`},{name:`ctd3`,fmla:`cos rh bD3`},{name:`std3`,fmla:`sin rw bD3`},{name:`md3`,fmla:`mod ctd3 std3 0`},{name:`nd3`,fmla:`*/ rw rh md3`},{name:`dxd3`,fmla:`cos nd3 bD3`},{name:`dyd3`,fmla:`sin nd3 bD3`},{name:`xD3`,fmla:`+- hc dxd3 0`},{name:`yD3`,fmla:`+- vc dyd3 0`},{name:`xAD3`,fmla:`+- xA3 0 xD3`},{name:`yAD3`,fmla:`+- yA3 0 yD3`},{name:`lAD3`,fmla:`mod xAD3 yAD3 0`},{name:`a3`,fmla:`at2 yAD3 xAD3`},{name:`dxF3`,fmla:`sin lFD a3`},{name:`dyF3`,fmla:`cos lFD a3`},{name:`xF3`,fmla:`+- xD3 dxF3 0`},{name:`yF3`,fmla:`+- yD3 dyF3 0`},{name:`xE3`,fmla:`+- xA3 0 dxF3`},{name:`yE3`,fmla:`+- yA3 0 dyF3`},{name:`yC3t`,fmla:`sin th a3`},{name:`xC3t`,fmla:`cos th a3`},{name:`yC3`,fmla:`+- yF3 yC3t 0`},{name:`xC3`,fmla:`+- xF3 0 xC3t`},{name:`yB3`,fmla:`+- yE3 yC3t 0`},{name:`xB3`,fmla:`+- xE3 0 xC3t`},{name:`swAng2`,fmla:`+- bA3 0 bD2`},{name:`aA4`,fmla:`+- 4200000 0 ha`},{name:`aD4`,fmla:`+- 4200000 ha 0`},{name:`ta41`,fmla:`cos rw aA4`},{name:`ta42`,fmla:`sin rh aA4`},{name:`bA4`,fmla:`at2 ta41 ta42`},{name:`cta4`,fmla:`cos rh bA4`},{name:`sta4`,fmla:`sin rw bA4`},{name:`ma4`,fmla:`mod cta4 sta4 0`},{name:`na4`,fmla:`*/ rw rh ma4`},{name:`dxa4`,fmla:`cos na4 bA4`},{name:`dya4`,fmla:`sin na4 bA4`},{name:`xA4`,fmla:`+- hc dxa4 0`},{name:`yA4`,fmla:`+- vc dya4 0`},{name:`td41`,fmla:`cos rw aD4`},{name:`td42`,fmla:`sin rh aD4`},{name:`bD4`,fmla:`at2 td41 td42`},{name:`ctd4`,fmla:`cos rh bD4`},{name:`std4`,fmla:`sin rw bD4`},{name:`md4`,fmla:`mod ctd4 std4 0`},{name:`nd4`,fmla:`*/ rw rh md4`},{name:`dxd4`,fmla:`cos nd4 bD4`},{name:`dyd4`,fmla:`sin nd4 bD4`},{name:`xD4`,fmla:`+- hc dxd4 0`},{name:`yD4`,fmla:`+- vc dyd4 0`},{name:`xAD4`,fmla:`+- xA4 0 xD4`},{name:`yAD4`,fmla:`+- yA4 0 yD4`},{name:`lAD4`,fmla:`mod xAD4 yAD4 0`},{name:`a4`,fmla:`at2 yAD4 xAD4`},{name:`dxF4`,fmla:`sin lFD a4`},{name:`dyF4`,fmla:`cos lFD a4`},{name:`xF4`,fmla:`+- xD4 dxF4 0`},{name:`yF4`,fmla:`+- yD4 dyF4 0`},{name:`xE4`,fmla:`+- xA4 0 dxF4`},{name:`yE4`,fmla:`+- yA4 0 dyF4`},{name:`yC4t`,fmla:`sin th a4`},{name:`xC4t`,fmla:`cos th a4`},{name:`yC4`,fmla:`+- yF4 yC4t 0`},{name:`xC4`,fmla:`+- xF4 0 xC4t`},{name:`yB4`,fmla:`+- yE4 yC4t 0`},{name:`xB4`,fmla:`+- xE4 0 xC4t`},{name:`swAng3`,fmla:`+- bA4 0 bD3`},{name:`aA5`,fmla:`+- 6600000 0 ha`},{name:`aD5`,fmla:`+- 6600000 ha 0`},{name:`ta51`,fmla:`cos rw aA5`},{name:`ta52`,fmla:`sin rh aA5`},{name:`bA5`,fmla:`at2 ta51 ta52`},{name:`td51`,fmla:`cos rw aD5`},{name:`td52`,fmla:`sin rh aD5`},{name:`bD5`,fmla:`at2 td51 td52`},{name:`xD5`,fmla:`+- w 0 xA4`},{name:`xC5`,fmla:`+- w 0 xB4`},{name:`xB5`,fmla:`+- w 0 xC4`},{name:`swAng4`,fmla:`+- bA5 0 bD4`},{name:`aD6`,fmla:`+- 9000000 ha 0`},{name:`td61`,fmla:`cos rw aD6`},{name:`td62`,fmla:`sin rh aD6`},{name:`bD6`,fmla:`at2 td61 td62`},{name:`xD6`,fmla:`+- w 0 xA3`},{name:`xC6`,fmla:`+- w 0 xB3`},{name:`xB6`,fmla:`+- w 0 xC3`},{name:`aD7`,fmla:`+- 11400000 ha 0`},{name:`td71`,fmla:`cos rw aD7`},{name:`td72`,fmla:`sin rh aD7`},{name:`bD7`,fmla:`at2 td71 td72`},{name:`xD7`,fmla:`+- w 0 xA2`},{name:`xC7`,fmla:`+- w 0 xB2`},{name:`xB7`,fmla:`+- w 0 xC2`},{name:`aD8`,fmla:`+- 13800000 ha 0`},{name:`td81`,fmla:`cos rw aD8`},{name:`td82`,fmla:`sin rh aD8`},{name:`bD8`,fmla:`at2 td81 td82`},{name:`xA8`,fmla:`+- w 0 xD1`},{name:`xD8`,fmla:`+- w 0 xA1`},{name:`xC8`,fmla:`+- w 0 xB1`},{name:`xB8`,fmla:`+- w 0 xC1`},{name:`aA9`,fmla:`+- 3cd4 0 ha`},{name:`aD9`,fmla:`+- 3cd4 ha 0`},{name:`td91`,fmla:`cos rw aD9`},{name:`td92`,fmla:`sin rh aD9`},{name:`bD9`,fmla:`at2 td91 td92`},{name:`ctd9`,fmla:`cos rh bD9`},{name:`std9`,fmla:`sin rw bD9`},{name:`md9`,fmla:`mod ctd9 std9 0`},{name:`nd9`,fmla:`*/ rw rh md9`},{name:`dxd9`,fmla:`cos nd9 bD9`},{name:`dyd9`,fmla:`sin nd9 bD9`},{name:`xD9`,fmla:`+- hc dxd9 0`},{name:`yD9`,fmla:`+- vc dyd9 0`},{name:`ta91`,fmla:`cos rw aA9`},{name:`ta92`,fmla:`sin rh aA9`},{name:`bA9`,fmla:`at2 ta91 ta92`},{name:`xA9`,fmla:`+- hc 0 dxd9`},{name:`xF9`,fmla:`+- xD9 0 lFD`},{name:`xE9`,fmla:`+- xA9 lFD 0`},{name:`yC9`,fmla:`+- yD9 0 th`},{name:`swAng5`,fmla:`+- bA9 0 bD8`},{name:`xCxn1`,fmla:`+/ xB1 xC1 2`},{name:`yCxn1`,fmla:`+/ yB1 yC1 2`},{name:`xCxn2`,fmla:`+/ xB2 xC2 2`},{name:`yCxn2`,fmla:`+/ yB2 yC2 2`},{name:`xCxn3`,fmla:`+/ xB3 xC3 2`},{name:`yCxn3`,fmla:`+/ yB3 yC3 2`},{name:`xCxn4`,fmla:`+/ xB4 xC4 2`},{name:`yCxn4`,fmla:`+/ yB4 yC4 2`},{name:`xCxn5`,fmla:`+/ r 0 xCxn4`},{name:`xCxn6`,fmla:`+/ r 0 xCxn3`},{name:`xCxn7`,fmla:`+/ r 0 xCxn2`},{name:`xCxn8`,fmla:`+/ r 0 xCxn1`}],ranges:[{y:{name:`adj1`,min:0,max:2e4},pos:{x:`xD9`,y:`yD9`}},{x:{name:`adj2`,min:0,max:2679},pos:{x:`xA9`,y:`yD9`}}],paths:[{path:[{type:`moveTo`,x:`xA1`,y:`yA1`},{type:`lnTo`,x:`xB1`,y:`yB1`},{type:`lnTo`,x:`xC1`,y:`yC1`},{type:`lnTo`,x:`xD1`,y:`yD1`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD1`,swAng:`swAng1`},{type:`lnTo`,x:`xB2`,y:`yB2`},{type:`lnTo`,x:`xC2`,y:`yC2`},{type:`lnTo`,x:`xD2`,y:`yD2`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD2`,swAng:`swAng2`},{type:`lnTo`,x:`xB3`,y:`yB3`},{type:`lnTo`,x:`xC3`,y:`yC3`},{type:`lnTo`,x:`xD3`,y:`yD3`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD3`,swAng:`swAng3`},{type:`lnTo`,x:`xB4`,y:`yB4`},{type:`lnTo`,x:`xC4`,y:`yC4`},{type:`lnTo`,x:`xD4`,y:`yD4`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD4`,swAng:`swAng4`},{type:`lnTo`,x:`xB5`,y:`yC4`},{type:`lnTo`,x:`xC5`,y:`yB4`},{type:`lnTo`,x:`xD5`,y:`yA4`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD5`,swAng:`swAng3`},{type:`lnTo`,x:`xB6`,y:`yC3`},{type:`lnTo`,x:`xC6`,y:`yB3`},{type:`lnTo`,x:`xD6`,y:`yA3`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD6`,swAng:`swAng2`},{type:`lnTo`,x:`xB7`,y:`yC2`},{type:`lnTo`,x:`xC7`,y:`yB2`},{type:`lnTo`,x:`xD7`,y:`yA2`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD7`,swAng:`swAng1`},{type:`lnTo`,x:`xB8`,y:`yC1`},{type:`lnTo`,x:`xC8`,y:`yB1`},{type:`lnTo`,x:`xD8`,y:`yA1`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD8`,swAng:`swAng5`},{type:`lnTo`,x:`xE9`,y:`yC9`},{type:`lnTo`,x:`xF9`,y:`yC9`},{type:`lnTo`,x:`xD9`,y:`yD9`},{type:`arcTo`,wR:`rw`,hR:`rh`,stAng:`bD9`,swAng:`swAng5`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 141.96 31.89L 157.52 18.83L 169.95 29.26L 159.79 46.85A 80.00 80.00 0 0 1 175.93 74.79L 196.23 74.79L 199.05 90.77L 179.97 97.72A 80.00 80.00 0 0 1 174.36 129.50L 189.92 142.55L 181.81 156.60L 162.73 149.65A 80.00 80.00 0 0 1 138.01 170.40L 141.53 190.40L 126.29 195.94L 116.13 178.36A 80.00 80.00 0 0 1 83.87 178.36L 73.71 195.94L 58.47 190.40L 61.99 170.40A 80.00 80.00 0 0 1 37.27 149.65L 18.19 156.60L 10.08 142.55L 25.64 129.50A 80.00 80.00 0 0 1 20.03 97.72L 0.95 90.77L 3.77 74.79L 24.07 74.79A 80.00 80.00 0 0 1 40.21 46.85L 30.05 29.26L 42.48 18.83L 58.04 31.89A 80.00 80.00 0 0 1 88.36 20.85L 91.89 0.85L 108.11 0.85L 111.64 20.85A 80.00 80.00 0 0 1 141.96 31.89Z`,range:[[0,2e4],[0,2679]],relative:[`y`,`x`]},halfFrame:{type:`halfFrame`,defaultValue:[33333,33333],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 100000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`x1`,fmla:`*/ ss a2 100000`},{name:`g1`,fmla:`*/ h x1 w`},{name:`g2`,fmla:`+- h 0 g1`},{name:`maxAdj1`,fmla:`*/ 100000 g2 ss`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`y1`,fmla:`*/ ss a1 100000`},{name:`dx2`,fmla:`*/ y1 w h`},{name:`x2`,fmla:`+- r 0 dx2`},{name:`dy2`,fmla:`*/ x1 h w`},{name:`y2`,fmla:`+- b 0 dy2`},{name:`cx1`,fmla:`*/ x1 1 2`},{name:`cy1`,fmla:`+/ y2 b 2`},{name:`cx2`,fmla:`+/ x2 r 2`},{name:`cy2`,fmla:`*/ y1 1 2`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`l`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 200.00 0.00L 133.33 66.67L 66.67 66.67L 66.67 133.33L 0.00 200.00Z`,range:[[0,66667],[0,1e5]],relative:[`y`,`x`]},heart:{type:`heart`,defaultValue:[],adjustmentNames:[],params:[{name:`dx1`,fmla:`*/ w 49 48`},{name:`dx2`,fmla:`*/ w 10 48`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- t 0 hd3`},{name:`il`,fmla:`*/ w 1 6`},{name:`ir`,fmla:`*/ w 5 6`},{name:`ib`,fmla:`*/ h 2 3`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`hc`,y:`hd4`},{type:`cubicBezTo`,pts:[{x:`x3`,y:`y1`},{x:`x4`,y:`hd4`},{x:`hc`,y:`b`}]},{type:`cubicBezTo`,pts:[{x:`x1`,y:`hd4`},{x:`x2`,y:`y1`},{x:`hc`,y:`hd4`}]},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 100.00 50.00C 141.67,-66.67 304.17,50.00 100.00,200.00C -104.17,50.00 58.33,-66.67 100.00,50.00Z`,range:[],relative:[]},heptagon:{type:`heptagon`,defaultValue:[102572,105210],adjustmentNames:[`hf`,`vf`],params:[{name:`swd2`,fmla:`*/ wd2 hf 100000`},{name:`shd2`,fmla:`*/ hd2 vf 100000`},{name:`svc`,fmla:`*/ vc vf 100000`},{name:`dx1`,fmla:`*/ swd2 97493 100000`},{name:`dx2`,fmla:`*/ swd2 78183 100000`},{name:`dx3`,fmla:`*/ swd2 43388 100000`},{name:`dy1`,fmla:`*/ shd2 62349 100000`},{name:`dy2`,fmla:`*/ shd2 22252 100000`},{name:`dy3`,fmla:`*/ shd2 90097 100000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc dx3 0`},{name:`x5`,fmla:`+- hc dx2 0`},{name:`x6`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- svc 0 dy1`},{name:`y2`,fmla:`+- svc dy2 0`},{name:`y3`,fmla:`+- svc dy3 0`},{name:`ib`,fmla:`+- b 0 y1`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x5`,y:`y1`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M -0.00 128.62L 19.81 39.61L 100.00 0.00L 180.19 39.61L 200.00 128.62L 144.50 200.00L 55.50 200.00Z`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[``,``]},hexagon:{type:`hexagon`,defaultValue:[25e3,115470],adjustmentNames:[`adj`,`vf`],params:[{name:`maxAdj`,fmla:`*/ 50000 w ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`shd2`,fmla:`*/ hd2 vf 100000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`dy1`,fmla:`sin shd2 3600000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`q1`,fmla:`*/ maxAdj -1 2`},{name:`q2`,fmla:`+- a q1 0`},{name:`q3`,fmla:`?: q2 4 2`},{name:`q4`,fmla:`?: q2 3 2`},{name:`q5`,fmla:`?: q2 q1 0`},{name:`q6`,fmla:`+/ a q5 q1`},{name:`q7`,fmla:`*/ q6 q4 -1`},{name:`q8`,fmla:`+- q3 q7 0`},{name:`il`,fmla:`*/ w q8 24`},{name:`it`,fmla:`*/ h q8 24`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 it`}],ranges:[{x:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 50.00 0.00L 150.00 0.00L 200.00 100.00L 150.00 200.00L 50.00 200.00Z`,range:[[0,5e4],[-2147483647,2147483647]],relative:[`x`,``]},homePlate:{type:`homePlate`,defaultValue:[5e4],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 100000 w ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`dx1`,fmla:`*/ ss a 100000`},{name:`x1`,fmla:`+- r 0 dx1`},{name:`ir`,fmla:`+/ x1 r 2`},{name:`x2`,fmla:`*/ x1 1 2`}],ranges:[{x:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 0.00 200.00Z`,range:[[0,1e5]],relative:[`x`]},horizontalScroll:{type:`horizontalScroll`,defaultValue:[12500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 25000`},{name:`ch`,fmla:`*/ ss a 100000`},{name:`ch2`,fmla:`*/ ch 1 2`},{name:`ch4`,fmla:`*/ ch 1 4`},{name:`y3`,fmla:`+- ch ch2 0`},{name:`y4`,fmla:`+- ch ch 0`},{name:`y6`,fmla:`+- b 0 ch`},{name:`y7`,fmla:`+- b 0 ch2`},{name:`y5`,fmla:`+- y6 0 ch2`},{name:`x3`,fmla:`+- r 0 ch`},{name:`x4`,fmla:`+- r 0 ch2`}],ranges:[{x:{name:`adj`,min:0,max:25e3},pos:{x:`ch`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`r`,y:`ch2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x4`,y:`ch2`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:0,swAng:`cd2`},{type:`lnTo`,x:`x3`,y:`ch`},{type:`lnTo`,x:`ch2`,y:`ch`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`l`,y:`y7`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd2`,swAng:-108e5},{type:`lnTo`,x:`ch`,y:`y6`},{type:`lnTo`,x:`x4`,y:`y6`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-54e5},{type:`close`},{type:`moveTo`,x:`ch2`,y:`y4`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-54e5},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:0,swAng:-108e5},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`ch2`,y:`y4`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-54e5},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:0,swAng:-108e5},{type:`close`},{type:`moveTo`,x:`x4`,y:`ch`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-162e5},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`cd2`,swAng:-108e5},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`y3`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x3`,y:`ch`},{type:`lnTo`,x:`x3`,y:`ch2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd2`,swAng:`cd2`},{type:`lnTo`,x:`r`,y:`y5`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`ch`,y:`y6`},{type:`lnTo`,x:`ch`,y:`y7`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd2`},{type:`close`},{type:`moveTo`,x:`x3`,y:`ch`},{type:`lnTo`,x:`x4`,y:`ch`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-54e5},{type:`moveTo`,x:`x4`,y:`ch`},{type:`lnTo`,x:`x4`,y:`ch2`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:0,swAng:`cd2`},{type:`moveTo`,x:`ch2`,y:`y4`},{type:`lnTo`,x:`ch2`,y:`y3`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`cd2`,swAng:`cd2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd2`},{type:`moveTo`,x:`ch`,y:`y3`},{type:`lnTo`,x:`ch`,y:`y6`}],stroke:!0,fill:`none`}],path:`M 200.00 12.50A 12.50 12.50 0 0 1 187.50 25.00L 187.50 12.50A 6.25 6.25 0 0 1 175.00 12.50L 175.00 25.00L 12.50 25.00A 12.50 12.50 0 0 0 0.00 37.50L 0.00 187.50A 12.50 12.50 0 0 0 25.00 187.50L 25.00 175.00L 187.50 175.00A 12.50 12.50 0 0 0 200.00 162.50ZM 12.50 50.00A 12.50 12.50 0 0 0 25.00 37.50A 6.25 6.25 0 0 0 12.50 37.50ZM 12.50 50.00A 12.50 12.50 0 0 0 25.00 37.50A 6.25 6.25 0 0 0 12.50 37.50ZM 187.50 25.00A 12.50 12.50 0 1 0 175.00 12.50A 6.25 6.25 0 0 0 187.50 12.50ZM 0.00 37.50A 12.50 12.50 0 0 1 12.50 25.00L 175.00 25.00L 175.00 12.50A 12.50 12.50 0 0 1 200.00 12.50L 200.00 162.50A 12.50 12.50 0 0 1 187.50 175.00L 25.00 175.00L 25.00 187.50A 12.50 12.50 0 0 1 0.00 187.50ZM 175.00 25.00L 187.50 25.00A 12.50 12.50 0 0 0 200.00 12.50M 187.50 25.00L 187.50 12.50A 6.25 6.25 0 0 1 175.00 12.50M 12.50 50.00L 12.50 37.50A 6.25 6.25 0 0 1 25.00 37.50A 12.50 12.50 0 0 1 0.00 37.50M 25.00 37.50L 25.00 175.00`,range:[[0,25e3]],relative:[`x`]},irregularSeal1:{type:`irregularSeal1`,defaultValue:[],adjustmentNames:[],params:[{name:`x5`,fmla:`*/ w 4627 21600`},{name:`x12`,fmla:`*/ w 8485 21600`},{name:`x21`,fmla:`*/ w 16702 21600`},{name:`x24`,fmla:`*/ w 14522 21600`},{name:`y3`,fmla:`*/ h 6320 21600`},{name:`y6`,fmla:`*/ h 8615 21600`},{name:`y9`,fmla:`*/ h 13937 21600`},{name:`y18`,fmla:`*/ h 13290 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:10800,y:5800},{type:`lnTo`,x:14522,y:0},{type:`lnTo`,x:14155,y:5325},{type:`lnTo`,x:18380,y:4457},{type:`lnTo`,x:16702,y:7315},{type:`lnTo`,x:21097,y:8137},{type:`lnTo`,x:17607,y:10475},{type:`lnTo`,x:21600,y:13290},{type:`lnTo`,x:16837,y:12942},{type:`lnTo`,x:18145,y:18095},{type:`lnTo`,x:14020,y:14457},{type:`lnTo`,x:13247,y:19737},{type:`lnTo`,x:10532,y:14935},{type:`lnTo`,x:8485,y:21600},{type:`lnTo`,x:7715,y:15627},{type:`lnTo`,x:4762,y:17617},{type:`lnTo`,x:5667,y:13937},{type:`lnTo`,x:135,y:14587},{type:`lnTo`,x:3722,y:11775},{type:`lnTo`,x:0,y:8615},{type:`lnTo`,x:4627,y:7617},{type:`lnTo`,x:370,y:2295},{type:`lnTo`,x:7312,y:6320},{type:`lnTo`,x:8352,y:2295},{type:`close`}],stroke:!0,fill:`norm`,w:21600,h:21600}],path:`M 100.00 53.70L 134.46 0.00L 131.06 49.31L 170.19 41.27L 154.65 67.73L 195.34 75.34L 163.03 96.99L 200.00 123.06L 155.90 119.83L 168.01 167.55L 129.81 133.86L 122.66 182.75L 97.52 138.29L 78.56 200.00L 71.44 144.69L 44.09 163.12L 52.47 129.05L 1.25 135.06L 34.46 109.03L 0.00 79.77L 42.84 70.53L 3.43 21.25L 67.70 58.52L 77.33 21.25Z`,range:[],relative:[]},irregularSeal2:{type:`irregularSeal2`,defaultValue:[],adjustmentNames:[],params:[{name:`x2`,fmla:`*/ w 9722 21600`},{name:`x5`,fmla:`*/ w 5372 21600`},{name:`x16`,fmla:`*/ w 11612 21600`},{name:`x19`,fmla:`*/ w 14640 21600`},{name:`y2`,fmla:`*/ h 1887 21600`},{name:`y3`,fmla:`*/ h 6382 21600`},{name:`y8`,fmla:`*/ h 12877 21600`},{name:`y14`,fmla:`*/ h 19712 21600`},{name:`y16`,fmla:`*/ h 18842 21600`},{name:`y17`,fmla:`*/ h 15935 21600`},{name:`y24`,fmla:`*/ h 6645 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:11462,y:4342},{type:`lnTo`,x:14790,y:0},{type:`lnTo`,x:14525,y:5777},{type:`lnTo`,x:18007,y:3172},{type:`lnTo`,x:16380,y:6532},{type:`lnTo`,x:21600,y:6645},{type:`lnTo`,x:16985,y:9402},{type:`lnTo`,x:18270,y:11290},{type:`lnTo`,x:16380,y:12310},{type:`lnTo`,x:18877,y:15632},{type:`lnTo`,x:14640,y:14350},{type:`lnTo`,x:14942,y:17370},{type:`lnTo`,x:12180,y:15935},{type:`lnTo`,x:11612,y:18842},{type:`lnTo`,x:9872,y:17370},{type:`lnTo`,x:8700,y:19712},{type:`lnTo`,x:7527,y:18125},{type:`lnTo`,x:4917,y:21600},{type:`lnTo`,x:4805,y:18240},{type:`lnTo`,x:1285,y:17825},{type:`lnTo`,x:3330,y:15370},{type:`lnTo`,x:0,y:12877},{type:`lnTo`,x:3935,y:11592},{type:`lnTo`,x:1172,y:8270},{type:`lnTo`,x:5372,y:7817},{type:`lnTo`,x:4502,y:3625},{type:`lnTo`,x:8550,y:6382},{type:`lnTo`,x:9722,y:1887},{type:`close`}],stroke:!0,fill:`norm`,w:21600,h:21600}],path:`M 106.13 40.20L 136.94 0.00L 134.49 53.49L 166.73 29.37L 151.67 60.48L 200.00 61.53L 157.27 87.06L 169.17 104.54L 151.67 113.98L 174.79 144.74L 135.56 132.87L 138.35 160.83L 112.78 147.55L 107.52 174.46L 91.41 160.83L 80.56 182.52L 69.69 167.82L 45.53 200.00L 44.49 168.89L 11.90 165.05L 30.83 142.31L 0.00 119.23L 36.44 107.33L 10.85 76.57L 49.74 72.38L 41.69 33.56L 79.17 59.09L 90.02 17.47Z`,range:[],relative:[]},leftArrow:{type:`leftArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 100000 w ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`dx2`,fmla:`*/ ss a2 100000`},{name:`x2`,fmla:`+- l dx2 0`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`dx1`,fmla:`*/ y1 dx2 hd2`},{name:`x1`,fmla:`+- x2 0 dx1`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`r`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 100.00 0.00L 100.00 50.00L 200.00 50.00L 200.00 150.00L 100.00 150.00L 100.00 200.00Z`,range:[[0,1e5],[0,1e5]],relative:[`y`,`x`]},leftArrowCallout:{type:`leftArrowCallout`,defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`*/ 100000 w ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 ss w`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`dy1`,fmla:`*/ ss a2 100000`},{name:`dy2`,fmla:`*/ ss a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y4`,fmla:`+- vc dy1 0`},{name:`x1`,fmla:`*/ ss a3 100000`},{name:`dx2`,fmla:`*/ w a4 100000`},{name:`x2`,fmla:`+- r 0 dx2`},{name:`x3`,fmla:`+/ x2 r 2`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x1`,y:`y2`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`l`,y:`y1`}},{x:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x1`,y:`t`}},{x:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`x2`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 50.00 50.00L 50.00 75.00L 70.05 75.00L 70.05 0.00L 200.00 0.00L 200.00 200.00L 70.05 200.00L 70.05 125.00L 50.00 125.00L 50.00 150.00Z`,range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:[`y`,`y`,`x`,`x`]},leftBrace:{type:`leftBrace`,defaultValue:[8333,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a2`,fmla:`pin 0 adj2 100000`},{name:`q1`,fmla:`+- 100000 0 a2`},{name:`q2`,fmla:`min q1 a2`},{name:`q3`,fmla:`*/ q2 1 2`},{name:`maxAdj1`,fmla:`*/ q3 h ss`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`y1`,fmla:`*/ ss a1 100000`},{name:`y3`,fmla:`*/ h a2 100000`},{name:`y4`,fmla:`+- y3 y1 0`},{name:`dx1`,fmla:`cos wd2 2700000`},{name:`dy1`,fmla:`sin y1 2700000`},{name:`il`,fmla:`+- r 0 dx1`},{name:`it`,fmla:`+- y1 0 dy1`},{name:`ib`,fmla:`+- b dy1 y1`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`hc`,y:`y1`}},{y:{name:`adj2`,min:0,max:1e5},pos:{x:`l`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`r`,y:`b`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`hc`,y:`y4`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:-54e5},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`r`,y:`b`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`hc`,y:`y4`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:-54e5},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:`cd4`}],stroke:!0,fill:`none`}],path:`M 200.00 200.00A 100.00 16.67 0 0 1 100.00 183.33L 100.00 116.67A 100.00 16.67 0 0 0 0.00 100.00A 100.00 16.67 0 0 0 100.00 83.33L 100.00 16.67A 100.00 16.67 0 0 1 200.00 -0.00ZM 200.00 200.00A 100.00 16.67 0 0 1 100.00 183.33L 100.00 116.67A 100.00 16.67 0 0 0 0.00 100.00A 100.00 16.67 0 0 0 100.00 83.33L 100.00 16.67A 100.00 16.67 0 0 1 200.00 -0.00`,range:[[0,25e3],[0,1e5]],relative:[`y`,`y`]},leftBracket:{type:`leftBracket`,defaultValue:[8333],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 50000 h ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`y1`,fmla:`*/ ss a 100000`},{name:`y2`,fmla:`+- b 0 y1`},{name:`dx1`,fmla:`cos w 2700000`},{name:`dy1`,fmla:`sin y1 2700000`},{name:`il`,fmla:`+- r 0 dx1`},{name:`it`,fmla:`+- y1 0 dy1`},{name:`ib`,fmla:`+- b dy1 y1`}],ranges:[{y:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`l`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`r`,y:`b`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`y1`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:`cd2`,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`r`,y:`b`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`y1`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:`cd2`,swAng:`cd4`}],stroke:!0,fill:`none`}],path:`M 200.00 200.00A 200.00 16.67 0 0 1 0.00 183.33L 0.00 16.67A 200.00 16.67 0 0 1 200.00 -0.00ZM 200.00 200.00A 200.00 16.67 0 0 1 0.00 183.33L 0.00 16.67A 200.00 16.67 0 0 1 200.00 -0.00`,range:[[0,5e4]],relative:[`y`]},leftCircularArrow:{type:`leftCircularArrow`,defaultValue:[12500,-1142319,1142319,108e5,12500],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`],params:[{name:`a5`,fmla:`pin 0 adj5 25000`},{name:`maxAdj1`,fmla:`*/ a5 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`enAng`,fmla:`pin 1 adj3 21599999`},{name:`stAng`,fmla:`pin 0 adj4 21599999`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`thh`,fmla:`*/ ss a5 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`rw1`,fmla:`+- wd2 th2 thh`},{name:`rh1`,fmla:`+- hd2 th2 thh`},{name:`rw2`,fmla:`+- rw1 0 th`},{name:`rh2`,fmla:`+- rh1 0 th`},{name:`rw3`,fmla:`+- rw2 th2 0`},{name:`rh3`,fmla:`+- rh2 th2 0`},{name:`wtH`,fmla:`sin rw3 enAng`},{name:`htH`,fmla:`cos rh3 enAng`},{name:`dxH`,fmla:`cat2 rw3 htH wtH`},{name:`dyH`,fmla:`sat2 rh3 htH wtH`},{name:`xH`,fmla:`+- hc dxH 0`},{name:`yH`,fmla:`+- vc dyH 0`},{name:`rI`,fmla:`min rw2 rh2`},{name:`u1`,fmla:`*/ dxH dxH 1`},{name:`u2`,fmla:`*/ dyH dyH 1`},{name:`u3`,fmla:`*/ rI rI 1`},{name:`u4`,fmla:`+- u1 0 u3`},{name:`u5`,fmla:`+- u2 0 u3`},{name:`u6`,fmla:`*/ u4 u5 u1`},{name:`u7`,fmla:`*/ u6 1 u2`},{name:`u8`,fmla:`+- 1 0 u7`},{name:`u9`,fmla:`sqrt u8`},{name:`u10`,fmla:`*/ u4 1 dxH`},{name:`u11`,fmla:`*/ u10 1 dyH`},{name:`u12`,fmla:`+/ 1 u9 u11`},{name:`u13`,fmla:`at2 1 u12`},{name:`u14`,fmla:`+- u13 21600000 0`},{name:`u15`,fmla:`?: u13 u13 u14`},{name:`u16`,fmla:`+- u15 0 enAng`},{name:`u17`,fmla:`+- u16 21600000 0`},{name:`u18`,fmla:`?: u16 u16 u17`},{name:`u19`,fmla:`+- u18 0 cd2`},{name:`u20`,fmla:`+- u18 0 21600000`},{name:`u21`,fmla:`?: u19 u20 u18`},{name:`u22`,fmla:`abs u21`},{name:`minAng`,fmla:`*/ u22 -1 1`},{name:`u23`,fmla:`abs adj2`},{name:`a2`,fmla:`*/ u23 -1 1`},{name:`aAng`,fmla:`pin minAng a2 0`},{name:`ptAng`,fmla:`+- enAng aAng 0`},{name:`wtA`,fmla:`sin rw3 ptAng`},{name:`htA`,fmla:`cos rh3 ptAng`},{name:`dxA`,fmla:`cat2 rw3 htA wtA`},{name:`dyA`,fmla:`sat2 rh3 htA wtA`},{name:`xA`,fmla:`+- hc dxA 0`},{name:`yA`,fmla:`+- vc dyA 0`},{name:`wtE`,fmla:`sin rw1 stAng`},{name:`htE`,fmla:`cos rh1 stAng`},{name:`dxE`,fmla:`cat2 rw1 htE wtE`},{name:`dyE`,fmla:`sat2 rh1 htE wtE`},{name:`xE`,fmla:`+- hc dxE 0`},{name:`yE`,fmla:`+- vc dyE 0`},{name:`wtD`,fmla:`sin rw2 stAng`},{name:`htD`,fmla:`cos rh2 stAng`},{name:`dxD`,fmla:`cat2 rw2 htD wtD`},{name:`dyD`,fmla:`sat2 rh2 htD wtD`},{name:`xD`,fmla:`+- hc dxD 0`},{name:`yD`,fmla:`+- vc dyD 0`},{name:`dxG`,fmla:`cos thh ptAng`},{name:`dyG`,fmla:`sin thh ptAng`},{name:`xG`,fmla:`+- xH dxG 0`},{name:`yG`,fmla:`+- yH dyG 0`},{name:`dxB`,fmla:`cos thh ptAng`},{name:`dyB`,fmla:`sin thh ptAng`},{name:`xB`,fmla:`+- xH 0 dxB 0`},{name:`yB`,fmla:`+- yH 0 dyB 0`},{name:`sx1`,fmla:`+- xB 0 hc`},{name:`sy1`,fmla:`+- yB 0 vc`},{name:`sx2`,fmla:`+- xG 0 hc`},{name:`sy2`,fmla:`+- yG 0 vc`},{name:`rO`,fmla:`min rw1 rh1`},{name:`x1O`,fmla:`*/ sx1 rO rw1`},{name:`y1O`,fmla:`*/ sy1 rO rh1`},{name:`x2O`,fmla:`*/ sx2 rO rw1`},{name:`y2O`,fmla:`*/ sy2 rO rh1`},{name:`dxO`,fmla:`+- x2O 0 x1O`},{name:`dyO`,fmla:`+- y2O 0 y1O`},{name:`dO`,fmla:`mod dxO dyO 0`},{name:`q1`,fmla:`*/ x1O y2O 1`},{name:`q2`,fmla:`*/ x2O y1O 1`},{name:`DO`,fmla:`+- q1 0 q2`},{name:`q3`,fmla:`*/ rO rO 1`},{name:`q4`,fmla:`*/ dO dO 1`},{name:`q5`,fmla:`*/ q3 q4 1`},{name:`q6`,fmla:`*/ DO DO 1`},{name:`q7`,fmla:`+- q5 0 q6`},{name:`q8`,fmla:`max q7 0`},{name:`sdelO`,fmla:`sqrt q8`},{name:`ndyO`,fmla:`*/ dyO -1 1`},{name:`sdyO`,fmla:`?: ndyO -1 1`},{name:`q9`,fmla:`*/ sdyO dxO 1`},{name:`q10`,fmla:`*/ q9 sdelO 1`},{name:`q11`,fmla:`*/ DO dyO 1`},{name:`dxF1`,fmla:`+/ q11 q10 q4`},{name:`q12`,fmla:`+- q11 0 q10`},{name:`dxF2`,fmla:`*/ q12 1 q4`},{name:`adyO`,fmla:`abs dyO`},{name:`q13`,fmla:`*/ adyO sdelO 1`},{name:`q14`,fmla:`*/ DO dxO -1`},{name:`dyF1`,fmla:`+/ q14 q13 q4`},{name:`q15`,fmla:`+- q14 0 q13`},{name:`dyF2`,fmla:`*/ q15 1 q4`},{name:`q16`,fmla:`+- x2O 0 dxF1`},{name:`q17`,fmla:`+- x2O 0 dxF2`},{name:`q18`,fmla:`+- y2O 0 dyF1`},{name:`q19`,fmla:`+- y2O 0 dyF2`},{name:`q20`,fmla:`mod q16 q18 0`},{name:`q21`,fmla:`mod q17 q19 0`},{name:`q22`,fmla:`+- q21 0 q20`},{name:`dxF`,fmla:`?: q22 dxF1 dxF2`},{name:`dyF`,fmla:`?: q22 dyF1 dyF2`},{name:`sdxF`,fmla:`*/ dxF rw1 rO`},{name:`sdyF`,fmla:`*/ dyF rh1 rO`},{name:`xF`,fmla:`+- hc sdxF 0`},{name:`yF`,fmla:`+- vc sdyF 0`},{name:`x1I`,fmla:`*/ sx1 rI rw2`},{name:`y1I`,fmla:`*/ sy1 rI rh2`},{name:`x2I`,fmla:`*/ sx2 rI rw2`},{name:`y2I`,fmla:`*/ sy2 rI rh2`},{name:`dxI`,fmla:`+- x2I 0 x1I`},{name:`dyI`,fmla:`+- y2I 0 y1I`},{name:`dI`,fmla:`mod dxI dyI 0`},{name:`v1`,fmla:`*/ x1I y2I 1`},{name:`v2`,fmla:`*/ x2I y1I 1`},{name:`DI`,fmla:`+- v1 0 v2`},{name:`v3`,fmla:`*/ rI rI 1`},{name:`v4`,fmla:`*/ dI dI 1`},{name:`v5`,fmla:`*/ v3 v4 1`},{name:`v6`,fmla:`*/ DI DI 1`},{name:`v7`,fmla:`+- v5 0 v6`},{name:`v8`,fmla:`max v7 0`},{name:`sdelI`,fmla:`sqrt v8`},{name:`v9`,fmla:`*/ sdyO dxI 1`},{name:`v10`,fmla:`*/ v9 sdelI 1`},{name:`v11`,fmla:`*/ DI dyI 1`},{name:`dxC1`,fmla:`+/ v11 v10 v4`},{name:`v12`,fmla:`+- v11 0 v10`},{name:`dxC2`,fmla:`*/ v12 1 v4`},{name:`adyI`,fmla:`abs dyI`},{name:`v13`,fmla:`*/ adyI sdelI 1`},{name:`v14`,fmla:`*/ DI dxI -1`},{name:`dyC1`,fmla:`+/ v14 v13 v4`},{name:`v15`,fmla:`+- v14 0 v13`},{name:`dyC2`,fmla:`*/ v15 1 v4`},{name:`v16`,fmla:`+- x1I 0 dxC1`},{name:`v17`,fmla:`+- x1I 0 dxC2`},{name:`v18`,fmla:`+- y1I 0 dyC1`},{name:`v19`,fmla:`+- y1I 0 dyC2`},{name:`v20`,fmla:`mod v16 v18 0`},{name:`v21`,fmla:`mod v17 v19 0`},{name:`v22`,fmla:`+- v21 0 v20`},{name:`dxC`,fmla:`?: v22 dxC1 dxC2`},{name:`dyC`,fmla:`?: v22 dyC1 dyC2`},{name:`sdxC`,fmla:`*/ dxC rw2 rI`},{name:`sdyC`,fmla:`*/ dyC rh2 rI`},{name:`xC`,fmla:`+- hc sdxC 0`},{name:`yC`,fmla:`+- vc sdyC 0`},{name:`ist0`,fmla:`at2 sdxC sdyC`},{name:`ist1`,fmla:`+- ist0 21600000 0`},{name:`istAng0`,fmla:`?: ist0 ist0 ist1`},{name:`isw1`,fmla:`+- stAng 0 istAng0`},{name:`isw2`,fmla:`+- isw1 21600000 0`},{name:`iswAng0`,fmla:`?: isw1 isw1 isw2`},{name:`istAng`,fmla:`+- istAng0 iswAng0 0`},{name:`iswAng`,fmla:`+- 0 0 iswAng0`},{name:`p1`,fmla:`+- xF 0 xC`},{name:`p2`,fmla:`+- yF 0 yC`},{name:`p3`,fmla:`mod p1 p2 0`},{name:`p4`,fmla:`*/ p3 1 2`},{name:`p5`,fmla:`+- p4 0 thh`},{name:`xGp`,fmla:`?: p5 xF xG`},{name:`yGp`,fmla:`?: p5 yF yG`},{name:`xBp`,fmla:`?: p5 xC xB`},{name:`yBp`,fmla:`?: p5 yC yB`},{name:`en0`,fmla:`at2 sdxF sdyF`},{name:`en1`,fmla:`+- en0 21600000 0`},{name:`en2`,fmla:`?: en0 en0 en1`},{name:`sw0`,fmla:`+- en2 0 stAng`},{name:`sw1`,fmla:`+- sw0 0 21600000`},{name:`swAng`,fmla:`?: sw0 sw1 sw0`},{name:`stAng0`,fmla:`+- stAng swAng 0`},{name:`swAng0`,fmla:`+- 0 0 swAng`},{name:`wtI`,fmla:`sin rw3 stAng`},{name:`htI`,fmla:`cos rh3 stAng`},{name:`dxI`,fmla:`cat2 rw3 htI wtI`},{name:`dyI`,fmla:`sat2 rh3 htI wtI`},{name:`xI`,fmla:`+- hc dxI 0`},{name:`yI`,fmla:`+- vc dyI 0`},{name:`aI`,fmla:`+- stAng cd4 0`},{name:`aA`,fmla:`+- ptAng 0 cd4`},{name:`aB`,fmla:`+- ptAng cd2 0`},{name:`idx`,fmla:`cos rw1 2700000`},{name:`idy`,fmla:`sin rh1 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{ang:{name:`adj2`,min:`minAng`,max:0},pos:{x:`xA`,y:`yA`}},{ang:{name:`adj4`,min:0,max:21599999},pos:{x:`xE`,y:`yE`}},{r:{name:`adj1`,min:0,max:`maxAdj1`},ang:{name:`adj3`,min:0,max:21599999},pos:{x:`xF`,y:`yF`}},{r:{name:`adj5`,min:0,max:25e3},pos:{x:`xB`,y:`yB`}}],paths:[{path:[{type:`moveTo`,x:`xE`,y:`yE`},{type:`lnTo`,x:`xD`,y:`yD`},{type:`arcTo`,wR:`rw2`,hR:`rh2`,stAng:`istAng`,swAng:`iswAng`},{type:`lnTo`,x:`xBp`,y:`yBp`},{type:`lnTo`,x:`xA`,y:`yA`},{type:`lnTo`,x:`xGp`,y:`yGp`},{type:`lnTo`,x:`xF`,y:`yF`},{type:`arcTo`,wR:`rw1`,hR:`rh1`,stAng:`stAng0`,swAng:`swAng0`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 12.50 100.00L 37.50 100.00A 62.50 62.50 0 0 0 157.51 124.47L 145.90 124.47L 175.00 100.00L 195.90 124.47L 184.01 124.47A 87.50 87.50 0 0 1 12.50 100.00Z`,range:[[0,25e3],[-3386561.4142847573,0],[0,21599999],[0,21599999],[0,25e3]],relative:[`r`,`ang`,`ang`,`ang`,`r`]},leftRightArrow:{type:`leftRightArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 50000 w ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`x2`,fmla:`*/ ss a2 100000`},{name:`x3`,fmla:`+- r 0 x2`},{name:`dy`,fmla:`*/ h a1 200000`},{name:`y1`,fmla:`+- vc 0 dy`},{name:`y2`,fmla:`+- vc dy 0`},{name:`dx1`,fmla:`*/ y1 x2 hd2`},{name:`x1`,fmla:`+- x2 0 dx1`},{name:`x4`,fmla:`+- x3 dx1 0`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`x3`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x3`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x3`,y:`b`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 100.00 0.00L 100.00 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 100.00 150.00L 100.00 200.00Z`,range:[[0,1e5],[0,5e4]],relative:[`y`,`x`]},leftRightArrowCallout:{type:`leftRightArrowCallout`,defaultValue:[25e3,25e3,25e3,48123],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`*/ 50000 w ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 ss wd2`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`dy1`,fmla:`*/ ss a2 100000`},{name:`dy2`,fmla:`*/ ss a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y4`,fmla:`+- vc dy1 0`},{name:`x1`,fmla:`*/ ss a3 100000`},{name:`x4`,fmla:`+- r 0 x1`},{name:`dx2`,fmla:`*/ w a4 200000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x1`,y:`y2`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`l`,y:`y1`}},{x:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x1`,y:`t`}},{x:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`x2`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x3`,y:`t`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`b`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 50.00 50.00L 50.00 75.00L 51.88 75.00L 51.88 0.00L 148.12 0.00L 148.12 75.00L 150.00 75.00L 150.00 50.00L 200.00 100.00L 150.00 150.00L 150.00 125.00L 148.12 125.00L 148.12 200.00L 51.88 200.00L 51.88 125.00L 50.00 125.00L 50.00 150.00Z`,range:[[0,5e4],[0,5e4],[0,5e4],[0,5e4]],relative:[`y`,`y`,`x`,`x`]},leftRightCircularArrow:{type:`leftRightCircularArrow`,defaultValue:[12500,1142319,20457681,11942319,12500],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`],params:[{name:`a5`,fmla:`pin 0 adj5 25000`},{name:`maxAdj1`,fmla:`*/ a5 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`enAng`,fmla:`pin 1 adj3 21599999`},{name:`stAng`,fmla:`pin 0 adj4 21599999`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`thh`,fmla:`*/ ss a5 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`rw1`,fmla:`+- wd2 th2 thh`},{name:`rh1`,fmla:`+- hd2 th2 thh`},{name:`rw2`,fmla:`+- rw1 0 th`},{name:`rh2`,fmla:`+- rh1 0 th`},{name:`rw3`,fmla:`+- rw2 th2 0`},{name:`rh3`,fmla:`+- rh2 th2 0`},{name:`wtH`,fmla:`sin rw3 enAng`},{name:`htH`,fmla:`cos rh3 enAng`},{name:`dxH`,fmla:`cat2 rw3 htH wtH`},{name:`dyH`,fmla:`sat2 rh3 htH wtH`},{name:`xH`,fmla:`+- hc dxH 0`},{name:`yH`,fmla:`+- vc dyH 0`},{name:`rI`,fmla:`min rw2 rh2`},{name:`u1`,fmla:`*/ dxH dxH 1`},{name:`u2`,fmla:`*/ dyH dyH 1`},{name:`u3`,fmla:`*/ rI rI 1`},{name:`u4`,fmla:`+- u1 0 u3`},{name:`u5`,fmla:`+- u2 0 u3`},{name:`u6`,fmla:`*/ u4 u5 u1`},{name:`u7`,fmla:`*/ u6 1 u2`},{name:`u8`,fmla:`+- 1 0 u7`},{name:`u9`,fmla:`sqrt u8`},{name:`u10`,fmla:`*/ u4 1 dxH`},{name:`u11`,fmla:`*/ u10 1 dyH`},{name:`u12`,fmla:`+/ 1 u9 u11`},{name:`u13`,fmla:`at2 1 u12`},{name:`u14`,fmla:`+- u13 21600000 0`},{name:`u15`,fmla:`?: u13 u13 u14`},{name:`u16`,fmla:`+- u15 0 enAng`},{name:`u17`,fmla:`+- u16 21600000 0`},{name:`u18`,fmla:`?: u16 u16 u17`},{name:`u19`,fmla:`+- u18 0 cd2`},{name:`u20`,fmla:`+- u18 0 21600000`},{name:`u21`,fmla:`?: u19 u20 u18`},{name:`maxAng`,fmla:`abs u21`},{name:`aAng`,fmla:`pin 0 adj2 maxAng`},{name:`ptAng`,fmla:`+- enAng aAng 0`},{name:`wtA`,fmla:`sin rw3 ptAng`},{name:`htA`,fmla:`cos rh3 ptAng`},{name:`dxA`,fmla:`cat2 rw3 htA wtA`},{name:`dyA`,fmla:`sat2 rh3 htA wtA`},{name:`xA`,fmla:`+- hc dxA 0`},{name:`yA`,fmla:`+- vc dyA 0`},{name:`dxG`,fmla:`cos thh ptAng`},{name:`dyG`,fmla:`sin thh ptAng`},{name:`xG`,fmla:`+- xH dxG 0`},{name:`yG`,fmla:`+- yH dyG 0`},{name:`dxB`,fmla:`cos thh ptAng`},{name:`dyB`,fmla:`sin thh ptAng`},{name:`xB`,fmla:`+- xH 0 dxB 0`},{name:`yB`,fmla:`+- yH 0 dyB 0`},{name:`sx1`,fmla:`+- xB 0 hc`},{name:`sy1`,fmla:`+- yB 0 vc`},{name:`sx2`,fmla:`+- xG 0 hc`},{name:`sy2`,fmla:`+- yG 0 vc`},{name:`rO`,fmla:`min rw1 rh1`},{name:`x1O`,fmla:`*/ sx1 rO rw1`},{name:`y1O`,fmla:`*/ sy1 rO rh1`},{name:`x2O`,fmla:`*/ sx2 rO rw1`},{name:`y2O`,fmla:`*/ sy2 rO rh1`},{name:`dxO`,fmla:`+- x2O 0 x1O`},{name:`dyO`,fmla:`+- y2O 0 y1O`},{name:`dO`,fmla:`mod dxO dyO 0`},{name:`q1`,fmla:`*/ x1O y2O 1`},{name:`q2`,fmla:`*/ x2O y1O 1`},{name:`DO`,fmla:`+- q1 0 q2`},{name:`q3`,fmla:`*/ rO rO 1`},{name:`q4`,fmla:`*/ dO dO 1`},{name:`q5`,fmla:`*/ q3 q4 1`},{name:`q6`,fmla:`*/ DO DO 1`},{name:`q7`,fmla:`+- q5 0 q6`},{name:`q8`,fmla:`max q7 0`},{name:`sdelO`,fmla:`sqrt q8`},{name:`ndyO`,fmla:`*/ dyO -1 1`},{name:`sdyO`,fmla:`?: ndyO -1 1`},{name:`q9`,fmla:`*/ sdyO dxO 1`},{name:`q10`,fmla:`*/ q9 sdelO 1`},{name:`q11`,fmla:`*/ DO dyO 1`},{name:`dxF1`,fmla:`+/ q11 q10 q4`},{name:`q12`,fmla:`+- q11 0 q10`},{name:`dxF2`,fmla:`*/ q12 1 q4`},{name:`adyO`,fmla:`abs dyO`},{name:`q13`,fmla:`*/ adyO sdelO 1`},{name:`q14`,fmla:`*/ DO dxO -1`},{name:`dyF1`,fmla:`+/ q14 q13 q4`},{name:`q15`,fmla:`+- q14 0 q13`},{name:`dyF2`,fmla:`*/ q15 1 q4`},{name:`q16`,fmla:`+- x2O 0 dxF1`},{name:`q17`,fmla:`+- x2O 0 dxF2`},{name:`q18`,fmla:`+- y2O 0 dyF1`},{name:`q19`,fmla:`+- y2O 0 dyF2`},{name:`q20`,fmla:`mod q16 q18 0`},{name:`q21`,fmla:`mod q17 q19 0`},{name:`q22`,fmla:`+- q21 0 q20`},{name:`dxF`,fmla:`?: q22 dxF1 dxF2`},{name:`dyF`,fmla:`?: q22 dyF1 dyF2`},{name:`sdxF`,fmla:`*/ dxF rw1 rO`},{name:`sdyF`,fmla:`*/ dyF rh1 rO`},{name:`xF`,fmla:`+- hc sdxF 0`},{name:`yF`,fmla:`+- vc sdyF 0`},{name:`x1I`,fmla:`*/ sx1 rI rw2`},{name:`y1I`,fmla:`*/ sy1 rI rh2`},{name:`x2I`,fmla:`*/ sx2 rI rw2`},{name:`y2I`,fmla:`*/ sy2 rI rh2`},{name:`dxI`,fmla:`+- x2I 0 x1I`},{name:`dyI`,fmla:`+- y2I 0 y1I`},{name:`dI`,fmla:`mod dxI dyI 0`},{name:`v1`,fmla:`*/ x1I y2I 1`},{name:`v2`,fmla:`*/ x2I y1I 1`},{name:`DI`,fmla:`+- v1 0 v2`},{name:`v3`,fmla:`*/ rI rI 1`},{name:`v4`,fmla:`*/ dI dI 1`},{name:`v5`,fmla:`*/ v3 v4 1`},{name:`v6`,fmla:`*/ DI DI 1`},{name:`v7`,fmla:`+- v5 0 v6`},{name:`v8`,fmla:`max v7 0`},{name:`sdelI`,fmla:`sqrt v8`},{name:`v9`,fmla:`*/ sdyO dxI 1`},{name:`v10`,fmla:`*/ v9 sdelI 1`},{name:`v11`,fmla:`*/ DI dyI 1`},{name:`dxC1`,fmla:`+/ v11 v10 v4`},{name:`v12`,fmla:`+- v11 0 v10`},{name:`dxC2`,fmla:`*/ v12 1 v4`},{name:`adyI`,fmla:`abs dyI`},{name:`v13`,fmla:`*/ adyI sdelI 1`},{name:`v14`,fmla:`*/ DI dxI -1`},{name:`dyC1`,fmla:`+/ v14 v13 v4`},{name:`v15`,fmla:`+- v14 0 v13`},{name:`dyC2`,fmla:`*/ v15 1 v4`},{name:`v16`,fmla:`+- x1I 0 dxC1`},{name:`v17`,fmla:`+- x1I 0 dxC2`},{name:`v18`,fmla:`+- y1I 0 dyC1`},{name:`v19`,fmla:`+- y1I 0 dyC2`},{name:`v20`,fmla:`mod v16 v18 0`},{name:`v21`,fmla:`mod v17 v19 0`},{name:`v22`,fmla:`+- v21 0 v20`},{name:`dxC`,fmla:`?: v22 dxC1 dxC2`},{name:`dyC`,fmla:`?: v22 dyC1 dyC2`},{name:`sdxC`,fmla:`*/ dxC rw2 rI`},{name:`sdyC`,fmla:`*/ dyC rh2 rI`},{name:`xC`,fmla:`+- hc sdxC 0`},{name:`yC`,fmla:`+- vc sdyC 0`},{name:`wtI`,fmla:`sin rw3 stAng`},{name:`htI`,fmla:`cos rh3 stAng`},{name:`dxI`,fmla:`cat2 rw3 htI wtI`},{name:`dyI`,fmla:`sat2 rh3 htI wtI`},{name:`xI`,fmla:`+- hc dxI 0`},{name:`yI`,fmla:`+- vc dyI 0`},{name:`lptAng`,fmla:`+- stAng 0 aAng`},{name:`wtL`,fmla:`sin rw3 lptAng`},{name:`htL`,fmla:`cos rh3 lptAng`},{name:`dxL`,fmla:`cat2 rw3 htL wtL`},{name:`dyL`,fmla:`sat2 rh3 htL wtL`},{name:`xL`,fmla:`+- hc dxL 0`},{name:`yL`,fmla:`+- vc dyL 0`},{name:`dxK`,fmla:`cos thh lptAng`},{name:`dyK`,fmla:`sin thh lptAng`},{name:`xK`,fmla:`+- xI dxK 0`},{name:`yK`,fmla:`+- yI dyK 0`},{name:`dxJ`,fmla:`cos thh lptAng`},{name:`dyJ`,fmla:`sin thh lptAng`},{name:`xJ`,fmla:`+- xI 0 dxJ 0`},{name:`yJ`,fmla:`+- yI 0 dyJ 0`},{name:`p1`,fmla:`+- xF 0 xC`},{name:`p2`,fmla:`+- yF 0 yC`},{name:`p3`,fmla:`mod p1 p2 0`},{name:`p4`,fmla:`*/ p3 1 2`},{name:`p5`,fmla:`+- p4 0 thh`},{name:`xGp`,fmla:`?: p5 xF xG`},{name:`yGp`,fmla:`?: p5 yF yG`},{name:`xBp`,fmla:`?: p5 xC xB`},{name:`yBp`,fmla:`?: p5 yC yB`},{name:`en0`,fmla:`at2 sdxF sdyF`},{name:`en1`,fmla:`+- en0 21600000 0`},{name:`en2`,fmla:`?: en0 en0 en1`},{name:`od0`,fmla:`+- en2 0 enAng`},{name:`od1`,fmla:`+- od0 21600000 0`},{name:`od2`,fmla:`?: od0 od0 od1`},{name:`st0`,fmla:`+- stAng 0 od2`},{name:`st1`,fmla:`+- st0 21600000 0`},{name:`st2`,fmla:`?: st0 st0 st1`},{name:`sw0`,fmla:`+- en2 0 st2`},{name:`sw1`,fmla:`+- sw0 21600000 0`},{name:`swAng`,fmla:`?: sw0 sw0 sw1`},{name:`ist0`,fmla:`at2 sdxC sdyC`},{name:`ist1`,fmla:`+- ist0 21600000 0`},{name:`istAng`,fmla:`?: ist0 ist0 ist1`},{name:`id0`,fmla:`+- istAng 0 enAng`},{name:`id1`,fmla:`+- id0 0 21600000`},{name:`id2`,fmla:`?: id0 id1 id0`},{name:`ien0`,fmla:`+- stAng 0 id2`},{name:`ien1`,fmla:`+- ien0 0 21600000`},{name:`ien2`,fmla:`?: ien1 ien1 ien0`},{name:`isw1`,fmla:`+- ien2 0 istAng`},{name:`isw2`,fmla:`+- isw1 0 21600000`},{name:`iswAng`,fmla:`?: isw1 isw2 isw1`},{name:`wtE`,fmla:`sin rw1 st2`},{name:`htE`,fmla:`cos rh1 st2`},{name:`dxE`,fmla:`cat2 rw1 htE wtE`},{name:`dyE`,fmla:`sat2 rh1 htE wtE`},{name:`xE`,fmla:`+- hc dxE 0`},{name:`yE`,fmla:`+- vc dyE 0`},{name:`wtD`,fmla:`sin rw2 ien2`},{name:`htD`,fmla:`cos rh2 ien2`},{name:`dxD`,fmla:`cat2 rw2 htD wtD`},{name:`dyD`,fmla:`sat2 rh2 htD wtD`},{name:`xD`,fmla:`+- hc dxD 0`},{name:`yD`,fmla:`+- vc dyD 0`},{name:`xKp`,fmla:`?: p5 xE xK`},{name:`yKp`,fmla:`?: p5 yE yK`},{name:`xJp`,fmla:`?: p5 xD xJ`},{name:`yJp`,fmla:`?: p5 yD yJ`},{name:`aL`,fmla:`+- lptAng 0 cd4`},{name:`aA`,fmla:`+- ptAng cd4 0`},{name:`aB`,fmla:`+- ptAng cd2 0`},{name:`aJ`,fmla:`+- lptAng cd2 0`},{name:`idx`,fmla:`cos rw1 2700000`},{name:`idy`,fmla:`sin rh1 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{ang:{name:`adj2`,min:0,max:`maxAng`},pos:{x:`xA`,y:`yA`}},{ang:{name:`adj4`,min:0,max:21599999},pos:{x:`xE`,y:`yE`}},{r:{name:`adj1`,min:0,max:`maxAdj1`},ang:{name:`adj3`,min:0,max:21599999},pos:{x:`xF`,y:`yF`}},{r:{name:`adj5`,min:0,max:25e3},pos:{x:`xB`,y:`yB`}}],paths:[{path:[{type:`moveTo`,x:`xL`,y:`yL`},{type:`lnTo`,x:`xKp`,y:`yKp`},{type:`lnTo`,x:`xE`,y:`yE`},{type:`arcTo`,wR:`rw1`,hR:`rh1`,stAng:`st2`,swAng:`swAng`},{type:`lnTo`,x:`xGp`,y:`yGp`},{type:`lnTo`,x:`xA`,y:`yA`},{type:`lnTo`,x:`xBp`,y:`yBp`},{type:`lnTo`,x:`xC`,y:`yC`},{type:`arcTo`,wR:`rw2`,hR:`rh2`,stAng:`istAng`,swAng:`iswAng`},{type:`lnTo`,x:`xJp`,y:`yJp`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 25.00 100.00L 4.10 75.53L 15.99 75.53A 87.50 87.50 0 0 1 184.01 75.53L 195.90 75.53L 175.00 100.00L 145.90 75.53L 157.51 75.53A 62.50 62.50 0 0 0 42.49 75.53L 54.10 75.53Z`,range:[[0,25e3],[0,3386561.414284762],[0,21599999],[0,21599999],[0,25e3]],relative:[`r`,`ang`,`ang`,`ang`,`r`]},leftRightRibbon:{type:`leftRightRibbon`,defaultValue:[5e4,5e4,16667],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a3`,fmla:`pin 0 adj3 33333`},{name:`maxAdj1`,fmla:`+- 100000 0 a3`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`w1`,fmla:`+- wd2 0 wd32`},{name:`maxAdj2`,fmla:`*/ 100000 w1 ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`x1`,fmla:`*/ ss a2 100000`},{name:`x4`,fmla:`+- r 0 x1`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`dy2`,fmla:`*/ h a3 -200000`},{name:`ly1`,fmla:`+- vc dy2 dy1`},{name:`ry4`,fmla:`+- vc dy1 dy2`},{name:`ly2`,fmla:`+- ly1 dy1 0`},{name:`ry3`,fmla:`+- b 0 ly2`},{name:`ly4`,fmla:`*/ ly2 2 1`},{name:`ry1`,fmla:`+- b 0 ly4`},{name:`ly3`,fmla:`+- ly4 0 ly1`},{name:`ry2`,fmla:`+- b 0 ly3`},{name:`hR`,fmla:`*/ a3 ss 400000`},{name:`x2`,fmla:`+- hc 0 wd32`},{name:`x3`,fmla:`+- hc wd32 0`},{name:`y1`,fmla:`+- ly1 hR 0`},{name:`y2`,fmla:`+- ry2 0 hR`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x4`,y:`ry2`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`t`}},{y:{name:`adj3`,min:0,max:33333},pos:{x:`x3`,y:`ry2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`ly2`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x1`,y:`ly1`},{type:`lnTo`,x:`hc`,y:`ly1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x4`,y:`ry2`},{type:`lnTo`,x:`x4`,y:`ry1`},{type:`lnTo`,x:`r`,y:`ry3`},{type:`lnTo`,x:`x4`,y:`b`},{type:`lnTo`,x:`x4`,y:`ry4`},{type:`lnTo`,x:`hc`,y:`ry4`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`ly3`},{type:`lnTo`,x:`x1`,y:`ly3`},{type:`lnTo`,x:`x1`,y:`ly4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x3`,y:`ry2`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`ly2`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x1`,y:`ly1`},{type:`lnTo`,x:`hc`,y:`ly1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x4`,y:`ry2`},{type:`lnTo`,x:`x4`,y:`ry1`},{type:`lnTo`,x:`r`,y:`ry3`},{type:`lnTo`,x:`x4`,y:`b`},{type:`lnTo`,x:`x4`,y:`ry4`},{type:`lnTo`,x:`hc`,y:`ry4`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`ly3`},{type:`lnTo`,x:`x1`,y:`ly3`},{type:`lnTo`,x:`x1`,y:`ly4`},{type:`close`},{type:`moveTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x3`,y:`ry2`},{type:`moveTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`ly3`}],stroke:!0,fill:`none`}],path:`M 0.00 83.33L 93.75 0.00L 93.75 33.33L 100.00 33.33A 6.25 8.33 0 0 1 100.00 50.00A 6.25 8.33 0 0 0 100.00 66.67L 106.25 66.67L 106.25 33.33L 200.00 116.67L 106.25 200.00L 106.25 166.67L 100.00 166.67A 6.25 8.33 0 0 1 93.75 158.33L 93.75 133.33L 93.75 133.33L 93.75 166.67ZM 106.25 41.67A 6.25 8.33 0 0 1 100.00 50.00A 6.25 8.33 0 0 0 100.00 66.67L 106.25 66.67ZM 0.00 83.33L 93.75 0.00L 93.75 33.33L 100.00 33.33A 6.25 8.33 0 0 1 100.00 50.00A 6.25 8.33 0 0 0 100.00 66.67L 106.25 66.67L 106.25 33.33L 200.00 116.67L 106.25 200.00L 106.25 166.67L 100.00 166.67A 6.25 8.33 0 0 1 93.75 158.33L 93.75 133.33L 93.75 133.33L 93.75 166.67ZM 106.25 41.67L 106.25 66.67M 93.75 58.33L 93.75 133.33`,range:[[0,83333],[0,46875],[0,33333]],relative:[`y`,`x`,`y`]},leftRightUpArrow:{type:`leftRightUpArrow`,defaultValue:[25e3,25e3,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`q1`,fmla:`+- 100000 0 maxAdj1`},{name:`maxAdj3`,fmla:`*/ q1 1 2`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`x1`,fmla:`*/ ss a3 100000`},{name:`dx2`,fmla:`*/ ss a2 100000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x5`,fmla:`+- hc dx2 0`},{name:`dx3`,fmla:`*/ ss a1 200000`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc dx3 0`},{name:`x6`,fmla:`+- r 0 x1`},{name:`dy2`,fmla:`*/ ss a2 50000`},{name:`y2`,fmla:`+- b 0 dy2`},{name:`y4`,fmla:`+- b 0 dx2`},{name:`y3`,fmla:`+- y4 0 dx3`},{name:`y5`,fmla:`+- y4 dx3 0`},{name:`il`,fmla:`*/ dx3 x1 dx2`},{name:`ir`,fmla:`+- r 0 il`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x3`,y:`x1`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x2`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`x1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`x1`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x5`,y:`x1`},{type:`lnTo`,x:`x4`,y:`x1`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x6`,y:`y3`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x6`,y:`b`},{type:`lnTo`,x:`x6`,y:`y5`},{type:`lnTo`,x:`x1`,y:`y5`},{type:`lnTo`,x:`x1`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 150.00L 50.00 100.00L 50.00 125.00L 75.00 125.00L 75.00 50.00L 50.00 50.00L 100.00 0.00L 150.00 50.00L 125.00 50.00L 125.00 125.00L 150.00 125.00L 150.00 100.00L 200.00 150.00L 150.00 200.00L 150.00 175.00L 50.00 175.00L 50.00 200.00Z`,range:[[0,5e4],[0,5e4],[0,25e3]],relative:[`x`,`x`,`y`]},leftUpArrow:{type:`leftUpArrow`,defaultValue:[25e3,25e3,25e3],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`+- 100000 0 maxAdj1`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`x1`,fmla:`*/ ss a3 100000`},{name:`dx2`,fmla:`*/ ss a2 50000`},{name:`x2`,fmla:`+- r 0 dx2`},{name:`y2`,fmla:`+- b 0 dx2`},{name:`dx4`,fmla:`*/ ss a2 100000`},{name:`x4`,fmla:`+- r 0 dx4`},{name:`y4`,fmla:`+- b 0 dx4`},{name:`dx3`,fmla:`*/ ss a1 200000`},{name:`x3`,fmla:`+- x4 0 dx3`},{name:`x5`,fmla:`+- x4 dx3 0`},{name:`y3`,fmla:`+- y4 0 dx3`},{name:`y5`,fmla:`+- y4 dx3 0`},{name:`il`,fmla:`*/ dx3 x1 dx4`},{name:`cx1`,fmla:`+/ x1 x5 2`},{name:`cy1`,fmla:`+/ x1 y5 2`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x3`,y:`y3`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x2`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x3`,y:`x1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`x1`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`x4`,y:`t`},{type:`lnTo`,x:`r`,y:`x1`},{type:`lnTo`,x:`x5`,y:`x1`},{type:`lnTo`,x:`x5`,y:`y5`},{type:`lnTo`,x:`x1`,y:`y5`},{type:`lnTo`,x:`x1`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 150.00L 50.00 100.00L 50.00 125.00L 125.00 125.00L 125.00 50.00L 100.00 50.00L 150.00 0.00L 200.00 50.00L 175.00 50.00L 175.00 175.00L 50.00 175.00L 50.00 200.00Z`,range:[[0,5e4],[0,5e4],[0,5e4]],relative:[`y`,`x`,`y`]},lightningBolt:{type:`lightningBolt`,defaultValue:[],adjustmentNames:[],params:[{name:`x1`,fmla:`*/ w 5022 21600`},{name:`x3`,fmla:`*/ w 8472 21600`},{name:`x4`,fmla:`*/ w 8757 21600`},{name:`x5`,fmla:`*/ w 10012 21600`},{name:`x8`,fmla:`*/ w 12860 21600`},{name:`x9`,fmla:`*/ w 13917 21600`},{name:`x11`,fmla:`*/ w 16577 21600`},{name:`y1`,fmla:`*/ h 3890 21600`},{name:`y2`,fmla:`*/ h 6080 21600`},{name:`y4`,fmla:`*/ h 7437 21600`},{name:`y6`,fmla:`*/ h 9705 21600`},{name:`y7`,fmla:`*/ h 12007 21600`},{name:`y10`,fmla:`*/ h 14277 21600`},{name:`y11`,fmla:`*/ h 14915 21600`}],ranges:[],paths:[{path:[{type:`moveTo`,x:8472,y:0},{type:`lnTo`,x:12860,y:6080},{type:`lnTo`,x:11050,y:6797},{type:`lnTo`,x:16577,y:12007},{type:`lnTo`,x:14767,y:12877},{type:`lnTo`,x:21600,y:21600},{type:`lnTo`,x:10012,y:14915},{type:`lnTo`,x:12222,y:13987},{type:`lnTo`,x:5022,y:9705},{type:`lnTo`,x:7602,y:8382},{type:`lnTo`,x:0,y:3890},{type:`close`}],stroke:!0,fill:`norm`,w:21600,h:21600}],path:`M 78.44 0.00L 119.07 56.30L 102.31 62.94L 153.49 111.18L 136.73 119.23L 200.00 200.00L 92.70 138.10L 113.17 129.51L 46.50 89.86L 70.39 77.61L 0.00 36.02Z`,range:[],relative:[]},line:{type:`line`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`b`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 200.00 200.00`,range:[],relative:[]},lineInv:{type:`lineInv`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`r`,y:`t`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 200.00 0.00`,range:[],relative:[]},mathDivide:{type:`mathDivide`,defaultValue:[23520,5880,11760],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a1`,fmla:`pin 1000 adj1 36745`},{name:`ma1`,fmla:`+- 0 0 a1`},{name:`ma3h`,fmla:`+/ 73490 ma1 4`},{name:`ma3w`,fmla:`*/ 36745 w h`},{name:`maxAdj3`,fmla:`min ma3h ma3w`},{name:`a3`,fmla:`pin 1000 adj3 maxAdj3`},{name:`m4a3`,fmla:`*/ -4 a3 1`},{name:`maxAdj2`,fmla:`+- 73490 m4a3 a1`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`yg`,fmla:`*/ h a2 100000`},{name:`rad`,fmla:`*/ h a3 100000`},{name:`dx1`,fmla:`*/ w 73490 200000`},{name:`y3`,fmla:`+- vc 0 dy1`},{name:`y4`,fmla:`+- vc dy1 0`},{name:`a`,fmla:`+- yg rad 0`},{name:`y2`,fmla:`+- y3 0 a`},{name:`y1`,fmla:`+- y2 0 rad`},{name:`y5`,fmla:`+- b 0 y1`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x3`,fmla:`+- hc dx1 0`},{name:`x2`,fmla:`+- hc 0 rad`}],ranges:[{y:{name:`adj1`,min:1e3,max:36745},pos:{x:`l`,y:`y3`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`r`,y:`y2`}},{x:{name:`adj3`,min:1e3,max:`maxAdj3`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`hc`,y:`y1`},{type:`arcTo`,wR:`rad`,hR:`rad`,stAng:`3cd4`,swAng:216e5},{type:`close`},{type:`moveTo`,x:`hc`,y:`y5`},{type:`arcTo`,wR:`rad`,hR:`rad`,stAng:`cd4`,swAng:216e5},{type:`close`},{type:`moveTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 100.00 23.58A 23.52 23.52 0 1 1 99.90 23.58ZM 100.00 176.42A 23.52 23.52 0 1 1 100.10 176.42ZM 26.51 76.48L 173.49 76.48L 173.49 123.52L 26.51 123.52Z`,range:[[1e3,36745],[0,2930],[1e3,12492.5]],relative:[`y`,`y`,`x`]},mathEqual:{type:`mathEqual`,defaultValue:[23520,11760],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 36745`},{name:`2a1`,fmla:`*/ a1 2 1`},{name:`mAdj2`,fmla:`+- 100000 0 2a1`},{name:`a2`,fmla:`pin 0 adj2 mAdj2`},{name:`dy1`,fmla:`*/ h a1 100000`},{name:`dy2`,fmla:`*/ h a2 200000`},{name:`dx1`,fmla:`*/ w 73490 200000`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y1`,fmla:`+- y2 0 dy1`},{name:`y4`,fmla:`+- y3 dy1 0`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`},{name:`yC1`,fmla:`+/ y1 y2 2`},{name:`yC2`,fmla:`+/ y3 y4 2`}],ranges:[{y:{name:`adj1`,min:0,max:36745},pos:{x:`l`,y:`y1`}},{y:{name:`adj2`,min:0,max:`mAdj2`},pos:{x:`r`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`},{type:`moveTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 26.51 41.20L 173.49 41.20L 173.49 88.24L 26.51 88.24ZM 26.51 111.76L 173.49 111.76L 173.49 158.80L 26.51 158.80Z`,range:[[0,36745],[0,52960]],relative:[`y`,`y`]},mathMinus:{type:`mathMinus`,defaultValue:[23520],adjustmentNames:[`adj1`],params:[{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`dx1`,fmla:`*/ w 73490 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`l`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 26.51 76.48L 173.49 76.48L 173.49 123.52L 26.51 123.52Z`,range:[[0,1e5]],relative:[`y`]},mathMultiply:{type:`mathMultiply`,defaultValue:[23520],adjustmentNames:[`adj1`],params:[{name:`a1`,fmla:`pin 0 adj1 51965`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`a`,fmla:`at2 w h`},{name:`sa`,fmla:`sin 1 a`},{name:`ca`,fmla:`cos 1 a`},{name:`ta`,fmla:`tan 1 a`},{name:`dl`,fmla:`mod w h 0`},{name:`rw`,fmla:`*/ dl 51965 100000`},{name:`lM`,fmla:`+- dl 0 rw`},{name:`xM`,fmla:`*/ ca lM 2`},{name:`yM`,fmla:`*/ sa lM 2`},{name:`dxAM`,fmla:`*/ sa th 2`},{name:`dyAM`,fmla:`*/ ca th 2`},{name:`xA`,fmla:`+- xM 0 dxAM`},{name:`yA`,fmla:`+- yM dyAM 0`},{name:`xB`,fmla:`+- xM dxAM 0`},{name:`yB`,fmla:`+- yM 0 dyAM`},{name:`xBC`,fmla:`+- hc 0 xB`},{name:`yBC`,fmla:`*/ xBC ta 1`},{name:`yC`,fmla:`+- yBC yB 0`},{name:`xD`,fmla:`+- r 0 xB`},{name:`xE`,fmla:`+- r 0 xA`},{name:`yFE`,fmla:`+- vc 0 yA`},{name:`xFE`,fmla:`*/ yFE 1 ta`},{name:`xF`,fmla:`+- xE 0 xFE`},{name:`xL`,fmla:`+- xA xFE 0`},{name:`yG`,fmla:`+- b 0 yA`},{name:`yH`,fmla:`+- b 0 yB`},{name:`yI`,fmla:`+- b 0 yC`},{name:`xC2`,fmla:`+- r 0 xM`},{name:`yC3`,fmla:`+- b 0 yM`}],ranges:[{y:{name:`adj1`,min:0,max:51965},pos:{x:`l`,y:`th`}}],paths:[{path:[{type:`moveTo`,x:`xA`,y:`yA`},{type:`lnTo`,x:`xB`,y:`yB`},{type:`lnTo`,x:`hc`,y:`yC`},{type:`lnTo`,x:`xD`,y:`yB`},{type:`lnTo`,x:`xE`,y:`yA`},{type:`lnTo`,x:`xF`,y:`vc`},{type:`lnTo`,x:`xE`,y:`yG`},{type:`lnTo`,x:`xD`,y:`yH`},{type:`lnTo`,x:`hc`,y:`yI`},{type:`lnTo`,x:`xB`,y:`yH`},{type:`lnTo`,x:`xA`,y:`yG`},{type:`lnTo`,x:`xL`,y:`vc`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 31.40 64.67L 64.67 31.40L 100.00 66.74L 135.33 31.40L 168.60 64.67L 133.26 100.00L 168.60 135.33L 135.33 168.60L 100.00 133.26L 64.67 168.60L 31.40 135.33L 66.74 100.00Z`,range:[[0,51965]],relative:[`y`]},mathNotEqual:{type:`mathNotEqual`,defaultValue:[23520,66e5,11760],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`crAng`,fmla:`pin 4200000 adj2 6600000`},{name:`2a1`,fmla:`*/ a1 2 1`},{name:`maxAdj3`,fmla:`+- 100000 0 2a1`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`dy1`,fmla:`*/ h a1 100000`},{name:`dy2`,fmla:`*/ h a3 200000`},{name:`dx1`,fmla:`*/ w 73490 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x8`,fmla:`+- hc dx1 0`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y1`,fmla:`+- y2 0 dy1`},{name:`y4`,fmla:`+- y3 dy1 0`},{name:`cadj2`,fmla:`+- crAng 0 cd4`},{name:`xadj2`,fmla:`tan hd2 cadj2`},{name:`len`,fmla:`mod xadj2 hd2 0`},{name:`bhw`,fmla:`*/ len dy1 hd2`},{name:`bhw2`,fmla:`*/ bhw 1 2`},{name:`x7`,fmla:`+- hc xadj2 bhw2`},{name:`dx67`,fmla:`*/ xadj2 y1 hd2`},{name:`x6`,fmla:`+- x7 0 dx67`},{name:`dx57`,fmla:`*/ xadj2 y2 hd2`},{name:`x5`,fmla:`+- x7 0 dx57`},{name:`dx47`,fmla:`*/ xadj2 y3 hd2`},{name:`x4`,fmla:`+- x7 0 dx47`},{name:`dx37`,fmla:`*/ xadj2 y4 hd2`},{name:`x3`,fmla:`+- x7 0 dx37`},{name:`dx27`,fmla:`*/ xadj2 2 1`},{name:`x2`,fmla:`+- x7 0 dx27`},{name:`rx7`,fmla:`+- x7 bhw 0`},{name:`rx6`,fmla:`+- x6 bhw 0`},{name:`rx5`,fmla:`+- x5 bhw 0`},{name:`rx4`,fmla:`+- x4 bhw 0`},{name:`rx3`,fmla:`+- x3 bhw 0`},{name:`rx2`,fmla:`+- x2 bhw 0`},{name:`dx7`,fmla:`*/ dy1 hd2 len`},{name:`rxt`,fmla:`+- x7 dx7 0`},{name:`lxt`,fmla:`+- rx7 0 dx7`},{name:`rx`,fmla:`?: cadj2 rxt rx7`},{name:`lx`,fmla:`?: cadj2 x7 lxt`},{name:`dy3`,fmla:`*/ dy1 xadj2 len`},{name:`dy4`,fmla:`+- 0 0 dy3`},{name:`ry`,fmla:`?: cadj2 dy3 t`},{name:`ly`,fmla:`?: cadj2 t dy4`},{name:`dlx`,fmla:`+- w 0 rx`},{name:`drx`,fmla:`+- w 0 lx`},{name:`dly`,fmla:`+- h 0 ry`},{name:`dry`,fmla:`+- h 0 ly`},{name:`xC1`,fmla:`+/ rx lx 2`},{name:`xC2`,fmla:`+/ drx dlx 2`},{name:`yC1`,fmla:`+/ ry ly 2`},{name:`yC2`,fmla:`+/ y1 y2 2`},{name:`yC3`,fmla:`+/ y3 y4 2`},{name:`yC4`,fmla:`+/ dry dly 2`}],ranges:[{y:{name:`adj1`,min:0,max:5e4},pos:{x:`l`,y:`y1`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`y2`}},{ang:{name:`adj2`,min:42e5,max:66e5},pos:{x:`lx`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x6`,y:`y1`},{type:`lnTo`,x:`lx`,y:`ly`},{type:`lnTo`,x:`rx`,y:`ry`},{type:`lnTo`,x:`rx6`,y:`y1`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`lnTo`,x:`x8`,y:`y2`},{type:`lnTo`,x:`rx5`,y:`y2`},{type:`lnTo`,x:`rx4`,y:`y3`},{type:`lnTo`,x:`x8`,y:`y3`},{type:`lnTo`,x:`x8`,y:`y4`},{type:`lnTo`,x:`rx3`,y:`y4`},{type:`lnTo`,x:`drx`,y:`dry`},{type:`lnTo`,x:`dlx`,y:`dly`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x5`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 26.51 41.20L 96.37 41.20L 111.37 0.00L 155.57 16.09L 146.43 41.20L 173.49 41.20L 173.49 88.24L 129.31 88.24L 120.75 111.76L 173.49 111.76L 173.49 158.80L 103.63 158.80L 88.63 200.00L 44.43 183.91L 53.57 158.80L 26.51 158.80L 26.51 111.76L 70.69 111.76L 79.25 88.24L 26.51 88.24Z`,range:[[0,5e4],[42e5,66e5],[0,52960]],relative:[`y`,`ang`,`y`]},mathPlus:{type:`mathPlus`,defaultValue:[23520],adjustmentNames:[`adj1`],params:[{name:`a1`,fmla:`pin 0 adj1 73490`},{name:`dx1`,fmla:`*/ w 73490 200000`},{name:`dy1`,fmla:`*/ h 73490 200000`},{name:`dx2`,fmla:`*/ ss a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dx2`},{name:`y3`,fmla:`+- vc dx2 0`},{name:`y4`,fmla:`+- vc dy1 0`}],ranges:[{y:{name:`adj1`,min:0,max:73490},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 26.51 76.48L 76.48 76.48L 76.48 26.51L 123.52 26.51L 123.52 76.48L 173.49 76.48L 173.49 123.52L 123.52 123.52L 123.52 173.49L 76.48 173.49L 76.48 123.52L 26.51 123.52Z`,range:[[0,73490]],relative:[`y`]},moon:{type:`moon`,defaultValue:[5e4],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 87500`},{name:`g0`,fmla:`*/ ss a 100000`},{name:`g0w`,fmla:`*/ g0 w ss`},{name:`g1`,fmla:`+- ss 0 g0`},{name:`g2`,fmla:`*/ g0 g0 g1`},{name:`g3`,fmla:`*/ ss ss g1`},{name:`g4`,fmla:`*/ g3 2 1`},{name:`g5`,fmla:`+- g4 0 g2`},{name:`g6`,fmla:`+- g5 0 g0`},{name:`g6w`,fmla:`*/ g6 w ss`},{name:`g7`,fmla:`*/ g5 1 2`},{name:`g8`,fmla:`+- g7 0 g0`},{name:`dy1`,fmla:`*/ g8 hd2 ss`},{name:`g10h`,fmla:`+- vc 0 dy1`},{name:`g11h`,fmla:`+- vc dy1 0`},{name:`g12`,fmla:`*/ g0 9598 32768`},{name:`g12w`,fmla:`*/ g12 w ss`},{name:`g13`,fmla:`+- ss 0 g12`},{name:`q1`,fmla:`*/ ss ss 1`},{name:`q2`,fmla:`*/ g13 g13 1`},{name:`q3`,fmla:`+- q1 0 q2`},{name:`q4`,fmla:`sqrt q3`},{name:`dy4`,fmla:`*/ q4 hd2 ss`},{name:`g15h`,fmla:`+- vc 0 dy4`},{name:`g16h`,fmla:`+- vc dy4 0`},{name:`g17w`,fmla:`+- g6w 0 g0w`},{name:`g18w`,fmla:`*/ g17w 1 2`},{name:`dx2p`,fmla:`+- g0w g18w w`},{name:`dx2`,fmla:`*/ dx2p -1 1`},{name:`dy2`,fmla:`*/ hd2 -1 1`},{name:`stAng1`,fmla:`at2 dx2 dy2`},{name:`enAngp1`,fmla:`at2 dx2 hd2`},{name:`enAng1`,fmla:`+- enAngp1 0 21600000`},{name:`swAng1`,fmla:`+- enAng1 0 stAng1`}],ranges:[{x:{name:`adj`,min:0,max:87500},pos:{x:`g0w`,y:`vc`}}],paths:[{path:[{type:`moveTo`,x:`r`,y:`b`},{type:`arcTo`,wR:`w`,hR:`hd2`,stAng:`cd4`,swAng:`cd2`},{type:`arcTo`,wR:`g18w`,hR:`dy1`,stAng:`stAng1`,swAng:`swAng1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 200.00 200.00A 200.00 100.00 0 0 1 200.00 0.00A 250.00 125.00 0 0 0 200.00 200.00Z`,range:[[0,87500]],relative:[`x`]},nonIsoscelesTrapezoid:{type:`nonIsoscelesTrapezoid`,defaultValue:[25e3,25e3],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj`,fmla:`*/ 50000 w ss`},{name:`a1`,fmla:`pin 0 adj1 maxAdj`},{name:`a2`,fmla:`pin 0 adj2 maxAdj`},{name:`x1`,fmla:`*/ ss a1 200000`},{name:`x2`,fmla:`*/ ss a1 100000`},{name:`dx3`,fmla:`*/ ss a2 100000`},{name:`x3`,fmla:`+- r 0 dx3`},{name:`x4`,fmla:`+/ r x3 2`},{name:`il`,fmla:`*/ wd3 a1 maxAdj`},{name:`adjm`,fmla:`max a1 a2`},{name:`it`,fmla:`*/ hd3 adjm maxAdj`},{name:`irt`,fmla:`*/ wd3 a2 maxAdj`},{name:`ir`,fmla:`+- r 0 irt`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj`},pos:{x:`x2`,y:`t`}},{x:{name:`adj2`,min:0,max:`maxAdj`},pos:{x:`x3`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x3`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 50.00 0.00L 150.00 0.00L 200.00 200.00Z`,range:[[0,5e4],[0,5e4]],relative:[`x`,`x`]},noSmoking:{type:`noSmoking`,defaultValue:[18750],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dr`,fmla:`*/ ss a 100000`},{name:`iwd2`,fmla:`+- wd2 0 dr`},{name:`ihd2`,fmla:`+- hd2 0 dr`},{name:`ang`,fmla:`at2 w h`},{name:`ct`,fmla:`cos ihd2 ang`},{name:`st`,fmla:`sin iwd2 ang`},{name:`m`,fmla:`mod ct st 0`},{name:`n`,fmla:`*/ iwd2 ihd2 m`},{name:`drd2`,fmla:`*/ dr 1 2`},{name:`dang`,fmla:`at2 n drd2`},{name:`2dang`,fmla:`*/ dang 2 1`},{name:`swAng`,fmla:`+- -10800000 2dang 0`},{name:`t3`,fmla:`at2 w h`},{name:`stAng1`,fmla:`+- t3 0 dang`},{name:`stAng2`,fmla:`+- stAng1 0 cd2`},{name:`ct1`,fmla:`cos ihd2 stAng1`},{name:`st1`,fmla:`sin iwd2 stAng1`},{name:`m1`,fmla:`mod ct1 st1 0`},{name:`n1`,fmla:`*/ iwd2 ihd2 m1`},{name:`dx1`,fmla:`cos n1 stAng1`},{name:`dy1`,fmla:`sin n1 stAng1`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc dy1 0`},{name:`x2`,fmla:`+- hc 0 dx1`},{name:`y2`,fmla:`+- vc 0 dy1`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{r:{name:`adj`,min:0,max:5e4},pos:{x:`dr`,y:`vc`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`3cd4`,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`},{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:`stAng1`,swAng:`swAng`},{type:`close`},{type:`moveTo`,x:`x2`,y:`y2`},{type:`arcTo`,wR:`iwd2`,hR:`ihd2`,stAng:`stAng2`,swAng:`swAng`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 155.03 129.63A 62.50 62.50 0 0 0 70.37 44.97ZM 44.97 70.37A 62.50 62.50 0 0 0 129.63 155.03Z`,range:[[0,5e4]],relative:[`r`]},notchedRightArrow:{type:`notchedRightArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 100000 w ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`dx2`,fmla:`*/ ss a2 100000`},{name:`x2`,fmla:`+- r 0 dx2`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`x1`,fmla:`*/ dy1 dx2 hd2`},{name:`x3`,fmla:`+- r 0 x1`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`r`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`x1`,y:`vc`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 0.00 150.00L 50.00 100.00Z`,range:[[0,1e5],[0,1e5]],relative:[`y`,`x`]},octagon:{type:`octagon`,defaultValue:[29289],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- b 0 x1`},{name:`il`,fmla:`*/ x1 1 2`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`x1`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`x1`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`l`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 58.58L 58.58 0.00L 141.42 0.00L 200.00 58.58L 200.00 141.42L 141.42 200.00L 58.58 200.00L 0.00 141.42Z`,range:[[0,5e4]],relative:[`x`]},parallelogram:{type:`parallelogram`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 100000 w ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`x1`,fmla:`*/ ss a 200000`},{name:`x2`,fmla:`*/ ss a 100000`},{name:`x6`,fmla:`+- r 0 x1`},{name:`x5`,fmla:`+- r 0 x2`},{name:`x3`,fmla:`*/ x5 1 2`},{name:`x4`,fmla:`+- r 0 x3`},{name:`il`,fmla:`*/ wd2 a maxAdj`},{name:`q1`,fmla:`*/ 5 a maxAdj`},{name:`q2`,fmla:`+/ 1 q1 12`},{name:`il`,fmla:`*/ q2 w 1`},{name:`it`,fmla:`*/ q2 h 1`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 it`},{name:`q3`,fmla:`*/ h hc x2`},{name:`y1`,fmla:`pin 0 q3 h`},{name:`y2`,fmla:`+- b 0 y1`}],ranges:[{x:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x5`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 50.00 0.00L 200.00 0.00L 150.00 200.00Z`,range:[[0,1e5]],relative:[`x`]},pentagon:{type:`pentagon`,defaultValue:[105146,110557],adjustmentNames:[`hf`,`vf`],params:[{name:`swd2`,fmla:`*/ wd2 hf 100000`},{name:`shd2`,fmla:`*/ hd2 vf 100000`},{name:`svc`,fmla:`*/ vc vf 100000`},{name:`dx1`,fmla:`cos swd2 1080000`},{name:`dx2`,fmla:`cos swd2 18360000`},{name:`dy1`,fmla:`sin shd2 1080000`},{name:`dy2`,fmla:`sin shd2 18360000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- svc 0 dy1`},{name:`y2`,fmla:`+- svc 0 dy2`},{name:`it`,fmla:`*/ y1 dx2 dx1`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 76.39L 100.00 0.00L 200.00 76.39L 161.80 200.00L 38.20 200.00Z`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[``,``]},pie:{type:`pie`,defaultValue:[0,162e5],adjustmentNames:[`adj1`,`adj2`],params:[{name:`stAng`,fmla:`pin 0 adj1 21599999`},{name:`enAng`,fmla:`pin 0 adj2 21599999`},{name:`sw1`,fmla:`+- enAng 0 stAng`},{name:`sw2`,fmla:`+- sw1 21600000 0`},{name:`swAng`,fmla:`?: sw1 sw1 sw2`},{name:`wt1`,fmla:`sin wd2 stAng`},{name:`ht1`,fmla:`cos hd2 stAng`},{name:`dx1`,fmla:`cat2 wd2 ht1 wt1`},{name:`dy1`,fmla:`sat2 hd2 ht1 wt1`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc dy1 0`},{name:`wt2`,fmla:`sin wd2 enAng`},{name:`ht2`,fmla:`cos hd2 enAng`},{name:`dx2`,fmla:`cat2 wd2 ht2 wt2`},{name:`dy2`,fmla:`sat2 hd2 ht2 wt2`},{name:`x2`,fmla:`+- hc dx2 0`},{name:`y2`,fmla:`+- vc dy2 0`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{ang:{name:`adj1`,min:0,max:21599999},pos:{x:`x1`,y:`y1`}},{ang:{name:`adj2`,min:0,max:21599999},pos:{x:`x2`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`stAng`,swAng:`swAng`},{type:`lnTo`,x:`hc`,y:`vc`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 200.00 100.00A 100.00 100.00 0 1 1 100.00 0.00L 100.00 100.00Z`,range:[[0,21599999],[0,21599999]],relative:[`ang`,`ang`]},pieWedge:{type:`pieWedge`,defaultValue:[],adjustmentNames:[],params:[{name:`g1`,fmla:`cos w 13500000`},{name:`g2`,fmla:`sin h 13500000`},{name:`x1`,fmla:`+- r g1 0`},{name:`y1`,fmla:`+- b g2 0`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`arcTo`,wR:`w`,hR:`h`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00A 200.00 200.00 0 0 1 200.00 -0.00L 200.00 200.00Z`,range:[],relative:[]},plaque:{type:`plaque`,defaultValue:[16667],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- b 0 x1`},{name:`il`,fmla:`*/ x1 70711 100000`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`x2`,y:`t`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:-54e5},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`x1`,y:`b`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:-54e5},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 33.33A 33.33 33.33 0 0 0 33.33 0.00L 166.67 0.00A 33.33 33.33 0 0 0 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 0 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 0 0.00 166.67Z`,range:[[0,5e4]],relative:[`x`]},plaqueTabs:{type:`plaqueTabs`,defaultValue:[],adjustmentNames:[],params:[{name:`md`,fmla:`mod w h 0`},{name:`dx`,fmla:`*/ 1 md 20`},{name:`y1`,fmla:`+- 0 b dx`},{name:`x1`,fmla:`+- 0 r dx`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`dx`,y:`t`},{type:`arcTo`,wR:`dx`,hR:`dx`,stAng:0,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`arcTo`,wR:`dx`,hR:`dx`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`dx`},{type:`arcTo`,wR:`dx`,hR:`dx`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`b`},{type:`arcTo`,wR:`dx`,hR:`dx`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 14.14 0.00A 14.14 14.14 0 0 1 -0.00 14.14ZM 0.00 185.86A 14.14 14.14 0 0 1 14.14 200.00L 0.00 200.00ZM 200.00 0.00L 200.00 14.14A 14.14 14.14 0 0 1 185.86 -0.00ZM 185.86 200.00A 14.14 14.14 0 0 1 200.00 185.86L 200.00 200.00Z`,range:[],relative:[]},plus:{type:`plus`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- b 0 x1`},{name:`d`,fmla:`+- w 0 h`},{name:`il`,fmla:`?: d l x1`},{name:`ir`,fmla:`?: d r x2`},{name:`it`,fmla:`?: d x1 t`},{name:`ib`,fmla:`?: d y2 b`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`x1`},{type:`lnTo`,x:`x1`,y:`x1`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`r`,y:`x1`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`l`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 50.00L 50.00 50.00L 50.00 0.00L 150.00 0.00L 150.00 50.00L 200.00 50.00L 200.00 150.00L 150.00 150.00L 150.00 200.00L 50.00 200.00L 50.00 150.00L 0.00 150.00Z`,range:[[0,5e4]],relative:[`x`]},quadArrow:{type:`quadArrow`,defaultValue:[22500,22500,22500],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`q1`,fmla:`+- 100000 0 maxAdj1`},{name:`maxAdj3`,fmla:`*/ q1 1 2`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`x1`,fmla:`*/ ss a3 100000`},{name:`dx2`,fmla:`*/ ss a2 100000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x5`,fmla:`+- hc dx2 0`},{name:`dx3`,fmla:`*/ ss a1 200000`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc dx3 0`},{name:`x6`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- vc 0 dx2`},{name:`y5`,fmla:`+- vc dx2 0`},{name:`y3`,fmla:`+- vc 0 dx3`},{name:`y4`,fmla:`+- vc dx3 0`},{name:`y6`,fmla:`+- b 0 x1`},{name:`il`,fmla:`*/ dx3 x1 dx2`},{name:`ir`,fmla:`+- r 0 il`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x3`,y:`x1`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x2`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`x1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`x1`},{type:`lnTo`,x:`x2`,y:`x1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x5`,y:`x1`},{type:`lnTo`,x:`x4`,y:`x1`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`x6`,y:`y3`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x6`,y:`y5`},{type:`lnTo`,x:`x6`,y:`y4`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`x4`,y:`y6`},{type:`lnTo`,x:`x5`,y:`y6`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`x2`,y:`y6`},{type:`lnTo`,x:`x3`,y:`y6`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`x1`,y:`y5`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 45.00 55.00L 45.00 77.50L 77.50 77.50L 77.50 45.00L 55.00 45.00L 100.00 0.00L 145.00 45.00L 122.50 45.00L 122.50 77.50L 155.00 77.50L 155.00 55.00L 200.00 100.00L 155.00 145.00L 155.00 122.50L 122.50 122.50L 122.50 155.00L 145.00 155.00L 100.00 200.00L 55.00 155.00L 77.50 155.00L 77.50 122.50L 45.00 122.50L 45.00 145.00Z`,range:[[0,45e3],[0,5e4],[0,27500]],relative:[`x`,`x`,`y`]},quadArrowCallout:{type:`quadArrowCallout`,defaultValue:[18515,18515,18515,48123],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`+- 50000 0 a2`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 2 1`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin a1 adj4 maxAdj4`},{name:`dx2`,fmla:`*/ ss a2 100000`},{name:`dx3`,fmla:`*/ ss a1 200000`},{name:`ah`,fmla:`*/ ss a3 100000`},{name:`dx1`,fmla:`*/ w a4 200000`},{name:`dy1`,fmla:`*/ h a4 200000`},{name:`x8`,fmla:`+- r 0 ah`},{name:`x2`,fmla:`+- hc 0 dx1`},{name:`x7`,fmla:`+- hc dx1 0`},{name:`x3`,fmla:`+- hc 0 dx2`},{name:`x6`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc 0 dx3`},{name:`x5`,fmla:`+- hc dx3 0`},{name:`y8`,fmla:`+- b 0 ah`},{name:`y2`,fmla:`+- vc 0 dy1`},{name:`y7`,fmla:`+- vc dy1 0`},{name:`y3`,fmla:`+- vc 0 dx2`},{name:`y6`,fmla:`+- vc dx2 0`},{name:`y4`,fmla:`+- vc 0 dx3`},{name:`y5`,fmla:`+- vc dx3 0`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x4`,y:`ah`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x3`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`ah`}},{y:{name:`adj4`,min:`a1`,max:`maxAdj4`},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`ah`,y:`y3`},{type:`lnTo`,x:`ah`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`lnTo`,x:`x4`,y:`ah`},{type:`lnTo`,x:`x3`,y:`ah`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x6`,y:`ah`},{type:`lnTo`,x:`x5`,y:`ah`},{type:`lnTo`,x:`x5`,y:`y2`},{type:`lnTo`,x:`x7`,y:`y2`},{type:`lnTo`,x:`x7`,y:`y4`},{type:`lnTo`,x:`x8`,y:`y4`},{type:`lnTo`,x:`x8`,y:`y3`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x8`,y:`y6`},{type:`lnTo`,x:`x8`,y:`y5`},{type:`lnTo`,x:`x7`,y:`y5`},{type:`lnTo`,x:`x7`,y:`y7`},{type:`lnTo`,x:`x5`,y:`y7`},{type:`lnTo`,x:`x5`,y:`y8`},{type:`lnTo`,x:`x6`,y:`y8`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`x3`,y:`y8`},{type:`lnTo`,x:`x4`,y:`y8`},{type:`lnTo`,x:`x4`,y:`y7`},{type:`lnTo`,x:`x2`,y:`y7`},{type:`lnTo`,x:`x2`,y:`y5`},{type:`lnTo`,x:`ah`,y:`y5`},{type:`lnTo`,x:`ah`,y:`y6`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 37.03 62.97L 37.03 81.48L 51.88 81.48L 51.88 51.88L 81.48 51.88L 81.48 37.03L 62.97 37.03L 100.00 0.00L 137.03 37.03L 118.52 37.03L 118.52 51.88L 148.12 51.88L 148.12 81.48L 162.97 81.48L 162.97 62.97L 200.00 100.00L 162.97 137.03L 162.97 118.52L 148.12 118.52L 148.12 148.12L 118.52 148.12L 118.52 162.97L 137.03 162.97L 100.00 200.00L 62.97 162.97L 81.48 162.97L 81.48 148.12L 51.88 148.12L 51.88 118.52L 37.03 118.52L 37.03 137.03Z`,range:[[0,37030],[0,5e4],[0,31485],[18515,62970]],relative:[`x`,`x`,`y`,`y`]},rect:{type:`rect`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z`,range:[],relative:[]},ribbon:{type:`ribbon`,defaultValue:[16667,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 33333`},{name:`a2`,fmla:`pin 25000 adj2 75000`},{name:`x10`,fmla:`+- r 0 wd8`},{name:`dx2`,fmla:`*/ w a2 200000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x9`,fmla:`+- hc dx2 0`},{name:`x3`,fmla:`+- x2 wd32 0`},{name:`x8`,fmla:`+- x9 0 wd32`},{name:`x5`,fmla:`+- x2 wd8 0`},{name:`x6`,fmla:`+- x9 0 wd8`},{name:`x4`,fmla:`+- x5 0 wd32`},{name:`x7`,fmla:`+- x6 wd32 0`},{name:`y1`,fmla:`*/ h a1 200000`},{name:`y2`,fmla:`*/ h a1 100000`},{name:`y4`,fmla:`+- b 0 y2`},{name:`y3`,fmla:`*/ y4 1 2`},{name:`hR`,fmla:`*/ h a1 400000`},{name:`y5`,fmla:`+- b 0 hR`},{name:`y6`,fmla:`+- y2 0 hR`}],ranges:[{y:{name:`adj1`,min:0,max:33333},pos:{x:`hc`,y:`y2`}},{x:{name:`adj2`,min:25e3,max:75e3},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x4`,y:`t`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x8`,y:`y2`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:-108e5},{type:`lnTo`,x:`x7`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd2`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x10`,y:`y3`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y5`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x3`,y:`b`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`l`,y:`y4`},{type:`lnTo`,x:`wd8`,y:`y3`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x5`,y:`hR`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x5`,y:`y2`},{type:`close`},{type:`moveTo`,x:`x6`,y:`hR`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd2`,swAng:-54e5},{type:`lnTo`,x:`x8`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x4`,y:`t`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x8`,y:`y2`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:-108e5},{type:`lnTo`,x:`x7`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd2`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`x10`,y:`y3`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y5`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x3`,y:`b`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`l`,y:`y4`},{type:`lnTo`,x:`wd8`,y:`y3`},{type:`close`},{type:`moveTo`,x:`x5`,y:`hR`},{type:`lnTo`,x:`x5`,y:`y2`},{type:`moveTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`x6`,y:`hR`},{type:`moveTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y6`},{type:`moveTo`,x:`x9`,y:`y6`},{type:`lnTo`,x:`x9`,y:`y4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 68.75 0.00A 6.25 8.33 0 0 1 68.75 16.67L 56.25 16.67A 6.25 8.33 0 0 0 56.25 33.33L 143.75 33.33A 6.25 8.33 0 0 0 143.75 16.67L 131.25 16.67A 6.25 8.33 0 0 1 131.25 0.00L 200.00 0.00L 175.00 83.33L 200.00 166.67L 150.00 166.67L 150.00 191.67A 6.25 8.33 0 0 1 143.75 200.00L 56.25 200.00A 6.25 8.33 0 0 1 50.00 191.67L 50.00 166.67L 0.00 166.67L 25.00 83.33ZM 75.00 8.33A 6.25 8.33 0 0 1 68.75 16.67L 56.25 16.67A 6.25 8.33 0 0 0 56.25 33.33L 75.00 33.33ZM 125.00 8.33A 6.25 8.33 0 0 0 131.25 16.67L 143.75 16.67A 6.25 8.33 0 0 1 143.75 33.33L 125.00 33.33ZM 0.00 0.00L 68.75 0.00A 6.25 8.33 0 0 1 68.75 16.67L 56.25 16.67A 6.25 8.33 0 0 0 56.25 33.33L 143.75 33.33A 6.25 8.33 0 0 0 143.75 16.67L 131.25 16.67A 6.25 8.33 0 0 1 131.25 0.00L 200.00 0.00L 175.00 83.33L 200.00 166.67L 150.00 166.67L 150.00 191.67A 6.25 8.33 0 0 1 143.75 200.00L 56.25 200.00A 6.25 8.33 0 0 1 50.00 191.67L 50.00 166.67L 0.00 166.67L 25.00 83.33ZM 75.00 8.33L 75.00 33.33M 125.00 33.33L 125.00 8.33M 50.00 166.67L 50.00 25.00M 150.00 25.00L 150.00 166.67`,range:[[0,33333],[25e3,75e3]],relative:[`y`,`x`]},ribbon2:{type:`ribbon2`,defaultValue:[16667,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 33333`},{name:`a2`,fmla:`pin 25000 adj2 75000`},{name:`x10`,fmla:`+- r 0 wd8`},{name:`dx2`,fmla:`*/ w a2 200000`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x9`,fmla:`+- hc dx2 0`},{name:`x3`,fmla:`+- x2 wd32 0`},{name:`x8`,fmla:`+- x9 0 wd32`},{name:`x5`,fmla:`+- x2 wd8 0`},{name:`x6`,fmla:`+- x9 0 wd8`},{name:`x4`,fmla:`+- x5 0 wd32`},{name:`x7`,fmla:`+- x6 wd32 0`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`y1`,fmla:`+- b 0 dy1`},{name:`dy2`,fmla:`*/ h a1 100000`},{name:`y2`,fmla:`+- b 0 dy2`},{name:`y4`,fmla:`+- t dy2 0`},{name:`y3`,fmla:`+/ y4 b 2`},{name:`hR`,fmla:`*/ h a1 400000`},{name:`y6`,fmla:`+- b 0 hR`},{name:`y7`,fmla:`+- y1 0 hR`}],ranges:[{y:{name:`adj1`,min:0,max:33333},pos:{x:`hc`,y:`y2`}},{x:{name:`adj2`,min:25e3,max:75e3},pos:{x:`x2`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x4`,y:`b`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:-108e5},{type:`lnTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd2`},{type:`lnTo`,x:`x8`,y:`y2`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`x7`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x10`,y:`y3`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`x9`,y:`hR`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:0,swAng:-54e5},{type:`lnTo`,x:`x3`,y:`t`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`l`,y:`y4`},{type:`lnTo`,x:`wd8`,y:`y3`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x5`,y:`y6`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:0,swAng:-54e5},{type:`lnTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd2`},{type:`lnTo`,x:`x5`,y:`y2`},{type:`close`},{type:`moveTo`,x:`x6`,y:`y6`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:-108e5},{type:`lnTo`,x:`x6`,y:`y2`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`wd8`,y:`y3`},{type:`lnTo`,x:`l`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x2`,y:`hR`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x8`,y:`t`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x10`,y:`y3`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x7`,y:`b`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:`cd2`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`cd4`,swAng:-108e5},{type:`lnTo`,x:`x3`,y:`y2`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:-108e5},{type:`lnTo`,x:`x4`,y:`y1`},{type:`arcTo`,wR:`wd32`,hR:`hR`,stAng:`3cd4`,swAng:`cd2`},{type:`close`},{type:`moveTo`,x:`x5`,y:`y2`},{type:`lnTo`,x:`x5`,y:`y6`},{type:`moveTo`,x:`x6`,y:`y6`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`moveTo`,x:`x2`,y:`y7`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`moveTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`x9`,y:`y7`}],stroke:!0,fill:`none`}],path:`M 0.00 200.00L 68.75 200.00A 6.25 8.33 0 0 0 68.75 183.33L 56.25 183.33A 6.25 8.33 0 0 1 56.25 166.67L 143.75 166.67A 6.25 8.33 0 0 1 143.75 183.33L 131.25 183.33A 6.25 8.33 0 0 0 131.25 200.00L 200.00 200.00L 175.00 116.67L 200.00 33.33L 150.00 33.33L 150.00 8.33A 6.25 8.33 0 0 0 143.75 0.00L 56.25 0.00A 6.25 8.33 0 0 0 50.00 8.33L 50.00 33.33L 0.00 33.33L 25.00 116.67ZM 75.00 191.67A 6.25 8.33 0 0 0 68.75 183.33L 56.25 183.33A 6.25 8.33 0 0 1 56.25 166.67L 75.00 166.67ZM 125.00 191.67A 6.25 8.33 0 0 1 131.25 183.33L 143.75 183.33A 6.25 8.33 0 0 0 143.75 166.67L 125.00 166.67ZM 0.00 200.00L 25.00 116.67L 0.00 33.33L 50.00 33.33L 50.00 8.33A 6.25 8.33 0 0 1 56.25 0.00L 143.75 0.00A 6.25 8.33 0 0 1 150.00 8.33L 150.00 33.33L 150.00 33.33L 200.00 33.33L 175.00 116.67L 200.00 200.00L 131.25 200.00A 6.25 8.33 0 0 1 131.25 183.33L 143.75 183.33A 6.25 8.33 0 0 0 143.75 166.67L 56.25 166.67A 6.25 8.33 0 0 0 56.25 183.33L 68.75 183.33A 6.25 8.33 0 0 1 68.75 200.00ZM 75.00 166.67L 75.00 191.67M 125.00 191.67L 125.00 166.67M 50.00 175.00L 50.00 33.33M 150.00 33.33L 150.00 175.00`,range:[[0,33333],[25e3,75e3]],relative:[`y`,`x`]},rightArrow:{type:`rightArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 100000 w ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`dx1`,fmla:`*/ ss a2 100000`},{name:`x1`,fmla:`+- r 0 dx1`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`dx2`,fmla:`*/ y1 dx1 hd2`},{name:`x2`,fmla:`+- x1 dx2 0`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`l`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`l`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 0.00 150.00Z`,range:[[0,1e5],[0,1e5]],relative:[`y`,`x`]},rightArrowCallout:{type:`rightArrowCallout`,defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`*/ 100000 w ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 ss w`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`dy1`,fmla:`*/ ss a2 100000`},{name:`dy2`,fmla:`*/ ss a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y4`,fmla:`+- vc dy1 0`},{name:`dx3`,fmla:`*/ ss a3 100000`},{name:`x3`,fmla:`+- r 0 dx3`},{name:`x2`,fmla:`*/ w a4 100000`},{name:`x1`,fmla:`*/ x2 1 2`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x3`,y:`y2`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`r`,y:`y1`}},{x:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x3`,y:`t`}},{x:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`x2`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 129.95 0.00L 129.95 75.00L 150.00 75.00L 150.00 50.00L 200.00 100.00L 150.00 150.00L 150.00 125.00L 129.95 125.00L 129.95 200.00L 0.00 200.00Z`,range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:[`y`,`y`,`x`,`x`]},rightBrace:{type:`rightBrace`,defaultValue:[8333,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a2`,fmla:`pin 0 adj2 100000`},{name:`q1`,fmla:`+- 100000 0 a2`},{name:`q2`,fmla:`min q1 a2`},{name:`q3`,fmla:`*/ q2 1 2`},{name:`maxAdj1`,fmla:`*/ q3 h ss`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`y1`,fmla:`*/ ss a1 100000`},{name:`y3`,fmla:`*/ h a2 100000`},{name:`y2`,fmla:`+- y3 0 y1`},{name:`y4`,fmla:`+- b 0 y1`},{name:`dx1`,fmla:`cos wd2 2700000`},{name:`dy1`,fmla:`sin y1 2700000`},{name:`ir`,fmla:`+- l dx1 0`},{name:`it`,fmla:`+- y1 0 dy1`},{name:`ib`,fmla:`+- b dy1 y1`}],ranges:[{y:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`hc`,y:`y1`}},{y:{name:`adj2`,min:0,max:1e5},pos:{x:`r`,y:`y3`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`hc`,y:`y2`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:-54e5},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`y4`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`hc`,y:`y2`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`cd2`,swAng:-54e5},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`hc`,y:`y4`},{type:`arcTo`,wR:`wd2`,hR:`y1`,stAng:0,swAng:`cd4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00A 100.00 16.67 0 0 1 100.00 16.67L 100.00 83.33A 100.00 16.67 0 0 0 200.00 100.00A 100.00 16.67 0 0 0 100.00 116.67L 100.00 183.33A 100.00 16.67 0 0 1 0.00 200.00ZM 0.00 0.00A 100.00 16.67 0 0 1 100.00 16.67L 100.00 83.33A 100.00 16.67 0 0 0 200.00 100.00A 100.00 16.67 0 0 0 100.00 116.67L 100.00 183.33A 100.00 16.67 0 0 1 0.00 200.00`,range:[[0,25e3],[0,1e5]],relative:[`y`,`y`]},rightBracket:{type:`rightBracket`,defaultValue:[8333],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 50000 h ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`y1`,fmla:`*/ ss a 100000`},{name:`y2`,fmla:`+- b 0 y1`},{name:`dx1`,fmla:`cos w 2700000`},{name:`dy1`,fmla:`sin y1 2700000`},{name:`ir`,fmla:`+- l dx1 0`},{name:`it`,fmla:`+- y1 0 dy1`},{name:`ib`,fmla:`+- b dy1 y1`}],ranges:[{y:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`r`,y:`y1`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:0,swAng:`cd4`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`w`,hR:`y1`,stAng:0,swAng:`cd4`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00A 200.00 16.67 0 0 1 200.00 16.67L 200.00 183.33A 200.00 16.67 0 0 1 0.00 200.00ZM 0.00 0.00A 200.00 16.67 0 0 1 200.00 16.67L 200.00 183.33A 200.00 16.67 0 0 1 0.00 200.00`,range:[[0,5e4]],relative:[`y`]},round1Rect:{type:`round1Rect`,defaultValue:[16667],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`*/ ss a 100000`},{name:`x1`,fmla:`+- r 0 dx1`},{name:`idx`,fmla:`*/ dx1 29289 100000`},{name:`ir`,fmla:`+- r 0 idx`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`arcTo`,wR:`dx1`,hR:`dx1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 200.00L 0.00 200.00Z`,range:[[0,5e4]],relative:[`x`]},round2DiagRect:{type:`round2DiagRect`,defaultValue:[16667,0],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`x1`,fmla:`*/ ss a1 100000`},{name:`y1`,fmla:`+- b 0 x1`},{name:`a`,fmla:`*/ ss a2 100000`},{name:`x2`,fmla:`+- r 0 a`},{name:`y2`,fmla:`+- b 0 a`},{name:`dx1`,fmla:`*/ x1 29289 100000`},{name:`dx2`,fmla:`*/ a 29289 100000`},{name:`d`,fmla:`+- dx1 0 dx2`},{name:`dx`,fmla:`?: d dx1 dx2`},{name:`ir`,fmla:`+- r 0 dx`},{name:`ib`,fmla:`+- b 0 dx`}],ranges:[{x:{name:`adj1`,min:0,max:5e4},pos:{x:`x1`,y:`t`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`arcTo`,wR:`a`,hR:`a`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`a`,y:`b`},{type:`arcTo`,wR:`a`,hR:`a`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 33.33 0.00L 200.00 0.00A 0.00 0.00 0 0 1 200.00 0.00L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 0.00 200.00A 0.00 0.00 0 0 1 0.00 200.00L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00Z`,range:[[0,5e4],[0,5e4]],relative:[`x`,`x`]},round2SameRect:{type:`round2SameRect`,defaultValue:[16667,0],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`tx1`,fmla:`*/ ss a1 100000`},{name:`tx2`,fmla:`+- r 0 tx1`},{name:`bx1`,fmla:`*/ ss a2 100000`},{name:`bx2`,fmla:`+- r 0 bx1`},{name:`by1`,fmla:`+- b 0 bx1`},{name:`d`,fmla:`+- tx1 0 bx1`},{name:`tdx`,fmla:`*/ tx1 29289 100000`},{name:`bdx`,fmla:`*/ bx1 29289 100000`},{name:`il`,fmla:`?: d tdx bdx`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 bdx`}],ranges:[{x:{name:`adj1`,min:0,max:5e4},pos:{x:`tx2`,y:`t`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`bx1`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`tx1`,y:`t`},{type:`lnTo`,x:`tx2`,y:`t`},{type:`arcTo`,wR:`tx1`,hR:`tx1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`by1`},{type:`arcTo`,wR:`bx1`,hR:`bx1`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`bx1`,y:`b`},{type:`arcTo`,wR:`bx1`,hR:`bx1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`tx1`},{type:`arcTo`,wR:`tx1`,hR:`tx1`,stAng:`cd2`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 33.33 0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 200.00A 0.00 0.00 0 0 1 200.00 200.00L 0.00 200.00A 0.00 0.00 0 0 1 0.00 200.00L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00Z`,range:[[0,5e4],[0,5e4]],relative:[`x`,`x`]},roundRect:{type:`roundRect`,defaultValue:[16667],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`x1`,fmla:`*/ ss a 100000`},{name:`x2`,fmla:`+- r 0 x1`},{name:`y2`,fmla:`+- b 0 x1`},{name:`il`,fmla:`*/ x1 29289 100000`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`t`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y2`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x1`,y:`b`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67Z`,range:[[0,5e4]],relative:[`x`]},rtTriangle:{type:`rtTriangle`,defaultValue:[],adjustmentNames:[],params:[{name:`it`,fmla:`*/ h 7 12`},{name:`ir`,fmla:`*/ w 7 12`},{name:`ib`,fmla:`*/ h 11 12`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 0.00 0.00L 200.00 200.00Z`,range:[],relative:[]},smileyFace:{type:`smileyFace`,defaultValue:[4653],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin -4653 adj 4653`},{name:`x1`,fmla:`*/ w 4969 21699`},{name:`x2`,fmla:`*/ w 6215 21600`},{name:`x3`,fmla:`*/ w 13135 21600`},{name:`x4`,fmla:`*/ w 16640 21600`},{name:`y1`,fmla:`*/ h 7570 21600`},{name:`y3`,fmla:`*/ h 16515 21600`},{name:`dy2`,fmla:`*/ h a 100000`},{name:`y2`,fmla:`+- y3 0 dy2`},{name:`y4`,fmla:`+- y3 dy2 0`},{name:`dy3`,fmla:`*/ h a 50000`},{name:`y5`,fmla:`+- y4 dy3 0`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`},{name:`wR`,fmla:`*/ w 1125 21600`},{name:`hR`,fmla:`*/ h 1125 21600`}],ranges:[{y:{name:`adj`,min:-4653,max:4653},pos:{x:`hc`,y:`y4`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:216e5},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x2`,y:`y1`},{type:`arcTo`,wR:`wR`,hR:`hR`,stAng:`cd2`,swAng:216e5},{type:`moveTo`,x:`x3`,y:`y1`},{type:`arcTo`,wR:`wR`,hR:`hR`,stAng:`cd2`,swAng:216e5}],stroke:!0,fill:`darkenLess`},{path:[{type:`moveTo`,x:`x1`,y:`y2`},{type:`quadBezTo`,pts:[{x:`hc`,y:`y5`},{x:`x4`,y:`y2`}]}],stroke:!0,fill:`none`},{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:216e5},{type:`close`}],stroke:!0,fill:`none`}],path:`M 0.00 100.00A 100.00 100.00 0 1 1 0.00 100.44ZM 57.55 70.09A 10.42 10.42 0 1 1 57.55 70.14M 121.62 70.09A 10.42 10.42 0 1 1 121.62 70.14M 45.80 143.61Q 100.00,180.83 154.07,143.61M 0.00 100.00A 100.00 100.00 0 1 1 0.00 100.44Z`,range:[[-4653,4653]],relative:[`y`]},snip1Rect:{type:`snip1Rect`,defaultValue:[16667],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`*/ ss a 100000`},{name:`x1`,fmla:`+- r 0 dx1`},{name:`it`,fmla:`*/ dx1 1 2`},{name:`ir`,fmla:`+/ x1 r 2`}],ranges:[{x:{name:`adj`,min:0,max:5e4},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`r`,y:`dx1`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 0.00 200.00Z`,range:[[0,5e4]],relative:[`x`]},snip2DiagRect:{type:`snip2DiagRect`,defaultValue:[0,16667],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`lx1`,fmla:`*/ ss a1 100000`},{name:`lx2`,fmla:`+- r 0 lx1`},{name:`ly1`,fmla:`+- b 0 lx1`},{name:`rx1`,fmla:`*/ ss a2 100000`},{name:`rx2`,fmla:`+- r 0 rx1`},{name:`ry1`,fmla:`+- b 0 rx1`},{name:`d`,fmla:`+- lx1 0 rx1`},{name:`dx`,fmla:`?: d lx1 rx1`},{name:`il`,fmla:`*/ dx 1 2`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[{x:{name:`adj1`,min:0,max:5e4},pos:{x:`lx1`,y:`t`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`rx2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`lx1`,y:`t`},{type:`lnTo`,x:`rx2`,y:`t`},{type:`lnTo`,x:`r`,y:`rx1`},{type:`lnTo`,x:`r`,y:`ly1`},{type:`lnTo`,x:`lx2`,y:`b`},{type:`lnTo`,x:`rx1`,y:`b`},{type:`lnTo`,x:`l`,y:`ry1`},{type:`lnTo`,x:`l`,y:`lx1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 200.00 200.00L 33.33 200.00L 0.00 166.67L 0.00 0.00Z`,range:[[0,5e4],[0,5e4]],relative:[`x`,`x`]},snip2SameRect:{type:`snip2SameRect`,defaultValue:[16667,0],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`tx1`,fmla:`*/ ss a1 100000`},{name:`tx2`,fmla:`+- r 0 tx1`},{name:`bx1`,fmla:`*/ ss a2 100000`},{name:`bx2`,fmla:`+- r 0 bx1`},{name:`by1`,fmla:`+- b 0 bx1`},{name:`d`,fmla:`+- tx1 0 bx1`},{name:`dx`,fmla:`?: d tx1 bx1`},{name:`il`,fmla:`*/ dx 1 2`},{name:`ir`,fmla:`+- r 0 il`},{name:`it`,fmla:`*/ tx1 1 2`},{name:`ib`,fmla:`+/ by1 b 2`}],ranges:[{x:{name:`adj1`,min:0,max:5e4},pos:{x:`tx2`,y:`t`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`bx1`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`tx1`,y:`t`},{type:`lnTo`,x:`tx2`,y:`t`},{type:`lnTo`,x:`r`,y:`tx1`},{type:`lnTo`,x:`r`,y:`by1`},{type:`lnTo`,x:`bx2`,y:`b`},{type:`lnTo`,x:`bx1`,y:`b`},{type:`lnTo`,x:`l`,y:`by1`},{type:`lnTo`,x:`l`,y:`tx1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 33.33 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 200.00 200.00L 0.00 200.00L 0.00 200.00L 0.00 33.33Z`,range:[[0,5e4],[0,5e4]],relative:[`x`,`x`]},snipRoundRect:{type:`snipRoundRect`,defaultValue:[16667,16667],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 50000`},{name:`a2`,fmla:`pin 0 adj2 50000`},{name:`x1`,fmla:`*/ ss a1 100000`},{name:`dx2`,fmla:`*/ ss a2 100000`},{name:`x2`,fmla:`+- r 0 dx2`},{name:`il`,fmla:`*/ x1 29289 100000`},{name:`ir`,fmla:`+/ x2 r 2`}],ranges:[{x:{name:`adj1`,min:0,max:5e4},pos:{x:`x1`,y:`t`}},{x:{name:`adj2`,min:0,max:5e4},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`dx2`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`lnTo`,x:`l`,y:`x1`},{type:`arcTo`,wR:`x1`,hR:`x1`,stAng:`cd2`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 33.33 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 0.00 200.00L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00Z`,range:[[0,5e4],[0,5e4]],relative:[`x`,`x`]},squareTabs:{type:`squareTabs`,defaultValue:[],adjustmentNames:[],params:[{name:`md`,fmla:`mod w h 0`},{name:`dx`,fmla:`*/ 1 md 20`},{name:`y1`,fmla:`+- 0 b dx`},{name:`x1`,fmla:`+- 0 r dx`}],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`dx`,y:`t`},{type:`lnTo`,x:`dx`,y:`dx`},{type:`lnTo`,x:`l`,y:`dx`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`dx`,y:`y1`},{type:`lnTo`,x:`dx`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`dx`},{type:`lnTo`,x:`x1`,y:`dx`},{type:`close`}],stroke:!0,fill:`norm`},{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x1`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 14.14 0.00L 14.14 14.14L 0.00 14.14ZM 0.00 185.86L 14.14 185.86L 14.14 200.00L 0.00 200.00ZM 185.86 0.00L 200.00 0.00L 200.00 14.14L 185.86 14.14ZM 185.86 185.86L 200.00 185.86L 200.00 200.00L 185.86 200.00Z`,range:[],relative:[]},star10:{type:`star10`,defaultValue:[42533,105146],adjustmentNames:[`adj`,`hf`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`swd2`,fmla:`*/ wd2 hf 100000`},{name:`dx1`,fmla:`*/ swd2 95106 100000`},{name:`dx2`,fmla:`*/ swd2 58779 100000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`dy1`,fmla:`*/ hd2 80902 100000`},{name:`dy2`,fmla:`*/ hd2 30902 100000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`},{name:`y4`,fmla:`+- vc dy1 0`},{name:`iwd2`,fmla:`*/ swd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx1`,fmla:`*/ iwd2 80902 100000`},{name:`sdx2`,fmla:`*/ iwd2 30902 100000`},{name:`sdy1`,fmla:`*/ ihd2 95106 100000`},{name:`sdy2`,fmla:`*/ ihd2 58779 100000`},{name:`sx1`,fmla:`+- hc 0 iwd2`},{name:`sx2`,fmla:`+- hc 0 sdx1`},{name:`sx3`,fmla:`+- hc 0 sdx2`},{name:`sx4`,fmla:`+- hc sdx2 0`},{name:`sx5`,fmla:`+- hc sdx1 0`},{name:`sx6`,fmla:`+- hc iwd2 0`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc 0 sdy2`},{name:`sy3`,fmla:`+- vc sdy2 0`},{name:`sy4`,fmla:`+- vc sdy1 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`sx2`,y:`sy2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`sx3`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx4`,y:`sy1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`sx5`,y:`sy2`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`lnTo`,x:`sx6`,y:`vc`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`sx5`,y:`sy3`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`sx4`,y:`sy4`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx3`,y:`sy4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`sx2`,y:`sy3`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`sx1`,y:`vc`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M -0.00 69.10L 27.64 50.00L 38.20 19.10L 72.36 19.10L 100.00 0.00L 127.64 19.10L 161.80 19.10L 172.36 50.00L 200.00 69.10L 189.44 100.00L 200.00 130.90L 172.36 150.00L 161.80 180.90L 127.64 180.90L 100.00 200.00L 72.36 180.90L 38.20 180.90L 27.64 150.00L -0.00 130.90L 10.56 100.00Z`,range:[[0,5e4],[-2147483647,2147483647]],relative:[`y`,``]},star12:{type:`star12`,defaultValue:[37500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`cos wd2 1800000`},{name:`dy1`,fmla:`sin hd2 3600000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x3`,fmla:`*/ w 3 4`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y3`,fmla:`*/ h 3 4`},{name:`y4`,fmla:`+- vc dy1 0`},{name:`iwd2`,fmla:`*/ wd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx1`,fmla:`cos iwd2 900000`},{name:`sdx2`,fmla:`cos iwd2 2700000`},{name:`sdx3`,fmla:`cos iwd2 4500000`},{name:`sdy1`,fmla:`sin ihd2 4500000`},{name:`sdy2`,fmla:`sin ihd2 2700000`},{name:`sdy3`,fmla:`sin ihd2 900000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc 0 sdx3`},{name:`sx4`,fmla:`+- hc sdx3 0`},{name:`sx5`,fmla:`+- hc sdx2 0`},{name:`sx6`,fmla:`+- hc sdx1 0`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc 0 sdy2`},{name:`sy3`,fmla:`+- vc 0 sdy3`},{name:`sy4`,fmla:`+- vc sdy3 0`},{name:`sy5`,fmla:`+- vc sdy2 0`},{name:`sy6`,fmla:`+- vc sdy1 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`sx1`,y:`sy3`},{type:`lnTo`,x:`x1`,y:`hd4`},{type:`lnTo`,x:`sx2`,y:`sy2`},{type:`lnTo`,x:`wd4`,y:`y1`},{type:`lnTo`,x:`sx3`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx4`,y:`sy1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`sx5`,y:`sy2`},{type:`lnTo`,x:`x4`,y:`hd4`},{type:`lnTo`,x:`sx6`,y:`sy3`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`sx6`,y:`sy4`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`sx5`,y:`sy5`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`sx4`,y:`sy6`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx3`,y:`sy6`},{type:`lnTo`,x:`wd4`,y:`y4`},{type:`lnTo`,x:`sx2`,y:`sy5`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`sx1`,y:`sy4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 27.56 80.59L 13.40 50.00L 46.97 46.97L 50.00 13.40L 80.59 27.56L 100.00 0.00L 119.41 27.56L 150.00 13.40L 153.03 46.97L 186.60 50.00L 172.44 80.59L 200.00 100.00L 172.44 119.41L 186.60 150.00L 153.03 153.03L 150.00 186.60L 119.41 172.44L 100.00 200.00L 80.59 172.44L 50.00 186.60L 46.97 153.03L 13.40 150.00L 27.56 119.41Z`,range:[[0,5e4]],relative:[`y`]},star16:{type:`star16`,defaultValue:[37500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`*/ wd2 92388 100000`},{name:`dx2`,fmla:`*/ wd2 70711 100000`},{name:`dx3`,fmla:`*/ wd2 38268 100000`},{name:`dy1`,fmla:`*/ hd2 92388 100000`},{name:`dy2`,fmla:`*/ hd2 70711 100000`},{name:`dy3`,fmla:`*/ hd2 38268 100000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc dx3 0`},{name:`x5`,fmla:`+- hc dx2 0`},{name:`x6`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc 0 dy3`},{name:`y4`,fmla:`+- vc dy3 0`},{name:`y5`,fmla:`+- vc dy2 0`},{name:`y6`,fmla:`+- vc dy1 0`},{name:`iwd2`,fmla:`*/ wd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx1`,fmla:`*/ iwd2 98079 100000`},{name:`sdx2`,fmla:`*/ iwd2 83147 100000`},{name:`sdx3`,fmla:`*/ iwd2 55557 100000`},{name:`sdx4`,fmla:`*/ iwd2 19509 100000`},{name:`sdy1`,fmla:`*/ ihd2 98079 100000`},{name:`sdy2`,fmla:`*/ ihd2 83147 100000`},{name:`sdy3`,fmla:`*/ ihd2 55557 100000`},{name:`sdy4`,fmla:`*/ ihd2 19509 100000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc 0 sdx3`},{name:`sx4`,fmla:`+- hc 0 sdx4`},{name:`sx5`,fmla:`+- hc sdx4 0`},{name:`sx6`,fmla:`+- hc sdx3 0`},{name:`sx7`,fmla:`+- hc sdx2 0`},{name:`sx8`,fmla:`+- hc sdx1 0`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc 0 sdy2`},{name:`sy3`,fmla:`+- vc 0 sdy3`},{name:`sy4`,fmla:`+- vc 0 sdy4`},{name:`sy5`,fmla:`+- vc sdy4 0`},{name:`sy6`,fmla:`+- vc sdy3 0`},{name:`sy7`,fmla:`+- vc sdy2 0`},{name:`sy8`,fmla:`+- vc sdy1 0`},{name:`idx`,fmla:`cos iwd2 2700000`},{name:`idy`,fmla:`sin ihd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ir`,fmla:`+- hc idx 0`},{name:`ib`,fmla:`+- vc idy 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`sx1`,y:`sy4`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`sx2`,y:`sy3`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`sx3`,y:`sy2`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`sx4`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx5`,y:`sy1`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`sx6`,y:`sy2`},{type:`lnTo`,x:`x5`,y:`y2`},{type:`lnTo`,x:`sx7`,y:`sy3`},{type:`lnTo`,x:`x6`,y:`y3`},{type:`lnTo`,x:`sx8`,y:`sy4`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`sx8`,y:`sy5`},{type:`lnTo`,x:`x6`,y:`y4`},{type:`lnTo`,x:`sx7`,y:`sy6`},{type:`lnTo`,x:`x5`,y:`y5`},{type:`lnTo`,x:`sx6`,y:`sy7`},{type:`lnTo`,x:`x4`,y:`y6`},{type:`lnTo`,x:`sx5`,y:`sy8`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx4`,y:`sy8`},{type:`lnTo`,x:`x3`,y:`y6`},{type:`lnTo`,x:`sx3`,y:`sy7`},{type:`lnTo`,x:`x2`,y:`y5`},{type:`lnTo`,x:`sx2`,y:`sy6`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`sx1`,y:`sy5`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 26.44 85.37L 7.61 61.73L 37.64 58.33L 29.29 29.29L 58.33 37.64L 61.73 7.61L 85.37 26.44L 100.00 0.00L 114.63 26.44L 138.27 7.61L 141.67 37.64L 170.71 29.29L 162.36 58.33L 192.39 61.73L 173.56 85.37L 200.00 100.00L 173.56 114.63L 192.39 138.27L 162.36 141.67L 170.71 170.71L 141.67 162.36L 138.27 192.39L 114.63 173.56L 100.00 200.00L 85.37 173.56L 61.73 192.39L 58.33 162.36L 29.29 170.71L 37.64 141.67L 7.61 138.27L 26.44 114.63Z`,range:[[0,5e4]],relative:[`y`]},star24:{type:`star24`,defaultValue:[37500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`cos wd2 900000`},{name:`dx2`,fmla:`cos wd2 1800000`},{name:`dx3`,fmla:`cos wd2 2700000`},{name:`dx4`,fmla:`val wd4`},{name:`dx5`,fmla:`cos wd2 4500000`},{name:`dy1`,fmla:`sin hd2 4500000`},{name:`dy2`,fmla:`sin hd2 3600000`},{name:`dy3`,fmla:`sin hd2 2700000`},{name:`dy4`,fmla:`val hd4`},{name:`dy5`,fmla:`sin hd2 900000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc 0 dx4`},{name:`x5`,fmla:`+- hc 0 dx5`},{name:`x6`,fmla:`+- hc dx5 0`},{name:`x7`,fmla:`+- hc dx4 0`},{name:`x8`,fmla:`+- hc dx3 0`},{name:`x9`,fmla:`+- hc dx2 0`},{name:`x10`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc 0 dy3`},{name:`y4`,fmla:`+- vc 0 dy4`},{name:`y5`,fmla:`+- vc 0 dy5`},{name:`y6`,fmla:`+- vc dy5 0`},{name:`y7`,fmla:`+- vc dy4 0`},{name:`y8`,fmla:`+- vc dy3 0`},{name:`y9`,fmla:`+- vc dy2 0`},{name:`y10`,fmla:`+- vc dy1 0`},{name:`iwd2`,fmla:`*/ wd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx1`,fmla:`*/ iwd2 99144 100000`},{name:`sdx2`,fmla:`*/ iwd2 92388 100000`},{name:`sdx3`,fmla:`*/ iwd2 79335 100000`},{name:`sdx4`,fmla:`*/ iwd2 60876 100000`},{name:`sdx5`,fmla:`*/ iwd2 38268 100000`},{name:`sdx6`,fmla:`*/ iwd2 13053 100000`},{name:`sdy1`,fmla:`*/ ihd2 99144 100000`},{name:`sdy2`,fmla:`*/ ihd2 92388 100000`},{name:`sdy3`,fmla:`*/ ihd2 79335 100000`},{name:`sdy4`,fmla:`*/ ihd2 60876 100000`},{name:`sdy5`,fmla:`*/ ihd2 38268 100000`},{name:`sdy6`,fmla:`*/ ihd2 13053 100000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc 0 sdx3`},{name:`sx4`,fmla:`+- hc 0 sdx4`},{name:`sx5`,fmla:`+- hc 0 sdx5`},{name:`sx6`,fmla:`+- hc 0 sdx6`},{name:`sx7`,fmla:`+- hc sdx6 0`},{name:`sx8`,fmla:`+- hc sdx5 0`},{name:`sx9`,fmla:`+- hc sdx4 0`},{name:`sx10`,fmla:`+- hc sdx3 0`},{name:`sx11`,fmla:`+- hc sdx2 0`},{name:`sx12`,fmla:`+- hc sdx1 0`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc 0 sdy2`},{name:`sy3`,fmla:`+- vc 0 sdy3`},{name:`sy4`,fmla:`+- vc 0 sdy4`},{name:`sy5`,fmla:`+- vc 0 sdy5`},{name:`sy6`,fmla:`+- vc 0 sdy6`},{name:`sy7`,fmla:`+- vc sdy6 0`},{name:`sy8`,fmla:`+- vc sdy5 0`},{name:`sy9`,fmla:`+- vc sdy4 0`},{name:`sy10`,fmla:`+- vc sdy3 0`},{name:`sy11`,fmla:`+- vc sdy2 0`},{name:`sy12`,fmla:`+- vc sdy1 0`},{name:`idx`,fmla:`cos iwd2 2700000`},{name:`idy`,fmla:`sin ihd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ir`,fmla:`+- hc idx 0`},{name:`ib`,fmla:`+- vc idy 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:`ssd2`},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`sx1`,y:`sy6`},{type:`lnTo`,x:`x1`,y:`y5`},{type:`lnTo`,x:`sx2`,y:`sy5`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`sx3`,y:`sy4`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`sx4`,y:`sy3`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`lnTo`,x:`sx5`,y:`sy2`},{type:`lnTo`,x:`x5`,y:`y1`},{type:`lnTo`,x:`sx6`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx7`,y:`sy1`},{type:`lnTo`,x:`x6`,y:`y1`},{type:`lnTo`,x:`sx8`,y:`sy2`},{type:`lnTo`,x:`x7`,y:`y2`},{type:`lnTo`,x:`sx9`,y:`sy3`},{type:`lnTo`,x:`x8`,y:`y3`},{type:`lnTo`,x:`sx10`,y:`sy4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`sx11`,y:`sy5`},{type:`lnTo`,x:`x10`,y:`y5`},{type:`lnTo`,x:`sx12`,y:`sy6`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`sx12`,y:`sy7`},{type:`lnTo`,x:`x10`,y:`y6`},{type:`lnTo`,x:`sx11`,y:`sy8`},{type:`lnTo`,x:`x9`,y:`y7`},{type:`lnTo`,x:`sx10`,y:`sy9`},{type:`lnTo`,x:`x8`,y:`y8`},{type:`lnTo`,x:`sx9`,y:`sy10`},{type:`lnTo`,x:`x7`,y:`y9`},{type:`lnTo`,x:`sx8`,y:`sy11`},{type:`lnTo`,x:`x6`,y:`y10`},{type:`lnTo`,x:`sx7`,y:`sy12`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx6`,y:`sy12`},{type:`lnTo`,x:`x5`,y:`y10`},{type:`lnTo`,x:`sx5`,y:`sy11`},{type:`lnTo`,x:`x4`,y:`y9`},{type:`lnTo`,x:`sx4`,y:`sy10`},{type:`lnTo`,x:`x3`,y:`y8`},{type:`lnTo`,x:`sx3`,y:`sy9`},{type:`lnTo`,x:`x2`,y:`y7`},{type:`lnTo`,x:`sx2`,y:`sy8`},{type:`lnTo`,x:`x1`,y:`y6`},{type:`lnTo`,x:`sx1`,y:`sy7`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 25.64 90.21L 3.41 74.12L 30.71 71.30L 13.40 50.00L 40.50 54.34L 29.29 29.29L 54.34 40.50L 50.00 13.40L 71.30 30.71L 74.12 3.41L 90.21 25.64L 100.00 0.00L 109.79 25.64L 125.88 3.41L 128.70 30.71L 150.00 13.40L 145.66 40.50L 170.71 29.29L 159.50 54.34L 186.60 50.00L 169.29 71.30L 196.59 74.12L 174.36 90.21L 200.00 100.00L 174.36 109.79L 196.59 125.88L 169.29 128.70L 186.60 150.00L 159.50 145.66L 170.71 170.71L 145.66 159.50L 150.00 186.60L 128.70 169.29L 125.88 196.59L 109.79 174.36L 100.00 200.00L 90.21 174.36L 74.12 196.59L 71.30 169.29L 50.00 186.60L 54.34 159.50L 29.29 170.71L 40.50 145.66L 13.40 150.00L 30.71 128.70L 3.41 125.88L 25.64 109.79Z`,range:[[0,100]],relative:[`y`]},star32:{type:`star32`,defaultValue:[37500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`*/ wd2 98079 100000`},{name:`dx2`,fmla:`*/ wd2 92388 100000`},{name:`dx3`,fmla:`*/ wd2 83147 100000`},{name:`dx4`,fmla:`cos wd2 2700000`},{name:`dx5`,fmla:`*/ wd2 55557 100000`},{name:`dx6`,fmla:`*/ wd2 38268 100000`},{name:`dx7`,fmla:`*/ wd2 19509 100000`},{name:`dy1`,fmla:`*/ hd2 98079 100000`},{name:`dy2`,fmla:`*/ hd2 92388 100000`},{name:`dy3`,fmla:`*/ hd2 83147 100000`},{name:`dy4`,fmla:`sin hd2 2700000`},{name:`dy5`,fmla:`*/ hd2 55557 100000`},{name:`dy6`,fmla:`*/ hd2 38268 100000`},{name:`dy7`,fmla:`*/ hd2 19509 100000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc 0 dx4`},{name:`x5`,fmla:`+- hc 0 dx5`},{name:`x6`,fmla:`+- hc 0 dx6`},{name:`x7`,fmla:`+- hc 0 dx7`},{name:`x8`,fmla:`+- hc dx7 0`},{name:`x9`,fmla:`+- hc dx6 0`},{name:`x10`,fmla:`+- hc dx5 0`},{name:`x11`,fmla:`+- hc dx4 0`},{name:`x12`,fmla:`+- hc dx3 0`},{name:`x13`,fmla:`+- hc dx2 0`},{name:`x14`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc 0 dy3`},{name:`y4`,fmla:`+- vc 0 dy4`},{name:`y5`,fmla:`+- vc 0 dy5`},{name:`y6`,fmla:`+- vc 0 dy6`},{name:`y7`,fmla:`+- vc 0 dy7`},{name:`y8`,fmla:`+- vc dy7 0`},{name:`y9`,fmla:`+- vc dy6 0`},{name:`y10`,fmla:`+- vc dy5 0`},{name:`y11`,fmla:`+- vc dy4 0`},{name:`y12`,fmla:`+- vc dy3 0`},{name:`y13`,fmla:`+- vc dy2 0`},{name:`y14`,fmla:`+- vc dy1 0`},{name:`iwd2`,fmla:`*/ wd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx1`,fmla:`*/ iwd2 99518 100000`},{name:`sdx2`,fmla:`*/ iwd2 95694 100000`},{name:`sdx3`,fmla:`*/ iwd2 88192 100000`},{name:`sdx4`,fmla:`*/ iwd2 77301 100000`},{name:`sdx5`,fmla:`*/ iwd2 63439 100000`},{name:`sdx6`,fmla:`*/ iwd2 47140 100000`},{name:`sdx7`,fmla:`*/ iwd2 29028 100000`},{name:`sdx8`,fmla:`*/ iwd2 9802 100000`},{name:`sdy1`,fmla:`*/ ihd2 99518 100000`},{name:`sdy2`,fmla:`*/ ihd2 95694 100000`},{name:`sdy3`,fmla:`*/ ihd2 88192 100000`},{name:`sdy4`,fmla:`*/ ihd2 77301 100000`},{name:`sdy5`,fmla:`*/ ihd2 63439 100000`},{name:`sdy6`,fmla:`*/ ihd2 47140 100000`},{name:`sdy7`,fmla:`*/ ihd2 29028 100000`},{name:`sdy8`,fmla:`*/ ihd2 9802 100000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc 0 sdx3`},{name:`sx4`,fmla:`+- hc 0 sdx4`},{name:`sx5`,fmla:`+- hc 0 sdx5`},{name:`sx6`,fmla:`+- hc 0 sdx6`},{name:`sx7`,fmla:`+- hc 0 sdx7`},{name:`sx8`,fmla:`+- hc 0 sdx8`},{name:`sx9`,fmla:`+- hc sdx8 0`},{name:`sx10`,fmla:`+- hc sdx7 0`},{name:`sx11`,fmla:`+- hc sdx6 0`},{name:`sx12`,fmla:`+- hc sdx5 0`},{name:`sx13`,fmla:`+- hc sdx4 0`},{name:`sx14`,fmla:`+- hc sdx3 0`},{name:`sx15`,fmla:`+- hc sdx2 0`},{name:`sx16`,fmla:`+- hc sdx1 0`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc 0 sdy2`},{name:`sy3`,fmla:`+- vc 0 sdy3`},{name:`sy4`,fmla:`+- vc 0 sdy4`},{name:`sy5`,fmla:`+- vc 0 sdy5`},{name:`sy6`,fmla:`+- vc 0 sdy6`},{name:`sy7`,fmla:`+- vc 0 sdy7`},{name:`sy8`,fmla:`+- vc 0 sdy8`},{name:`sy9`,fmla:`+- vc sdy8 0`},{name:`sy10`,fmla:`+- vc sdy7 0`},{name:`sy11`,fmla:`+- vc sdy6 0`},{name:`sy12`,fmla:`+- vc sdy5 0`},{name:`sy13`,fmla:`+- vc sdy4 0`},{name:`sy14`,fmla:`+- vc sdy3 0`},{name:`sy15`,fmla:`+- vc sdy2 0`},{name:`sy16`,fmla:`+- vc sdy1 0`},{name:`idx`,fmla:`cos iwd2 2700000`},{name:`idy`,fmla:`sin ihd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ir`,fmla:`+- hc idx 0`},{name:`ib`,fmla:`+- vc idy 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:`ssd2`},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`sx1`,y:`sy8`},{type:`lnTo`,x:`x1`,y:`y7`},{type:`lnTo`,x:`sx2`,y:`sy7`},{type:`lnTo`,x:`x2`,y:`y6`},{type:`lnTo`,x:`sx3`,y:`sy6`},{type:`lnTo`,x:`x3`,y:`y5`},{type:`lnTo`,x:`sx4`,y:`sy5`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`sx5`,y:`sy4`},{type:`lnTo`,x:`x5`,y:`y3`},{type:`lnTo`,x:`sx6`,y:`sy3`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`sx7`,y:`sy2`},{type:`lnTo`,x:`x7`,y:`y1`},{type:`lnTo`,x:`sx8`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx9`,y:`sy1`},{type:`lnTo`,x:`x8`,y:`y1`},{type:`lnTo`,x:`sx10`,y:`sy2`},{type:`lnTo`,x:`x9`,y:`y2`},{type:`lnTo`,x:`sx11`,y:`sy3`},{type:`lnTo`,x:`x10`,y:`y3`},{type:`lnTo`,x:`sx12`,y:`sy4`},{type:`lnTo`,x:`x11`,y:`y4`},{type:`lnTo`,x:`sx13`,y:`sy5`},{type:`lnTo`,x:`x12`,y:`y5`},{type:`lnTo`,x:`sx14`,y:`sy6`},{type:`lnTo`,x:`x13`,y:`y6`},{type:`lnTo`,x:`sx15`,y:`sy7`},{type:`lnTo`,x:`x14`,y:`y7`},{type:`lnTo`,x:`sx16`,y:`sy8`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`sx16`,y:`sy9`},{type:`lnTo`,x:`x14`,y:`y8`},{type:`lnTo`,x:`sx15`,y:`sy10`},{type:`lnTo`,x:`x13`,y:`y9`},{type:`lnTo`,x:`sx14`,y:`sy11`},{type:`lnTo`,x:`x12`,y:`y10`},{type:`lnTo`,x:`sx13`,y:`sy12`},{type:`lnTo`,x:`x11`,y:`y11`},{type:`lnTo`,x:`sx12`,y:`sy13`},{type:`lnTo`,x:`x10`,y:`y12`},{type:`lnTo`,x:`sx11`,y:`sy14`},{type:`lnTo`,x:`x9`,y:`y13`},{type:`lnTo`,x:`sx10`,y:`sy15`},{type:`lnTo`,x:`x8`,y:`y14`},{type:`lnTo`,x:`sx9`,y:`sy16`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx8`,y:`sy16`},{type:`lnTo`,x:`x7`,y:`y14`},{type:`lnTo`,x:`sx7`,y:`sy15`},{type:`lnTo`,x:`x6`,y:`y13`},{type:`lnTo`,x:`sx6`,y:`sy14`},{type:`lnTo`,x:`x5`,y:`y12`},{type:`lnTo`,x:`sx5`,y:`sy13`},{type:`lnTo`,x:`x4`,y:`y11`},{type:`lnTo`,x:`sx4`,y:`sy12`},{type:`lnTo`,x:`x3`,y:`y10`},{type:`lnTo`,x:`sx3`,y:`sy11`},{type:`lnTo`,x:`x2`,y:`y9`},{type:`lnTo`,x:`sx2`,y:`sy10`},{type:`lnTo`,x:`x1`,y:`y8`},{type:`lnTo`,x:`sx1`,y:`sy9`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 25.36 92.65L 1.92 80.49L 28.23 78.23L 7.61 61.73L 33.86 64.65L 16.85 44.44L 42.02 52.42L 29.29 29.29L 52.42 42.02L 44.44 16.85L 64.65 33.86L 61.73 7.61L 78.23 28.23L 80.49 1.92L 92.65 25.36L 100.00 0.00L 107.35 25.36L 119.51 1.92L 121.77 28.23L 138.27 7.61L 135.35 33.86L 155.56 16.85L 147.58 42.02L 170.71 29.29L 157.98 52.42L 183.15 44.44L 166.14 64.65L 192.39 61.73L 171.77 78.23L 198.08 80.49L 174.64 92.65L 200.00 100.00L 174.64 107.35L 198.08 119.51L 171.77 121.77L 192.39 138.27L 166.14 135.35L 183.15 155.56L 157.98 147.58L 170.71 170.71L 147.58 157.98L 155.56 183.15L 135.35 166.14L 138.27 192.39L 121.77 171.77L 119.51 198.08L 107.35 174.64L 100.00 200.00L 92.65 174.64L 80.49 198.08L 78.23 171.77L 61.73 192.39L 64.65 166.14L 44.44 183.15L 52.42 157.98L 29.29 170.71L 42.02 147.58L 16.85 155.56L 33.86 135.35L 7.61 138.27L 28.23 121.77L 1.92 119.51L 25.36 107.35Z`,range:[[0,100]],relative:[`y`]},star4:{type:`star4`,defaultValue:[12500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`iwd2`,fmla:`*/ wd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx`,fmla:`cos iwd2 2700000`},{name:`sdy`,fmla:`sin ihd2 2700000`},{name:`sx1`,fmla:`+- hc 0 sdx`},{name:`sx2`,fmla:`+- hc sdx 0`},{name:`sy1`,fmla:`+- vc 0 sdy`},{name:`sy2`,fmla:`+- vc sdy 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`sx1`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx2`,y:`sy1`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`sx2`,y:`sy2`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx1`,y:`sy2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 82.32 82.32L 100.00 0.00L 117.68 82.32L 200.00 100.00L 117.68 117.68L 100.00 200.00L 82.32 117.68Z`,range:[[0,5e4]],relative:[`y`]},star5:{type:`star5`,defaultValue:[19098,105146,110557],adjustmentNames:[`adj`,`hf`,`vf`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`swd2`,fmla:`*/ wd2 hf 100000`},{name:`shd2`,fmla:`*/ hd2 vf 100000`},{name:`svc`,fmla:`*/ vc vf 100000`},{name:`dx1`,fmla:`cos swd2 1080000`},{name:`dx2`,fmla:`cos swd2 18360000`},{name:`dy1`,fmla:`sin shd2 1080000`},{name:`dy2`,fmla:`sin shd2 18360000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- svc 0 dy1`},{name:`y2`,fmla:`+- svc 0 dy2`},{name:`iwd2`,fmla:`*/ swd2 a 50000`},{name:`ihd2`,fmla:`*/ shd2 a 50000`},{name:`sdx1`,fmla:`cos iwd2 20520000`},{name:`sdx2`,fmla:`cos iwd2 3240000`},{name:`sdy1`,fmla:`sin ihd2 3240000`},{name:`sdy2`,fmla:`sin ihd2 20520000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc sdx2 0`},{name:`sx4`,fmla:`+- hc sdx1 0`},{name:`sy1`,fmla:`+- svc 0 sdy1`},{name:`sy2`,fmla:`+- svc 0 sdy2`},{name:`sy3`,fmla:`+- svc ihd2 0`},{name:`yAdj`,fmla:`+- svc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`sx2`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx3`,y:`sy1`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`sx4`,y:`sy2`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`hc`,y:`sy3`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`sx1`,y:`sy2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 76.39L 76.39 76.39L 100.00 0.00L 123.61 76.39L 200.00 76.39L 138.20 123.61L 161.80 200.00L 100.00 152.79L 38.20 200.00L 61.80 123.61Z`,range:[[0,5e4],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,``,``]},star6:{type:`star6`,defaultValue:[28868,115470],adjustmentNames:[`adj`,`hf`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`swd2`,fmla:`*/ wd2 hf 100000`},{name:`dx1`,fmla:`cos swd2 1800000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`},{name:`y2`,fmla:`+- vc hd4 0`},{name:`iwd2`,fmla:`*/ swd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx2`,fmla:`*/ iwd2 1 2`},{name:`sx1`,fmla:`+- hc 0 iwd2`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc sdx2 0`},{name:`sx4`,fmla:`+- hc iwd2 0`},{name:`sdy1`,fmla:`sin ihd2 3600000`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc sdy1 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`hd4`},{type:`lnTo`,x:`sx2`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx3`,y:`sy1`},{type:`lnTo`,x:`x2`,y:`hd4`},{type:`lnTo`,x:`sx4`,y:`vc`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`sx3`,y:`sy2`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx2`,y:`sy2`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`sx1`,y:`vc`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 50.00L 66.67 50.00L 100.00 0.00L 133.33 50.00L 200.00 50.00L 166.67 100.00L 200.00 150.00L 133.33 150.00L 100.00 200.00L 66.67 150.00L 0.00 150.00L 33.33 100.00Z`,range:[[0,5e4],[-2147483647,2147483647]],relative:[`y`,``]},star7:{type:`star7`,defaultValue:[34601,102572,105210],adjustmentNames:[`adj`,`hf`,`vf`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`swd2`,fmla:`*/ wd2 hf 100000`},{name:`shd2`,fmla:`*/ hd2 vf 100000`},{name:`svc`,fmla:`*/ vc vf 100000`},{name:`dx1`,fmla:`*/ swd2 97493 100000`},{name:`dx2`,fmla:`*/ swd2 78183 100000`},{name:`dx3`,fmla:`*/ swd2 43388 100000`},{name:`dy1`,fmla:`*/ shd2 62349 100000`},{name:`dy2`,fmla:`*/ shd2 22252 100000`},{name:`dy3`,fmla:`*/ shd2 90097 100000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc 0 dx3`},{name:`x4`,fmla:`+- hc dx3 0`},{name:`x5`,fmla:`+- hc dx2 0`},{name:`x6`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- svc 0 dy1`},{name:`y2`,fmla:`+- svc dy2 0`},{name:`y3`,fmla:`+- svc dy3 0`},{name:`iwd2`,fmla:`*/ swd2 a 50000`},{name:`ihd2`,fmla:`*/ shd2 a 50000`},{name:`sdx1`,fmla:`*/ iwd2 97493 100000`},{name:`sdx2`,fmla:`*/ iwd2 78183 100000`},{name:`sdx3`,fmla:`*/ iwd2 43388 100000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc 0 sdx3`},{name:`sx4`,fmla:`+- hc sdx3 0`},{name:`sx5`,fmla:`+- hc sdx2 0`},{name:`sx6`,fmla:`+- hc sdx1 0`},{name:`sdy1`,fmla:`*/ ihd2 90097 100000`},{name:`sdy2`,fmla:`*/ ihd2 22252 100000`},{name:`sdy3`,fmla:`*/ ihd2 62349 100000`},{name:`sy1`,fmla:`+- svc 0 sdy1`},{name:`sy2`,fmla:`+- svc 0 sdy2`},{name:`sy3`,fmla:`+- svc sdy3 0`},{name:`sy4`,fmla:`+- svc ihd2 0`},{name:`yAdj`,fmla:`+- svc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`sx1`,y:`sy2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`sx3`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx4`,y:`sy1`},{type:`lnTo`,x:`x5`,y:`y1`},{type:`lnTo`,x:`sx6`,y:`sy2`},{type:`lnTo`,x:`x6`,y:`y2`},{type:`lnTo`,x:`sx5`,y:`sy3`},{type:`lnTo`,x:`x4`,y:`y3`},{type:`lnTo`,x:`hc`,y:`sy4`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`sx2`,y:`sy3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M -0.00 128.62L 30.80 89.01L 19.81 39.61L 69.20 39.61L 100.00 0.00L 130.80 39.61L 180.19 39.61L 169.20 89.01L 200.00 128.62L 155.50 150.60L 144.50 200.00L 100.00 178.02L 55.50 200.00L 44.50 150.60Z`,range:[[0,5e4],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`y`,``,``]},star8:{type:`star8`,defaultValue:[37500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 50000`},{name:`dx1`,fmla:`cos wd2 2700000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`},{name:`dy1`,fmla:`sin hd2 2700000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`iwd2`,fmla:`*/ wd2 a 50000`},{name:`ihd2`,fmla:`*/ hd2 a 50000`},{name:`sdx1`,fmla:`*/ iwd2 92388 100000`},{name:`sdx2`,fmla:`*/ iwd2 38268 100000`},{name:`sdy1`,fmla:`*/ ihd2 92388 100000`},{name:`sdy2`,fmla:`*/ ihd2 38268 100000`},{name:`sx1`,fmla:`+- hc 0 sdx1`},{name:`sx2`,fmla:`+- hc 0 sdx2`},{name:`sx3`,fmla:`+- hc sdx2 0`},{name:`sx4`,fmla:`+- hc sdx1 0`},{name:`sy1`,fmla:`+- vc 0 sdy1`},{name:`sy2`,fmla:`+- vc 0 sdy2`},{name:`sy3`,fmla:`+- vc sdy2 0`},{name:`sy4`,fmla:`+- vc sdy1 0`},{name:`yAdj`,fmla:`+- vc 0 ihd2`}],ranges:[{y:{name:`adj`,min:0,max:5e4},pos:{x:`hc`,y:`yAdj`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`sx1`,y:`sy2`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`sx2`,y:`sy1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`sx3`,y:`sy1`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`sx4`,y:`sy2`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`sx4`,y:`sy3`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`sx3`,y:`sy4`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`sx2`,y:`sy4`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`lnTo`,x:`sx1`,y:`sy3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 30.71 71.30L 29.29 29.29L 71.30 30.71L 100.00 0.00L 128.70 30.71L 170.71 29.29L 169.29 71.30L 200.00 100.00L 169.29 128.70L 170.71 170.71L 128.70 169.29L 100.00 200.00L 71.30 169.29L 29.29 170.71L 30.71 128.70Z`,range:[[0,5e4]],relative:[`y`]},straightConnector1:{type:`straightConnector1`,defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`r`,y:`b`}],stroke:!0,fill:`none`}],path:`M 0.00 0.00L 200.00 200.00`,range:[],relative:[]},stripedRightArrow:{type:`stripedRightArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 84375 w ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`x4`,fmla:`*/ ss 5 32`},{name:`dx5`,fmla:`*/ ss a2 100000`},{name:`x5`,fmla:`+- r 0 dx5`},{name:`dy1`,fmla:`*/ h a1 200000`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`y2`,fmla:`+- vc dy1 0`},{name:`dx6`,fmla:`*/ dy1 dx5 hd2`},{name:`x6`,fmla:`+- r 0 dx6`}],ranges:[{y:{name:`adj1`,min:0,max:1e5},pos:{x:`l`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x5`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y1`},{type:`lnTo`,x:`ssd32`,y:`y1`},{type:`lnTo`,x:`ssd32`,y:`y2`},{type:`lnTo`,x:`l`,y:`y2`},{type:`close`},{type:`moveTo`,x:`ssd16`,y:`y1`},{type:`lnTo`,x:`ssd8`,y:`y1`},{type:`lnTo`,x:`ssd8`,y:`y2`},{type:`lnTo`,x:`ssd16`,y:`y2`},{type:`close`},{type:`moveTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x5`,y:`y1`},{type:`lnTo`,x:`x5`,y:`t`},{type:`lnTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x5`,y:`b`},{type:`lnTo`,x:`x5`,y:`y2`},{type:`lnTo`,x:`x4`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 50.00L 6.25 50.00L 6.25 150.00L 0.00 150.00ZM 12.50 50.00L 25.00 50.00L 25.00 150.00L 12.50 150.00ZM 31.25 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 31.25 150.00Z`,range:[[0,1e5],[0,84375]],relative:[`y`,`x`]},sun:{type:`sun`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 12500 adj 46875`},{name:`g0`,fmla:`+- 50000 0 a`},{name:`g1`,fmla:`*/ g0 30274 32768`},{name:`g2`,fmla:`*/ g0 12540 32768`},{name:`g3`,fmla:`+- g1 50000 0`},{name:`g4`,fmla:`+- g2 50000 0`},{name:`g5`,fmla:`+- 50000 0 g1`},{name:`g6`,fmla:`+- 50000 0 g2`},{name:`g7`,fmla:`*/ g0 23170 32768`},{name:`g8`,fmla:`+- 50000 g7 0`},{name:`g9`,fmla:`+- 50000 0 g7`},{name:`g10`,fmla:`*/ g5 3 4`},{name:`g11`,fmla:`*/ g6 3 4`},{name:`g12`,fmla:`+- g10 3662 0`},{name:`g13`,fmla:`+- g11 3662 0`},{name:`g14`,fmla:`+- g11 12500 0`},{name:`g15`,fmla:`+- 100000 0 g10`},{name:`g16`,fmla:`+- 100000 0 g12`},{name:`g17`,fmla:`+- 100000 0 g13`},{name:`g18`,fmla:`+- 100000 0 g14`},{name:`ox1`,fmla:`*/ w 18436 21600`},{name:`oy1`,fmla:`*/ h 3163 21600`},{name:`ox2`,fmla:`*/ w 3163 21600`},{name:`oy2`,fmla:`*/ h 18436 21600`},{name:`x8`,fmla:`*/ w g8 100000`},{name:`x9`,fmla:`*/ w g9 100000`},{name:`x10`,fmla:`*/ w g10 100000`},{name:`x12`,fmla:`*/ w g12 100000`},{name:`x13`,fmla:`*/ w g13 100000`},{name:`x14`,fmla:`*/ w g14 100000`},{name:`x15`,fmla:`*/ w g15 100000`},{name:`x16`,fmla:`*/ w g16 100000`},{name:`x17`,fmla:`*/ w g17 100000`},{name:`x18`,fmla:`*/ w g18 100000`},{name:`x19`,fmla:`*/ w a 100000`},{name:`wR`,fmla:`*/ w g0 100000`},{name:`hR`,fmla:`*/ h g0 100000`},{name:`y8`,fmla:`*/ h g8 100000`},{name:`y9`,fmla:`*/ h g9 100000`},{name:`y10`,fmla:`*/ h g10 100000`},{name:`y12`,fmla:`*/ h g12 100000`},{name:`y13`,fmla:`*/ h g13 100000`},{name:`y14`,fmla:`*/ h g14 100000`},{name:`y15`,fmla:`*/ h g15 100000`},{name:`y16`,fmla:`*/ h g16 100000`},{name:`y17`,fmla:`*/ h g17 100000`},{name:`y18`,fmla:`*/ h g18 100000`}],ranges:[{x:{name:`adj`,min:12500,max:46875},pos:{x:`x19`,y:`vc`}}],paths:[{path:[{type:`moveTo`,x:`r`,y:`vc`},{type:`lnTo`,x:`x15`,y:`y18`},{type:`lnTo`,x:`x15`,y:`y14`},{type:`close`},{type:`moveTo`,x:`ox1`,y:`oy1`},{type:`lnTo`,x:`x16`,y:`y13`},{type:`lnTo`,x:`x17`,y:`y12`},{type:`close`},{type:`moveTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x18`,y:`y10`},{type:`lnTo`,x:`x14`,y:`y10`},{type:`close`},{type:`moveTo`,x:`ox2`,y:`oy1`},{type:`lnTo`,x:`x13`,y:`y12`},{type:`lnTo`,x:`x12`,y:`y13`},{type:`close`},{type:`moveTo`,x:`l`,y:`vc`},{type:`lnTo`,x:`x10`,y:`y14`},{type:`lnTo`,x:`x10`,y:`y18`},{type:`close`},{type:`moveTo`,x:`ox2`,y:`oy2`},{type:`lnTo`,x:`x12`,y:`y17`},{type:`lnTo`,x:`x13`,y:`y16`},{type:`close`},{type:`moveTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`x14`,y:`y15`},{type:`lnTo`,x:`x18`,y:`y15`},{type:`close`},{type:`moveTo`,x:`ox1`,y:`oy2`},{type:`lnTo`,x:`x17`,y:`y16`},{type:`lnTo`,x:`x16`,y:`y17`},{type:`close`},{type:`moveTo`,x:`x19`,y:`vc`},{type:`arcTo`,wR:`wR`,hR:`hR`,stAng:`cd2`,swAng:216e5},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 200.00 100.00L 159.65 114.35L 159.65 85.65ZM 170.70 29.29L 152.32 67.97L 132.03 47.68ZM 100.00 0.00L 114.35 40.35L 85.65 40.35ZM 29.29 29.29L 67.97 47.68L 47.68 67.97ZM 0.00 100.00L 40.35 85.65L 40.35 114.35ZM 29.29 170.70L 47.68 132.03L 67.97 152.32ZM 100.00 200.00L 85.65 159.65L 114.35 159.65ZM 170.70 170.70L 132.03 152.32L 152.32 132.03ZM 50.00 100.00A 50.00 50.00 0 1 1 50.00 100.22Z`,range:[[12500,46875]],relative:[`x`]},swooshArrow:{type:`swooshArrow`,defaultValue:[25e3,16667],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 1 adj1 75000`},{name:`maxAdj2`,fmla:`*/ 70000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`ad1`,fmla:`*/ h a1 100000`},{name:`ad2`,fmla:`*/ ss a2 100000`},{name:`xB`,fmla:`+- r 0 ad2`},{name:`yB`,fmla:`+- t ssd8 0`},{name:`alfa`,fmla:`*/ cd4 1 14`},{name:`dx0`,fmla:`tan ssd8 alfa`},{name:`xC`,fmla:`+- xB 0 dx0`},{name:`dx1`,fmla:`tan ad1 alfa`},{name:`yF`,fmla:`+- yB ad1 0`},{name:`xF`,fmla:`+- xB dx1 0`},{name:`xE`,fmla:`+- xF dx0 0`},{name:`yE`,fmla:`+- yF ssd8 0`},{name:`dy2`,fmla:`+- yE 0 t`},{name:`dy22`,fmla:`*/ dy2 1 2`},{name:`dy3`,fmla:`*/ h 1 20`},{name:`yD`,fmla:`+- t dy22 dy3`},{name:`dy4`,fmla:`*/ hd6 1 1`},{name:`yP1`,fmla:`+- hd6 dy4 0`},{name:`xP1`,fmla:`val wd6`},{name:`dy5`,fmla:`*/ hd6 1 2`},{name:`yP2`,fmla:`+- yF dy5 0`},{name:`xP2`,fmla:`val wd4`}],ranges:[{y:{name:`adj1`,min:1,max:75e3},pos:{x:`xF`,y:`yF`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`xB`,y:`yB`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`quadBezTo`,pts:[{x:`xP1`,y:`yP1`},{x:`xB`,y:`yB`}]},{type:`lnTo`,x:`xC`,y:`t`},{type:`lnTo`,x:`r`,y:`yD`},{type:`lnTo`,x:`xE`,y:`yE`},{type:`lnTo`,x:`xF`,y:`yF`},{type:`quadBezTo`,pts:[{x:`xP2`,y:`yP2`},{x:`l`,y:`b`}]},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00Q 33.00,66.67 166.67,25.00L 163.85 0.00L 200.00 40.00L 175.12 100.00L 172.30 75.00Q 50.00,91.67 0.00,200.00Z`,range:[[1,75e3],[0,7e4]],relative:[`y`,`x`]},teardrop:{type:`teardrop`,defaultValue:[1e5],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 200000`},{name:`r2`,fmla:`sqrt 2`},{name:`tw`,fmla:`*/ wd2 r2 1`},{name:`th`,fmla:`*/ hd2 r2 1`},{name:`sw`,fmla:`*/ tw a 100000`},{name:`sh`,fmla:`*/ th a 100000`},{name:`dx1`,fmla:`cos sw 2700000`},{name:`dy1`,fmla:`sin sh 2700000`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc 0 dy1`},{name:`x2`,fmla:`+/ hc x1 2`},{name:`y2`,fmla:`+/ vc y1 2`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{x:{name:`adj`,min:0,max:2e5},pos:{x:`x1`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`vc`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd2`,swAng:`cd4`},{type:`quadBezTo`,pts:[{x:`x2`,y:`t`},{x:`x1`,y:`y1`}]},{type:`quadBezTo`,pts:[{x:`r`,y:`y2`},{x:`r`,y:`vc`}]},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`cd4`,swAng:`cd4`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00Q 150.00,0.00 200.00,0.00Q 200.00,50.00 200.00,100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z`,range:[[0,2e5]],relative:[`x`]},trapezoid:{type:`trapezoid`,defaultValue:[25e3],adjustmentNames:[`adj`],params:[{name:`maxAdj`,fmla:`*/ 50000 w ss`},{name:`a`,fmla:`pin 0 adj maxAdj`},{name:`x1`,fmla:`*/ ss a 200000`},{name:`x2`,fmla:`*/ ss a 100000`},{name:`x3`,fmla:`+- r 0 x2`},{name:`x4`,fmla:`+- r 0 x1`},{name:`il`,fmla:`*/ wd3 a maxAdj`},{name:`it`,fmla:`*/ hd3 a maxAdj`},{name:`ir`,fmla:`+- r 0 il`}],ranges:[{x:{name:`adj`,min:0,max:`maxAdj`},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`x3`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 50.00 0.00L 150.00 0.00L 200.00 200.00Z`,range:[[0,5e4]],relative:[`x`]},triangle:{type:`triangle`,defaultValue:[5e4],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 100000`},{name:`x1`,fmla:`*/ w a 200000`},{name:`x2`,fmla:`*/ w a 100000`},{name:`x3`,fmla:`+- x1 wd2 0`}],ranges:[{x:{name:`adj`,min:0,max:1e5},pos:{x:`x2`,y:`t`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 100.00 0.00L 200.00 200.00Z`,range:[[0,1e5]],relative:[`x`]},upArrowCallout:{type:`upArrowCallout`,defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`maxAdj2`,fmla:`*/ 50000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`*/ 100000 h ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 ss h`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`dx1`,fmla:`*/ ss a2 100000`},{name:`dx2`,fmla:`*/ ss a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`*/ ss a3 100000`},{name:`dy2`,fmla:`*/ h a4 100000`},{name:`y2`,fmla:`+- b 0 dy2`},{name:`y3`,fmla:`+/ y2 b 2`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x2`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`y1`}},{y:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 70.05L 75.00 70.05L 75.00 50.00L 50.00 50.00L 100.00 0.00L 150.00 50.00L 125.00 50.00L 125.00 70.05L 200.00 70.05L 200.00 200.00L 0.00 200.00Z`,range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:[`x`,`x`,`y`,`y`]},upArrow:{type:`upArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`y2`,fmla:`*/ ss a2 100000`},{name:`y3`,fmla:`+- b 0 y2`},{name:`dx1`,fmla:`*/ w a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`},{name:`dy1`,fmla:`*/ x1 y2 wd2`},{name:`y1`,fmla:`+- y2 0 dy1`},{name:`y4`,fmla:`+- y3 dy1 0`}],ranges:[{x:{name:`adj1`,min:0,max:1e5},pos:{x:`x1`,y:`y3`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 100.00 0.00L 200.00 100.00L 150.00 100.00L 150.00 200.00L 50.00 200.00L 50.00 100.00Z`,range:[[0,1e5],[0,5e4]],relative:[`x`,`y`]},upDownArrow:{type:`upDownArrow`,defaultValue:[5e4,5e4],adjustmentNames:[`adj1`,`adj2`],params:[{name:`maxAdj2`,fmla:`*/ 50000 h ss`},{name:`a1`,fmla:`pin 0 adj1 100000`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`y2`,fmla:`*/ ss a2 100000`},{name:`y3`,fmla:`+- b 0 y2`},{name:`dx1`,fmla:`*/ w a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc dx1 0`},{name:`dy1`,fmla:`*/ x1 y2 wd2`},{name:`y1`,fmla:`+- y2 0 dy1`},{name:`y4`,fmla:`+- y3 dy1 0`}],ranges:[{x:{name:`adj1`,min:0,max:1e5},pos:{x:`x1`,y:`y3`}},{y:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`r`,y:`y3`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`l`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y3`},{type:`lnTo`,x:`x1`,y:`y2`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 100.00L 100.00 0.00L 200.00 100.00L 150.00 100.00L 150.00 100.00L 200.00 100.00L 100.00 200.00L 0.00 100.00L 50.00 100.00L 50.00 100.00Z`,range:[[0,1e5],[0,5e4]],relative:[`x`,`y`]},upDownArrowCallout:{type:`upDownArrowCallout`,defaultValue:[25e3,25e3,25e3,48123],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`],params:[{name:`maxAdj2`,fmla:`*/ 50000 w ss`},{name:`a2`,fmla:`pin 0 adj2 maxAdj2`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`maxAdj3`,fmla:`*/ 50000 h ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q2`,fmla:`*/ a3 ss hd2`},{name:`maxAdj4`,fmla:`+- 100000 0 q2`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`dx1`,fmla:`*/ ss a2 100000`},{name:`dx2`,fmla:`*/ ss a1 200000`},{name:`x1`,fmla:`+- hc 0 dx1`},{name:`x2`,fmla:`+- hc 0 dx2`},{name:`x3`,fmla:`+- hc dx2 0`},{name:`x4`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`*/ ss a3 100000`},{name:`y4`,fmla:`+- b 0 y1`},{name:`dy2`,fmla:`*/ h a4 200000`},{name:`y2`,fmla:`+- vc 0 dy2`},{name:`y3`,fmla:`+- vc dy2 0`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`x2`,y:`y1`}},{x:{name:`adj2`,min:0,max:`maxAdj2`},pos:{x:`x1`,y:`t`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`r`,y:`y1`}},{y:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`l`,y:`y2`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y2`},{type:`lnTo`,x:`x2`,y:`y1`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`lnTo`,x:`hc`,y:`t`},{type:`lnTo`,x:`x4`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y1`},{type:`lnTo`,x:`x3`,y:`y2`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`r`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y3`},{type:`lnTo`,x:`x3`,y:`y4`},{type:`lnTo`,x:`x4`,y:`y4`},{type:`lnTo`,x:`hc`,y:`b`},{type:`lnTo`,x:`x1`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y4`},{type:`lnTo`,x:`x2`,y:`y3`},{type:`lnTo`,x:`l`,y:`y3`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 51.88L 75.00 51.88L 75.00 50.00L 50.00 50.00L 100.00 0.00L 150.00 50.00L 125.00 50.00L 125.00 51.88L 200.00 51.88L 200.00 148.12L 125.00 148.12L 125.00 150.00L 150.00 150.00L 100.00 200.00L 50.00 150.00L 75.00 150.00L 75.00 148.12L 0.00 148.12Z`,range:[[0,5e4],[0,5e4],[0,5e4],[0,5e4]],relative:[`x`,`x`,`y`,`y`]},uturnArrow:{type:`uturnArrow`,defaultValue:[25e3,25e3,25e3,43750,75e3],adjustmentNames:[`adj1`,`adj2`,`adj3`,`adj4`,`adj5`],params:[{name:`a2`,fmla:`pin 0 adj2 25000`},{name:`maxAdj1`,fmla:`*/ a2 2 1`},{name:`a1`,fmla:`pin 0 adj1 maxAdj1`},{name:`q2`,fmla:`*/ a1 ss h`},{name:`q3`,fmla:`+- 100000 0 q2`},{name:`maxAdj3`,fmla:`*/ q3 h ss`},{name:`a3`,fmla:`pin 0 adj3 maxAdj3`},{name:`q1`,fmla:`+- a3 a1 0`},{name:`minAdj5`,fmla:`*/ q1 ss h`},{name:`a5`,fmla:`pin minAdj5 adj5 100000`},{name:`th`,fmla:`*/ ss a1 100000`},{name:`aw2`,fmla:`*/ ss a2 100000`},{name:`th2`,fmla:`*/ th 1 2`},{name:`dh2`,fmla:`+- aw2 0 th2`},{name:`y5`,fmla:`*/ h a5 100000`},{name:`ah`,fmla:`*/ ss a3 100000`},{name:`y4`,fmla:`+- y5 0 ah`},{name:`x9`,fmla:`+- r 0 dh2`},{name:`bw`,fmla:`*/ x9 1 2`},{name:`bs`,fmla:`min bw y4`},{name:`maxAdj4`,fmla:`*/ bs 100000 ss`},{name:`a4`,fmla:`pin 0 adj4 maxAdj4`},{name:`bd`,fmla:`*/ ss a4 100000`},{name:`bd3`,fmla:`+- bd 0 th`},{name:`bd2`,fmla:`max bd3 0`},{name:`x3`,fmla:`+- th bd2 0`},{name:`x8`,fmla:`+- r 0 aw2`},{name:`x6`,fmla:`+- x8 0 aw2`},{name:`x7`,fmla:`+- x6 dh2 0`},{name:`x4`,fmla:`+- x9 0 bd`},{name:`x5`,fmla:`+- x7 0 bd2`},{name:`cx`,fmla:`+/ th x7 2`}],ranges:[{x:{name:`adj1`,min:0,max:`maxAdj1`},pos:{x:`th`,y:`b`}},{x:{name:`adj2`,min:0,max:25e3},pos:{x:`x6`,y:`b`}},{y:{name:`adj3`,min:0,max:`maxAdj3`},pos:{x:`x6`,y:`y4`}},{x:{name:`adj4`,min:0,max:`maxAdj4`},pos:{x:`bd`,y:`t`}},{y:{name:`adj5`,min:`minAdj5`,max:1e5},pos:{x:`r`,y:`y5`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`b`},{type:`lnTo`,x:`l`,y:`bd`},{type:`arcTo`,wR:`bd`,hR:`bd`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x4`,y:`t`},{type:`arcTo`,wR:`bd`,hR:`bd`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`x9`,y:`y4`},{type:`lnTo`,x:`r`,y:`y4`},{type:`lnTo`,x:`x8`,y:`y5`},{type:`lnTo`,x:`x6`,y:`y4`},{type:`lnTo`,x:`x7`,y:`y4`},{type:`lnTo`,x:`x7`,y:`x3`},{type:`arcTo`,wR:`bd2`,hR:`bd2`,stAng:0,swAng:-54e5},{type:`lnTo`,x:`x3`,y:`th`},{type:`arcTo`,wR:`bd2`,hR:`bd2`,stAng:`3cd4`,swAng:-54e5},{type:`lnTo`,x:`th`,y:`b`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 200.00L 0.00 87.50A 87.50 87.50 0 0 1 87.50 -0.00L 87.50 0.00A 87.50 87.50 0 0 1 175.00 87.50L 175.00 100.00L 200.00 100.00L 150.00 150.00L 100.00 100.00L 125.00 100.00L 125.00 87.50A 37.50 37.50 0 0 0 87.50 50.00L 87.50 50.00A 37.50 37.50 0 0 0 50.00 87.50L 50.00 200.00Z`,range:[[0,5e4],[0,25e3],[0,75e3],[0,43750],[5e4,1e5]],relative:[`x`,`x`,`y`,`x`,`y`]},verticalScroll:{type:`verticalScroll`,defaultValue:[12500],adjustmentNames:[`adj`],params:[{name:`a`,fmla:`pin 0 adj 25000`},{name:`ch`,fmla:`*/ ss a 100000`},{name:`ch2`,fmla:`*/ ch 1 2`},{name:`ch4`,fmla:`*/ ch 1 4`},{name:`x3`,fmla:`+- ch ch2 0`},{name:`x4`,fmla:`+- ch ch 0`},{name:`x6`,fmla:`+- r 0 ch`},{name:`x7`,fmla:`+- r 0 ch2`},{name:`x5`,fmla:`+- x6 0 ch2`},{name:`y3`,fmla:`+- b 0 ch`},{name:`y4`,fmla:`+- b 0 ch2`}],ranges:[{y:{name:`adj`,min:0,max:25e3},pos:{x:`l`,y:`ch`}}],paths:[{path:[{type:`moveTo`,x:`ch2`,y:`b`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`ch2`,y:`y4`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`cd4`,swAng:-108e5},{type:`lnTo`,x:`ch`,y:`y3`},{type:`lnTo`,x:`ch`,y:`ch2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x7`,y:`t`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`x6`,y:`ch`},{type:`lnTo`,x:`x6`,y:`y4`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd4`},{type:`close`},{type:`moveTo`,x:`x4`,y:`ch2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`cd4`,swAng:`cd2`},{type:`close`}],stroke:!1,fill:`norm`},{path:[{type:`moveTo`,x:`x4`,y:`ch2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd4`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`cd4`,swAng:`cd2`},{type:`close`},{type:`moveTo`,x:`ch`,y:`y4`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`3cd4`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`3cd4`,swAng:`cd2`},{type:`close`}],stroke:!1,fill:`darkenLess`},{path:[{type:`moveTo`,x:`ch`,y:`y3`},{type:`lnTo`,x:`ch`,y:`ch2`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x7`,y:`t`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`x6`,y:`ch`},{type:`lnTo`,x:`x6`,y:`y4`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`ch2`,y:`b`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:`cd2`},{type:`close`},{type:`moveTo`,x:`x3`,y:`t`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`3cd4`,swAng:`cd2`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`cd4`,swAng:`cd2`},{type:`lnTo`,x:`x4`,y:`ch2`},{type:`moveTo`,x:`x6`,y:`ch`},{type:`lnTo`,x:`x3`,y:`ch`},{type:`moveTo`,x:`ch2`,y:`y3`},{type:`arcTo`,wR:`ch4`,hR:`ch4`,stAng:`3cd4`,swAng:`cd2`},{type:`lnTo`,x:`ch`,y:`y4`},{type:`moveTo`,x:`ch2`,y:`b`},{type:`arcTo`,wR:`ch2`,hR:`ch2`,stAng:`cd4`,swAng:-54e5},{type:`lnTo`,x:`ch`,y:`y3`}],stroke:!0,fill:`none`}],path:`M 12.50 200.00A 12.50 12.50 0 0 0 25.00 187.50L 12.50 187.50A 6.25 6.25 0 0 0 12.50 175.00L 25.00 175.00L 25.00 12.50A 12.50 12.50 0 0 1 37.50 -0.00L 187.50 0.00A 12.50 12.50 0 0 1 187.50 25.00L 175.00 25.00L 175.00 187.50A 12.50 12.50 0 0 1 162.50 200.00ZM 50.00 12.50A 12.50 12.50 0 0 1 37.50 25.00A 6.25 6.25 0 0 1 37.50 12.50ZM 50.00 12.50A 12.50 12.50 0 0 1 37.50 25.00A 6.25 6.25 0 0 1 37.50 12.50ZM 25.00 187.50A 12.50 12.50 0 1 1 12.50 175.00A 6.25 6.25 0 0 1 12.50 187.50ZM 25.00 175.00L 25.00 12.50A 12.50 12.50 0 0 1 37.50 -0.00L 187.50 0.00A 12.50 12.50 0 0 1 187.50 25.00L 175.00 25.00L 175.00 187.50A 12.50 12.50 0 0 1 162.50 200.00L 12.50 200.00A 12.50 12.50 0 0 1 12.50 175.00ZM 37.50 0.00A 12.50 12.50 0 0 1 37.50 25.00A 6.25 6.25 0 0 1 37.50 12.50L 50.00 12.50M 175.00 25.00L 37.50 25.00M 12.50 175.00A 6.25 6.25 0 0 1 12.50 187.50L 25.00 187.50M 12.50 200.00A 12.50 12.50 0 0 0 25.00 187.50L 25.00 175.00`,range:[[0,25e3]],relative:[`y`]},wave:{type:`wave`,defaultValue:[12500,0],adjustmentNames:[`adj1`,`adj2`],params:[{name:`a1`,fmla:`pin 0 adj1 20000`},{name:`a2`,fmla:`pin -10000 adj2 10000`},{name:`y1`,fmla:`*/ h a1 100000`},{name:`dy2`,fmla:`*/ y1 10 3`},{name:`y2`,fmla:`+- y1 0 dy2`},{name:`y3`,fmla:`+- y1 dy2 0`},{name:`y4`,fmla:`+- b 0 y1`},{name:`y5`,fmla:`+- y4 0 dy2`},{name:`y6`,fmla:`+- y4 dy2 0`},{name:`dx1`,fmla:`*/ w a2 100000`},{name:`of2`,fmla:`*/ w a2 50000`},{name:`x1`,fmla:`abs dx1`},{name:`dx2`,fmla:`?: of2 0 of2`},{name:`x2`,fmla:`+- l 0 dx2`},{name:`dx5`,fmla:`?: of2 of2 0`},{name:`x5`,fmla:`+- r 0 dx5`},{name:`dx3`,fmla:`+/ dx2 x5 3`},{name:`x3`,fmla:`+- x2 dx3 0`},{name:`x4`,fmla:`+/ x3 x5 2`},{name:`x6`,fmla:`+- l dx5 0`},{name:`x10`,fmla:`+- r dx2 0`},{name:`x7`,fmla:`+- x6 dx3 0`},{name:`x8`,fmla:`+/ x7 x10 2`},{name:`x9`,fmla:`+- r 0 x1`},{name:`xAdj`,fmla:`+- hc dx1 0`},{name:`xAdj2`,fmla:`+- hc 0 dx1`},{name:`il`,fmla:`max x2 x6`},{name:`ir`,fmla:`min x5 x10`},{name:`it`,fmla:`*/ h a1 50000`},{name:`ib`,fmla:`+- b 0 it`}],ranges:[{y:{name:`adj1`,min:0,max:2e4},pos:{x:`l`,y:`y1`}},{x:{name:`adj2`,min:-1e4,max:1e4},pos:{x:`xAdj`,y:`b`}}],paths:[{path:[{type:`moveTo`,x:`x2`,y:`y1`},{type:`cubicBezTo`,pts:[{x:`x3`,y:`y2`},{x:`x4`,y:`y3`},{x:`x5`,y:`y1`}]},{type:`lnTo`,x:`x10`,y:`y4`},{type:`cubicBezTo`,pts:[{x:`x8`,y:`y6`},{x:`x7`,y:`y5`},{x:`x6`,y:`y4`}]},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 25.00C 66.67,-58.33 133.33,108.33 200.00,25.00L 200.00 175.00C 133.33,258.33 66.67,91.67 0.00,175.00Z`,range:[[0,2e4],[-1e4,1e4]],relative:[`y`,`x`]},wedgeEllipseCallout:{type:`wedgeEllipseCallout`,defaultValue:[-20833,62500],adjustmentNames:[`adj1`,`adj2`],params:[{name:`dxPos`,fmla:`*/ w adj1 100000`},{name:`dyPos`,fmla:`*/ h adj2 100000`},{name:`xPos`,fmla:`+- hc dxPos 0`},{name:`yPos`,fmla:`+- vc dyPos 0`},{name:`sdx`,fmla:`*/ dxPos h 1`},{name:`sdy`,fmla:`*/ dyPos w 1`},{name:`pang`,fmla:`at2 sdx sdy`},{name:`stAng`,fmla:`+- pang 660000 0`},{name:`enAng`,fmla:`+- pang 0 660000`},{name:`dx1`,fmla:`cos wd2 stAng`},{name:`dy1`,fmla:`sin hd2 stAng`},{name:`x1`,fmla:`+- hc dx1 0`},{name:`y1`,fmla:`+- vc dy1 0`},{name:`dx2`,fmla:`cos wd2 enAng`},{name:`dy2`,fmla:`sin hd2 enAng`},{name:`x2`,fmla:`+- hc dx2 0`},{name:`y2`,fmla:`+- vc dy2 0`},{name:`stAng1`,fmla:`at2 dx1 dy1`},{name:`enAng1`,fmla:`at2 dx2 dy2`},{name:`swAng1`,fmla:`+- enAng1 0 stAng1`},{name:`swAng2`,fmla:`+- swAng1 21600000 0`},{name:`swAng`,fmla:`?: swAng1 swAng1 swAng2`},{name:`idx`,fmla:`cos wd2 2700000`},{name:`idy`,fmla:`sin hd2 2700000`},{name:`il`,fmla:`+- hc 0 idx`},{name:`ir`,fmla:`+- hc idx 0`},{name:`it`,fmla:`+- vc 0 idy`},{name:`ib`,fmla:`+- vc idy 0`}],ranges:[{x:{name:`adj1`},y:{name:`adj2`},pos:{x:`xPos`,y:`yPos`}}],paths:[{path:[{type:`moveTo`,x:`xPos`,y:`yPos`},{type:`lnTo`,x:`x1`,y:`y1`},{type:`arcTo`,wR:`wd2`,hR:`hd2`,stAng:`stAng1`,swAng:`swAng`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 58.33 225.00L 50.86 187.09A 100.00 100.00 0 1 1 87.06 199.16Z`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`]},wedgeRectCallout:{type:`wedgeRectCallout`,defaultValue:[-20833,62500],adjustmentNames:[`adj1`,`adj2`],params:[{name:`dxPos`,fmla:`*/ w adj1 100000`},{name:`dyPos`,fmla:`*/ h adj2 100000`},{name:`xPos`,fmla:`+- hc dxPos 0`},{name:`yPos`,fmla:`+- vc dyPos 0`},{name:`dx`,fmla:`+- xPos 0 hc`},{name:`dy`,fmla:`+- yPos 0 vc`},{name:`dq`,fmla:`*/ dxPos h w`},{name:`ady`,fmla:`abs dyPos`},{name:`adq`,fmla:`abs dq`},{name:`dz`,fmla:`+- ady 0 adq`},{name:`xg1`,fmla:`?: dxPos 7 2`},{name:`xg2`,fmla:`?: dxPos 10 5`},{name:`x1`,fmla:`*/ w xg1 12`},{name:`x2`,fmla:`*/ w xg2 12`},{name:`yg1`,fmla:`?: dyPos 7 2`},{name:`yg2`,fmla:`?: dyPos 10 5`},{name:`y1`,fmla:`*/ h yg1 12`},{name:`y2`,fmla:`*/ h yg2 12`},{name:`t1`,fmla:`?: dxPos l xPos`},{name:`xl`,fmla:`?: dz l t1`},{name:`t2`,fmla:`?: dyPos x1 xPos`},{name:`xt`,fmla:`?: dz t2 x1`},{name:`t3`,fmla:`?: dxPos xPos r`},{name:`xr`,fmla:`?: dz r t3`},{name:`t4`,fmla:`?: dyPos xPos x1`},{name:`xb`,fmla:`?: dz t4 x1`},{name:`t5`,fmla:`?: dxPos y1 yPos`},{name:`yl`,fmla:`?: dz y1 t5`},{name:`t6`,fmla:`?: dyPos t yPos`},{name:`yt`,fmla:`?: dz t6 t`},{name:`t7`,fmla:`?: dxPos yPos y1`},{name:`yr`,fmla:`?: dz y1 t7`},{name:`t8`,fmla:`?: dyPos yPos b`},{name:`yb`,fmla:`?: dz t8 b`}],ranges:[{x:{name:`adj1`},y:{name:`adj2`},pos:{x:`xPos`,y:`yPos`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`t`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`xt`,y:`yt`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`r`,y:`t`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`xr`,y:`yr`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`r`,y:`b`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`xb`,y:`yb`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`l`,y:`b`},{type:`lnTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`xl`,y:`yl`},{type:`lnTo`,x:`l`,y:`y1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 0.00L 33.33 0.00L 33.33 0.00L 83.33 0.00L 200.00 0.00L 200.00 116.67L 200.00 116.67L 200.00 166.67L 200.00 200.00L 83.33 200.00L 58.33 225.00L 33.33 200.00L 0.00 200.00L 0.00 166.67L 0.00 116.67L 0.00 116.67Z`,range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`]},wedgeRoundRectCallout:{type:`wedgeRoundRectCallout`,defaultValue:[-20833,62500,16667],adjustmentNames:[`adj1`,`adj2`,`adj3`],params:[{name:`dxPos`,fmla:`*/ w adj1 100000`},{name:`dyPos`,fmla:`*/ h adj2 100000`},{name:`xPos`,fmla:`+- hc dxPos 0`},{name:`yPos`,fmla:`+- vc dyPos 0`},{name:`dq`,fmla:`*/ dxPos h w`},{name:`ady`,fmla:`abs dyPos`},{name:`adq`,fmla:`abs dq`},{name:`dz`,fmla:`+- ady 0 adq`},{name:`xg1`,fmla:`?: dxPos 7 2`},{name:`xg2`,fmla:`?: dxPos 10 5`},{name:`x1`,fmla:`*/ w xg1 12`},{name:`x2`,fmla:`*/ w xg2 12`},{name:`yg1`,fmla:`?: dyPos 7 2`},{name:`yg2`,fmla:`?: dyPos 10 5`},{name:`y1`,fmla:`*/ h yg1 12`},{name:`y2`,fmla:`*/ h yg2 12`},{name:`t1`,fmla:`?: dxPos l xPos`},{name:`xl`,fmla:`?: dz l t1`},{name:`t2`,fmla:`?: dyPos x1 xPos`},{name:`xt`,fmla:`?: dz t2 x1`},{name:`t3`,fmla:`?: dxPos xPos r`},{name:`xr`,fmla:`?: dz r t3`},{name:`t4`,fmla:`?: dyPos xPos x1`},{name:`xb`,fmla:`?: dz t4 x1`},{name:`t5`,fmla:`?: dxPos y1 yPos`},{name:`yl`,fmla:`?: dz y1 t5`},{name:`t6`,fmla:`?: dyPos t yPos`},{name:`yt`,fmla:`?: dz t6 t`},{name:`t7`,fmla:`?: dxPos yPos y1`},{name:`yr`,fmla:`?: dz y1 t7`},{name:`t8`,fmla:`?: dyPos yPos b`},{name:`yb`,fmla:`?: dz t8 b`},{name:`u1`,fmla:`*/ ss adj3 100000`},{name:`u2`,fmla:`+- r 0 u1`},{name:`v2`,fmla:`+- b 0 u1`},{name:`il`,fmla:`*/ u1 29289 100000`},{name:`ir`,fmla:`+- r 0 il`},{name:`ib`,fmla:`+- b 0 il`}],ranges:[{x:{name:`adj1`},y:{name:`adj2`},pos:{x:`xPos`,y:`yPos`}}],paths:[{path:[{type:`moveTo`,x:`l`,y:`u1`},{type:`arcTo`,wR:`u1`,hR:`u1`,stAng:`cd2`,swAng:`cd4`},{type:`lnTo`,x:`x1`,y:`t`},{type:`lnTo`,x:`xt`,y:`yt`},{type:`lnTo`,x:`x2`,y:`t`},{type:`lnTo`,x:`u2`,y:`t`},{type:`arcTo`,wR:`u1`,hR:`u1`,stAng:`3cd4`,swAng:`cd4`},{type:`lnTo`,x:`r`,y:`y1`},{type:`lnTo`,x:`xr`,y:`yr`},{type:`lnTo`,x:`r`,y:`y2`},{type:`lnTo`,x:`r`,y:`v2`},{type:`arcTo`,wR:`u1`,hR:`u1`,stAng:0,swAng:`cd4`},{type:`lnTo`,x:`x2`,y:`b`},{type:`lnTo`,x:`xb`,y:`yb`},{type:`lnTo`,x:`x1`,y:`b`},{type:`lnTo`,x:`u1`,y:`b`},{type:`arcTo`,wR:`u1`,hR:`u1`,stAng:`cd4`,swAng:`cd4`},{type:`lnTo`,x:`l`,y:`y2`},{type:`lnTo`,x:`xl`,y:`yl`},{type:`lnTo`,x:`l`,y:`y1`},{type:`close`}],stroke:!0,fill:`norm`}],path:`M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 33.33 0.00L 33.33 0.00L 83.33 0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 116.67L 200.00 116.67L 200.00 166.67L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 83.33 200.00L 58.33 225.00L 33.33 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67L 0.00 166.67L 0.00 116.67L 0.00 116.67Z`,range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:[`x`,`y`,``]}};export{e as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/shapePreset-legacy-acVy7MKY.js b/editor/neo-ppt/assets/shapePreset-legacy-acVy7MKY.js new file mode 100644 index 0000000..26262fe --- /dev/null +++ b/editor/neo-ppt/assets/shapePreset-legacy-acVy7MKY.js @@ -0,0 +1 @@ +System.register([],function(a,e){return{setters:[],execute:function(){a("t",{accentBorderCallout1:{type:"accentBorderCallout1",defaultValue:[18750,-8333,112500,-38333],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"close"},{type:"lnTo",x:"x1",y:"b"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -76.67 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x"]},accentBorderCallout2:{type:"accentBorderCallout2",defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"close"},{type:"lnTo",x:"x1",y:"b"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -93.33 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x"]},accentBorderCallout3:{type:"accentBorderCallout3",defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6","adj7","adj8"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"},{name:"y4",fmla:"*/ h adj7 100000"},{name:"x4",fmla:"*/ w adj8 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}},{x:{name:"adj8"},y:{name:"adj7"},pos:{x:"x4",y:"y4"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"close"},{type:"lnTo",x:"x1",y:"b"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x4",y:"y4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x","y","x"]},accentCallout1:{type:"accentCallout1",defaultValue:[18750,-8333,112500,-38333],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"close"},{type:"lnTo",x:"x1",y:"b"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -76.67 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x"]},accentCallout2:{type:"accentCallout2",defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"close"},{type:"lnTo",x:"x1",y:"b"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -93.33 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x"]},accentCallout3:{type:"accentCallout3",defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6","adj7","adj8"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"},{name:"y4",fmla:"*/ h adj7 100000"},{name:"x4",fmla:"*/ w adj8 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}},{x:{name:"adj8"},y:{name:"adj7"},pos:{x:"x4",y:"y4"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"close"},{type:"lnTo",x:"x1",y:"b"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x4",y:"y4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 0.00ZL -16.67 200.00M -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x","y","x"]},actionButtonBackPrevious:{type:"actionButtonBackPrevious",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g11",y:"vc"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g11",y:"vc"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g11",y:"vc"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 100.00L 175.00 25.00L 175.00 175.00ZM 25.00 100.00L 175.00 25.00L 175.00 175.00ZM 25.00 100.00L 175.00 25.00L 175.00 175.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonBeginning:{type:"actionButtonBeginning",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 1 8"},{name:"g15",fmla:"*/ g13 1 4"},{name:"g16",fmla:"+- g11 g14 0"},{name:"g17",fmla:"+- g11 g15 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g17",y:"vc"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"close"},{type:"moveTo",x:"g16",y:"g9"},{type:"lnTo",x:"g11",y:"g9"},{type:"lnTo",x:"g11",y:"g10"},{type:"lnTo",x:"g16",y:"g10"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g17",y:"vc"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"close"},{type:"moveTo",x:"g16",y:"g9"},{type:"lnTo",x:"g11",y:"g9"},{type:"lnTo",x:"g11",y:"g10"},{type:"lnTo",x:"g16",y:"g10"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g17",y:"vc"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"close"},{type:"moveTo",x:"g16",y:"g9"},{type:"lnTo",x:"g16",y:"g10"},{type:"lnTo",x:"g11",y:"g10"},{type:"lnTo",x:"g11",y:"g9"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 62.50 100.00L 175.00 25.00L 175.00 175.00ZM 43.75 25.00L 25.00 25.00L 25.00 175.00L 43.75 175.00ZM 62.50 100.00L 175.00 25.00L 175.00 175.00ZM 43.75 25.00L 25.00 25.00L 25.00 175.00L 43.75 175.00ZM 62.50 100.00L 175.00 25.00L 175.00 175.00ZM 43.75 25.00L 43.75 175.00L 25.00 175.00L 25.00 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonBlank:{type:"actionButtonBlank",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonDocument:{type:"actionButtonDocument",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"dx1",fmla:"*/ ss 9 32"},{name:"g11",fmla:"+- hc 0 dx1"},{name:"g12",fmla:"+- hc dx1 0"},{name:"g13",fmla:"*/ ss 3 16"},{name:"g14",fmla:"+- g12 0 g13"},{name:"g15",fmla:"+- g9 g13 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g11",y:"g9"},{type:"lnTo",x:"g14",y:"g9"},{type:"lnTo",x:"g12",y:"g15"},{type:"lnTo",x:"g12",y:"g10"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g11",y:"g9"},{type:"lnTo",x:"g14",y:"g9"},{type:"lnTo",x:"g14",y:"g15"},{type:"lnTo",x:"g12",y:"g15"},{type:"lnTo",x:"g12",y:"g10"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"g14",y:"g9"},{type:"lnTo",x:"g14",y:"g15"},{type:"lnTo",x:"g12",y:"g15"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g11",y:"g9"},{type:"lnTo",x:"g14",y:"g9"},{type:"lnTo",x:"g12",y:"g15"},{type:"lnTo",x:"g12",y:"g10"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"},{type:"moveTo",x:"g12",y:"g15"},{type:"lnTo",x:"g14",y:"g15"},{type:"lnTo",x:"g14",y:"g9"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 43.75 25.00L 118.75 25.00L 156.25 62.50L 156.25 175.00L 43.75 175.00ZM 43.75 25.00L 118.75 25.00L 118.75 62.50L 156.25 62.50L 156.25 175.00L 43.75 175.00ZM 118.75 25.00L 118.75 62.50L 156.25 62.50ZM 43.75 25.00L 118.75 25.00L 156.25 62.50L 156.25 175.00L 43.75 175.00ZM 156.25 62.50L 118.75 62.50L 118.75 25.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonEnd:{type:"actionButtonEnd",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 3 4"},{name:"g15",fmla:"*/ g13 7 8"},{name:"g16",fmla:"+- g11 g14 0"},{name:"g17",fmla:"+- g11 g15 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g16",y:"vc"},{type:"lnTo",x:"g11",y:"g9"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"},{type:"moveTo",x:"g17",y:"g9"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"lnTo",x:"g17",y:"g10"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g16",y:"vc"},{type:"lnTo",x:"g11",y:"g9"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"},{type:"moveTo",x:"g17",y:"g9"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"lnTo",x:"g17",y:"g10"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g16",y:"vc"},{type:"lnTo",x:"g11",y:"g10"},{type:"lnTo",x:"g11",y:"g9"},{type:"close"},{type:"moveTo",x:"g17",y:"g9"},{type:"lnTo",x:"g12",y:"g9"},{type:"lnTo",x:"g12",y:"g10"},{type:"lnTo",x:"g17",y:"g10"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 137.50 100.00L 25.00 25.00L 25.00 175.00ZM 156.25 25.00L 175.00 25.00L 175.00 175.00L 156.25 175.00ZM 137.50 100.00L 25.00 25.00L 25.00 175.00ZM 156.25 25.00L 175.00 25.00L 175.00 175.00L 156.25 175.00ZM 137.50 100.00L 25.00 175.00L 25.00 25.00ZM 156.25 25.00L 175.00 25.00L 175.00 175.00L 156.25 175.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonForwardNext:{type:"actionButtonForwardNext",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g12",y:"vc"},{type:"lnTo",x:"g11",y:"g9"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g12",y:"vc"},{type:"lnTo",x:"g11",y:"g9"},{type:"lnTo",x:"g11",y:"g10"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g12",y:"vc"},{type:"lnTo",x:"g11",y:"g10"},{type:"lnTo",x:"g11",y:"g9"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 175.00 100.00L 25.00 25.00L 25.00 175.00ZM 175.00 100.00L 25.00 25.00L 25.00 175.00ZM 175.00 100.00L 25.00 175.00L 25.00 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonHelp:{type:"actionButtonHelp",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 1 7"},{name:"g15",fmla:"*/ g13 3 14"},{name:"g16",fmla:"*/ g13 2 7"},{name:"g19",fmla:"*/ g13 3 7"},{name:"g20",fmla:"*/ g13 4 7"},{name:"g21",fmla:"*/ g13 17 28"},{name:"g23",fmla:"*/ g13 21 28"},{name:"g24",fmla:"*/ g13 11 14"},{name:"g27",fmla:"+- g9 g16 0"},{name:"g29",fmla:"+- g9 g21 0"},{name:"g30",fmla:"+- g9 g23 0"},{name:"g31",fmla:"+- g9 g24 0"},{name:"g33",fmla:"+- g11 g15 0"},{name:"g36",fmla:"+- g11 g19 0"},{name:"g37",fmla:"+- g11 g20 0"},{name:"g41",fmla:"*/ g13 1 14"},{name:"g42",fmla:"*/ g13 3 28"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g33",y:"g27"},{type:"arcTo",wR:"g16",hR:"g16",stAng:"cd2",swAng:"cd2"},{type:"arcTo",wR:"g14",hR:"g15",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"g41",hR:"g42",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"g37",y:"g30"},{type:"lnTo",x:"g36",y:"g30"},{type:"lnTo",x:"g36",y:"g29"},{type:"arcTo",wR:"g14",hR:"g15",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"g41",hR:"g42",stAng:"cd4",swAng:-54e5},{type:"arcTo",wR:"g14",hR:"g14",stAng:0,swAng:-108e5},{type:"close"},{type:"moveTo",x:"hc",y:"g31"},{type:"arcTo",wR:"g42",hR:"g42",stAng:"3cd4",swAng:216e5},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g33",y:"g27"},{type:"arcTo",wR:"g16",hR:"g16",stAng:"cd2",swAng:"cd2"},{type:"arcTo",wR:"g14",hR:"g15",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"g41",hR:"g42",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"g37",y:"g30"},{type:"lnTo",x:"g36",y:"g30"},{type:"lnTo",x:"g36",y:"g29"},{type:"arcTo",wR:"g14",hR:"g15",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"g41",hR:"g42",stAng:"cd4",swAng:-54e5},{type:"arcTo",wR:"g14",hR:"g14",stAng:0,swAng:-108e5},{type:"close"},{type:"moveTo",x:"hc",y:"g31"},{type:"arcTo",wR:"g42",hR:"g42",stAng:"3cd4",swAng:216e5},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g33",y:"g27"},{type:"arcTo",wR:"g16",hR:"g16",stAng:"cd2",swAng:"cd2"},{type:"arcTo",wR:"g14",hR:"g15",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"g41",hR:"g42",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"g37",y:"g30"},{type:"lnTo",x:"g36",y:"g30"},{type:"lnTo",x:"g36",y:"g29"},{type:"arcTo",wR:"g14",hR:"g15",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"g41",hR:"g42",stAng:"cd4",swAng:-54e5},{type:"arcTo",wR:"g14",hR:"g14",stAng:0,swAng:-108e5},{type:"close"},{type:"moveTo",x:"hc",y:"g31"},{type:"arcTo",wR:"g42",hR:"g42",stAng:"3cd4",swAng:216e5},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 57.14 67.86A 42.86 42.86 0 0 1 142.86 67.86A 21.43 32.14 0 0 1 121.43 100.00A 10.71 16.07 0 0 0 110.71 116.07L 110.71 137.50L 89.29 137.50L 89.29 116.07A 21.43 32.14 0 0 1 110.71 83.93A 10.71 16.07 0 0 0 121.43 67.86A 21.43 21.43 0 0 0 78.57 67.86ZM 100.00 142.86A 16.07 16.07 0 1 1 99.93 142.86ZM 57.14 67.86A 42.86 42.86 0 0 1 142.86 67.86A 21.43 32.14 0 0 1 121.43 100.00A 10.71 16.07 0 0 0 110.71 116.07L 110.71 137.50L 89.29 137.50L 89.29 116.07A 21.43 32.14 0 0 1 110.71 83.93A 10.71 16.07 0 0 0 121.43 67.86A 21.43 21.43 0 0 0 78.57 67.86ZM 100.00 142.86A 16.07 16.07 0 1 1 99.93 142.86ZM 57.14 67.86A 42.86 42.86 0 0 1 142.86 67.86A 21.43 32.14 0 0 1 121.43 100.00A 10.71 16.07 0 0 0 110.71 116.07L 110.71 137.50L 89.29 137.50L 89.29 116.07A 21.43 32.14 0 0 1 110.71 83.93A 10.71 16.07 0 0 0 121.43 67.86A 21.43 21.43 0 0 0 78.57 67.86ZM 100.00 142.86A 16.07 16.07 0 1 1 99.93 142.86ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonHome:{type:"actionButtonHome",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 1 16"},{name:"g15",fmla:"*/ g13 1 8"},{name:"g16",fmla:"*/ g13 3 16"},{name:"g17",fmla:"*/ g13 5 16"},{name:"g18",fmla:"*/ g13 7 16"},{name:"g19",fmla:"*/ g13 9 16"},{name:"g20",fmla:"*/ g13 11 16"},{name:"g21",fmla:"*/ g13 3 4"},{name:"g22",fmla:"*/ g13 13 16"},{name:"g23",fmla:"*/ g13 7 8"},{name:"g24",fmla:"+- g9 g14 0"},{name:"g25",fmla:"+- g9 g16 0"},{name:"g26",fmla:"+- g9 g17 0"},{name:"g27",fmla:"+- g9 g21 0"},{name:"g28",fmla:"+- g11 g15 0"},{name:"g29",fmla:"+- g11 g18 0"},{name:"g30",fmla:"+- g11 g19 0"},{name:"g31",fmla:"+- g11 g20 0"},{name:"g32",fmla:"+- g11 g22 0"},{name:"g33",fmla:"+- g11 g23 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"hc",y:"g9"},{type:"lnTo",x:"g11",y:"vc"},{type:"lnTo",x:"g28",y:"vc"},{type:"lnTo",x:"g28",y:"g10"},{type:"lnTo",x:"g33",y:"g10"},{type:"lnTo",x:"g33",y:"vc"},{type:"lnTo",x:"g12",y:"vc"},{type:"lnTo",x:"g32",y:"g26"},{type:"lnTo",x:"g32",y:"g24"},{type:"lnTo",x:"g31",y:"g24"},{type:"lnTo",x:"g31",y:"g25"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g32",y:"g26"},{type:"lnTo",x:"g32",y:"g24"},{type:"lnTo",x:"g31",y:"g24"},{type:"lnTo",x:"g31",y:"g25"},{type:"close"},{type:"moveTo",x:"g28",y:"vc"},{type:"lnTo",x:"g28",y:"g10"},{type:"lnTo",x:"g29",y:"g10"},{type:"lnTo",x:"g29",y:"g27"},{type:"lnTo",x:"g30",y:"g27"},{type:"lnTo",x:"g30",y:"g10"},{type:"lnTo",x:"g33",y:"g10"},{type:"lnTo",x:"g33",y:"vc"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"hc",y:"g9"},{type:"lnTo",x:"g11",y:"vc"},{type:"lnTo",x:"g12",y:"vc"},{type:"close"},{type:"moveTo",x:"g29",y:"g27"},{type:"lnTo",x:"g30",y:"g27"},{type:"lnTo",x:"g30",y:"g10"},{type:"lnTo",x:"g29",y:"g10"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"hc",y:"g9"},{type:"lnTo",x:"g31",y:"g25"},{type:"lnTo",x:"g31",y:"g24"},{type:"lnTo",x:"g32",y:"g24"},{type:"lnTo",x:"g32",y:"g26"},{type:"lnTo",x:"g12",y:"vc"},{type:"lnTo",x:"g33",y:"vc"},{type:"lnTo",x:"g33",y:"g10"},{type:"lnTo",x:"g28",y:"g10"},{type:"lnTo",x:"g28",y:"vc"},{type:"lnTo",x:"g11",y:"vc"},{type:"close"},{type:"moveTo",x:"g31",y:"g25"},{type:"lnTo",x:"g32",y:"g26"},{type:"moveTo",x:"g33",y:"vc"},{type:"lnTo",x:"g28",y:"vc"},{type:"moveTo",x:"g29",y:"g10"},{type:"lnTo",x:"g29",y:"g27"},{type:"lnTo",x:"g30",y:"g27"},{type:"lnTo",x:"g30",y:"g10"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 100.00 25.00L 25.00 100.00L 43.75 100.00L 43.75 175.00L 156.25 175.00L 156.25 100.00L 175.00 100.00L 146.88 71.88L 146.88 34.38L 128.13 34.38L 128.13 53.13ZM 146.88 71.88L 146.88 34.38L 128.13 34.38L 128.13 53.13ZM 43.75 100.00L 43.75 175.00L 90.63 175.00L 90.63 137.50L 109.38 137.50L 109.38 175.00L 156.25 175.00L 156.25 100.00ZM 100.00 25.00L 25.00 100.00L 175.00 100.00ZM 90.63 137.50L 109.38 137.50L 109.38 175.00L 90.63 175.00ZM 100.00 25.00L 128.13 53.13L 128.13 34.38L 146.88 34.38L 146.88 71.88L 175.00 100.00L 156.25 100.00L 156.25 175.00L 43.75 175.00L 43.75 100.00L 25.00 100.00ZM 128.13 53.13L 146.88 71.88M 156.25 100.00L 43.75 100.00M 90.63 175.00L 90.63 137.50L 109.38 137.50L 109.38 175.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonInformation:{type:"actionButtonInformation",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 1 32"},{name:"g17",fmla:"*/ g13 5 16"},{name:"g18",fmla:"*/ g13 3 8"},{name:"g19",fmla:"*/ g13 13 32"},{name:"g20",fmla:"*/ g13 19 32"},{name:"g22",fmla:"*/ g13 11 16"},{name:"g23",fmla:"*/ g13 13 16"},{name:"g24",fmla:"*/ g13 7 8"},{name:"g25",fmla:"+- g9 g14 0"},{name:"g28",fmla:"+- g9 g17 0"},{name:"g29",fmla:"+- g9 g18 0"},{name:"g30",fmla:"+- g9 g23 0"},{name:"g31",fmla:"+- g9 g24 0"},{name:"g32",fmla:"+- g11 g17 0"},{name:"g34",fmla:"+- g11 g19 0"},{name:"g35",fmla:"+- g11 g20 0"},{name:"g37",fmla:"+- g11 g22 0"},{name:"g38",fmla:"*/ g13 3 32"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"hc",y:"g9"},{type:"arcTo",wR:"dx2",hR:"dx2",stAng:"3cd4",swAng:216e5},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"hc",y:"g9"},{type:"arcTo",wR:"dx2",hR:"dx2",stAng:"3cd4",swAng:216e5},{type:"close"},{type:"moveTo",x:"hc",y:"g25"},{type:"arcTo",wR:"g38",hR:"g38",stAng:"3cd4",swAng:216e5},{type:"moveTo",x:"g32",y:"g28"},{type:"lnTo",x:"g32",y:"g29"},{type:"lnTo",x:"g34",y:"g29"},{type:"lnTo",x:"g34",y:"g30"},{type:"lnTo",x:"g32",y:"g30"},{type:"lnTo",x:"g32",y:"g31"},{type:"lnTo",x:"g37",y:"g31"},{type:"lnTo",x:"g37",y:"g30"},{type:"lnTo",x:"g35",y:"g30"},{type:"lnTo",x:"g35",y:"g28"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"hc",y:"g25"},{type:"arcTo",wR:"g38",hR:"g38",stAng:"3cd4",swAng:216e5},{type:"moveTo",x:"g32",y:"g28"},{type:"lnTo",x:"g35",y:"g28"},{type:"lnTo",x:"g35",y:"g30"},{type:"lnTo",x:"g37",y:"g30"},{type:"lnTo",x:"g37",y:"g31"},{type:"lnTo",x:"g32",y:"g31"},{type:"lnTo",x:"g32",y:"g30"},{type:"lnTo",x:"g34",y:"g30"},{type:"lnTo",x:"g34",y:"g29"},{type:"lnTo",x:"g32",y:"g29"},{type:"close"}],stroke:!1,fill:"lighten"},{path:[{type:"moveTo",x:"hc",y:"g9"},{type:"arcTo",wR:"dx2",hR:"dx2",stAng:"3cd4",swAng:216e5},{type:"close"},{type:"moveTo",x:"hc",y:"g25"},{type:"arcTo",wR:"g38",hR:"g38",stAng:"3cd4",swAng:216e5},{type:"moveTo",x:"g32",y:"g28"},{type:"lnTo",x:"g35",y:"g28"},{type:"lnTo",x:"g35",y:"g30"},{type:"lnTo",x:"g37",y:"g30"},{type:"lnTo",x:"g37",y:"g31"},{type:"lnTo",x:"g32",y:"g31"},{type:"lnTo",x:"g32",y:"g30"},{type:"lnTo",x:"g34",y:"g30"},{type:"lnTo",x:"g34",y:"g29"},{type:"lnTo",x:"g32",y:"g29"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 100.00 25.00A 75.00 75.00 0 1 1 99.67 25.00ZM 100.00 25.00A 75.00 75.00 0 1 1 99.67 25.00ZM 100.00 29.69A 14.06 14.06 0 1 1 99.94 29.69M 71.88 71.88L 71.88 81.25L 85.94 81.25L 85.94 146.88L 71.88 146.88L 71.88 156.25L 128.13 156.25L 128.13 146.88L 114.06 146.88L 114.06 71.88ZM 100.00 29.69A 14.06 14.06 0 1 1 99.94 29.69M 71.88 71.88L 114.06 71.88L 114.06 146.88L 128.13 146.88L 128.13 156.25L 71.88 156.25L 71.88 146.88L 85.94 146.88L 85.94 81.25L 71.88 81.25ZM 100.00 25.00A 75.00 75.00 0 1 1 99.67 25.00ZM 100.00 29.69A 14.06 14.06 0 1 1 99.94 29.69M 71.88 71.88L 114.06 71.88L 114.06 146.88L 128.13 146.88L 128.13 156.25L 71.88 156.25L 71.88 146.88L 85.94 146.88L 85.94 81.25L 71.88 81.25ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonMovie:{type:"actionButtonMovie",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 1455 21600"},{name:"g15",fmla:"*/ g13 1905 21600"},{name:"g16",fmla:"*/ g13 2325 21600"},{name:"g17",fmla:"*/ g13 16155 21600"},{name:"g18",fmla:"*/ g13 17010 21600"},{name:"g19",fmla:"*/ g13 19335 21600"},{name:"g20",fmla:"*/ g13 19725 21600"},{name:"g21",fmla:"*/ g13 20595 21600"},{name:"g22",fmla:"*/ g13 5280 21600"},{name:"g23",fmla:"*/ g13 5730 21600"},{name:"g24",fmla:"*/ g13 6630 21600"},{name:"g25",fmla:"*/ g13 7492 21600"},{name:"g26",fmla:"*/ g13 9067 21600"},{name:"g27",fmla:"*/ g13 9555 21600"},{name:"g28",fmla:"*/ g13 13342 21600"},{name:"g29",fmla:"*/ g13 14580 21600"},{name:"g30",fmla:"*/ g13 15592 21600"},{name:"g31",fmla:"+- g11 g14 0"},{name:"g32",fmla:"+- g11 g15 0"},{name:"g33",fmla:"+- g11 g16 0"},{name:"g34",fmla:"+- g11 g17 0"},{name:"g35",fmla:"+- g11 g18 0"},{name:"g36",fmla:"+- g11 g19 0"},{name:"g37",fmla:"+- g11 g20 0"},{name:"g38",fmla:"+- g11 g21 0"},{name:"g39",fmla:"+- g9 g22 0"},{name:"g40",fmla:"+- g9 g23 0"},{name:"g41",fmla:"+- g9 g24 0"},{name:"g42",fmla:"+- g9 g25 0"},{name:"g43",fmla:"+- g9 g26 0"},{name:"g44",fmla:"+- g9 g27 0"},{name:"g45",fmla:"+- g9 g28 0"},{name:"g46",fmla:"+- g9 g29 0"},{name:"g47",fmla:"+- g9 g30 0"},{name:"g48",fmla:"+- g9 g31 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g11",y:"g39"},{type:"lnTo",x:"g11",y:"g44"},{type:"lnTo",x:"g31",y:"g44"},{type:"lnTo",x:"g32",y:"g43"},{type:"lnTo",x:"g33",y:"g43"},{type:"lnTo",x:"g33",y:"g47"},{type:"lnTo",x:"g35",y:"g47"},{type:"lnTo",x:"g35",y:"g45"},{type:"lnTo",x:"g36",y:"g45"},{type:"lnTo",x:"g38",y:"g46"},{type:"lnTo",x:"g12",y:"g46"},{type:"lnTo",x:"g12",y:"g41"},{type:"lnTo",x:"g38",y:"g41"},{type:"lnTo",x:"g37",y:"g42"},{type:"lnTo",x:"g35",y:"g42"},{type:"lnTo",x:"g35",y:"g41"},{type:"lnTo",x:"g34",y:"g40"},{type:"lnTo",x:"g32",y:"g40"},{type:"lnTo",x:"g31",y:"g39"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g11",y:"g39"},{type:"lnTo",x:"g11",y:"g44"},{type:"lnTo",x:"g31",y:"g44"},{type:"lnTo",x:"g32",y:"g43"},{type:"lnTo",x:"g33",y:"g43"},{type:"lnTo",x:"g33",y:"g47"},{type:"lnTo",x:"g35",y:"g47"},{type:"lnTo",x:"g35",y:"g45"},{type:"lnTo",x:"g36",y:"g45"},{type:"lnTo",x:"g38",y:"g46"},{type:"lnTo",x:"g12",y:"g46"},{type:"lnTo",x:"g12",y:"g41"},{type:"lnTo",x:"g38",y:"g41"},{type:"lnTo",x:"g37",y:"g42"},{type:"lnTo",x:"g35",y:"g42"},{type:"lnTo",x:"g35",y:"g41"},{type:"lnTo",x:"g34",y:"g40"},{type:"lnTo",x:"g32",y:"g40"},{type:"lnTo",x:"g31",y:"g39"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g11",y:"g39"},{type:"lnTo",x:"g31",y:"g39"},{type:"lnTo",x:"g32",y:"g40"},{type:"lnTo",x:"g34",y:"g40"},{type:"lnTo",x:"g35",y:"g41"},{type:"lnTo",x:"g35",y:"g42"},{type:"lnTo",x:"g37",y:"g42"},{type:"lnTo",x:"g38",y:"g41"},{type:"lnTo",x:"g12",y:"g41"},{type:"lnTo",x:"g12",y:"g46"},{type:"lnTo",x:"g38",y:"g46"},{type:"lnTo",x:"g36",y:"g45"},{type:"lnTo",x:"g35",y:"g45"},{type:"lnTo",x:"g35",y:"g47"},{type:"lnTo",x:"g33",y:"g47"},{type:"lnTo",x:"g33",y:"g43"},{type:"lnTo",x:"g32",y:"g43"},{type:"lnTo",x:"g31",y:"g44"},{type:"lnTo",x:"g11",y:"g44"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 61.67L 25.00 91.35L 35.10 91.35L 38.23 87.97L 41.15 87.97L 41.15 133.28L 143.13 133.28L 143.13 117.65L 159.27 117.65L 168.02 126.25L 175.00 126.25L 175.00 71.04L 168.02 71.04L 161.98 77.03L 143.13 77.03L 143.13 71.04L 137.19 64.79L 38.23 64.79L 35.10 61.67ZM 25.00 61.67L 25.00 91.35L 35.10 91.35L 38.23 87.97L 41.15 87.97L 41.15 133.28L 143.13 133.28L 143.13 117.65L 159.27 117.65L 168.02 126.25L 175.00 126.25L 175.00 71.04L 168.02 71.04L 161.98 77.03L 143.13 77.03L 143.13 71.04L 137.19 64.79L 38.23 64.79L 35.10 61.67ZM 25.00 61.67L 35.10 61.67L 38.23 64.79L 137.19 64.79L 143.13 71.04L 143.13 77.03L 161.98 77.03L 168.02 71.04L 175.00 71.04L 175.00 126.25L 168.02 126.25L 159.27 117.65L 143.13 117.65L 143.13 133.28L 41.15 133.28L 41.15 87.97L 38.23 87.97L 35.10 91.35L 25.00 91.35ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonReturn:{type:"actionButtonReturn",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 7 8"},{name:"g15",fmla:"*/ g13 3 4"},{name:"g16",fmla:"*/ g13 5 8"},{name:"g17",fmla:"*/ g13 3 8"},{name:"g18",fmla:"*/ g13 1 4"},{name:"g19",fmla:"+- g9 g15 0"},{name:"g20",fmla:"+- g9 g16 0"},{name:"g21",fmla:"+- g9 g18 0"},{name:"g22",fmla:"+- g11 g14 0"},{name:"g23",fmla:"+- g11 g15 0"},{name:"g24",fmla:"+- g11 g16 0"},{name:"g25",fmla:"+- g11 g17 0"},{name:"g26",fmla:"+- g11 g18 0"},{name:"g27",fmla:"*/ g13 1 8"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g12",y:"g21"},{type:"lnTo",x:"g23",y:"g9"},{type:"lnTo",x:"hc",y:"g21"},{type:"lnTo",x:"g24",y:"g21"},{type:"lnTo",x:"g24",y:"g20"},{type:"arcTo",wR:"g27",hR:"g27",stAng:0,swAng:"cd4"},{type:"lnTo",x:"g25",y:"g19"},{type:"arcTo",wR:"g27",hR:"g27",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"g26",y:"g21"},{type:"lnTo",x:"g11",y:"g21"},{type:"lnTo",x:"g11",y:"g20"},{type:"arcTo",wR:"g17",hR:"g17",stAng:"cd2",swAng:-54e5},{type:"lnTo",x:"hc",y:"g10"},{type:"arcTo",wR:"g17",hR:"g17",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"g22",y:"g21"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g12",y:"g21"},{type:"lnTo",x:"g23",y:"g9"},{type:"lnTo",x:"hc",y:"g21"},{type:"lnTo",x:"g24",y:"g21"},{type:"lnTo",x:"g24",y:"g20"},{type:"arcTo",wR:"g27",hR:"g27",stAng:0,swAng:"cd4"},{type:"lnTo",x:"g25",y:"g19"},{type:"arcTo",wR:"g27",hR:"g27",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"g26",y:"g21"},{type:"lnTo",x:"g11",y:"g21"},{type:"lnTo",x:"g11",y:"g20"},{type:"arcTo",wR:"g17",hR:"g17",stAng:"cd2",swAng:-54e5},{type:"lnTo",x:"hc",y:"g10"},{type:"arcTo",wR:"g17",hR:"g17",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"g22",y:"g21"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g12",y:"g21"},{type:"lnTo",x:"g22",y:"g21"},{type:"lnTo",x:"g22",y:"g20"},{type:"arcTo",wR:"g17",hR:"g17",stAng:0,swAng:"cd4"},{type:"lnTo",x:"g25",y:"g10"},{type:"arcTo",wR:"g17",hR:"g17",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"g11",y:"g21"},{type:"lnTo",x:"g26",y:"g21"},{type:"lnTo",x:"g26",y:"g20"},{type:"arcTo",wR:"g27",hR:"g27",stAng:"cd2",swAng:-54e5},{type:"lnTo",x:"hc",y:"g19"},{type:"arcTo",wR:"g27",hR:"g27",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"g24",y:"g21"},{type:"lnTo",x:"hc",y:"g21"},{type:"lnTo",x:"g23",y:"g9"},{type:"close"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 175.00 62.50L 137.50 25.00L 100.00 62.50L 118.75 62.50L 118.75 118.75A 18.75 18.75 0 0 1 100.00 137.50L 81.25 137.50A 18.75 18.75 0 0 1 62.50 118.75L 62.50 62.50L 25.00 62.50L 25.00 118.75A 56.25 56.25 0 0 0 81.25 175.00L 100.00 175.00A 56.25 56.25 0 0 0 156.25 118.75L 156.25 62.50ZM 175.00 62.50L 137.50 25.00L 100.00 62.50L 118.75 62.50L 118.75 118.75A 18.75 18.75 0 0 1 100.00 137.50L 81.25 137.50A 18.75 18.75 0 0 1 62.50 118.75L 62.50 62.50L 25.00 62.50L 25.00 118.75A 56.25 56.25 0 0 0 81.25 175.00L 100.00 175.00A 56.25 56.25 0 0 0 156.25 118.75L 156.25 62.50ZM 175.00 62.50L 156.25 62.50L 156.25 118.75A 56.25 56.25 0 0 1 100.00 175.00L 81.25 175.00A 56.25 56.25 0 0 1 25.00 118.75L 25.00 62.50L 62.50 62.50L 62.50 118.75A 18.75 18.75 0 0 0 81.25 137.50L 100.00 137.50A 18.75 18.75 0 0 0 118.75 118.75L 118.75 62.50L 100.00 62.50L 137.50 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},actionButtonSound:{type:"actionButtonSound",defaultValue:[],adjustmentNames:[],params:[{name:"dx2",fmla:"*/ ss 3 8"},{name:"g9",fmla:"+- vc 0 dx2"},{name:"g10",fmla:"+- vc dx2 0"},{name:"g11",fmla:"+- hc 0 dx2"},{name:"g12",fmla:"+- hc dx2 0"},{name:"g13",fmla:"*/ ss 3 4"},{name:"g14",fmla:"*/ g13 1 8"},{name:"g15",fmla:"*/ g13 5 16"},{name:"g16",fmla:"*/ g13 5 8"},{name:"g17",fmla:"*/ g13 11 16"},{name:"g18",fmla:"*/ g13 3 4"},{name:"g19",fmla:"*/ g13 7 8"},{name:"g20",fmla:"+- g9 g14 0"},{name:"g21",fmla:"+- g9 g15 0"},{name:"g22",fmla:"+- g9 g17 0"},{name:"g23",fmla:"+- g9 g19 0"},{name:"g24",fmla:"+- g11 g15 0"},{name:"g25",fmla:"+- g11 g16 0"},{name:"g26",fmla:"+- g11 g18 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"g11",y:"g21"},{type:"lnTo",x:"g11",y:"g22"},{type:"lnTo",x:"g24",y:"g22"},{type:"lnTo",x:"g25",y:"g10"},{type:"lnTo",x:"g25",y:"g9"},{type:"lnTo",x:"g24",y:"g21"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"g11",y:"g21"},{type:"lnTo",x:"g11",y:"g22"},{type:"lnTo",x:"g24",y:"g22"},{type:"lnTo",x:"g25",y:"g10"},{type:"lnTo",x:"g25",y:"g9"},{type:"lnTo",x:"g24",y:"g21"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"g11",y:"g21"},{type:"lnTo",x:"g24",y:"g21"},{type:"lnTo",x:"g25",y:"g9"},{type:"lnTo",x:"g25",y:"g10"},{type:"lnTo",x:"g24",y:"g22"},{type:"lnTo",x:"g11",y:"g22"},{type:"close"},{type:"moveTo",x:"g26",y:"g21"},{type:"lnTo",x:"g12",y:"g20"},{type:"moveTo",x:"g26",y:"vc"},{type:"lnTo",x:"g12",y:"vc"},{type:"moveTo",x:"g26",y:"g22"},{type:"lnTo",x:"g12",y:"g23"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 71.88L 25.00 128.13L 71.88 128.13L 118.75 175.00L 118.75 25.00L 71.88 71.88ZM 25.00 71.88L 25.00 128.13L 71.88 128.13L 118.75 175.00L 118.75 25.00L 71.88 71.88ZM 25.00 71.88L 71.88 71.88L 118.75 25.00L 118.75 175.00L 71.88 128.13L 25.00 128.13ZM 137.50 71.88L 175.00 43.75M 137.50 100.00L 175.00 100.00M 137.50 128.13L 175.00 156.25M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},arc:{type:"arc",defaultValue:[162e5,0],adjustmentNames:["adj1","adj2"],params:[{name:"stAng",fmla:"pin 0 adj1 21599999"},{name:"enAng",fmla:"pin 0 adj2 21599999"},{name:"sw11",fmla:"+- enAng 0 stAng"},{name:"sw12",fmla:"+- sw11 21600000 0"},{name:"swAng",fmla:"?: sw11 sw11 sw12"},{name:"etAng",fmla:"+- stAng swAng 0"},{name:"ewAng",fmla:"+- 0 0 swAng"},{name:"wt1",fmla:"sin wd2 stAng"},{name:"ht1",fmla:"cos hd2 stAng"},{name:"dx1",fmla:"cat2 wd2 ht1 wt1"},{name:"dy1",fmla:"sat2 hd2 ht1 wt1"},{name:"wt2",fmla:"sin wd2 enAng"},{name:"ht2",fmla:"cos hd2 enAng"},{name:"dx2",fmla:"cat2 wd2 ht2 wt2"},{name:"dy2",fmla:"sat2 hd2 ht2 wt2"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc dy1 0"},{name:"x2",fmla:"+- hc dx2 0"},{name:"y2",fmla:"+- vc dy2 0"},{name:"sw0",fmla:"+- 21600000 0 stAng"},{name:"da1",fmla:"+- swAng 0 sw0"},{name:"g1",fmla:"max x1 x2"},{name:"ir",fmla:"?: da1 r g1"},{name:"sw1",fmla:"+- cd4 0 stAng"},{name:"sw2",fmla:"+- 27000000 0 stAng"},{name:"sw3",fmla:"?: sw1 sw1 sw2"},{name:"da2",fmla:"+- swAng 0 sw3"},{name:"g5",fmla:"max y1 y2"},{name:"ib",fmla:"?: da2 b g5"},{name:"sw4",fmla:"+- cd2 0 stAng"},{name:"sw5",fmla:"+- 32400000 0 stAng"},{name:"sw6",fmla:"?: sw4 sw4 sw5"},{name:"da3",fmla:"+- swAng 0 sw6"},{name:"g9",fmla:"min x1 x2"},{name:"il",fmla:"?: da3 l g9"},{name:"sw7",fmla:"+- 3cd4 0 stAng"},{name:"sw8",fmla:"+- 37800000 0 stAng"},{name:"sw9",fmla:"?: sw7 sw7 sw8"},{name:"da4",fmla:"+- swAng 0 sw9"},{name:"g13",fmla:"min y1 y2"},{name:"it",fmla:"?: da4 t g13"},{name:"cang1",fmla:"+- stAng 0 cd4"},{name:"cang2",fmla:"+- enAng cd4 0"},{name:"cang3",fmla:"+/ cang1 cang2 2"}],ranges:[{ang:{name:"adj1",min:0,max:21599999},pos:{x:"x1",y:"y1"}},{ang:{name:"adj2",min:0,max:21599999},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"stAng",swAng:"swAng"},{type:"lnTo",x:"hc",y:"vc"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"stAng",swAng:"swAng"}],stroke:!0,fill:"none"}],path:"M 100.00 0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 0 100.00 0.00Z",range:[[0,21599999],[0,21599999]],relative:["ang","ang"]},bentArrow:{type:"bentArrow",defaultValue:[25e3,25e3,25e3,43750],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"a2",fmla:"pin 0 adj2 50000"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"a3",fmla:"pin 0 adj3 50000"},{name:"th",fmla:"*/ ss a1 100000"},{name:"aw2",fmla:"*/ ss a2 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"dh2",fmla:"+- aw2 0 th2"},{name:"ah",fmla:"*/ ss a3 100000"},{name:"bw",fmla:"+- r 0 ah"},{name:"bh",fmla:"+- b 0 dh2"},{name:"bs",fmla:"min bw bh"},{name:"maxAdj4",fmla:"*/ 100000 bs ss"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"bd",fmla:"*/ ss a4 100000"},{name:"bd3",fmla:"+- bd 0 th"},{name:"bd2",fmla:"max bd3 0"},{name:"x3",fmla:"+- th bd2 0"},{name:"x4",fmla:"+- r 0 ah"},{name:"y3",fmla:"+- dh2 th 0"},{name:"y4",fmla:"+- y3 dh2 0"},{name:"y5",fmla:"+- dh2 bd 0"},{name:"y6",fmla:"+- y3 bd2 0"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"th",y:"b"}},{y:{name:"adj2",min:0,max:5e4},pos:{x:"r",y:"y4"}},{x:{name:"adj3",min:0,max:5e4},pos:{x:"x4",y:"t"}},{x:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"bd",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"l",y:"y5"},{type:"arcTo",wR:"bd",hR:"bd",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x4",y:"dh2"},{type:"lnTo",x:"x4",y:"t"},{type:"lnTo",x:"r",y:"aw2"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"arcTo",wR:"bd2",hR:"bd2",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"th",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 0.00 112.50A 87.50 87.50 0 0 1 87.50 25.00L 150.00 25.00L 150.00 0.00L 200.00 50.00L 150.00 100.00L 150.00 75.00L 87.50 75.00A 37.50 37.50 0 0 0 50.00 112.50L 50.00 200.00Z",range:[[0,5e4],[0,5e4],[0,5e4],[0,75e3]],relative:["x","y","x","x"]},bentConnector2:{type:"bentConnector2",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00",range:[],relative:[]},bentConnector3:{type:"bentConnector3",defaultValue:[5e4],adjustmentNames:["adj1"],params:[{name:"x1",fmla:"*/ w adj1 100000"}],ranges:[{x:{name:"adj1"},pos:{x:"x1",y:"vc"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"r",y:"b"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 100.00 0.00L 100.00 200.00L 200.00 200.00",range:[[-2147483647,2147483647]],relative:["x"]},bentConnector4:{type:"bentConnector4",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"x1",fmla:"*/ w adj1 100000"},{name:"x2",fmla:"+/ x1 r 2"},{name:"y2",fmla:"*/ h adj2 100000"},{name:"y1",fmla:"+/ t y2 2"}],ranges:[{x:{name:"adj1"},pos:{x:"x1",y:"y1"}},{y:{name:"adj2"},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"r",y:"b"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 100.00 0.00L 100.00 100.00L 200.00 100.00L 200.00 200.00",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y"]},bentConnector5:{type:"bentConnector5",defaultValue:[5e4,5e4,5e4],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"x1",fmla:"*/ w adj1 100000"},{name:"x3",fmla:"*/ w adj3 100000"},{name:"x2",fmla:"+/ x1 x3 2"},{name:"y2",fmla:"*/ h adj2 100000"},{name:"y1",fmla:"+/ t y2 2"},{name:"y3",fmla:"+/ b y2 2"}],ranges:[{x:{name:"adj1"},pos:{x:"x1",y:"y1"}},{y:{name:"adj2"},pos:{x:"x2",y:"y2"}},{x:{name:"adj3"},pos:{x:"x3",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x3",y:"b"},{type:"lnTo",x:"r",y:"b"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 100.00 0.00L 100.00 100.00L 100.00 100.00L 100.00 200.00L 200.00 200.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y","x"]},bentUpArrow:{type:"bentUpArrow",defaultValue:[25e3,25e3,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"a2",fmla:"pin 0 adj2 50000"},{name:"a3",fmla:"pin 0 adj3 50000"},{name:"y1",fmla:"*/ ss a3 100000"},{name:"dx1",fmla:"*/ ss a2 50000"},{name:"x1",fmla:"+- r 0 dx1"},{name:"dx3",fmla:"*/ ss a2 100000"},{name:"x3",fmla:"+- r 0 dx3"},{name:"dx2",fmla:"*/ ss a1 200000"},{name:"x2",fmla:"+- x3 0 dx2"},{name:"x4",fmla:"+- x3 dx2 0"},{name:"dy2",fmla:"*/ ss a1 100000"},{name:"y2",fmla:"+- b 0 dy2"},{name:"x0",fmla:"*/ x4 1 2"},{name:"y3",fmla:"+/ y2 b 2"},{name:"y15",fmla:"+/ y1 b 2"}],ranges:[{y:{name:"adj1",min:0,max:5e4},pos:{x:"l",y:"y2"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x1",y:"t"}},{y:{name:"adj3",min:0,max:5e4},pos:{x:"x2",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x3",y:"t"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x4",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 150.00L 125.00 150.00L 125.00 50.00L 100.00 50.00L 150.00 0.00L 200.00 50.00L 175.00 50.00L 175.00 200.00L 0.00 200.00Z",range:[[0,5e4],[0,5e4],[0,5e4]],relative:["y","x","y"]},bevel:{type:"bevel",defaultValue:[12500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- b 0 x1"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"x1"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"x1",y:"x1"},{type:"close"}],stroke:!1,fill:"lightenLess"},{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"x1"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"lighten"},{path:[{type:"moveTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"x1"},{type:"close"}],stroke:!1,fill:"darken"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"x1",y:"x1"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"},{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"x1"},{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x1",y:"y2"},{type:"moveTo",x:"r",y:"t"},{type:"lnTo",x:"x2",y:"x1"},{type:"moveTo",x:"r",y:"b"},{type:"lnTo",x:"x2",y:"y2"}],stroke:!0,fill:"none"}],path:"M 25.00 25.00L 175.00 25.00L 175.00 175.00L 25.00 175.00ZM 0.00 0.00L 200.00 0.00L 175.00 25.00L 25.00 25.00ZM 0.00 200.00L 25.00 175.00L 175.00 175.00L 200.00 200.00ZM 0.00 0.00L 25.00 25.00L 25.00 175.00L 0.00 200.00ZM 200.00 0.00L 200.00 200.00L 175.00 175.00L 175.00 25.00ZM 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 25.00L 175.00 25.00L 175.00 175.00L 25.00 175.00ZM 0.00 0.00L 25.00 25.00M 0.00 200.00L 25.00 175.00M 200.00 0.00L 175.00 25.00M 200.00 200.00L 175.00 175.00",range:[[0,5e4]],relative:["x"]},blockArc:{type:"blockArc",defaultValue:[108e5,0,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"stAng",fmla:"pin 0 adj1 21599999"},{name:"istAng",fmla:"pin 0 adj2 21599999"},{name:"a3",fmla:"pin 0 adj3 50000"},{name:"sw11",fmla:"+- istAng 0 stAng"},{name:"sw12",fmla:"+- sw11 21600000 0"},{name:"swAng",fmla:"?: sw11 sw11 sw12"},{name:"iswAng",fmla:"+- 0 0 swAng"},{name:"wt1",fmla:"sin wd2 stAng"},{name:"ht1",fmla:"cos hd2 stAng"},{name:"wt3",fmla:"sin wd2 istAng"},{name:"ht3",fmla:"cos hd2 istAng"},{name:"dx1",fmla:"cat2 wd2 ht1 wt1"},{name:"dy1",fmla:"sat2 hd2 ht1 wt1"},{name:"dx3",fmla:"cat2 wd2 ht3 wt3"},{name:"dy3",fmla:"sat2 hd2 ht3 wt3"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc dy1 0"},{name:"x3",fmla:"+- hc dx3 0"},{name:"y3",fmla:"+- vc dy3 0"},{name:"dr",fmla:"*/ ss a3 100000"},{name:"iwd2",fmla:"+- wd2 0 dr"},{name:"ihd2",fmla:"+- hd2 0 dr"},{name:"wt2",fmla:"sin iwd2 istAng"},{name:"ht2",fmla:"cos ihd2 istAng"},{name:"wt4",fmla:"sin iwd2 stAng"},{name:"ht4",fmla:"cos ihd2 stAng"},{name:"dx2",fmla:"cat2 iwd2 ht2 wt2"},{name:"dy2",fmla:"sat2 ihd2 ht2 wt2"},{name:"dx4",fmla:"cat2 iwd2 ht4 wt4"},{name:"dy4",fmla:"sat2 ihd2 ht4 wt4"},{name:"x2",fmla:"+- hc dx2 0"},{name:"y2",fmla:"+- vc dy2 0"},{name:"x4",fmla:"+- hc dx4 0"},{name:"y4",fmla:"+- vc dy4 0"},{name:"sw0",fmla:"+- 21600000 0 stAng"},{name:"da1",fmla:"+- swAng 0 sw0"},{name:"g1",fmla:"max x1 x2"},{name:"g2",fmla:"max x3 x4"},{name:"g3",fmla:"max g1 g2"},{name:"ir",fmla:"?: da1 r g3"},{name:"sw1",fmla:"+- cd4 0 stAng"},{name:"sw2",fmla:"+- 27000000 0 stAng"},{name:"sw3",fmla:"?: sw1 sw1 sw2"},{name:"da2",fmla:"+- swAng 0 sw3"},{name:"g5",fmla:"max y1 y2"},{name:"g6",fmla:"max y3 y4"},{name:"g7",fmla:"max g5 g6"},{name:"ib",fmla:"?: da2 b g7"},{name:"sw4",fmla:"+- cd2 0 stAng"},{name:"sw5",fmla:"+- 32400000 0 stAng"},{name:"sw6",fmla:"?: sw4 sw4 sw5"},{name:"da3",fmla:"+- swAng 0 sw6"},{name:"g9",fmla:"min x1 x2"},{name:"g10",fmla:"min x3 x4"},{name:"g11",fmla:"min g9 g10"},{name:"il",fmla:"?: da3 l g11"},{name:"sw7",fmla:"+- 3cd4 0 stAng"},{name:"sw8",fmla:"+- 37800000 0 stAng"},{name:"sw9",fmla:"?: sw7 sw7 sw8"},{name:"da4",fmla:"+- swAng 0 sw9"},{name:"g13",fmla:"min y1 y2"},{name:"g14",fmla:"min y3 y4"},{name:"g15",fmla:"min g13 g14"},{name:"it",fmla:"?: da4 t g15"},{name:"x5",fmla:"+/ x1 x4 2"},{name:"y5",fmla:"+/ y1 y4 2"},{name:"x6",fmla:"+/ x3 x2 2"},{name:"y6",fmla:"+/ y3 y2 2"},{name:"cang1",fmla:"+- stAng 0 cd4"},{name:"cang2",fmla:"+- istAng cd4 0"},{name:"cang3",fmla:"+/ cang1 cang2 2"}],ranges:[{ang:{name:"adj1",min:0,max:21599999},pos:{x:"x1",y:"y1"}},{r:{name:"adj3",min:0,max:5e4},ang:{name:"adj2",min:0,max:21599999},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"stAng",swAng:"swAng"},{type:"lnTo",x:"x2",y:"y2"},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:"istAng",swAng:"iswAng"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 200.00 100.00L 150.00 100.00A 50.00 50.00 0 0 0 50.00 100.00Z",range:[[0,21599999],[0,21599999],[0,5e4]],relative:["ang","ang","r"]},borderCallout1:{type:"borderCallout1",defaultValue:[18750,-8333,112500,-38333],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -76.67 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x"]},borderCallout2:{type:"borderCallout2",defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -93.33 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x"]},borderCallout3:{type:"borderCallout3",defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6","adj7","adj8"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"},{name:"y4",fmla:"*/ h adj7 100000"},{name:"x4",fmla:"*/ w adj8 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}},{x:{name:"adj8"},y:{name:"adj7"},pos:{x:"x4",y:"y4"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x4",y:"y4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x","y","x"]},bracePair:{type:"bracePair",defaultValue:[8333],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 25000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"*/ ss a 50000"},{name:"x3",fmla:"+- r 0 x2"},{name:"x4",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- vc 0 x1"},{name:"y3",fmla:"+- vc x1 0"},{name:"y4",fmla:"+- b 0 x1"},{name:"it",fmla:"*/ x1 29289 100000"},{name:"il",fmla:"+- x1 it 0"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 it"}],ranges:[{y:{name:"adj",min:0,max:25e3},pos:{x:"l",y:"x1"}}],paths:[{path:[{type:"moveTo",x:"x2",y:"b"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"x1",y:"y3"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:-54e5},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"x1",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x3",y:"t"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"x4",y:"y2"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:-54e5},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"x4",y:"y4"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x2",y:"b"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"x1",y:"y3"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:-54e5},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"x1",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"moveTo",x:"x3",y:"t"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"x4",y:"y2"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:-54e5},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"x4",y:"y4"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:"cd4"}],stroke:!0,fill:"none"}],path:"M 33.33 200.00A 16.67 16.67 0 0 1 16.67 183.33L 16.67 116.67A 16.67 16.67 0 0 0 0.00 100.00A 16.67 16.67 0 0 0 16.67 83.33L 16.67 16.67A 16.67 16.67 0 0 1 33.33 -0.00L 166.67 0.00A 16.67 16.67 0 0 1 183.33 16.67L 183.33 83.33A 16.67 16.67 0 0 0 200.00 100.00A 16.67 16.67 0 0 0 183.33 116.67L 183.33 183.33A 16.67 16.67 0 0 1 166.67 200.00ZM 33.33 200.00A 16.67 16.67 0 0 1 16.67 183.33L 16.67 116.67A 16.67 16.67 0 0 0 0.00 100.00A 16.67 16.67 0 0 0 16.67 83.33L 16.67 16.67A 16.67 16.67 0 0 1 33.33 -0.00M 166.67 0.00A 16.67 16.67 0 0 1 183.33 16.67L 183.33 83.33A 16.67 16.67 0 0 0 200.00 100.00A 16.67 16.67 0 0 0 183.33 116.67L 183.33 183.33A 16.67 16.67 0 0 1 166.67 200.00",range:[[0,25e3]],relative:["y"]},bracketPair:{type:"bracketPair",defaultValue:[16667],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- b 0 x1"},{name:"il",fmla:"*/ x1 29289 100000"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"l",y:"x1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x2",y:"t"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x1",y:"b"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"b"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"moveTo",x:"x2",y:"t"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:"cd4"}],stroke:!0,fill:"none"}],path:"M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67ZM 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00M 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00",range:[[0,5e4]],relative:["y"]},callout1:{type:"callout1",defaultValue:[18750,-8333,112500,-38333],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -76.67 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x"]},callout2:{type:"callout2",defaultValue:[18750,-8333,18750,-16667,112500,-46667],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -93.33 225.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x"]},callout3:{type:"callout3",defaultValue:[18750,-8333,18750,-16667,1e5,-16667,112963,-8333],adjustmentNames:["adj1","adj2","adj3","adj4","adj5","adj6","adj7","adj8"],params:[{name:"y1",fmla:"*/ h adj1 100000"},{name:"x1",fmla:"*/ w adj2 100000"},{name:"y2",fmla:"*/ h adj3 100000"},{name:"x2",fmla:"*/ w adj4 100000"},{name:"y3",fmla:"*/ h adj5 100000"},{name:"x3",fmla:"*/ w adj6 100000"},{name:"y4",fmla:"*/ h adj7 100000"},{name:"x4",fmla:"*/ w adj8 100000"}],ranges:[{x:{name:"adj2"},y:{name:"adj1"},pos:{x:"x1",y:"y1"}},{x:{name:"adj4"},y:{name:"adj3"},pos:{x:"x2",y:"y2"}},{x:{name:"adj6"},y:{name:"adj5"},pos:{x:"x3",y:"y3"}},{x:{name:"adj8"},y:{name:"adj7"},pos:{x:"x4",y:"y4"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x4",y:"y4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM -16.67 37.50L -33.33 37.50L -33.33 200.00L -16.67 225.93",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","x","y","x","y","x","y","x"]},can:{type:"can",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 50000 h ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"y1",fmla:"*/ ss a 200000"},{name:"y2",fmla:"+- y1 y1 0"},{name:"y3",fmla:"+- b 0 y1"}],ranges:[{y:{name:"adj",min:0,max:"maxAdj"},pos:{x:"hc",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y1"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:-108e5},{type:"lnTo",x:"r",y:"y3"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:"cd2"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"y1"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:"cd2"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:"cd2"},{type:"close"}],stroke:!1,fill:"lighten"},{path:[{type:"moveTo",x:"r",y:"y1"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:"cd2"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:"cd2"},{type:"lnTo",x:"r",y:"y3"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:"cd2"},{type:"lnTo",x:"l",y:"y1"}],stroke:!0,fill:"none"}],path:"M 0.00 25.00A 100.00 25.00 0 0 0 200.00 25.00L 200.00 175.00A 100.00 25.00 0 0 1 0.00 175.00ZM 0.00 25.00A 100.00 25.00 0 0 1 200.00 25.00A 100.00 25.00 0 0 1 0.00 25.00ZM 200.00 25.00A 100.00 25.00 0 0 1 0.00 25.00A 100.00 25.00 0 0 1 200.00 25.00L 200.00 175.00A 100.00 25.00 0 0 1 0.00 175.00L 0.00 25.00",range:[[0,5e4]],relative:["y"]},chartPlus:{type:"chartPlus",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:5,y:0},{type:"lnTo",x:5,y:10},{type:"moveTo",x:0,y:5},{type:"lnTo",x:10,y:5}],stroke:!0,fill:"none",w:10,h:10},{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:0,y:10},{type:"lnTo",x:10,y:10},{type:"lnTo",x:10,y:0},{type:"close"}],stroke:!1,fill:"norm",w:10,h:10}],path:"M 100.00 0.00L 100.00 200.00M 0.00 100.00L 200.00 100.00M 0.00 0.00L 0.00 200.00L 200.00 200.00L 200.00 0.00Z",range:[],relative:[]},chartStar:{type:"chartStar",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:10,y:10},{type:"moveTo",x:0,y:10},{type:"lnTo",x:10,y:0},{type:"moveTo",x:5,y:0},{type:"lnTo",x:5,y:10}],stroke:!0,fill:"none",w:10,h:10},{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:0,y:10},{type:"lnTo",x:10,y:10},{type:"lnTo",x:10,y:0},{type:"close"}],stroke:!1,fill:"norm",w:10,h:10}],path:"M 0.00 0.00L 200.00 200.00M 0.00 200.00L 200.00 0.00M 100.00 0.00L 100.00 200.00M 0.00 0.00L 0.00 200.00L 200.00 200.00L 200.00 0.00Z",range:[],relative:[]},chartX:{type:"chartX",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:10,y:10},{type:"moveTo",x:0,y:10},{type:"lnTo",x:10,y:0}],stroke:!0,fill:"none",w:10,h:10},{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:0,y:10},{type:"lnTo",x:10,y:10},{type:"lnTo",x:10,y:0},{type:"close"}],stroke:!1,fill:"norm",w:10,h:10}],path:"M 0.00 0.00L 200.00 200.00M 0.00 200.00L 200.00 0.00M 0.00 0.00L 0.00 200.00L 200.00 200.00L 200.00 0.00Z",range:[],relative:[]},chevron:{type:"chevron",defaultValue:[5e4],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 100000 w ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"x3",fmla:"*/ x2 1 2"},{name:"dx",fmla:"+- x2 0 x1"},{name:"il",fmla:"?: dx x1 l"},{name:"ir",fmla:"?: dx x2 r"}],ranges:[{x:{name:"adj",min:0,max:"maxAdj"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"lnTo",x:"x1",y:"vc"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 0.00 200.00L 100.00 100.00Z",range:[[0,1e5]],relative:["x"]},chord:{type:"chord",defaultValue:[27e5,162e5],adjustmentNames:["adj1","adj2"],params:[{name:"stAng",fmla:"pin 0 adj1 21599999"},{name:"enAng",fmla:"pin 0 adj2 21599999"},{name:"sw1",fmla:"+- enAng 0 stAng"},{name:"sw2",fmla:"+- sw1 21600000 0"},{name:"swAng",fmla:"?: sw1 sw1 sw2"},{name:"wt1",fmla:"sin wd2 stAng"},{name:"ht1",fmla:"cos hd2 stAng"},{name:"dx1",fmla:"cat2 wd2 ht1 wt1"},{name:"dy1",fmla:"sat2 hd2 ht1 wt1"},{name:"wt2",fmla:"sin wd2 enAng"},{name:"ht2",fmla:"cos hd2 enAng"},{name:"dx2",fmla:"cat2 wd2 ht2 wt2"},{name:"dy2",fmla:"sat2 hd2 ht2 wt2"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc dy1 0"},{name:"x2",fmla:"+- hc dx2 0"},{name:"y2",fmla:"+- vc dy2 0"},{name:"x3",fmla:"+/ x1 x2 2"},{name:"y3",fmla:"+/ y1 y2 2"},{name:"midAng0",fmla:"*/ swAng 1 2"},{name:"midAng",fmla:"+- stAng midAng0 cd2"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{ang:{name:"adj1",min:0,max:21599999},pos:{x:"x1",y:"y1"}},{ang:{name:"adj2",min:0,max:21599999},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"stAng",swAng:"swAng"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 170.71 170.71A 100.00 100.00 0 1 1 100.00 0.00Z",range:[[0,21599999],[0,21599999]],relative:["ang","ang"]},circularArrow:{type:"circularArrow",defaultValue:[12500,1142319,20457681,108e5,12500],adjustmentNames:["adj1","adj2","adj3","adj4","adj5"],params:[{name:"a5",fmla:"pin 0 adj5 25000"},{name:"maxAdj1",fmla:"*/ a5 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"enAng",fmla:"pin 1 adj3 21599999"},{name:"stAng",fmla:"pin 0 adj4 21599999"},{name:"th",fmla:"*/ ss a1 100000"},{name:"thh",fmla:"*/ ss a5 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"rw1",fmla:"+- wd2 th2 thh"},{name:"rh1",fmla:"+- hd2 th2 thh"},{name:"rw2",fmla:"+- rw1 0 th"},{name:"rh2",fmla:"+- rh1 0 th"},{name:"rw3",fmla:"+- rw2 th2 0"},{name:"rh3",fmla:"+- rh2 th2 0"},{name:"wtH",fmla:"sin rw3 enAng"},{name:"htH",fmla:"cos rh3 enAng"},{name:"dxH",fmla:"cat2 rw3 htH wtH"},{name:"dyH",fmla:"sat2 rh3 htH wtH"},{name:"xH",fmla:"+- hc dxH 0"},{name:"yH",fmla:"+- vc dyH 0"},{name:"rI",fmla:"min rw2 rh2"},{name:"u1",fmla:"*/ dxH dxH 1"},{name:"u2",fmla:"*/ dyH dyH 1"},{name:"u3",fmla:"*/ rI rI 1"},{name:"u4",fmla:"+- u1 0 u3"},{name:"u5",fmla:"+- u2 0 u3"},{name:"u6",fmla:"*/ u4 u5 u1"},{name:"u7",fmla:"*/ u6 1 u2"},{name:"u8",fmla:"+- 1 0 u7"},{name:"u9",fmla:"sqrt u8"},{name:"u10",fmla:"*/ u4 1 dxH"},{name:"u11",fmla:"*/ u10 1 dyH"},{name:"u12",fmla:"+/ 1 u9 u11"},{name:"u13",fmla:"at2 1 u12"},{name:"u14",fmla:"+- u13 21600000 0"},{name:"u15",fmla:"?: u13 u13 u14"},{name:"u16",fmla:"+- u15 0 enAng"},{name:"u17",fmla:"+- u16 21600000 0"},{name:"u18",fmla:"?: u16 u16 u17"},{name:"u19",fmla:"+- u18 0 cd2"},{name:"u20",fmla:"+- u18 0 21600000"},{name:"u21",fmla:"?: u19 u20 u18"},{name:"maxAng",fmla:"abs u21"},{name:"aAng",fmla:"pin 0 adj2 maxAng"},{name:"ptAng",fmla:"+- enAng aAng 0"},{name:"wtA",fmla:"sin rw3 ptAng"},{name:"htA",fmla:"cos rh3 ptAng"},{name:"dxA",fmla:"cat2 rw3 htA wtA"},{name:"dyA",fmla:"sat2 rh3 htA wtA"},{name:"xA",fmla:"+- hc dxA 0"},{name:"yA",fmla:"+- vc dyA 0"},{name:"wtE",fmla:"sin rw1 stAng"},{name:"htE",fmla:"cos rh1 stAng"},{name:"dxE",fmla:"cat2 rw1 htE wtE"},{name:"dyE",fmla:"sat2 rh1 htE wtE"},{name:"xE",fmla:"+- hc dxE 0"},{name:"yE",fmla:"+- vc dyE 0"},{name:"dxG",fmla:"cos thh ptAng"},{name:"dyG",fmla:"sin thh ptAng"},{name:"xG",fmla:"+- xH dxG 0"},{name:"yG",fmla:"+- yH dyG 0"},{name:"dxB",fmla:"cos thh ptAng"},{name:"dyB",fmla:"sin thh ptAng"},{name:"xB",fmla:"+- xH 0 dxB 0"},{name:"yB",fmla:"+- yH 0 dyB 0"},{name:"sx1",fmla:"+- xB 0 hc"},{name:"sy1",fmla:"+- yB 0 vc"},{name:"sx2",fmla:"+- xG 0 hc"},{name:"sy2",fmla:"+- yG 0 vc"},{name:"rO",fmla:"min rw1 rh1"},{name:"x1O",fmla:"*/ sx1 rO rw1"},{name:"y1O",fmla:"*/ sy1 rO rh1"},{name:"x2O",fmla:"*/ sx2 rO rw1"},{name:"y2O",fmla:"*/ sy2 rO rh1"},{name:"dxO",fmla:"+- x2O 0 x1O"},{name:"dyO",fmla:"+- y2O 0 y1O"},{name:"dO",fmla:"mod dxO dyO 0"},{name:"q1",fmla:"*/ x1O y2O 1"},{name:"q2",fmla:"*/ x2O y1O 1"},{name:"DO",fmla:"+- q1 0 q2"},{name:"q3",fmla:"*/ rO rO 1"},{name:"q4",fmla:"*/ dO dO 1"},{name:"q5",fmla:"*/ q3 q4 1"},{name:"q6",fmla:"*/ DO DO 1"},{name:"q7",fmla:"+- q5 0 q6"},{name:"q8",fmla:"max q7 0"},{name:"sdelO",fmla:"sqrt q8"},{name:"ndyO",fmla:"*/ dyO -1 1"},{name:"sdyO",fmla:"?: ndyO -1 1"},{name:"q9",fmla:"*/ sdyO dxO 1"},{name:"q10",fmla:"*/ q9 sdelO 1"},{name:"q11",fmla:"*/ DO dyO 1"},{name:"dxF1",fmla:"+/ q11 q10 q4"},{name:"q12",fmla:"+- q11 0 q10"},{name:"dxF2",fmla:"*/ q12 1 q4"},{name:"adyO",fmla:"abs dyO"},{name:"q13",fmla:"*/ adyO sdelO 1"},{name:"q14",fmla:"*/ DO dxO -1"},{name:"dyF1",fmla:"+/ q14 q13 q4"},{name:"q15",fmla:"+- q14 0 q13"},{name:"dyF2",fmla:"*/ q15 1 q4"},{name:"q16",fmla:"+- x2O 0 dxF1"},{name:"q17",fmla:"+- x2O 0 dxF2"},{name:"q18",fmla:"+- y2O 0 dyF1"},{name:"q19",fmla:"+- y2O 0 dyF2"},{name:"q20",fmla:"mod q16 q18 0"},{name:"q21",fmla:"mod q17 q19 0"},{name:"q22",fmla:"+- q21 0 q20"},{name:"dxF",fmla:"?: q22 dxF1 dxF2"},{name:"dyF",fmla:"?: q22 dyF1 dyF2"},{name:"sdxF",fmla:"*/ dxF rw1 rO"},{name:"sdyF",fmla:"*/ dyF rh1 rO"},{name:"xF",fmla:"+- hc sdxF 0"},{name:"yF",fmla:"+- vc sdyF 0"},{name:"x1I",fmla:"*/ sx1 rI rw2"},{name:"y1I",fmla:"*/ sy1 rI rh2"},{name:"x2I",fmla:"*/ sx2 rI rw2"},{name:"y2I",fmla:"*/ sy2 rI rh2"},{name:"dxI",fmla:"+- x2I 0 x1I"},{name:"dyI",fmla:"+- y2I 0 y1I"},{name:"dI",fmla:"mod dxI dyI 0"},{name:"v1",fmla:"*/ x1I y2I 1"},{name:"v2",fmla:"*/ x2I y1I 1"},{name:"DI",fmla:"+- v1 0 v2"},{name:"v3",fmla:"*/ rI rI 1"},{name:"v4",fmla:"*/ dI dI 1"},{name:"v5",fmla:"*/ v3 v4 1"},{name:"v6",fmla:"*/ DI DI 1"},{name:"v7",fmla:"+- v5 0 v6"},{name:"v8",fmla:"max v7 0"},{name:"sdelI",fmla:"sqrt v8"},{name:"v9",fmla:"*/ sdyO dxI 1"},{name:"v10",fmla:"*/ v9 sdelI 1"},{name:"v11",fmla:"*/ DI dyI 1"},{name:"dxC1",fmla:"+/ v11 v10 v4"},{name:"v12",fmla:"+- v11 0 v10"},{name:"dxC2",fmla:"*/ v12 1 v4"},{name:"adyI",fmla:"abs dyI"},{name:"v13",fmla:"*/ adyI sdelI 1"},{name:"v14",fmla:"*/ DI dxI -1"},{name:"dyC1",fmla:"+/ v14 v13 v4"},{name:"v15",fmla:"+- v14 0 v13"},{name:"dyC2",fmla:"*/ v15 1 v4"},{name:"v16",fmla:"+- x1I 0 dxC1"},{name:"v17",fmla:"+- x1I 0 dxC2"},{name:"v18",fmla:"+- y1I 0 dyC1"},{name:"v19",fmla:"+- y1I 0 dyC2"},{name:"v20",fmla:"mod v16 v18 0"},{name:"v21",fmla:"mod v17 v19 0"},{name:"v22",fmla:"+- v21 0 v20"},{name:"dxC",fmla:"?: v22 dxC1 dxC2"},{name:"dyC",fmla:"?: v22 dyC1 dyC2"},{name:"sdxC",fmla:"*/ dxC rw2 rI"},{name:"sdyC",fmla:"*/ dyC rh2 rI"},{name:"xC",fmla:"+- hc sdxC 0"},{name:"yC",fmla:"+- vc sdyC 0"},{name:"ist0",fmla:"at2 sdxC sdyC"},{name:"ist1",fmla:"+- ist0 21600000 0"},{name:"istAng",fmla:"?: ist0 ist0 ist1"},{name:"isw1",fmla:"+- stAng 0 istAng"},{name:"isw2",fmla:"+- isw1 0 21600000"},{name:"iswAng",fmla:"?: isw1 isw2 isw1"},{name:"p1",fmla:"+- xF 0 xC"},{name:"p2",fmla:"+- yF 0 yC"},{name:"p3",fmla:"mod p1 p2 0"},{name:"p4",fmla:"*/ p3 1 2"},{name:"p5",fmla:"+- p4 0 thh"},{name:"xGp",fmla:"?: p5 xF xG"},{name:"yGp",fmla:"?: p5 yF yG"},{name:"xBp",fmla:"?: p5 xC xB"},{name:"yBp",fmla:"?: p5 yC yB"},{name:"en0",fmla:"at2 sdxF sdyF"},{name:"en1",fmla:"+- en0 21600000 0"},{name:"en2",fmla:"?: en0 en0 en1"},{name:"sw0",fmla:"+- en2 0 stAng"},{name:"sw1",fmla:"+- sw0 21600000 0"},{name:"swAng",fmla:"?: sw0 sw0 sw1"},{name:"wtI",fmla:"sin rw3 stAng"},{name:"htI",fmla:"cos rh3 stAng"},{name:"dxI",fmla:"cat2 rw3 htI wtI"},{name:"dyI",fmla:"sat2 rh3 htI wtI"},{name:"xI",fmla:"+- hc dxI 0"},{name:"yI",fmla:"+- vc dyI 0"},{name:"aI",fmla:"+- stAng 0 cd4"},{name:"aA",fmla:"+- ptAng cd4 0"},{name:"aB",fmla:"+- ptAng cd2 0"},{name:"idx",fmla:"cos rw1 2700000"},{name:"idy",fmla:"sin rh1 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{ang:{name:"adj2",min:0,max:"maxAng"},pos:{x:"xA",y:"yA"}},{ang:{name:"adj4",min:0,max:21599999},pos:{x:"xE",y:"yE"}},{r:{name:"adj1",min:0,max:"maxAdj1"},ang:{name:"adj3",min:0,max:21599999},pos:{x:"xF",y:"yF"}},{r:{name:"adj5",min:0,max:25e3},pos:{x:"xB",y:"yB"}}],paths:[{path:[{type:"moveTo",x:"xE",y:"yE"},{type:"arcTo",wR:"rw1",hR:"rh1",stAng:"stAng",swAng:"swAng"},{type:"lnTo",x:"xGp",y:"yGp"},{type:"lnTo",x:"xA",y:"yA"},{type:"lnTo",x:"xBp",y:"yBp"},{type:"lnTo",x:"xC",y:"yC"},{type:"arcTo",wR:"rw2",hR:"rh2",stAng:"istAng",swAng:"iswAng"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 12.50 100.00A 87.50 87.50 0 0 1 184.01 75.53L 195.90 75.53L 175.00 100.00L 145.90 75.53L 157.51 75.53A 62.50 62.50 0 0 0 37.50 100.00Z",range:[[0,25e3],[0,3386561.414284762],[0,21599999],[0,21599999],[0,25e3]],relative:["r","ang","ang","ang","r"]},cloud:{type:"cloud",defaultValue:[],adjustmentNames:[],params:[{name:"il",fmla:"*/ w 2977 21600"},{name:"it",fmla:"*/ h 3262 21600"},{name:"ir",fmla:"*/ w 17087 21600"},{name:"ib",fmla:"*/ h 17337 21600"},{name:"g27",fmla:"*/ w 67 21600"},{name:"g28",fmla:"*/ h 21577 21600"},{name:"g29",fmla:"*/ w 21582 21600"},{name:"g30",fmla:"*/ h 1235 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:3900,y:14370},{type:"arcTo",wR:6753,hR:9190,stAng:-11429249,swAng:7426832},{type:"arcTo",wR:5333,hR:7267,stAng:-8646143,swAng:5396714},{type:"arcTo",wR:4365,hR:5945,stAng:-8748475,swAng:5983381},{type:"arcTo",wR:4857,hR:6595,stAng:-7859164,swAng:7034504},{type:"arcTo",wR:5333,hR:7273,stAng:-4722533,swAng:6541615},{type:"arcTo",wR:6775,hR:9220,stAng:-2776035,swAng:7816140},{type:"arcTo",wR:5785,hR:7867,stAng:37501,swAng:6842e3},{type:"arcTo",wR:6752,hR:9215,stAng:1347096,swAng:6910353},{type:"arcTo",wR:7720,hR:10543,stAng:3974558,swAng:4542661},{type:"arcTo",wR:4360,hR:5918,stAng:-16496525,swAng:8804134},{type:"arcTo",wR:4345,hR:5945,stAng:-14809710,swAng:9151131},{type:"close"}],stroke:!0,fill:"norm",w:43200,h:43200},{path:[{type:"moveTo",x:4693,y:26177},{type:"arcTo",wR:4345,hR:5945,stAng:5204520,swAng:1585770},{type:"moveTo",x:6928,y:34899},{type:"arcTo",wR:4360,hR:5918,stAng:4416628,swAng:686848},{type:"moveTo",x:16478,y:39090},{type:"arcTo",wR:6752,hR:9215,stAng:8257449,swAng:844866},{type:"moveTo",x:28827,y:34751},{type:"arcTo",wR:6752,hR:9215,stAng:387196,swAng:959901},{type:"moveTo",x:34129,y:22954},{type:"arcTo",wR:5785,hR:7867,stAng:-4217541,swAng:4255042},{type:"moveTo",x:41798,y:15354},{type:"arcTo",wR:5333,hR:7273,stAng:1819082,swAng:1665090},{type:"moveTo",x:38324,y:5426},{type:"arcTo",wR:4857,hR:6595,stAng:-824660,swAng:891534},{type:"moveTo",x:29078,y:3952},{type:"arcTo",wR:4857,hR:6595,stAng:-8950887,swAng:1091722},{type:"moveTo",x:22141,y:4720},{type:"arcTo",wR:4365,hR:5945,stAng:-9809656,swAng:1061181},{type:"moveTo",x:14e3,y:5192},{type:"arcTo",wR:6753,hR:9190,stAng:-4002417,swAng:739161},{type:"moveTo",x:4127,y:15789},{type:"arcTo",wR:6753,hR:9190,stAng:9459261,swAng:711490}],stroke:!0,fill:"none",w:43200,h:43200}],path:"M 18.06 66.53A 31.26 42.55 0 0 1 64.84 24.08A 24.69 33.64 0 0 1 103.96 15.89A 20.21 27.52 0 0 1 138.12 11.49A 22.49 30.53 0 0 1 177.40 25.81A 24.69 33.67 0 0 1 193.60 71.57A 31.37 42.69 0 0 1 173.17 139.83A 26.78 36.42 0 0 1 132.20 170.43A 31.26 42.66 0 0 1 76.30 181.78A 35.74 48.81 0 0 1 26.87 164.21A 20.19 27.40 0 0 1 9.78 118.28A 20.12 27.52 0 0 1 17.89 67.15ZM 21.73 121.19A 20.12 27.52 0 0 1 10.00 117.50M 32.07 161.57A 20.19 27.40 0 0 1 26.94 163.34M 76.29 180.97A 31.26 42.66 0 0 1 73.20 172.92M 133.46 160.88A 31.26 42.66 0 0 1 132.22 169.72M 158.00 106.27A 26.78 36.42 0 0 1 173.06 139.30M 193.51 71.08A 24.69 33.67 0 0 1 186.81 83.47M 177.43 25.12A 22.49 30.53 0 0 1 177.78 30.97M 134.62 18.30A 22.49 30.53 0 0 1 138.05 10.84M 102.50 21.85A 20.21 27.52 0 0 1 104.17 15.42M 64.81 24.04A 31.26 42.55 0 0 1 70.83 30.28M 19.11 73.10A 31.26 42.55 0 0 1 18.06 66.53",range:[],relative:[]},cloudCallout:{type:"cloudCallout",defaultValue:[-20833,62500],adjustmentNames:["adj1","adj2"],params:[{name:"dxPos",fmla:"*/ w adj1 100000"},{name:"dyPos",fmla:"*/ h adj2 100000"},{name:"xPos",fmla:"+- hc dxPos 0"},{name:"yPos",fmla:"+- vc dyPos 0"},{name:"ht",fmla:"cat2 hd2 dxPos dyPos"},{name:"wt",fmla:"sat2 wd2 dxPos dyPos"},{name:"g2",fmla:"cat2 wd2 ht wt"},{name:"g3",fmla:"sat2 hd2 ht wt"},{name:"g4",fmla:"+- hc g2 0"},{name:"g5",fmla:"+- vc g3 0"},{name:"g6",fmla:"+- g4 0 xPos"},{name:"g7",fmla:"+- g5 0 yPos"},{name:"g8",fmla:"mod g6 g7 0"},{name:"g9",fmla:"*/ ss 6600 21600"},{name:"g10",fmla:"+- g8 0 g9"},{name:"g11",fmla:"*/ g10 1 3"},{name:"g12",fmla:"*/ ss 1800 21600"},{name:"g13",fmla:"+- g11 g12 0"},{name:"g14",fmla:"*/ g13 g6 g8"},{name:"g15",fmla:"*/ g13 g7 g8"},{name:"g16",fmla:"+- g14 xPos 0"},{name:"g17",fmla:"+- g15 yPos 0"},{name:"g18",fmla:"*/ ss 4800 21600"},{name:"g19",fmla:"*/ g11 2 1"},{name:"g20",fmla:"+- g18 g19 0"},{name:"g21",fmla:"*/ g20 g6 g8"},{name:"g22",fmla:"*/ g20 g7 g8"},{name:"g23",fmla:"+- g21 xPos 0"},{name:"g24",fmla:"+- g22 yPos 0"},{name:"g25",fmla:"*/ ss 1200 21600"},{name:"g26",fmla:"*/ ss 600 21600"},{name:"x23",fmla:"+- xPos g26 0"},{name:"x24",fmla:"+- g16 g25 0"},{name:"x25",fmla:"+- g23 g12 0"},{name:"il",fmla:"*/ w 2977 21600"},{name:"it",fmla:"*/ h 3262 21600"},{name:"ir",fmla:"*/ w 17087 21600"},{name:"ib",fmla:"*/ h 17337 21600"},{name:"g27",fmla:"*/ w 67 21600"},{name:"g28",fmla:"*/ h 21577 21600"},{name:"g29",fmla:"*/ w 21582 21600"},{name:"g30",fmla:"*/ h 1235 21600"},{name:"pang",fmla:"at2 dxPos dyPos"}],ranges:[{x:{name:"adj1"},y:{name:"adj2"},pos:{x:"xPos",y:"yPos"}}],paths:[{path:[{type:"moveTo",x:3900,y:14370},{type:"arcTo",wR:6753,hR:9190,stAng:-11429249,swAng:7426832},{type:"arcTo",wR:5333,hR:7267,stAng:-8646143,swAng:5396714},{type:"arcTo",wR:4365,hR:5945,stAng:-8748475,swAng:5983381},{type:"arcTo",wR:4857,hR:6595,stAng:-7859164,swAng:7034504},{type:"arcTo",wR:5333,hR:7273,stAng:-4722533,swAng:6541615},{type:"arcTo",wR:6775,hR:9220,stAng:-2776035,swAng:7816140},{type:"arcTo",wR:5785,hR:7867,stAng:37501,swAng:6842e3},{type:"arcTo",wR:6752,hR:9215,stAng:1347096,swAng:6910353},{type:"arcTo",wR:7720,hR:10543,stAng:3974558,swAng:4542661},{type:"arcTo",wR:4360,hR:5918,stAng:-16496525,swAng:8804134},{type:"arcTo",wR:4345,hR:5945,stAng:-14809710,swAng:9151131},{type:"close"}],stroke:!0,fill:"norm",w:43200,h:43200},{path:[{type:"moveTo",x:"x23",y:"yPos"},{type:"arcTo",wR:"g26",hR:"g26",stAng:0,swAng:216e5},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x24",y:"g17"},{type:"arcTo",wR:"g25",hR:"g25",stAng:0,swAng:216e5},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x25",y:"g24"},{type:"arcTo",wR:"g12",hR:"g12",stAng:0,swAng:216e5},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:4693,y:26177},{type:"arcTo",wR:4345,hR:5945,stAng:5204520,swAng:1585770},{type:"moveTo",x:6928,y:34899},{type:"arcTo",wR:4360,hR:5918,stAng:4416628,swAng:686848},{type:"moveTo",x:16478,y:39090},{type:"arcTo",wR:6752,hR:9215,stAng:8257449,swAng:844866},{type:"moveTo",x:28827,y:34751},{type:"arcTo",wR:6752,hR:9215,stAng:387196,swAng:959901},{type:"moveTo",x:34129,y:22954},{type:"arcTo",wR:5785,hR:7867,stAng:-4217541,swAng:4255042},{type:"moveTo",x:41798,y:15354},{type:"arcTo",wR:5333,hR:7273,stAng:1819082,swAng:1665090},{type:"moveTo",x:38324,y:5426},{type:"arcTo",wR:4857,hR:6595,stAng:-824660,swAng:891534},{type:"moveTo",x:29078,y:3952},{type:"arcTo",wR:4857,hR:6595,stAng:-8950887,swAng:1091722},{type:"moveTo",x:22141,y:4720},{type:"arcTo",wR:4365,hR:5945,stAng:-9809656,swAng:1061181},{type:"moveTo",x:14e3,y:5192},{type:"arcTo",wR:6753,hR:9190,stAng:-4002417,swAng:739161},{type:"moveTo",x:4127,y:15789},{type:"arcTo",wR:6753,hR:9190,stAng:9459261,swAng:711490}],stroke:!0,fill:"none",w:43200,h:43200}],path:"M 18.06 66.53A 31.26 42.55 0 0 1 64.84 24.08A 24.69 33.64 0 0 1 103.96 15.89A 20.21 27.52 0 0 1 138.12 11.49A 22.49 30.53 0 0 1 177.40 25.81A 24.69 33.67 0 0 1 193.60 71.57A 31.37 42.69 0 0 1 173.17 139.83A 26.78 36.42 0 0 1 132.20 170.43A 31.26 42.66 0 0 1 76.30 181.78A 35.74 48.81 0 0 1 26.87 164.21A 20.19 27.40 0 0 1 9.78 118.28A 20.12 27.52 0 0 1 17.89 67.15ZM 63.89 225.00A 5.56 5.56 0 1 1 63.89 224.98ZM 71.62 218.47A 11.11 11.11 0 1 1 71.62 218.42ZM 82.87 201.40A 16.67 16.67 0 1 1 82.87 201.33ZM 21.73 121.19A 20.12 27.52 0 0 1 10.00 117.50M 32.07 161.57A 20.19 27.40 0 0 1 26.94 163.34M 76.29 180.97A 31.26 42.66 0 0 1 73.20 172.92M 133.46 160.88A 31.26 42.66 0 0 1 132.22 169.72M 158.00 106.27A 26.78 36.42 0 0 1 173.06 139.30M 193.51 71.08A 24.69 33.67 0 0 1 186.81 83.47M 177.43 25.12A 22.49 30.53 0 0 1 177.78 30.97M 134.62 18.30A 22.49 30.53 0 0 1 138.05 10.84M 102.50 21.85A 20.21 27.52 0 0 1 104.17 15.42M 64.81 24.04A 31.26 42.55 0 0 1 70.83 30.28M 19.11 73.10A 31.26 42.55 0 0 1 18.06 66.53",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y"]},corner:{type:"corner",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj1",fmla:"*/ 100000 h ss"},{name:"maxAdj2",fmla:"*/ 100000 w ss"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"x1",fmla:"*/ ss a2 100000"},{name:"dy1",fmla:"*/ ss a1 100000"},{name:"y1",fmla:"+- b 0 dy1"},{name:"cx1",fmla:"*/ x1 1 2"},{name:"cy1",fmla:"+/ y1 b 2"},{name:"d",fmla:"+- w 0 h"},{name:"it",fmla:"?: d y1 t"},{name:"ir",fmla:"?: d r x1"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"l",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 100.00 0.00L 100.00 100.00L 200.00 100.00L 200.00 200.00L 0.00 200.00Z",range:[[0,1e5],[0,1e5]],relative:["y","x"]},cornerTabs:{type:"cornerTabs",defaultValue:[],adjustmentNames:[],params:[{name:"md",fmla:"mod w h 0"},{name:"dx",fmla:"*/ 1 md 20"},{name:"y1",fmla:"+- 0 b dx"},{name:"x1",fmla:"+- 0 r dx"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"dx",y:"t"},{type:"lnTo",x:"l",y:"dx"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"dx",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"dx"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"r",y:"y1"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x1",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 14.14 0.00L 0.00 14.14ZM 0.00 185.86L 14.14 200.00L 0.00 200.00ZM 185.86 0.00L 200.00 0.00L 200.00 14.14ZM 200.00 185.86L 200.00 200.00L 185.86 200.00Z",range:[],relative:[]},cube:{type:"cube",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 100000"},{name:"y1",fmla:"*/ ss a 100000"},{name:"y4",fmla:"+- b 0 y1"},{name:"y2",fmla:"*/ y4 1 2"},{name:"y3",fmla:"+/ y1 b 2"},{name:"x4",fmla:"+- r 0 y1"},{name:"x2",fmla:"*/ x4 1 2"},{name:"x3",fmla:"+/ y1 r 2"}],ranges:[{y:{name:"adj",min:0,max:1e5},pos:{x:"l",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x4",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x4",y:"y1"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x4",y:"b"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"y1",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"x4",y:"y1"},{type:"close"}],stroke:!1,fill:"lightenLess"},{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"y1",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x4",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"r",y:"t"},{type:"moveTo",x:"x4",y:"y1"},{type:"lnTo",x:"x4",y:"b"}],stroke:!0,fill:"none"}],path:"M 0.00 50.00L 150.00 50.00L 150.00 200.00L 0.00 200.00ZM 150.00 50.00L 200.00 0.00L 200.00 150.00L 150.00 200.00ZM 0.00 50.00L 50.00 0.00L 200.00 0.00L 150.00 50.00ZM 0.00 50.00L 50.00 0.00L 200.00 0.00L 200.00 150.00L 150.00 200.00L 0.00 200.00ZM 0.00 50.00L 150.00 50.00L 200.00 0.00M 150.00 50.00L 150.00 200.00",range:[[0,1e5]],relative:["y"]},curvedConnector2:{type:"curvedConnector2",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"cubicBezTo",pts:[{x:"wd2",y:"t"},{x:"r",y:"hd2"},{x:"r",y:"b"}]}],stroke:!0,fill:"none"}],path:"M 0.00 0.00C 100.00,0.00 200.00,100.00 200.00,200.00",range:[],relative:[]},curvedConnector3:{type:"curvedConnector3",defaultValue:[5e4],adjustmentNames:["adj1"],params:[{name:"x2",fmla:"*/ w adj1 100000"},{name:"x1",fmla:"+/ l x2 2"},{name:"x3",fmla:"+/ r x2 2"},{name:"y3",fmla:"*/ h 3 4"}],ranges:[{x:{name:"adj1"},pos:{x:"x2",y:"vc"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"cubicBezTo",pts:[{x:"x1",y:"t"},{x:"x2",y:"hd4"},{x:"x2",y:"vc"}]},{type:"cubicBezTo",pts:[{x:"x2",y:"y3"},{x:"x3",y:"b"},{x:"r",y:"b"}]}],stroke:!0,fill:"none"}],path:"M 0.00 0.00C 50.00,0.00 100.00,50.00 100.00,100.00C 100.00,150.00 150.00,200.00 200.00,200.00",range:[[-2147483647,2147483647]],relative:["x"]},curvedConnector4:{type:"curvedConnector4",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"x2",fmla:"*/ w adj1 100000"},{name:"x1",fmla:"+/ l x2 2"},{name:"x3",fmla:"+/ r x2 2"},{name:"x4",fmla:"+/ x2 x3 2"},{name:"x5",fmla:"+/ x3 r 2"},{name:"y4",fmla:"*/ h adj2 100000"},{name:"y1",fmla:"+/ t y4 2"},{name:"y2",fmla:"+/ t y1 2"},{name:"y3",fmla:"+/ y1 y4 2"},{name:"y5",fmla:"+/ b y4 2"}],ranges:[{x:{name:"adj1"},pos:{x:"x2",y:"y1"}},{y:{name:"adj2"},pos:{x:"x3",y:"y4"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"cubicBezTo",pts:[{x:"x1",y:"t"},{x:"x2",y:"y2"},{x:"x2",y:"y1"}]},{type:"cubicBezTo",pts:[{x:"x2",y:"y3"},{x:"x4",y:"y4"},{x:"x3",y:"y4"}]},{type:"cubicBezTo",pts:[{x:"x5",y:"y4"},{x:"r",y:"y5"},{x:"r",y:"b"}]}],stroke:!0,fill:"none"}],path:"M 0.00 0.00C 50.00,0.00 100.00,25.00 100.00,50.00C 100.00,75.00 125.00,100.00 150.00,100.00C 175.00,100.00 200.00,150.00 200.00,200.00",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y"]},curvedConnector5:{type:"curvedConnector5",defaultValue:[5e4,5e4,5e4],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"x3",fmla:"*/ w adj1 100000"},{name:"x6",fmla:"*/ w adj3 100000"},{name:"x1",fmla:"+/ x3 x6 2"},{name:"x2",fmla:"+/ l x3 2"},{name:"x4",fmla:"+/ x3 x1 2"},{name:"x5",fmla:"+/ x6 x1 2"},{name:"x7",fmla:"+/ x6 r 2"},{name:"y4",fmla:"*/ h adj2 100000"},{name:"y1",fmla:"+/ t y4 2"},{name:"y2",fmla:"+/ t y1 2"},{name:"y3",fmla:"+/ y1 y4 2"},{name:"y5",fmla:"+/ b y4 2"},{name:"y6",fmla:"+/ y5 y4 2"},{name:"y7",fmla:"+/ y5 b 2"}],ranges:[{x:{name:"adj1"},pos:{x:"x3",y:"y1"}},{y:{name:"adj2"},pos:{x:"x1",y:"y4"}},{x:{name:"adj3"},pos:{x:"x6",y:"y5"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"cubicBezTo",pts:[{x:"x2",y:"t"},{x:"x3",y:"y2"},{x:"x3",y:"y1"}]},{type:"cubicBezTo",pts:[{x:"x3",y:"y3"},{x:"x4",y:"y4"},{x:"x1",y:"y4"}]},{type:"cubicBezTo",pts:[{x:"x5",y:"y4"},{x:"x6",y:"y6"},{x:"x6",y:"y5"}]},{type:"cubicBezTo",pts:[{x:"x6",y:"y7"},{x:"x7",y:"b"},{x:"r",y:"b"}]}],stroke:!0,fill:"none"}],path:"M 0.00 0.00C 50.00,0.00 100.00,25.00 100.00,50.00C 100.00,75.00 100.00,100.00 100.00,100.00C 100.00,100.00 100.00,125.00 100.00,150.00C 100.00,175.00 150.00,200.00 200.00,200.00",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y","x"]},curvedDownArrow:{type:"curvedDownArrow",defaultValue:[25e3,5e4,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"maxAdj2",fmla:"*/ 50000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"th",fmla:"*/ ss a1 100000"},{name:"aw",fmla:"*/ ss a2 100000"},{name:"q1",fmla:"+/ th aw 4"},{name:"wR",fmla:"+- wd2 0 q1"},{name:"q7",fmla:"*/ wR 2 1"},{name:"q8",fmla:"*/ q7 q7 1"},{name:"q9",fmla:"*/ th th 1"},{name:"q10",fmla:"+- q8 0 q9"},{name:"q11",fmla:"sqrt q10"},{name:"idy",fmla:"*/ q11 h q7"},{name:"maxAdj3",fmla:"*/ 100000 idy ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"ah",fmla:"*/ ss adj3 100000"},{name:"x3",fmla:"+- wR th 0"},{name:"q2",fmla:"*/ h h 1"},{name:"q3",fmla:"*/ ah ah 1"},{name:"q4",fmla:"+- q2 0 q3"},{name:"q5",fmla:"sqrt q4"},{name:"dx",fmla:"*/ q5 wR h"},{name:"x5",fmla:"+- wR dx 0"},{name:"x7",fmla:"+- x3 dx 0"},{name:"q6",fmla:"+- aw 0 th"},{name:"dh",fmla:"*/ q6 1 2"},{name:"x4",fmla:"+- x5 0 dh"},{name:"x8",fmla:"+- x7 dh 0"},{name:"aw2",fmla:"*/ aw 1 2"},{name:"x6",fmla:"+- r 0 aw2"},{name:"y1",fmla:"+- b 0 ah"},{name:"swAng",fmla:"at2 ah dx"},{name:"mswAng",fmla:"+- 0 0 swAng"},{name:"iy",fmla:"+- b 0 idy"},{name:"ix",fmla:"+/ wR x3 2"},{name:"q12",fmla:"*/ th 1 2"},{name:"dang2",fmla:"at2 idy q12"},{name:"stAng",fmla:"+- 3cd4 swAng 0"},{name:"stAng2",fmla:"+- 3cd4 0 dang2"},{name:"swAng2",fmla:"+- dang2 0 cd4"},{name:"swAng3",fmla:"+- cd4 dang2 0"}],ranges:[{x:{name:"adj1",min:0,max:"adj2"},pos:{x:"x7",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x4",y:"b"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"x6",y:"b"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x5",y:"y1"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng",swAng:"mswAng"},{type:"lnTo",x:"x3",y:"t"},{type:"arcTo",wR:"wR",hR:"h",stAng:"3cd4",swAng:"swAng"},{type:"lnTo",x:"x8",y:"y1"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"ix",y:"iy"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng2",swAng:"swAng2"},{type:"lnTo",x:"l",y:"b"},{type:"arcTo",wR:"wR",hR:"h",stAng:"cd2",swAng:"swAng3"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"ix",y:"iy"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng2",swAng:"swAng2"},{type:"lnTo",x:"l",y:"b"},{type:"arcTo",wR:"wR",hR:"h",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x3",y:"t"},{type:"arcTo",wR:"wR",hR:"h",stAng:"3cd4",swAng:"swAng"},{type:"lnTo",x:"x8",y:"y1"},{type:"lnTo",x:"x6",y:"b"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x5",y:"y1"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng",swAng:"mswAng"}],stroke:!0,fill:"none"}],path:"M 150.00 200.00L 98.02 150.00L 123.02 150.00A 62.50 200.00 0 0 0 62.50 0.00L 112.50 0.00A 62.50 200.00 0 0 1 173.02 150.00L 198.02 150.00ZM 87.50 16.70A 62.50 200.00 0 0 0 50.00 200.00L 0.00 200.00A 62.50 200.00 0 0 1 87.50 16.70ZM 87.50 16.70A 62.50 200.00 0 0 0 50.00 200.00L 0.00 200.00A 62.50 200.00 0 0 1 62.50 0.00L 112.50 0.00A 62.50 200.00 0 0 1 173.02 150.00L 198.02 150.00L 150.00 200.00L 98.02 150.00L 123.02 150.00A 62.50 200.00 0 0 0 62.50 0.00",range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:["x","x","y"]},curvedLeftArrow:{type:"curvedLeftArrow",defaultValue:[25e3,5e4,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"a1",fmla:"pin 0 adj1 a2"},{name:"th",fmla:"*/ ss a1 100000"},{name:"aw",fmla:"*/ ss a2 100000"},{name:"q1",fmla:"+/ th aw 4"},{name:"hR",fmla:"+- hd2 0 q1"},{name:"q7",fmla:"*/ hR 2 1"},{name:"q8",fmla:"*/ q7 q7 1"},{name:"q9",fmla:"*/ th th 1"},{name:"q10",fmla:"+- q8 0 q9"},{name:"q11",fmla:"sqrt q10"},{name:"idx",fmla:"*/ q11 w q7"},{name:"maxAdj3",fmla:"*/ 100000 idx ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"ah",fmla:"*/ ss a3 100000"},{name:"y3",fmla:"+- hR th 0"},{name:"q2",fmla:"*/ w w 1"},{name:"q3",fmla:"*/ ah ah 1"},{name:"q4",fmla:"+- q2 0 q3"},{name:"q5",fmla:"sqrt q4"},{name:"dy",fmla:"*/ q5 hR w"},{name:"y5",fmla:"+- hR dy 0"},{name:"y7",fmla:"+- y3 dy 0"},{name:"q6",fmla:"+- aw 0 th"},{name:"dh",fmla:"*/ q6 1 2"},{name:"y4",fmla:"+- y5 0 dh"},{name:"y8",fmla:"+- y7 dh 0"},{name:"aw2",fmla:"*/ aw 1 2"},{name:"y6",fmla:"+- b 0 aw2"},{name:"x1",fmla:"+- l ah 0"},{name:"swAng",fmla:"at2 ah dy"},{name:"mswAng",fmla:"+- 0 0 swAng"},{name:"ix",fmla:"+- l idx 0"},{name:"iy",fmla:"+/ hR y3 2"},{name:"q12",fmla:"*/ th 1 2"},{name:"dang2",fmla:"at2 idx q12"},{name:"swAng2",fmla:"+- dang2 0 swAng"},{name:"swAng3",fmla:"+- swAng dang2 0"},{name:"stAng3",fmla:"+- 0 0 dang2"}],ranges:[{y:{name:"adj1",min:0,max:"a2"},pos:{x:"x1",y:"y5"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"r",y:"y4"}},{x:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x1",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y6"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"x1",y:"y5"},{type:"arcTo",wR:"w",hR:"hR",stAng:"swAng",swAng:"swAng2"},{type:"arcTo",wR:"w",hR:"hR",stAng:"stAng3",swAng:"swAng3"},{type:"lnTo",x:"x1",y:"y8"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"r",y:"y3"},{type:"arcTo",wR:"w",hR:"hR",stAng:0,swAng:-54e5},{type:"lnTo",x:"l",y:"t"},{type:"arcTo",wR:"w",hR:"hR",stAng:"3cd4",swAng:"cd4"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"r",y:"y3"},{type:"arcTo",wR:"w",hR:"hR",stAng:0,swAng:-54e5},{type:"lnTo",x:"l",y:"t"},{type:"arcTo",wR:"w",hR:"hR",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y3"},{type:"arcTo",wR:"w",hR:"hR",stAng:0,swAng:"swAng"},{type:"lnTo",x:"x1",y:"y8"},{type:"lnTo",x:"l",y:"y6"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"x1",y:"y5"},{type:"arcTo",wR:"w",hR:"hR",stAng:"swAng",swAng:"swAng2"}],stroke:!0,fill:"none"}],path:"M 0.00 150.00L 50.00 98.02L 50.00 123.02A 200.00 62.50 0 0 0 183.30 87.50A 200.00 62.50 0 0 1 50.00 173.02L 50.00 198.02ZM 200.00 112.50A 200.00 62.50 0 0 0 0.00 50.00L 0.00 0.00A 200.00 62.50 0 0 1 200.00 62.50ZM 200.00 112.50A 200.00 62.50 0 0 0 0.00 50.00L 0.00 0.00A 200.00 62.50 0 0 1 200.00 62.50L 200.00 112.50A 200.00 62.50 0 0 1 50.00 173.02L 50.00 198.02L 0.00 150.00L 50.00 98.02L 50.00 123.02A 200.00 62.50 0 0 0 183.30 87.50",range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:["y","y","x"]},curvedRightArrow:{type:"curvedRightArrow",defaultValue:[25e3,5e4,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"a1",fmla:"pin 0 adj1 a2"},{name:"th",fmla:"*/ ss a1 100000"},{name:"aw",fmla:"*/ ss a2 100000"},{name:"q1",fmla:"+/ th aw 4"},{name:"hR",fmla:"+- hd2 0 q1"},{name:"q7",fmla:"*/ hR 2 1"},{name:"q8",fmla:"*/ q7 q7 1"},{name:"q9",fmla:"*/ th th 1"},{name:"q10",fmla:"+- q8 0 q9"},{name:"q11",fmla:"sqrt q10"},{name:"idx",fmla:"*/ q11 w q7"},{name:"maxAdj3",fmla:"*/ 100000 idx ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"ah",fmla:"*/ ss a3 100000"},{name:"y3",fmla:"+- hR th 0"},{name:"q2",fmla:"*/ w w 1"},{name:"q3",fmla:"*/ ah ah 1"},{name:"q4",fmla:"+- q2 0 q3"},{name:"q5",fmla:"sqrt q4"},{name:"dy",fmla:"*/ q5 hR w"},{name:"y5",fmla:"+- hR dy 0"},{name:"y7",fmla:"+- y3 dy 0"},{name:"q6",fmla:"+- aw 0 th"},{name:"dh",fmla:"*/ q6 1 2"},{name:"y4",fmla:"+- y5 0 dh"},{name:"y8",fmla:"+- y7 dh 0"},{name:"aw2",fmla:"*/ aw 1 2"},{name:"y6",fmla:"+- b 0 aw2"},{name:"x1",fmla:"+- r 0 ah"},{name:"swAng",fmla:"at2 ah dy"},{name:"stAng",fmla:"+- cd2 0 swAng"},{name:"mswAng",fmla:"+- 0 0 swAng"},{name:"ix",fmla:"+- r 0 idx"},{name:"iy",fmla:"+/ hR y3 2"},{name:"q12",fmla:"*/ th 1 2"},{name:"dang2",fmla:"at2 idx q12"},{name:"swAng2",fmla:"+- dang2 0 cd4"},{name:"swAng3",fmla:"+- cd4 dang2 0"},{name:"stAng3",fmla:"+- cd2 0 dang2"}],ranges:[{y:{name:"adj1",min:0,max:"a2"},pos:{x:"x1",y:"y5"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"r",y:"y4"}},{x:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x1",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"hR"},{type:"arcTo",wR:"w",hR:"hR",stAng:"cd2",swAng:"mswAng"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"r",y:"y6"},{type:"lnTo",x:"x1",y:"y8"},{type:"lnTo",x:"x1",y:"y7"},{type:"arcTo",wR:"w",hR:"hR",stAng:"stAng",swAng:"swAng"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"r",y:"th"},{type:"arcTo",wR:"w",hR:"hR",stAng:"3cd4",swAng:"swAng2"},{type:"arcTo",wR:"w",hR:"hR",stAng:"stAng3",swAng:"swAng3"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"hR"},{type:"arcTo",wR:"w",hR:"hR",stAng:"cd2",swAng:"mswAng"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"r",y:"y6"},{type:"lnTo",x:"x1",y:"y8"},{type:"lnTo",x:"x1",y:"y7"},{type:"arcTo",wR:"w",hR:"hR",stAng:"stAng",swAng:"swAng"},{type:"lnTo",x:"l",y:"hR"},{type:"arcTo",wR:"w",hR:"hR",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"r",y:"th"},{type:"arcTo",wR:"w",hR:"hR",stAng:"3cd4",swAng:"swAng2"}],stroke:!0,fill:"none"}],path:"M 0.00 62.50A 200.00 62.50 0 0 0 150.00 123.02L 150.00 98.02L 200.00 150.00L 150.00 198.02L 150.00 173.02A 200.00 62.50 0 0 1 0.00 112.50ZM 200.00 50.00A 200.00 62.50 0 0 0 16.70 87.50A 200.00 62.50 0 0 1 200.00 -0.00ZM 0.00 62.50A 200.00 62.50 0 0 0 150.00 123.02L 150.00 98.02L 200.00 150.00L 150.00 198.02L 150.00 173.02A 200.00 62.50 0 0 1 0.00 112.50L 0.00 62.50A 200.00 62.50 0 0 1 200.00 -0.00L 200.00 50.00A 200.00 62.50 0 0 0 16.70 87.50",range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:["y","y","x"]},curvedUpArrow:{type:"curvedUpArrow",defaultValue:[25e3,5e4,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"maxAdj2",fmla:"*/ 50000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"th",fmla:"*/ ss a1 100000"},{name:"aw",fmla:"*/ ss a2 100000"},{name:"q1",fmla:"+/ th aw 4"},{name:"wR",fmla:"+- wd2 0 q1"},{name:"q7",fmla:"*/ wR 2 1"},{name:"q8",fmla:"*/ q7 q7 1"},{name:"q9",fmla:"*/ th th 1"},{name:"q10",fmla:"+- q8 0 q9"},{name:"q11",fmla:"sqrt q10"},{name:"idy",fmla:"*/ q11 h q7"},{name:"maxAdj3",fmla:"*/ 100000 idy ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"ah",fmla:"*/ ss adj3 100000"},{name:"x3",fmla:"+- wR th 0"},{name:"q2",fmla:"*/ h h 1"},{name:"q3",fmla:"*/ ah ah 1"},{name:"q4",fmla:"+- q2 0 q3"},{name:"q5",fmla:"sqrt q4"},{name:"dx",fmla:"*/ q5 wR h"},{name:"x5",fmla:"+- wR dx 0"},{name:"x7",fmla:"+- x3 dx 0"},{name:"q6",fmla:"+- aw 0 th"},{name:"dh",fmla:"*/ q6 1 2"},{name:"x4",fmla:"+- x5 0 dh"},{name:"x8",fmla:"+- x7 dh 0"},{name:"aw2",fmla:"*/ aw 1 2"},{name:"x6",fmla:"+- r 0 aw2"},{name:"y1",fmla:"+- t ah 0"},{name:"swAng",fmla:"at2 ah dx"},{name:"mswAng",fmla:"+- 0 0 swAng"},{name:"iy",fmla:"+- t idy 0"},{name:"ix",fmla:"+/ wR x3 2"},{name:"q12",fmla:"*/ th 1 2"},{name:"dang2",fmla:"at2 idy q12"},{name:"swAng2",fmla:"+- dang2 0 swAng"},{name:"mswAng2",fmla:"+- 0 0 swAng2"},{name:"stAng3",fmla:"+- cd4 0 swAng"},{name:"swAng3",fmla:"+- swAng dang2 0"},{name:"stAng2",fmla:"+- cd4 0 dang2"}],ranges:[{x:{name:"adj1",min:0,max:"a2"},pos:{x:"x7",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x4",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"x6",y:"t"},{type:"lnTo",x:"x8",y:"y1"},{type:"lnTo",x:"x7",y:"y1"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng3",swAng:"swAng3"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng2",swAng:"swAng2"},{type:"lnTo",x:"x4",y:"y1"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"wR",y:"b"},{type:"arcTo",wR:"wR",hR:"h",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"th",y:"t"},{type:"arcTo",wR:"wR",hR:"h",stAng:"cd2",swAng:-54e5},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"ix",y:"iy"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng2",swAng:"swAng2"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x6",y:"t"},{type:"lnTo",x:"x8",y:"y1"},{type:"lnTo",x:"x7",y:"y1"},{type:"arcTo",wR:"wR",hR:"h",stAng:"stAng3",swAng:"swAng"},{type:"lnTo",x:"wR",y:"b"},{type:"arcTo",wR:"wR",hR:"h",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"th",y:"t"},{type:"arcTo",wR:"wR",hR:"h",stAng:"cd2",swAng:-54e5}],stroke:!0,fill:"none"}],path:"M 150.00 0.00L 198.02 50.00L 173.02 50.00A 62.50 200.00 0 0 1 87.50 183.30A 62.50 200.00 0 0 0 123.02 50.00L 98.02 50.00ZM 62.50 200.00A 62.50 200.00 0 0 1 -0.00 0.00L 50.00 0.00A 62.50 200.00 0 0 0 112.50 200.00ZM 87.50 183.30A 62.50 200.00 0 0 0 123.02 50.00L 98.02 50.00L 150.00 0.00L 198.02 50.00L 173.02 50.00A 62.50 200.00 0 0 1 112.50 200.00L 62.50 200.00A 62.50 200.00 0 0 1 -0.00 0.00L 50.00 0.00A 62.50 200.00 0 0 0 112.50 200.00",range:[[0,5e4],[0,5e4],[0,91651.51389911682]],relative:["x","x","y"]},decagon:{type:"decagon",defaultValue:[105146],adjustmentNames:["vf"],params:[{name:"shd2",fmla:"*/ hd2 vf 100000"},{name:"dx1",fmla:"cos wd2 2160000"},{name:"dx2",fmla:"cos wd2 4320000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"dy1",fmla:"sin shd2 4320000"},{name:"dy2",fmla:"sin shd2 2160000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y4",fmla:"+- vc dy1 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x4",y:"y2"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"x1",y:"y3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 19.10 38.20L 69.10 0.00L 130.90 0.00L 180.90 38.20L 200.00 100.00L 180.90 161.80L 130.90 200.00L 69.10 200.00L 19.10 161.80Z",range:[[-2147483647,2147483647]],relative:[""]},diagStripe:{type:"diagStripe",defaultValue:[5e4],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 100000"},{name:"x2",fmla:"*/ w a 100000"},{name:"x1",fmla:"*/ x2 1 2"},{name:"x3",fmla:"+/ x2 r 2"},{name:"y2",fmla:"*/ h a 100000"},{name:"y1",fmla:"*/ y2 1 2"},{name:"y3",fmla:"+/ y2 b 2"}],ranges:[{y:{name:"adj",min:0,max:1e5},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 100.00 0.00L 200.00 0.00L 0.00 200.00Z",range:[[0,1e5]],relative:["y"]},diamond:{type:"diamond",defaultValue:[],adjustmentNames:[],params:[{name:"ir",fmla:"*/ w 3 4"},{name:"ib",fmla:"*/ h 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"hc",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00Z",range:[],relative:[]},dodecagon:{type:"dodecagon",defaultValue:[],adjustmentNames:[],params:[{name:"x1",fmla:"*/ w 2894 21600"},{name:"x2",fmla:"*/ w 7906 21600"},{name:"x3",fmla:"*/ w 13694 21600"},{name:"x4",fmla:"*/ w 18706 21600"},{name:"y1",fmla:"*/ h 2894 21600"},{name:"y2",fmla:"*/ h 7906 21600"},{name:"y3",fmla:"*/ h 13694 21600"},{name:"y4",fmla:"*/ h 18706 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x3",y:"t"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"r",y:"y3"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"x3",y:"b"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"l",y:"y3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 73.20L 26.80 26.80L 73.20 0.00L 126.80 0.00L 173.20 26.80L 200.00 73.20L 200.00 126.80L 173.20 173.20L 126.80 200.00L 73.20 200.00L 26.80 173.20L 0.00 126.80Z",range:[],relative:[]},donut:{type:"donut",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dr",fmla:"*/ ss a 100000"},{name:"iwd2",fmla:"+- wd2 0 dr"},{name:"ihd2",fmla:"+- hd2 0 dr"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{r:{name:"adj",min:0,max:5e4},pos:{x:"dr",y:"vc"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"},{type:"moveTo",x:"dr",y:"vc"},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:"cd2",swAng:-54e5},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:"cd4",swAng:-54e5},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:0,swAng:-54e5},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:"3cd4",swAng:-54e5},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 50.00 100.00A 50.00 50.00 0 0 0 100.00 150.00A 50.00 50.00 0 0 0 150.00 100.00A 50.00 50.00 0 0 0 100.00 50.00A 50.00 50.00 0 0 0 50.00 100.00Z",range:[[0,5e4]],relative:["r"]},doubleWave:{type:"doubleWave",defaultValue:[6250,0],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 12500"},{name:"a2",fmla:"pin -10000 adj2 10000"},{name:"y1",fmla:"*/ h a1 100000"},{name:"dy2",fmla:"*/ y1 10 3"},{name:"y2",fmla:"+- y1 0 dy2"},{name:"y3",fmla:"+- y1 dy2 0"},{name:"y4",fmla:"+- b 0 y1"},{name:"y5",fmla:"+- y4 0 dy2"},{name:"y6",fmla:"+- y4 dy2 0"},{name:"dx1",fmla:"*/ w a2 100000"},{name:"of2",fmla:"*/ w a2 50000"},{name:"x1",fmla:"abs dx1"},{name:"dx2",fmla:"?: of2 0 of2"},{name:"x2",fmla:"+- l 0 dx2"},{name:"dx8",fmla:"?: of2 of2 0"},{name:"x8",fmla:"+- r 0 dx8"},{name:"dx3",fmla:"+/ dx2 x8 6"},{name:"x3",fmla:"+- x2 dx3 0"},{name:"dx4",fmla:"+/ dx2 x8 3"},{name:"x4",fmla:"+- x2 dx4 0"},{name:"x5",fmla:"+/ x2 x8 2"},{name:"x6",fmla:"+- x5 dx3 0"},{name:"x7",fmla:"+/ x6 x8 2"},{name:"x9",fmla:"+- l dx8 0"},{name:"x15",fmla:"+- r dx2 0"},{name:"x10",fmla:"+- x9 dx3 0"},{name:"x11",fmla:"+- x9 dx4 0"},{name:"x12",fmla:"+/ x9 x15 2"},{name:"x13",fmla:"+- x12 dx3 0"},{name:"x14",fmla:"+/ x13 x15 2"},{name:"x16",fmla:"+- r 0 x1"},{name:"xAdj",fmla:"+- hc dx1 0"},{name:"il",fmla:"max x2 x9"},{name:"ir",fmla:"min x8 x15"},{name:"it",fmla:"*/ h a1 50000"},{name:"ib",fmla:"+- b 0 it"}],ranges:[{y:{name:"adj1",min:0,max:12500},pos:{x:"l",y:"y1"}},{x:{name:"adj2",min:-1e4,max:1e4},pos:{x:"xAdj",y:"b"}}],paths:[{path:[{type:"moveTo",x:"x2",y:"y1"},{type:"cubicBezTo",pts:[{x:"x3",y:"y2"},{x:"x4",y:"y3"},{x:"x5",y:"y1"}]},{type:"cubicBezTo",pts:[{x:"x6",y:"y2"},{x:"x7",y:"y3"},{x:"x8",y:"y1"}]},{type:"lnTo",x:"x15",y:"y4"},{type:"cubicBezTo",pts:[{x:"x14",y:"y6"},{x:"x13",y:"y5"},{x:"x12",y:"y4"}]},{type:"cubicBezTo",pts:[{x:"x11",y:"y6"},{x:"x10",y:"y5"},{x:"x9",y:"y4"}]},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 12.50C 33.33,-29.17 66.67,54.17 100.00,12.50C 133.33,-29.17 166.67,54.17 200.00,12.50L 200.00 187.50C 166.67,229.17 133.33,145.83 100.00,187.50C 66.67,229.17 33.33,145.83 0.00,187.50Z",range:[[0,12500],[-1e4,1e4]],relative:["y","x"]},downArrow:{type:"downArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 100000 h ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"dy1",fmla:"*/ ss a2 100000"},{name:"y1",fmla:"+- b 0 dy1"},{name:"dx1",fmla:"*/ w a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"},{name:"dy2",fmla:"*/ x1 dy1 wd2"},{name:"y2",fmla:"+- y1 dy2 0"}],ranges:[{x:{name:"adj1",min:0,max:1e5},pos:{x:"x1",y:"t"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"l",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"hc",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 50.00 100.00L 50.00 0.00L 150.00 0.00L 150.00 100.00L 200.00 100.00L 100.00 200.00Z",range:[[0,1e5],[0,1e5]],relative:["x","y"]},downArrowCallout:{type:"downArrowCallout",defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"maxAdj2",fmla:"*/ 50000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"*/ 100000 h ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 ss h"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"dx1",fmla:"*/ ss a2 100000"},{name:"dx2",fmla:"*/ ss a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"dy3",fmla:"*/ ss a3 100000"},{name:"y3",fmla:"+- b 0 dy3"},{name:"y2",fmla:"*/ h a4 100000"},{name:"y1",fmla:"*/ y2 1 2"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x2",y:"y3"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"b"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"y3"}},{y:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"l",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 129.95L 125.00 129.95L 125.00 150.00L 150.00 150.00L 100.00 200.00L 50.00 150.00L 75.00 150.00L 75.00 129.95L 0.00 129.95Z",range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:["x","x","y","y"]},ellipse:{type:"ellipse",defaultValue:[],adjustmentNames:[],params:[{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z",range:[],relative:[]},ellipseRibbon:{type:"ellipseRibbon",defaultValue:[25e3,5e4,12500],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 25000 adj2 75000"},{name:"q10",fmla:"+- 100000 0 a1"},{name:"q11",fmla:"*/ q10 1 2"},{name:"q12",fmla:"+- a1 0 q11"},{name:"minAdj3",fmla:"max 0 q12"},{name:"a3",fmla:"pin minAdj3 adj3 a1"},{name:"dx2",fmla:"*/ w a2 200000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- x2 wd8 0"},{name:"x4",fmla:"+- r 0 x3"},{name:"x5",fmla:"+- r 0 x2"},{name:"x6",fmla:"+- r 0 wd8"},{name:"dy1",fmla:"*/ h a3 100000"},{name:"f1",fmla:"*/ 4 dy1 w"},{name:"q1",fmla:"*/ x3 x3 w"},{name:"q2",fmla:"+- x3 0 q1"},{name:"y1",fmla:"*/ f1 q2 1"},{name:"cx1",fmla:"*/ x3 1 2"},{name:"cy1",fmla:"*/ f1 cx1 1"},{name:"cx2",fmla:"+- r 0 cx1"},{name:"q1",fmla:"*/ h a1 100000"},{name:"dy3",fmla:"+- q1 0 dy1"},{name:"q3",fmla:"*/ x2 x2 w"},{name:"q4",fmla:"+- x2 0 q3"},{name:"q5",fmla:"*/ f1 q4 1"},{name:"y3",fmla:"+- q5 dy3 0"},{name:"q6",fmla:"+- dy1 dy3 y3"},{name:"q7",fmla:"+- q6 dy1 0"},{name:"cy3",fmla:"+- q7 dy3 0"},{name:"rh",fmla:"+- b 0 q1"},{name:"q8",fmla:"*/ dy1 14 16"},{name:"y2",fmla:"+/ q8 rh 2"},{name:"y5",fmla:"+- q5 rh 0"},{name:"y6",fmla:"+- y3 rh 0"},{name:"cx4",fmla:"*/ x2 1 2"},{name:"q9",fmla:"*/ f1 cx4 1"},{name:"cy4",fmla:"+- q9 rh 0"},{name:"cx5",fmla:"+- r 0 cx4"},{name:"cy6",fmla:"+- cy3 rh 0"},{name:"y7",fmla:"+- y1 dy3 0"},{name:"cy7",fmla:"+- q1 q1 y7"},{name:"y8",fmla:"+- b 0 dy1"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"hc",y:"q1"}},{x:{name:"adj2",min:25e3,max:75e3},pos:{x:"x2",y:"b"}},{y:{name:"adj3",min:"minAdj3",max:"a1"},pos:{x:"l",y:"y8"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"quadBezTo",pts:[{x:"cx1",y:"cy1"},{x:"x3",y:"y1"}]},{type:"lnTo",x:"x2",y:"y3"},{type:"quadBezTo",pts:[{x:"hc",y:"cy3"},{x:"x5",y:"y3"}]},{type:"lnTo",x:"x4",y:"y1"},{type:"quadBezTo",pts:[{x:"cx2",y:"cy1"},{x:"r",y:"t"}]},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"r",y:"rh"},{type:"quadBezTo",pts:[{x:"cx5",y:"cy4"},{x:"x5",y:"y5"}]},{type:"lnTo",x:"x5",y:"y6"},{type:"quadBezTo",pts:[{x:"hc",y:"cy6"},{x:"x2",y:"y6"}]},{type:"lnTo",x:"x2",y:"y5"},{type:"quadBezTo",pts:[{x:"cx4",y:"cy4"},{x:"l",y:"rh"}]},{type:"lnTo",x:"wd8",y:"y2"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x3",y:"y7"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x2",y:"y3"},{type:"quadBezTo",pts:[{x:"hc",y:"cy3"},{x:"x5",y:"y3"}]},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x4",y:"y7"},{type:"quadBezTo",pts:[{x:"hc",y:"cy7"},{x:"x3",y:"y7"}]},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"quadBezTo",pts:[{x:"cx1",y:"cy1"},{x:"x3",y:"y1"}]},{type:"lnTo",x:"x2",y:"y3"},{type:"quadBezTo",pts:[{x:"hc",y:"cy3"},{x:"x5",y:"y3"}]},{type:"lnTo",x:"x4",y:"y1"},{type:"quadBezTo",pts:[{x:"cx2",y:"cy1"},{x:"r",y:"t"}]},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"r",y:"rh"},{type:"quadBezTo",pts:[{x:"cx5",y:"cy4"},{x:"x5",y:"y5"}]},{type:"lnTo",x:"x5",y:"y6"},{type:"quadBezTo",pts:[{x:"hc",y:"cy6"},{x:"x2",y:"y6"}]},{type:"lnTo",x:"x2",y:"y5"},{type:"quadBezTo",pts:[{x:"cx4",y:"cy4"},{x:"l",y:"rh"}]},{type:"lnTo",x:"wd8",y:"y2"},{type:"close"},{type:"moveTo",x:"x2",y:"y5"},{type:"lnTo",x:"x2",y:"y3"},{type:"moveTo",x:"x5",y:"y3"},{type:"lnTo",x:"x5",y:"y5"},{type:"moveTo",x:"x3",y:"y1"},{type:"lnTo",x:"x3",y:"y7"},{type:"moveTo",x:"x4",y:"y7"},{type:"lnTo",x:"x4",y:"y1"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00Q 37.50,18.75 75.00,23.44L 50.00 43.75Q 100.00,56.25 150.00,43.75L 125.00 23.44Q 162.50,18.75 200.00,0.00L 175.00 85.94L 200.00 150.00Q 175.00,162.50 150.00,168.75L 150.00 193.75Q 100.00,206.25 50.00,193.75L 50.00 168.75Q 25.00,162.50 0.00,150.00L 25.00 85.94ZM 75.00 48.44L 75.00 23.44L 50.00 43.75Q 100.00,56.25 150.00,43.75L 125.00 23.44L 125.00 48.44Q 100.00,51.56 75.00,48.44ZM 0.00 0.00Q 37.50,18.75 75.00,23.44L 50.00 43.75Q 100.00,56.25 150.00,43.75L 125.00 23.44Q 162.50,18.75 200.00,0.00L 175.00 85.94L 200.00 150.00Q 175.00,162.50 150.00,168.75L 150.00 193.75Q 100.00,206.25 50.00,193.75L 50.00 168.75Q 25.00,162.50 0.00,150.00L 25.00 85.94ZM 50.00 168.75L 50.00 43.75M 150.00 43.75L 150.00 168.75M 75.00 23.44L 75.00 48.44M 125.00 48.44L 125.00 23.44",range:[[0,1e5],[25e3,75e3],[0,25e3]],relative:["y","x","y"]},ellipseRibbon2:{type:"ellipseRibbon2",defaultValue:[25e3,5e4,12500],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 25000 adj2 75000"},{name:"q10",fmla:"+- 100000 0 a1"},{name:"q11",fmla:"*/ q10 1 2"},{name:"q12",fmla:"+- a1 0 q11"},{name:"minAdj3",fmla:"max 0 q12"},{name:"a3",fmla:"pin minAdj3 adj3 a1"},{name:"dx2",fmla:"*/ w a2 200000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- x2 wd8 0"},{name:"x4",fmla:"+- r 0 x3"},{name:"x5",fmla:"+- r 0 x2"},{name:"x6",fmla:"+- r 0 wd8"},{name:"dy1",fmla:"*/ h a3 100000"},{name:"f1",fmla:"*/ 4 dy1 w"},{name:"q1",fmla:"*/ x3 x3 w"},{name:"q2",fmla:"+- x3 0 q1"},{name:"u1",fmla:"*/ f1 q2 1"},{name:"y1",fmla:"+- b 0 u1"},{name:"cx1",fmla:"*/ x3 1 2"},{name:"cu1",fmla:"*/ f1 cx1 1"},{name:"cy1",fmla:"+- b 0 cu1"},{name:"cx2",fmla:"+- r 0 cx1"},{name:"q1",fmla:"*/ h a1 100000"},{name:"dy3",fmla:"+- q1 0 dy1"},{name:"q3",fmla:"*/ x2 x2 w"},{name:"q4",fmla:"+- x2 0 q3"},{name:"q5",fmla:"*/ f1 q4 1"},{name:"u3",fmla:"+- q5 dy3 0"},{name:"y3",fmla:"+- b 0 u3"},{name:"q6",fmla:"+- dy1 dy3 u3"},{name:"q7",fmla:"+- q6 dy1 0"},{name:"cu3",fmla:"+- q7 dy3 0"},{name:"cy3",fmla:"+- b 0 cu3"},{name:"rh",fmla:"+- b 0 q1"},{name:"q8",fmla:"*/ dy1 14 16"},{name:"u2",fmla:"+/ q8 rh 2"},{name:"y2",fmla:"+- b 0 u2"},{name:"u5",fmla:"+- q5 rh 0"},{name:"y5",fmla:"+- b 0 u5"},{name:"u6",fmla:"+- u3 rh 0"},{name:"y6",fmla:"+- b 0 u6"},{name:"cx4",fmla:"*/ x2 1 2"},{name:"q9",fmla:"*/ f1 cx4 1"},{name:"cu4",fmla:"+- q9 rh 0"},{name:"cy4",fmla:"+- b 0 cu4"},{name:"cx5",fmla:"+- r 0 cx4"},{name:"cu6",fmla:"+- cu3 rh 0"},{name:"cy6",fmla:"+- b 0 cu6"},{name:"u7",fmla:"+- u1 dy3 0"},{name:"y7",fmla:"+- b 0 u7"},{name:"cu7",fmla:"+- q1 q1 u7"},{name:"cy7",fmla:"+- b 0 cu7"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"hc",y:"rh"}},{x:{name:"adj2",min:25e3,max:1e5},pos:{x:"x2",y:"t"}},{y:{name:"adj3",min:"minAdj3",max:"a1"},pos:{x:"l",y:"dy1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"quadBezTo",pts:[{x:"cx1",y:"cy1"},{x:"x3",y:"y1"}]},{type:"lnTo",x:"x2",y:"y3"},{type:"quadBezTo",pts:[{x:"hc",y:"cy3"},{x:"x5",y:"y3"}]},{type:"lnTo",x:"x4",y:"y1"},{type:"quadBezTo",pts:[{x:"cx2",y:"cy1"},{x:"r",y:"b"}]},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"r",y:"q1"},{type:"quadBezTo",pts:[{x:"cx5",y:"cy4"},{x:"x5",y:"y5"}]},{type:"lnTo",x:"x5",y:"y6"},{type:"quadBezTo",pts:[{x:"hc",y:"cy6"},{x:"x2",y:"y6"}]},{type:"lnTo",x:"x2",y:"y5"},{type:"quadBezTo",pts:[{x:"cx4",y:"cy4"},{x:"l",y:"q1"}]},{type:"lnTo",x:"wd8",y:"y2"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x3",y:"y7"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x2",y:"y3"},{type:"quadBezTo",pts:[{x:"hc",y:"cy3"},{x:"x5",y:"y3"}]},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x4",y:"y7"},{type:"quadBezTo",pts:[{x:"hc",y:"cy7"},{x:"x3",y:"y7"}]},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"wd8",y:"y2"},{type:"lnTo",x:"l",y:"q1"},{type:"quadBezTo",pts:[{x:"cx4",y:"cy4"},{x:"x2",y:"y5"}]},{type:"lnTo",x:"x2",y:"y6"},{type:"quadBezTo",pts:[{x:"hc",y:"cy6"},{x:"x5",y:"y6"}]},{type:"lnTo",x:"x5",y:"y5"},{type:"quadBezTo",pts:[{x:"cx5",y:"cy4"},{x:"r",y:"q1"}]},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"r",y:"b"},{type:"quadBezTo",pts:[{x:"cx2",y:"cy1"},{x:"x4",y:"y1"}]},{type:"lnTo",x:"x5",y:"y3"},{type:"quadBezTo",pts:[{x:"hc",y:"cy3"},{x:"x2",y:"y3"}]},{type:"lnTo",x:"x3",y:"y1"},{type:"quadBezTo",pts:[{x:"cx1",y:"cy1"},{x:"l",y:"b"}]},{type:"close"},{type:"moveTo",x:"x2",y:"y3"},{type:"lnTo",x:"x2",y:"y5"},{type:"moveTo",x:"x5",y:"y5"},{type:"lnTo",x:"x5",y:"y3"},{type:"moveTo",x:"x3",y:"y7"},{type:"lnTo",x:"x3",y:"y1"},{type:"moveTo",x:"x4",y:"y1"},{type:"lnTo",x:"x4",y:"y7"}],stroke:!0,fill:"none"}],path:"M 0.00 200.00Q 37.50,181.25 75.00,176.56L 50.00 156.25Q 100.00,143.75 150.00,156.25L 125.00 176.56Q 162.50,181.25 200.00,200.00L 175.00 114.06L 200.00 50.00Q 175.00,37.50 150.00,31.25L 150.00 6.25Q 100.00,-6.25 50.00,6.25L 50.00 31.25Q 25.00,37.50 0.00,50.00L 25.00 114.06ZM 75.00 151.56L 75.00 176.56L 50.00 156.25Q 100.00,143.75 150.00,156.25L 125.00 176.56L 125.00 151.56Q 100.00,148.44 75.00,151.56ZM 0.00 200.00L 25.00 114.06L 0.00 50.00Q 25.00,37.50 50.00,31.25L 50.00 6.25Q 100.00,-6.25 150.00,6.25L 150.00 31.25Q 175.00,37.50 200.00,50.00L 175.00 114.06L 200.00 200.00Q 162.50,181.25 125.00,176.56L 150.00 156.25Q 100.00,143.75 50.00,156.25L 75.00 176.56Q 37.50,181.25 0.00,200.00ZM 50.00 156.25L 50.00 31.25M 150.00 31.25L 150.00 156.25M 75.00 151.56L 75.00 176.56M 125.00 176.56L 125.00 151.56",range:[[0,1e5],[25e3,1e5],[0,25e3]],relative:["y","x","y"]},flowChartAlternateProcess:{type:"flowChartAlternateProcess",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"+- r 0 ssd6"},{name:"y2",fmla:"+- b 0 ssd6"},{name:"il",fmla:"*/ ssd6 29289 100000"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"ssd6"},{type:"arcTo",wR:"ssd6",hR:"ssd6",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x2",y:"t"},{type:"arcTo",wR:"ssd6",hR:"ssd6",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"ssd6",hR:"ssd6",stAng:0,swAng:"cd4"},{type:"lnTo",x:"ssd6",y:"b"},{type:"arcTo",wR:"ssd6",hR:"ssd6",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67Z",range:[],relative:[]},flowChartCollate:{type:"flowChartCollate",defaultValue:[],adjustmentNames:[],params:[{name:"ir",fmla:"*/ w 3 4"},{name:"ib",fmla:"*/ h 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:2,y:0},{type:"lnTo",x:1,y:1},{type:"lnTo",x:2,y:2},{type:"lnTo",x:0,y:2},{type:"lnTo",x:1,y:1},{type:"close"}],stroke:!0,fill:"norm",w:2,h:2}],path:"M 0.00 0.00L 200.00 0.00L 100.00 100.00L 200.00 200.00L 0.00 200.00L 100.00 100.00Z",range:[],relative:[]},flowChartConnector:{type:"flowChartConnector",defaultValue:[],adjustmentNames:[],params:[{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z",range:[],relative:[]},flowChartDecision:{type:"flowChartDecision",defaultValue:[],adjustmentNames:[],params:[{name:"ir",fmla:"*/ w 3 4"},{name:"ib",fmla:"*/ h 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:1},{type:"lnTo",x:1,y:0},{type:"lnTo",x:2,y:1},{type:"lnTo",x:1,y:2},{type:"close"}],stroke:!0,fill:"norm",w:2,h:2}],path:"M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00Z",range:[],relative:[]},flowChartDelay:{type:"flowChartDelay",defaultValue:[],adjustmentNames:[],params:[{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"hc",y:"t"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 100.00 0.00A 100.00 100.00 0 0 1 100.00 200.00L 0.00 200.00Z",range:[],relative:[]},flowChartDisplay:{type:"flowChartDisplay",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 5 6"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:3},{type:"lnTo",x:1,y:0},{type:"lnTo",x:5,y:0},{type:"arcTo",wR:1,hR:3,stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:1,y:6},{type:"close"}],stroke:!0,fill:"norm",w:6,h:6}],path:"M 0.00 100.00L 33.33 0.00L 166.67 0.00A 33.33 100.00 0 0 1 166.67 200.00L 33.33 200.00Z",range:[],relative:[]},flowChartDocument:{type:"flowChartDocument",defaultValue:[],adjustmentNames:[],params:[{name:"y1",fmla:"*/ h 17322 21600"},{name:"y2",fmla:"*/ h 20172 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:21600,y:0},{type:"lnTo",x:21600,y:17322},{type:"cubicBezTo",pts:[{x:10800,y:17322},{x:10800,y:23922},{x:0,y:20172}]},{type:"close"}],stroke:!0,fill:"norm",w:21600,h:21600}],path:"M 0.00 0.00L 200.00 0.00L 200.00 160.39C 100.00,160.39 100.00,221.50 0.00,186.78Z",range:[],relative:[]},flowChartExtract:{type:"flowChartExtract",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:2},{type:"lnTo",x:1,y:0},{type:"lnTo",x:2,y:2},{type:"close"}],stroke:!0,fill:"norm",w:2,h:2}],path:"M 0.00 200.00L 100.00 0.00L 200.00 200.00Z",range:[],relative:[]},flowChartInputOutput:{type:"flowChartInputOutput",defaultValue:[],adjustmentNames:[],params:[{name:"x3",fmla:"*/ w 2 5"},{name:"x4",fmla:"*/ w 3 5"},{name:"x5",fmla:"*/ w 4 5"},{name:"x6",fmla:"*/ w 9 10"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:5},{type:"lnTo",x:1,y:0},{type:"lnTo",x:5,y:0},{type:"lnTo",x:4,y:5},{type:"close"}],stroke:!0,fill:"norm",w:5,h:5}],path:"M 0.00 200.00L 40.00 0.00L 200.00 0.00L 160.00 200.00Z",range:[],relative:[]},flowChartInternalStorage:{type:"flowChartInternalStorage",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:1,y:0},{type:"lnTo",x:1,y:1},{type:"lnTo",x:0,y:1},{type:"close"}],stroke:!1,fill:"norm",w:1,h:1},{path:[{type:"moveTo",x:1,y:0},{type:"lnTo",x:1,y:8},{type:"moveTo",x:0,y:1},{type:"lnTo",x:8,y:1}],stroke:!0,fill:"none",w:8,h:8},{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:1,y:0},{type:"lnTo",x:1,y:1},{type:"lnTo",x:0,y:1},{type:"close"}],stroke:!0,fill:"none",w:1,h:1}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 0.00L 25.00 200.00M 0.00 25.00L 200.00 25.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},flowChartMagneticDisk:{type:"flowChartMagneticDisk",defaultValue:[],adjustmentNames:[],params:[{name:"y3",fmla:"*/ h 5 6"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:1},{type:"arcTo",wR:3,hR:1,stAng:"cd2",swAng:"cd2"},{type:"lnTo",x:6,y:5},{type:"arcTo",wR:3,hR:1,stAng:0,swAng:"cd2"},{type:"close"}],stroke:!1,fill:"norm",w:6,h:6},{path:[{type:"moveTo",x:6,y:1},{type:"arcTo",wR:3,hR:1,stAng:0,swAng:"cd2"}],stroke:!0,fill:"none",w:6,h:6},{path:[{type:"moveTo",x:0,y:1},{type:"arcTo",wR:3,hR:1,stAng:"cd2",swAng:"cd2"},{type:"lnTo",x:6,y:5},{type:"arcTo",wR:3,hR:1,stAng:0,swAng:"cd2"},{type:"close"}],stroke:!0,fill:"none",w:6,h:6}],path:"M 0.00 33.33A 100.00 33.33 0 0 1 200.00 33.33L 200.00 166.67A 100.00 33.33 0 0 1 0.00 166.67ZM 200.00 33.33A 100.00 33.33 0 0 1 0.00 33.33M 0.00 33.33A 100.00 33.33 0 0 1 200.00 33.33L 200.00 166.67A 100.00 33.33 0 0 1 0.00 166.67Z",range:[],relative:[]},flowChartMagneticDrum:{type:"flowChartMagneticDrum",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 2 3"}],ranges:[],paths:[{path:[{type:"moveTo",x:1,y:0},{type:"lnTo",x:5,y:0},{type:"arcTo",wR:1,hR:3,stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:1,y:6},{type:"arcTo",wR:1,hR:3,stAng:"cd4",swAng:"cd2"},{type:"close"}],stroke:!1,fill:"norm",w:6,h:6},{path:[{type:"moveTo",x:5,y:6},{type:"arcTo",wR:1,hR:3,stAng:"cd4",swAng:"cd2"}],stroke:!0,fill:"none",w:6,h:6},{path:[{type:"moveTo",x:1,y:0},{type:"lnTo",x:5,y:0},{type:"arcTo",wR:1,hR:3,stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:1,y:6},{type:"arcTo",wR:1,hR:3,stAng:"cd4",swAng:"cd2"},{type:"close"}],stroke:!0,fill:"none",w:6,h:6}],path:"M 33.33 0.00L 166.67 0.00A 33.33 100.00 0 0 1 166.67 200.00L 33.33 200.00A 33.33 100.00 0 0 1 33.33 0.00ZM 166.67 200.00A 33.33 100.00 0 0 1 166.67 0.00M 33.33 0.00L 166.67 0.00A 33.33 100.00 0 0 1 166.67 200.00L 33.33 200.00A 33.33 100.00 0 0 1 33.33 0.00Z",range:[],relative:[]},flowChartMagneticTape:{type:"flowChartMagneticTape",defaultValue:[],adjustmentNames:[],params:[{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"},{name:"ang1",fmla:"at2 w h"}],ranges:[],paths:[{path:[{type:"moveTo",x:"hc",y:"b"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"ang1"},{type:"lnTo",x:"r",y:"ib"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00A 100.00 100.00 0 0 1 100.00 0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 170.71 170.71L 200.00 170.71L 200.00 200.00Z",range:[],relative:[]},flowChartManualInput:{type:"flowChartManualInput",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:1},{type:"lnTo",x:5,y:0},{type:"lnTo",x:5,y:5},{type:"lnTo",x:0,y:5},{type:"close"}],stroke:!0,fill:"norm",w:5,h:5}],path:"M 0.00 40.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},flowChartManualOperation:{type:"flowChartManualOperation",defaultValue:[],adjustmentNames:[],params:[{name:"x3",fmla:"*/ w 4 5"},{name:"x4",fmla:"*/ w 9 10"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:5,y:0},{type:"lnTo",x:4,y:5},{type:"lnTo",x:1,y:5},{type:"close"}],stroke:!0,fill:"norm",w:5,h:5}],path:"M 0.00 0.00L 200.00 0.00L 160.00 200.00L 40.00 200.00Z",range:[],relative:[]},flowChartMerge:{type:"flowChartMerge",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:2,y:0},{type:"lnTo",x:1,y:2},{type:"close"}],stroke:!0,fill:"norm",w:2,h:2}],path:"M 0.00 0.00L 200.00 0.00L 100.00 200.00Z",range:[],relative:[]},flowChartMultidocument:{type:"flowChartMultidocument",defaultValue:[],adjustmentNames:[],params:[{name:"y2",fmla:"*/ h 3675 21600"},{name:"y8",fmla:"*/ h 20782 21600"},{name:"x3",fmla:"*/ w 9298 21600"},{name:"x4",fmla:"*/ w 12286 21600"},{name:"x5",fmla:"*/ w 18595 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:20782},{type:"cubicBezTo",pts:[{x:9298,y:23542},{x:9298,y:18022},{x:18595,y:18022}]},{type:"lnTo",x:18595,y:3675},{type:"lnTo",x:0,y:3675},{type:"close"},{type:"moveTo",x:1532,y:3675},{type:"lnTo",x:1532,y:1815},{type:"lnTo",x:2e4,y:1815},{type:"lnTo",x:2e4,y:16252},{type:"cubicBezTo",pts:[{x:19298,y:16252},{x:18595,y:16352},{x:18595,y:16352}]},{type:"lnTo",x:18595,y:3675},{type:"close"},{type:"moveTo",x:2972,y:1815},{type:"lnTo",x:2972,y:0},{type:"lnTo",x:21600,y:0},{type:"lnTo",x:21600,y:14392},{type:"cubicBezTo",pts:[{x:20800,y:14392},{x:2e4,y:14467},{x:2e4,y:14467}]},{type:"lnTo",x:2e4,y:1815},{type:"close"}],stroke:!1,fill:"norm",w:21600,h:21600},{path:[{type:"moveTo",x:0,y:3675},{type:"lnTo",x:18595,y:3675},{type:"lnTo",x:18595,y:18022},{type:"cubicBezTo",pts:[{x:9298,y:18022},{x:9298,y:23542},{x:0,y:20782}]},{type:"close"},{type:"moveTo",x:1532,y:3675},{type:"lnTo",x:1532,y:1815},{type:"lnTo",x:2e4,y:1815},{type:"lnTo",x:2e4,y:16252},{type:"cubicBezTo",pts:[{x:19298,y:16252},{x:18595,y:16352},{x:18595,y:16352}]},{type:"moveTo",x:2972,y:1815},{type:"lnTo",x:2972,y:0},{type:"lnTo",x:21600,y:0},{type:"lnTo",x:21600,y:14392},{type:"cubicBezTo",pts:[{x:20800,y:14392},{x:2e4,y:14467},{x:2e4,y:14467}]}],stroke:!0,fill:"none",w:21600,h:21600},{path:[{type:"moveTo",x:0,y:20782},{type:"cubicBezTo",pts:[{x:9298,y:23542},{x:9298,y:18022},{x:18595,y:18022}]},{type:"lnTo",x:18595,y:16352},{type:"cubicBezTo",pts:[{x:18595,y:16352},{x:19298,y:16252},{x:2e4,y:16252}]},{type:"lnTo",x:2e4,y:14467},{type:"cubicBezTo",pts:[{x:2e4,y:14467},{x:20800,y:14392},{x:21600,y:14392}]},{type:"lnTo",x:21600,y:0},{type:"lnTo",x:2972,y:0},{type:"lnTo",x:2972,y:1815},{type:"lnTo",x:1532,y:1815},{type:"lnTo",x:1532,y:3675},{type:"lnTo",x:0,y:3675},{type:"close"}],stroke:!1,fill:"none",w:21600,h:21600}],path:"M 0.00 192.43C 86.09,217.98 86.09,166.87 172.18,166.87L 172.18 34.03L 0.00 34.03ZM 14.19 34.03L 14.19 16.81L 185.19 16.81L 185.19 150.48C 178.69,150.48 172.18,151.41 172.18,151.41L 172.18 34.03ZM 27.52 16.81L 27.52 0.00L 200.00 0.00L 200.00 133.26C 192.59,133.26 185.19,133.95 185.19,133.95L 185.19 16.81ZM 0.00 34.03L 172.18 34.03L 172.18 166.87C 86.09,166.87 86.09,217.98 0.00,192.43ZM 14.19 34.03L 14.19 16.81L 185.19 16.81L 185.19 150.48C 178.69,150.48 172.18,151.41 172.18,151.41M 27.52 16.81L 27.52 0.00L 200.00 0.00L 200.00 133.26C 192.59,133.26 185.19,133.95 185.19,133.95M 0.00 192.43C 86.09,217.98 86.09,166.87 172.18,166.87L 172.18 151.41C 172.18,151.41 178.69,150.48 185.19,150.48L 185.19 133.95C 185.19,133.95 192.59,133.26 200.00,133.26L 200.00 0.00L 27.52 0.00L 27.52 16.81L 14.19 16.81L 14.19 34.03L 0.00 34.03Z",range:[],relative:[]},flowChartOfflineStorage:{type:"flowChartOfflineStorage",defaultValue:[],adjustmentNames:[],params:[{name:"x4",fmla:"*/ w 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:2,y:0},{type:"lnTo",x:1,y:2},{type:"close"}],stroke:!1,fill:"norm",w:2,h:2},{path:[{type:"moveTo",x:2,y:4},{type:"lnTo",x:3,y:4}],stroke:!0,fill:"none",w:5,h:5},{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:2,y:0},{type:"lnTo",x:1,y:2},{type:"close"}],stroke:!0,fill:"none",w:2,h:2}],path:"M 0.00 0.00L 200.00 0.00L 100.00 200.00ZM 80.00 160.00L 120.00 160.00M 0.00 0.00L 200.00 0.00L 100.00 200.00Z",range:[],relative:[]},flowChartOffpageConnector:{type:"flowChartOffpageConnector",defaultValue:[],adjustmentNames:[],params:[{name:"y1",fmla:"*/ h 4 5"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:10,y:0},{type:"lnTo",x:10,y:8},{type:"lnTo",x:5,y:10},{type:"lnTo",x:0,y:8},{type:"close"}],stroke:!0,fill:"norm",w:10,h:10}],path:"M 0.00 0.00L 200.00 0.00L 200.00 160.00L 100.00 200.00L 0.00 160.00Z",range:[],relative:[]},flowChartOnlineStorage:{type:"flowChartOnlineStorage",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 5 6"}],ranges:[],paths:[{path:[{type:"moveTo",x:1,y:0},{type:"lnTo",x:6,y:0},{type:"arcTo",wR:1,hR:3,stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:1,y:6},{type:"arcTo",wR:1,hR:3,stAng:"cd4",swAng:"cd2"},{type:"close"}],stroke:!0,fill:"norm",w:6,h:6}],path:"M 33.33 0.00L 200.00 0.00A 33.33 100.00 0 0 0 200.00 200.00L 33.33 200.00A 33.33 100.00 0 0 1 33.33 0.00Z",range:[],relative:[]},flowChartOr:{type:"flowChartOr",defaultValue:[],adjustmentNames:[],params:[{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"hc",y:"t"},{type:"lnTo",x:"hc",y:"b"},{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"r",y:"vc"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 100.00 0.00L 100.00 200.00M 0.00 100.00L 200.00 100.00M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z",range:[],relative:[]},flowChartPredefinedProcess:{type:"flowChartPredefinedProcess",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 7 8"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:1,y:0},{type:"lnTo",x:1,y:1},{type:"lnTo",x:0,y:1},{type:"close"}],stroke:!1,fill:"norm",w:1,h:1},{path:[{type:"moveTo",x:1,y:0},{type:"lnTo",x:1,y:8},{type:"moveTo",x:7,y:0},{type:"lnTo",x:7,y:8}],stroke:!0,fill:"none",w:8,h:8},{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:1,y:0},{type:"lnTo",x:1,y:1},{type:"lnTo",x:0,y:1},{type:"close"}],stroke:!0,fill:"none",w:1,h:1}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 0.00L 25.00 200.00M 175.00 0.00L 175.00 200.00M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},flowChartPreparation:{type:"flowChartPreparation",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 4 5"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:5},{type:"lnTo",x:2,y:0},{type:"lnTo",x:8,y:0},{type:"lnTo",x:10,y:5},{type:"lnTo",x:8,y:10},{type:"lnTo",x:2,y:10},{type:"close"}],stroke:!0,fill:"norm",w:10,h:10}],path:"M 0.00 100.00L 40.00 0.00L 160.00 0.00L 200.00 100.00L 160.00 200.00L 40.00 200.00Z",range:[],relative:[]},flowChartProcess:{type:"flowChartProcess",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:0},{type:"lnTo",x:1,y:0},{type:"lnTo",x:1,y:1},{type:"lnTo",x:0,y:1},{type:"close"}],stroke:!0,fill:"norm",w:1,h:1}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},flowChartPunchedCard:{type:"flowChartPunchedCard",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:1},{type:"lnTo",x:1,y:0},{type:"lnTo",x:5,y:0},{type:"lnTo",x:5,y:5},{type:"lnTo",x:0,y:5},{type:"close"}],stroke:!0,fill:"norm",w:5,h:5}],path:"M 0.00 40.00L 40.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},flowChartPunchedTape:{type:"flowChartPunchedTape",defaultValue:[],adjustmentNames:[],params:[{name:"y2",fmla:"*/ h 9 10"},{name:"ib",fmla:"*/ h 4 5"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:2},{type:"arcTo",wR:5,hR:2,stAng:"cd2",swAng:-108e5},{type:"arcTo",wR:5,hR:2,stAng:"cd2",swAng:"cd2"},{type:"lnTo",x:20,y:18},{type:"arcTo",wR:5,hR:2,stAng:0,swAng:-108e5},{type:"arcTo",wR:5,hR:2,stAng:0,swAng:"cd2"},{type:"close"}],stroke:!0,fill:"norm",w:20,h:20}],path:"M 0.00 20.00A 50.00 20.00 0 0 0 100.00 20.00A 50.00 20.00 0 0 1 200.00 20.00L 200.00 180.00A 50.00 20.00 0 0 0 100.00 180.00A 50.00 20.00 0 0 1 0.00 180.00Z",range:[],relative:[]},flowChartSort:{type:"flowChartSort",defaultValue:[],adjustmentNames:[],params:[{name:"ir",fmla:"*/ w 3 4"},{name:"ib",fmla:"*/ h 3 4"}],ranges:[],paths:[{path:[{type:"moveTo",x:0,y:1},{type:"lnTo",x:1,y:0},{type:"lnTo",x:2,y:1},{type:"lnTo",x:1,y:2},{type:"close"}],stroke:!1,fill:"norm",w:2,h:2},{path:[{type:"moveTo",x:0,y:1},{type:"lnTo",x:2,y:1}],stroke:!0,fill:"none",w:2,h:2},{path:[{type:"moveTo",x:0,y:1},{type:"lnTo",x:1,y:0},{type:"lnTo",x:2,y:1},{type:"lnTo",x:1,y:2},{type:"close"}],stroke:!0,fill:"none",w:2,h:2}],path:"M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00ZM 0.00 100.00L 200.00 100.00M 0.00 100.00L 100.00 0.00L 200.00 100.00L 100.00 200.00Z",range:[],relative:[]},flowChartSummingJunction:{type:"flowChartSummingJunction",defaultValue:[],adjustmentNames:[],params:[{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"il",y:"it"},{type:"lnTo",x:"ir",y:"ib"},{type:"moveTo",x:"ir",y:"it"},{type:"lnTo",x:"il",y:"ib"}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 29.29 29.29L 170.71 170.71M 170.71 29.29L 29.29 170.71M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z",range:[],relative:[]},flowChartTerminator:{type:"flowChartTerminator",defaultValue:[],adjustmentNames:[],params:[{name:"il",fmla:"*/ w 1018 21600"},{name:"ir",fmla:"*/ w 20582 21600"},{name:"it",fmla:"*/ h 3163 21600"},{name:"ib",fmla:"*/ h 18437 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:3475,y:0},{type:"lnTo",x:18125,y:0},{type:"arcTo",wR:3475,hR:10800,stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:3475,y:21600},{type:"arcTo",wR:3475,hR:10800,stAng:"cd4",swAng:"cd2"},{type:"close"}],stroke:!0,fill:"norm",w:21600,h:21600}],path:"M 32.18 0.00L 167.82 0.00A 32.18 100.00 0 0 1 167.82 200.00L 32.18 200.00A 32.18 100.00 0 0 1 32.18 0.00Z",range:[],relative:[]},foldedCorner:{type:"foldedCorner",defaultValue:[16667],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dy2",fmla:"*/ ss a 100000"},{name:"dy1",fmla:"*/ dy2 1 5"},{name:"x1",fmla:"+- r 0 dy2"},{name:"x2",fmla:"+- x1 dy1 0"},{name:"y2",fmla:"+- b 0 dy2"},{name:"y1",fmla:"+- y2 dy1 0"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"b"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"r",y:"y2"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"x1",y:"b"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"lnTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"y2"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 166.67L 166.67 200.00L 0.00 200.00ZM 166.67 200.00L 173.33 173.33L 200.00 166.67ZM 166.67 200.00L 173.33 173.33L 200.00 166.67L 166.67 200.00L 0.00 200.00L 0.00 0.00L 200.00 0.00L 200.00 166.67",range:[[0,5e4]],relative:["x"]},frame:{type:"frame",defaultValue:[12500],adjustmentNames:["adj1"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"x1",fmla:"*/ ss a1 100000"},{name:"x4",fmla:"+- r 0 x1"},{name:"y4",fmla:"+- b 0 x1"}],ranges:[{x:{name:"adj1",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"},{type:"moveTo",x:"x1",y:"x1"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"x4",y:"x1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00ZM 25.00 25.00L 25.00 175.00L 175.00 175.00L 175.00 25.00Z",range:[[0,5e4]],relative:["x"]},funnel:{type:"funnel",defaultValue:[],adjustmentNames:[],params:[{name:"d",fmla:"*/ ss 1 20"},{name:"rw2",fmla:"+- wd2 0 d"},{name:"rh2",fmla:"+- hd4 0 d"},{name:"t1",fmla:"cos wd2 480000"},{name:"t2",fmla:"sin hd4 480000"},{name:"da",fmla:"at2 t1 t2"},{name:"2da",fmla:"*/ da 2 1"},{name:"stAng1",fmla:"+- cd2 0 da"},{name:"swAng1",fmla:"+- cd2 2da 0"},{name:"swAng3",fmla:"+- cd2 0 2da"},{name:"rw3",fmla:"*/ wd2 1 4"},{name:"rh3",fmla:"*/ hd4 1 4"},{name:"ct1",fmla:"cos hd4 stAng1"},{name:"st1",fmla:"sin wd2 stAng1"},{name:"m1",fmla:"mod ct1 st1 0"},{name:"n1",fmla:"*/ wd2 hd4 m1"},{name:"dx1",fmla:"cos n1 stAng1"},{name:"dy1",fmla:"sin n1 stAng1"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- hd4 dy1 0"},{name:"ct3",fmla:"cos rh3 da"},{name:"st3",fmla:"sin rw3 da"},{name:"m3",fmla:"mod ct3 st3 0"},{name:"n3",fmla:"*/ rw3 rh3 m3"},{name:"dx3",fmla:"cos n3 da"},{name:"dy3",fmla:"sin n3 da"},{name:"x3",fmla:"+- hc dx3 0"},{name:"vc3",fmla:"+- b 0 rh3"},{name:"y2",fmla:"+- vc3 dy3 0"},{name:"x2",fmla:"+- wd2 0 rw2"},{name:"cd",fmla:"*/ cd2 2 1"}],ranges:[],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd4",stAng:"stAng1",swAng:"swAng1"},{type:"lnTo",x:"x3",y:"y2"},{type:"arcTo",wR:"rw3",hR:"rh3",stAng:"da",swAng:"swAng3"},{type:"close"},{type:"moveTo",x:"x2",y:"hd4"},{type:"arcTo",wR:"rw2",hR:"rh2",stAng:"cd2",swAng:-216e5},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.97 56.96A 100.00 50.00 0 1 1 199.03 56.96L 124.76 189.24A 25.00 12.50 0 0 1 75.24 189.24ZM 10.00 50.00A 90.00 40.00 0 1 0 10.00 49.61Z",range:[],relative:[]},gear6:{type:"gear6",defaultValue:[15e3,3526],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 20000"},{name:"a2",fmla:"pin 0 adj2 5358"},{name:"th",fmla:"*/ ss a1 100000"},{name:"lFD",fmla:"*/ ss a2 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"l2",fmla:"*/ lFD 1 2"},{name:"l3",fmla:"+- th2 l2 0"},{name:"rh",fmla:"+- hd2 0 th"},{name:"rw",fmla:"+- wd2 0 th"},{name:"dr",fmla:"+- rw 0 rh"},{name:"maxr",fmla:"?: dr rh rw"},{name:"ha",fmla:"at2 maxr l3"},{name:"aA1",fmla:"+- 19800000 0 ha"},{name:"aD1",fmla:"+- 19800000 ha 0"},{name:"ta11",fmla:"cos rw aA1"},{name:"ta12",fmla:"sin rh aA1"},{name:"bA1",fmla:"at2 ta11 ta12"},{name:"cta1",fmla:"cos rh bA1"},{name:"sta1",fmla:"sin rw bA1"},{name:"ma1",fmla:"mod cta1 sta1 0"},{name:"na1",fmla:"*/ rw rh ma1"},{name:"dxa1",fmla:"cos na1 bA1"},{name:"dya1",fmla:"sin na1 bA1"},{name:"xA1",fmla:"+- hc dxa1 0"},{name:"yA1",fmla:"+- vc dya1 0"},{name:"td11",fmla:"cos rw aD1"},{name:"td12",fmla:"sin rh aD1"},{name:"bD1",fmla:"at2 td11 td12"},{name:"ctd1",fmla:"cos rh bD1"},{name:"std1",fmla:"sin rw bD1"},{name:"md1",fmla:"mod ctd1 std1 0"},{name:"nd1",fmla:"*/ rw rh md1"},{name:"dxd1",fmla:"cos nd1 bD1"},{name:"dyd1",fmla:"sin nd1 bD1"},{name:"xD1",fmla:"+- hc dxd1 0"},{name:"yD1",fmla:"+- vc dyd1 0"},{name:"xAD1",fmla:"+- xA1 0 xD1"},{name:"yAD1",fmla:"+- yA1 0 yD1"},{name:"lAD1",fmla:"mod xAD1 yAD1 0"},{name:"a1",fmla:"at2 yAD1 xAD1"},{name:"dxF1",fmla:"sin lFD a1"},{name:"dyF1",fmla:"cos lFD a1"},{name:"xF1",fmla:"+- xD1 dxF1 0"},{name:"yF1",fmla:"+- yD1 dyF1 0"},{name:"xE1",fmla:"+- xA1 0 dxF1"},{name:"yE1",fmla:"+- yA1 0 dyF1"},{name:"yC1t",fmla:"sin th a1"},{name:"xC1t",fmla:"cos th a1"},{name:"yC1",fmla:"+- yF1 yC1t 0"},{name:"xC1",fmla:"+- xF1 0 xC1t"},{name:"yB1",fmla:"+- yE1 yC1t 0"},{name:"xB1",fmla:"+- xE1 0 xC1t"},{name:"aD6",fmla:"+- 3cd4 ha 0"},{name:"td61",fmla:"cos rw aD6"},{name:"td62",fmla:"sin rh aD6"},{name:"bD6",fmla:"at2 td61 td62"},{name:"ctd6",fmla:"cos rh bD6"},{name:"std6",fmla:"sin rw bD6"},{name:"md6",fmla:"mod ctd6 std6 0"},{name:"nd6",fmla:"*/ rw rh md6"},{name:"dxd6",fmla:"cos nd6 bD6"},{name:"dyd6",fmla:"sin nd6 bD6"},{name:"xD6",fmla:"+- hc dxd6 0"},{name:"yD6",fmla:"+- vc dyd6 0"},{name:"xA6",fmla:"+- hc 0 dxd6"},{name:"xF6",fmla:"+- xD6 0 lFD"},{name:"xE6",fmla:"+- xA6 lFD 0"},{name:"yC6",fmla:"+- yD6 0 th"},{name:"swAng1",fmla:"+- bA1 0 bD6"},{name:"aA2",fmla:"+- 1800000 0 ha"},{name:"aD2",fmla:"+- 1800000 ha 0"},{name:"ta21",fmla:"cos rw aA2"},{name:"ta22",fmla:"sin rh aA2"},{name:"bA2",fmla:"at2 ta21 ta22"},{name:"yA2",fmla:"+- h 0 yD1"},{name:"td21",fmla:"cos rw aD2"},{name:"td22",fmla:"sin rh aD2"},{name:"bD2",fmla:"at2 td21 td22"},{name:"yD2",fmla:"+- h 0 yA1"},{name:"yC2",fmla:"+- h 0 yB1"},{name:"yB2",fmla:"+- h 0 yC1"},{name:"xB2",fmla:"val xC1"},{name:"swAng2",fmla:"+- bA2 0 bD1"},{name:"aD3",fmla:"+- cd4 ha 0"},{name:"td31",fmla:"cos rw aD3"},{name:"td32",fmla:"sin rh aD3"},{name:"bD3",fmla:"at2 td31 td32"},{name:"yD3",fmla:"+- h 0 yD6"},{name:"yB3",fmla:"+- h 0 yC6"},{name:"aD4",fmla:"+- 9000000 ha 0"},{name:"td41",fmla:"cos rw aD4"},{name:"td42",fmla:"sin rh aD4"},{name:"bD4",fmla:"at2 td41 td42"},{name:"xD4",fmla:"+- w 0 xD1"},{name:"xC4",fmla:"+- w 0 xC1"},{name:"xB4",fmla:"+- w 0 xB1"},{name:"aD5",fmla:"+- 12600000 ha 0"},{name:"td51",fmla:"cos rw aD5"},{name:"td52",fmla:"sin rh aD5"},{name:"bD5",fmla:"at2 td51 td52"},{name:"xD5",fmla:"+- w 0 xA1"},{name:"xC5",fmla:"+- w 0 xB1"},{name:"xB5",fmla:"+- w 0 xC1"},{name:"xCxn1",fmla:"+/ xB1 xC1 2"},{name:"yCxn1",fmla:"+/ yB1 yC1 2"},{name:"yCxn2",fmla:"+- b 0 yCxn1"},{name:"xCxn4",fmla:"+/ r 0 xCxn1"}],ranges:[{y:{name:"adj1",min:0,max:2e4},pos:{x:"xD6",y:"yD6"}},{x:{name:"adj2",min:0,max:5358},pos:{x:"xA6",y:"yD6"}}],paths:[{path:[{type:"moveTo",x:"xA1",y:"yA1"},{type:"lnTo",x:"xB1",y:"yB1"},{type:"lnTo",x:"xC1",y:"yC1"},{type:"lnTo",x:"xD1",y:"yD1"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD1",swAng:"swAng2"},{type:"lnTo",x:"xC1",y:"yB2"},{type:"lnTo",x:"xB1",y:"yC2"},{type:"lnTo",x:"xA1",y:"yD2"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD2",swAng:"swAng1"},{type:"lnTo",x:"xF6",y:"yB3"},{type:"lnTo",x:"xE6",y:"yB3"},{type:"lnTo",x:"xA6",y:"yD3"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD3",swAng:"swAng1"},{type:"lnTo",x:"xB4",y:"yC2"},{type:"lnTo",x:"xC4",y:"yB2"},{type:"lnTo",x:"xD4",y:"yA2"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD4",swAng:"swAng2"},{type:"lnTo",x:"xB5",y:"yC1"},{type:"lnTo",x:"xC5",y:"yB1"},{type:"lnTo",x:"xD5",y:"yA1"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD5",swAng:"swAng1"},{type:"lnTo",x:"xE6",y:"yC6"},{type:"lnTo",x:"xF6",y:"yC6"},{type:"lnTo",x:"xD6",y:"yD6"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD6",swAng:"swAng1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 149.65 50.65L 179.16 41.76L 190.01 60.57L 167.56 81.67A 70.00 70.00 0 0 1 167.56 118.33L 190.01 139.43L 179.16 158.24L 149.65 149.35A 70.00 70.00 0 0 1 117.91 167.67L 110.86 197.67L 89.14 197.67L 82.09 167.67A 70.00 70.00 0 0 1 50.35 149.35L 20.84 158.24L 9.99 139.43L 32.44 118.33A 70.00 70.00 0 0 1 32.44 81.67L 9.99 60.57L 20.84 41.76L 50.35 50.65A 70.00 70.00 0 0 1 82.09 32.33L 89.14 2.33L 110.86 2.33L 117.91 32.33A 70.00 70.00 0 0 1 149.65 50.65Z",range:[[0,2e4],[0,5358]],relative:["y","x"]},gear9:{type:"gear9",defaultValue:[1e4,1763],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 20000"},{name:"a2",fmla:"pin 0 adj2 2679"},{name:"th",fmla:"*/ ss a1 100000"},{name:"lFD",fmla:"*/ ss a2 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"l2",fmla:"*/ lFD 1 2"},{name:"l3",fmla:"+- th2 l2 0"},{name:"rh",fmla:"+- hd2 0 th"},{name:"rw",fmla:"+- wd2 0 th"},{name:"dr",fmla:"+- rw 0 rh"},{name:"maxr",fmla:"?: dr rh rw"},{name:"ha",fmla:"at2 maxr l3"},{name:"aA1",fmla:"+- 18600000 0 ha"},{name:"aD1",fmla:"+- 18600000 ha 0"},{name:"ta11",fmla:"cos rw aA1"},{name:"ta12",fmla:"sin rh aA1"},{name:"bA1",fmla:"at2 ta11 ta12"},{name:"cta1",fmla:"cos rh bA1"},{name:"sta1",fmla:"sin rw bA1"},{name:"ma1",fmla:"mod cta1 sta1 0"},{name:"na1",fmla:"*/ rw rh ma1"},{name:"dxa1",fmla:"cos na1 bA1"},{name:"dya1",fmla:"sin na1 bA1"},{name:"xA1",fmla:"+- hc dxa1 0"},{name:"yA1",fmla:"+- vc dya1 0"},{name:"td11",fmla:"cos rw aD1"},{name:"td12",fmla:"sin rh aD1"},{name:"bD1",fmla:"at2 td11 td12"},{name:"ctd1",fmla:"cos rh bD1"},{name:"std1",fmla:"sin rw bD1"},{name:"md1",fmla:"mod ctd1 std1 0"},{name:"nd1",fmla:"*/ rw rh md1"},{name:"dxd1",fmla:"cos nd1 bD1"},{name:"dyd1",fmla:"sin nd1 bD1"},{name:"xD1",fmla:"+- hc dxd1 0"},{name:"yD1",fmla:"+- vc dyd1 0"},{name:"xAD1",fmla:"+- xA1 0 xD1"},{name:"yAD1",fmla:"+- yA1 0 yD1"},{name:"lAD1",fmla:"mod xAD1 yAD1 0"},{name:"a1",fmla:"at2 yAD1 xAD1"},{name:"dxF1",fmla:"sin lFD a1"},{name:"dyF1",fmla:"cos lFD a1"},{name:"xF1",fmla:"+- xD1 dxF1 0"},{name:"yF1",fmla:"+- yD1 dyF1 0"},{name:"xE1",fmla:"+- xA1 0 dxF1"},{name:"yE1",fmla:"+- yA1 0 dyF1"},{name:"yC1t",fmla:"sin th a1"},{name:"xC1t",fmla:"cos th a1"},{name:"yC1",fmla:"+- yF1 yC1t 0"},{name:"xC1",fmla:"+- xF1 0 xC1t"},{name:"yB1",fmla:"+- yE1 yC1t 0"},{name:"xB1",fmla:"+- xE1 0 xC1t"},{name:"aA2",fmla:"+- 21000000 0 ha"},{name:"aD2",fmla:"+- 21000000 ha 0"},{name:"ta21",fmla:"cos rw aA2"},{name:"ta22",fmla:"sin rh aA2"},{name:"bA2",fmla:"at2 ta21 ta22"},{name:"cta2",fmla:"cos rh bA2"},{name:"sta2",fmla:"sin rw bA2"},{name:"ma2",fmla:"mod cta2 sta2 0"},{name:"na2",fmla:"*/ rw rh ma2"},{name:"dxa2",fmla:"cos na2 bA2"},{name:"dya2",fmla:"sin na2 bA2"},{name:"xA2",fmla:"+- hc dxa2 0"},{name:"yA2",fmla:"+- vc dya2 0"},{name:"td21",fmla:"cos rw aD2"},{name:"td22",fmla:"sin rh aD2"},{name:"bD2",fmla:"at2 td21 td22"},{name:"ctd2",fmla:"cos rh bD2"},{name:"std2",fmla:"sin rw bD2"},{name:"md2",fmla:"mod ctd2 std2 0"},{name:"nd2",fmla:"*/ rw rh md2"},{name:"dxd2",fmla:"cos nd2 bD2"},{name:"dyd2",fmla:"sin nd2 bD2"},{name:"xD2",fmla:"+- hc dxd2 0"},{name:"yD2",fmla:"+- vc dyd2 0"},{name:"xAD2",fmla:"+- xA2 0 xD2"},{name:"yAD2",fmla:"+- yA2 0 yD2"},{name:"lAD2",fmla:"mod xAD2 yAD2 0"},{name:"a2",fmla:"at2 yAD2 xAD2"},{name:"dxF2",fmla:"sin lFD a2"},{name:"dyF2",fmla:"cos lFD a2"},{name:"xF2",fmla:"+- xD2 dxF2 0"},{name:"yF2",fmla:"+- yD2 dyF2 0"},{name:"xE2",fmla:"+- xA2 0 dxF2"},{name:"yE2",fmla:"+- yA2 0 dyF2"},{name:"yC2t",fmla:"sin th a2"},{name:"xC2t",fmla:"cos th a2"},{name:"yC2",fmla:"+- yF2 yC2t 0"},{name:"xC2",fmla:"+- xF2 0 xC2t"},{name:"yB2",fmla:"+- yE2 yC2t 0"},{name:"xB2",fmla:"+- xE2 0 xC2t"},{name:"swAng1",fmla:"+- bA2 0 bD1"},{name:"aA3",fmla:"+- 1800000 0 ha"},{name:"aD3",fmla:"+- 1800000 ha 0"},{name:"ta31",fmla:"cos rw aA3"},{name:"ta32",fmla:"sin rh aA3"},{name:"bA3",fmla:"at2 ta31 ta32"},{name:"cta3",fmla:"cos rh bA3"},{name:"sta3",fmla:"sin rw bA3"},{name:"ma3",fmla:"mod cta3 sta3 0"},{name:"na3",fmla:"*/ rw rh ma3"},{name:"dxa3",fmla:"cos na3 bA3"},{name:"dya3",fmla:"sin na3 bA3"},{name:"xA3",fmla:"+- hc dxa3 0"},{name:"yA3",fmla:"+- vc dya3 0"},{name:"td31",fmla:"cos rw aD3"},{name:"td32",fmla:"sin rh aD3"},{name:"bD3",fmla:"at2 td31 td32"},{name:"ctd3",fmla:"cos rh bD3"},{name:"std3",fmla:"sin rw bD3"},{name:"md3",fmla:"mod ctd3 std3 0"},{name:"nd3",fmla:"*/ rw rh md3"},{name:"dxd3",fmla:"cos nd3 bD3"},{name:"dyd3",fmla:"sin nd3 bD3"},{name:"xD3",fmla:"+- hc dxd3 0"},{name:"yD3",fmla:"+- vc dyd3 0"},{name:"xAD3",fmla:"+- xA3 0 xD3"},{name:"yAD3",fmla:"+- yA3 0 yD3"},{name:"lAD3",fmla:"mod xAD3 yAD3 0"},{name:"a3",fmla:"at2 yAD3 xAD3"},{name:"dxF3",fmla:"sin lFD a3"},{name:"dyF3",fmla:"cos lFD a3"},{name:"xF3",fmla:"+- xD3 dxF3 0"},{name:"yF3",fmla:"+- yD3 dyF3 0"},{name:"xE3",fmla:"+- xA3 0 dxF3"},{name:"yE3",fmla:"+- yA3 0 dyF3"},{name:"yC3t",fmla:"sin th a3"},{name:"xC3t",fmla:"cos th a3"},{name:"yC3",fmla:"+- yF3 yC3t 0"},{name:"xC3",fmla:"+- xF3 0 xC3t"},{name:"yB3",fmla:"+- yE3 yC3t 0"},{name:"xB3",fmla:"+- xE3 0 xC3t"},{name:"swAng2",fmla:"+- bA3 0 bD2"},{name:"aA4",fmla:"+- 4200000 0 ha"},{name:"aD4",fmla:"+- 4200000 ha 0"},{name:"ta41",fmla:"cos rw aA4"},{name:"ta42",fmla:"sin rh aA4"},{name:"bA4",fmla:"at2 ta41 ta42"},{name:"cta4",fmla:"cos rh bA4"},{name:"sta4",fmla:"sin rw bA4"},{name:"ma4",fmla:"mod cta4 sta4 0"},{name:"na4",fmla:"*/ rw rh ma4"},{name:"dxa4",fmla:"cos na4 bA4"},{name:"dya4",fmla:"sin na4 bA4"},{name:"xA4",fmla:"+- hc dxa4 0"},{name:"yA4",fmla:"+- vc dya4 0"},{name:"td41",fmla:"cos rw aD4"},{name:"td42",fmla:"sin rh aD4"},{name:"bD4",fmla:"at2 td41 td42"},{name:"ctd4",fmla:"cos rh bD4"},{name:"std4",fmla:"sin rw bD4"},{name:"md4",fmla:"mod ctd4 std4 0"},{name:"nd4",fmla:"*/ rw rh md4"},{name:"dxd4",fmla:"cos nd4 bD4"},{name:"dyd4",fmla:"sin nd4 bD4"},{name:"xD4",fmla:"+- hc dxd4 0"},{name:"yD4",fmla:"+- vc dyd4 0"},{name:"xAD4",fmla:"+- xA4 0 xD4"},{name:"yAD4",fmla:"+- yA4 0 yD4"},{name:"lAD4",fmla:"mod xAD4 yAD4 0"},{name:"a4",fmla:"at2 yAD4 xAD4"},{name:"dxF4",fmla:"sin lFD a4"},{name:"dyF4",fmla:"cos lFD a4"},{name:"xF4",fmla:"+- xD4 dxF4 0"},{name:"yF4",fmla:"+- yD4 dyF4 0"},{name:"xE4",fmla:"+- xA4 0 dxF4"},{name:"yE4",fmla:"+- yA4 0 dyF4"},{name:"yC4t",fmla:"sin th a4"},{name:"xC4t",fmla:"cos th a4"},{name:"yC4",fmla:"+- yF4 yC4t 0"},{name:"xC4",fmla:"+- xF4 0 xC4t"},{name:"yB4",fmla:"+- yE4 yC4t 0"},{name:"xB4",fmla:"+- xE4 0 xC4t"},{name:"swAng3",fmla:"+- bA4 0 bD3"},{name:"aA5",fmla:"+- 6600000 0 ha"},{name:"aD5",fmla:"+- 6600000 ha 0"},{name:"ta51",fmla:"cos rw aA5"},{name:"ta52",fmla:"sin rh aA5"},{name:"bA5",fmla:"at2 ta51 ta52"},{name:"td51",fmla:"cos rw aD5"},{name:"td52",fmla:"sin rh aD5"},{name:"bD5",fmla:"at2 td51 td52"},{name:"xD5",fmla:"+- w 0 xA4"},{name:"xC5",fmla:"+- w 0 xB4"},{name:"xB5",fmla:"+- w 0 xC4"},{name:"swAng4",fmla:"+- bA5 0 bD4"},{name:"aD6",fmla:"+- 9000000 ha 0"},{name:"td61",fmla:"cos rw aD6"},{name:"td62",fmla:"sin rh aD6"},{name:"bD6",fmla:"at2 td61 td62"},{name:"xD6",fmla:"+- w 0 xA3"},{name:"xC6",fmla:"+- w 0 xB3"},{name:"xB6",fmla:"+- w 0 xC3"},{name:"aD7",fmla:"+- 11400000 ha 0"},{name:"td71",fmla:"cos rw aD7"},{name:"td72",fmla:"sin rh aD7"},{name:"bD7",fmla:"at2 td71 td72"},{name:"xD7",fmla:"+- w 0 xA2"},{name:"xC7",fmla:"+- w 0 xB2"},{name:"xB7",fmla:"+- w 0 xC2"},{name:"aD8",fmla:"+- 13800000 ha 0"},{name:"td81",fmla:"cos rw aD8"},{name:"td82",fmla:"sin rh aD8"},{name:"bD8",fmla:"at2 td81 td82"},{name:"xA8",fmla:"+- w 0 xD1"},{name:"xD8",fmla:"+- w 0 xA1"},{name:"xC8",fmla:"+- w 0 xB1"},{name:"xB8",fmla:"+- w 0 xC1"},{name:"aA9",fmla:"+- 3cd4 0 ha"},{name:"aD9",fmla:"+- 3cd4 ha 0"},{name:"td91",fmla:"cos rw aD9"},{name:"td92",fmla:"sin rh aD9"},{name:"bD9",fmla:"at2 td91 td92"},{name:"ctd9",fmla:"cos rh bD9"},{name:"std9",fmla:"sin rw bD9"},{name:"md9",fmla:"mod ctd9 std9 0"},{name:"nd9",fmla:"*/ rw rh md9"},{name:"dxd9",fmla:"cos nd9 bD9"},{name:"dyd9",fmla:"sin nd9 bD9"},{name:"xD9",fmla:"+- hc dxd9 0"},{name:"yD9",fmla:"+- vc dyd9 0"},{name:"ta91",fmla:"cos rw aA9"},{name:"ta92",fmla:"sin rh aA9"},{name:"bA9",fmla:"at2 ta91 ta92"},{name:"xA9",fmla:"+- hc 0 dxd9"},{name:"xF9",fmla:"+- xD9 0 lFD"},{name:"xE9",fmla:"+- xA9 lFD 0"},{name:"yC9",fmla:"+- yD9 0 th"},{name:"swAng5",fmla:"+- bA9 0 bD8"},{name:"xCxn1",fmla:"+/ xB1 xC1 2"},{name:"yCxn1",fmla:"+/ yB1 yC1 2"},{name:"xCxn2",fmla:"+/ xB2 xC2 2"},{name:"yCxn2",fmla:"+/ yB2 yC2 2"},{name:"xCxn3",fmla:"+/ xB3 xC3 2"},{name:"yCxn3",fmla:"+/ yB3 yC3 2"},{name:"xCxn4",fmla:"+/ xB4 xC4 2"},{name:"yCxn4",fmla:"+/ yB4 yC4 2"},{name:"xCxn5",fmla:"+/ r 0 xCxn4"},{name:"xCxn6",fmla:"+/ r 0 xCxn3"},{name:"xCxn7",fmla:"+/ r 0 xCxn2"},{name:"xCxn8",fmla:"+/ r 0 xCxn1"}],ranges:[{y:{name:"adj1",min:0,max:2e4},pos:{x:"xD9",y:"yD9"}},{x:{name:"adj2",min:0,max:2679},pos:{x:"xA9",y:"yD9"}}],paths:[{path:[{type:"moveTo",x:"xA1",y:"yA1"},{type:"lnTo",x:"xB1",y:"yB1"},{type:"lnTo",x:"xC1",y:"yC1"},{type:"lnTo",x:"xD1",y:"yD1"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD1",swAng:"swAng1"},{type:"lnTo",x:"xB2",y:"yB2"},{type:"lnTo",x:"xC2",y:"yC2"},{type:"lnTo",x:"xD2",y:"yD2"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD2",swAng:"swAng2"},{type:"lnTo",x:"xB3",y:"yB3"},{type:"lnTo",x:"xC3",y:"yC3"},{type:"lnTo",x:"xD3",y:"yD3"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD3",swAng:"swAng3"},{type:"lnTo",x:"xB4",y:"yB4"},{type:"lnTo",x:"xC4",y:"yC4"},{type:"lnTo",x:"xD4",y:"yD4"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD4",swAng:"swAng4"},{type:"lnTo",x:"xB5",y:"yC4"},{type:"lnTo",x:"xC5",y:"yB4"},{type:"lnTo",x:"xD5",y:"yA4"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD5",swAng:"swAng3"},{type:"lnTo",x:"xB6",y:"yC3"},{type:"lnTo",x:"xC6",y:"yB3"},{type:"lnTo",x:"xD6",y:"yA3"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD6",swAng:"swAng2"},{type:"lnTo",x:"xB7",y:"yC2"},{type:"lnTo",x:"xC7",y:"yB2"},{type:"lnTo",x:"xD7",y:"yA2"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD7",swAng:"swAng1"},{type:"lnTo",x:"xB8",y:"yC1"},{type:"lnTo",x:"xC8",y:"yB1"},{type:"lnTo",x:"xD8",y:"yA1"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD8",swAng:"swAng5"},{type:"lnTo",x:"xE9",y:"yC9"},{type:"lnTo",x:"xF9",y:"yC9"},{type:"lnTo",x:"xD9",y:"yD9"},{type:"arcTo",wR:"rw",hR:"rh",stAng:"bD9",swAng:"swAng5"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 141.96 31.89L 157.52 18.83L 169.95 29.26L 159.79 46.85A 80.00 80.00 0 0 1 175.93 74.79L 196.23 74.79L 199.05 90.77L 179.97 97.72A 80.00 80.00 0 0 1 174.36 129.50L 189.92 142.55L 181.81 156.60L 162.73 149.65A 80.00 80.00 0 0 1 138.01 170.40L 141.53 190.40L 126.29 195.94L 116.13 178.36A 80.00 80.00 0 0 1 83.87 178.36L 73.71 195.94L 58.47 190.40L 61.99 170.40A 80.00 80.00 0 0 1 37.27 149.65L 18.19 156.60L 10.08 142.55L 25.64 129.50A 80.00 80.00 0 0 1 20.03 97.72L 0.95 90.77L 3.77 74.79L 24.07 74.79A 80.00 80.00 0 0 1 40.21 46.85L 30.05 29.26L 42.48 18.83L 58.04 31.89A 80.00 80.00 0 0 1 88.36 20.85L 91.89 0.85L 108.11 0.85L 111.64 20.85A 80.00 80.00 0 0 1 141.96 31.89Z",range:[[0,2e4],[0,2679]],relative:["y","x"]},halfFrame:{type:"halfFrame",defaultValue:[33333,33333],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 100000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"x1",fmla:"*/ ss a2 100000"},{name:"g1",fmla:"*/ h x1 w"},{name:"g2",fmla:"+- h 0 g1"},{name:"maxAdj1",fmla:"*/ 100000 g2 ss"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"y1",fmla:"*/ ss a1 100000"},{name:"dx2",fmla:"*/ y1 w h"},{name:"x2",fmla:"+- r 0 dx2"},{name:"dy2",fmla:"*/ x1 h w"},{name:"y2",fmla:"+- b 0 dy2"},{name:"cx1",fmla:"*/ x1 1 2"},{name:"cy1",fmla:"+/ y2 b 2"},{name:"cx2",fmla:"+/ x2 r 2"},{name:"cy2",fmla:"*/ y1 1 2"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"l",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 200.00 0.00L 133.33 66.67L 66.67 66.67L 66.67 133.33L 0.00 200.00Z",range:[[0,66667],[0,1e5]],relative:["y","x"]},heart:{type:"heart",defaultValue:[],adjustmentNames:[],params:[{name:"dx1",fmla:"*/ w 49 48"},{name:"dx2",fmla:"*/ w 10 48"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- t 0 hd3"},{name:"il",fmla:"*/ w 1 6"},{name:"ir",fmla:"*/ w 5 6"},{name:"ib",fmla:"*/ h 2 3"}],ranges:[],paths:[{path:[{type:"moveTo",x:"hc",y:"hd4"},{type:"cubicBezTo",pts:[{x:"x3",y:"y1"},{x:"x4",y:"hd4"},{x:"hc",y:"b"}]},{type:"cubicBezTo",pts:[{x:"x1",y:"hd4"},{x:"x2",y:"y1"},{x:"hc",y:"hd4"}]},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 100.00 50.00C 141.67,-66.67 304.17,50.00 100.00,200.00C -104.17,50.00 58.33,-66.67 100.00,50.00Z",range:[],relative:[]},heptagon:{type:"heptagon",defaultValue:[102572,105210],adjustmentNames:["hf","vf"],params:[{name:"swd2",fmla:"*/ wd2 hf 100000"},{name:"shd2",fmla:"*/ hd2 vf 100000"},{name:"svc",fmla:"*/ vc vf 100000"},{name:"dx1",fmla:"*/ swd2 97493 100000"},{name:"dx2",fmla:"*/ swd2 78183 100000"},{name:"dx3",fmla:"*/ swd2 43388 100000"},{name:"dy1",fmla:"*/ shd2 62349 100000"},{name:"dy2",fmla:"*/ shd2 22252 100000"},{name:"dy3",fmla:"*/ shd2 90097 100000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc dx3 0"},{name:"x5",fmla:"+- hc dx2 0"},{name:"x6",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- svc 0 dy1"},{name:"y2",fmla:"+- svc dy2 0"},{name:"y3",fmla:"+- svc dy3 0"},{name:"ib",fmla:"+- b 0 y1"}],ranges:[],paths:[{path:[{type:"moveTo",x:"x1",y:"y2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x5",y:"y1"},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M -0.00 128.62L 19.81 39.61L 100.00 0.00L 180.19 39.61L 200.00 128.62L 144.50 200.00L 55.50 200.00Z",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["",""]},hexagon:{type:"hexagon",defaultValue:[25e3,115470],adjustmentNames:["adj","vf"],params:[{name:"maxAdj",fmla:"*/ 50000 w ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"shd2",fmla:"*/ hd2 vf 100000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"dy1",fmla:"sin shd2 3600000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"q1",fmla:"*/ maxAdj -1 2"},{name:"q2",fmla:"+- a q1 0"},{name:"q3",fmla:"?: q2 4 2"},{name:"q4",fmla:"?: q2 3 2"},{name:"q5",fmla:"?: q2 q1 0"},{name:"q6",fmla:"+/ a q5 q1"},{name:"q7",fmla:"*/ q6 q4 -1"},{name:"q8",fmla:"+- q3 q7 0"},{name:"il",fmla:"*/ w q8 24"},{name:"it",fmla:"*/ h q8 24"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 it"}],ranges:[{x:{name:"adj",min:0,max:"maxAdj"},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 50.00 0.00L 150.00 0.00L 200.00 100.00L 150.00 200.00L 50.00 200.00Z",range:[[0,5e4],[-2147483647,2147483647]],relative:["x",""]},homePlate:{type:"homePlate",defaultValue:[5e4],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 100000 w ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"dx1",fmla:"*/ ss a 100000"},{name:"x1",fmla:"+- r 0 dx1"},{name:"ir",fmla:"+/ x1 r 2"},{name:"x2",fmla:"*/ x1 1 2"}],ranges:[{x:{name:"adj",min:0,max:"maxAdj"},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 0.00 200.00Z",range:[[0,1e5]],relative:["x"]},horizontalScroll:{type:"horizontalScroll",defaultValue:[12500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 25000"},{name:"ch",fmla:"*/ ss a 100000"},{name:"ch2",fmla:"*/ ch 1 2"},{name:"ch4",fmla:"*/ ch 1 4"},{name:"y3",fmla:"+- ch ch2 0"},{name:"y4",fmla:"+- ch ch 0"},{name:"y6",fmla:"+- b 0 ch"},{name:"y7",fmla:"+- b 0 ch2"},{name:"y5",fmla:"+- y6 0 ch2"},{name:"x3",fmla:"+- r 0 ch"},{name:"x4",fmla:"+- r 0 ch2"}],ranges:[{x:{name:"adj",min:0,max:25e3},pos:{x:"ch",y:"t"}}],paths:[{path:[{type:"moveTo",x:"r",y:"ch2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x4",y:"ch2"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:0,swAng:"cd2"},{type:"lnTo",x:"x3",y:"ch"},{type:"lnTo",x:"ch2",y:"ch"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"l",y:"y7"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd2",swAng:-108e5},{type:"lnTo",x:"ch",y:"y6"},{type:"lnTo",x:"x4",y:"y6"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-54e5},{type:"close"},{type:"moveTo",x:"ch2",y:"y4"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-54e5},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:0,swAng:-108e5},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"ch2",y:"y4"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-54e5},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:0,swAng:-108e5},{type:"close"},{type:"moveTo",x:"x4",y:"ch"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-162e5},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"cd2",swAng:-108e5},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"y3"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x3",y:"ch"},{type:"lnTo",x:"x3",y:"ch2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd2",swAng:"cd2"},{type:"lnTo",x:"r",y:"y5"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd4"},{type:"lnTo",x:"ch",y:"y6"},{type:"lnTo",x:"ch",y:"y7"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd2"},{type:"close"},{type:"moveTo",x:"x3",y:"ch"},{type:"lnTo",x:"x4",y:"ch"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-54e5},{type:"moveTo",x:"x4",y:"ch"},{type:"lnTo",x:"x4",y:"ch2"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:0,swAng:"cd2"},{type:"moveTo",x:"ch2",y:"y4"},{type:"lnTo",x:"ch2",y:"y3"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"cd2",swAng:"cd2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd2"},{type:"moveTo",x:"ch",y:"y3"},{type:"lnTo",x:"ch",y:"y6"}],stroke:!0,fill:"none"}],path:"M 200.00 12.50A 12.50 12.50 0 0 1 187.50 25.00L 187.50 12.50A 6.25 6.25 0 0 1 175.00 12.50L 175.00 25.00L 12.50 25.00A 12.50 12.50 0 0 0 0.00 37.50L 0.00 187.50A 12.50 12.50 0 0 0 25.00 187.50L 25.00 175.00L 187.50 175.00A 12.50 12.50 0 0 0 200.00 162.50ZM 12.50 50.00A 12.50 12.50 0 0 0 25.00 37.50A 6.25 6.25 0 0 0 12.50 37.50ZM 12.50 50.00A 12.50 12.50 0 0 0 25.00 37.50A 6.25 6.25 0 0 0 12.50 37.50ZM 187.50 25.00A 12.50 12.50 0 1 0 175.00 12.50A 6.25 6.25 0 0 0 187.50 12.50ZM 0.00 37.50A 12.50 12.50 0 0 1 12.50 25.00L 175.00 25.00L 175.00 12.50A 12.50 12.50 0 0 1 200.00 12.50L 200.00 162.50A 12.50 12.50 0 0 1 187.50 175.00L 25.00 175.00L 25.00 187.50A 12.50 12.50 0 0 1 0.00 187.50ZM 175.00 25.00L 187.50 25.00A 12.50 12.50 0 0 0 200.00 12.50M 187.50 25.00L 187.50 12.50A 6.25 6.25 0 0 1 175.00 12.50M 12.50 50.00L 12.50 37.50A 6.25 6.25 0 0 1 25.00 37.50A 12.50 12.50 0 0 1 0.00 37.50M 25.00 37.50L 25.00 175.00",range:[[0,25e3]],relative:["x"]},irregularSeal1:{type:"irregularSeal1",defaultValue:[],adjustmentNames:[],params:[{name:"x5",fmla:"*/ w 4627 21600"},{name:"x12",fmla:"*/ w 8485 21600"},{name:"x21",fmla:"*/ w 16702 21600"},{name:"x24",fmla:"*/ w 14522 21600"},{name:"y3",fmla:"*/ h 6320 21600"},{name:"y6",fmla:"*/ h 8615 21600"},{name:"y9",fmla:"*/ h 13937 21600"},{name:"y18",fmla:"*/ h 13290 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:10800,y:5800},{type:"lnTo",x:14522,y:0},{type:"lnTo",x:14155,y:5325},{type:"lnTo",x:18380,y:4457},{type:"lnTo",x:16702,y:7315},{type:"lnTo",x:21097,y:8137},{type:"lnTo",x:17607,y:10475},{type:"lnTo",x:21600,y:13290},{type:"lnTo",x:16837,y:12942},{type:"lnTo",x:18145,y:18095},{type:"lnTo",x:14020,y:14457},{type:"lnTo",x:13247,y:19737},{type:"lnTo",x:10532,y:14935},{type:"lnTo",x:8485,y:21600},{type:"lnTo",x:7715,y:15627},{type:"lnTo",x:4762,y:17617},{type:"lnTo",x:5667,y:13937},{type:"lnTo",x:135,y:14587},{type:"lnTo",x:3722,y:11775},{type:"lnTo",x:0,y:8615},{type:"lnTo",x:4627,y:7617},{type:"lnTo",x:370,y:2295},{type:"lnTo",x:7312,y:6320},{type:"lnTo",x:8352,y:2295},{type:"close"}],stroke:!0,fill:"norm",w:21600,h:21600}],path:"M 100.00 53.70L 134.46 0.00L 131.06 49.31L 170.19 41.27L 154.65 67.73L 195.34 75.34L 163.03 96.99L 200.00 123.06L 155.90 119.83L 168.01 167.55L 129.81 133.86L 122.66 182.75L 97.52 138.29L 78.56 200.00L 71.44 144.69L 44.09 163.12L 52.47 129.05L 1.25 135.06L 34.46 109.03L 0.00 79.77L 42.84 70.53L 3.43 21.25L 67.70 58.52L 77.33 21.25Z",range:[],relative:[]},irregularSeal2:{type:"irregularSeal2",defaultValue:[],adjustmentNames:[],params:[{name:"x2",fmla:"*/ w 9722 21600"},{name:"x5",fmla:"*/ w 5372 21600"},{name:"x16",fmla:"*/ w 11612 21600"},{name:"x19",fmla:"*/ w 14640 21600"},{name:"y2",fmla:"*/ h 1887 21600"},{name:"y3",fmla:"*/ h 6382 21600"},{name:"y8",fmla:"*/ h 12877 21600"},{name:"y14",fmla:"*/ h 19712 21600"},{name:"y16",fmla:"*/ h 18842 21600"},{name:"y17",fmla:"*/ h 15935 21600"},{name:"y24",fmla:"*/ h 6645 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:11462,y:4342},{type:"lnTo",x:14790,y:0},{type:"lnTo",x:14525,y:5777},{type:"lnTo",x:18007,y:3172},{type:"lnTo",x:16380,y:6532},{type:"lnTo",x:21600,y:6645},{type:"lnTo",x:16985,y:9402},{type:"lnTo",x:18270,y:11290},{type:"lnTo",x:16380,y:12310},{type:"lnTo",x:18877,y:15632},{type:"lnTo",x:14640,y:14350},{type:"lnTo",x:14942,y:17370},{type:"lnTo",x:12180,y:15935},{type:"lnTo",x:11612,y:18842},{type:"lnTo",x:9872,y:17370},{type:"lnTo",x:8700,y:19712},{type:"lnTo",x:7527,y:18125},{type:"lnTo",x:4917,y:21600},{type:"lnTo",x:4805,y:18240},{type:"lnTo",x:1285,y:17825},{type:"lnTo",x:3330,y:15370},{type:"lnTo",x:0,y:12877},{type:"lnTo",x:3935,y:11592},{type:"lnTo",x:1172,y:8270},{type:"lnTo",x:5372,y:7817},{type:"lnTo",x:4502,y:3625},{type:"lnTo",x:8550,y:6382},{type:"lnTo",x:9722,y:1887},{type:"close"}],stroke:!0,fill:"norm",w:21600,h:21600}],path:"M 106.13 40.20L 136.94 0.00L 134.49 53.49L 166.73 29.37L 151.67 60.48L 200.00 61.53L 157.27 87.06L 169.17 104.54L 151.67 113.98L 174.79 144.74L 135.56 132.87L 138.35 160.83L 112.78 147.55L 107.52 174.46L 91.41 160.83L 80.56 182.52L 69.69 167.82L 45.53 200.00L 44.49 168.89L 11.90 165.05L 30.83 142.31L 0.00 119.23L 36.44 107.33L 10.85 76.57L 49.74 72.38L 41.69 33.56L 79.17 59.09L 90.02 17.47Z",range:[],relative:[]},leftArrow:{type:"leftArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 100000 w ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"dx2",fmla:"*/ ss a2 100000"},{name:"x2",fmla:"+- l dx2 0"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"dx1",fmla:"*/ y1 dx2 hd2"},{name:"x1",fmla:"+- x2 0 dx1"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"r",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 100.00 0.00L 100.00 50.00L 200.00 50.00L 200.00 150.00L 100.00 150.00L 100.00 200.00Z",range:[[0,1e5],[0,1e5]],relative:["y","x"]},leftArrowCallout:{type:"leftArrowCallout",defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"*/ 100000 w ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 ss w"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"dy1",fmla:"*/ ss a2 100000"},{name:"dy2",fmla:"*/ ss a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y4",fmla:"+- vc dy1 0"},{name:"x1",fmla:"*/ ss a3 100000"},{name:"dx2",fmla:"*/ w a4 100000"},{name:"x2",fmla:"+- r 0 dx2"},{name:"x3",fmla:"+/ x2 r 2"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x1",y:"y2"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"l",y:"y1"}},{x:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x1",y:"t"}},{x:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"x2",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x1",y:"y4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 50.00 50.00L 50.00 75.00L 70.05 75.00L 70.05 0.00L 200.00 0.00L 200.00 200.00L 70.05 200.00L 70.05 125.00L 50.00 125.00L 50.00 150.00Z",range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:["y","y","x","x"]},leftBrace:{type:"leftBrace",defaultValue:[8333,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"a2",fmla:"pin 0 adj2 100000"},{name:"q1",fmla:"+- 100000 0 a2"},{name:"q2",fmla:"min q1 a2"},{name:"q3",fmla:"*/ q2 1 2"},{name:"maxAdj1",fmla:"*/ q3 h ss"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"y1",fmla:"*/ ss a1 100000"},{name:"y3",fmla:"*/ h a2 100000"},{name:"y4",fmla:"+- y3 y1 0"},{name:"dx1",fmla:"cos wd2 2700000"},{name:"dy1",fmla:"sin y1 2700000"},{name:"il",fmla:"+- r 0 dx1"},{name:"it",fmla:"+- y1 0 dy1"},{name:"ib",fmla:"+- b dy1 y1"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"hc",y:"y1"}},{y:{name:"adj2",min:0,max:1e5},pos:{x:"l",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"r",y:"b"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"hc",y:"y4"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:-54e5},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"hc",y:"y1"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"r",y:"b"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"hc",y:"y4"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:-54e5},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"hc",y:"y1"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:"cd4"}],stroke:!0,fill:"none"}],path:"M 200.00 200.00A 100.00 16.67 0 0 1 100.00 183.33L 100.00 116.67A 100.00 16.67 0 0 0 0.00 100.00A 100.00 16.67 0 0 0 100.00 83.33L 100.00 16.67A 100.00 16.67 0 0 1 200.00 -0.00ZM 200.00 200.00A 100.00 16.67 0 0 1 100.00 183.33L 100.00 116.67A 100.00 16.67 0 0 0 0.00 100.00A 100.00 16.67 0 0 0 100.00 83.33L 100.00 16.67A 100.00 16.67 0 0 1 200.00 -0.00",range:[[0,25e3],[0,1e5]],relative:["y","y"]},leftBracket:{type:"leftBracket",defaultValue:[8333],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 50000 h ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"y1",fmla:"*/ ss a 100000"},{name:"y2",fmla:"+- b 0 y1"},{name:"dx1",fmla:"cos w 2700000"},{name:"dy1",fmla:"sin y1 2700000"},{name:"il",fmla:"+- r 0 dx1"},{name:"it",fmla:"+- y1 0 dy1"},{name:"ib",fmla:"+- b dy1 y1"}],ranges:[{y:{name:"adj",min:0,max:"maxAdj"},pos:{x:"l",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"r",y:"b"},{type:"arcTo",wR:"w",hR:"y1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"y1"},{type:"arcTo",wR:"w",hR:"y1",stAng:"cd2",swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"r",y:"b"},{type:"arcTo",wR:"w",hR:"y1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"y1"},{type:"arcTo",wR:"w",hR:"y1",stAng:"cd2",swAng:"cd4"}],stroke:!0,fill:"none"}],path:"M 200.00 200.00A 200.00 16.67 0 0 1 0.00 183.33L 0.00 16.67A 200.00 16.67 0 0 1 200.00 -0.00ZM 200.00 200.00A 200.00 16.67 0 0 1 0.00 183.33L 0.00 16.67A 200.00 16.67 0 0 1 200.00 -0.00",range:[[0,5e4]],relative:["y"]},leftCircularArrow:{type:"leftCircularArrow",defaultValue:[12500,-1142319,1142319,108e5,12500],adjustmentNames:["adj1","adj2","adj3","adj4","adj5"],params:[{name:"a5",fmla:"pin 0 adj5 25000"},{name:"maxAdj1",fmla:"*/ a5 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"enAng",fmla:"pin 1 adj3 21599999"},{name:"stAng",fmla:"pin 0 adj4 21599999"},{name:"th",fmla:"*/ ss a1 100000"},{name:"thh",fmla:"*/ ss a5 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"rw1",fmla:"+- wd2 th2 thh"},{name:"rh1",fmla:"+- hd2 th2 thh"},{name:"rw2",fmla:"+- rw1 0 th"},{name:"rh2",fmla:"+- rh1 0 th"},{name:"rw3",fmla:"+- rw2 th2 0"},{name:"rh3",fmla:"+- rh2 th2 0"},{name:"wtH",fmla:"sin rw3 enAng"},{name:"htH",fmla:"cos rh3 enAng"},{name:"dxH",fmla:"cat2 rw3 htH wtH"},{name:"dyH",fmla:"sat2 rh3 htH wtH"},{name:"xH",fmla:"+- hc dxH 0"},{name:"yH",fmla:"+- vc dyH 0"},{name:"rI",fmla:"min rw2 rh2"},{name:"u1",fmla:"*/ dxH dxH 1"},{name:"u2",fmla:"*/ dyH dyH 1"},{name:"u3",fmla:"*/ rI rI 1"},{name:"u4",fmla:"+- u1 0 u3"},{name:"u5",fmla:"+- u2 0 u3"},{name:"u6",fmla:"*/ u4 u5 u1"},{name:"u7",fmla:"*/ u6 1 u2"},{name:"u8",fmla:"+- 1 0 u7"},{name:"u9",fmla:"sqrt u8"},{name:"u10",fmla:"*/ u4 1 dxH"},{name:"u11",fmla:"*/ u10 1 dyH"},{name:"u12",fmla:"+/ 1 u9 u11"},{name:"u13",fmla:"at2 1 u12"},{name:"u14",fmla:"+- u13 21600000 0"},{name:"u15",fmla:"?: u13 u13 u14"},{name:"u16",fmla:"+- u15 0 enAng"},{name:"u17",fmla:"+- u16 21600000 0"},{name:"u18",fmla:"?: u16 u16 u17"},{name:"u19",fmla:"+- u18 0 cd2"},{name:"u20",fmla:"+- u18 0 21600000"},{name:"u21",fmla:"?: u19 u20 u18"},{name:"u22",fmla:"abs u21"},{name:"minAng",fmla:"*/ u22 -1 1"},{name:"u23",fmla:"abs adj2"},{name:"a2",fmla:"*/ u23 -1 1"},{name:"aAng",fmla:"pin minAng a2 0"},{name:"ptAng",fmla:"+- enAng aAng 0"},{name:"wtA",fmla:"sin rw3 ptAng"},{name:"htA",fmla:"cos rh3 ptAng"},{name:"dxA",fmla:"cat2 rw3 htA wtA"},{name:"dyA",fmla:"sat2 rh3 htA wtA"},{name:"xA",fmla:"+- hc dxA 0"},{name:"yA",fmla:"+- vc dyA 0"},{name:"wtE",fmla:"sin rw1 stAng"},{name:"htE",fmla:"cos rh1 stAng"},{name:"dxE",fmla:"cat2 rw1 htE wtE"},{name:"dyE",fmla:"sat2 rh1 htE wtE"},{name:"xE",fmla:"+- hc dxE 0"},{name:"yE",fmla:"+- vc dyE 0"},{name:"wtD",fmla:"sin rw2 stAng"},{name:"htD",fmla:"cos rh2 stAng"},{name:"dxD",fmla:"cat2 rw2 htD wtD"},{name:"dyD",fmla:"sat2 rh2 htD wtD"},{name:"xD",fmla:"+- hc dxD 0"},{name:"yD",fmla:"+- vc dyD 0"},{name:"dxG",fmla:"cos thh ptAng"},{name:"dyG",fmla:"sin thh ptAng"},{name:"xG",fmla:"+- xH dxG 0"},{name:"yG",fmla:"+- yH dyG 0"},{name:"dxB",fmla:"cos thh ptAng"},{name:"dyB",fmla:"sin thh ptAng"},{name:"xB",fmla:"+- xH 0 dxB 0"},{name:"yB",fmla:"+- yH 0 dyB 0"},{name:"sx1",fmla:"+- xB 0 hc"},{name:"sy1",fmla:"+- yB 0 vc"},{name:"sx2",fmla:"+- xG 0 hc"},{name:"sy2",fmla:"+- yG 0 vc"},{name:"rO",fmla:"min rw1 rh1"},{name:"x1O",fmla:"*/ sx1 rO rw1"},{name:"y1O",fmla:"*/ sy1 rO rh1"},{name:"x2O",fmla:"*/ sx2 rO rw1"},{name:"y2O",fmla:"*/ sy2 rO rh1"},{name:"dxO",fmla:"+- x2O 0 x1O"},{name:"dyO",fmla:"+- y2O 0 y1O"},{name:"dO",fmla:"mod dxO dyO 0"},{name:"q1",fmla:"*/ x1O y2O 1"},{name:"q2",fmla:"*/ x2O y1O 1"},{name:"DO",fmla:"+- q1 0 q2"},{name:"q3",fmla:"*/ rO rO 1"},{name:"q4",fmla:"*/ dO dO 1"},{name:"q5",fmla:"*/ q3 q4 1"},{name:"q6",fmla:"*/ DO DO 1"},{name:"q7",fmla:"+- q5 0 q6"},{name:"q8",fmla:"max q7 0"},{name:"sdelO",fmla:"sqrt q8"},{name:"ndyO",fmla:"*/ dyO -1 1"},{name:"sdyO",fmla:"?: ndyO -1 1"},{name:"q9",fmla:"*/ sdyO dxO 1"},{name:"q10",fmla:"*/ q9 sdelO 1"},{name:"q11",fmla:"*/ DO dyO 1"},{name:"dxF1",fmla:"+/ q11 q10 q4"},{name:"q12",fmla:"+- q11 0 q10"},{name:"dxF2",fmla:"*/ q12 1 q4"},{name:"adyO",fmla:"abs dyO"},{name:"q13",fmla:"*/ adyO sdelO 1"},{name:"q14",fmla:"*/ DO dxO -1"},{name:"dyF1",fmla:"+/ q14 q13 q4"},{name:"q15",fmla:"+- q14 0 q13"},{name:"dyF2",fmla:"*/ q15 1 q4"},{name:"q16",fmla:"+- x2O 0 dxF1"},{name:"q17",fmla:"+- x2O 0 dxF2"},{name:"q18",fmla:"+- y2O 0 dyF1"},{name:"q19",fmla:"+- y2O 0 dyF2"},{name:"q20",fmla:"mod q16 q18 0"},{name:"q21",fmla:"mod q17 q19 0"},{name:"q22",fmla:"+- q21 0 q20"},{name:"dxF",fmla:"?: q22 dxF1 dxF2"},{name:"dyF",fmla:"?: q22 dyF1 dyF2"},{name:"sdxF",fmla:"*/ dxF rw1 rO"},{name:"sdyF",fmla:"*/ dyF rh1 rO"},{name:"xF",fmla:"+- hc sdxF 0"},{name:"yF",fmla:"+- vc sdyF 0"},{name:"x1I",fmla:"*/ sx1 rI rw2"},{name:"y1I",fmla:"*/ sy1 rI rh2"},{name:"x2I",fmla:"*/ sx2 rI rw2"},{name:"y2I",fmla:"*/ sy2 rI rh2"},{name:"dxI",fmla:"+- x2I 0 x1I"},{name:"dyI",fmla:"+- y2I 0 y1I"},{name:"dI",fmla:"mod dxI dyI 0"},{name:"v1",fmla:"*/ x1I y2I 1"},{name:"v2",fmla:"*/ x2I y1I 1"},{name:"DI",fmla:"+- v1 0 v2"},{name:"v3",fmla:"*/ rI rI 1"},{name:"v4",fmla:"*/ dI dI 1"},{name:"v5",fmla:"*/ v3 v4 1"},{name:"v6",fmla:"*/ DI DI 1"},{name:"v7",fmla:"+- v5 0 v6"},{name:"v8",fmla:"max v7 0"},{name:"sdelI",fmla:"sqrt v8"},{name:"v9",fmla:"*/ sdyO dxI 1"},{name:"v10",fmla:"*/ v9 sdelI 1"},{name:"v11",fmla:"*/ DI dyI 1"},{name:"dxC1",fmla:"+/ v11 v10 v4"},{name:"v12",fmla:"+- v11 0 v10"},{name:"dxC2",fmla:"*/ v12 1 v4"},{name:"adyI",fmla:"abs dyI"},{name:"v13",fmla:"*/ adyI sdelI 1"},{name:"v14",fmla:"*/ DI dxI -1"},{name:"dyC1",fmla:"+/ v14 v13 v4"},{name:"v15",fmla:"+- v14 0 v13"},{name:"dyC2",fmla:"*/ v15 1 v4"},{name:"v16",fmla:"+- x1I 0 dxC1"},{name:"v17",fmla:"+- x1I 0 dxC2"},{name:"v18",fmla:"+- y1I 0 dyC1"},{name:"v19",fmla:"+- y1I 0 dyC2"},{name:"v20",fmla:"mod v16 v18 0"},{name:"v21",fmla:"mod v17 v19 0"},{name:"v22",fmla:"+- v21 0 v20"},{name:"dxC",fmla:"?: v22 dxC1 dxC2"},{name:"dyC",fmla:"?: v22 dyC1 dyC2"},{name:"sdxC",fmla:"*/ dxC rw2 rI"},{name:"sdyC",fmla:"*/ dyC rh2 rI"},{name:"xC",fmla:"+- hc sdxC 0"},{name:"yC",fmla:"+- vc sdyC 0"},{name:"ist0",fmla:"at2 sdxC sdyC"},{name:"ist1",fmla:"+- ist0 21600000 0"},{name:"istAng0",fmla:"?: ist0 ist0 ist1"},{name:"isw1",fmla:"+- stAng 0 istAng0"},{name:"isw2",fmla:"+- isw1 21600000 0"},{name:"iswAng0",fmla:"?: isw1 isw1 isw2"},{name:"istAng",fmla:"+- istAng0 iswAng0 0"},{name:"iswAng",fmla:"+- 0 0 iswAng0"},{name:"p1",fmla:"+- xF 0 xC"},{name:"p2",fmla:"+- yF 0 yC"},{name:"p3",fmla:"mod p1 p2 0"},{name:"p4",fmla:"*/ p3 1 2"},{name:"p5",fmla:"+- p4 0 thh"},{name:"xGp",fmla:"?: p5 xF xG"},{name:"yGp",fmla:"?: p5 yF yG"},{name:"xBp",fmla:"?: p5 xC xB"},{name:"yBp",fmla:"?: p5 yC yB"},{name:"en0",fmla:"at2 sdxF sdyF"},{name:"en1",fmla:"+- en0 21600000 0"},{name:"en2",fmla:"?: en0 en0 en1"},{name:"sw0",fmla:"+- en2 0 stAng"},{name:"sw1",fmla:"+- sw0 0 21600000"},{name:"swAng",fmla:"?: sw0 sw1 sw0"},{name:"stAng0",fmla:"+- stAng swAng 0"},{name:"swAng0",fmla:"+- 0 0 swAng"},{name:"wtI",fmla:"sin rw3 stAng"},{name:"htI",fmla:"cos rh3 stAng"},{name:"dxI",fmla:"cat2 rw3 htI wtI"},{name:"dyI",fmla:"sat2 rh3 htI wtI"},{name:"xI",fmla:"+- hc dxI 0"},{name:"yI",fmla:"+- vc dyI 0"},{name:"aI",fmla:"+- stAng cd4 0"},{name:"aA",fmla:"+- ptAng 0 cd4"},{name:"aB",fmla:"+- ptAng cd2 0"},{name:"idx",fmla:"cos rw1 2700000"},{name:"idy",fmla:"sin rh1 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{ang:{name:"adj2",min:"minAng",max:0},pos:{x:"xA",y:"yA"}},{ang:{name:"adj4",min:0,max:21599999},pos:{x:"xE",y:"yE"}},{r:{name:"adj1",min:0,max:"maxAdj1"},ang:{name:"adj3",min:0,max:21599999},pos:{x:"xF",y:"yF"}},{r:{name:"adj5",min:0,max:25e3},pos:{x:"xB",y:"yB"}}],paths:[{path:[{type:"moveTo",x:"xE",y:"yE"},{type:"lnTo",x:"xD",y:"yD"},{type:"arcTo",wR:"rw2",hR:"rh2",stAng:"istAng",swAng:"iswAng"},{type:"lnTo",x:"xBp",y:"yBp"},{type:"lnTo",x:"xA",y:"yA"},{type:"lnTo",x:"xGp",y:"yGp"},{type:"lnTo",x:"xF",y:"yF"},{type:"arcTo",wR:"rw1",hR:"rh1",stAng:"stAng0",swAng:"swAng0"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 12.50 100.00L 37.50 100.00A 62.50 62.50 0 0 0 157.51 124.47L 145.90 124.47L 175.00 100.00L 195.90 124.47L 184.01 124.47A 87.50 87.50 0 0 1 12.50 100.00Z",range:[[0,25e3],[-3386561.4142847573,0],[0,21599999],[0,21599999],[0,25e3]],relative:["r","ang","ang","ang","r"]},leftRightArrow:{type:"leftRightArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 50000 w ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"x2",fmla:"*/ ss a2 100000"},{name:"x3",fmla:"+- r 0 x2"},{name:"dy",fmla:"*/ h a1 200000"},{name:"y1",fmla:"+- vc 0 dy"},{name:"y2",fmla:"+- vc dy 0"},{name:"dx1",fmla:"*/ y1 x2 hd2"},{name:"x1",fmla:"+- x2 0 dx1"},{name:"x4",fmla:"+- x3 dx1 0"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"x3",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x3",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x3",y:"b"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 100.00 0.00L 100.00 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 100.00 150.00L 100.00 200.00Z",range:[[0,1e5],[0,5e4]],relative:["y","x"]},leftRightArrowCallout:{type:"leftRightArrowCallout",defaultValue:[25e3,25e3,25e3,48123],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"*/ 50000 w ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 ss wd2"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"dy1",fmla:"*/ ss a2 100000"},{name:"dy2",fmla:"*/ ss a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y4",fmla:"+- vc dy1 0"},{name:"x1",fmla:"*/ ss a3 100000"},{name:"x4",fmla:"+- r 0 x1"},{name:"dx2",fmla:"*/ w a4 200000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x1",y:"y2"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"l",y:"y1"}},{x:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x1",y:"t"}},{x:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"x2",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x3",y:"t"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x4",y:"y2"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"b"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x1",y:"y4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 50.00 50.00L 50.00 75.00L 51.88 75.00L 51.88 0.00L 148.12 0.00L 148.12 75.00L 150.00 75.00L 150.00 50.00L 200.00 100.00L 150.00 150.00L 150.00 125.00L 148.12 125.00L 148.12 200.00L 51.88 200.00L 51.88 125.00L 50.00 125.00L 50.00 150.00Z",range:[[0,5e4],[0,5e4],[0,5e4],[0,5e4]],relative:["y","y","x","x"]},leftRightCircularArrow:{type:"leftRightCircularArrow",defaultValue:[12500,1142319,20457681,11942319,12500],adjustmentNames:["adj1","adj2","adj3","adj4","adj5"],params:[{name:"a5",fmla:"pin 0 adj5 25000"},{name:"maxAdj1",fmla:"*/ a5 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"enAng",fmla:"pin 1 adj3 21599999"},{name:"stAng",fmla:"pin 0 adj4 21599999"},{name:"th",fmla:"*/ ss a1 100000"},{name:"thh",fmla:"*/ ss a5 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"rw1",fmla:"+- wd2 th2 thh"},{name:"rh1",fmla:"+- hd2 th2 thh"},{name:"rw2",fmla:"+- rw1 0 th"},{name:"rh2",fmla:"+- rh1 0 th"},{name:"rw3",fmla:"+- rw2 th2 0"},{name:"rh3",fmla:"+- rh2 th2 0"},{name:"wtH",fmla:"sin rw3 enAng"},{name:"htH",fmla:"cos rh3 enAng"},{name:"dxH",fmla:"cat2 rw3 htH wtH"},{name:"dyH",fmla:"sat2 rh3 htH wtH"},{name:"xH",fmla:"+- hc dxH 0"},{name:"yH",fmla:"+- vc dyH 0"},{name:"rI",fmla:"min rw2 rh2"},{name:"u1",fmla:"*/ dxH dxH 1"},{name:"u2",fmla:"*/ dyH dyH 1"},{name:"u3",fmla:"*/ rI rI 1"},{name:"u4",fmla:"+- u1 0 u3"},{name:"u5",fmla:"+- u2 0 u3"},{name:"u6",fmla:"*/ u4 u5 u1"},{name:"u7",fmla:"*/ u6 1 u2"},{name:"u8",fmla:"+- 1 0 u7"},{name:"u9",fmla:"sqrt u8"},{name:"u10",fmla:"*/ u4 1 dxH"},{name:"u11",fmla:"*/ u10 1 dyH"},{name:"u12",fmla:"+/ 1 u9 u11"},{name:"u13",fmla:"at2 1 u12"},{name:"u14",fmla:"+- u13 21600000 0"},{name:"u15",fmla:"?: u13 u13 u14"},{name:"u16",fmla:"+- u15 0 enAng"},{name:"u17",fmla:"+- u16 21600000 0"},{name:"u18",fmla:"?: u16 u16 u17"},{name:"u19",fmla:"+- u18 0 cd2"},{name:"u20",fmla:"+- u18 0 21600000"},{name:"u21",fmla:"?: u19 u20 u18"},{name:"maxAng",fmla:"abs u21"},{name:"aAng",fmla:"pin 0 adj2 maxAng"},{name:"ptAng",fmla:"+- enAng aAng 0"},{name:"wtA",fmla:"sin rw3 ptAng"},{name:"htA",fmla:"cos rh3 ptAng"},{name:"dxA",fmla:"cat2 rw3 htA wtA"},{name:"dyA",fmla:"sat2 rh3 htA wtA"},{name:"xA",fmla:"+- hc dxA 0"},{name:"yA",fmla:"+- vc dyA 0"},{name:"dxG",fmla:"cos thh ptAng"},{name:"dyG",fmla:"sin thh ptAng"},{name:"xG",fmla:"+- xH dxG 0"},{name:"yG",fmla:"+- yH dyG 0"},{name:"dxB",fmla:"cos thh ptAng"},{name:"dyB",fmla:"sin thh ptAng"},{name:"xB",fmla:"+- xH 0 dxB 0"},{name:"yB",fmla:"+- yH 0 dyB 0"},{name:"sx1",fmla:"+- xB 0 hc"},{name:"sy1",fmla:"+- yB 0 vc"},{name:"sx2",fmla:"+- xG 0 hc"},{name:"sy2",fmla:"+- yG 0 vc"},{name:"rO",fmla:"min rw1 rh1"},{name:"x1O",fmla:"*/ sx1 rO rw1"},{name:"y1O",fmla:"*/ sy1 rO rh1"},{name:"x2O",fmla:"*/ sx2 rO rw1"},{name:"y2O",fmla:"*/ sy2 rO rh1"},{name:"dxO",fmla:"+- x2O 0 x1O"},{name:"dyO",fmla:"+- y2O 0 y1O"},{name:"dO",fmla:"mod dxO dyO 0"},{name:"q1",fmla:"*/ x1O y2O 1"},{name:"q2",fmla:"*/ x2O y1O 1"},{name:"DO",fmla:"+- q1 0 q2"},{name:"q3",fmla:"*/ rO rO 1"},{name:"q4",fmla:"*/ dO dO 1"},{name:"q5",fmla:"*/ q3 q4 1"},{name:"q6",fmla:"*/ DO DO 1"},{name:"q7",fmla:"+- q5 0 q6"},{name:"q8",fmla:"max q7 0"},{name:"sdelO",fmla:"sqrt q8"},{name:"ndyO",fmla:"*/ dyO -1 1"},{name:"sdyO",fmla:"?: ndyO -1 1"},{name:"q9",fmla:"*/ sdyO dxO 1"},{name:"q10",fmla:"*/ q9 sdelO 1"},{name:"q11",fmla:"*/ DO dyO 1"},{name:"dxF1",fmla:"+/ q11 q10 q4"},{name:"q12",fmla:"+- q11 0 q10"},{name:"dxF2",fmla:"*/ q12 1 q4"},{name:"adyO",fmla:"abs dyO"},{name:"q13",fmla:"*/ adyO sdelO 1"},{name:"q14",fmla:"*/ DO dxO -1"},{name:"dyF1",fmla:"+/ q14 q13 q4"},{name:"q15",fmla:"+- q14 0 q13"},{name:"dyF2",fmla:"*/ q15 1 q4"},{name:"q16",fmla:"+- x2O 0 dxF1"},{name:"q17",fmla:"+- x2O 0 dxF2"},{name:"q18",fmla:"+- y2O 0 dyF1"},{name:"q19",fmla:"+- y2O 0 dyF2"},{name:"q20",fmla:"mod q16 q18 0"},{name:"q21",fmla:"mod q17 q19 0"},{name:"q22",fmla:"+- q21 0 q20"},{name:"dxF",fmla:"?: q22 dxF1 dxF2"},{name:"dyF",fmla:"?: q22 dyF1 dyF2"},{name:"sdxF",fmla:"*/ dxF rw1 rO"},{name:"sdyF",fmla:"*/ dyF rh1 rO"},{name:"xF",fmla:"+- hc sdxF 0"},{name:"yF",fmla:"+- vc sdyF 0"},{name:"x1I",fmla:"*/ sx1 rI rw2"},{name:"y1I",fmla:"*/ sy1 rI rh2"},{name:"x2I",fmla:"*/ sx2 rI rw2"},{name:"y2I",fmla:"*/ sy2 rI rh2"},{name:"dxI",fmla:"+- x2I 0 x1I"},{name:"dyI",fmla:"+- y2I 0 y1I"},{name:"dI",fmla:"mod dxI dyI 0"},{name:"v1",fmla:"*/ x1I y2I 1"},{name:"v2",fmla:"*/ x2I y1I 1"},{name:"DI",fmla:"+- v1 0 v2"},{name:"v3",fmla:"*/ rI rI 1"},{name:"v4",fmla:"*/ dI dI 1"},{name:"v5",fmla:"*/ v3 v4 1"},{name:"v6",fmla:"*/ DI DI 1"},{name:"v7",fmla:"+- v5 0 v6"},{name:"v8",fmla:"max v7 0"},{name:"sdelI",fmla:"sqrt v8"},{name:"v9",fmla:"*/ sdyO dxI 1"},{name:"v10",fmla:"*/ v9 sdelI 1"},{name:"v11",fmla:"*/ DI dyI 1"},{name:"dxC1",fmla:"+/ v11 v10 v4"},{name:"v12",fmla:"+- v11 0 v10"},{name:"dxC2",fmla:"*/ v12 1 v4"},{name:"adyI",fmla:"abs dyI"},{name:"v13",fmla:"*/ adyI sdelI 1"},{name:"v14",fmla:"*/ DI dxI -1"},{name:"dyC1",fmla:"+/ v14 v13 v4"},{name:"v15",fmla:"+- v14 0 v13"},{name:"dyC2",fmla:"*/ v15 1 v4"},{name:"v16",fmla:"+- x1I 0 dxC1"},{name:"v17",fmla:"+- x1I 0 dxC2"},{name:"v18",fmla:"+- y1I 0 dyC1"},{name:"v19",fmla:"+- y1I 0 dyC2"},{name:"v20",fmla:"mod v16 v18 0"},{name:"v21",fmla:"mod v17 v19 0"},{name:"v22",fmla:"+- v21 0 v20"},{name:"dxC",fmla:"?: v22 dxC1 dxC2"},{name:"dyC",fmla:"?: v22 dyC1 dyC2"},{name:"sdxC",fmla:"*/ dxC rw2 rI"},{name:"sdyC",fmla:"*/ dyC rh2 rI"},{name:"xC",fmla:"+- hc sdxC 0"},{name:"yC",fmla:"+- vc sdyC 0"},{name:"wtI",fmla:"sin rw3 stAng"},{name:"htI",fmla:"cos rh3 stAng"},{name:"dxI",fmla:"cat2 rw3 htI wtI"},{name:"dyI",fmla:"sat2 rh3 htI wtI"},{name:"xI",fmla:"+- hc dxI 0"},{name:"yI",fmla:"+- vc dyI 0"},{name:"lptAng",fmla:"+- stAng 0 aAng"},{name:"wtL",fmla:"sin rw3 lptAng"},{name:"htL",fmla:"cos rh3 lptAng"},{name:"dxL",fmla:"cat2 rw3 htL wtL"},{name:"dyL",fmla:"sat2 rh3 htL wtL"},{name:"xL",fmla:"+- hc dxL 0"},{name:"yL",fmla:"+- vc dyL 0"},{name:"dxK",fmla:"cos thh lptAng"},{name:"dyK",fmla:"sin thh lptAng"},{name:"xK",fmla:"+- xI dxK 0"},{name:"yK",fmla:"+- yI dyK 0"},{name:"dxJ",fmla:"cos thh lptAng"},{name:"dyJ",fmla:"sin thh lptAng"},{name:"xJ",fmla:"+- xI 0 dxJ 0"},{name:"yJ",fmla:"+- yI 0 dyJ 0"},{name:"p1",fmla:"+- xF 0 xC"},{name:"p2",fmla:"+- yF 0 yC"},{name:"p3",fmla:"mod p1 p2 0"},{name:"p4",fmla:"*/ p3 1 2"},{name:"p5",fmla:"+- p4 0 thh"},{name:"xGp",fmla:"?: p5 xF xG"},{name:"yGp",fmla:"?: p5 yF yG"},{name:"xBp",fmla:"?: p5 xC xB"},{name:"yBp",fmla:"?: p5 yC yB"},{name:"en0",fmla:"at2 sdxF sdyF"},{name:"en1",fmla:"+- en0 21600000 0"},{name:"en2",fmla:"?: en0 en0 en1"},{name:"od0",fmla:"+- en2 0 enAng"},{name:"od1",fmla:"+- od0 21600000 0"},{name:"od2",fmla:"?: od0 od0 od1"},{name:"st0",fmla:"+- stAng 0 od2"},{name:"st1",fmla:"+- st0 21600000 0"},{name:"st2",fmla:"?: st0 st0 st1"},{name:"sw0",fmla:"+- en2 0 st2"},{name:"sw1",fmla:"+- sw0 21600000 0"},{name:"swAng",fmla:"?: sw0 sw0 sw1"},{name:"ist0",fmla:"at2 sdxC sdyC"},{name:"ist1",fmla:"+- ist0 21600000 0"},{name:"istAng",fmla:"?: ist0 ist0 ist1"},{name:"id0",fmla:"+- istAng 0 enAng"},{name:"id1",fmla:"+- id0 0 21600000"},{name:"id2",fmla:"?: id0 id1 id0"},{name:"ien0",fmla:"+- stAng 0 id2"},{name:"ien1",fmla:"+- ien0 0 21600000"},{name:"ien2",fmla:"?: ien1 ien1 ien0"},{name:"isw1",fmla:"+- ien2 0 istAng"},{name:"isw2",fmla:"+- isw1 0 21600000"},{name:"iswAng",fmla:"?: isw1 isw2 isw1"},{name:"wtE",fmla:"sin rw1 st2"},{name:"htE",fmla:"cos rh1 st2"},{name:"dxE",fmla:"cat2 rw1 htE wtE"},{name:"dyE",fmla:"sat2 rh1 htE wtE"},{name:"xE",fmla:"+- hc dxE 0"},{name:"yE",fmla:"+- vc dyE 0"},{name:"wtD",fmla:"sin rw2 ien2"},{name:"htD",fmla:"cos rh2 ien2"},{name:"dxD",fmla:"cat2 rw2 htD wtD"},{name:"dyD",fmla:"sat2 rh2 htD wtD"},{name:"xD",fmla:"+- hc dxD 0"},{name:"yD",fmla:"+- vc dyD 0"},{name:"xKp",fmla:"?: p5 xE xK"},{name:"yKp",fmla:"?: p5 yE yK"},{name:"xJp",fmla:"?: p5 xD xJ"},{name:"yJp",fmla:"?: p5 yD yJ"},{name:"aL",fmla:"+- lptAng 0 cd4"},{name:"aA",fmla:"+- ptAng cd4 0"},{name:"aB",fmla:"+- ptAng cd2 0"},{name:"aJ",fmla:"+- lptAng cd2 0"},{name:"idx",fmla:"cos rw1 2700000"},{name:"idy",fmla:"sin rh1 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{ang:{name:"adj2",min:0,max:"maxAng"},pos:{x:"xA",y:"yA"}},{ang:{name:"adj4",min:0,max:21599999},pos:{x:"xE",y:"yE"}},{r:{name:"adj1",min:0,max:"maxAdj1"},ang:{name:"adj3",min:0,max:21599999},pos:{x:"xF",y:"yF"}},{r:{name:"adj5",min:0,max:25e3},pos:{x:"xB",y:"yB"}}],paths:[{path:[{type:"moveTo",x:"xL",y:"yL"},{type:"lnTo",x:"xKp",y:"yKp"},{type:"lnTo",x:"xE",y:"yE"},{type:"arcTo",wR:"rw1",hR:"rh1",stAng:"st2",swAng:"swAng"},{type:"lnTo",x:"xGp",y:"yGp"},{type:"lnTo",x:"xA",y:"yA"},{type:"lnTo",x:"xBp",y:"yBp"},{type:"lnTo",x:"xC",y:"yC"},{type:"arcTo",wR:"rw2",hR:"rh2",stAng:"istAng",swAng:"iswAng"},{type:"lnTo",x:"xJp",y:"yJp"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 25.00 100.00L 4.10 75.53L 15.99 75.53A 87.50 87.50 0 0 1 184.01 75.53L 195.90 75.53L 175.00 100.00L 145.90 75.53L 157.51 75.53A 62.50 62.50 0 0 0 42.49 75.53L 54.10 75.53Z",range:[[0,25e3],[0,3386561.414284762],[0,21599999],[0,21599999],[0,25e3]],relative:["r","ang","ang","ang","r"]},leftRightRibbon:{type:"leftRightRibbon",defaultValue:[5e4,5e4,16667],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a3",fmla:"pin 0 adj3 33333"},{name:"maxAdj1",fmla:"+- 100000 0 a3"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"w1",fmla:"+- wd2 0 wd32"},{name:"maxAdj2",fmla:"*/ 100000 w1 ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"x1",fmla:"*/ ss a2 100000"},{name:"x4",fmla:"+- r 0 x1"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"dy2",fmla:"*/ h a3 -200000"},{name:"ly1",fmla:"+- vc dy2 dy1"},{name:"ry4",fmla:"+- vc dy1 dy2"},{name:"ly2",fmla:"+- ly1 dy1 0"},{name:"ry3",fmla:"+- b 0 ly2"},{name:"ly4",fmla:"*/ ly2 2 1"},{name:"ry1",fmla:"+- b 0 ly4"},{name:"ly3",fmla:"+- ly4 0 ly1"},{name:"ry2",fmla:"+- b 0 ly3"},{name:"hR",fmla:"*/ a3 ss 400000"},{name:"x2",fmla:"+- hc 0 wd32"},{name:"x3",fmla:"+- hc wd32 0"},{name:"y1",fmla:"+- ly1 hR 0"},{name:"y2",fmla:"+- ry2 0 hR"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x4",y:"ry2"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"t"}},{y:{name:"adj3",min:0,max:33333},pos:{x:"x3",y:"ry2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"ly2"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x1",y:"ly1"},{type:"lnTo",x:"hc",y:"ly1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x4",y:"ry2"},{type:"lnTo",x:"x4",y:"ry1"},{type:"lnTo",x:"r",y:"ry3"},{type:"lnTo",x:"x4",y:"b"},{type:"lnTo",x:"x4",y:"ry4"},{type:"lnTo",x:"hc",y:"ry4"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"x2",y:"ly3"},{type:"lnTo",x:"x1",y:"ly3"},{type:"lnTo",x:"x1",y:"ly4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x3",y:"ry2"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"ly2"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x1",y:"ly1"},{type:"lnTo",x:"hc",y:"ly1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x4",y:"ry2"},{type:"lnTo",x:"x4",y:"ry1"},{type:"lnTo",x:"r",y:"ry3"},{type:"lnTo",x:"x4",y:"b"},{type:"lnTo",x:"x4",y:"ry4"},{type:"lnTo",x:"hc",y:"ry4"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"x2",y:"ly3"},{type:"lnTo",x:"x1",y:"ly3"},{type:"lnTo",x:"x1",y:"ly4"},{type:"close"},{type:"moveTo",x:"x3",y:"y1"},{type:"lnTo",x:"x3",y:"ry2"},{type:"moveTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"ly3"}],stroke:!0,fill:"none"}],path:"M 0.00 83.33L 93.75 0.00L 93.75 33.33L 100.00 33.33A 6.25 8.33 0 0 1 100.00 50.00A 6.25 8.33 0 0 0 100.00 66.67L 106.25 66.67L 106.25 33.33L 200.00 116.67L 106.25 200.00L 106.25 166.67L 100.00 166.67A 6.25 8.33 0 0 1 93.75 158.33L 93.75 133.33L 93.75 133.33L 93.75 166.67ZM 106.25 41.67A 6.25 8.33 0 0 1 100.00 50.00A 6.25 8.33 0 0 0 100.00 66.67L 106.25 66.67ZM 0.00 83.33L 93.75 0.00L 93.75 33.33L 100.00 33.33A 6.25 8.33 0 0 1 100.00 50.00A 6.25 8.33 0 0 0 100.00 66.67L 106.25 66.67L 106.25 33.33L 200.00 116.67L 106.25 200.00L 106.25 166.67L 100.00 166.67A 6.25 8.33 0 0 1 93.75 158.33L 93.75 133.33L 93.75 133.33L 93.75 166.67ZM 106.25 41.67L 106.25 66.67M 93.75 58.33L 93.75 133.33",range:[[0,83333],[0,46875],[0,33333]],relative:["y","x","y"]},leftRightUpArrow:{type:"leftRightUpArrow",defaultValue:[25e3,25e3,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a2",fmla:"pin 0 adj2 50000"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"q1",fmla:"+- 100000 0 maxAdj1"},{name:"maxAdj3",fmla:"*/ q1 1 2"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"x1",fmla:"*/ ss a3 100000"},{name:"dx2",fmla:"*/ ss a2 100000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x5",fmla:"+- hc dx2 0"},{name:"dx3",fmla:"*/ ss a1 200000"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc dx3 0"},{name:"x6",fmla:"+- r 0 x1"},{name:"dy2",fmla:"*/ ss a2 50000"},{name:"y2",fmla:"+- b 0 dy2"},{name:"y4",fmla:"+- b 0 dx2"},{name:"y3",fmla:"+- y4 0 dx3"},{name:"y5",fmla:"+- y4 dx3 0"},{name:"il",fmla:"*/ dx3 x1 dx2"},{name:"ir",fmla:"+- r 0 il"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x3",y:"x1"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x2",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"x1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y4"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"x1"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x5",y:"x1"},{type:"lnTo",x:"x4",y:"x1"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x6",y:"y3"},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x6",y:"b"},{type:"lnTo",x:"x6",y:"y5"},{type:"lnTo",x:"x1",y:"y5"},{type:"lnTo",x:"x1",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 150.00L 50.00 100.00L 50.00 125.00L 75.00 125.00L 75.00 50.00L 50.00 50.00L 100.00 0.00L 150.00 50.00L 125.00 50.00L 125.00 125.00L 150.00 125.00L 150.00 100.00L 200.00 150.00L 150.00 200.00L 150.00 175.00L 50.00 175.00L 50.00 200.00Z",range:[[0,5e4],[0,5e4],[0,25e3]],relative:["x","x","y"]},leftUpArrow:{type:"leftUpArrow",defaultValue:[25e3,25e3,25e3],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a2",fmla:"pin 0 adj2 50000"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"+- 100000 0 maxAdj1"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"x1",fmla:"*/ ss a3 100000"},{name:"dx2",fmla:"*/ ss a2 50000"},{name:"x2",fmla:"+- r 0 dx2"},{name:"y2",fmla:"+- b 0 dx2"},{name:"dx4",fmla:"*/ ss a2 100000"},{name:"x4",fmla:"+- r 0 dx4"},{name:"y4",fmla:"+- b 0 dx4"},{name:"dx3",fmla:"*/ ss a1 200000"},{name:"x3",fmla:"+- x4 0 dx3"},{name:"x5",fmla:"+- x4 dx3 0"},{name:"y3",fmla:"+- y4 0 dx3"},{name:"y5",fmla:"+- y4 dx3 0"},{name:"il",fmla:"*/ dx3 x1 dx4"},{name:"cx1",fmla:"+/ x1 x5 2"},{name:"cy1",fmla:"+/ x1 y5 2"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x3",y:"y3"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x2",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x3",y:"x1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y4"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"x1"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"x4",y:"t"},{type:"lnTo",x:"r",y:"x1"},{type:"lnTo",x:"x5",y:"x1"},{type:"lnTo",x:"x5",y:"y5"},{type:"lnTo",x:"x1",y:"y5"},{type:"lnTo",x:"x1",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 150.00L 50.00 100.00L 50.00 125.00L 125.00 125.00L 125.00 50.00L 100.00 50.00L 150.00 0.00L 200.00 50.00L 175.00 50.00L 175.00 175.00L 50.00 175.00L 50.00 200.00Z",range:[[0,5e4],[0,5e4],[0,5e4]],relative:["y","x","y"]},lightningBolt:{type:"lightningBolt",defaultValue:[],adjustmentNames:[],params:[{name:"x1",fmla:"*/ w 5022 21600"},{name:"x3",fmla:"*/ w 8472 21600"},{name:"x4",fmla:"*/ w 8757 21600"},{name:"x5",fmla:"*/ w 10012 21600"},{name:"x8",fmla:"*/ w 12860 21600"},{name:"x9",fmla:"*/ w 13917 21600"},{name:"x11",fmla:"*/ w 16577 21600"},{name:"y1",fmla:"*/ h 3890 21600"},{name:"y2",fmla:"*/ h 6080 21600"},{name:"y4",fmla:"*/ h 7437 21600"},{name:"y6",fmla:"*/ h 9705 21600"},{name:"y7",fmla:"*/ h 12007 21600"},{name:"y10",fmla:"*/ h 14277 21600"},{name:"y11",fmla:"*/ h 14915 21600"}],ranges:[],paths:[{path:[{type:"moveTo",x:8472,y:0},{type:"lnTo",x:12860,y:6080},{type:"lnTo",x:11050,y:6797},{type:"lnTo",x:16577,y:12007},{type:"lnTo",x:14767,y:12877},{type:"lnTo",x:21600,y:21600},{type:"lnTo",x:10012,y:14915},{type:"lnTo",x:12222,y:13987},{type:"lnTo",x:5022,y:9705},{type:"lnTo",x:7602,y:8382},{type:"lnTo",x:0,y:3890},{type:"close"}],stroke:!0,fill:"norm",w:21600,h:21600}],path:"M 78.44 0.00L 119.07 56.30L 102.31 62.94L 153.49 111.18L 136.73 119.23L 200.00 200.00L 92.70 138.10L 113.17 129.51L 46.50 89.86L 70.39 77.61L 0.00 36.02Z",range:[],relative:[]},line:{type:"line",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"b"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 200.00 200.00",range:[],relative:[]},lineInv:{type:"lineInv",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"r",y:"t"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 200.00 0.00",range:[],relative:[]},mathDivide:{type:"mathDivide",defaultValue:[23520,5880,11760],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a1",fmla:"pin 1000 adj1 36745"},{name:"ma1",fmla:"+- 0 0 a1"},{name:"ma3h",fmla:"+/ 73490 ma1 4"},{name:"ma3w",fmla:"*/ 36745 w h"},{name:"maxAdj3",fmla:"min ma3h ma3w"},{name:"a3",fmla:"pin 1000 adj3 maxAdj3"},{name:"m4a3",fmla:"*/ -4 a3 1"},{name:"maxAdj2",fmla:"+- 73490 m4a3 a1"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"yg",fmla:"*/ h a2 100000"},{name:"rad",fmla:"*/ h a3 100000"},{name:"dx1",fmla:"*/ w 73490 200000"},{name:"y3",fmla:"+- vc 0 dy1"},{name:"y4",fmla:"+- vc dy1 0"},{name:"a",fmla:"+- yg rad 0"},{name:"y2",fmla:"+- y3 0 a"},{name:"y1",fmla:"+- y2 0 rad"},{name:"y5",fmla:"+- b 0 y1"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x3",fmla:"+- hc dx1 0"},{name:"x2",fmla:"+- hc 0 rad"}],ranges:[{y:{name:"adj1",min:1e3,max:36745},pos:{x:"l",y:"y3"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"r",y:"y2"}},{x:{name:"adj3",min:1e3,max:"maxAdj3"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"hc",y:"y1"},{type:"arcTo",wR:"rad",hR:"rad",stAng:"3cd4",swAng:216e5},{type:"close"},{type:"moveTo",x:"hc",y:"y5"},{type:"arcTo",wR:"rad",hR:"rad",stAng:"cd4",swAng:216e5},{type:"close"},{type:"moveTo",x:"x1",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x1",y:"y4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 100.00 23.58A 23.52 23.52 0 1 1 99.90 23.58ZM 100.00 176.42A 23.52 23.52 0 1 1 100.10 176.42ZM 26.51 76.48L 173.49 76.48L 173.49 123.52L 26.51 123.52Z",range:[[1e3,36745],[0,2930],[1e3,12492.5]],relative:["y","y","x"]},mathEqual:{type:"mathEqual",defaultValue:[23520,11760],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 36745"},{name:"2a1",fmla:"*/ a1 2 1"},{name:"mAdj2",fmla:"+- 100000 0 2a1"},{name:"a2",fmla:"pin 0 adj2 mAdj2"},{name:"dy1",fmla:"*/ h a1 100000"},{name:"dy2",fmla:"*/ h a2 200000"},{name:"dx1",fmla:"*/ w 73490 200000"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y1",fmla:"+- y2 0 dy1"},{name:"y4",fmla:"+- y3 dy1 0"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"},{name:"yC1",fmla:"+/ y1 y2 2"},{name:"yC2",fmla:"+/ y3 y4 2"}],ranges:[{y:{name:"adj1",min:0,max:36745},pos:{x:"l",y:"y1"}},{y:{name:"adj2",min:0,max:"mAdj2"},pos:{x:"r",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"},{type:"moveTo",x:"x1",y:"y3"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"x1",y:"y4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 26.51 41.20L 173.49 41.20L 173.49 88.24L 26.51 88.24ZM 26.51 111.76L 173.49 111.76L 173.49 158.80L 26.51 158.80Z",range:[[0,36745],[0,52960]],relative:["y","y"]},mathMinus:{type:"mathMinus",defaultValue:[23520],adjustmentNames:["adj1"],params:[{name:"a1",fmla:"pin 0 adj1 100000"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"dx1",fmla:"*/ w 73490 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"l",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 26.51 76.48L 173.49 76.48L 173.49 123.52L 26.51 123.52Z",range:[[0,1e5]],relative:["y"]},mathMultiply:{type:"mathMultiply",defaultValue:[23520],adjustmentNames:["adj1"],params:[{name:"a1",fmla:"pin 0 adj1 51965"},{name:"th",fmla:"*/ ss a1 100000"},{name:"a",fmla:"at2 w h"},{name:"sa",fmla:"sin 1 a"},{name:"ca",fmla:"cos 1 a"},{name:"ta",fmla:"tan 1 a"},{name:"dl",fmla:"mod w h 0"},{name:"rw",fmla:"*/ dl 51965 100000"},{name:"lM",fmla:"+- dl 0 rw"},{name:"xM",fmla:"*/ ca lM 2"},{name:"yM",fmla:"*/ sa lM 2"},{name:"dxAM",fmla:"*/ sa th 2"},{name:"dyAM",fmla:"*/ ca th 2"},{name:"xA",fmla:"+- xM 0 dxAM"},{name:"yA",fmla:"+- yM dyAM 0"},{name:"xB",fmla:"+- xM dxAM 0"},{name:"yB",fmla:"+- yM 0 dyAM"},{name:"xBC",fmla:"+- hc 0 xB"},{name:"yBC",fmla:"*/ xBC ta 1"},{name:"yC",fmla:"+- yBC yB 0"},{name:"xD",fmla:"+- r 0 xB"},{name:"xE",fmla:"+- r 0 xA"},{name:"yFE",fmla:"+- vc 0 yA"},{name:"xFE",fmla:"*/ yFE 1 ta"},{name:"xF",fmla:"+- xE 0 xFE"},{name:"xL",fmla:"+- xA xFE 0"},{name:"yG",fmla:"+- b 0 yA"},{name:"yH",fmla:"+- b 0 yB"},{name:"yI",fmla:"+- b 0 yC"},{name:"xC2",fmla:"+- r 0 xM"},{name:"yC3",fmla:"+- b 0 yM"}],ranges:[{y:{name:"adj1",min:0,max:51965},pos:{x:"l",y:"th"}}],paths:[{path:[{type:"moveTo",x:"xA",y:"yA"},{type:"lnTo",x:"xB",y:"yB"},{type:"lnTo",x:"hc",y:"yC"},{type:"lnTo",x:"xD",y:"yB"},{type:"lnTo",x:"xE",y:"yA"},{type:"lnTo",x:"xF",y:"vc"},{type:"lnTo",x:"xE",y:"yG"},{type:"lnTo",x:"xD",y:"yH"},{type:"lnTo",x:"hc",y:"yI"},{type:"lnTo",x:"xB",y:"yH"},{type:"lnTo",x:"xA",y:"yG"},{type:"lnTo",x:"xL",y:"vc"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 31.40 64.67L 64.67 31.40L 100.00 66.74L 135.33 31.40L 168.60 64.67L 133.26 100.00L 168.60 135.33L 135.33 168.60L 100.00 133.26L 64.67 168.60L 31.40 135.33L 66.74 100.00Z",range:[[0,51965]],relative:["y"]},mathNotEqual:{type:"mathNotEqual",defaultValue:[23520,66e5,11760],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"crAng",fmla:"pin 4200000 adj2 6600000"},{name:"2a1",fmla:"*/ a1 2 1"},{name:"maxAdj3",fmla:"+- 100000 0 2a1"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"dy1",fmla:"*/ h a1 100000"},{name:"dy2",fmla:"*/ h a3 200000"},{name:"dx1",fmla:"*/ w 73490 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x8",fmla:"+- hc dx1 0"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y1",fmla:"+- y2 0 dy1"},{name:"y4",fmla:"+- y3 dy1 0"},{name:"cadj2",fmla:"+- crAng 0 cd4"},{name:"xadj2",fmla:"tan hd2 cadj2"},{name:"len",fmla:"mod xadj2 hd2 0"},{name:"bhw",fmla:"*/ len dy1 hd2"},{name:"bhw2",fmla:"*/ bhw 1 2"},{name:"x7",fmla:"+- hc xadj2 bhw2"},{name:"dx67",fmla:"*/ xadj2 y1 hd2"},{name:"x6",fmla:"+- x7 0 dx67"},{name:"dx57",fmla:"*/ xadj2 y2 hd2"},{name:"x5",fmla:"+- x7 0 dx57"},{name:"dx47",fmla:"*/ xadj2 y3 hd2"},{name:"x4",fmla:"+- x7 0 dx47"},{name:"dx37",fmla:"*/ xadj2 y4 hd2"},{name:"x3",fmla:"+- x7 0 dx37"},{name:"dx27",fmla:"*/ xadj2 2 1"},{name:"x2",fmla:"+- x7 0 dx27"},{name:"rx7",fmla:"+- x7 bhw 0"},{name:"rx6",fmla:"+- x6 bhw 0"},{name:"rx5",fmla:"+- x5 bhw 0"},{name:"rx4",fmla:"+- x4 bhw 0"},{name:"rx3",fmla:"+- x3 bhw 0"},{name:"rx2",fmla:"+- x2 bhw 0"},{name:"dx7",fmla:"*/ dy1 hd2 len"},{name:"rxt",fmla:"+- x7 dx7 0"},{name:"lxt",fmla:"+- rx7 0 dx7"},{name:"rx",fmla:"?: cadj2 rxt rx7"},{name:"lx",fmla:"?: cadj2 x7 lxt"},{name:"dy3",fmla:"*/ dy1 xadj2 len"},{name:"dy4",fmla:"+- 0 0 dy3"},{name:"ry",fmla:"?: cadj2 dy3 t"},{name:"ly",fmla:"?: cadj2 t dy4"},{name:"dlx",fmla:"+- w 0 rx"},{name:"drx",fmla:"+- w 0 lx"},{name:"dly",fmla:"+- h 0 ry"},{name:"dry",fmla:"+- h 0 ly"},{name:"xC1",fmla:"+/ rx lx 2"},{name:"xC2",fmla:"+/ drx dlx 2"},{name:"yC1",fmla:"+/ ry ly 2"},{name:"yC2",fmla:"+/ y1 y2 2"},{name:"yC3",fmla:"+/ y3 y4 2"},{name:"yC4",fmla:"+/ dry dly 2"}],ranges:[{y:{name:"adj1",min:0,max:5e4},pos:{x:"l",y:"y1"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"y2"}},{ang:{name:"adj2",min:42e5,max:66e5},pos:{x:"lx",y:"t"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"x6",y:"y1"},{type:"lnTo",x:"lx",y:"ly"},{type:"lnTo",x:"rx",y:"ry"},{type:"lnTo",x:"rx6",y:"y1"},{type:"lnTo",x:"x8",y:"y1"},{type:"lnTo",x:"x8",y:"y2"},{type:"lnTo",x:"rx5",y:"y2"},{type:"lnTo",x:"rx4",y:"y3"},{type:"lnTo",x:"x8",y:"y3"},{type:"lnTo",x:"x8",y:"y4"},{type:"lnTo",x:"rx3",y:"y4"},{type:"lnTo",x:"drx",y:"dry"},{type:"lnTo",x:"dlx",y:"dly"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x5",y:"y2"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 26.51 41.20L 96.37 41.20L 111.37 0.00L 155.57 16.09L 146.43 41.20L 173.49 41.20L 173.49 88.24L 129.31 88.24L 120.75 111.76L 173.49 111.76L 173.49 158.80L 103.63 158.80L 88.63 200.00L 44.43 183.91L 53.57 158.80L 26.51 158.80L 26.51 111.76L 70.69 111.76L 79.25 88.24L 26.51 88.24Z",range:[[0,5e4],[42e5,66e5],[0,52960]],relative:["y","ang","y"]},mathPlus:{type:"mathPlus",defaultValue:[23520],adjustmentNames:["adj1"],params:[{name:"a1",fmla:"pin 0 adj1 73490"},{name:"dx1",fmla:"*/ w 73490 200000"},{name:"dy1",fmla:"*/ h 73490 200000"},{name:"dx2",fmla:"*/ ss a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dx2"},{name:"y3",fmla:"+- vc dx2 0"},{name:"y4",fmla:"+- vc dy1 0"}],ranges:[{y:{name:"adj1",min:0,max:73490},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x4",y:"y2"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"x1",y:"y3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 26.51 76.48L 76.48 76.48L 76.48 26.51L 123.52 26.51L 123.52 76.48L 173.49 76.48L 173.49 123.52L 123.52 123.52L 123.52 173.49L 76.48 173.49L 76.48 123.52L 26.51 123.52Z",range:[[0,73490]],relative:["y"]},moon:{type:"moon",defaultValue:[5e4],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 87500"},{name:"g0",fmla:"*/ ss a 100000"},{name:"g0w",fmla:"*/ g0 w ss"},{name:"g1",fmla:"+- ss 0 g0"},{name:"g2",fmla:"*/ g0 g0 g1"},{name:"g3",fmla:"*/ ss ss g1"},{name:"g4",fmla:"*/ g3 2 1"},{name:"g5",fmla:"+- g4 0 g2"},{name:"g6",fmla:"+- g5 0 g0"},{name:"g6w",fmla:"*/ g6 w ss"},{name:"g7",fmla:"*/ g5 1 2"},{name:"g8",fmla:"+- g7 0 g0"},{name:"dy1",fmla:"*/ g8 hd2 ss"},{name:"g10h",fmla:"+- vc 0 dy1"},{name:"g11h",fmla:"+- vc dy1 0"},{name:"g12",fmla:"*/ g0 9598 32768"},{name:"g12w",fmla:"*/ g12 w ss"},{name:"g13",fmla:"+- ss 0 g12"},{name:"q1",fmla:"*/ ss ss 1"},{name:"q2",fmla:"*/ g13 g13 1"},{name:"q3",fmla:"+- q1 0 q2"},{name:"q4",fmla:"sqrt q3"},{name:"dy4",fmla:"*/ q4 hd2 ss"},{name:"g15h",fmla:"+- vc 0 dy4"},{name:"g16h",fmla:"+- vc dy4 0"},{name:"g17w",fmla:"+- g6w 0 g0w"},{name:"g18w",fmla:"*/ g17w 1 2"},{name:"dx2p",fmla:"+- g0w g18w w"},{name:"dx2",fmla:"*/ dx2p -1 1"},{name:"dy2",fmla:"*/ hd2 -1 1"},{name:"stAng1",fmla:"at2 dx2 dy2"},{name:"enAngp1",fmla:"at2 dx2 hd2"},{name:"enAng1",fmla:"+- enAngp1 0 21600000"},{name:"swAng1",fmla:"+- enAng1 0 stAng1"}],ranges:[{x:{name:"adj",min:0,max:87500},pos:{x:"g0w",y:"vc"}}],paths:[{path:[{type:"moveTo",x:"r",y:"b"},{type:"arcTo",wR:"w",hR:"hd2",stAng:"cd4",swAng:"cd2"},{type:"arcTo",wR:"g18w",hR:"dy1",stAng:"stAng1",swAng:"swAng1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 200.00 200.00A 200.00 100.00 0 0 1 200.00 0.00A 250.00 125.00 0 0 0 200.00 200.00Z",range:[[0,87500]],relative:["x"]},nonIsoscelesTrapezoid:{type:"nonIsoscelesTrapezoid",defaultValue:[25e3,25e3],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj",fmla:"*/ 50000 w ss"},{name:"a1",fmla:"pin 0 adj1 maxAdj"},{name:"a2",fmla:"pin 0 adj2 maxAdj"},{name:"x1",fmla:"*/ ss a1 200000"},{name:"x2",fmla:"*/ ss a1 100000"},{name:"dx3",fmla:"*/ ss a2 100000"},{name:"x3",fmla:"+- r 0 dx3"},{name:"x4",fmla:"+/ r x3 2"},{name:"il",fmla:"*/ wd3 a1 maxAdj"},{name:"adjm",fmla:"max a1 a2"},{name:"it",fmla:"*/ hd3 adjm maxAdj"},{name:"irt",fmla:"*/ wd3 a2 maxAdj"},{name:"ir",fmla:"+- r 0 irt"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj"},pos:{x:"x2",y:"t"}},{x:{name:"adj2",min:0,max:"maxAdj"},pos:{x:"x3",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x3",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 50.00 0.00L 150.00 0.00L 200.00 200.00Z",range:[[0,5e4],[0,5e4]],relative:["x","x"]},noSmoking:{type:"noSmoking",defaultValue:[18750],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dr",fmla:"*/ ss a 100000"},{name:"iwd2",fmla:"+- wd2 0 dr"},{name:"ihd2",fmla:"+- hd2 0 dr"},{name:"ang",fmla:"at2 w h"},{name:"ct",fmla:"cos ihd2 ang"},{name:"st",fmla:"sin iwd2 ang"},{name:"m",fmla:"mod ct st 0"},{name:"n",fmla:"*/ iwd2 ihd2 m"},{name:"drd2",fmla:"*/ dr 1 2"},{name:"dang",fmla:"at2 n drd2"},{name:"2dang",fmla:"*/ dang 2 1"},{name:"swAng",fmla:"+- -10800000 2dang 0"},{name:"t3",fmla:"at2 w h"},{name:"stAng1",fmla:"+- t3 0 dang"},{name:"stAng2",fmla:"+- stAng1 0 cd2"},{name:"ct1",fmla:"cos ihd2 stAng1"},{name:"st1",fmla:"sin iwd2 stAng1"},{name:"m1",fmla:"mod ct1 st1 0"},{name:"n1",fmla:"*/ iwd2 ihd2 m1"},{name:"dx1",fmla:"cos n1 stAng1"},{name:"dy1",fmla:"sin n1 stAng1"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc dy1 0"},{name:"x2",fmla:"+- hc 0 dx1"},{name:"y2",fmla:"+- vc 0 dy1"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{r:{name:"adj",min:0,max:5e4},pos:{x:"dr",y:"vc"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"3cd4",swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"},{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:"stAng1",swAng:"swAng"},{type:"close"},{type:"moveTo",x:"x2",y:"y2"},{type:"arcTo",wR:"iwd2",hR:"ihd2",stAng:"stAng2",swAng:"swAng"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00A 100.00 100.00 0 0 1 200.00 100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00ZM 155.03 129.63A 62.50 62.50 0 0 0 70.37 44.97ZM 44.97 70.37A 62.50 62.50 0 0 0 129.63 155.03Z",range:[[0,5e4]],relative:["r"]},notchedRightArrow:{type:"notchedRightArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 100000 w ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"dx2",fmla:"*/ ss a2 100000"},{name:"x2",fmla:"+- r 0 dx2"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"x1",fmla:"*/ dy1 dx2 hd2"},{name:"x3",fmla:"+- r 0 x1"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"r",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"l",y:"y2"},{type:"lnTo",x:"x1",y:"vc"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 0.00 150.00L 50.00 100.00Z",range:[[0,1e5],[0,1e5]],relative:["y","x"]},octagon:{type:"octagon",defaultValue:[29289],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- b 0 x1"},{name:"il",fmla:"*/ x1 1 2"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"x1"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"x1"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"l",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 58.58L 58.58 0.00L 141.42 0.00L 200.00 58.58L 200.00 141.42L 141.42 200.00L 58.58 200.00L 0.00 141.42Z",range:[[0,5e4]],relative:["x"]},parallelogram:{type:"parallelogram",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 100000 w ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"x1",fmla:"*/ ss a 200000"},{name:"x2",fmla:"*/ ss a 100000"},{name:"x6",fmla:"+- r 0 x1"},{name:"x5",fmla:"+- r 0 x2"},{name:"x3",fmla:"*/ x5 1 2"},{name:"x4",fmla:"+- r 0 x3"},{name:"il",fmla:"*/ wd2 a maxAdj"},{name:"q1",fmla:"*/ 5 a maxAdj"},{name:"q2",fmla:"+/ 1 q1 12"},{name:"il",fmla:"*/ q2 w 1"},{name:"it",fmla:"*/ q2 h 1"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 it"},{name:"q3",fmla:"*/ h hc x2"},{name:"y1",fmla:"pin 0 q3 h"},{name:"y2",fmla:"+- b 0 y1"}],ranges:[{x:{name:"adj",min:0,max:"maxAdj"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"x5",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 50.00 0.00L 200.00 0.00L 150.00 200.00Z",range:[[0,1e5]],relative:["x"]},pentagon:{type:"pentagon",defaultValue:[105146,110557],adjustmentNames:["hf","vf"],params:[{name:"swd2",fmla:"*/ wd2 hf 100000"},{name:"shd2",fmla:"*/ hd2 vf 100000"},{name:"svc",fmla:"*/ vc vf 100000"},{name:"dx1",fmla:"cos swd2 1080000"},{name:"dx2",fmla:"cos swd2 18360000"},{name:"dy1",fmla:"sin shd2 1080000"},{name:"dy2",fmla:"sin shd2 18360000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- svc 0 dy1"},{name:"y2",fmla:"+- svc 0 dy2"},{name:"it",fmla:"*/ y1 dx2 dx1"}],ranges:[],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 76.39L 100.00 0.00L 200.00 76.39L 161.80 200.00L 38.20 200.00Z",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["",""]},pie:{type:"pie",defaultValue:[0,162e5],adjustmentNames:["adj1","adj2"],params:[{name:"stAng",fmla:"pin 0 adj1 21599999"},{name:"enAng",fmla:"pin 0 adj2 21599999"},{name:"sw1",fmla:"+- enAng 0 stAng"},{name:"sw2",fmla:"+- sw1 21600000 0"},{name:"swAng",fmla:"?: sw1 sw1 sw2"},{name:"wt1",fmla:"sin wd2 stAng"},{name:"ht1",fmla:"cos hd2 stAng"},{name:"dx1",fmla:"cat2 wd2 ht1 wt1"},{name:"dy1",fmla:"sat2 hd2 ht1 wt1"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc dy1 0"},{name:"wt2",fmla:"sin wd2 enAng"},{name:"ht2",fmla:"cos hd2 enAng"},{name:"dx2",fmla:"cat2 wd2 ht2 wt2"},{name:"dy2",fmla:"sat2 hd2 ht2 wt2"},{name:"x2",fmla:"+- hc dx2 0"},{name:"y2",fmla:"+- vc dy2 0"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{ang:{name:"adj1",min:0,max:21599999},pos:{x:"x1",y:"y1"}},{ang:{name:"adj2",min:0,max:21599999},pos:{x:"x2",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"stAng",swAng:"swAng"},{type:"lnTo",x:"hc",y:"vc"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 200.00 100.00A 100.00 100.00 0 1 1 100.00 0.00L 100.00 100.00Z",range:[[0,21599999],[0,21599999]],relative:["ang","ang"]},pieWedge:{type:"pieWedge",defaultValue:[],adjustmentNames:[],params:[{name:"g1",fmla:"cos w 13500000"},{name:"g2",fmla:"sin h 13500000"},{name:"x1",fmla:"+- r g1 0"},{name:"y1",fmla:"+- b g2 0"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"arcTo",wR:"w",hR:"h",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00A 200.00 200.00 0 0 1 200.00 -0.00L 200.00 200.00Z",range:[],relative:[]},plaque:{type:"plaque",defaultValue:[16667],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- b 0 x1"},{name:"il",fmla:"*/ x1 70711 100000"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"x2",y:"t"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:-54e5},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"x1",y:"b"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:-54e5},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 33.33A 33.33 33.33 0 0 0 33.33 0.00L 166.67 0.00A 33.33 33.33 0 0 0 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 0 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 0 0.00 166.67Z",range:[[0,5e4]],relative:["x"]},plaqueTabs:{type:"plaqueTabs",defaultValue:[],adjustmentNames:[],params:[{name:"md",fmla:"mod w h 0"},{name:"dx",fmla:"*/ 1 md 20"},{name:"y1",fmla:"+- 0 b dx"},{name:"x1",fmla:"+- 0 r dx"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"dx",y:"t"},{type:"arcTo",wR:"dx",hR:"dx",stAng:0,swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"y1"},{type:"arcTo",wR:"dx",hR:"dx",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"dx"},{type:"arcTo",wR:"dx",hR:"dx",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"b"},{type:"arcTo",wR:"dx",hR:"dx",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 14.14 0.00A 14.14 14.14 0 0 1 -0.00 14.14ZM 0.00 185.86A 14.14 14.14 0 0 1 14.14 200.00L 0.00 200.00ZM 200.00 0.00L 200.00 14.14A 14.14 14.14 0 0 1 185.86 -0.00ZM 185.86 200.00A 14.14 14.14 0 0 1 200.00 185.86L 200.00 200.00Z",range:[],relative:[]},plus:{type:"plus",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- b 0 x1"},{name:"d",fmla:"+- w 0 h"},{name:"il",fmla:"?: d l x1"},{name:"ir",fmla:"?: d r x2"},{name:"it",fmla:"?: d x1 t"},{name:"ib",fmla:"?: d y2 b"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"x1"},{type:"lnTo",x:"x1",y:"x1"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"r",y:"x1"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"l",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 50.00L 50.00 50.00L 50.00 0.00L 150.00 0.00L 150.00 50.00L 200.00 50.00L 200.00 150.00L 150.00 150.00L 150.00 200.00L 50.00 200.00L 50.00 150.00L 0.00 150.00Z",range:[[0,5e4]],relative:["x"]},quadArrow:{type:"quadArrow",defaultValue:[22500,22500,22500],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"a2",fmla:"pin 0 adj2 50000"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"q1",fmla:"+- 100000 0 maxAdj1"},{name:"maxAdj3",fmla:"*/ q1 1 2"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"x1",fmla:"*/ ss a3 100000"},{name:"dx2",fmla:"*/ ss a2 100000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x5",fmla:"+- hc dx2 0"},{name:"dx3",fmla:"*/ ss a1 200000"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc dx3 0"},{name:"x6",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- vc 0 dx2"},{name:"y5",fmla:"+- vc dx2 0"},{name:"y3",fmla:"+- vc 0 dx3"},{name:"y4",fmla:"+- vc dx3 0"},{name:"y6",fmla:"+- b 0 x1"},{name:"il",fmla:"*/ dx3 x1 dx2"},{name:"ir",fmla:"+- r 0 il"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x3",y:"x1"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x2",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"x1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"x1"},{type:"lnTo",x:"x2",y:"x1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x5",y:"x1"},{type:"lnTo",x:"x4",y:"x1"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"x6",y:"y3"},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x6",y:"y5"},{type:"lnTo",x:"x6",y:"y4"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"x4",y:"y6"},{type:"lnTo",x:"x5",y:"y6"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"x2",y:"y6"},{type:"lnTo",x:"x3",y:"y6"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"x1",y:"y5"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 45.00 55.00L 45.00 77.50L 77.50 77.50L 77.50 45.00L 55.00 45.00L 100.00 0.00L 145.00 45.00L 122.50 45.00L 122.50 77.50L 155.00 77.50L 155.00 55.00L 200.00 100.00L 155.00 145.00L 155.00 122.50L 122.50 122.50L 122.50 155.00L 145.00 155.00L 100.00 200.00L 55.00 155.00L 77.50 155.00L 77.50 122.50L 45.00 122.50L 45.00 145.00Z",range:[[0,45e3],[0,5e4],[0,27500]],relative:["x","x","y"]},quadArrowCallout:{type:"quadArrowCallout",defaultValue:[18515,18515,18515,48123],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"a2",fmla:"pin 0 adj2 50000"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"+- 50000 0 a2"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 2 1"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin a1 adj4 maxAdj4"},{name:"dx2",fmla:"*/ ss a2 100000"},{name:"dx3",fmla:"*/ ss a1 200000"},{name:"ah",fmla:"*/ ss a3 100000"},{name:"dx1",fmla:"*/ w a4 200000"},{name:"dy1",fmla:"*/ h a4 200000"},{name:"x8",fmla:"+- r 0 ah"},{name:"x2",fmla:"+- hc 0 dx1"},{name:"x7",fmla:"+- hc dx1 0"},{name:"x3",fmla:"+- hc 0 dx2"},{name:"x6",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc 0 dx3"},{name:"x5",fmla:"+- hc dx3 0"},{name:"y8",fmla:"+- b 0 ah"},{name:"y2",fmla:"+- vc 0 dy1"},{name:"y7",fmla:"+- vc dy1 0"},{name:"y3",fmla:"+- vc 0 dx2"},{name:"y6",fmla:"+- vc dx2 0"},{name:"y4",fmla:"+- vc 0 dx3"},{name:"y5",fmla:"+- vc dx3 0"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x4",y:"ah"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x3",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"ah"}},{y:{name:"adj4",min:"a1",max:"maxAdj4"},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"ah",y:"y3"},{type:"lnTo",x:"ah",y:"y4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x4",y:"y2"},{type:"lnTo",x:"x4",y:"ah"},{type:"lnTo",x:"x3",y:"ah"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x6",y:"ah"},{type:"lnTo",x:"x5",y:"ah"},{type:"lnTo",x:"x5",y:"y2"},{type:"lnTo",x:"x7",y:"y2"},{type:"lnTo",x:"x7",y:"y4"},{type:"lnTo",x:"x8",y:"y4"},{type:"lnTo",x:"x8",y:"y3"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x8",y:"y6"},{type:"lnTo",x:"x8",y:"y5"},{type:"lnTo",x:"x7",y:"y5"},{type:"lnTo",x:"x7",y:"y7"},{type:"lnTo",x:"x5",y:"y7"},{type:"lnTo",x:"x5",y:"y8"},{type:"lnTo",x:"x6",y:"y8"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"x3",y:"y8"},{type:"lnTo",x:"x4",y:"y8"},{type:"lnTo",x:"x4",y:"y7"},{type:"lnTo",x:"x2",y:"y7"},{type:"lnTo",x:"x2",y:"y5"},{type:"lnTo",x:"ah",y:"y5"},{type:"lnTo",x:"ah",y:"y6"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 37.03 62.97L 37.03 81.48L 51.88 81.48L 51.88 51.88L 81.48 51.88L 81.48 37.03L 62.97 37.03L 100.00 0.00L 137.03 37.03L 118.52 37.03L 118.52 51.88L 148.12 51.88L 148.12 81.48L 162.97 81.48L 162.97 62.97L 200.00 100.00L 162.97 137.03L 162.97 118.52L 148.12 118.52L 148.12 148.12L 118.52 148.12L 118.52 162.97L 137.03 162.97L 100.00 200.00L 62.97 162.97L 81.48 162.97L 81.48 148.12L 51.88 148.12L 51.88 118.52L 37.03 118.52L 37.03 137.03Z",range:[[0,37030],[0,5e4],[0,31485],[18515,62970]],relative:["x","x","y","y"]},rect:{type:"rect",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 200.00 0.00L 200.00 200.00L 0.00 200.00Z",range:[],relative:[]},ribbon:{type:"ribbon",defaultValue:[16667,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 33333"},{name:"a2",fmla:"pin 25000 adj2 75000"},{name:"x10",fmla:"+- r 0 wd8"},{name:"dx2",fmla:"*/ w a2 200000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x9",fmla:"+- hc dx2 0"},{name:"x3",fmla:"+- x2 wd32 0"},{name:"x8",fmla:"+- x9 0 wd32"},{name:"x5",fmla:"+- x2 wd8 0"},{name:"x6",fmla:"+- x9 0 wd8"},{name:"x4",fmla:"+- x5 0 wd32"},{name:"x7",fmla:"+- x6 wd32 0"},{name:"y1",fmla:"*/ h a1 200000"},{name:"y2",fmla:"*/ h a1 100000"},{name:"y4",fmla:"+- b 0 y2"},{name:"y3",fmla:"*/ y4 1 2"},{name:"hR",fmla:"*/ h a1 400000"},{name:"y5",fmla:"+- b 0 hR"},{name:"y6",fmla:"+- y2 0 hR"}],ranges:[{y:{name:"adj1",min:0,max:33333},pos:{x:"hc",y:"y2"}},{x:{name:"adj2",min:25e3,max:75e3},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x4",y:"t"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x8",y:"y2"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:-108e5},{type:"lnTo",x:"x7",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd2"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"x10",y:"y3"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"x9",y:"y5"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x3",y:"b"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"l",y:"y4"},{type:"lnTo",x:"wd8",y:"y3"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x5",y:"hR"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x5",y:"y2"},{type:"close"},{type:"moveTo",x:"x6",y:"hR"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd2",swAng:-54e5},{type:"lnTo",x:"x8",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"x6",y:"y2"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x4",y:"t"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x8",y:"y2"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:-108e5},{type:"lnTo",x:"x7",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd2"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"x10",y:"y3"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"x9",y:"y5"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x3",y:"b"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"l",y:"y4"},{type:"lnTo",x:"wd8",y:"y3"},{type:"close"},{type:"moveTo",x:"x5",y:"hR"},{type:"lnTo",x:"x5",y:"y2"},{type:"moveTo",x:"x6",y:"y2"},{type:"lnTo",x:"x6",y:"hR"},{type:"moveTo",x:"x2",y:"y4"},{type:"lnTo",x:"x2",y:"y6"},{type:"moveTo",x:"x9",y:"y6"},{type:"lnTo",x:"x9",y:"y4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 68.75 0.00A 6.25 8.33 0 0 1 68.75 16.67L 56.25 16.67A 6.25 8.33 0 0 0 56.25 33.33L 143.75 33.33A 6.25 8.33 0 0 0 143.75 16.67L 131.25 16.67A 6.25 8.33 0 0 1 131.25 0.00L 200.00 0.00L 175.00 83.33L 200.00 166.67L 150.00 166.67L 150.00 191.67A 6.25 8.33 0 0 1 143.75 200.00L 56.25 200.00A 6.25 8.33 0 0 1 50.00 191.67L 50.00 166.67L 0.00 166.67L 25.00 83.33ZM 75.00 8.33A 6.25 8.33 0 0 1 68.75 16.67L 56.25 16.67A 6.25 8.33 0 0 0 56.25 33.33L 75.00 33.33ZM 125.00 8.33A 6.25 8.33 0 0 0 131.25 16.67L 143.75 16.67A 6.25 8.33 0 0 1 143.75 33.33L 125.00 33.33ZM 0.00 0.00L 68.75 0.00A 6.25 8.33 0 0 1 68.75 16.67L 56.25 16.67A 6.25 8.33 0 0 0 56.25 33.33L 143.75 33.33A 6.25 8.33 0 0 0 143.75 16.67L 131.25 16.67A 6.25 8.33 0 0 1 131.25 0.00L 200.00 0.00L 175.00 83.33L 200.00 166.67L 150.00 166.67L 150.00 191.67A 6.25 8.33 0 0 1 143.75 200.00L 56.25 200.00A 6.25 8.33 0 0 1 50.00 191.67L 50.00 166.67L 0.00 166.67L 25.00 83.33ZM 75.00 8.33L 75.00 33.33M 125.00 33.33L 125.00 8.33M 50.00 166.67L 50.00 25.00M 150.00 25.00L 150.00 166.67",range:[[0,33333],[25e3,75e3]],relative:["y","x"]},ribbon2:{type:"ribbon2",defaultValue:[16667,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 33333"},{name:"a2",fmla:"pin 25000 adj2 75000"},{name:"x10",fmla:"+- r 0 wd8"},{name:"dx2",fmla:"*/ w a2 200000"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x9",fmla:"+- hc dx2 0"},{name:"x3",fmla:"+- x2 wd32 0"},{name:"x8",fmla:"+- x9 0 wd32"},{name:"x5",fmla:"+- x2 wd8 0"},{name:"x6",fmla:"+- x9 0 wd8"},{name:"x4",fmla:"+- x5 0 wd32"},{name:"x7",fmla:"+- x6 wd32 0"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"y1",fmla:"+- b 0 dy1"},{name:"dy2",fmla:"*/ h a1 100000"},{name:"y2",fmla:"+- b 0 dy2"},{name:"y4",fmla:"+- t dy2 0"},{name:"y3",fmla:"+/ y4 b 2"},{name:"hR",fmla:"*/ h a1 400000"},{name:"y6",fmla:"+- b 0 hR"},{name:"y7",fmla:"+- y1 0 hR"}],ranges:[{y:{name:"adj1",min:0,max:33333},pos:{x:"hc",y:"y2"}},{x:{name:"adj2",min:25e3,max:75e3},pos:{x:"x2",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x4",y:"b"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:-108e5},{type:"lnTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd2"},{type:"lnTo",x:"x8",y:"y2"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"x7",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x10",y:"y3"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"x9",y:"hR"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:0,swAng:-54e5},{type:"lnTo",x:"x3",y:"t"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"l",y:"y4"},{type:"lnTo",x:"wd8",y:"y3"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x5",y:"y6"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:0,swAng:-54e5},{type:"lnTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd2"},{type:"lnTo",x:"x5",y:"y2"},{type:"close"},{type:"moveTo",x:"x6",y:"y6"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x8",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:-108e5},{type:"lnTo",x:"x6",y:"y2"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"wd8",y:"y3"},{type:"lnTo",x:"l",y:"y4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"x2",y:"hR"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x8",y:"t"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x10",y:"y3"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x7",y:"b"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:"cd2"},{type:"lnTo",x:"x8",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"cd4",swAng:-108e5},{type:"lnTo",x:"x3",y:"y2"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:-108e5},{type:"lnTo",x:"x4",y:"y1"},{type:"arcTo",wR:"wd32",hR:"hR",stAng:"3cd4",swAng:"cd2"},{type:"close"},{type:"moveTo",x:"x5",y:"y2"},{type:"lnTo",x:"x5",y:"y6"},{type:"moveTo",x:"x6",y:"y6"},{type:"lnTo",x:"x6",y:"y2"},{type:"moveTo",x:"x2",y:"y7"},{type:"lnTo",x:"x2",y:"y4"},{type:"moveTo",x:"x9",y:"y4"},{type:"lnTo",x:"x9",y:"y7"}],stroke:!0,fill:"none"}],path:"M 0.00 200.00L 68.75 200.00A 6.25 8.33 0 0 0 68.75 183.33L 56.25 183.33A 6.25 8.33 0 0 1 56.25 166.67L 143.75 166.67A 6.25 8.33 0 0 1 143.75 183.33L 131.25 183.33A 6.25 8.33 0 0 0 131.25 200.00L 200.00 200.00L 175.00 116.67L 200.00 33.33L 150.00 33.33L 150.00 8.33A 6.25 8.33 0 0 0 143.75 0.00L 56.25 0.00A 6.25 8.33 0 0 0 50.00 8.33L 50.00 33.33L 0.00 33.33L 25.00 116.67ZM 75.00 191.67A 6.25 8.33 0 0 0 68.75 183.33L 56.25 183.33A 6.25 8.33 0 0 1 56.25 166.67L 75.00 166.67ZM 125.00 191.67A 6.25 8.33 0 0 1 131.25 183.33L 143.75 183.33A 6.25 8.33 0 0 0 143.75 166.67L 125.00 166.67ZM 0.00 200.00L 25.00 116.67L 0.00 33.33L 50.00 33.33L 50.00 8.33A 6.25 8.33 0 0 1 56.25 0.00L 143.75 0.00A 6.25 8.33 0 0 1 150.00 8.33L 150.00 33.33L 150.00 33.33L 200.00 33.33L 175.00 116.67L 200.00 200.00L 131.25 200.00A 6.25 8.33 0 0 1 131.25 183.33L 143.75 183.33A 6.25 8.33 0 0 0 143.75 166.67L 56.25 166.67A 6.25 8.33 0 0 0 56.25 183.33L 68.75 183.33A 6.25 8.33 0 0 1 68.75 200.00ZM 75.00 166.67L 75.00 191.67M 125.00 191.67L 125.00 166.67M 50.00 175.00L 50.00 33.33M 150.00 33.33L 150.00 175.00",range:[[0,33333],[25e3,75e3]],relative:["y","x"]},rightArrow:{type:"rightArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 100000 w ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"dx1",fmla:"*/ ss a2 100000"},{name:"x1",fmla:"+- r 0 dx1"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"dx2",fmla:"*/ y1 dx1 hd2"},{name:"x2",fmla:"+- x1 dx2 0"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"l",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"l",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 0.00 150.00Z",range:[[0,1e5],[0,1e5]],relative:["y","x"]},rightArrowCallout:{type:"rightArrowCallout",defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"*/ 100000 w ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 ss w"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"dy1",fmla:"*/ ss a2 100000"},{name:"dy2",fmla:"*/ ss a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y4",fmla:"+- vc dy1 0"},{name:"dx3",fmla:"*/ ss a3 100000"},{name:"x3",fmla:"+- r 0 dx3"},{name:"x2",fmla:"*/ w a4 100000"},{name:"x1",fmla:"*/ x2 1 2"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x3",y:"y2"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"r",y:"y1"}},{x:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x3",y:"t"}},{x:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"x2",y:"b"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 129.95 0.00L 129.95 75.00L 150.00 75.00L 150.00 50.00L 200.00 100.00L 150.00 150.00L 150.00 125.00L 129.95 125.00L 129.95 200.00L 0.00 200.00Z",range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:["y","y","x","x"]},rightBrace:{type:"rightBrace",defaultValue:[8333,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"a2",fmla:"pin 0 adj2 100000"},{name:"q1",fmla:"+- 100000 0 a2"},{name:"q2",fmla:"min q1 a2"},{name:"q3",fmla:"*/ q2 1 2"},{name:"maxAdj1",fmla:"*/ q3 h ss"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"y1",fmla:"*/ ss a1 100000"},{name:"y3",fmla:"*/ h a2 100000"},{name:"y2",fmla:"+- y3 0 y1"},{name:"y4",fmla:"+- b 0 y1"},{name:"dx1",fmla:"cos wd2 2700000"},{name:"dy1",fmla:"sin y1 2700000"},{name:"ir",fmla:"+- l dx1 0"},{name:"it",fmla:"+- y1 0 dy1"},{name:"ib",fmla:"+- b dy1 y1"}],ranges:[{y:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"hc",y:"y1"}},{y:{name:"adj2",min:0,max:1e5},pos:{x:"r",y:"y3"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"hc",y:"y2"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:-54e5},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"hc",y:"y4"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"hc",y:"y2"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"cd2",swAng:-54e5},{type:"arcTo",wR:"wd2",hR:"y1",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"hc",y:"y4"},{type:"arcTo",wR:"wd2",hR:"y1",stAng:0,swAng:"cd4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00A 100.00 16.67 0 0 1 100.00 16.67L 100.00 83.33A 100.00 16.67 0 0 0 200.00 100.00A 100.00 16.67 0 0 0 100.00 116.67L 100.00 183.33A 100.00 16.67 0 0 1 0.00 200.00ZM 0.00 0.00A 100.00 16.67 0 0 1 100.00 16.67L 100.00 83.33A 100.00 16.67 0 0 0 200.00 100.00A 100.00 16.67 0 0 0 100.00 116.67L 100.00 183.33A 100.00 16.67 0 0 1 0.00 200.00",range:[[0,25e3],[0,1e5]],relative:["y","y"]},rightBracket:{type:"rightBracket",defaultValue:[8333],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 50000 h ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"y1",fmla:"*/ ss a 100000"},{name:"y2",fmla:"+- b 0 y1"},{name:"dx1",fmla:"cos w 2700000"},{name:"dy1",fmla:"sin y1 2700000"},{name:"ir",fmla:"+- l dx1 0"},{name:"it",fmla:"+- y1 0 dy1"},{name:"ib",fmla:"+- b dy1 y1"}],ranges:[{y:{name:"adj",min:0,max:"maxAdj"},pos:{x:"r",y:"y1"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"arcTo",wR:"w",hR:"y1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"w",hR:"y1",stAng:0,swAng:"cd4"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"t"},{type:"arcTo",wR:"w",hR:"y1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"w",hR:"y1",stAng:0,swAng:"cd4"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00A 200.00 16.67 0 0 1 200.00 16.67L 200.00 183.33A 200.00 16.67 0 0 1 0.00 200.00ZM 0.00 0.00A 200.00 16.67 0 0 1 200.00 16.67L 200.00 183.33A 200.00 16.67 0 0 1 0.00 200.00",range:[[0,5e4]],relative:["y"]},round1Rect:{type:"round1Rect",defaultValue:[16667],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"*/ ss a 100000"},{name:"x1",fmla:"+- r 0 dx1"},{name:"idx",fmla:"*/ dx1 29289 100000"},{name:"ir",fmla:"+- r 0 idx"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"arcTo",wR:"dx1",hR:"dx1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 200.00L 0.00 200.00Z",range:[[0,5e4]],relative:["x"]},round2DiagRect:{type:"round2DiagRect",defaultValue:[16667,0],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"a2",fmla:"pin 0 adj2 50000"},{name:"x1",fmla:"*/ ss a1 100000"},{name:"y1",fmla:"+- b 0 x1"},{name:"a",fmla:"*/ ss a2 100000"},{name:"x2",fmla:"+- r 0 a"},{name:"y2",fmla:"+- b 0 a"},{name:"dx1",fmla:"*/ x1 29289 100000"},{name:"dx2",fmla:"*/ a 29289 100000"},{name:"d",fmla:"+- dx1 0 dx2"},{name:"dx",fmla:"?: d dx1 dx2"},{name:"ir",fmla:"+- r 0 dx"},{name:"ib",fmla:"+- b 0 dx"}],ranges:[{x:{name:"adj1",min:0,max:5e4},pos:{x:"x1",y:"t"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"arcTo",wR:"a",hR:"a",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:"cd4"},{type:"lnTo",x:"a",y:"b"},{type:"arcTo",wR:"a",hR:"a",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 33.33 0.00L 200.00 0.00A 0.00 0.00 0 0 1 200.00 0.00L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 0.00 200.00A 0.00 0.00 0 0 1 0.00 200.00L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00Z",range:[[0,5e4],[0,5e4]],relative:["x","x"]},round2SameRect:{type:"round2SameRect",defaultValue:[16667,0],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"a2",fmla:"pin 0 adj2 50000"},{name:"tx1",fmla:"*/ ss a1 100000"},{name:"tx2",fmla:"+- r 0 tx1"},{name:"bx1",fmla:"*/ ss a2 100000"},{name:"bx2",fmla:"+- r 0 bx1"},{name:"by1",fmla:"+- b 0 bx1"},{name:"d",fmla:"+- tx1 0 bx1"},{name:"tdx",fmla:"*/ tx1 29289 100000"},{name:"bdx",fmla:"*/ bx1 29289 100000"},{name:"il",fmla:"?: d tdx bdx"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 bdx"}],ranges:[{x:{name:"adj1",min:0,max:5e4},pos:{x:"tx2",y:"t"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"bx1",y:"b"}}],paths:[{path:[{type:"moveTo",x:"tx1",y:"t"},{type:"lnTo",x:"tx2",y:"t"},{type:"arcTo",wR:"tx1",hR:"tx1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"by1"},{type:"arcTo",wR:"bx1",hR:"bx1",stAng:0,swAng:"cd4"},{type:"lnTo",x:"bx1",y:"b"},{type:"arcTo",wR:"bx1",hR:"bx1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"tx1"},{type:"arcTo",wR:"tx1",hR:"tx1",stAng:"cd2",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 33.33 0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 200.00A 0.00 0.00 0 0 1 200.00 200.00L 0.00 200.00A 0.00 0.00 0 0 1 0.00 200.00L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00Z",range:[[0,5e4],[0,5e4]],relative:["x","x"]},roundRect:{type:"roundRect",defaultValue:[16667],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"x1",fmla:"*/ ss a 100000"},{name:"x2",fmla:"+- r 0 x1"},{name:"y2",fmla:"+- b 0 x1"},{name:"il",fmla:"*/ x1 29289 100000"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x2",y:"t"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y2"},{type:"arcTo",wR:"x1",hR:"x1",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x1",y:"b"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67Z",range:[[0,5e4]],relative:["x"]},rtTriangle:{type:"rtTriangle",defaultValue:[],adjustmentNames:[],params:[{name:"it",fmla:"*/ h 7 12"},{name:"ir",fmla:"*/ w 7 12"},{name:"ib",fmla:"*/ h 11 12"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 0.00 0.00L 200.00 200.00Z",range:[],relative:[]},smileyFace:{type:"smileyFace",defaultValue:[4653],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin -4653 adj 4653"},{name:"x1",fmla:"*/ w 4969 21699"},{name:"x2",fmla:"*/ w 6215 21600"},{name:"x3",fmla:"*/ w 13135 21600"},{name:"x4",fmla:"*/ w 16640 21600"},{name:"y1",fmla:"*/ h 7570 21600"},{name:"y3",fmla:"*/ h 16515 21600"},{name:"dy2",fmla:"*/ h a 100000"},{name:"y2",fmla:"+- y3 0 dy2"},{name:"y4",fmla:"+- y3 dy2 0"},{name:"dy3",fmla:"*/ h a 50000"},{name:"y5",fmla:"+- y4 dy3 0"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"},{name:"wR",fmla:"*/ w 1125 21600"},{name:"hR",fmla:"*/ h 1125 21600"}],ranges:[{y:{name:"adj",min:-4653,max:4653},pos:{x:"hc",y:"y4"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:216e5},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x2",y:"y1"},{type:"arcTo",wR:"wR",hR:"hR",stAng:"cd2",swAng:216e5},{type:"moveTo",x:"x3",y:"y1"},{type:"arcTo",wR:"wR",hR:"hR",stAng:"cd2",swAng:216e5}],stroke:!0,fill:"darkenLess"},{path:[{type:"moveTo",x:"x1",y:"y2"},{type:"quadBezTo",pts:[{x:"hc",y:"y5"},{x:"x4",y:"y2"}]}],stroke:!0,fill:"none"},{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:216e5},{type:"close"}],stroke:!0,fill:"none"}],path:"M 0.00 100.00A 100.00 100.00 0 1 1 0.00 100.44ZM 57.55 70.09A 10.42 10.42 0 1 1 57.55 70.14M 121.62 70.09A 10.42 10.42 0 1 1 121.62 70.14M 45.80 143.61Q 100.00,180.83 154.07,143.61M 0.00 100.00A 100.00 100.00 0 1 1 0.00 100.44Z",range:[[-4653,4653]],relative:["y"]},snip1Rect:{type:"snip1Rect",defaultValue:[16667],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"*/ ss a 100000"},{name:"x1",fmla:"+- r 0 dx1"},{name:"it",fmla:"*/ dx1 1 2"},{name:"ir",fmla:"+/ x1 r 2"}],ranges:[{x:{name:"adj",min:0,max:5e4},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"r",y:"dx1"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 0.00 200.00Z",range:[[0,5e4]],relative:["x"]},snip2DiagRect:{type:"snip2DiagRect",defaultValue:[0,16667],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"a2",fmla:"pin 0 adj2 50000"},{name:"lx1",fmla:"*/ ss a1 100000"},{name:"lx2",fmla:"+- r 0 lx1"},{name:"ly1",fmla:"+- b 0 lx1"},{name:"rx1",fmla:"*/ ss a2 100000"},{name:"rx2",fmla:"+- r 0 rx1"},{name:"ry1",fmla:"+- b 0 rx1"},{name:"d",fmla:"+- lx1 0 rx1"},{name:"dx",fmla:"?: d lx1 rx1"},{name:"il",fmla:"*/ dx 1 2"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[{x:{name:"adj1",min:0,max:5e4},pos:{x:"lx1",y:"t"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"rx2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"lx1",y:"t"},{type:"lnTo",x:"rx2",y:"t"},{type:"lnTo",x:"r",y:"rx1"},{type:"lnTo",x:"r",y:"ly1"},{type:"lnTo",x:"lx2",y:"b"},{type:"lnTo",x:"rx1",y:"b"},{type:"lnTo",x:"l",y:"ry1"},{type:"lnTo",x:"l",y:"lx1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 200.00 200.00L 33.33 200.00L 0.00 166.67L 0.00 0.00Z",range:[[0,5e4],[0,5e4]],relative:["x","x"]},snip2SameRect:{type:"snip2SameRect",defaultValue:[16667,0],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"a2",fmla:"pin 0 adj2 50000"},{name:"tx1",fmla:"*/ ss a1 100000"},{name:"tx2",fmla:"+- r 0 tx1"},{name:"bx1",fmla:"*/ ss a2 100000"},{name:"bx2",fmla:"+- r 0 bx1"},{name:"by1",fmla:"+- b 0 bx1"},{name:"d",fmla:"+- tx1 0 bx1"},{name:"dx",fmla:"?: d tx1 bx1"},{name:"il",fmla:"*/ dx 1 2"},{name:"ir",fmla:"+- r 0 il"},{name:"it",fmla:"*/ tx1 1 2"},{name:"ib",fmla:"+/ by1 b 2"}],ranges:[{x:{name:"adj1",min:0,max:5e4},pos:{x:"tx2",y:"t"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"bx1",y:"b"}}],paths:[{path:[{type:"moveTo",x:"tx1",y:"t"},{type:"lnTo",x:"tx2",y:"t"},{type:"lnTo",x:"r",y:"tx1"},{type:"lnTo",x:"r",y:"by1"},{type:"lnTo",x:"bx2",y:"b"},{type:"lnTo",x:"bx1",y:"b"},{type:"lnTo",x:"l",y:"by1"},{type:"lnTo",x:"l",y:"tx1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 33.33 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 200.00 200.00L 0.00 200.00L 0.00 200.00L 0.00 33.33Z",range:[[0,5e4],[0,5e4]],relative:["x","x"]},snipRoundRect:{type:"snipRoundRect",defaultValue:[16667,16667],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 50000"},{name:"a2",fmla:"pin 0 adj2 50000"},{name:"x1",fmla:"*/ ss a1 100000"},{name:"dx2",fmla:"*/ ss a2 100000"},{name:"x2",fmla:"+- r 0 dx2"},{name:"il",fmla:"*/ x1 29289 100000"},{name:"ir",fmla:"+/ x2 r 2"}],ranges:[{x:{name:"adj1",min:0,max:5e4},pos:{x:"x1",y:"t"}},{x:{name:"adj2",min:0,max:5e4},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"t"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"dx2"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"lnTo",x:"l",y:"x1"},{type:"arcTo",wR:"x1",hR:"x1",stAng:"cd2",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 33.33 0.00L 166.67 0.00L 200.00 33.33L 200.00 200.00L 0.00 200.00L 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00Z",range:[[0,5e4],[0,5e4]],relative:["x","x"]},squareTabs:{type:"squareTabs",defaultValue:[],adjustmentNames:[],params:[{name:"md",fmla:"mod w h 0"},{name:"dx",fmla:"*/ 1 md 20"},{name:"y1",fmla:"+- 0 b dx"},{name:"x1",fmla:"+- 0 r dx"}],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"dx",y:"t"},{type:"lnTo",x:"dx",y:"dx"},{type:"lnTo",x:"l",y:"dx"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"dx",y:"y1"},{type:"lnTo",x:"dx",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"dx"},{type:"lnTo",x:"x1",y:"dx"},{type:"close"}],stroke:!0,fill:"norm"},{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x1",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 14.14 0.00L 14.14 14.14L 0.00 14.14ZM 0.00 185.86L 14.14 185.86L 14.14 200.00L 0.00 200.00ZM 185.86 0.00L 200.00 0.00L 200.00 14.14L 185.86 14.14ZM 185.86 185.86L 200.00 185.86L 200.00 200.00L 185.86 200.00Z",range:[],relative:[]},star10:{type:"star10",defaultValue:[42533,105146],adjustmentNames:["adj","hf"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"swd2",fmla:"*/ wd2 hf 100000"},{name:"dx1",fmla:"*/ swd2 95106 100000"},{name:"dx2",fmla:"*/ swd2 58779 100000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"dy1",fmla:"*/ hd2 80902 100000"},{name:"dy2",fmla:"*/ hd2 30902 100000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"},{name:"y4",fmla:"+- vc dy1 0"},{name:"iwd2",fmla:"*/ swd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx1",fmla:"*/ iwd2 80902 100000"},{name:"sdx2",fmla:"*/ iwd2 30902 100000"},{name:"sdy1",fmla:"*/ ihd2 95106 100000"},{name:"sdy2",fmla:"*/ ihd2 58779 100000"},{name:"sx1",fmla:"+- hc 0 iwd2"},{name:"sx2",fmla:"+- hc 0 sdx1"},{name:"sx3",fmla:"+- hc 0 sdx2"},{name:"sx4",fmla:"+- hc sdx2 0"},{name:"sx5",fmla:"+- hc sdx1 0"},{name:"sx6",fmla:"+- hc iwd2 0"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc 0 sdy2"},{name:"sy3",fmla:"+- vc sdy2 0"},{name:"sy4",fmla:"+- vc sdy1 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y2"},{type:"lnTo",x:"sx2",y:"sy2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"sx3",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx4",y:"sy1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"sx5",y:"sy2"},{type:"lnTo",x:"x4",y:"y2"},{type:"lnTo",x:"sx6",y:"vc"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"sx5",y:"sy3"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"sx4",y:"sy4"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx3",y:"sy4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"sx2",y:"sy3"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"sx1",y:"vc"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M -0.00 69.10L 27.64 50.00L 38.20 19.10L 72.36 19.10L 100.00 0.00L 127.64 19.10L 161.80 19.10L 172.36 50.00L 200.00 69.10L 189.44 100.00L 200.00 130.90L 172.36 150.00L 161.80 180.90L 127.64 180.90L 100.00 200.00L 72.36 180.90L 38.20 180.90L 27.64 150.00L -0.00 130.90L 10.56 100.00Z",range:[[0,5e4],[-2147483647,2147483647]],relative:["y",""]},star12:{type:"star12",defaultValue:[37500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"cos wd2 1800000"},{name:"dy1",fmla:"sin hd2 3600000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x3",fmla:"*/ w 3 4"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y3",fmla:"*/ h 3 4"},{name:"y4",fmla:"+- vc dy1 0"},{name:"iwd2",fmla:"*/ wd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx1",fmla:"cos iwd2 900000"},{name:"sdx2",fmla:"cos iwd2 2700000"},{name:"sdx3",fmla:"cos iwd2 4500000"},{name:"sdy1",fmla:"sin ihd2 4500000"},{name:"sdy2",fmla:"sin ihd2 2700000"},{name:"sdy3",fmla:"sin ihd2 900000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc 0 sdx3"},{name:"sx4",fmla:"+- hc sdx3 0"},{name:"sx5",fmla:"+- hc sdx2 0"},{name:"sx6",fmla:"+- hc sdx1 0"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc 0 sdy2"},{name:"sy3",fmla:"+- vc 0 sdy3"},{name:"sy4",fmla:"+- vc sdy3 0"},{name:"sy5",fmla:"+- vc sdy2 0"},{name:"sy6",fmla:"+- vc sdy1 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"sx1",y:"sy3"},{type:"lnTo",x:"x1",y:"hd4"},{type:"lnTo",x:"sx2",y:"sy2"},{type:"lnTo",x:"wd4",y:"y1"},{type:"lnTo",x:"sx3",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx4",y:"sy1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"sx5",y:"sy2"},{type:"lnTo",x:"x4",y:"hd4"},{type:"lnTo",x:"sx6",y:"sy3"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"sx6",y:"sy4"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"sx5",y:"sy5"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"sx4",y:"sy6"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx3",y:"sy6"},{type:"lnTo",x:"wd4",y:"y4"},{type:"lnTo",x:"sx2",y:"sy5"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"sx1",y:"sy4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 27.56 80.59L 13.40 50.00L 46.97 46.97L 50.00 13.40L 80.59 27.56L 100.00 0.00L 119.41 27.56L 150.00 13.40L 153.03 46.97L 186.60 50.00L 172.44 80.59L 200.00 100.00L 172.44 119.41L 186.60 150.00L 153.03 153.03L 150.00 186.60L 119.41 172.44L 100.00 200.00L 80.59 172.44L 50.00 186.60L 46.97 153.03L 13.40 150.00L 27.56 119.41Z",range:[[0,5e4]],relative:["y"]},star16:{type:"star16",defaultValue:[37500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"*/ wd2 92388 100000"},{name:"dx2",fmla:"*/ wd2 70711 100000"},{name:"dx3",fmla:"*/ wd2 38268 100000"},{name:"dy1",fmla:"*/ hd2 92388 100000"},{name:"dy2",fmla:"*/ hd2 70711 100000"},{name:"dy3",fmla:"*/ hd2 38268 100000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc dx3 0"},{name:"x5",fmla:"+- hc dx2 0"},{name:"x6",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc 0 dy3"},{name:"y4",fmla:"+- vc dy3 0"},{name:"y5",fmla:"+- vc dy2 0"},{name:"y6",fmla:"+- vc dy1 0"},{name:"iwd2",fmla:"*/ wd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx1",fmla:"*/ iwd2 98079 100000"},{name:"sdx2",fmla:"*/ iwd2 83147 100000"},{name:"sdx3",fmla:"*/ iwd2 55557 100000"},{name:"sdx4",fmla:"*/ iwd2 19509 100000"},{name:"sdy1",fmla:"*/ ihd2 98079 100000"},{name:"sdy2",fmla:"*/ ihd2 83147 100000"},{name:"sdy3",fmla:"*/ ihd2 55557 100000"},{name:"sdy4",fmla:"*/ ihd2 19509 100000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc 0 sdx3"},{name:"sx4",fmla:"+- hc 0 sdx4"},{name:"sx5",fmla:"+- hc sdx4 0"},{name:"sx6",fmla:"+- hc sdx3 0"},{name:"sx7",fmla:"+- hc sdx2 0"},{name:"sx8",fmla:"+- hc sdx1 0"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc 0 sdy2"},{name:"sy3",fmla:"+- vc 0 sdy3"},{name:"sy4",fmla:"+- vc 0 sdy4"},{name:"sy5",fmla:"+- vc sdy4 0"},{name:"sy6",fmla:"+- vc sdy3 0"},{name:"sy7",fmla:"+- vc sdy2 0"},{name:"sy8",fmla:"+- vc sdy1 0"},{name:"idx",fmla:"cos iwd2 2700000"},{name:"idy",fmla:"sin ihd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"it",fmla:"+- vc 0 idy"},{name:"ir",fmla:"+- hc idx 0"},{name:"ib",fmla:"+- vc idy 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"sx1",y:"sy4"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"sx2",y:"sy3"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"sx3",y:"sy2"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"sx4",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx5",y:"sy1"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"sx6",y:"sy2"},{type:"lnTo",x:"x5",y:"y2"},{type:"lnTo",x:"sx7",y:"sy3"},{type:"lnTo",x:"x6",y:"y3"},{type:"lnTo",x:"sx8",y:"sy4"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"sx8",y:"sy5"},{type:"lnTo",x:"x6",y:"y4"},{type:"lnTo",x:"sx7",y:"sy6"},{type:"lnTo",x:"x5",y:"y5"},{type:"lnTo",x:"sx6",y:"sy7"},{type:"lnTo",x:"x4",y:"y6"},{type:"lnTo",x:"sx5",y:"sy8"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx4",y:"sy8"},{type:"lnTo",x:"x3",y:"y6"},{type:"lnTo",x:"sx3",y:"sy7"},{type:"lnTo",x:"x2",y:"y5"},{type:"lnTo",x:"sx2",y:"sy6"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"sx1",y:"sy5"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 26.44 85.37L 7.61 61.73L 37.64 58.33L 29.29 29.29L 58.33 37.64L 61.73 7.61L 85.37 26.44L 100.00 0.00L 114.63 26.44L 138.27 7.61L 141.67 37.64L 170.71 29.29L 162.36 58.33L 192.39 61.73L 173.56 85.37L 200.00 100.00L 173.56 114.63L 192.39 138.27L 162.36 141.67L 170.71 170.71L 141.67 162.36L 138.27 192.39L 114.63 173.56L 100.00 200.00L 85.37 173.56L 61.73 192.39L 58.33 162.36L 29.29 170.71L 37.64 141.67L 7.61 138.27L 26.44 114.63Z",range:[[0,5e4]],relative:["y"]},star24:{type:"star24",defaultValue:[37500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"cos wd2 900000"},{name:"dx2",fmla:"cos wd2 1800000"},{name:"dx3",fmla:"cos wd2 2700000"},{name:"dx4",fmla:"val wd4"},{name:"dx5",fmla:"cos wd2 4500000"},{name:"dy1",fmla:"sin hd2 4500000"},{name:"dy2",fmla:"sin hd2 3600000"},{name:"dy3",fmla:"sin hd2 2700000"},{name:"dy4",fmla:"val hd4"},{name:"dy5",fmla:"sin hd2 900000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc 0 dx4"},{name:"x5",fmla:"+- hc 0 dx5"},{name:"x6",fmla:"+- hc dx5 0"},{name:"x7",fmla:"+- hc dx4 0"},{name:"x8",fmla:"+- hc dx3 0"},{name:"x9",fmla:"+- hc dx2 0"},{name:"x10",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc 0 dy3"},{name:"y4",fmla:"+- vc 0 dy4"},{name:"y5",fmla:"+- vc 0 dy5"},{name:"y6",fmla:"+- vc dy5 0"},{name:"y7",fmla:"+- vc dy4 0"},{name:"y8",fmla:"+- vc dy3 0"},{name:"y9",fmla:"+- vc dy2 0"},{name:"y10",fmla:"+- vc dy1 0"},{name:"iwd2",fmla:"*/ wd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx1",fmla:"*/ iwd2 99144 100000"},{name:"sdx2",fmla:"*/ iwd2 92388 100000"},{name:"sdx3",fmla:"*/ iwd2 79335 100000"},{name:"sdx4",fmla:"*/ iwd2 60876 100000"},{name:"sdx5",fmla:"*/ iwd2 38268 100000"},{name:"sdx6",fmla:"*/ iwd2 13053 100000"},{name:"sdy1",fmla:"*/ ihd2 99144 100000"},{name:"sdy2",fmla:"*/ ihd2 92388 100000"},{name:"sdy3",fmla:"*/ ihd2 79335 100000"},{name:"sdy4",fmla:"*/ ihd2 60876 100000"},{name:"sdy5",fmla:"*/ ihd2 38268 100000"},{name:"sdy6",fmla:"*/ ihd2 13053 100000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc 0 sdx3"},{name:"sx4",fmla:"+- hc 0 sdx4"},{name:"sx5",fmla:"+- hc 0 sdx5"},{name:"sx6",fmla:"+- hc 0 sdx6"},{name:"sx7",fmla:"+- hc sdx6 0"},{name:"sx8",fmla:"+- hc sdx5 0"},{name:"sx9",fmla:"+- hc sdx4 0"},{name:"sx10",fmla:"+- hc sdx3 0"},{name:"sx11",fmla:"+- hc sdx2 0"},{name:"sx12",fmla:"+- hc sdx1 0"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc 0 sdy2"},{name:"sy3",fmla:"+- vc 0 sdy3"},{name:"sy4",fmla:"+- vc 0 sdy4"},{name:"sy5",fmla:"+- vc 0 sdy5"},{name:"sy6",fmla:"+- vc 0 sdy6"},{name:"sy7",fmla:"+- vc sdy6 0"},{name:"sy8",fmla:"+- vc sdy5 0"},{name:"sy9",fmla:"+- vc sdy4 0"},{name:"sy10",fmla:"+- vc sdy3 0"},{name:"sy11",fmla:"+- vc sdy2 0"},{name:"sy12",fmla:"+- vc sdy1 0"},{name:"idx",fmla:"cos iwd2 2700000"},{name:"idy",fmla:"sin ihd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"it",fmla:"+- vc 0 idy"},{name:"ir",fmla:"+- hc idx 0"},{name:"ib",fmla:"+- vc idy 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:"ssd2"},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"sx1",y:"sy6"},{type:"lnTo",x:"x1",y:"y5"},{type:"lnTo",x:"sx2",y:"sy5"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"sx3",y:"sy4"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"sx4",y:"sy3"},{type:"lnTo",x:"x4",y:"y2"},{type:"lnTo",x:"sx5",y:"sy2"},{type:"lnTo",x:"x5",y:"y1"},{type:"lnTo",x:"sx6",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx7",y:"sy1"},{type:"lnTo",x:"x6",y:"y1"},{type:"lnTo",x:"sx8",y:"sy2"},{type:"lnTo",x:"x7",y:"y2"},{type:"lnTo",x:"sx9",y:"sy3"},{type:"lnTo",x:"x8",y:"y3"},{type:"lnTo",x:"sx10",y:"sy4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"sx11",y:"sy5"},{type:"lnTo",x:"x10",y:"y5"},{type:"lnTo",x:"sx12",y:"sy6"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"sx12",y:"sy7"},{type:"lnTo",x:"x10",y:"y6"},{type:"lnTo",x:"sx11",y:"sy8"},{type:"lnTo",x:"x9",y:"y7"},{type:"lnTo",x:"sx10",y:"sy9"},{type:"lnTo",x:"x8",y:"y8"},{type:"lnTo",x:"sx9",y:"sy10"},{type:"lnTo",x:"x7",y:"y9"},{type:"lnTo",x:"sx8",y:"sy11"},{type:"lnTo",x:"x6",y:"y10"},{type:"lnTo",x:"sx7",y:"sy12"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx6",y:"sy12"},{type:"lnTo",x:"x5",y:"y10"},{type:"lnTo",x:"sx5",y:"sy11"},{type:"lnTo",x:"x4",y:"y9"},{type:"lnTo",x:"sx4",y:"sy10"},{type:"lnTo",x:"x3",y:"y8"},{type:"lnTo",x:"sx3",y:"sy9"},{type:"lnTo",x:"x2",y:"y7"},{type:"lnTo",x:"sx2",y:"sy8"},{type:"lnTo",x:"x1",y:"y6"},{type:"lnTo",x:"sx1",y:"sy7"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 25.64 90.21L 3.41 74.12L 30.71 71.30L 13.40 50.00L 40.50 54.34L 29.29 29.29L 54.34 40.50L 50.00 13.40L 71.30 30.71L 74.12 3.41L 90.21 25.64L 100.00 0.00L 109.79 25.64L 125.88 3.41L 128.70 30.71L 150.00 13.40L 145.66 40.50L 170.71 29.29L 159.50 54.34L 186.60 50.00L 169.29 71.30L 196.59 74.12L 174.36 90.21L 200.00 100.00L 174.36 109.79L 196.59 125.88L 169.29 128.70L 186.60 150.00L 159.50 145.66L 170.71 170.71L 145.66 159.50L 150.00 186.60L 128.70 169.29L 125.88 196.59L 109.79 174.36L 100.00 200.00L 90.21 174.36L 74.12 196.59L 71.30 169.29L 50.00 186.60L 54.34 159.50L 29.29 170.71L 40.50 145.66L 13.40 150.00L 30.71 128.70L 3.41 125.88L 25.64 109.79Z",range:[[0,100]],relative:["y"]},star32:{type:"star32",defaultValue:[37500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"*/ wd2 98079 100000"},{name:"dx2",fmla:"*/ wd2 92388 100000"},{name:"dx3",fmla:"*/ wd2 83147 100000"},{name:"dx4",fmla:"cos wd2 2700000"},{name:"dx5",fmla:"*/ wd2 55557 100000"},{name:"dx6",fmla:"*/ wd2 38268 100000"},{name:"dx7",fmla:"*/ wd2 19509 100000"},{name:"dy1",fmla:"*/ hd2 98079 100000"},{name:"dy2",fmla:"*/ hd2 92388 100000"},{name:"dy3",fmla:"*/ hd2 83147 100000"},{name:"dy4",fmla:"sin hd2 2700000"},{name:"dy5",fmla:"*/ hd2 55557 100000"},{name:"dy6",fmla:"*/ hd2 38268 100000"},{name:"dy7",fmla:"*/ hd2 19509 100000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc 0 dx4"},{name:"x5",fmla:"+- hc 0 dx5"},{name:"x6",fmla:"+- hc 0 dx6"},{name:"x7",fmla:"+- hc 0 dx7"},{name:"x8",fmla:"+- hc dx7 0"},{name:"x9",fmla:"+- hc dx6 0"},{name:"x10",fmla:"+- hc dx5 0"},{name:"x11",fmla:"+- hc dx4 0"},{name:"x12",fmla:"+- hc dx3 0"},{name:"x13",fmla:"+- hc dx2 0"},{name:"x14",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc 0 dy3"},{name:"y4",fmla:"+- vc 0 dy4"},{name:"y5",fmla:"+- vc 0 dy5"},{name:"y6",fmla:"+- vc 0 dy6"},{name:"y7",fmla:"+- vc 0 dy7"},{name:"y8",fmla:"+- vc dy7 0"},{name:"y9",fmla:"+- vc dy6 0"},{name:"y10",fmla:"+- vc dy5 0"},{name:"y11",fmla:"+- vc dy4 0"},{name:"y12",fmla:"+- vc dy3 0"},{name:"y13",fmla:"+- vc dy2 0"},{name:"y14",fmla:"+- vc dy1 0"},{name:"iwd2",fmla:"*/ wd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx1",fmla:"*/ iwd2 99518 100000"},{name:"sdx2",fmla:"*/ iwd2 95694 100000"},{name:"sdx3",fmla:"*/ iwd2 88192 100000"},{name:"sdx4",fmla:"*/ iwd2 77301 100000"},{name:"sdx5",fmla:"*/ iwd2 63439 100000"},{name:"sdx6",fmla:"*/ iwd2 47140 100000"},{name:"sdx7",fmla:"*/ iwd2 29028 100000"},{name:"sdx8",fmla:"*/ iwd2 9802 100000"},{name:"sdy1",fmla:"*/ ihd2 99518 100000"},{name:"sdy2",fmla:"*/ ihd2 95694 100000"},{name:"sdy3",fmla:"*/ ihd2 88192 100000"},{name:"sdy4",fmla:"*/ ihd2 77301 100000"},{name:"sdy5",fmla:"*/ ihd2 63439 100000"},{name:"sdy6",fmla:"*/ ihd2 47140 100000"},{name:"sdy7",fmla:"*/ ihd2 29028 100000"},{name:"sdy8",fmla:"*/ ihd2 9802 100000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc 0 sdx3"},{name:"sx4",fmla:"+- hc 0 sdx4"},{name:"sx5",fmla:"+- hc 0 sdx5"},{name:"sx6",fmla:"+- hc 0 sdx6"},{name:"sx7",fmla:"+- hc 0 sdx7"},{name:"sx8",fmla:"+- hc 0 sdx8"},{name:"sx9",fmla:"+- hc sdx8 0"},{name:"sx10",fmla:"+- hc sdx7 0"},{name:"sx11",fmla:"+- hc sdx6 0"},{name:"sx12",fmla:"+- hc sdx5 0"},{name:"sx13",fmla:"+- hc sdx4 0"},{name:"sx14",fmla:"+- hc sdx3 0"},{name:"sx15",fmla:"+- hc sdx2 0"},{name:"sx16",fmla:"+- hc sdx1 0"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc 0 sdy2"},{name:"sy3",fmla:"+- vc 0 sdy3"},{name:"sy4",fmla:"+- vc 0 sdy4"},{name:"sy5",fmla:"+- vc 0 sdy5"},{name:"sy6",fmla:"+- vc 0 sdy6"},{name:"sy7",fmla:"+- vc 0 sdy7"},{name:"sy8",fmla:"+- vc 0 sdy8"},{name:"sy9",fmla:"+- vc sdy8 0"},{name:"sy10",fmla:"+- vc sdy7 0"},{name:"sy11",fmla:"+- vc sdy6 0"},{name:"sy12",fmla:"+- vc sdy5 0"},{name:"sy13",fmla:"+- vc sdy4 0"},{name:"sy14",fmla:"+- vc sdy3 0"},{name:"sy15",fmla:"+- vc sdy2 0"},{name:"sy16",fmla:"+- vc sdy1 0"},{name:"idx",fmla:"cos iwd2 2700000"},{name:"idy",fmla:"sin ihd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"it",fmla:"+- vc 0 idy"},{name:"ir",fmla:"+- hc idx 0"},{name:"ib",fmla:"+- vc idy 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:"ssd2"},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"sx1",y:"sy8"},{type:"lnTo",x:"x1",y:"y7"},{type:"lnTo",x:"sx2",y:"sy7"},{type:"lnTo",x:"x2",y:"y6"},{type:"lnTo",x:"sx3",y:"sy6"},{type:"lnTo",x:"x3",y:"y5"},{type:"lnTo",x:"sx4",y:"sy5"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"sx5",y:"sy4"},{type:"lnTo",x:"x5",y:"y3"},{type:"lnTo",x:"sx6",y:"sy3"},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"sx7",y:"sy2"},{type:"lnTo",x:"x7",y:"y1"},{type:"lnTo",x:"sx8",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx9",y:"sy1"},{type:"lnTo",x:"x8",y:"y1"},{type:"lnTo",x:"sx10",y:"sy2"},{type:"lnTo",x:"x9",y:"y2"},{type:"lnTo",x:"sx11",y:"sy3"},{type:"lnTo",x:"x10",y:"y3"},{type:"lnTo",x:"sx12",y:"sy4"},{type:"lnTo",x:"x11",y:"y4"},{type:"lnTo",x:"sx13",y:"sy5"},{type:"lnTo",x:"x12",y:"y5"},{type:"lnTo",x:"sx14",y:"sy6"},{type:"lnTo",x:"x13",y:"y6"},{type:"lnTo",x:"sx15",y:"sy7"},{type:"lnTo",x:"x14",y:"y7"},{type:"lnTo",x:"sx16",y:"sy8"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"sx16",y:"sy9"},{type:"lnTo",x:"x14",y:"y8"},{type:"lnTo",x:"sx15",y:"sy10"},{type:"lnTo",x:"x13",y:"y9"},{type:"lnTo",x:"sx14",y:"sy11"},{type:"lnTo",x:"x12",y:"y10"},{type:"lnTo",x:"sx13",y:"sy12"},{type:"lnTo",x:"x11",y:"y11"},{type:"lnTo",x:"sx12",y:"sy13"},{type:"lnTo",x:"x10",y:"y12"},{type:"lnTo",x:"sx11",y:"sy14"},{type:"lnTo",x:"x9",y:"y13"},{type:"lnTo",x:"sx10",y:"sy15"},{type:"lnTo",x:"x8",y:"y14"},{type:"lnTo",x:"sx9",y:"sy16"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx8",y:"sy16"},{type:"lnTo",x:"x7",y:"y14"},{type:"lnTo",x:"sx7",y:"sy15"},{type:"lnTo",x:"x6",y:"y13"},{type:"lnTo",x:"sx6",y:"sy14"},{type:"lnTo",x:"x5",y:"y12"},{type:"lnTo",x:"sx5",y:"sy13"},{type:"lnTo",x:"x4",y:"y11"},{type:"lnTo",x:"sx4",y:"sy12"},{type:"lnTo",x:"x3",y:"y10"},{type:"lnTo",x:"sx3",y:"sy11"},{type:"lnTo",x:"x2",y:"y9"},{type:"lnTo",x:"sx2",y:"sy10"},{type:"lnTo",x:"x1",y:"y8"},{type:"lnTo",x:"sx1",y:"sy9"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 25.36 92.65L 1.92 80.49L 28.23 78.23L 7.61 61.73L 33.86 64.65L 16.85 44.44L 42.02 52.42L 29.29 29.29L 52.42 42.02L 44.44 16.85L 64.65 33.86L 61.73 7.61L 78.23 28.23L 80.49 1.92L 92.65 25.36L 100.00 0.00L 107.35 25.36L 119.51 1.92L 121.77 28.23L 138.27 7.61L 135.35 33.86L 155.56 16.85L 147.58 42.02L 170.71 29.29L 157.98 52.42L 183.15 44.44L 166.14 64.65L 192.39 61.73L 171.77 78.23L 198.08 80.49L 174.64 92.65L 200.00 100.00L 174.64 107.35L 198.08 119.51L 171.77 121.77L 192.39 138.27L 166.14 135.35L 183.15 155.56L 157.98 147.58L 170.71 170.71L 147.58 157.98L 155.56 183.15L 135.35 166.14L 138.27 192.39L 121.77 171.77L 119.51 198.08L 107.35 174.64L 100.00 200.00L 92.65 174.64L 80.49 198.08L 78.23 171.77L 61.73 192.39L 64.65 166.14L 44.44 183.15L 52.42 157.98L 29.29 170.71L 42.02 147.58L 16.85 155.56L 33.86 135.35L 7.61 138.27L 28.23 121.77L 1.92 119.51L 25.36 107.35Z",range:[[0,100]],relative:["y"]},star4:{type:"star4",defaultValue:[12500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"iwd2",fmla:"*/ wd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx",fmla:"cos iwd2 2700000"},{name:"sdy",fmla:"sin ihd2 2700000"},{name:"sx1",fmla:"+- hc 0 sdx"},{name:"sx2",fmla:"+- hc sdx 0"},{name:"sy1",fmla:"+- vc 0 sdy"},{name:"sy2",fmla:"+- vc sdy 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"sx1",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx2",y:"sy1"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"sx2",y:"sy2"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx1",y:"sy2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 82.32 82.32L 100.00 0.00L 117.68 82.32L 200.00 100.00L 117.68 117.68L 100.00 200.00L 82.32 117.68Z",range:[[0,5e4]],relative:["y"]},star5:{type:"star5",defaultValue:[19098,105146,110557],adjustmentNames:["adj","hf","vf"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"swd2",fmla:"*/ wd2 hf 100000"},{name:"shd2",fmla:"*/ hd2 vf 100000"},{name:"svc",fmla:"*/ vc vf 100000"},{name:"dx1",fmla:"cos swd2 1080000"},{name:"dx2",fmla:"cos swd2 18360000"},{name:"dy1",fmla:"sin shd2 1080000"},{name:"dy2",fmla:"sin shd2 18360000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- svc 0 dy1"},{name:"y2",fmla:"+- svc 0 dy2"},{name:"iwd2",fmla:"*/ swd2 a 50000"},{name:"ihd2",fmla:"*/ shd2 a 50000"},{name:"sdx1",fmla:"cos iwd2 20520000"},{name:"sdx2",fmla:"cos iwd2 3240000"},{name:"sdy1",fmla:"sin ihd2 3240000"},{name:"sdy2",fmla:"sin ihd2 20520000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc sdx2 0"},{name:"sx4",fmla:"+- hc sdx1 0"},{name:"sy1",fmla:"+- svc 0 sdy1"},{name:"sy2",fmla:"+- svc 0 sdy2"},{name:"sy3",fmla:"+- svc ihd2 0"},{name:"yAdj",fmla:"+- svc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y1"},{type:"lnTo",x:"sx2",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx3",y:"sy1"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"sx4",y:"sy2"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"hc",y:"sy3"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"sx1",y:"sy2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 76.39L 76.39 76.39L 100.00 0.00L 123.61 76.39L 200.00 76.39L 138.20 123.61L 161.80 200.00L 100.00 152.79L 38.20 200.00L 61.80 123.61Z",range:[[0,5e4],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","",""]},star6:{type:"star6",defaultValue:[28868,115470],adjustmentNames:["adj","hf"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"swd2",fmla:"*/ wd2 hf 100000"},{name:"dx1",fmla:"cos swd2 1800000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"},{name:"y2",fmla:"+- vc hd4 0"},{name:"iwd2",fmla:"*/ swd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx2",fmla:"*/ iwd2 1 2"},{name:"sx1",fmla:"+- hc 0 iwd2"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc sdx2 0"},{name:"sx4",fmla:"+- hc iwd2 0"},{name:"sdy1",fmla:"sin ihd2 3600000"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc sdy1 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"hd4"},{type:"lnTo",x:"sx2",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx3",y:"sy1"},{type:"lnTo",x:"x2",y:"hd4"},{type:"lnTo",x:"sx4",y:"vc"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"sx3",y:"sy2"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx2",y:"sy2"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"sx1",y:"vc"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 50.00L 66.67 50.00L 100.00 0.00L 133.33 50.00L 200.00 50.00L 166.67 100.00L 200.00 150.00L 133.33 150.00L 100.00 200.00L 66.67 150.00L 0.00 150.00L 33.33 100.00Z",range:[[0,5e4],[-2147483647,2147483647]],relative:["y",""]},star7:{type:"star7",defaultValue:[34601,102572,105210],adjustmentNames:["adj","hf","vf"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"swd2",fmla:"*/ wd2 hf 100000"},{name:"shd2",fmla:"*/ hd2 vf 100000"},{name:"svc",fmla:"*/ vc vf 100000"},{name:"dx1",fmla:"*/ swd2 97493 100000"},{name:"dx2",fmla:"*/ swd2 78183 100000"},{name:"dx3",fmla:"*/ swd2 43388 100000"},{name:"dy1",fmla:"*/ shd2 62349 100000"},{name:"dy2",fmla:"*/ shd2 22252 100000"},{name:"dy3",fmla:"*/ shd2 90097 100000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc 0 dx3"},{name:"x4",fmla:"+- hc dx3 0"},{name:"x5",fmla:"+- hc dx2 0"},{name:"x6",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- svc 0 dy1"},{name:"y2",fmla:"+- svc dy2 0"},{name:"y3",fmla:"+- svc dy3 0"},{name:"iwd2",fmla:"*/ swd2 a 50000"},{name:"ihd2",fmla:"*/ shd2 a 50000"},{name:"sdx1",fmla:"*/ iwd2 97493 100000"},{name:"sdx2",fmla:"*/ iwd2 78183 100000"},{name:"sdx3",fmla:"*/ iwd2 43388 100000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc 0 sdx3"},{name:"sx4",fmla:"+- hc sdx3 0"},{name:"sx5",fmla:"+- hc sdx2 0"},{name:"sx6",fmla:"+- hc sdx1 0"},{name:"sdy1",fmla:"*/ ihd2 90097 100000"},{name:"sdy2",fmla:"*/ ihd2 22252 100000"},{name:"sdy3",fmla:"*/ ihd2 62349 100000"},{name:"sy1",fmla:"+- svc 0 sdy1"},{name:"sy2",fmla:"+- svc 0 sdy2"},{name:"sy3",fmla:"+- svc sdy3 0"},{name:"sy4",fmla:"+- svc ihd2 0"},{name:"yAdj",fmla:"+- svc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"x1",y:"y2"},{type:"lnTo",x:"sx1",y:"sy2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"sx3",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx4",y:"sy1"},{type:"lnTo",x:"x5",y:"y1"},{type:"lnTo",x:"sx6",y:"sy2"},{type:"lnTo",x:"x6",y:"y2"},{type:"lnTo",x:"sx5",y:"sy3"},{type:"lnTo",x:"x4",y:"y3"},{type:"lnTo",x:"hc",y:"sy4"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"sx2",y:"sy3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M -0.00 128.62L 30.80 89.01L 19.81 39.61L 69.20 39.61L 100.00 0.00L 130.80 39.61L 180.19 39.61L 169.20 89.01L 200.00 128.62L 155.50 150.60L 144.50 200.00L 100.00 178.02L 55.50 200.00L 44.50 150.60Z",range:[[0,5e4],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["y","",""]},star8:{type:"star8",defaultValue:[37500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 50000"},{name:"dx1",fmla:"cos wd2 2700000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"},{name:"dy1",fmla:"sin hd2 2700000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"iwd2",fmla:"*/ wd2 a 50000"},{name:"ihd2",fmla:"*/ hd2 a 50000"},{name:"sdx1",fmla:"*/ iwd2 92388 100000"},{name:"sdx2",fmla:"*/ iwd2 38268 100000"},{name:"sdy1",fmla:"*/ ihd2 92388 100000"},{name:"sdy2",fmla:"*/ ihd2 38268 100000"},{name:"sx1",fmla:"+- hc 0 sdx1"},{name:"sx2",fmla:"+- hc 0 sdx2"},{name:"sx3",fmla:"+- hc sdx2 0"},{name:"sx4",fmla:"+- hc sdx1 0"},{name:"sy1",fmla:"+- vc 0 sdy1"},{name:"sy2",fmla:"+- vc 0 sdy2"},{name:"sy3",fmla:"+- vc sdy2 0"},{name:"sy4",fmla:"+- vc sdy1 0"},{name:"yAdj",fmla:"+- vc 0 ihd2"}],ranges:[{y:{name:"adj",min:0,max:5e4},pos:{x:"hc",y:"yAdj"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"sx1",y:"sy2"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"sx2",y:"sy1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"sx3",y:"sy1"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"sx4",y:"sy2"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"sx4",y:"sy3"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"sx3",y:"sy4"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"sx2",y:"sy4"},{type:"lnTo",x:"x1",y:"y2"},{type:"lnTo",x:"sx1",y:"sy3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 30.71 71.30L 29.29 29.29L 71.30 30.71L 100.00 0.00L 128.70 30.71L 170.71 29.29L 169.29 71.30L 200.00 100.00L 169.29 128.70L 170.71 170.71L 128.70 169.29L 100.00 200.00L 71.30 169.29L 29.29 170.71L 30.71 128.70Z",range:[[0,5e4]],relative:["y"]},straightConnector1:{type:"straightConnector1",defaultValue:[],adjustmentNames:[],params:[],ranges:[],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"r",y:"b"}],stroke:!0,fill:"none"}],path:"M 0.00 0.00L 200.00 200.00",range:[],relative:[]},stripedRightArrow:{type:"stripedRightArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 84375 w ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"x4",fmla:"*/ ss 5 32"},{name:"dx5",fmla:"*/ ss a2 100000"},{name:"x5",fmla:"+- r 0 dx5"},{name:"dy1",fmla:"*/ h a1 200000"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"y2",fmla:"+- vc dy1 0"},{name:"dx6",fmla:"*/ dy1 dx5 hd2"},{name:"x6",fmla:"+- r 0 dx6"}],ranges:[{y:{name:"adj1",min:0,max:1e5},pos:{x:"l",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x5",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y1"},{type:"lnTo",x:"ssd32",y:"y1"},{type:"lnTo",x:"ssd32",y:"y2"},{type:"lnTo",x:"l",y:"y2"},{type:"close"},{type:"moveTo",x:"ssd16",y:"y1"},{type:"lnTo",x:"ssd8",y:"y1"},{type:"lnTo",x:"ssd8",y:"y2"},{type:"lnTo",x:"ssd16",y:"y2"},{type:"close"},{type:"moveTo",x:"x4",y:"y1"},{type:"lnTo",x:"x5",y:"y1"},{type:"lnTo",x:"x5",y:"t"},{type:"lnTo",x:"r",y:"vc"},{type:"lnTo",x:"x5",y:"b"},{type:"lnTo",x:"x5",y:"y2"},{type:"lnTo",x:"x4",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 50.00L 6.25 50.00L 6.25 150.00L 0.00 150.00ZM 12.50 50.00L 25.00 50.00L 25.00 150.00L 12.50 150.00ZM 31.25 50.00L 100.00 50.00L 100.00 0.00L 200.00 100.00L 100.00 200.00L 100.00 150.00L 31.25 150.00Z",range:[[0,1e5],[0,84375]],relative:["y","x"]},sun:{type:"sun",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 12500 adj 46875"},{name:"g0",fmla:"+- 50000 0 a"},{name:"g1",fmla:"*/ g0 30274 32768"},{name:"g2",fmla:"*/ g0 12540 32768"},{name:"g3",fmla:"+- g1 50000 0"},{name:"g4",fmla:"+- g2 50000 0"},{name:"g5",fmla:"+- 50000 0 g1"},{name:"g6",fmla:"+- 50000 0 g2"},{name:"g7",fmla:"*/ g0 23170 32768"},{name:"g8",fmla:"+- 50000 g7 0"},{name:"g9",fmla:"+- 50000 0 g7"},{name:"g10",fmla:"*/ g5 3 4"},{name:"g11",fmla:"*/ g6 3 4"},{name:"g12",fmla:"+- g10 3662 0"},{name:"g13",fmla:"+- g11 3662 0"},{name:"g14",fmla:"+- g11 12500 0"},{name:"g15",fmla:"+- 100000 0 g10"},{name:"g16",fmla:"+- 100000 0 g12"},{name:"g17",fmla:"+- 100000 0 g13"},{name:"g18",fmla:"+- 100000 0 g14"},{name:"ox1",fmla:"*/ w 18436 21600"},{name:"oy1",fmla:"*/ h 3163 21600"},{name:"ox2",fmla:"*/ w 3163 21600"},{name:"oy2",fmla:"*/ h 18436 21600"},{name:"x8",fmla:"*/ w g8 100000"},{name:"x9",fmla:"*/ w g9 100000"},{name:"x10",fmla:"*/ w g10 100000"},{name:"x12",fmla:"*/ w g12 100000"},{name:"x13",fmla:"*/ w g13 100000"},{name:"x14",fmla:"*/ w g14 100000"},{name:"x15",fmla:"*/ w g15 100000"},{name:"x16",fmla:"*/ w g16 100000"},{name:"x17",fmla:"*/ w g17 100000"},{name:"x18",fmla:"*/ w g18 100000"},{name:"x19",fmla:"*/ w a 100000"},{name:"wR",fmla:"*/ w g0 100000"},{name:"hR",fmla:"*/ h g0 100000"},{name:"y8",fmla:"*/ h g8 100000"},{name:"y9",fmla:"*/ h g9 100000"},{name:"y10",fmla:"*/ h g10 100000"},{name:"y12",fmla:"*/ h g12 100000"},{name:"y13",fmla:"*/ h g13 100000"},{name:"y14",fmla:"*/ h g14 100000"},{name:"y15",fmla:"*/ h g15 100000"},{name:"y16",fmla:"*/ h g16 100000"},{name:"y17",fmla:"*/ h g17 100000"},{name:"y18",fmla:"*/ h g18 100000"}],ranges:[{x:{name:"adj",min:12500,max:46875},pos:{x:"x19",y:"vc"}}],paths:[{path:[{type:"moveTo",x:"r",y:"vc"},{type:"lnTo",x:"x15",y:"y18"},{type:"lnTo",x:"x15",y:"y14"},{type:"close"},{type:"moveTo",x:"ox1",y:"oy1"},{type:"lnTo",x:"x16",y:"y13"},{type:"lnTo",x:"x17",y:"y12"},{type:"close"},{type:"moveTo",x:"hc",y:"t"},{type:"lnTo",x:"x18",y:"y10"},{type:"lnTo",x:"x14",y:"y10"},{type:"close"},{type:"moveTo",x:"ox2",y:"oy1"},{type:"lnTo",x:"x13",y:"y12"},{type:"lnTo",x:"x12",y:"y13"},{type:"close"},{type:"moveTo",x:"l",y:"vc"},{type:"lnTo",x:"x10",y:"y14"},{type:"lnTo",x:"x10",y:"y18"},{type:"close"},{type:"moveTo",x:"ox2",y:"oy2"},{type:"lnTo",x:"x12",y:"y17"},{type:"lnTo",x:"x13",y:"y16"},{type:"close"},{type:"moveTo",x:"hc",y:"b"},{type:"lnTo",x:"x14",y:"y15"},{type:"lnTo",x:"x18",y:"y15"},{type:"close"},{type:"moveTo",x:"ox1",y:"oy2"},{type:"lnTo",x:"x17",y:"y16"},{type:"lnTo",x:"x16",y:"y17"},{type:"close"},{type:"moveTo",x:"x19",y:"vc"},{type:"arcTo",wR:"wR",hR:"hR",stAng:"cd2",swAng:216e5},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 200.00 100.00L 159.65 114.35L 159.65 85.65ZM 170.70 29.29L 152.32 67.97L 132.03 47.68ZM 100.00 0.00L 114.35 40.35L 85.65 40.35ZM 29.29 29.29L 67.97 47.68L 47.68 67.97ZM 0.00 100.00L 40.35 85.65L 40.35 114.35ZM 29.29 170.70L 47.68 132.03L 67.97 152.32ZM 100.00 200.00L 85.65 159.65L 114.35 159.65ZM 170.70 170.70L 132.03 152.32L 152.32 132.03ZM 50.00 100.00A 50.00 50.00 0 1 1 50.00 100.22Z",range:[[12500,46875]],relative:["x"]},swooshArrow:{type:"swooshArrow",defaultValue:[25e3,16667],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 1 adj1 75000"},{name:"maxAdj2",fmla:"*/ 70000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"ad1",fmla:"*/ h a1 100000"},{name:"ad2",fmla:"*/ ss a2 100000"},{name:"xB",fmla:"+- r 0 ad2"},{name:"yB",fmla:"+- t ssd8 0"},{name:"alfa",fmla:"*/ cd4 1 14"},{name:"dx0",fmla:"tan ssd8 alfa"},{name:"xC",fmla:"+- xB 0 dx0"},{name:"dx1",fmla:"tan ad1 alfa"},{name:"yF",fmla:"+- yB ad1 0"},{name:"xF",fmla:"+- xB dx1 0"},{name:"xE",fmla:"+- xF dx0 0"},{name:"yE",fmla:"+- yF ssd8 0"},{name:"dy2",fmla:"+- yE 0 t"},{name:"dy22",fmla:"*/ dy2 1 2"},{name:"dy3",fmla:"*/ h 1 20"},{name:"yD",fmla:"+- t dy22 dy3"},{name:"dy4",fmla:"*/ hd6 1 1"},{name:"yP1",fmla:"+- hd6 dy4 0"},{name:"xP1",fmla:"val wd6"},{name:"dy5",fmla:"*/ hd6 1 2"},{name:"yP2",fmla:"+- yF dy5 0"},{name:"xP2",fmla:"val wd4"}],ranges:[{y:{name:"adj1",min:1,max:75e3},pos:{x:"xF",y:"yF"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"xB",y:"yB"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"quadBezTo",pts:[{x:"xP1",y:"yP1"},{x:"xB",y:"yB"}]},{type:"lnTo",x:"xC",y:"t"},{type:"lnTo",x:"r",y:"yD"},{type:"lnTo",x:"xE",y:"yE"},{type:"lnTo",x:"xF",y:"yF"},{type:"quadBezTo",pts:[{x:"xP2",y:"yP2"},{x:"l",y:"b"}]},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00Q 33.00,66.67 166.67,25.00L 163.85 0.00L 200.00 40.00L 175.12 100.00L 172.30 75.00Q 50.00,91.67 0.00,200.00Z",range:[[1,75e3],[0,7e4]],relative:["y","x"]},teardrop:{type:"teardrop",defaultValue:[1e5],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 200000"},{name:"r2",fmla:"sqrt 2"},{name:"tw",fmla:"*/ wd2 r2 1"},{name:"th",fmla:"*/ hd2 r2 1"},{name:"sw",fmla:"*/ tw a 100000"},{name:"sh",fmla:"*/ th a 100000"},{name:"dx1",fmla:"cos sw 2700000"},{name:"dy1",fmla:"sin sh 2700000"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc 0 dy1"},{name:"x2",fmla:"+/ hc x1 2"},{name:"y2",fmla:"+/ vc y1 2"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{x:{name:"adj",min:0,max:2e5},pos:{x:"x1",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"vc"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd2",swAng:"cd4"},{type:"quadBezTo",pts:[{x:"x2",y:"t"},{x:"x1",y:"y1"}]},{type:"quadBezTo",pts:[{x:"r",y:"y2"},{x:"r",y:"vc"}]},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"cd4",swAng:"cd4"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00A 100.00 100.00 0 0 1 100.00 -0.00Q 150.00,0.00 200.00,0.00Q 200.00,50.00 200.00,100.00A 100.00 100.00 0 0 1 100.00 200.00A 100.00 100.00 0 0 1 0.00 100.00Z",range:[[0,2e5]],relative:["x"]},trapezoid:{type:"trapezoid",defaultValue:[25e3],adjustmentNames:["adj"],params:[{name:"maxAdj",fmla:"*/ 50000 w ss"},{name:"a",fmla:"pin 0 adj maxAdj"},{name:"x1",fmla:"*/ ss a 200000"},{name:"x2",fmla:"*/ ss a 100000"},{name:"x3",fmla:"+- r 0 x2"},{name:"x4",fmla:"+- r 0 x1"},{name:"il",fmla:"*/ wd3 a maxAdj"},{name:"it",fmla:"*/ hd3 a maxAdj"},{name:"ir",fmla:"+- r 0 il"}],ranges:[{x:{name:"adj",min:0,max:"maxAdj"},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"x3",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 50.00 0.00L 150.00 0.00L 200.00 200.00Z",range:[[0,5e4]],relative:["x"]},triangle:{type:"triangle",defaultValue:[5e4],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 100000"},{name:"x1",fmla:"*/ w a 200000"},{name:"x2",fmla:"*/ w a 100000"},{name:"x3",fmla:"+- x1 wd2 0"}],ranges:[{x:{name:"adj",min:0,max:1e5},pos:{x:"x2",y:"t"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 100.00 0.00L 200.00 200.00Z",range:[[0,1e5]],relative:["x"]},upArrowCallout:{type:"upArrowCallout",defaultValue:[25e3,25e3,25e3,64977],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"maxAdj2",fmla:"*/ 50000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"*/ 100000 h ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 ss h"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"dx1",fmla:"*/ ss a2 100000"},{name:"dx2",fmla:"*/ ss a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"*/ ss a3 100000"},{name:"dy2",fmla:"*/ h a4 100000"},{name:"y2",fmla:"+- b 0 dy2"},{name:"y3",fmla:"+/ y2 b 2"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x2",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"y1"}},{y:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 70.05L 75.00 70.05L 75.00 50.00L 50.00 50.00L 100.00 0.00L 150.00 50.00L 125.00 50.00L 125.00 70.05L 200.00 70.05L 200.00 200.00L 0.00 200.00Z",range:[[0,5e4],[0,5e4],[0,1e5],[0,75e3]],relative:["x","x","y","y"]},upArrow:{type:"upArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"y2",fmla:"*/ ss a2 100000"},{name:"y3",fmla:"+- b 0 y2"},{name:"dx1",fmla:"*/ w a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"},{name:"dy1",fmla:"*/ x1 y2 wd2"},{name:"y1",fmla:"+- y2 0 dy1"},{name:"y4",fmla:"+- y3 dy1 0"}],ranges:[{x:{name:"adj1",min:0,max:1e5},pos:{x:"x1",y:"y3"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 100.00 0.00L 200.00 100.00L 150.00 100.00L 150.00 200.00L 50.00 200.00L 50.00 100.00Z",range:[[0,1e5],[0,5e4]],relative:["x","y"]},upDownArrow:{type:"upDownArrow",defaultValue:[5e4,5e4],adjustmentNames:["adj1","adj2"],params:[{name:"maxAdj2",fmla:"*/ 50000 h ss"},{name:"a1",fmla:"pin 0 adj1 100000"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"y2",fmla:"*/ ss a2 100000"},{name:"y3",fmla:"+- b 0 y2"},{name:"dx1",fmla:"*/ w a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc dx1 0"},{name:"dy1",fmla:"*/ x1 y2 wd2"},{name:"y1",fmla:"+- y2 0 dy1"},{name:"y4",fmla:"+- y3 dy1 0"}],ranges:[{x:{name:"adj1",min:0,max:1e5},pos:{x:"x1",y:"y3"}},{y:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"r",y:"y3"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"l",y:"y3"},{type:"lnTo",x:"x1",y:"y3"},{type:"lnTo",x:"x1",y:"y2"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 100.00L 100.00 0.00L 200.00 100.00L 150.00 100.00L 150.00 100.00L 200.00 100.00L 100.00 200.00L 0.00 100.00L 50.00 100.00L 50.00 100.00Z",range:[[0,1e5],[0,5e4]],relative:["x","y"]},upDownArrowCallout:{type:"upDownArrowCallout",defaultValue:[25e3,25e3,25e3,48123],adjustmentNames:["adj1","adj2","adj3","adj4"],params:[{name:"maxAdj2",fmla:"*/ 50000 w ss"},{name:"a2",fmla:"pin 0 adj2 maxAdj2"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"maxAdj3",fmla:"*/ 50000 h ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q2",fmla:"*/ a3 ss hd2"},{name:"maxAdj4",fmla:"+- 100000 0 q2"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"dx1",fmla:"*/ ss a2 100000"},{name:"dx2",fmla:"*/ ss a1 200000"},{name:"x1",fmla:"+- hc 0 dx1"},{name:"x2",fmla:"+- hc 0 dx2"},{name:"x3",fmla:"+- hc dx2 0"},{name:"x4",fmla:"+- hc dx1 0"},{name:"y1",fmla:"*/ ss a3 100000"},{name:"y4",fmla:"+- b 0 y1"},{name:"dy2",fmla:"*/ h a4 200000"},{name:"y2",fmla:"+- vc 0 dy2"},{name:"y3",fmla:"+- vc dy2 0"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"x2",y:"y1"}},{x:{name:"adj2",min:0,max:"maxAdj2"},pos:{x:"x1",y:"t"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"r",y:"y1"}},{y:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"l",y:"y2"}}],paths:[{path:[{type:"moveTo",x:"l",y:"y2"},{type:"lnTo",x:"x2",y:"y2"},{type:"lnTo",x:"x2",y:"y1"},{type:"lnTo",x:"x1",y:"y1"},{type:"lnTo",x:"hc",y:"t"},{type:"lnTo",x:"x4",y:"y1"},{type:"lnTo",x:"x3",y:"y1"},{type:"lnTo",x:"x3",y:"y2"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"r",y:"y3"},{type:"lnTo",x:"x3",y:"y3"},{type:"lnTo",x:"x3",y:"y4"},{type:"lnTo",x:"x4",y:"y4"},{type:"lnTo",x:"hc",y:"b"},{type:"lnTo",x:"x1",y:"y4"},{type:"lnTo",x:"x2",y:"y4"},{type:"lnTo",x:"x2",y:"y3"},{type:"lnTo",x:"l",y:"y3"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 51.88L 75.00 51.88L 75.00 50.00L 50.00 50.00L 100.00 0.00L 150.00 50.00L 125.00 50.00L 125.00 51.88L 200.00 51.88L 200.00 148.12L 125.00 148.12L 125.00 150.00L 150.00 150.00L 100.00 200.00L 50.00 150.00L 75.00 150.00L 75.00 148.12L 0.00 148.12Z",range:[[0,5e4],[0,5e4],[0,5e4],[0,5e4]],relative:["x","x","y","y"]},uturnArrow:{type:"uturnArrow",defaultValue:[25e3,25e3,25e3,43750,75e3],adjustmentNames:["adj1","adj2","adj3","adj4","adj5"],params:[{name:"a2",fmla:"pin 0 adj2 25000"},{name:"maxAdj1",fmla:"*/ a2 2 1"},{name:"a1",fmla:"pin 0 adj1 maxAdj1"},{name:"q2",fmla:"*/ a1 ss h"},{name:"q3",fmla:"+- 100000 0 q2"},{name:"maxAdj3",fmla:"*/ q3 h ss"},{name:"a3",fmla:"pin 0 adj3 maxAdj3"},{name:"q1",fmla:"+- a3 a1 0"},{name:"minAdj5",fmla:"*/ q1 ss h"},{name:"a5",fmla:"pin minAdj5 adj5 100000"},{name:"th",fmla:"*/ ss a1 100000"},{name:"aw2",fmla:"*/ ss a2 100000"},{name:"th2",fmla:"*/ th 1 2"},{name:"dh2",fmla:"+- aw2 0 th2"},{name:"y5",fmla:"*/ h a5 100000"},{name:"ah",fmla:"*/ ss a3 100000"},{name:"y4",fmla:"+- y5 0 ah"},{name:"x9",fmla:"+- r 0 dh2"},{name:"bw",fmla:"*/ x9 1 2"},{name:"bs",fmla:"min bw y4"},{name:"maxAdj4",fmla:"*/ bs 100000 ss"},{name:"a4",fmla:"pin 0 adj4 maxAdj4"},{name:"bd",fmla:"*/ ss a4 100000"},{name:"bd3",fmla:"+- bd 0 th"},{name:"bd2",fmla:"max bd3 0"},{name:"x3",fmla:"+- th bd2 0"},{name:"x8",fmla:"+- r 0 aw2"},{name:"x6",fmla:"+- x8 0 aw2"},{name:"x7",fmla:"+- x6 dh2 0"},{name:"x4",fmla:"+- x9 0 bd"},{name:"x5",fmla:"+- x7 0 bd2"},{name:"cx",fmla:"+/ th x7 2"}],ranges:[{x:{name:"adj1",min:0,max:"maxAdj1"},pos:{x:"th",y:"b"}},{x:{name:"adj2",min:0,max:25e3},pos:{x:"x6",y:"b"}},{y:{name:"adj3",min:0,max:"maxAdj3"},pos:{x:"x6",y:"y4"}},{x:{name:"adj4",min:0,max:"maxAdj4"},pos:{x:"bd",y:"t"}},{y:{name:"adj5",min:"minAdj5",max:1e5},pos:{x:"r",y:"y5"}}],paths:[{path:[{type:"moveTo",x:"l",y:"b"},{type:"lnTo",x:"l",y:"bd"},{type:"arcTo",wR:"bd",hR:"bd",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x4",y:"t"},{type:"arcTo",wR:"bd",hR:"bd",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"x9",y:"y4"},{type:"lnTo",x:"r",y:"y4"},{type:"lnTo",x:"x8",y:"y5"},{type:"lnTo",x:"x6",y:"y4"},{type:"lnTo",x:"x7",y:"y4"},{type:"lnTo",x:"x7",y:"x3"},{type:"arcTo",wR:"bd2",hR:"bd2",stAng:0,swAng:-54e5},{type:"lnTo",x:"x3",y:"th"},{type:"arcTo",wR:"bd2",hR:"bd2",stAng:"3cd4",swAng:-54e5},{type:"lnTo",x:"th",y:"b"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 200.00L 0.00 87.50A 87.50 87.50 0 0 1 87.50 -0.00L 87.50 0.00A 87.50 87.50 0 0 1 175.00 87.50L 175.00 100.00L 200.00 100.00L 150.00 150.00L 100.00 100.00L 125.00 100.00L 125.00 87.50A 37.50 37.50 0 0 0 87.50 50.00L 87.50 50.00A 37.50 37.50 0 0 0 50.00 87.50L 50.00 200.00Z",range:[[0,5e4],[0,25e3],[0,75e3],[0,43750],[5e4,1e5]],relative:["x","x","y","x","y"]},verticalScroll:{type:"verticalScroll",defaultValue:[12500],adjustmentNames:["adj"],params:[{name:"a",fmla:"pin 0 adj 25000"},{name:"ch",fmla:"*/ ss a 100000"},{name:"ch2",fmla:"*/ ch 1 2"},{name:"ch4",fmla:"*/ ch 1 4"},{name:"x3",fmla:"+- ch ch2 0"},{name:"x4",fmla:"+- ch ch 0"},{name:"x6",fmla:"+- r 0 ch"},{name:"x7",fmla:"+- r 0 ch2"},{name:"x5",fmla:"+- x6 0 ch2"},{name:"y3",fmla:"+- b 0 ch"},{name:"y4",fmla:"+- b 0 ch2"}],ranges:[{y:{name:"adj",min:0,max:25e3},pos:{x:"l",y:"ch"}}],paths:[{path:[{type:"moveTo",x:"ch2",y:"b"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"ch2",y:"y4"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"cd4",swAng:-108e5},{type:"lnTo",x:"ch",y:"y3"},{type:"lnTo",x:"ch",y:"ch2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x7",y:"t"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"x6",y:"ch"},{type:"lnTo",x:"x6",y:"y4"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd4"},{type:"close"},{type:"moveTo",x:"x4",y:"ch2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"cd4",swAng:"cd2"},{type:"close"}],stroke:!1,fill:"norm"},{path:[{type:"moveTo",x:"x4",y:"ch2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd4"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"cd4",swAng:"cd2"},{type:"close"},{type:"moveTo",x:"ch",y:"y4"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"3cd4"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"3cd4",swAng:"cd2"},{type:"close"}],stroke:!1,fill:"darkenLess"},{path:[{type:"moveTo",x:"ch",y:"y3"},{type:"lnTo",x:"ch",y:"ch2"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x7",y:"t"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"x6",y:"ch"},{type:"lnTo",x:"x6",y:"y4"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:0,swAng:"cd4"},{type:"lnTo",x:"ch2",y:"b"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:"cd2"},{type:"close"},{type:"moveTo",x:"x3",y:"t"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"3cd4",swAng:"cd2"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"cd4",swAng:"cd2"},{type:"lnTo",x:"x4",y:"ch2"},{type:"moveTo",x:"x6",y:"ch"},{type:"lnTo",x:"x3",y:"ch"},{type:"moveTo",x:"ch2",y:"y3"},{type:"arcTo",wR:"ch4",hR:"ch4",stAng:"3cd4",swAng:"cd2"},{type:"lnTo",x:"ch",y:"y4"},{type:"moveTo",x:"ch2",y:"b"},{type:"arcTo",wR:"ch2",hR:"ch2",stAng:"cd4",swAng:-54e5},{type:"lnTo",x:"ch",y:"y3"}],stroke:!0,fill:"none"}],path:"M 12.50 200.00A 12.50 12.50 0 0 0 25.00 187.50L 12.50 187.50A 6.25 6.25 0 0 0 12.50 175.00L 25.00 175.00L 25.00 12.50A 12.50 12.50 0 0 1 37.50 -0.00L 187.50 0.00A 12.50 12.50 0 0 1 187.50 25.00L 175.00 25.00L 175.00 187.50A 12.50 12.50 0 0 1 162.50 200.00ZM 50.00 12.50A 12.50 12.50 0 0 1 37.50 25.00A 6.25 6.25 0 0 1 37.50 12.50ZM 50.00 12.50A 12.50 12.50 0 0 1 37.50 25.00A 6.25 6.25 0 0 1 37.50 12.50ZM 25.00 187.50A 12.50 12.50 0 1 1 12.50 175.00A 6.25 6.25 0 0 1 12.50 187.50ZM 25.00 175.00L 25.00 12.50A 12.50 12.50 0 0 1 37.50 -0.00L 187.50 0.00A 12.50 12.50 0 0 1 187.50 25.00L 175.00 25.00L 175.00 187.50A 12.50 12.50 0 0 1 162.50 200.00L 12.50 200.00A 12.50 12.50 0 0 1 12.50 175.00ZM 37.50 0.00A 12.50 12.50 0 0 1 37.50 25.00A 6.25 6.25 0 0 1 37.50 12.50L 50.00 12.50M 175.00 25.00L 37.50 25.00M 12.50 175.00A 6.25 6.25 0 0 1 12.50 187.50L 25.00 187.50M 12.50 200.00A 12.50 12.50 0 0 0 25.00 187.50L 25.00 175.00",range:[[0,25e3]],relative:["y"]},wave:{type:"wave",defaultValue:[12500,0],adjustmentNames:["adj1","adj2"],params:[{name:"a1",fmla:"pin 0 adj1 20000"},{name:"a2",fmla:"pin -10000 adj2 10000"},{name:"y1",fmla:"*/ h a1 100000"},{name:"dy2",fmla:"*/ y1 10 3"},{name:"y2",fmla:"+- y1 0 dy2"},{name:"y3",fmla:"+- y1 dy2 0"},{name:"y4",fmla:"+- b 0 y1"},{name:"y5",fmla:"+- y4 0 dy2"},{name:"y6",fmla:"+- y4 dy2 0"},{name:"dx1",fmla:"*/ w a2 100000"},{name:"of2",fmla:"*/ w a2 50000"},{name:"x1",fmla:"abs dx1"},{name:"dx2",fmla:"?: of2 0 of2"},{name:"x2",fmla:"+- l 0 dx2"},{name:"dx5",fmla:"?: of2 of2 0"},{name:"x5",fmla:"+- r 0 dx5"},{name:"dx3",fmla:"+/ dx2 x5 3"},{name:"x3",fmla:"+- x2 dx3 0"},{name:"x4",fmla:"+/ x3 x5 2"},{name:"x6",fmla:"+- l dx5 0"},{name:"x10",fmla:"+- r dx2 0"},{name:"x7",fmla:"+- x6 dx3 0"},{name:"x8",fmla:"+/ x7 x10 2"},{name:"x9",fmla:"+- r 0 x1"},{name:"xAdj",fmla:"+- hc dx1 0"},{name:"xAdj2",fmla:"+- hc 0 dx1"},{name:"il",fmla:"max x2 x6"},{name:"ir",fmla:"min x5 x10"},{name:"it",fmla:"*/ h a1 50000"},{name:"ib",fmla:"+- b 0 it"}],ranges:[{y:{name:"adj1",min:0,max:2e4},pos:{x:"l",y:"y1"}},{x:{name:"adj2",min:-1e4,max:1e4},pos:{x:"xAdj",y:"b"}}],paths:[{path:[{type:"moveTo",x:"x2",y:"y1"},{type:"cubicBezTo",pts:[{x:"x3",y:"y2"},{x:"x4",y:"y3"},{x:"x5",y:"y1"}]},{type:"lnTo",x:"x10",y:"y4"},{type:"cubicBezTo",pts:[{x:"x8",y:"y6"},{x:"x7",y:"y5"},{x:"x6",y:"y4"}]},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 25.00C 66.67,-58.33 133.33,108.33 200.00,25.00L 200.00 175.00C 133.33,258.33 66.67,91.67 0.00,175.00Z",range:[[0,2e4],[-1e4,1e4]],relative:["y","x"]},wedgeEllipseCallout:{type:"wedgeEllipseCallout",defaultValue:[-20833,62500],adjustmentNames:["adj1","adj2"],params:[{name:"dxPos",fmla:"*/ w adj1 100000"},{name:"dyPos",fmla:"*/ h adj2 100000"},{name:"xPos",fmla:"+- hc dxPos 0"},{name:"yPos",fmla:"+- vc dyPos 0"},{name:"sdx",fmla:"*/ dxPos h 1"},{name:"sdy",fmla:"*/ dyPos w 1"},{name:"pang",fmla:"at2 sdx sdy"},{name:"stAng",fmla:"+- pang 660000 0"},{name:"enAng",fmla:"+- pang 0 660000"},{name:"dx1",fmla:"cos wd2 stAng"},{name:"dy1",fmla:"sin hd2 stAng"},{name:"x1",fmla:"+- hc dx1 0"},{name:"y1",fmla:"+- vc dy1 0"},{name:"dx2",fmla:"cos wd2 enAng"},{name:"dy2",fmla:"sin hd2 enAng"},{name:"x2",fmla:"+- hc dx2 0"},{name:"y2",fmla:"+- vc dy2 0"},{name:"stAng1",fmla:"at2 dx1 dy1"},{name:"enAng1",fmla:"at2 dx2 dy2"},{name:"swAng1",fmla:"+- enAng1 0 stAng1"},{name:"swAng2",fmla:"+- swAng1 21600000 0"},{name:"swAng",fmla:"?: swAng1 swAng1 swAng2"},{name:"idx",fmla:"cos wd2 2700000"},{name:"idy",fmla:"sin hd2 2700000"},{name:"il",fmla:"+- hc 0 idx"},{name:"ir",fmla:"+- hc idx 0"},{name:"it",fmla:"+- vc 0 idy"},{name:"ib",fmla:"+- vc idy 0"}],ranges:[{x:{name:"adj1"},y:{name:"adj2"},pos:{x:"xPos",y:"yPos"}}],paths:[{path:[{type:"moveTo",x:"xPos",y:"yPos"},{type:"lnTo",x:"x1",y:"y1"},{type:"arcTo",wR:"wd2",hR:"hd2",stAng:"stAng1",swAng:"swAng"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 58.33 225.00L 50.86 187.09A 100.00 100.00 0 1 1 87.06 199.16Z",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y"]},wedgeRectCallout:{type:"wedgeRectCallout",defaultValue:[-20833,62500],adjustmentNames:["adj1","adj2"],params:[{name:"dxPos",fmla:"*/ w adj1 100000"},{name:"dyPos",fmla:"*/ h adj2 100000"},{name:"xPos",fmla:"+- hc dxPos 0"},{name:"yPos",fmla:"+- vc dyPos 0"},{name:"dx",fmla:"+- xPos 0 hc"},{name:"dy",fmla:"+- yPos 0 vc"},{name:"dq",fmla:"*/ dxPos h w"},{name:"ady",fmla:"abs dyPos"},{name:"adq",fmla:"abs dq"},{name:"dz",fmla:"+- ady 0 adq"},{name:"xg1",fmla:"?: dxPos 7 2"},{name:"xg2",fmla:"?: dxPos 10 5"},{name:"x1",fmla:"*/ w xg1 12"},{name:"x2",fmla:"*/ w xg2 12"},{name:"yg1",fmla:"?: dyPos 7 2"},{name:"yg2",fmla:"?: dyPos 10 5"},{name:"y1",fmla:"*/ h yg1 12"},{name:"y2",fmla:"*/ h yg2 12"},{name:"t1",fmla:"?: dxPos l xPos"},{name:"xl",fmla:"?: dz l t1"},{name:"t2",fmla:"?: dyPos x1 xPos"},{name:"xt",fmla:"?: dz t2 x1"},{name:"t3",fmla:"?: dxPos xPos r"},{name:"xr",fmla:"?: dz r t3"},{name:"t4",fmla:"?: dyPos xPos x1"},{name:"xb",fmla:"?: dz t4 x1"},{name:"t5",fmla:"?: dxPos y1 yPos"},{name:"yl",fmla:"?: dz y1 t5"},{name:"t6",fmla:"?: dyPos t yPos"},{name:"yt",fmla:"?: dz t6 t"},{name:"t7",fmla:"?: dxPos yPos y1"},{name:"yr",fmla:"?: dz y1 t7"},{name:"t8",fmla:"?: dyPos yPos b"},{name:"yb",fmla:"?: dz t8 b"}],ranges:[{x:{name:"adj1"},y:{name:"adj2"},pos:{x:"xPos",y:"yPos"}}],paths:[{path:[{type:"moveTo",x:"l",y:"t"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"xt",y:"yt"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"r",y:"t"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"xr",y:"yr"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"r",y:"b"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"xb",y:"yb"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"l",y:"b"},{type:"lnTo",x:"l",y:"y2"},{type:"lnTo",x:"xl",y:"yl"},{type:"lnTo",x:"l",y:"y1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 0.00L 33.33 0.00L 33.33 0.00L 83.33 0.00L 200.00 0.00L 200.00 116.67L 200.00 116.67L 200.00 166.67L 200.00 200.00L 83.33 200.00L 58.33 225.00L 33.33 200.00L 0.00 200.00L 0.00 166.67L 0.00 116.67L 0.00 116.67Z",range:[[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y"]},wedgeRoundRectCallout:{type:"wedgeRoundRectCallout",defaultValue:[-20833,62500,16667],adjustmentNames:["adj1","adj2","adj3"],params:[{name:"dxPos",fmla:"*/ w adj1 100000"},{name:"dyPos",fmla:"*/ h adj2 100000"},{name:"xPos",fmla:"+- hc dxPos 0"},{name:"yPos",fmla:"+- vc dyPos 0"},{name:"dq",fmla:"*/ dxPos h w"},{name:"ady",fmla:"abs dyPos"},{name:"adq",fmla:"abs dq"},{name:"dz",fmla:"+- ady 0 adq"},{name:"xg1",fmla:"?: dxPos 7 2"},{name:"xg2",fmla:"?: dxPos 10 5"},{name:"x1",fmla:"*/ w xg1 12"},{name:"x2",fmla:"*/ w xg2 12"},{name:"yg1",fmla:"?: dyPos 7 2"},{name:"yg2",fmla:"?: dyPos 10 5"},{name:"y1",fmla:"*/ h yg1 12"},{name:"y2",fmla:"*/ h yg2 12"},{name:"t1",fmla:"?: dxPos l xPos"},{name:"xl",fmla:"?: dz l t1"},{name:"t2",fmla:"?: dyPos x1 xPos"},{name:"xt",fmla:"?: dz t2 x1"},{name:"t3",fmla:"?: dxPos xPos r"},{name:"xr",fmla:"?: dz r t3"},{name:"t4",fmla:"?: dyPos xPos x1"},{name:"xb",fmla:"?: dz t4 x1"},{name:"t5",fmla:"?: dxPos y1 yPos"},{name:"yl",fmla:"?: dz y1 t5"},{name:"t6",fmla:"?: dyPos t yPos"},{name:"yt",fmla:"?: dz t6 t"},{name:"t7",fmla:"?: dxPos yPos y1"},{name:"yr",fmla:"?: dz y1 t7"},{name:"t8",fmla:"?: dyPos yPos b"},{name:"yb",fmla:"?: dz t8 b"},{name:"u1",fmla:"*/ ss adj3 100000"},{name:"u2",fmla:"+- r 0 u1"},{name:"v2",fmla:"+- b 0 u1"},{name:"il",fmla:"*/ u1 29289 100000"},{name:"ir",fmla:"+- r 0 il"},{name:"ib",fmla:"+- b 0 il"}],ranges:[{x:{name:"adj1"},y:{name:"adj2"},pos:{x:"xPos",y:"yPos"}}],paths:[{path:[{type:"moveTo",x:"l",y:"u1"},{type:"arcTo",wR:"u1",hR:"u1",stAng:"cd2",swAng:"cd4"},{type:"lnTo",x:"x1",y:"t"},{type:"lnTo",x:"xt",y:"yt"},{type:"lnTo",x:"x2",y:"t"},{type:"lnTo",x:"u2",y:"t"},{type:"arcTo",wR:"u1",hR:"u1",stAng:"3cd4",swAng:"cd4"},{type:"lnTo",x:"r",y:"y1"},{type:"lnTo",x:"xr",y:"yr"},{type:"lnTo",x:"r",y:"y2"},{type:"lnTo",x:"r",y:"v2"},{type:"arcTo",wR:"u1",hR:"u1",stAng:0,swAng:"cd4"},{type:"lnTo",x:"x2",y:"b"},{type:"lnTo",x:"xb",y:"yb"},{type:"lnTo",x:"x1",y:"b"},{type:"lnTo",x:"u1",y:"b"},{type:"arcTo",wR:"u1",hR:"u1",stAng:"cd4",swAng:"cd4"},{type:"lnTo",x:"l",y:"y2"},{type:"lnTo",x:"xl",y:"yl"},{type:"lnTo",x:"l",y:"y1"},{type:"close"}],stroke:!0,fill:"norm"}],path:"M 0.00 33.33A 33.33 33.33 0 0 1 33.33 -0.00L 33.33 0.00L 33.33 0.00L 83.33 0.00L 166.67 0.00A 33.33 33.33 0 0 1 200.00 33.33L 200.00 116.67L 200.00 116.67L 200.00 166.67L 200.00 166.67A 33.33 33.33 0 0 1 166.67 200.00L 83.33 200.00L 58.33 225.00L 33.33 200.00L 33.33 200.00A 33.33 33.33 0 0 1 0.00 166.67L 0.00 166.67L 0.00 116.67L 0.00 116.67Z",range:[[-2147483647,2147483647],[-2147483647,2147483647],[-2147483647,2147483647]],relative:["x","y",""]}})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/slideTransition-B0IpQu8x.css b/editor/neo-ppt/assets/slideTransition-B0IpQu8x.css new file mode 100644 index 0000000..cf41504 --- /dev/null +++ b/editor/neo-ppt/assets/slideTransition-B0IpQu8x.css @@ -0,0 +1 @@ +.svg-mask-switcher[data-v-4ae14c95]{width:100%;height:100%;position:relative;overflow:hidden}.svg-mask-switcher.is-animating[data-v-4ae14c95]{pointer-events:none}.svg-mask-switcher-layer[data-v-4ae14c95]{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.svg-mask-switcher-current.is-hidden[data-v-4ae14c95]{visibility:hidden}.svg-mask-switcher-transition[data-v-4ae14c95]{z-index:1}.svg-mask-switcher-svg[data-v-4ae14c95]{display:block}.svg-mask-switcher-foreign[data-v-4ae14c95]{width:100%;height:100%} diff --git a/editor/neo-ppt/assets/slideTransition-legacy-DlaMB_R6.js b/editor/neo-ppt/assets/slideTransition-legacy-DlaMB_R6.js new file mode 100644 index 0000000..7285a4f --- /dev/null +++ b/editor/neo-ppt/assets/slideTransition-legacy-DlaMB_R6.js @@ -0,0 +1 @@ +System.register(["./vue-legacy-BnJhYd-u.js","./_plugin-vue_export-helper-legacy-DNBbTZ02.js"],function(t,e){var i,h,a,r,o,n,s,d,c,l,g,u,w,f,m,v,y,p,x,b,k,E,M,R,z,A,$,_,B,C,S,j,F,K,O,U,q,G,H,I,T,Z,D,J,L,N,P,Q,V,W;function X(t){const e=[...t];for(let i=e.length-1;i>0;i--){const t=Math.floor(Math.random()*(i+1)),h=e[i];e[i]=e[t],e[t]=h}return e}return t({i:function(t){return"none"===t||"random"===t||q.includes(t)?t:Q},o:function(t){return"none"!==t&&{effect:P.includes(t)?t:W[t]??"fade",speed:V,advanceOnClick:!0}}}),{setters:[function(t){i=t.At,h=t.B,a=t.Et,r=t.G,o=t.H,n=t.K,s=t.Tt,d=t.U,c=t.Z,l=t.at,g=t.ct,u=t.dt,w=t.g,f=t.ot,m=t.ut,v=t.vt},function(t){y=t.t}],execute:function(){(p=document.createElement("style")).textContent=".svg-mask-switcher[data-v-4ae14c95]{width:100%;height:100%;position:relative;overflow:hidden}.svg-mask-switcher.is-animating[data-v-4ae14c95]{pointer-events:none}.svg-mask-switcher-layer[data-v-4ae14c95]{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.svg-mask-switcher-current.is-hidden[data-v-4ae14c95]{visibility:hidden}.svg-mask-switcher-transition[data-v-4ae14c95]{z-index:1}.svg-mask-switcher-svg[data-v-4ae14c95]{display:block}.svg-mask-switcher-foreign[data-v-4ae14c95]{width:100%;height:100%}\n/*$vite$:1*/",document.head.appendChild(p),x={createRects:t=>[{from:{x:0,y:0,width:t.width,height:t.height,opacity:0},to:{x:0,y:0,width:t.width,height:t.height,opacity:1},delay:0,duration:420}]},b={createRects:t=>[{from:{x:0,y:0,width:0,height:t.height},to:{x:0,y:0,width:t.width,height:t.height},delay:0,duration:520}]},k={createRects:t=>[{from:{x:t.width,y:0,width:0,height:t.height},to:{x:0,y:0,width:t.width,height:t.height},delay:0,duration:520}]},E={createRects:t=>[{from:{x:0,y:0,width:t.width,height:0},to:{x:0,y:0,width:t.width,height:t.height},delay:0,duration:520}]},M={createRects:t=>[{from:{x:0,y:t.height,width:t.width,height:0},to:{x:0,y:0,width:t.width,height:t.height},delay:0,duration:520}]},R={createRects(t){const e=t.width/2,i=t.width/2+.5;return[{from:{x:e,y:0,width:0,height:t.height},to:{x:e-i,y:0,width:i,height:t.height},delay:0,duration:520},{from:{x:e,y:0,width:0,height:t.height},to:{x:e,y:0,width:i,height:t.height},delay:0,duration:520}]}},z={createRects(t){const e=t.height/2,i=t.height/2+.5;return[{from:{x:0,y:e,width:t.width,height:0},to:{x:0,y:e-i,width:t.width,height:i},delay:0,duration:520},{from:{x:0,y:e,width:t.width,height:0},to:{x:0,y:e,width:t.width,height:i},delay:0,duration:520}]}},A={createRects:t=>[{from:{x:t.width/2,y:t.height/2,width:0,height:0},to:{x:0,y:0,width:t.width,height:t.height},delay:0,duration:560}]},$=.5,_={createRects(t){const e=t.cols??12,i=t.rows??Math.max(4,Math.round(e*(t.height/t.width))),h=t.width/e,a=t.height/i,r=[];for(let o=0;o0;i--){const t=Math.floor(Math.random()*(i+1)),h=e[i];e[i]=e[t],e[t]=h}return e}(Array.from({length:e},(e,h)=>{const a=h*i;return{from:{x:0,y:a,width:0,height:i+.5},to:{x:0,y:a,width:t.width,height:i+.5},delay:h*t.stagger*.8,duration:320}})).map((e,i)=>({...e,delay:i*t.stagger*.8}))}},C={createRects(t){const e=t.cols??18,i=t.width/e;return function(t){const e=[...t];for(let i=e.length-1;i>0;i--){const t=Math.floor(Math.random()*(i+1)),h=e[i];e[i]=e[t],e[t]=h}return e}(Array.from({length:e},(e,h)=>{const a=h*i;return{from:{x:a,y:0,width:i+.5,height:0},to:{x:a,y:0,width:i+.5,height:t.height},delay:h*t.stagger*.8,duration:320}})).map((e,i)=>({...e,delay:i*t.stagger*.8}))}},S={createRects(t){const e=t.rows??28,i=t.height/e,h=[];for(let a=0;ae)).forEach((t,e)=>{o.push({from:{x:n*h,y:t*a,width:h+F,height:a+F,opacity:0},to:{x:n*h,y:t*a,width:h+F,height:a+F,opacity:1},delay:(n*i+e)*r,duration:120})});return o}},O=.5,U={createRects(t){const e=t.cols??12,i=t.rows??Math.max(4,Math.round(e*(t.height/t.width))),h=t.width/e,a=t.height/i,r=.25*t.stagger;return function(t){const e=[...t];for(let i=e.length-1;i>0;i--){const t=Math.floor(Math.random()*(i+1)),h=e[i];e[i]=e[t],e[t]=h}return e}(Array.from({length:i*e},(t,i)=>{const o=i%e,n=Math.floor(i/e);return{from:{x:o*h,y:n*a,width:h+O,height:a+O,opacity:0},to:{x:o*h,y:n*a,width:h+O,height:a+O,opacity:1},delay:i*r,duration:120}})).map((t,e)=>({...t,delay:e*r}))}},t("c",q=["fade","wipe-right","wipe-left","wipe-down","wipe-up","split-vertical","split-horizontal","box","checkerboard","random-bars-horizontal","random-bars-vertical","horizontal-blinds","vertical-blinds","column-grid","random-grid"]),G={fade:x,"wipe-right":b,"wipe-left":k,"wipe-down":E,"wipe-up":M,"split-vertical":R,"split-horizontal":z,box:A,checkerboard:_,"random-bars-horizontal":B,"random-bars-vertical":C,"horizontal-blinds":S,"vertical-blinds":j,"column-grid":K,"random-grid":U},H={class:"svg-mask-switcher-layer svg-mask-switcher-transition"},I=["viewBox"],T=["width","height"],Z=["width","height"],D=["x","y","width","height","opacity"],J=["width","height","mask"],L={class:"svg-mask-switcher-foreign",xmlns:"http://www.w3.org/1999/xhtml"},N=c({__name:"SvgMaskSwitcher",props:{switchKey:{},item:{},effect:{default:"horizontal-blinds"},duration:{default:520},stagger:{default:18},rows:{},cols:{},disabled:{type:Boolean,default:!1}},emits:["before-switch","after-switch"],setup(t,{emit:e}){let c=0;const y=t,p=e,x=s(),b=a(y.item),k=a(),E=s(!1),M=s(G[y.effect].createRects({width:1,height:1,stagger:y.stagger})),R=s(0),z=s({width:1,height:1}),A="svg-mask-switcher-"+c++,$=o(()=>`url(#${A})`);let _=0,B=!1;const C=o(()=>M.value.reduce((t,e)=>Math.max(t,e.delay+(e.duration??y.duration)),0)),S=o(()=>M.value.map(t=>{const e=(i=R.value,h=t.delay,a=t.duration??y.duration,i<=h?0:Math.min((i-h)/a,1));var i,h,a;return{x:F(t.from.x,t.to.x,e),y:F(t.from.y,t.to.y,e),width:F(t.from.width,t.to.width,e),height:F(t.from.height,t.to.height,e),opacity:F(j(t.from),j(t.to),e)}}));function j(t){return t.opacity??1}function F(t,e,i){return t+(e-t)*(h=i,1-Math.pow(1-h,3));var h}function K(){if(!x.value)return;const t=x.value.getBoundingClientRect();t.width<=0||t.height<=0||(z.value={width:t.width,height:t.height})}function O(){_&&(cancelAnimationFrame(_),_=0)}function U(){let t=0;const e=i=>{if(t||(t=i),R.value=i-t,R.value>=C.value)return O(),R.value=C.value,k.value=void 0,E.value=!1,void p("after-switch");_=requestAnimationFrame(e)};_=requestAnimationFrame(e)}return v(()=>[y.switchKey,y.item],([t,e],i)=>{const h=i?.[0];if(!B)return B=!0,void(b.value=e);t!==h?function(t){if(O(),K(),y.disabled||z.value.width<=0||z.value.height<=0)return k.value=void 0,b.value=t,void(E.value=!1);k.value=b.value,b.value=t,M.value=G[y.effect].createRects({width:z.value.width,height:z.value.height,rows:y.rows,cols:y.cols,stagger:y.stagger}),R.value=0,E.value=!0,p("before-switch"),U()}(e):b.value=e},{immediate:!0}),w(x,K),f(K),l(O),(t,e)=>(g(),n("div",{ref_key:"$container",ref:x,class:i(["svg-mask-switcher",{"is-animating":E.value}])},[d("div",{class:i(["svg-mask-switcher-layer svg-mask-switcher-current",{"is-hidden":E.value}])},[u(t.$slots,"to",{item:b.value,phase:"current",isAnimating:E.value},()=>[u(t.$slots,"default",{item:b.value,phase:"current",isAnimating:E.value},void 0,!0)],!0)],2),E.value?(g(),n(h,{key:0},[d("div",H,[u(t.$slots,"from",{item:k.value,phase:"from",isAnimating:!0},()=>[u(t.$slots,"default",{item:k.value,phase:"from",isAnimating:!0},void 0,!0)],!0)]),(g(),n("svg",{class:"svg-mask-switcher-layer svg-mask-switcher-svg svg-mask-switcher-transition",viewBox:`0 0 ${z.value.width} ${z.value.height}`},[d("defs",null,[d("mask",{id:A,x:"0",y:"0",width:z.value.width,height:z.value.height,maskUnits:"userSpaceOnUse",style:{"mask-type":"luminance"}},[d("rect",{x:"0",y:"0",width:z.value.width,height:z.value.height,fill:"black"},null,8,Z),(g(!0),n(h,null,m(S.value,(t,e)=>(g(),n("rect",{key:e,x:t.x,y:t.y,width:t.width,height:t.height,opacity:t.opacity,fill:"white","shape-rendering":"crispEdges"},null,8,D))),128))],8,T)]),(g(),n("foreignObject",{x:"0",y:"0",width:z.value.width,height:z.value.height,mask:$.value},[d("div",L,[u(t.$slots,"to",{item:b.value,phase:"to",isAnimating:!0},()=>[u(t.$slots,"default",{item:b.value,phase:"to",isAnimating:!0},void 0,!0)],!0)])],8,J))],8,I))],64)):r("",!0)],2))}}),t("s",y(N,[["__scopeId","data-v-4ae14c95"]])),P=["fade","wipe-right","wipe-left","wipe-down","wipe-up","split-vertical","split-horizontal","box","checkerboard","random-bars-horizontal","random-bars-vertical","horizontal-blinds","vertical-blinds"],t("r","screen.transitionEffect"),t("n",Q="none"),t("t","fade"),V="fast",W={"column-grid":"checkerboard","random-grid":"checkerboard",random:"fade"},t("a",{none:"screen.transitionEffects.none",fade:"screen.transitionEffects.fade","wipe-right":"screen.transitionEffects.wipe-right","wipe-left":"screen.transitionEffects.wipe-left","wipe-down":"screen.transitionEffects.wipe-down","wipe-up":"screen.transitionEffects.wipe-up","split-vertical":"screen.transitionEffects.split-vertical","split-horizontal":"screen.transitionEffects.split-horizontal",box:"screen.transitionEffects.box",checkerboard:"screen.transitionEffects.checkerboard","random-bars-horizontal":"screen.transitionEffects.random-bars-horizontal","random-bars-vertical":"screen.transitionEffects.random-bars-vertical","horizontal-blinds":"screen.transitionEffects.horizontal-blinds","vertical-blinds":"screen.transitionEffects.vertical-blinds","column-grid":"screen.transitionEffects.column-grid","random-grid":"screen.transitionEffects.random-grid",random:"screen.transitionEffects.random"})}}}); \ No newline at end of file diff --git a/editor/neo-ppt/assets/slideTransition-qR4hDwBa.js b/editor/neo-ppt/assets/slideTransition-qR4hDwBa.js new file mode 100644 index 0000000..16dfcfb --- /dev/null +++ b/editor/neo-ppt/assets/slideTransition-qR4hDwBa.js @@ -0,0 +1 @@ +import{At as e,B as t,Et as n,G as r,H as i,K as a,Tt as o,U as s,Z as c,at as ee,ct as l,dt as u,g as te,ot as ne,ut as d,vt as f}from"./vue-B11_pI9F.js";import{t as p}from"./_plugin-vue_export-helper-B67ILkmu.js";var m=420,h={createRects(e){return[{from:{x:0,y:0,width:e.width,height:e.height,opacity:0},to:{x:0,y:0,width:e.width,height:e.height,opacity:1},delay:0,duration:m}]}},g=520,_={createRects(e){return[{from:{x:0,y:0,width:0,height:e.height},to:{x:0,y:0,width:e.width,height:e.height},delay:0,duration:g}]}},v=520,y={createRects(e){return[{from:{x:e.width,y:0,width:0,height:e.height},to:{x:0,y:0,width:e.width,height:e.height},delay:0,duration:v}]}},b=520,x={createRects(e){return[{from:{x:0,y:0,width:e.width,height:0},to:{x:0,y:0,width:e.width,height:e.height},delay:0,duration:b}]}},S=520,C={createRects(e){return[{from:{x:0,y:e.height,width:e.width,height:0},to:{x:0,y:0,width:e.width,height:e.height},delay:0,duration:S}]}},w=520,T=.5,E={createRects(e){let t=e.width/2,n=e.width/2+T;return[{from:{x:t,y:0,width:0,height:e.height},to:{x:t-n,y:0,width:n,height:e.height},delay:0,duration:w},{from:{x:t,y:0,width:0,height:e.height},to:{x:t,y:0,width:n,height:e.height},delay:0,duration:w}]}},D=520,O=.5,k={createRects(e){let t=e.height/2,n=e.height/2+O;return[{from:{x:0,y:t,width:e.width,height:0},to:{x:0,y:t-n,width:e.width,height:n},delay:0,duration:D},{from:{x:0,y:t,width:e.width,height:0},to:{x:0,y:t,width:e.width,height:n},delay:0,duration:D}]}},A=560,j={createRects(e){return[{from:{x:e.width/2,y:e.height/2,width:0,height:0},to:{x:0,y:0,width:e.width,height:e.height},delay:0,duration:A}]}},M=12,N=4,P=.5,F=130,I=220,L={createRects(e){let t=e.cols??M,n=e.rows??Math.max(N,Math.round(t*(e.height/e.width))),r=e.width/t,i=e.height/n,a=[];for(let e=0;e0;e--){let n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}var ae={createRects(e){let t=e.rows??R,n=e.height/t;return ie(Array.from({length:t},(t,r)=>{let i=r*n;return{from:{x:0,y:i,width:0,height:n+z},to:{x:0,y:i,width:e.width,height:n+z},delay:r*e.stagger*B,duration:re}})).map((t,n)=>({...t,delay:n*e.stagger*B}))}},oe=18,V=.5,H=.8,U=320;function W(e){let t=[...e];for(let e=t.length-1;e>0;e--){let n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}var G={createRects(e){let t=e.cols??oe,n=e.width/t;return W(Array.from({length:t},(t,r)=>{let i=r*n;return{from:{x:i,y:0,width:n+V,height:0},to:{x:i,y:0,width:n+V,height:e.height},delay:r*e.stagger*H,duration:U}})).map((t,n)=>({...t,delay:n*e.stagger*H}))}},K=28,q=.5,se=1,ce={createRects(e){let t=e.rows??K,n=e.height/t,r=[];for(let i=0;i0;e--){let n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}var ve={createRects(e){let t=e.cols??pe,n=e.rows??Math.max(me,Math.round(t*(e.height/e.width))),r=e.width/t,i=e.height/n,a=e.stagger*he,o=[];for(let e=0;et)).forEach((t,s)=>{o.push({from:{x:e*r,y:t*i,width:r+J,height:i+J,opacity:0},to:{x:e*r,y:t*i,width:r+J,height:i+J,opacity:1},delay:(e*n+s)*a,duration:ge})});return o}},ye=12,be=4,Y=.5,xe=.25,Se=120;function Ce(e){let t=[...e];for(let e=t.length-1;e>0;e--){let n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}var we={createRects(e){let t=e.cols??ye,n=e.rows??Math.max(be,Math.round(t*(e.height/e.width))),r=e.width/t,i=e.height/n,a=e.stagger*xe;return Ce(Array.from({length:n*t},(e,n)=>{let o=n%t,s=Math.floor(n/t);return{from:{x:o*r,y:s*i,width:r+Y,height:i+Y,opacity:0},to:{x:o*r,y:s*i,width:r+Y,height:i+Y,opacity:1},delay:n*a,duration:Se}})).map((e,t)=>({...e,delay:t*a}))}},X=[`fade`,`wipe-right`,`wipe-left`,`wipe-down`,`wipe-up`,`split-vertical`,`split-horizontal`,`box`,`checkerboard`,`random-bars-horizontal`,`random-bars-vertical`,`horizontal-blinds`,`vertical-blinds`,`column-grid`,`random-grid`],Z={fade:h,"wipe-right":_,"wipe-left":y,"wipe-down":x,"wipe-up":C,"split-vertical":E,"split-horizontal":k,box:j,checkerboard:L,"random-bars-horizontal":ae,"random-bars-vertical":G,"horizontal-blinds":ce,"vertical-blinds":fe,"column-grid":ve,"random-grid":we},Te={class:`svg-mask-switcher-layer svg-mask-switcher-transition`},Ee=[`viewBox`],De=[`width`,`height`],Oe=[`width`,`height`],Q=[`x`,`y`,`width`,`height`,`opacity`],ke=[`width`,`height`,`mask`],Ae={class:`svg-mask-switcher-foreign`,xmlns:`http://www.w3.org/1999/xhtml`},je=p(c({__name:`SvgMaskSwitcher`,props:{switchKey:{},item:{},effect:{default:`horizontal-blinds`},duration:{default:520},stagger:{default:18},rows:{},cols:{},disabled:{type:Boolean,default:!1}},emits:[`before-switch`,`after-switch`],setup(c,{emit:p}){let m=0,h=c,g=p,_=o(),v=n(h.item),y=n(),b=o(!1),x=o(Z[h.effect].createRects({width:1,height:1,stagger:h.stagger})),S=o(0),C=o({width:1,height:1}),w=`svg-mask-switcher-${m++}`,T=i(()=>`url(#${w})`),E=0,D=!1,O=i(()=>x.value.reduce((e,t)=>Math.max(e,t.delay+(t.duration??h.duration)),0)),k=i(()=>x.value.map(e=>{let t=M(S.value,e.delay,e.duration??h.duration);return{x:j(e.from.x,e.to.x,t),y:j(e.from.y,e.to.y,t),width:j(e.from.width,e.to.width,t),height:j(e.from.height,e.to.height,t),opacity:j(A(e.from),A(e.to),t)}}));function A(e){return e.opacity??1}function j(e,t,n){return e+(t-e)*N(n)}function M(e,t,n){return e<=t?0:Math.min((e-t)/n,1)}function N(e){return 1-(1-e)**3}function P(){if(!_.value)return;let e=_.value.getBoundingClientRect();e.width<=0||e.height<=0||(C.value={width:e.width,height:e.height})}function F(){E&&(cancelAnimationFrame(E),E=0)}function I(){F(),S.value=O.value,y.value=void 0,b.value=!1,g(`after-switch`)}function L(){let e=0,t=n=>{if(e||(e=n),S.value=n-e,S.value>=O.value){I();return}E=requestAnimationFrame(t)};E=requestAnimationFrame(t)}function R(e){if(F(),P(),h.disabled||C.value.width<=0||C.value.height<=0){y.value=void 0,v.value=e,b.value=!1;return}y.value=v.value,v.value=e,x.value=Z[h.effect].createRects({width:C.value.width,height:C.value.height,rows:h.rows,cols:h.cols,stagger:h.stagger}),S.value=0,b.value=!0,g(`before-switch`),L()}return f(()=>[h.switchKey,h.item],([e,t],n)=>{let r=n?.[0];if(!D){D=!0,v.value=t;return}if(e===r){v.value=t;return}R(t)},{immediate:!0}),te(_,P),ne(P),ee(F),(n,i)=>(l(),a(`div`,{ref_key:`$container`,ref:_,class:e([`svg-mask-switcher`,{"is-animating":b.value}])},[s(`div`,{class:e([`svg-mask-switcher-layer svg-mask-switcher-current`,{"is-hidden":b.value}])},[u(n.$slots,`to`,{item:v.value,phase:`current`,isAnimating:b.value},()=>[u(n.$slots,`default`,{item:v.value,phase:`current`,isAnimating:b.value},void 0,!0)],!0)],2),b.value?(l(),a(t,{key:0},[s(`div`,Te,[u(n.$slots,`from`,{item:y.value,phase:`from`,isAnimating:!0},()=>[u(n.$slots,`default`,{item:y.value,phase:`from`,isAnimating:!0},void 0,!0)],!0)]),(l(),a(`svg`,{class:`svg-mask-switcher-layer svg-mask-switcher-svg svg-mask-switcher-transition`,viewBox:`0 0 ${C.value.width} ${C.value.height}`},[s(`defs`,null,[s(`mask`,{id:w,x:`0`,y:`0`,width:C.value.width,height:C.value.height,maskUnits:`userSpaceOnUse`,style:{"mask-type":`luminance`}},[s(`rect`,{x:`0`,y:`0`,width:C.value.width,height:C.value.height,fill:`black`},null,8,Oe),(l(!0),a(t,null,d(k.value,(e,t)=>(l(),a(`rect`,{key:t,x:e.x,y:e.y,width:e.width,height:e.height,opacity:e.opacity,fill:`white`,"shape-rendering":`crispEdges`},null,8,Q))),128))],8,De)]),(l(),a(`foreignObject`,{x:`0`,y:`0`,width:C.value.width,height:C.value.height,mask:T.value},[s(`div`,Ae,[u(n.$slots,`to`,{item:v.value,phase:`to`,isAnimating:!0},()=>[u(n.$slots,`default`,{item:v.value,phase:`to`,isAnimating:!0},void 0,!0)],!0)])],8,ke))],8,Ee))],64)):r(``,!0)],2))}}),[[`__scopeId`,`data-v-4ae14c95`]]),Me=[`fade`,`wipe-right`,`wipe-left`,`wipe-down`,`wipe-up`,`split-vertical`,`split-horizontal`,`box`,`checkerboard`,`random-bars-horizontal`,`random-bars-vertical`,`horizontal-blinds`,`vertical-blinds`],Ne=`screen.transitionEffect`,$=`none`,Pe=`fade`,Fe=`fade`,Ie=`fast`,Le={"column-grid":`checkerboard`,"random-grid":`checkerboard`,random:Fe},Re={none:`screen.transitionEffects.none`,fade:`screen.transitionEffects.fade`,"wipe-right":`screen.transitionEffects.wipe-right`,"wipe-left":`screen.transitionEffects.wipe-left`,"wipe-down":`screen.transitionEffects.wipe-down`,"wipe-up":`screen.transitionEffects.wipe-up`,"split-vertical":`screen.transitionEffects.split-vertical`,"split-horizontal":`screen.transitionEffects.split-horizontal`,box:`screen.transitionEffects.box`,checkerboard:`screen.transitionEffects.checkerboard`,"random-bars-horizontal":`screen.transitionEffects.random-bars-horizontal`,"random-bars-vertical":`screen.transitionEffects.random-bars-vertical`,"horizontal-blinds":`screen.transitionEffects.horizontal-blinds`,"vertical-blinds":`screen.transitionEffects.vertical-blinds`,"column-grid":`screen.transitionEffects.column-grid`,"random-grid":`screen.transitionEffects.random-grid`,random:`screen.transitionEffects.random`};function ze(e){return e===`none`||e===`random`||X.includes(e)?e:$}function Be(e){return e===`none`?!1:{effect:Me.includes(e)?e:Le[e]??`fade`,speed:Ie,advanceOnClick:!0}}export{Re as a,X as c,ze as i,$ as n,Be as o,Ne as r,je as s,Pe as t}; \ No newline at end of file diff --git a/editor/neo-ppt/assets/snapdom-Da_w1Ev1.js b/editor/neo-ppt/assets/snapdom-Da_w1Ev1.js new file mode 100644 index 0000000..989dba3 --- /dev/null +++ b/editor/neo-ppt/assets/snapdom-Da_w1Ev1.js @@ -0,0 +1,8 @@ +var e=Object.defineProperty,t=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},n=(t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})};function r(e){if(e===!0)return`soft`;if(e===!1)return`disabled`;if(typeof e==`string`){let t=e.toLowerCase().trim();if(t===`auto`)return`auto`;if(t===`full`)return`full`;if(t===`soft`||t===`disabled`)return t}return`soft`}function i(e=`soft`){switch(e){case`auto`:o.session.styleMap=new Map,o.session.nodeMap=new Map;return;case`soft`:o.session.styleMap=new Map,o.session.nodeMap=new Map,o.session.styleCache=new WeakMap;return;case`full`:return;case`disabled`:o.session.styleMap=new Map,o.session.nodeMap=new Map,o.session.styleCache=new WeakMap,o.computedStyle=new WeakMap,o.measureHints=new WeakMap,o.baseStyle=new a(50),o.defaultStyle=new a(30),o.image=new a(100),o.background=new a(100),o.resource=new a(150),o.compress=new a(50),o.font=new Set;return;default:o.session.styleMap=new Map,o.session.nodeMap=new Map,o.session.styleCache=new WeakMap;return}}var a,o,s=t(()=>{a=class extends Map{constructor(e=100,...t){super(...t),this._maxSize=e}set(e,t){if(this.size>=this._maxSize&&!this.has(e)){let e=this.keys().next().value;e!==void 0&&this.delete(e)}return super.set(e,t)}},o={image:new a(100),background:new a(100),resource:new a(150),defaultStyle:new a(30),baseStyle:new a(50),compress:new a(50),computedStyle:new WeakMap,measureHints:new WeakMap,burstAdvice:new WeakMap,warnedReconcile:!1,font:new Set,session:{styleMap:new Map,styleCache:new WeakMap,nodeMap:new Map}}});function c(e){let t=e.match(/url\((['"]?)(.*?)(\1)\)/);if(!t)return null;let n=t[2].trim();return n.startsWith(`#`)?null:n}function l(e,t=1){let n=e.match(/^\s*-?(?:webkit-)?image-set\(([\s\S]*)\)\s*$/i);if(!n)return null;let r=[];for(let e of n[1].split(`,`)){let t=e.match(/url\((['"]?)(.*?)(\1)\)/);if(!t)continue;let n=e.match(/type\(\s*["']([^"']+)["']\s*\)/i);if(n&&!p.test(n[1].trim()))continue;let i=e.match(/(\d+(?:\.\d+)?)\s*(x|dpi|dppx)/i),a=1;if(i){let e=parseFloat(i[1]);a=/dpi/i.test(i[2])?e/96:e}r.push({url:t[2].trim(),dppx:a})}return r.length?(r.sort((e,t)=>e.dppx-t.dppx),(r.find(e=>e.dppx>=t)||r[r.length-1]).url):null}function u(e){if(!e||e===`none`)return``;let t=e.replace(/translate[XY]?\([^)]*\)/g,``);return t=t.replace(/matrix\(([^)]+)\)/g,(e,t)=>{let n=t.split(`,`).map(e=>e.trim());return n.length===6?(n[4]=`0`,n[5]=`0`,`matrix(${n.join(`, `)})`):`matrix(${t})`}),t=t.replace(/matrix3d\(([^)]+)\)/g,(e,t)=>{let n=t.split(`,`).map(e=>e.trim());return n.length===16?(n[12]=`0`,n[13]=`0`,`matrix3d(${n.join(`, `)})`):`matrix3d(${t})`}),t.trim().replace(/\s{2,}/g,` `)}function d(e){if(/%[0-9A-Fa-f]{2}/.test(e))return e;try{return encodeURI(e)}catch{return e}}function f(e,t){if(!e||/^(data|blob|about|#)/i.test(e.trim()))return e;try{let n=t||typeof document<`u`&&(document.baseURI||document.location?.href)||`http://localhost/`;return new URL(e,n).href}catch{return e}}var p,m=t(()=>{p=/^image\/(jpeg|jpg|png|gif|webp|avif|apng|svg\+xml|bmp|x-icon|vnd\.microsoft\.icon)\s*(;|$)/i});function h(e=`[snapDOM]`,{ttlMs:t=5*6e4,maxEntries:n=12}={}){let r=new Map,i=0;function a(a,o,s){if(i>=n)return;let c=Date.now();(r.get(o)||0)>c||(r.set(o,c+t),i++,a===`warn`&&console&&console.warn?console.warn(`${e} ${s}`):console&&console.error&&console.error(`${e} ${s}`))}return{warnOnce(e,t){a(`warn`,e,t)},errorOnce(e,t){a(`error`,e,t)},reset(){r.clear(),i=0}}}function g(e){return/^data:|^blob:|^about:blank$/i.test(e)}function _(e,t){try{let n=typeof location<`u`&&location.href?location.href:`http://localhost/`,r=t.includes(`{url}`)?t.split(`{url}`)[0]:t,i=new URL(r||`.`,n),a=new URL(e,n);if(a.origin===i.origin)return!0;let o=a.searchParams;if(o&&(o.has(`url`)||o.has(`target`)))return!0}catch{}return!1}function v(e,t){if(!t||g(e)||_(e,t))return!1;try{let t=typeof location<`u`&&location.href?location.href:`http://localhost/`,n=new URL(e,t);return typeof location<`u`?n.origin!==location.origin:!0}catch{return!!t}}function y(e,t){return t?t.includes(`{url}`)?t.replace(`{urlRaw}`,d(e)).replace(`{url}`,encodeURIComponent(e)):/[?&]url=?$/.test(t)?`${t}${encodeURIComponent(e)}`:t.endsWith(`?`)?`${t}url=${encodeURIComponent(e)}`:t.endsWith(`/`)?`${t}${d(e)}`:`${t}${t.includes(`?`)?`&`:`?`}url=${encodeURIComponent(e)}`:e}function b(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>t(String(r.result||``)),r.onerror=()=>n(Error(`read_failed`)),r.readAsDataURL(e)})}function x(e,t){return[t.as||`blob`,t.timeout??3e3,t.useProxy||``,t.errorTTL??8e3,e].join(`|`)}async function S(e,t={}){let n=t.as??`blob`,r=t.timeout??3e3,i=t.useProxy||``,a=t.errorTTL??8e3,o=t.headers||{},s=!!t.silent;if(/^data:/i.test(e))try{if(n===`text`)return{ok:!0,data:String(e),status:200,url:e,fromCache:!1};if(n===`dataURL`)return{ok:!0,data:String(e),status:200,url:e,fromCache:!1,mime:String(e).slice(5).split(`;`)[0]||``};let[,t=``,r=``]=String(e).match(/^data:([^,]*),(.*)$/)||[],i=/;base64/i.test(t)?atob(r):decodeURIComponent(r),a=new Uint8Array([...i].map(e=>e.charCodeAt(0))),o=new Blob([a],{type:(t||``).split(`;`)[0]||``});return{ok:!0,data:o,status:200,url:e,fromCache:!1,mime:o.type||``}}catch{return{ok:!1,data:null,status:0,url:e,fromCache:!1,reason:`special_url_error`}}if(/^blob:/i.test(e))try{let t=await fetch(e);if(!t.ok)return{ok:!1,data:null,status:t.status,url:e,fromCache:!1,reason:`http_error`};let r=await t.blob(),i=r.type||t.headers.get(`content-type`)||``;return n===`dataURL`?{ok:!0,data:await b(r),status:t.status,url:e,fromCache:!1,mime:i}:n===`text`?{ok:!0,data:await r.text(),status:t.status,url:e,fromCache:!1,mime:i}:{ok:!0,data:r,status:t.status,url:e,fromCache:!1,mime:i}}catch{return{ok:!1,data:null,status:0,url:e,fromCache:!1,reason:`network`}}if(/^about:blank$/i.test(e))return n===`dataURL`?{ok:!0,data:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==`,status:200,url:e,fromCache:!1,mime:`image/png`}:{ok:!0,data:n===`text`?``:new Blob([]),status:200,url:e,fromCache:!1};let c=x(e,{as:n,timeout:r,useProxy:i,errorTTL:a}),l=T.get(c);if(l&&l.until>Date.now())return{...l.result,fromCache:!0};l&&T.delete(c);let u=w.get(c);if(u)return u;let d=v(e,i)?y(e,i):e,f=t.credentials;if(!f)try{let t=typeof location<`u`&&location.href?location.href:`http://localhost/`,n=new URL(e,t);f=typeof location<`u`&&n.origin===location.origin?`include`:`omit`}catch{f=`omit`}let p=new AbortController,m=setTimeout(()=>p.abort(`timeout`),r),h=(async()=>{try{let r=await fetch(d,{signal:p.signal,credentials:f,headers:o});if(!r.ok){let i={ok:!1,data:null,status:r.status,url:d,fromCache:!1,reason:`http_error`};if(a>0&&T.set(c,{until:Date.now()+a,result:i}),!s){let t=`${r.status} ${r.statusText||``}`.trim();C.warnOnce(`http:${r.status}:${n}:${new URL(e,location?.href??`http://localhost/`).origin}`,`HTTP error ${t} while fetching ${n} ${e}`)}return t.onError&&t.onError(i),i}if(n===`text`)return{ok:!0,data:await r.text(),status:r.status,url:d,fromCache:!1};let i=await r.blob(),l=i.type||r.headers.get(`content-type`)||``;return n===`dataURL`?{ok:!0,data:await b(i),status:r.status,url:d,fromCache:!1,mime:l}:{ok:!0,data:i,status:r.status,url:d,fromCache:!1,mime:l}}catch(i){let o=i&&typeof i==`object`&&`name`in i&&i.name===`AbortError`?String(i.message||``).includes(`timeout`)?`timeout`:`abort`:`network`,l={ok:!1,data:null,status:0,url:d,fromCache:!1,reason:o};if(!/^blob:/i.test(e)&&a>0&&T.set(c,{until:Date.now()+a,result:l}),!s){let t=`${o}:${n}:${new URL(e,location?.href??`http://localhost/`).origin}`,i=o===`timeout`?`Timeout after ${r}ms. Consider increasing timeout or using a proxy for ${e}`:o===`abort`?`Request aborted while fetching ${n} ${e}`:`Network/CORS issue while fetching ${n} ${e}. A proxy may be required`;C.errorOnce(t,i)}return t.onError&&t.onError(l),l}finally{clearTimeout(m),w.delete(c)}})();return w.set(c,h),h}var C,w,T,E=t(()=>{m(),C=h(`[snapDOM]`,{ttlMs:3*6e4,maxEntries:10}),w=new Map,T=new Map});async function D(e,t={}){if(/^((repeating-)?(linear|radial|conic)-gradient)\(/i.test(e)||e.trim()===`none`)return e;let n=l(e,typeof devicePixelRatio<`u`&&devicePixelRatio||1)??c(e);if(!n)return e;let r=d(f(n)),i=(t.useProxy||``)+`|`+r;if(o.background.has(i)){let e=o.background.get(i);return e?`url("${e}")`:`none`}try{let e=await S(r,{as:`dataURL`,useProxy:t.useProxy});return e.ok?(o.background.set(i,e.data),`url("${e.data}")`):(o.background.set(i,null),`none`)}catch{return o.background.set(i,null),`none`}}var O=t(()=>{s(),m(),E()});function k(e){if(e=String(e).toLowerCase(),ie.has(e)){let t={};return o.defaultStyle.set(e,t),t}if(o.defaultStyle.has(e))return o.defaultStyle.get(e);let t=document.getElementById(`snapdom-sandbox`);t||(t=document.createElement(`div`),t.id=`snapdom-sandbox`,t.setAttribute(`data-snapdom-sandbox`,`true`),t.setAttribute(`aria-hidden`,`true`),t.style.position=`absolute`,t.style.left=`-9999px`,t.style.top=`-9999px`,t.style.width=`0px`,t.style.height=`0px`,t.style.overflow=`hidden`,document.body.appendChild(t));let n=document.createElement(e);n.style.all=`initial`,t.appendChild(n);let r=getComputedStyle(n),i={};for(let e of r)A(e)||(i[e]=r.getPropertyValue(e));return t.removeChild(n),o.defaultStyle.set(e,i),i}function A(e){let t=z.get(e);if(t===void 0){let n=String(e).toLowerCase();t=R.has(n)||L.test(n)||ae.test(n),z.set(e,t)}return t}function j(e,t){return!ce.has(e)&&(t===`inline`||oe.has(e)||se.has(e))}function M(e,t,n=!0,r=!1){if(t=String(t||``).toLowerCase(),ie.has(t))return``;let i=[],a=k(t),o=(e.display||``).toLowerCase(),s=o===`inline`,c=j(t,o),l=e[`text-wrap-mode`]||e[`white-space`]||``,u=c&&n&&!s&&(l===`nowrap`||l===`pre`),d=c&&n&&!u,f=!1;for(let t in e){if(A(t))continue;let n=e[t];if(d){if(le.has(t))continue;if(ue.has(t)){n&&n!==a[t]&&(i.push(`${t}:${n}`),n!==`auto`&&(f=!0));continue}}if(n&&n!==a[t]){if(!u&&(t===`width`||t===`inline-size`)&&n.endsWith(`px`)&&n.includes(`.`)){let e=parseFloat(n);if(Number.isFinite(e)){i.push(`${t}:${Math.ceil(e*16)/16}px`);continue}}i.push(`${t}:${n}`)}}if(d&&!s&&!r&&!f){let t=e.width;t&&t!==`auto`&&t!==a.width&&i.push(`min-width:${t}`)}return i.sort(),i.join(`;`)}function N(e){let t=new Set;return e.nodeType!==Node.ELEMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?[]:(e.tagName&&t.add(e.tagName.toLowerCase()),typeof e.querySelectorAll==`function`&&e.querySelectorAll(`*`).forEach(e=>t.add(e.tagName.toLowerCase())),Array.from(t))}function P(e){let t=new Map;for(let n of e){let e=k(n);if(!e)continue;let r=Object.entries(e).map(([e,t])=>`${e}:${t};`).sort().join(``);r&&(t.has(r)||t.set(r,[]),t.get(r).push(n))}let n=``;for(let[e,r]of t.entries())n+=`${r.join(`,`)} { ${e} } +`;return n}function ee(e){let t=Array.from(new Set(e.values())).filter(Boolean).sort(),n=new Map,r=1;for(let e of t)n.set(e,`c${r++}`);return n}function F(e){try{let t=e?.ownerDocument;if(!t)return typeof window<`u`?window:null;let n=t.defaultView;if(n&&typeof n.getComputedStyle==`function`)return n;if(typeof window<`u`&&window.frames)for(let e=0;e{let e={length:0,getPropertyValue:()=>``,item:()=>``};return e[Symbol.iterator]=function*(){},e};if(e?.nodeType!==1){let r=typeof window<`u`?window:null;if(r&&typeof r.getComputedStyle==`function`)try{return r.getComputedStyle(e,t)||n()}catch{return n()}return n()}let r=o.computedStyle.get(e);r||(r=new Map,o.computedStyle.set(e,r));let i=r.get(t);if(!i){let a=F(e),o=null;try{o=a&&typeof a.getComputedStyle==`function`?a.getComputedStyle(e,t):null}catch{}if(!o&&typeof window<`u`&&typeof window.getComputedStyle==`function`)try{e.ownerDocument===document&&(o=window.getComputedStyle(e,t))}catch{}i=o||n(),r.set(t,i)}return i}function te(e){let t={};for(let n of e)t[n]=e.getPropertyValue(n);for(let e of de){let n=t[`border-${e}-style`];(n===`none`||n===`hidden`||t[`border-${e}-width`]===`0px`)&&(delete t[`border-${e}-style`],delete t[`border-${e}-width`],delete t[`border-${e}-color`])}return t}function ne(e){let t=[],n=0,r=0;for(let i=0;i{s(),re=new Set([`meta`,`script`,`noscript`,`title`,`link`,`template`]),ie=new Set([`meta`,`link`,`style`,`title`,`noscript`,`script`,`template`,`g`,`defs`,`use`,`marker`,`mask`,`clipPath`,`pattern`,`path`,`polygon`,`polyline`,`line`,`circle`,`ellipse`,`rect`,`filter`,`lineargradient`,`radialgradient`,`stop`]),ae=/(?:^|-)(animation|transition)(?:-|$)/i,L=/^(--.+|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i,R=new Set([`cursor`,`pointer-events`,`touch-action`,`user-select`,`print-color-adjust`,`speak`,`reading-flow`,`reading-order`,`anchor-name`,`anchor-scope`,`container-name`,`container-type`,`timeline-scope`,`zoom`,`stroke-color`]),z=new Map,oe=new Set([`span`,`small`,`em`,`strong`,`b`,`i`,`u`,`s`,`code`,`cite`,`mark`,`sub`,`sup`]),se=new Set([`table`,`thead`,`tbody`,`tfoot`,`tr`,`td`,`th`]),ce=new Set([`img`,`video`,`canvas`,`svg`,`iframe`,`embed`,`object`,`input`,`textarea`,`select`]),le=new Set([`width`,`max-width`,`inline-size`,`max-inline-size`]),ue=new Set([`min-width`,`min-inline-size`]),de=[`top`,`right`,`bottom`,`left`]});function fe(e,{fast:t=!1}={}){if(t)return e();`requestIdleCallback`in window?requestIdleCallback(e,{timeout:50}):setTimeout(e,1)}function pe(){if(typeof navigator>`u`)return!1;if(navigator.userAgentData)return navigator.userAgentData.platform===`iOS`;let e=navigator.userAgent||``,t=/iPhone|iPad|iPod/.test(e),n=navigator.maxTouchPoints>2&&/Macintosh/.test(e);return t||n}function V(){if(typeof navigator>`u`)return!1;let e=navigator.userAgent||``,t=e.toLowerCase(),n=t.includes(`safari`)&&!t.includes(`chrome`)&&!t.includes(`crios`)&&!t.includes(`fxios`)&&!t.includes(`android`),r=/applewebkit/i.test(e),i=/mobile/i.test(e),a=!/safari/i.test(e),o=r&&i&&a,s=/(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(e),c=/(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(t),l=/ipad|iphone|ipod/.test(t)&&r;return n||o||s||c||l}function me(){if(typeof navigator>`u`)return!1;let e=(navigator.userAgent||``).toLowerCase();return e.includes(`firefox`)||e.includes(`fxios`)}var H=t(()=>{});function U(e,t,n){let r=e&&typeof e==`object`&&(e.options||e);r&&r.debug&&(n===void 0?console.warn(`[snapdom]`,t):console.warn(`[snapdom]`,t,n))}var he=t(()=>{}),W=t(()=>{O(),B(),H(),m(),he()}),ge={};n(ge,{decodeSvgFromDataURL:()=>ye,encodeSvgToDataURL:()=>xe,fixSafariShadows:()=>Ae,toCanvas:()=>Me});function _e(e){try{let t=e.match(/]*>/i);if(!t)return e;let n=t[0],r=parseFloat((n.match(/\bwidth="([\d.]+)/i)||[])[1]),i=parseFloat((n.match(/\bheight="([\d.]+)/i)||[])[1]);if(!Number.isFinite(r)||!Number.isFinite(i)||r<=0||i<=0)return e;let a=Math.min(1,G/r,G/i,Math.sqrt(Ne/(r*i)));if(a>=1)return e;let o=Math.max(1,Math.floor(r*a)),s=Math.max(1,Math.floor(i*a));return console.warn(`[snapDOM] Capture ${Math.round(r)}\xD7${Math.round(i)}px exceeds the browser image-decode limit (${G}px/side); downscaling to ${o}\xD7${s}px. Lower \`scale\` or set \`width\`/\`height\` to control output size.`),e.replace(n,n.replace(/(\bwidth=")[\d.]+/i,`$1${o}`).replace(/(\bheight=")[\d.]+/i,`$1${s}`))}catch{return e}}function ve(e){return typeof e==`string`&&/^data:image\/svg\+xml/i.test(e)}function ye(e){let t=e.indexOf(`,`);return t>=0?decodeURIComponent(e.slice(t+1)):``}function be(e){let t=e.indexOf(`,`);if(t<0)return``;let n=e.slice(t+1,t+1201).replace(/%[0-9A-Fa-f]?$/,``);try{return decodeURIComponent(n)}catch{return``}}function xe(e){return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`}function Se(e){let t=[],n=``,r=0;for(let i=0;ie.trim()).filter(Boolean)}function Ce(e){let t=[],n=``,r=0;for(let i=0;i`${e}:${t}`).join(`;`)}function Te(e){return e.replace(/([^{}]+)\{([^}]*)\}/g,(e,t,n)=>`${t}{${we(n)}}`)}function Ee(e){return e=e.replace(/]*>([\s\S]*?)<\/style>/gi,(e,t)=>e.replace(t,Te(t))),e=e.replace(/style=(['"])([\s\S]*?)\1/gi,(e,t,n)=>`style=${t}${we(n)}${t}`),e}function De(){return Pe||(Pe=(async()=>{try{let e=new Image;e.decoding=`sync`,e.src=`data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%228%22%20height%3D%2220%22%3E%3CforeignObject%20width%3D%228%22%20height%3D%2220%22%3E%3Cdiv%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%20style%3D%22width%3A4px%3Bheight%3A4px%3Bmargin-top%3A8px%3Bbackground%3A%23000%3Bbox-shadow%3A0%208px%200%200%20%23000%22%3E%3C%2Fdiv%3E%3C%2FforeignObject%3E%3C%2Fsvg%3E`,await e.decode();let t=document.createElement(`canvas`);t.width=8,t.height=20;let n=t.getContext(`2d`,{willReadFrequently:!0});n.drawImage(e,0,0);let r=n.getImageData(2,18,1,1).data[3]>128,i=n.getImageData(2,2,1,1).data[3]>128;return{native:r||i,flippedY:i&&!r}}catch{return{native:!1,flippedY:!1}}})(),Pe)}function Oe(e){let t=[],n=0,r=0;for(let i=0;i{let t=0,n=0,r=``,i=0;for(;iSe(e).map(e=>{let n=e.indexOf(`:`);if(n<0)return e;let r=e.slice(0,n).trim().toLowerCase();return r===`text-shadow`||t&&r===`box-shadow`?`${r}:${Oe(e.slice(n+1))}`:e}).join(`;`);return e=e.replace(/]*>([\s\S]*?)<\/style>/gi,(e,t)=>e.replace(t,t.replace(/([^{}]+)\{([^}]*)\}/g,(e,t,r)=>`${t}{${n(r)}}`))),e=e.replace(/style=(['"])([\s\S]*?)\1/gi,(e,t,r)=>`style=${t}${n(r)}${t}`),e}async function Ae(e){if(!/(?:box-shadow|text-shadow)\s*:[^;"}]*px/i.test(e))return{svg:e,naturalOnly:!1};let{native:t,flippedY:n}=await De();try{let r=e;return t||(r=Ee(r)),n&&(r=ke(r,t)),{svg:r,naturalOnly:!0}}catch{return{svg:e,naturalOnly:!0}}}async function je(e,t){e.setAttribute(`data-snapdom-internal`,``),e.style.cssText=`position:fixed;left:-99999px;top:-99999px;pointer-events:none`,document.body.appendChild(e);try{let n=document.createElement(`canvas`);n.width=16,n.height=16;let r=()=>new Promise(e=>{requestAnimationFrame(e),setTimeout(e,50)}),i=n.getContext(`2d`,{willReadFrequently:!0});if(!i){await r(),await r();return}let a=performance.now()+(t?600:150);for(;;){i.clearRect(0,0,16,16);try{i.drawImage(e,0,0,16,16)}catch{return}let t=i.getImageData(0,0,16,16).data,n=!1;for(let e=3;e0){n=!0;break}if(n||performance.now()>a)return;await r()}}finally{try{e.remove()}catch{}}}async function Me(e,t){let{width:n,height:r,scale:i=1,dpr:a=1,meta:o={},backgroundColor:s}=t,c=e,l=!1,u=!1;if(ve(e)){let t=(be(e).match(/]*>/i)||[])[0]||``,n=parseFloat((t.match(/\bwidth="([\d.]+)/i)||[])[1]),r=parseFloat((t.match(/\bheight="([\d.]+)/i)||[])[1]),i=Number.isFinite(n)&&Number.isFinite(r)&&n>0&&r>0&&Math.min(1,G/n,G/r,Math.sqrt(Ne/(n*r)))<1;if(i||V())try{let t=ye(e);if(V()){let e=await Ae(t);t=e.svg,l=e.naturalOnly,u=/@font-face|data:image\//i.test(t)}i&&(t=_e(t)),c=xe(t)}catch{c=e}}let d=new Image;d.loading=`eager`,d.decoding=`sync`,d.crossOrigin=`anonymous`,d.src=c,await d.decode(),V()&&await je(d,u);let f=d.naturalWidth,p=d.naturalHeight,m=Number.isFinite(o.vbW)?o.vbW:Number.isFinite(o.w0)?o.w0:f,h=Number.isFinite(o.vbH)?o.vbH:Number.isFinite(o.h0)?o.h0:p,g,_,v=Number.isFinite(n),y=Number.isFinite(r);if(v&&y)g=Math.max(1,n),_=Math.max(1,r);else if(v){let e=n/Math.max(1,m);g=n,_=h*e}else if(y){let e=r/Math.max(1,h);_=r,g=m*e}else g=f,_=p;g*=i,_*=i;let b=g*a,x=_*a,S=Math.max(b/G,x/G,Math.sqrt(b*x/Ne));S>1&&(console.warn(`[snapDOM] Output ${Math.round(b)}\xD7${Math.round(x)}px exceeds the browser canvas limit (${G}px/side); downscaling. Lower \`scale\`/\`dpr\` or set \`width\`/\`height\`.`),g/=S,_/=S);let C=document.createElement(`canvas`);C.width=g*a,C.height=_*a,C.style.width=`${g}px`,C.style.height=`${_}px`;let w=C.getContext(`2d`);if(a!==1&&w.scale(a,a),s&&(w.save(),w.fillStyle=s,w.fillRect(0,0,g,_),w.restore()),l&&(Math.round(g*a)!==f||Math.round(_*a)!==p)){let e=document.createElement(`canvas`);e.width=f,e.height=p,e.getContext(`2d`).drawImage(d,0,0),w.drawImage(e,0,0,g,_)}else w.drawImage(d,0,0,g,_);return C}var G,Ne,Pe,Fe=t(()=>{H(),G=16384,Ne=16384*16384,Pe=null}),Ie={};n(Ie,{rasterize:()=>Le});async function Le(e,t){let n=await Me(e,t),r=await new Promise(e=>{let r=()=>e(n.toDataURL(`image/${t.format}`,t.quality));try{n.toBlob(t=>{if(!t)return r();let n=new FileReader;n.onload=()=>e(String(n.result||``)),n.onerror=r,n.readAsDataURL(t)},`image/${t.format}`,t.quality)}catch{r()}}),i=new Image;return i.src=r,await i.decode(),i.style.width=`${n.width/t.dpr}px`,i.style.height=`${n.height/t.dpr}px`,i}var Re=t(()=>{Fe()}),ze={};n(ze,{toImg:()=>Be,toSvg:()=>Be});async function Be(e,t){let{scale:n=1,width:r,height:i,meta:a={}}=t,o=Number.isFinite(r),s=Number.isFinite(i),c=Number.isFinite(n)&&n!==1||o||s;if(V()&&c)try{let{svg:t}=await Ae(ye(e)),c=(t.match(/]*>/i)||[])[0]||``,l=parseFloat((c.match(/\bwidth="([\d.]+)/i)||[])[1]),u=parseFloat((c.match(/\bheight="([\d.]+)/i)||[])[1]);if(!Number.isFinite(l)||!Number.isFinite(u))throw Error(`svg without dimensions`);let d=Number.isFinite(a.vbW)?a.vbW:Number.isFinite(a.w0)?a.w0:l,f=Number.isFinite(a.vbH)?a.vbH:Number.isFinite(a.h0)?a.h0:u,p,m;o&&s?(p=r,m=i):o?(p=r,m=Math.round(r/Math.max(1,d)*f)):s?(m=i,p=Math.round(i/Math.max(1,f)*d)):(p=Math.round(l*n),m=Math.round(u*n));let h=t.replace(/width="[^"]*"/,`width="${p}"`).replace(/height="[^"]*"/,`height="${m}"`),g=new Image;return g.decoding=`sync`,g.loading=`eager`,g.src=xe(h),await g.decode(),g.style.width=`${p}px`,g.style.height=`${m}px`,g}catch(n){return U(t,`safari vector toImg failed, falling back to PNG`,n),Le(e,{...t,format:`png`,quality:1,meta:a})}let l=new Image;if(l.decoding=`sync`,l.loading=`eager`,l.src=e,await l.decode(),o&&s)l.style.width=`${r}px`,l.style.height=`${i}px`;else if(o){let e=Number.isFinite(a.vbW)?a.vbW:Number.isFinite(a.w0)?a.w0:l.naturalWidth,t=Number.isFinite(a.vbH)?a.vbH:Number.isFinite(a.h0)?a.h0:l.naturalHeight,n=r/Math.max(1,e);l.style.width=`${r}px`,l.style.height=`${Math.round(t*n)}px`}else if(s){let e=Number.isFinite(a.vbW)?a.vbW:Number.isFinite(a.w0)?a.w0:l.naturalWidth,t=Number.isFinite(a.vbH)?a.vbH:Number.isFinite(a.h0)?a.h0:l.naturalHeight,n=i/Math.max(1,t);l.style.height=`${i}px`,l.style.width=`${Math.round(e*n)}px`}else{let r=Math.round(l.naturalWidth*n),i=Math.round(l.naturalHeight*n);if(l.style.width=`${r}px`,l.style.height=`${i}px`,typeof e==`string`&&e.startsWith(`data:image/svg+xml`))try{let t=decodeURIComponent(e.split(`,`)[1]).replace(/width="[^"]*"/,`width="${r}"`).replace(/height="[^"]*"/,`height="${i}"`);e=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(t)}`,l.src=e}catch(e){U(t,`SVG width/height patch in toImg failed`,e)}}return l}var Ve=t(()=>{W(),Re(),Fe()}),He={};n(He,{toBlob:()=>Ue});async function Ue(e,t){let n=t.type;if(n===`svg`){let t=decodeURIComponent(e.split(`,`)[1]);return new Blob([t],{type:`image/svg+xml`})}let r=await Me(e,t);return new Promise(e=>r.toBlob(t=>e(t),`image/${n}`,t.quality))}var We=t(()=>{Fe()}),Ge={};n(Ge,{download:()=>qe});async function Ke(e,t){let n=new File([e],t,{type:e.type});if(!navigator.canShare?.({files:[n]}))return!1;try{await navigator.share({files:[n],title:t})}catch(e){if(e.name!==`AbortError`)return!1}return!0}async function qe(e,t){let n=new Set([`png`,`jpeg`,`jpg`,`webp`,`svg`]),r=(t?.type||``).toLowerCase(),i=n.has(r)?r:``,a=(t?.format||i||``).toLowerCase(),o=a===`jpg`?`jpeg`:a||`png`,s=t?.filename||`snapdom.${o}`,c={...t||{},format:o,type:o};c.dpr=1;let l=pe();if(o===`svg`){let t=await Ue(e,{...c,type:`svg`});if(l&&await Ke(t,s))return;let n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=s,document.body.appendChild(r),r.click(),URL.revokeObjectURL(n),r.remove();return}let u=await Me(e,c);if(l){let e=`image/${o}`,n=await new Promise(n=>u.toBlob(n,e,t?.quality));if(n&&await Ke(n,s))return}let d=document.createElement(`a`);d.href=u.toDataURL(`image/${o}`,t?.quality),d.download=s,document.body.appendChild(d),d.click(),d.remove()}var Je=t(()=>{We(),Fe(),H()});W(),W(),s();var Ye=new WeakMap,Xe=new Map,Ze=2e3,Qe=0;function $e(){Qe++,Xe.size>Ze&&Xe.clear()}var et=`[data-snapdom-sandbox],[data-snapdom-internal],[data-snapdom]`;function tt(e){let t=e&&(e.nodeType===1?e:e.parentElement);return!!(t&&t.closest&&t.closest(et))}function nt(e){for(let t of e)if(!tt(t.target)){if(t.type===`childList`){let e=!0;for(let n of t.addedNodes)if(!tt(n)){e=!1;break}if(e){for(let n of t.removedNodes)if(!tt(n)){e=!1;break}}if(e)continue}return!0}return!1}var rt=!1;function it(e=document.documentElement){if(rt)return;rt=!0;let t=e=>{nt(e)&&$e()};try{new MutationObserver(t).observe(e,{subtree:!0,childList:!0,characterData:!0,attributes:!0})}catch{}try{new MutationObserver(t).observe(document.head,{subtree:!0,childList:!0,characterData:!0,attributes:!0})}catch{}try{let e=document.fonts;e&&(e.addEventListener?.(`loadingdone`,$e),e.ready?.then(()=>$e()).catch(()=>{}))}catch{}}var at=[`mask`,`mask-image`,`-webkit-mask`,`-webkit-mask-image`,`mask-source`,`mask-box-image-source`,`mask-border-source`,`-webkit-mask-box-image-source`,`border-image`,`border-image-source`];function ot(e){let t=Ye.get(e);if(t&&t.epoch===Qe){let e=t.snapshot&&t.snapshot.__needsBgInline;if(e!==void 0)return e}return!0}function st(e,t={}){let n={},r=e.getPropertyValue(`visibility`),i=t.excludeStyleProps;for(let t=0;te[0]t[0])).map(([e,t])=>`${e}:${t}`).join(`;`),lt.set(e,t),t)}function dt(e,t=null,n={}){let r=Ye.get(e),i=!!(n&&n.embedFonts),a=n&&n.excludeStyleProps||null;if(r&&r.epoch===Qe&&r.embedFonts===i&&r.excludeStyleProps===a)return r.snapshot;let o=t||getComputedStyle(e),s=st(o,n);return vt(e,o,s),Ye.set(e,{epoch:Qe,snapshot:s,embedFonts:i,excludeStyleProps:a}),s}function ft(e,t){return e&&e.session&&e.persist?e:e&&(e.styleMap||e.styleCache||e.nodeMap)?{session:e,persist:{snapshotKeyCache:Xe,defaultStyle:o.defaultStyle,baseStyle:o.baseStyle,image:o.image,resource:o.resource,background:o.background,font:o.font},options:t||{}}:{session:o.session,persist:{snapshotKeyCache:Xe,defaultStyle:o.defaultStyle,baseStyle:o.baseStyle,image:o.image,resource:o.resource,background:o.background,font:o.font},options:e||t||{}}}function pt(e,t,n){if(!(!e.style||e.style.length===0))for(let r=0;r0||(parseFloat(e.borderBottomWidth)||0)>0||(parseFloat(e.paddingTop)||0)>0||(parseFloat(e.paddingBottom)||0)>0?!0:(e.overflowBlock||e.overflowY||`visible`)!==`visible`}function gt(e){let t=e.parentElement;if(!t)return!1;let n=I(t).display||``;return n.includes(`flex`)||n.includes(`grid`)}function _t(e){for(let t=e.firstChild;t;t=t.nextSibling)if(t.nodeType===3&&/\S/.test(t.nodeValue))return!0;let t=e.firstElementChild,n=e.lastElementChild;if(t&&t.tagName===`BR`||n&&n.tagName===`BR`)return!0;for(let t=e.firstElementChild;t;t=t.nextElementSibling){let e=I(t);if(e.display===`none`)continue;let n=e.position;if(n!==`absolute`&&n!==`fixed`)return!0}return!1}function vt(e,t,n){if(e instanceof HTMLElement&&e.style&&e.style.height)return;let r=e.tagName&&e.tagName.toLowerCase();if(!r||![`div`,`section`,`article`,`main`,`aside`,`header`,`footer`,`nav`].includes(r))return;let i=parseFloat(t.height);if(Number.isFinite(i)&&e.scrollHeight>0&&Math.abs(i-e.scrollHeight)>2||t.aspectRatio&&t.aspectRatio!==`none`&&t.aspectRatio!==`auto`)return;let a=t.display||``;if(a.includes(`flex`)||a.includes(`grid`)||mt(e))return;let o=t.position;if(o===`absolute`||o===`fixed`||o===`sticky`||t.transform!==`none`||ht(t)||gt(e))return;let s=t.overflowX||t.overflow||`visible`,c=t.overflowY||t.overflow||`visible`;if(s!==`visible`||c!==`visible`)return;let l=t.clip;l&&l!==`auto`&&l!==`rect(auto, auto, auto, auto)`||t.visibility===`hidden`||t.opacity===`0`||_t(e)&&(delete n.height,delete n[`block-size`])}B();var yt=[`fill`,`stroke`,`color`,`background-color`,`stop-color`],bt=new Set([`symbol`,`defs`,`pattern`,`marker`,`linearGradient`,`radialGradient`,`filter`]);function xt(e){let t=e;for(;t&&t.nodeType===1;){if(t.namespaceURI===`http://www.w3.org/2000/svg`){if(t.localName===`mask`||t.localName===`clipPath`)return!1;if(bt.has(t.localName))return!0}t=t.parentNode}return!1}var St=new Map;function Ct(e,t){let n=t+`::`+e.toLowerCase(),r=St.get(n);if(r)return r;let i=document,a=t===`http://www.w3.org/2000/svg`?i.createElementNS(t,e):i.createElement(e),o=i.createElement(`div`);o.setAttribute(`data-snapdom-internal`,``),o.style.cssText=`position:absolute;left:-99999px;top:-99999px;contain:strict;display:block;`,o.appendChild(a),i.documentElement.appendChild(o);let s=getComputedStyle(a),c={};for(let e of yt)c[e]=s.getPropertyValue(e)||``;return o.remove(),St.set(n,c),c}function wt(e,t){if(e?.nodeType!==1||t?.nodeType!==1||xt(e))return;let n=e.getAttribute?.(`style`),r=!!(n&&n.includes(`var(`));if(!r&&e.attributes?.length){let t=e.attributes;for(let e=0;ee.d-t.d);let i=window.devicePixelRatio||1;return(r.find(e=>e.d>=i)||r[r.length-1]).url}function kt(e,t){let n=e.currentSrc||``;if(n&&!q(n))return n;let r=t.querySelectorAll(`source[srcset]`),i=null;for(let t of r){let n=t.getAttribute(`srcset`);if(!n||q(n))continue;let r=t.getAttribute(`type`);if(r&&!Dt.test(r.trim()))continue;let a=t.getAttribute(`media`);if(a)try{if(window.matchMedia(a).matches)return Ot(n,e)}catch{}i||(i=Ot(n,e))}return i}function At(e){let t=[e.getAttribute(`data-src`),e.getAttribute(`data-lazy-src`),e.getAttribute(`data-original`),e.getAttribute(`data-hi-res-src`)];for(let e of t)if(e&&!q(e))return e;let n=e.getAttribute(`data-srcset`)||e.getAttribute(`data-lazy-srcset`);if(n){let e=n.split(`,`)[0].trim().split(/\s+/)[0];if(e&&!q(e))return e}return null}function jt(e={}){let t=e.pictureResolver&&typeof e.pictureResolver==`object`?e.pictureResolver:{};return{timeout:t.timeout??5e3,concurrency:t.concurrency??4,resolveLazySrc:t.resolveLazySrc!==!1,silent:t.silent??!1,useProxy:typeof e.useProxy==`string`?e.useProxy:``}}async function Mt(e,t={}){if(!e||e?.nodeType!==1||t.resolvePicturePlaceholders===!1)return null;let{timeout:n,concurrency:r,resolveLazySrc:i,silent:a,useProxy:o}=jt(t);if(!Et(e,i))return null;let s=[],c=[];async function l(e){let t=await S(e,{as:`dataURL`,timeout:n,useProxy:o,silent:!0});return t.ok?t.data:null}async function u(e){for(let t=0;te()))}}let d=Array.from(e.querySelectorAll(`picture`));e.matches?.(`picture`)&&d.unshift(e);for(let e of d){let t=e.querySelector(`img`);if(!t||!q(t.getAttribute(`src`)||``))continue;let n=kt(t,e);n&&c.push(async()=>{let r=await l(n);if(!r){a||console.warn(`[snapdom:picture-resolver] Failed to fetch: ${n.slice(0,60)}`);return}let i=t.getAttribute(`src`),o=t.getAttribute(`srcset`),c=t.getAttribute(`sizes`),u=[];t.src=r,t.setAttribute(`src`,r),t.removeAttribute(`srcset`),t.removeAttribute(`sizes`);let d=e.querySelectorAll(`source`);for(let e of d)u.push({el:e,parent:e.parentElement,next:e.nextSibling}),e.remove();s.push(()=>{i===null?t.removeAttribute(`src`):t.setAttribute(`src`,i),o!==null&&t.setAttribute(`srcset`,o),c!==null&&t.setAttribute(`sizes`,c);for(let{el:e,parent:t,next:n}of u)t&&t.insertBefore(e,n)})})}if(i){let t=Array.from(e.querySelectorAll(`img`));e.localName===`img`&&t.unshift(e);for(let e of t){if(e.closest(`picture`)&&q(e.getAttribute(`src`)||``))continue;let t=e.getAttribute(`src`)||``,n=At(e);n&&q(t)&&c.push(async()=>{let t=await l(n);if(!t)return;let r=e.getAttribute(`src`);e.src=t,e.setAttribute(`src`,t),e.removeAttribute(`srcset`),e.removeAttribute(`sizes`),s.push(()=>{r===null?e.removeAttribute(`src`):e.setAttribute(`src`,r)})})}}return c.length===0?null:(await u(c),async function(){for(let e of s)try{e()}catch{}})}function Nt(e,t,n){return n?Promise.all(e.map(e=>new Promise(n=>t(e,n)))):Promise.all(e.map(e=>new Promise(r=>{function i(){fe(n=>{!(n&&typeof n.timeRemaining==`function`)||n.timeRemaining()>0?t(e,r):i()},{fast:n})}i()})))}function Pt(e){return e=e.trim(),!e||/:not\(\s*\[data-sd-slotted\]\s*\)\s*$/.test(e)?e:`${e}:not([data-sd-slotted])`}function Ft(e,t,n=!0){return e.split(`,`).map(e=>e.trim()).filter(Boolean).map(e=>e.startsWith(`:where(`)||e.startsWith(`@`)?e:`:where(${t} ${n?Pt(e):e})`).join(`, `)}function It(e,t){return e?(e=e.replace(/:host\(([^)]+)\)/g,(e,n)=>`:where(${t}:is(${n.trim()}))`),e=e.replace(/:host\b/g,`:where(${t})`),e=e.replace(/:host-context\(([^)]+)\)/g,(e,n)=>`:where(:where(${n.trim()}) ${t})`),e=e.replace(/::slotted\(([^)]+)\)/g,(e,n)=>`:where(${t} ${n.trim()})`),e=e.replace(/(^|})(\s*)([^@}{]+){/g,(e,n,r,i)=>`${n}${r}${Ft(i,t,!0)}{`),e):``}function Lt(e){return e.shadowScopeSeq=(e.shadowScopeSeq||0)+1,`s${e.shadowScopeSeq}`}function Rt(e){let t=``;try{e.querySelectorAll(`style`).forEach(e=>{t+=(e.textContent||``)+` +`});let n=e.adoptedStyleSheets||[];for(let e of n)try{if(e&&e.cssRules)for(let n of e.cssRules)t+=n.cssText+` +`}catch{}}catch{}return t}function zt(e,t,n){if(!t)return;let r=document.createElement(`style`);r.setAttribute(`data-sd`,n),r.textContent=t,e.insertBefore(r,e.firstChild||null)}function Bt(e,t){try{let n=null,r=I(e).content;if(r&&r.includes(`url(`)){let e=r.match(/url\(["']?([^"')]+)["']?\)/);e&&(n=e[1])}let i=e.closest?.(`picture`),a=n||(i?kt(e,i):e.currentSrc)||e.src||Ot(e.getAttribute(`srcset`),e)||``;if(!a)return;t.setAttribute(`src`,a),t.removeAttribute(`srcset`),t.removeAttribute(`sizes`),t.loading=`eager`,t.decoding=`sync`}catch{}}function Vt(e){let t=new Set;if(!e)return t;let n=/var\(\s*(--[A-Za-z0-9_-]+)\b/g,r;for(;r=n.exec(e);)t.add(r[1]);return t}function Ht(e,t){try{let n=getComputedStyle(e).getPropertyValue(t).trim();if(n)return n}catch{}try{let e=getComputedStyle(document.documentElement).getPropertyValue(t).trim();if(e)return e}catch{}return``}function Ut(e,t,n){let r=[];for(let n of t){let t=Ht(e,n);t&&r.push(`${n}: ${t};`)}return r.length?`${n}{${r.join(``)}} +`:``}function Wt(e){e&&(e.nodeType===Node.ELEMENT_NODE&&e.setAttribute(`data-sd-slotted`,``),e.querySelectorAll&&e.querySelectorAll(`*`).forEach(e=>e.setAttribute(`data-sd-slotted`,``)))}async function Gt(e,t=3){let n=()=>{try{return e.contentDocument||e.contentWindow?.document||null}catch{return null}},r=n(),i=0;for(;isetTimeout(e,0)),r=n(),i++;return r&&(r.body||r.documentElement)?r:null}function Kt(e){let t=e.getBoundingClientRect(),n=0,r=0,i=0,a=0;try{let t=getComputedStyle(e);n=parseFloat(t.borderLeftWidth)||0,r=parseFloat(t.borderRightWidth)||0,i=parseFloat(t.borderTopWidth)||0,a=parseFloat(t.borderBottomWidth)||0}catch{}return{contentWidth:Math.max(0,Math.round(t.width-(n+r))),contentHeight:Math.max(0,Math.round(t.height-(i+a))),rect:t}}function J(e){let t=0,n=0;if(e.offsetWidth>0&&(t=e.offsetWidth),e.offsetHeight>0&&(n=e.offsetHeight),t===0||n===0)try{let r=getComputedStyle(e);if(t===0){let e=parseFloat(r.width);!isNaN(e)&&e>0&&(t=e)}if(n===0){let e=parseFloat(r.height);!isNaN(e)&&e>0&&(n=e)}}catch{}if(t===0||n===0)try{if(t===0){let n=parseFloat(e.getAttribute(`width`));!isNaN(n)&&n>0&&(t=n)}if(n===0){let t=parseFloat(e.getAttribute(`height`));!isNaN(t)&&t>0&&(n=t)}}catch{}if((t===0||n===0)&&(e.naturalWidth||e.naturalHeight))try{t===0&&e.naturalWidth>0&&(t=e.naturalWidth),n===0&&e.naturalHeight>0&&(n=e.naturalHeight)}catch{}return{width:t,height:n}}function qt(e,t,n){let r=e.defaultView,i=r?r.scrollX:0,a=r?r.scrollY:0,o=e.body?e.body.scrollLeft:0,s=e.body?e.body.scrollTop:0,c=e.documentElement?e.documentElement.scrollLeft:0,l=e.documentElement?e.documentElement.scrollTop:0,u=0,d=0,f=0,p=0;try{let t=r&&e.body?r.getComputedStyle(e.body):null;t&&(u=(parseFloat(t.marginTop)||0)+(parseFloat(t.paddingTop)||0),d=(parseFloat(t.marginRight)||0)+(parseFloat(t.paddingRight)||0),f=(parseFloat(t.marginBottom)||0)+(parseFloat(t.paddingBottom)||0),p=(parseFloat(t.marginLeft)||0)+(parseFloat(t.paddingLeft)||0))}catch{}try{e.documentElement.setAttribute(`data-sd-pinned`,``)}catch{}let m=e.createElement(`style`);return m.setAttribute(`data-sd-iframe-pin`,``),m.textContent=`html {margin: 0 !important;padding: 0 !important;width: ${t}px !important;height: ${n}px !important;min-width: ${t}px !important;min-height: ${n}px !important;box-sizing: border-box !important;overflow: hidden !important;background-clip: border-box !important;}body {margin: 0 !important;padding: ${u}px ${d}px ${f}px ${p}px !important;width: ${t}px !important;height: ${n}px !important;min-width: ${t}px !important;min-height: ${n}px !important;box-sizing: border-box !important;overflow: hidden !important;background-clip: border-box !important;}`,(e.head||e.documentElement).appendChild(m),()=>{try{m.remove()}catch{}try{e.documentElement.removeAttribute(`data-sd-pinned`)}catch{}try{r&&typeof r.scrollTo==`function`&&r.scrollTo(i,a),e.body&&(e.body.scrollLeft=o,e.body.scrollTop=s),e.documentElement&&(e.documentElement.scrollLeft=c,e.documentElement.scrollTop=l)}catch{}}}async function Jt(e,t,n){let r=await Gt(e,3);if(!r)throw Error(`iframe document not accessible/ready`);let{contentWidth:i,contentHeight:a,rect:s}=Kt(e),c=n?.snap;if(!c&&typeof window<`u`&&window.snapdom&&(c=window.snapdom),!c||typeof c.toPng!=`function`)throw Error(`[snapdom] iframe capture requires snapdom.toPng. Use snapdom(el) or pass options.snap. With ESM, assign window.snapdom = snapdom after import if using iframes.`);let l={...n,scale:1,clip:null},u=qt(r,i,a),d=o.session.nodeMap,f=o.session.styleMap,p=o.session.styleCache,m;try{m=await c.toPng(r.documentElement,l)}finally{u(),o.session.nodeMap=d,o.session.styleMap=f,o.session.styleCache=p}m.style.display=`block`,m.style.width=`${i}px`,m.style.height=`${a}px`;let h=document.createElement(`div`);return t.nodeMap.set(h,e),K(e,h,t,n),h.style.overflow=`hidden`,h.style.display=`block`,h.style.width||(h.style.width=`${Math.round(s.width)}px`),h.style.height||(h.style.height=`${Math.round(s.height)}px`),h.appendChild(m),h}function Yt(e){let{width:t,height:n}=J(e),r=e.getBoundingClientRect(),i;try{i=window.getComputedStyle(e)}catch{}let a=i?parseFloat(i.width):NaN,o=i?parseFloat(i.height):NaN,s=Math.round(t||r.width||0),c=Math.round(n||r.height||0),l=Number.isFinite(a)&&a>0?Math.round(a):Math.max(12,s||16),u=Number.isFinite(o)&&o>0?Math.round(o):Math.max(12,c||16),d=(e.type||`text`).toLowerCase()===`checkbox`,f=!!e.checked,p=!!e.indeterminate,m=Math.max(Math.min(l,u),12),h=`middle`;try{i&&i.verticalAlign&&(h=i.verticalAlign)}catch{}let g=document.createElement(`div`);g.setAttribute(`data-snapdom-input-replacement`,e.type||`checkbox`),g.style.cssText=`display:inline-block;width:${m}px;height:${m}px;vertical-align:${h};flex-shrink:0;line-height:0;`;let _=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);_.setAttribute(`width`,String(m)),_.setAttribute(`height`,String(m)),_.setAttribute(`viewBox`,`0 0 ${m} ${m}`),g.appendChild(_);function v(){let e=`#0a6ed1`;try{i&&(e=i.accentColor||i.color||e)}catch{}let t=m-2;if(_.innerHTML=``,d){let n=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`);if(n.setAttribute(`x`,`1`),n.setAttribute(`y`,`1`),n.setAttribute(`width`,String(t)),n.setAttribute(`height`,String(t)),n.setAttribute(`rx`,`2`),n.setAttribute(`ry`,`2`),n.setAttribute(`fill`,f?e:`none`),n.setAttribute(`stroke`,e),n.setAttribute(`stroke-width`,`2`),_.appendChild(n),f){let e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);e.setAttribute(`d`,`M 3 ${m/2} L ${m/2-1} ${m-1-2} L ${m-1-2} 3`),e.setAttribute(`stroke`,`white`),e.setAttribute(`stroke-width`,`2`),e.setAttribute(`fill`,`none`),e.setAttribute(`stroke-linecap`,`round`),e.setAttribute(`stroke-linejoin`,`round`),_.appendChild(e)}else if(p){let n=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`),r=Math.max(6,t-4);n.setAttribute(`x`,String((m-r)/2)),n.setAttribute(`y`,String((m-2)/2)),n.setAttribute(`width`,String(r)),n.setAttribute(`height`,`2`),n.setAttribute(`fill`,e),n.setAttribute(`rx`,`1`),_.appendChild(n)}}else{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`circle`);if(t.setAttribute(`cx`,String(m/2)),t.setAttribute(`cy`,String(m/2)),t.setAttribute(`r`,String((m-2)/2)),t.setAttribute(`fill`,f?e:`none`),t.setAttribute(`stroke`,e),t.setAttribute(`stroke-width`,`2`),_.appendChild(t),f){let e=document.createElementNS(`http://www.w3.org/2000/svg`,`circle`),t=Math.max(2,(m-4)*.35);e.setAttribute(`cx`,String(m/2)),e.setAttribute(`cy`,String(m/2)),e.setAttribute(`r`,String(t)),e.setAttribute(`fill`,`white`),_.appendChild(e)}}g.style.setProperty(`width`,`${m}px`,`important`),g.style.setProperty(`height`,`${m}px`,`important`),g.style.setProperty(`min-width`,`${m}px`,`important`),g.style.setProperty(`min-height`,`${m}px`,`important`)}return v(),{el:g,applyVisual:v}}var Xt=new a(80);async function Zt(e){if(o.resource?.has(e))return o.resource.get(e);if(Xt.has(e))return Xt.get(e);let t=(async()=>{let t=await S(e,{as:`dataURL`,silent:!0});if(!t.ok||typeof t.data!=`string`)throw Error(`[snapDOM] Failed to read blob URL: ${e}`);return o.resource?.set(e,t.data),t.data})();Xt.set(e,t);try{let n=await t;return Xt.set(e,n),n}catch(t){throw Xt.delete(e),t}}var Qt=/\bblob:[^)"'\s]+/g;async function $t(e){if(!e||e.indexOf(`blob:`)===-1)return e;let t=Array.from(new Set(e.match(Qt)||[]));if(t.length===0)return e;let n=e;for(let e of t)try{let t=await Zt(e);n=n.split(e).join(t)}catch{}return n}function en(e){return typeof e==`string`&&e.startsWith(`blob:`)}function tn(e){return(e||``).split(`,`).map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.match(/^(\S+)(\s+.+)?$/);return t?{url:t[1],desc:t[2]||``}:null}).filter(Boolean)}function nn(e){return e.map(e=>e.desc?`${e.url} ${e.desc.trim()}`:e.url).join(`, `)}function rn(e,t){let n=e.querySelectorAll?Array.from(e.querySelectorAll(t)):[];return e.matches?.(t)&&n.unshift(e),n}async function an(e,t=null){if(!e)return;let n=t,r=rn(e,`img`);for(let e of r)try{let t=e.getAttribute(`src`)||e.currentSrc||``;if(en(t)){let n=await Zt(t);e.setAttribute(`src`,n)}let r=e.getAttribute(`srcset`);if(r&&r.includes(`blob:`)){let t=tn(r),i=!1;for(let e of t)if(en(e.url))try{e.url=await Zt(e.url),i=!0}catch(e){U(n,`blobUrlToDataUrl for srcset item failed`,e)}i&&e.setAttribute(`srcset`,nn(t))}}catch(e){U(n,`resolveBlobUrls for img failed`,e)}let i=rn(e,`image`);for(let e of i)try{let t=`http://www.w3.org/1999/xlink`,n=e.getAttribute(`href`)||e.getAttributeNS?.(t,`href`);if(en(n)){let r=await Zt(n);e.setAttribute(`href`,r),e.removeAttributeNS?.(t,`href`)}}catch(e){U(n,`resolveBlobUrls for SVG image href failed`,e)}let a=rn(e,`[style*='blob:']`);for(let e of a)try{let t=e.getAttribute(`style`);if(t&&t.includes(`blob:`)){let n=await $t(t);e.setAttribute(`style`,n)}}catch(e){U(n,`replaceBlobUrls in inline style failed`,e)}let o=e.querySelectorAll?e.querySelectorAll(`style`):[];for(let e of o)try{let t=e.textContent||``;t.includes(`blob:`)&&(e.textContent=await $t(t))}catch(e){U(n,`replaceBlobUrls in style tag failed`,e)}for(let t of[`poster`]){let r=rn(e,`[${t}^='blob:']`);for(let e of r)try{let n=e.getAttribute(t);en(n)&&e.setAttribute(t,await Zt(n))}catch(e){U(n,`resolveBlobUrls for ${t} failed`,e)}}}H();var on=new Map,sn=new Set([`IFRAME`]);function cn(e,t){on.set(String(e).toUpperCase(),t)}function ln(e){let{width:t,height:n}=J(e),r=t,i=n;if(!r||!i){let t=e.getBoundingClientRect();r=r||t.width||0,i=i||t.height||0}let a=document.createElement(`div`);return a.style.cssText=`display:inline-block;width:${r}px;height:${i}px;visibility:hidden;`,a}var un=200,dn=new Set([`img`,`canvas`,`video`,`iframe`,`object`,`embed`]);function fn(e,t){return e.right>=t.left-un&&e.left<=t.right+un&&e.bottom>=t.top-un&&e.top<=t.bottom+un}function pn(e,t){if(e===t.root)return!1;let n;try{n=e.getBoundingClientRect()}catch{return!1}if(n.width===0&&n.height===0)return!1;let r=I(e);if(r.display===`inline`&&!dn.has((e.localName||``).toLowerCase()))return!1;let i=t.rect,a=e.scrollWidth||0,o=e.scrollHeight||0,s={left:r.direction===`rtl`?Math.min(n.left,n.right-a):n.left,top:n.top,right:Math.max(n.right,n.left+a),bottom:Math.max(n.bottom,n.top+o)},c=r.writingMode||``;if((c.startsWith(`vertical`)||c.startsWith(`sideways`))&&(s.top=Math.min(n.top,n.bottom-o),s.left=Math.min(s.left,n.right-a)),fn(s,i))return!1;let l=(e.ownerDocument||document).createTreeWalker(e,NodeFilter.SHOW_ELEMENT);for(;l.nextNode();){let e=l.currentNode.getBoundingClientRect();if((e.width>0||e.height>0)&&fn(e,i))return!1}return!0}function mn(e,t,n){let r=e.cloneNode(!1);e.tagName===`IMG`&&(r.removeAttribute(`src`),r.removeAttribute(`srcset`),r.removeAttribute(`sizes`)),K(e,r,t,n);let{width:i,height:a}=J(e);return i>0&&(r.style.width=`${i}px`,r.style.minWidth=`${i}px`,r.style.maxWidth=`${i}px`),a>0&&(r.style.height=`${a}px`,r.style.minHeight=`${a}px`,r.style.maxHeight=`${a}px`),r.style.visibility=`hidden`,r.style.overflow=`hidden`,r.style.boxSizing=`border-box`,r}async function hn(e,t,n){if(!e)throw Error(`Invalid node`);let r=new Set,i=null,a=null;if(e.nodeType===Node.ELEMENT_NODE){let n=(e.localName||e.tagName||``).toLowerCase();if(e.id===`snapdom-sandbox`||e.hasAttribute(`data-snapdom-sandbox`)||re.has(n))return null;if(n===`foreignobject`&&e.parentElement?.closest?.(`foreignObject`))return U(t,`Nested skipped (SVG spec limitation — not rendered by browsers)`),null;if(n===`source`&&e.parentElement?.localName===`picture`)return null}if(e.nodeType===Node.TEXT_NODE||e.nodeType!==Node.ELEMENT_NODE)return e.cloneNode(!0);if(e.getAttribute(`data-capture`)===`exclude`){if(n.excludeMode===`hide`)return ln(e);if(n.excludeMode===`remove`)return null}if(n.exclude&&Array.isArray(n.exclude))for(let t of n.exclude)try{if(e.matches?.(t)){if(n.excludeMode===`hide`)return ln(e);if(n.excludeMode===`remove`)return null}}catch(e){console.warn(`Invalid selector in exclude option: ${t}`,e)}if(typeof n.filter==`function`)try{if(!n.filter(e)){if(n.filterMode===`hide`)return ln(e);if(n.filterMode===`remove`)return null}}catch(e){console.warn(`Error in filter function:`,e)}if(t.clip&&pn(e,t.clip))return mn(e,t,n);if(n.__resolveNodeHooks)for(let r of n.__resolveNodeHooks){let i;try{i=await r(e,n)}catch(e){U(t,`resolveNode plugin hook failed`,e)}if(i===null)return null;if(i instanceof Node)return i.nodeType===Node.ELEMENT_NODE&&(t.nodeMap.set(i,e),K(e,i,t,n)),i}{let r=sn.has(e.tagName)&&on.get(e.tagName);if(r){let i=await r(e,t,n);if(i!==void 0)return i}}if(e.getAttribute(`data-capture`)===`placeholder`){let r=e.cloneNode(!1);t.nodeMap.set(r,e),K(e,r,t,n);let i=document.createElement(`div`);return i.textContent=e.getAttribute(`data-placeholder-text`)||``,i.style.cssText=`color:#666;font-size:12px;text-align:center;line-height:1.4;padding:0.5em;box-sizing:border-box;`,r.appendChild(i),r}{let r=!sn.has(e.tagName)&&on.get(e.tagName);if(r){let i=await r(e,t,n);if(i!==void 0)return i}}let o;try{if(o=e.cloneNode(!1),o.attributes?.length)try{for(let e of o.attributes)/[\x00-\x08\x0B\x0C\x0E-\x1F\uFFFE\uFFFF]/.test(e.value)&&o.setAttribute(e.name,e.value.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\uFFFE\uFFFF]/g,``))}catch{}if(wt(e,o),t.nodeMap.set(o,e),e.tagName===`IMG`){Bt(e,o);try{let{width:t,height:n}=J(e),r=Math.round(t||0),i=Math.round(n||0);r&&(o.dataset.snapdomWidth=String(r)),i&&(o.dataset.snapdomHeight=String(i))}catch(e){U(t,`getUnscaledDimensions for IMG failed`,e)}try{let t=e.getAttribute(`style`)||``,n=window.getComputedStyle(e),r=e=>{let r=t.match(RegExp(`${e}\\s*:\\s*([^;]+)`,`i`)),i=r?r[1].trim():n.getPropertyValue(e);return/%|auto/i.test(String(i||``))},i=parseInt(o.dataset.snapdomWidth||`0`,10),a=parseInt(o.dataset.snapdomHeight||`0`,10),s=r(`width`)||!i,c=r(`height`)||!a;s&&i&&(o.style.width=`${i}px`),c&&a&&(o.style.height=`${a}px`);let l=n.getPropertyValue(`object-fit`),u=n.getPropertyValue(`object-position`);l&&l!==`fill`?(o.style.objectFit=l,u&&(o.style.objectPosition=u)):(i&&(o.style.minWidth=`${i}px`),a&&(o.style.minHeight=`${a}px`))}catch(e){U(t,`IMG dimension freeze failed`,e)}}}catch(t){throw console.error(`[Snapdom] Failed to clone node:`,e,t),t}let s=null;if(e instanceof HTMLTextAreaElement){let{width:t,height:n}=J(e),r=t||e.getBoundingClientRect().width||0,i=n||e.getBoundingClientRect().height||0;r&&(o.style.width=`${r}px`),i&&(o.style.height=`${i}px`)}if(e instanceof HTMLInputElement){let n=(e.type||`text`).toLowerCase();if((n===`checkbox`||n===`radio`)&&me()){let{el:n,applyVisual:r}=Yt(e);t.nodeMap.set(n,e),s=r,o=n}else o.value=e.value,o.setAttribute(`value`,e.value),e.checked!==void 0&&(o.checked=e.checked,e.checked&&o.setAttribute(`checked`,``),e.indeterminate&&(o.indeterminate=e.indeterminate))}if((e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&!e.value&&e.placeholder)try{let t=window.getComputedStyle(e,`::placeholder`),n=t&&t.color;if(n&&n!==`rgba(0, 0, 0, 0)`){let e=`snapdom-ph-`+(Math.random()*1e6|0);o.classList.add(e);let r=document.createElement(`style`);r.textContent=`.${e}::placeholder{color:${n}!important;opacity:${t.opacity||`1`}!important;-webkit-text-fill-color:${n}!important;}`,o.prepend(r)}}catch{}if(e instanceof HTMLSelectElement&&(i=e.value),e instanceof HTMLTextAreaElement&&(a=e.value),e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement){e.disabled&&o.setAttribute(`disabled`,``),e.required&&o.setAttribute(`required`,``),e.readOnly&&o.setAttribute(`readonly`,``);let t=e;t.min!==void 0&&t.min!==``&&o.setAttribute(`min`,t.min),t.max!==void 0&&t.max!==``&&o.setAttribute(`max`,t.max),t.pattern!==void 0&&t.pattern!==``&&o.setAttribute(`pattern`,t.pattern);let n=e.getAttribute(`aria-invalid`);n!==null&&o.setAttribute(`aria-invalid`,n)}if(xt(e)||K(e,o,t,n),s&&s(),e instanceof SVGElement&&!xt(e)){let t=[`fill`,`stroke`,`stroke-width`,`stroke-dasharray`,`stroke-dashoffset`,`stroke-linecap`,`stroke-linejoin`,`stroke-miterlimit`,`opacity`,`fill-opacity`,`stroke-opacity`,`fill-rule`,`clip-rule`,`marker`,`marker-start`,`marker-mid`,`marker-end`,`visibility`,`display`];try{let n=window.getComputedStyle(e);for(let e of t){let t=n.getPropertyValue(e);t&&o.style.setProperty(e,t)}}catch{}}if(e.shadowRoot){let i=function(e,r){if(e.nodeType===Node.ELEMENT_NODE&&e.tagName===`STYLE`)return r(null);hn(e,t,n).then(e=>{r(e||null)}).catch(()=>{r(null)})};var c=i;try{let t=e.shadowRoot.querySelectorAll(`slot`);for(let e of t){let t=[];try{t=e.assignedNodes?.({flatten:!0})||e.assignedNodes?.()||[]}catch{t=e.assignedNodes?.()||[]}for(let e of t)r.add(e)}}catch{}let a=Lt(t),s=`[data-sd="${a}"]`;try{o.setAttribute(`data-sd`,a)}catch{}let l=Rt(e.shadowRoot),u=It(l,s),d=Ut(e,Vt(l),s);zt(o,d+u,a);let f=document.createDocumentFragment(),p=await Nt(Array.from(e.shadowRoot.childNodes),i,n.fast);f.append(...p.filter(e=>!!e)),o.appendChild(f)}if(e.tagName===`SLOT`){let r=function(e,r){hn(e,t,n).then(e=>{e&&Wt(e),r(e||null)}).catch(()=>{r(null)})};var c=r;let i=e.assignedNodes?.({flatten:!0})||[],a=i.length>0?i:Array.from(e.childNodes),o=document.createDocumentFragment(),s=await Nt(Array.from(a),r,n.fast);return o.append(...s.filter(e=>!!e)),o}function c(e,i){if(r.has(e))return i(null);hn(e,t,n).then(e=>{i(e||null)}).catch(()=>{i(null)})}let l=await Nt(Array.from(e.childNodes),c,n.fast);if(o.append(...l.filter(e=>!!e)),i!==null&&o instanceof HTMLSelectElement){o.value=i;for(let e of o.options)e.value===i?e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}return a!==null&&o instanceof HTMLTextAreaElement&&(o.textContent=a),o}async function gn(e,t,n){let r=!1;try{r=!!(e.contentDocument||e.contentWindow?.document)}catch(e){U(t,`iframe same-origin probe failed`,e)}if(r)try{return await Jt(e,t,n)}catch(e){console.warn(`[SnapDOM] iframe rasterization failed, fallback:`,e)}if(r||console.warn(`[snapdom] cross-origin - - - diff --git a/skills/open-kimi-ppt/scripts/export_images.py b/skills/open-kimi-ppt/scripts/export_images.py index 6e3d586..527844c 100644 --- a/skills/open-kimi-ppt/scripts/export_images.py +++ b/skills/open-kimi-ppt/scripts/export_images.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 -"""Export a PPTD project as page images through Kimi's public editor for visual QA. +"""Export a PPTD project as page images through the local neo-ppt mirror for visual QA. -Reuses the same localhost SDK host and agent-browser flow as export_pptx.py, but -chooses 图片 in the export dialog, captures the images ZIP, unzips it, and stitches -all pages into a single overview image that a multimodal model can review. +Reuses the localhost local-editor host from export_pptx.py (no www.kimi.com), chooses +图片 in the export dialog, captures the images ZIP, unzips it, and stitches all pages +into a single overview image that a multimodal model can review. """ from __future__ import annotations @@ -23,7 +23,6 @@ from pathlib import Path from typing import Any, Dict, List, Optional, Sequence, Tuple from export_pptx import ( - HOST_TEMPLATE, BrowserSession, ExportError, build_payload, @@ -34,7 +33,7 @@ from export_pptx import ( log, ref_by_name, run_command, - serve, + serve_local_editor, temporary_directory, wait_for_export_dialog, ) @@ -44,6 +43,32 @@ OVERVIEW_COLUMNS = 3 OVERVIEW_THUMB_WIDTH = 640 OVERVIEW_LABEL_HEIGHT = 32 OVERVIEW_GAP = 12 +PAGE_URL_HINT = "127.0.0.1" + +# The export dialog's 图片 format option is a plain
+# without an ARIA role, so agent-browser's interactive snapshot never exposes it. +# Local editor is same-origin (no kimi iframe); CDP Runtime.evaluate on the page works. +IMAGE_FORMAT_CLICK_JS = """ +(() => { + const items = [...document.querySelectorAll('.radio-group-item')]; + const pool = items.length + ? items + : [...document.querySelectorAll('div,span,label,button')].filter( + (el) => el.children.length === 0 + ); + const target = pool.find((el) => el.textContent.trim() === '图片'); + if (!target) return null; + target.click(); + return 'clicked'; +})() +""".strip() + +ACTIVE_FORMAT_JS = """ +(() => { + const active = document.querySelector('.radio-group-item.active'); + return active ? active.textContent.trim() : null; +})() +""".strip() def ensure_pillow() -> Tuple[Any, Any, Any]: @@ -151,34 +176,6 @@ def stitch_overview( return output -OOPIF_URL_HINT = "kimi.com/neo-ppt" - -# The export dialog's 图片 format option is a plain
-# without an ARIA role, so agent-browser's interactive snapshot never exposes it -# and cross-origin iframe rules block page-level eval. Clicking it requires CDP. -IMAGE_FORMAT_CLICK_JS = """ -(() => { - const items = [...document.querySelectorAll('.radio-group-item')]; - const pool = items.length - ? items - : [...document.querySelectorAll('div,span,label,button')].filter( - (el) => el.children.length === 0 - ); - const target = pool.find((el) => el.textContent.trim() === '图片'); - if (!target) return null; - target.click(); - return 'clicked'; -})() -""".strip() - -ACTIVE_FORMAT_JS = """ -(() => { - const active = document.querySelector('.radio-group-item.active'); - return active ? active.textContent.trim() : null; -})() -""".strip() - - def ensure_websocket() -> Any: try: import websocket @@ -207,7 +204,7 @@ def browser_cdp_url(browser: BrowserSession) -> str: return match.group(0) -def evaluate_in_iframe(cdp_url: str, url_hint: str, expression: str) -> Any: +def evaluate_in_page(cdp_url: str, url_hint: str, expression: str) -> Any: websocket = ensure_websocket() def call(socket: Any, request_id: int, method: str, params: Dict[str, Any]) -> Dict[str, Any]: @@ -230,8 +227,14 @@ def evaluate_in_iframe(cdp_url: str, url_hint: str, expression: str) -> Any: os.environ.update(saved_proxy) try: targets = call(socket, 1, "Target.getTargets", {}).get("targetInfos", []) - target = next( - (item for item in targets if url_hint in str(item.get("url", ""))), None + page_targets = [ + item + for item in targets + if item.get("type") == "page" and url_hint in str(item.get("url", "")) + ] + target = page_targets[0] if page_targets else next( + (item for item in targets if url_hint in str(item.get("url", ""))), + None, ) if target is None: visible = ", ".join( @@ -266,7 +269,7 @@ def evaluate_in_iframe(cdp_url: str, url_hint: str, expression: str) -> Any: result = message.get("result", {}) if result.get("exceptionDetails"): details = result["exceptionDetails"] - raise ExportError(f"iframe script failed: {details.get('text')}") + raise ExportError(f"page script failed: {details.get('text')}") return result.get("result", {}).get("value") finally: socket.close() @@ -274,12 +277,13 @@ def evaluate_in_iframe(cdp_url: str, url_hint: str, expression: str) -> Any: def select_image_format(browser: BrowserSession) -> None: cdp_url = browser_cdp_url(browser) - value = evaluate_in_iframe(cdp_url, OOPIF_URL_HINT, IMAGE_FORMAT_CLICK_JS) + value = evaluate_in_page(cdp_url, PAGE_URL_HINT, IMAGE_FORMAT_CLICK_JS) if value != "clicked": raise ExportError("could not find the 图片 option in the export dialog") deadline = time.monotonic() + 10 + active = None while time.monotonic() < deadline: - active = evaluate_in_iframe(cdp_url, OOPIF_URL_HINT, ACTIVE_FORMAT_JS) + active = evaluate_in_page(cdp_url, PAGE_URL_HINT, ACTIVE_FORMAT_JS) if active == "图片": return time.sleep(0.3) @@ -307,16 +311,12 @@ def export_images( temp_dir = Path(temp_name) download_dir = temp_dir / "downloads" download_dir.mkdir() - shutil.copy2(HOST_TEMPLATE, temp_dir / HOST_TEMPLATE.name) - (temp_dir / "payload.json").write_text( - json.dumps(payload, ensure_ascii=False), encoding="utf-8" - ) - server, thread, url = serve(temp_dir) + server, thread, url = serve_local_editor(payload) session = f"open-kimi-ppt-images-{os.getpid()}-{uuid.uuid4().hex[:8]}" browser = BrowserSession(agent_browser, session, temp_dir, download_dir) downloads = default_downloads_dir() try: - log("opening the public Kimi slide editor") + log("opening the local neo-ppt editor") browser.open(url) browser.run( [ @@ -337,7 +337,7 @@ def export_images( started_at = time.time() - 1.0 download_ref = ref_by_name(dialog, "下载", "button") - log("rendering page images in the browser") + log("rendering page images in the local editor") browser.run(["click", f"@{download_ref}"], timeout=300) downloaded = find_download( (downloads, download_dir, temp_dir), @@ -380,13 +380,14 @@ def export_images( "overview": str(overview), "output": str(output), "images": mapping, + "exporter": "browser-local-editor", } def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace: parser = argparse.ArgumentParser( description=( - "Export a PPTD project as page images via Kimi's public editor, unzip " + "Export a PPTD project as page images via the local neo-ppt editor, unzip " "them, and stitch an overview image for visual QA." ) ) diff --git a/skills/open-kimi-ppt/scripts/export_pptx.py b/skills/open-kimi-ppt/scripts/export_pptx.py index 3d32e29..9790e77 100755 --- a/skills/open-kimi-ppt/scripts/export_pptx.py +++ b/skills/open-kimi-ppt/scripts/export_pptx.py @@ -1,9 +1,14 @@ #!/usr/bin/env python3 -"""Export a PPTD project through Kimi's public browser-side PPTX writer. +"""Export a PPTD project to PPTX. -The script uses a temporary localhost SDK host and agent-browser. It never uploads -the PPTD project as a document. Referenced remote resources may still be fetched by -the official editor. Local image files are exposed to the iframe as data URLs. +Default path (preferred): local patched official WASM writer + scripts/local-export/export-pptd.mjs --no-sign + → offline, no cookie, no signature API, no browser UI. + +Optional --browser path: local neo-ppt mirror via agent-browser + (same UI as `npx open-kimi-ppt-skill serve`, no www.kimi.com). + +Image QA (`export_images.py`) uses the same local editor host. """ from __future__ import annotations @@ -28,9 +33,9 @@ import xml.etree.ElementTree as ET from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer from pathlib import Path from typing import Any, Callable, Dict, Iterable, List, Optional, Sequence, Tuple +from urllib.parse import urlparse SKILL_DIR = Path(__file__).resolve().parent.parent -HOST_TEMPLATE = Path(__file__).with_name("export_host.html") IMAGE_MIME = { ".png": "image/png", ".jpg": "image/jpeg", @@ -49,6 +54,11 @@ FADE_TRANSITION_XML = ( MIN_AGENT_BROWSER_VERSION = (0, 33, 2) MIN_NODE_MAJOR = 18 NODE_INSTALL_HINT = "Install Node.js 18+ from https://nodejs.org, then retry." +EDITOR_MISSING_HINT = ( + "local neo-ppt editor not found. Re-run " + "`npx open-kimi-ppt-skill install` (copies editor into the skill) " + "or set OPEN_KIMI_PPT_EDITOR to the editor directory." +) class ExportError(RuntimeError): @@ -452,6 +462,25 @@ class BrowserSession: self.env = os.environ.copy() self.env.setdefault("AGENT_BROWSER_DEFAULT_TIMEOUT", "60000") self.env.setdefault("AGENT_BROWSER_IDLE_TIMEOUT_MS", "180000") + # Local editor host is 127.0.0.1; corporate HTTP(S)_PROXY would otherwise + # intercept and 403 the offline export page. + for key in ( + "http_proxy", + "https_proxy", + "HTTP_PROXY", + "HTTPS_PROXY", + "ALL_PROXY", + "all_proxy", + "socks5_proxy", + "SOCKS5_PROXY", + ): + self.env.pop(key, None) + no_proxy = self.env.get("NO_PROXY") or self.env.get("no_proxy") or "" + parts = {p.strip() for p in no_proxy.split(",") if p.strip()} + parts.update({"127.0.0.1", "localhost", "::1"}) + joined = ",".join(sorted(parts)) + self.env["NO_PROXY"] = joined + self.env["no_proxy"] = joined if cdp_port is not None: self.env["AGENT_BROWSER_CDP"] = str(cdp_port) @@ -704,7 +733,27 @@ def verify_output(pptx: Path, transition: str, expect_fonts: bool) -> Dict[str, } -def serve(directory: Path) -> Tuple[ThreadingHTTPServer, threading.Thread, str]: +def resolve_editor_root() -> Path: + """Locate the offline neo-ppt mirror (package editor/ or skill-installed copy).""" + env = os.environ.get("OPEN_KIMI_PPT_EDITOR") + candidates: List[Path] = [] + if env: + candidates.append(Path(env).expanduser().resolve()) + candidates.append(SKILL_DIR / "editor") + # monorepo / npm package: skills/open-kimi-ppt → package root + candidates.append(SKILL_DIR.parent.parent / "editor") + for candidate in candidates: + if (candidate / "index.html").is_file(): + return candidate + raise ExportError(EDITOR_MISSING_HINT) + + +def serve( + directory: Path, + *, + entry: str = "index.html", +) -> Tuple[ThreadingHTTPServer, threading.Thread, str]: + """Legacy static serve (tests / callers). Prefer serve_local_editor for exports.""" handler = lambda *args, **kwargs: QuietHandler( # noqa: E731 *args, directory=str(directory), **kwargs ) @@ -712,7 +761,137 @@ def serve(directory: Path) -> Tuple[ThreadingHTTPServer, threading.Thread, str]: thread = threading.Thread(target=server.serve_forever, daemon=True) thread.start() host, port = server.server_address - return server, thread, f"http://{host}:{port}/export_host.html" + return server, thread, f"http://{host}:{port}/{entry.lstrip('/')}" + + +def serve_local_editor( + payload: Dict[str, Any], +) -> Tuple[ThreadingHTTPServer, threading.Thread, str]: + """Serve the offline editor and inject payload.json for headless export.""" + editor_root = resolve_editor_root() + payload_bytes = json.dumps(payload, ensure_ascii=False).encode("utf-8") + + class LocalEditorHandler(QuietHandler): + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, directory=str(editor_root), **kwargs) + + def _is_payload(self) -> bool: + path = urlparse(self.path).path + return path in ("/payload.json", "payload.json") + + def do_GET(self) -> None: # noqa: N802 + if self._is_payload(): + self.send_response(200) + self.send_header("Content-Type", "application/json; charset=utf-8") + self.send_header("Content-Length", str(len(payload_bytes))) + self.send_header("Cache-Control", "no-store") + self.send_header("Access-Control-Allow-Origin", "*") + self.end_headers() + self.wfile.write(payload_bytes) + return + return SimpleHTTPRequestHandler.do_GET(self) + + def do_HEAD(self) -> None: # noqa: N802 + if self._is_payload(): + self.send_response(200) + self.send_header("Content-Type", "application/json; charset=utf-8") + self.send_header("Content-Length", str(len(payload_bytes))) + self.send_header("Cache-Control", "no-store") + self.end_headers() + return + return SimpleHTTPRequestHandler.do_HEAD(self) + + server = ThreadingHTTPServer(("127.0.0.1", 0), LocalEditorHandler) + thread = threading.Thread(target=server.serve_forever, daemon=True) + thread.start() + host, port = server.server_address + url = f"http://{host}:{port}/?ndExport=1" + log(f"local editor host: {url} (root={editor_root})") + return server, thread, url + + +LOCAL_EXPORT_DIR = Path(__file__).resolve().parent / "local-export" +LOCAL_EXPORT_MJS = LOCAL_EXPORT_DIR / "export-pptd.mjs" +# Canonical patched WASM: editor/neo-ppt/assets/ (repo/npm). Skill install copies it +# into local-export/pptd_wasm_bg.wasm for ~/.agents|~/.claude skills trees. +CANONICAL_WASM_NAME = "pptd_wasm_bg-DPPWdROu.wasm" + + +def resolve_local_wasm() -> Path: + package_root = Path(__file__).resolve().parents[3] + candidates = [ + LOCAL_EXPORT_DIR / "pptd_wasm_bg.wasm", + LOCAL_EXPORT_DIR / CANONICAL_WASM_NAME, + SKILL_DIR / "editor" / "neo-ppt" / "assets" / CANONICAL_WASM_NAME, + package_root / "editor" / "neo-ppt" / "assets" / CANONICAL_WASM_NAME, + ] + for candidate in candidates: + if candidate.is_file(): + return candidate + raise ExportError( + "patched WASM not found. Expected " + f"editor/neo-ppt/assets/{CANONICAL_WASM_NAME} (repo/npm package) or " + f"{LOCAL_EXPORT_DIR / 'pptd_wasm_bg.wasm'} (after skill install)." + ) + + +def export_pptx_local( + source: Path, + output: Path, + transition: str, + force: bool = False, +) -> Dict[str, Any]: + """Export via local patched official WASM (no cookie / no browser UI).""" + if not LOCAL_EXPORT_MJS.is_file(): + raise ExportError(f"local exporter missing: {LOCAL_EXPORT_MJS}") + wasm_path = resolve_local_wasm() + node = shutil.which("node") + if not node: + raise ExportError("node is required for local WASM export") + + manifest = find_manifest(source) + output = output.expanduser().resolve() + output.parent.mkdir(parents=True, exist_ok=True) + if output.exists() and not force: + raise ExportError(f"output already exists (pass --force to replace it): {output}") + + log(f"local WASM export: {manifest} → {output}") + log(f"defaults: transition={transition} (no-sign / signature bypassed)") + + # Pass project directory so media paths resolve relative to the deck root. + project_dir = manifest.parent if manifest.is_file() else source + cmd = [ + node, + str(LOCAL_EXPORT_MJS), + str(project_dir), + "-o", + str(output), + "--no-sign", + "--transition", + transition if transition in ("fade", "none") else "fade", + "--wasm", + str(wasm_path), + ] + + process = subprocess.run( + cmd, + text=True, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + timeout=300, + ) + if process.returncode != 0: + raise ExportError( + f"local WASM export failed ({process.returncode}):\n{process.stdout[-4000:]}" + ) + + slide_count = patch_transitions(output, transition) + summary = verify_output(output, transition, expect_fonts=False) + summary["transitionPatchedSlides"] = slide_count + summary["output"] = str(output) + summary["exporter"] = "local-wasm-patched" + log(f"local export ok: {output} ({output.stat().st_size} bytes)") + return summary def export_pptx( @@ -722,7 +901,15 @@ def export_pptx( embed_fonts: bool, keep_download: bool = False, force: bool = False, + prefer_local: bool = True, ) -> Dict[str, Any]: + """Prefer local patched WASM; fall back to local neo-ppt browser UI.""" + if prefer_local: + try: + return export_pptx_local(source, output, transition, force=force) + except ExportError as exc: + log(f"local WASM export unavailable ({exc}); falling back to local browser editor") + manifest = find_manifest(source) payload = build_payload(manifest) output = output.expanduser().resolve() @@ -741,16 +928,12 @@ def export_pptx( temp_dir = Path(temp_name) download_dir = temp_dir / "downloads" download_dir.mkdir() - shutil.copy2(HOST_TEMPLATE, temp_dir / HOST_TEMPLATE.name) - (temp_dir / "payload.json").write_text( - json.dumps(payload, ensure_ascii=False), encoding="utf-8" - ) - server, thread, url = serve(temp_dir) + server, thread, url = serve_local_editor(payload) session = f"open-kimi-ppt-export-{os.getpid()}-{uuid.uuid4().hex[:8]}" browser = BrowserSession(agent_browser, session, temp_dir, download_dir, cdp_port) downloads = default_downloads_dir() try: - log("opening the public Kimi slide editor") + log("opening the local neo-ppt editor") browser.open(url) browser.run( [ @@ -770,18 +953,18 @@ def export_pptx( if state is not None: switch_ref, checked, disabled = state if disabled and checked != embed_fonts: - log("warning: the official font switch is disabled for this deck") + log("warning: the font switch is disabled for this deck") elif checked != embed_fonts: browser.run(["click", f"@{switch_ref}"]) dialog = wait_for_export_dialog(browser) elif embed_fonts: - log("warning: the official export dialog exposed no font switch") + log("warning: the export dialog exposed no font switch") # Plain click (not agent-browser `download`) so Chrome saves to the # default Downloads folder; --download-path is broken on some Windows setups. started_at = time.time() - 1.0 download_ref = ref_by_name(dialog, "下载", "button") - log("generating PPTX in the browser") + log("generating PPTX in the local editor") browser.run(["click", f"@{download_ref}"], timeout=180) downloaded = find_download( (downloads, download_dir, temp_dir), @@ -811,14 +994,16 @@ def export_pptx( summary = verify_output(output, transition, embed_fonts) summary["transitionPatchedSlides"] = slide_count summary["output"] = str(output) + summary["exporter"] = "browser-local-editor" return summary def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace: parser = argparse.ArgumentParser( description=( - "Export a PPTD project to PPTX using Kimi's public browser-side writer. " - "Defaults: fade transition and embedded fonts." + "Export a PPTD project to PPTX. " + "Default: local patched official WASM (offline). " + "Optional --browser uses the local neo-ppt mirror (also offline)." ) ) parser.add_argument("input", type=Path, help=".pptd manifest or project directory") @@ -835,13 +1020,18 @@ def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace: dest="embed_fonts", action="store_true", default=True, - help="embed fonts when available (default)", + help="embed fonts when available (browser path; default)", ) font_group.add_argument( "--no-embed-fonts", dest="embed_fonts", action="store_false", - help="disable font embedding", + help="disable font embedding (browser path)", + ) + parser.add_argument( + "--browser", + action="store_true", + help="force local neo-ppt browser UI path instead of Node WASM", ) parser.add_argument( "--keep-browser-raw", @@ -868,6 +1058,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int: args.embed_fonts, args.keep_browser_raw, args.force, + prefer_local=not args.browser, ) except (ExportError, OSError, subprocess.SubprocessError) as exc: print(f"open-kimi-ppt export failed: {exc}", file=sys.stderr) diff --git a/skills/open-kimi-ppt/scripts/local-export/README.md b/skills/open-kimi-ppt/scripts/local-export/README.md new file mode 100644 index 0000000..8c0e4c0 --- /dev/null +++ b/skills/open-kimi-ppt/scripts/local-export/README.md @@ -0,0 +1,16 @@ +# Local patched WASM PPTX exporter + +- `export-pptd.mjs` — Node entry (official WASM glue, `--no-sign`) +- Patched WASM **canonical path** (repo / npm package): + `editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm` + Skill install copies it to `scripts/local-export/pptd_wasm_bg.wasm`. +- Used by `../export_pptx.py` as the **default** export path + +```bash +# from repo: resolves editor/neo-ppt/assets/… automatically +node export-pptd.mjs /path/to/project -o out.pptx --no-sign + +# or pass explicitly +node export-pptd.mjs /path/to/project -o out.pptx --no-sign \ + --wasm ../../../../editor/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm +``` diff --git a/skills/open-kimi-ppt/scripts/local-export/export-pptd.mjs b/skills/open-kimi-ppt/scripts/local-export/export-pptd.mjs new file mode 100644 index 0000000..8fd3243 --- /dev/null +++ b/skills/open-kimi-ppt/scripts/local-export/export-pptd.mjs @@ -0,0 +1,686 @@ +#!/usr/bin/env node +/** + * Offline PPTD → PPTX exporter using Kimi's public pptd-wasm (no webpage UI). + * + * What this does: + * 1. Load a PPTD project from disk (manifest + pages + media) + * 2. Resolve images to bytes + * 3. Optionally request an export signature from Kimi API (or use --no-sign) + * 4. Call the official WASM writer: exportPPTDToPPTXBytes(pptd, options, signature) + * 5. Write .pptx + * + * Image ZIP export (pixel screenshots) still needs a DOM renderer; use --images + * with Playwright against a local static render, or keep using official editor for QA shots. + * + * Usage: + * node export-pptd.mjs -o out.pptx + * node export-pptd.mjs ./xiaomi-yu7 -o yu7.pptx --cookie "session=..." + * node export-pptd.mjs ./xiaomi-yu7 -o yu7.pptx --no-sign # may fail inside WASM if signature is verified + * + * Env: + * KIMI_COOKIE auth cookie string for /apiv2/utils/v1/signatures + * KIMI_ORIGIN default https://www.kimi.com + */ + +import fs from 'node:fs'; +import path from 'node:path'; +import crypto from 'node:crypto'; +import { fileURLToPath, pathToFileURL } from 'node:url'; +import { createRequire } from 'node:module'; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const require = createRequire(import.meta.url); + +// ---------- minimal YAML (enough for PPTD) via dynamic import of yaml if present ---------- +async function loadYaml() { + try { + const yaml = await import('yaml'); + return yaml.parse; + } catch { + try { + const yaml = require('js-yaml'); + return (s) => yaml.load(s); + } catch { + // fallback: python3 + PyYAML + return (text) => { + const { spawnSync } = require('node:child_process'); + const r = spawnSync( + 'python3', + ['-c', 'import sys,yaml,json; print(json.dumps(yaml.safe_load(sys.stdin.read()), ensure_ascii=False))'], + { input: text, encoding: 'utf8', maxBuffer: 50 * 1024 * 1024 }, + ); + if (r.status !== 0) throw new Error('python yaml failed: ' + (r.stderr || r.stdout)); + return JSON.parse(r.stdout); + }; + } + } +} + +/** Canonical patched WASM lives in the editor mirror; skill install copies it here. */ +const CANONICAL_WASM_NAME = 'pptd_wasm_bg-DPPWdROu.wasm'; + +function resolveDefaultWasmPath() { + const candidates = [ + path.join(__dirname, 'pptd_wasm_bg.wasm'), // installed skill copy + path.join(__dirname, CANONICAL_WASM_NAME), + // monorepo / npm package: scripts/local-export → package root + path.join(__dirname, '..', '..', '..', '..', 'editor', 'neo-ppt', 'assets', CANONICAL_WASM_NAME), + ]; + for (const candidate of candidates) { + if (fs.existsSync(candidate)) return candidate; + } + return candidates[0]; +} + +// ---------- CLI ---------- +function parseArgs(argv) { + const args = { + input: null, + output: null, + cookie: process.env.KIMI_COOKIE || '', + origin: process.env.KIMI_ORIGIN || 'https://www.kimi.com', + noSign: false, + embedFonts: false, + transition: 'fade', + wasmPath: null, + }; + const a = [...argv]; + while (a.length) { + const x = a.shift(); + if (x === '-o' || x === '--output') args.output = a.shift(); + else if (x === '--cookie') args.cookie = a.shift(); + else if (x === '--origin') args.origin = a.shift(); + else if (x === '--no-sign') args.noSign = true; + else if (x === '--embed-fonts') args.embedFonts = true; + else if (x === '--transition') args.transition = a.shift(); + else if (x === '--wasm') args.wasmPath = a.shift(); + else if (x === '-h' || x === '--help') args.help = true; + else if (!x.startsWith('-') && !args.input) args.input = x; + else throw new Error(`Unknown arg: ${x}`); + } + if (!args.wasmPath) args.wasmPath = resolveDefaultWasmPath(); + return args; +} + +// ---------- PPTD project load ---------- +function findManifest(input) { + const p = path.resolve(input); + if (fs.statSync(p).isFile() && p.endsWith('.pptd')) return p; + const files = fs.readdirSync(p).filter((f) => f.endsWith('.pptd')); + if (files.length === 1) return path.join(p, files[0]); + if (files.length === 0) throw new Error(`No .pptd in ${p}`); + throw new Error(`Multiple .pptd in ${p}: ${files.join(', ')}`); +} + +async function loadProject(manifestPath, parseYaml) { + const root = path.dirname(manifestPath); + const manifestText = fs.readFileSync(manifestPath, 'utf8'); + const manifest = parseYaml(manifestText); + if (!manifest || manifest.version !== 'v2') { + throw new Error('Only PPTD version: v2 is supported'); + } + if (!Array.isArray(manifest.pages) || !manifest.pages.length) { + throw new Error('manifest.pages must be a non-empty array'); + } + + const pages = []; + for (const rel of manifest.pages) { + const pagePath = path.join(root, rel); + if (!fs.existsSync(pagePath)) throw new Error(`Missing page: ${rel}`); + const page = parseYaml(fs.readFileSync(pagePath, 'utf8')); + if (!page || !Array.isArray(page.elements)) { + throw new Error(`Invalid page elements: ${rel}`); + } + // Match official nt()/rt() shape: embed full page objects + pages.push({ + ...page, + pagePath: rel.replace(/\\/g, '/'), + elements: page.elements.map(normalizeElement), + }); + } + + return { + ...manifest, + version: 'v2', + pages, + pptdFileName: path.basename(manifestPath), + }; +} + +function normalizeElement(el) { + // Official it()/at(): ensure custom shapes get viewBox from bounds + if (el.elementType === 'shape') { + return ensureViewBox(el, [el.bounds?.[2], el.bounds?.[3]]); + } + if (el.elementType === 'image' && el.cropShape) { + return { + ...el, + cropShape: ensureViewBox(el.cropShape, [el.bounds?.[2], el.bounds?.[3]]), + }; + } + return el; +} + +function ensureViewBox(shape, size) { + if ( + shape.shapeName !== 'custom' || + !shape.path || + shape.viewBox || + String(shape.path).includes(';') + ) { + return shape; + } + return { ...shape, viewBox: size }; +} + +// ---------- image resolve (official Bt + Ht) ---------- +function collectImageSrcs(pptd) { + const set = new Set(); + const visit = (obj) => { + if (obj && typeof obj.src === 'string' && obj.src) set.add(obj.src); + }; + for (const page of pptd.pages ?? []) { + if (page.background?.type === 'image') visit(page.background); + for (const el of page.elements ?? []) { + if (el?.elementType === 'image') visit(el); + if (el?.fill?.type === 'image') visit(el.fill); + } + } + return [...set]; +} + +function extFromSrc(src, contentType = '') { + const m = /\.(png|jpe?g|gif|svg)(?:$|[?#])/i.exec(src); + const byPath = m?.[1]?.toLowerCase(); + const byCt = { + 'image/png': 'png', + 'image/jpeg': 'jpg', + 'image/gif': 'gif', + 'image/svg+xml': 'svg', + }[String(contentType).split(';')[0].trim()]; + let ext = byPath || byCt || 'png'; + if (ext === 'jpeg') ext = 'jpg'; + return `.${ext}`; +} + +async function resolveImages(pptd, projectRoot) { + const srcs = collectImageSrcs(pptd); + const images = {}; // path -> Uint8Array + const remap = new Map(); + + await Promise.all( + srcs.map(async (src, idx) => { + let bytes; + let ext = extFromSrc(src); + if (/^(https?:\/\/|data:)/i.test(src)) { + if (src.startsWith('data:')) { + const m = /^data:([^;,]+)?(;base64)?,(.*)$/s.exec(src); + if (!m) return; + const ct = m[1] || ''; + ext = extFromSrc(src, ct); + bytes = m[2] + ? Buffer.from(m[3], 'base64') + : Buffer.from(decodeURIComponent(m[3])); + } else { + const res = await fetch(src); + if (!res.ok) { + console.warn(`[warn] image fetch failed ${res.status}: ${src}`); + return; + } + ext = extFromSrc(src, res.headers.get('content-type') || ''); + bytes = Buffer.from(await res.arrayBuffer()); + } + } else { + // local relative to project root + const local = path.join( + projectRoot, + src.replace(/^file:\/\/+/, '').replace(/\\/g, '/'), + ); + if (!fs.existsSync(local)) { + console.warn(`[warn] missing local image: ${src}`); + return; + } + bytes = fs.readFileSync(local); + ext = extFromSrc(src); + } + const key = `wasm-assets/img-${idx}${ext}`; + images[key] = new Uint8Array(bytes); + remap.set(src, key); + }), + ); + + // rewrite src in place + const rewrite = (obj) => { + if (obj && typeof obj.src === 'string' && remap.has(obj.src)) { + obj.src = remap.get(obj.src); + } + }; + for (const page of pptd.pages ?? []) { + if (page.background?.type === 'image') rewrite(page.background); + for (const el of page.elements ?? []) { + if (el?.elementType === 'image') rewrite(el); + if (el?.fill?.type === 'image') rewrite(el.fill); + } + } + + // shape path;viewBox split (official Kt/Gt) + for (const page of pptd.pages ?? []) { + for (const el of page.elements ?? []) { + if (el?.elementType === 'shape') splitCustomPath(el); + if (el?.elementType === 'image' && el.cropShape) splitCustomPath(el.cropShape); + } + } + + return images; +} + +function splitCustomPath(shape) { + if (shape?.shapeName !== 'custom' || typeof shape.path !== 'string' || shape.viewBox) + return; + const t = shape.path.indexOf(';'); + if (t < 0) return; + const [w, h] = shape.path + .slice(0, t) + .split(',') + .map(Number); + if (!(w > 0) || !(h > 0)) return; + shape.viewBox = [w, h]; + shape.path = shape.path.slice(t + 1); +} + +// ---------- signature (official pptdExportSignature) ---------- +function sha256Hex(text) { + return crypto.createHash('sha256').update(text, 'utf8').digest('hex'); +} + +async function requestSignature(dataString, { origin, cookie }) { + const hash = sha256Hex(dataString); + const headers = { + 'Content-Type': 'application/json', + Accept: 'application/json', + }; + if (cookie) headers.Cookie = cookie; + + const res = await fetch(`${origin}/apiv2/utils/v1/signatures`, { + method: 'POST', + headers, + body: JSON.stringify({ data: hash }), + }); + if (!res.ok) { + const body = await res.text().catch(() => ''); + throw new Error( + `Signature HTTP ${res.status}: ${body.slice(0, 300)}\n` + + `Pass a valid logged-in Cookie via --cookie or KIMI_COOKIE.`, + ); + } + const json = await res.json(); + if (!json.signature) { + throw new Error('Signature response missing signature field'); + } + return json.signature; +} + +// ---------- WASM glue (Node port of kimiDesign / wasm-bindgen) ---------- +async function loadWasmExporter(wasmPath) { + const wasmBytes = fs.readFileSync(wasmPath); + let exportsRef; + let memory; + let cachedUint8; + let cachedDataView; + const textDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); + const textEncoder = new TextEncoder(); + let heap = Array(1024).fill(undefined); + heap.push(undefined, null, true, false); + let heapNext = heap.length; + let S = 0; + + function getUint8() { + if (!cachedUint8 || cachedUint8.byteLength === 0) { + cachedUint8 = new Uint8Array(memory.buffer); + } + return cachedUint8; + } + function getDataView() { + if ( + !cachedDataView || + cachedDataView.buffer.detached === true || + (cachedDataView.buffer.detached === undefined && + cachedDataView.buffer !== memory.buffer) + ) { + cachedDataView = new DataView(memory.buffer); + } + return cachedDataView; + } + function addHeapObject(obj) { + if (heapNext === heap.length) heap.push(heap.length + 1); + const idx = heapNext; + heapNext = heap[idx]; + heap[idx] = obj; + return idx; + } + function takeObject(idx) { + const ret = heap[idx]; + dropObject(idx); + return ret; + } + function dropObject(idx) { + if (idx < 1028) return; + heap[idx] = heapNext; + heapNext = idx; + } + function getObject(idx) { + return heap[idx]; + } + function isLikeNone(x) { + return x == null; + } + function passStringToWasm(arg, malloc, realloc) { + if (realloc === undefined) { + const buf = textEncoder.encode(arg); + const ptr = malloc(buf.length, 1) >>> 0; + getUint8() + .subarray(ptr, ptr + buf.length) + .set(buf); + S = buf.length; + return ptr; + } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + const mem = getUint8(); + let offset = 0; + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 127) break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) arg = arg.slice(offset); + ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0; + const view = getUint8().subarray(ptr + offset, ptr + len); + const ret = textEncoder.encodeInto(arg, view); + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + S = offset; + return ptr; + } + function getStringFromWasm(ptr, len) { + ptr = ptr >>> 0; + return textDecoder.decode(getUint8().subarray(ptr, ptr + len)); + } + function getArrayU8FromWasm(ptr, len) { + ptr = ptr >>> 0; + return getUint8().subarray(ptr / 1, ptr / 1 + len); + } + + function handleError(f, args) { + try { + return f.apply(null, args); + } catch (e) { + exportsRef.__wbindgen_export3(addHeapObject(e)); + } + } + + const imports = { + './pptd_wasm_bg.js': { + __wbg___wbindgen_boolean_get_fa956cfa2d1bd751(arg0) { + const v = getObject(arg0); + const x = typeof v === 'boolean' ? v : undefined; + return isLikeNone(x) ? 0xffffff : +!!x; + }, + __wbg___wbindgen_is_function_1ff95bcc5517c252(arg0) { + return typeof getObject(arg0) === 'function'; + }, + __wbg___wbindgen_is_null_ea9085d691f535d3(arg0) { + return getObject(arg0) === null; + }, + __wbg___wbindgen_is_object_a27215656b807791(arg0) { + const val = getObject(arg0); + return typeof val === 'object' && val !== null; + }, + __wbg___wbindgen_is_undefined_c05833b95a3cf397(arg0) { + return getObject(arg0) === undefined; + }, + __wbg___wbindgen_number_get_394265ed1e1b84ee(arg0, arg1) { + const obj = getObject(arg1); + const val = typeof obj === 'number' ? obj : undefined; + getDataView().setFloat64(arg0 + 8, isLikeNone(val) ? 0 : val, true); + getDataView().setInt32(arg0 + 0, !isLikeNone(val), true); + }, + __wbg___wbindgen_string_get_b0ca35b86a603356(arg0, arg1) { + const obj = getObject(arg1); + const val = typeof obj === 'string' ? obj : undefined; + var ptr = isLikeNone(val) + ? 0 + : passStringToWasm(val, exportsRef.__wbindgen_export, exportsRef.__wbindgen_export2); + var len = S; + getDataView().setInt32(arg0 + 4, len, true); + getDataView().setInt32(arg0 + 0, ptr, true); + }, + __wbg___wbindgen_throw_344f42d3211c4765(arg0, arg1) { + throw new Error(getStringFromWasm(arg0, arg1)); + }, + __wbg_call_a6e5c5dce5018821() { + return handleError(function (arg0, arg1, arg2) { + return addHeapObject(getObject(arg0).call(getObject(arg1), getObject(arg2))); + }, arguments); + }, + __wbg_call_e3b662382210db98() { + return handleError(function (arg0, arg1, arg2, arg3) { + return addHeapObject( + getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3)), + ); + }, arguments); + }, + __wbg_from_13e323c65fc8f464(arg0) { + return addHeapObject(Array.from(getObject(arg0))); + }, + __wbg_get_78f252d074a84d0b() { + return handleError(function (arg0, arg1) { + return addHeapObject(Reflect.get(getObject(arg0), getObject(arg1))); + }, arguments); + }, + __wbg_get_unchecked_6e0ad6d2a41b06f6(arg0, arg1) { + return addHeapObject(getObject(arg0)[arg1 >>> 0]); + }, + __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb(arg0) { + let result; + try { + result = getObject(arg0) instanceof ArrayBuffer; + } catch { + result = false; + } + return result; + }, + __wbg_instanceof_Uint8Array_309b927aaf7a3fc7(arg0) { + let result; + try { + result = getObject(arg0) instanceof Uint8Array; + } catch { + result = false; + } + return result; + }, + __wbg_length_1f0964f4a5e2c6d8(arg0) { + return getObject(arg0).length; + }, + __wbg_length_370319915dc99107(arg0) { + return getObject(arg0).length; + }, + __wbg_new_cd45aabdf6073e84(arg0) { + return addHeapObject(new Uint8Array(getObject(arg0))); + }, + __wbg_new_da52cf8fe3429cb2() { + return addHeapObject({}); + }, + __wbg_new_from_slice_77cdfb7977362f3c(arg0, arg1) { + return addHeapObject(getArrayU8FromWasm(arg0, arg1).slice()); + }, + __wbg_prototypesetcall_4770620bbe4688a0(arg0, arg1, arg2) { + Uint8Array.prototype.set.call(getArrayU8FromWasm(arg0, arg1), getObject(arg2)); + }, + __wbg_set_8535240470bf2500() { + return handleError(function (arg0, arg1, arg2) { + return Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); + }, arguments); + }, + __wbg_stringify_b54333f60f1e4ead() { + return handleError(function (arg0) { + return addHeapObject(JSON.stringify(getObject(arg0))); + }, arguments); + }, + // note: official name may be slightly different hash suffix — also register alternate + __wbg_stringify_b54333f60f1e4dad() { + return handleError(function (arg0) { + return addHeapObject(JSON.stringify(getObject(arg0))); + }, arguments); + }, + __wbindgen_cast_0000000000000001(arg0) { + return addHeapObject(arg0); + }, + __wbindgen_cast_0000000000000002(arg0, arg1) { + return addHeapObject(getStringFromWasm(arg0, arg1)); + }, + __wbindgen_object_drop_ref(arg0) { + takeObject(arg0); + }, + }, + }; + + const { instance } = await WebAssembly.instantiate(wasmBytes, imports); + exportsRef = instance.exports; + memory = exportsRef.memory; + cachedUint8 = null; + cachedDataView = null; + + function exportPPTDToPPTXBytes(pptd, options, signature) { + const retptr = exportsRef.__wbindgen_add_to_stack_pointer(-16); + try { + const ptr0 = isLikeNone(signature) + ? 0 + : passStringToWasm( + signature, + exportsRef.__wbindgen_export, + exportsRef.__wbindgen_export2, + ); + const len0 = S; + exportsRef.exportPPTDToPPTXBytes( + retptr, + addHeapObject(pptd), + addHeapObject(options), + ptr0, + len0, + ); + const r0 = getDataView().getInt32(retptr + 0, true); + const r1 = getDataView().getInt32(retptr + 4, true); + const r2 = getDataView().getInt32(retptr + 8, true); + if (r2) throw takeObject(r1); + return takeObject(r0); + } finally { + exportsRef.__wbindgen_add_to_stack_pointer(16); + } + } + + return { exportPPTDToPPTXBytes }; +} + +// ---------- main ---------- +async function main() { + const args = parseArgs(process.argv.slice(2)); + if (args.help || !args.input) { + console.log(`Usage: node export-pptd.mjs -o out.pptx [options] + +Options: + -o, --output PATH output .pptx + --cookie STRING Kimi session cookie for signature API + --origin URL default https://www.kimi.com + --no-sign skip signature request (WASM may reject) + --transition fade|none + --wasm PATH path to patched pptd_wasm (default: resolve from editor mirror) + --embed-fonts reserved (font embedding needs font blobs) + +Env: KIMI_COOKIE, KIMI_ORIGIN`); + process.exit(args.help ? 0 : 1); + } + + const parseYaml = await loadYaml(); + const manifestPath = findManifest(args.input); + const projectRoot = path.dirname(manifestPath); + const output = + args.output || + path.join(projectRoot, path.basename(manifestPath, '.pptd') + '.offline.pptx'); + + console.log('[1/5] load PPTD', manifestPath); + let pptd = await loadProject(manifestPath, parseYaml); + + console.log('[2/5] resolve images'); + // deep clone so we can rewrite src + pptd = JSON.parse(JSON.stringify(pptd)); + const images = await resolveImages(pptd, projectRoot); + console.log(` ${Object.keys(images).length} image(s)`); + + console.log('[3/5] signature'); + let signature = ''; + const payloadForSign = JSON.stringify(pptd); + if (args.noSign) { + signature = 'offline-bypass-' + sha256Hex(payloadForSign).slice(0, 32); + console.warn(' --no-sign: using synthetic signature (WASM may still verify)'); + } else { + signature = await requestSignature(payloadForSign, { + origin: args.origin, + cookie: args.cookie, + }); + console.log(' got signature, length', signature.length); + } + + console.log('[4/5] load WASM', args.wasmPath); + if (!fs.existsSync(args.wasmPath)) { + throw new Error( + `patched WASM not found: ${args.wasmPath}\n` + + `Expected editor/neo-ppt/assets/${CANONICAL_WASM_NAME} (repo/npm) ` + + `or scripts/local-export/pptd_wasm_bg.wasm (after skill install).`, + ); + } + const { exportPPTDToPPTXBytes } = await loadWasmExporter(args.wasmPath); + + console.log('[5/5] export PPTX'); + const options = { + fonts: [], + customFonts: [], + images, + fileName: path.basename(output), + slideTransition: { + effect: args.transition === 'none' ? 'none' : args.transition, + speed: 'fast', + }, + chartImages: [], + }; + + let bytes; + try { + bytes = exportPPTDToPPTXBytes(pptd, options, signature); + } catch (e) { + const msg = e instanceof Error ? e.message : String(e); + if (msg.includes('pptd export signature') || msg.toLowerCase().includes('signature')) { + throw new Error( + `WASM signature check failed: ${msg}\n` + + `Provide a valid Kimi login cookie: --cookie "..." or KIMI_COOKIE=...`, + ); + } + throw e; + } + + const outBuf = Buffer.from(bytes); + fs.writeFileSync(output, outBuf); + console.log('Wrote', output, `(${outBuf.length} bytes)`); + + // quick zip sanity + if (outBuf[0] !== 0x50 || outBuf[1] !== 0x4b) { + console.warn('[warn] output does not start with PK (not a ZIP/PPTX?)'); + } +} + +main().catch((e) => { + console.error(e); + process.exit(1); +}); diff --git a/skills/open-kimi-ppt/scripts/local-export/load_pptd.py b/skills/open-kimi-ppt/scripts/local-export/load_pptd.py new file mode 100644 index 0000000..1fc1302 --- /dev/null +++ b/skills/open-kimi-ppt/scripts/local-export/load_pptd.py @@ -0,0 +1,9 @@ +import yaml, json, pathlib +root = pathlib.Path("/home/workdir/artifacts/xiaomi-yu7") +m = yaml.safe_load((root / "xiaomi-yu7.pptd").read_text()) +pages = [] +for rel in m["pages"]: + p = yaml.safe_load((root / rel).read_text()) + p["pagePath"] = rel + pages.append(p) +print(json.dumps({**m, "version": "v2", "pages": pages}, ensure_ascii=False)) diff --git a/skills/open-kimi-ppt/tests/test_export_pptx.py b/skills/open-kimi-ppt/tests/test_export_pptx.py index 0b3a5e4..85b49c1 100755 --- a/skills/open-kimi-ppt/tests/test_export_pptx.py +++ b/skills/open-kimi-ppt/tests/test_export_pptx.py @@ -202,9 +202,9 @@ class ExportPptxTests(unittest.TestCase): Path("/tmp/downloads"), ) with patch.object(session, "run") as run: - session.open("http://127.0.0.1:9/export_host.html") + session.open("http://127.0.0.1:9/?ndExport=1") run.assert_called_once_with( - ["open", "http://127.0.0.1:9/export_host.html"], + ["open", "http://127.0.0.1:9/?ndExport=1"], timeout=90, ) diff --git a/test/editor-server.test.js b/test/editor-server.test.js index 986f1ab..57e5555 100644 --- a/test/editor-server.test.js +++ b/test/editor-server.test.js @@ -22,11 +22,16 @@ test("serves the PPTD editor and its JavaScript modules", async () => { const index = await fetch(`${url}/`); assert.equal(index.status, 200); assert.match(index.headers.get("content-type"), /^text\/html/); - assert.match(await index.text(), /打开 PPTD 文件夹/); + const html = await index.text(); + assert.match(html, /打开 PPTD 文件夹/); + assert.match(html, /local-bridge\.js/); - const app = await fetch(`${url}/app.js`); - assert.equal(app.status, 200); - assert.match(app.headers.get("content-type"), /^text\/javascript/); + const bridge = await fetch(`${url}/local-bridge.js`); + assert.equal(bridge.status, 200); + assert.match(bridge.headers.get("content-type"), /^text\/javascript/); + + const wasm = await fetch(`${url}/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`); + assert.equal(wasm.status, 200); }); }); @@ -39,7 +44,7 @@ test("returns 404 for files outside the packaged editor", async () => { test("supports HEAD requests without a response body", async () => { await withServer(async (url) => { - const response = await fetch(`${url}/styles.css`, { method: "HEAD" }); + const response = await fetch(`${url}/local-shell.css`, { method: "HEAD" }); assert.equal(response.status, 200); assert.equal(await response.text(), ""); }); diff --git a/test/install-skill.test.js b/test/install-skill.test.js index 073fc38..e4b63db 100644 --- a/test/install-skill.test.js +++ b/test/install-skill.test.js @@ -25,6 +25,14 @@ test("installs the packaged skill into a custom skills directory", () => { assert.equal(result.status, 0, result.stderr); assert.equal(existsSync(join(target, "open-kimi-ppt", "SKILL.md")), true); assert.equal(existsSync(join(target, "open-kimi-ppt", "scripts", "export_pptx.py")), true); + assert.equal( + existsSync(join(target, "open-kimi-ppt", "scripts", "local-export", "pptd_wasm_bg.wasm")), + true, + ); + assert.equal( + existsSync(join(target, "open-kimi-ppt", "editor", "index.html")), + true, + ); assert.equal(existsSync(join(target, "open-kimi-ppt", "_user_meta.json")), false); } finally { rmSync(root, { recursive: true, force: true });